Advertisement
EnnioEvo

configure mfoc from vk496

Mar 1st, 2019
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 182.65 KB | None | 0 0
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for mfoc 0.10.7.
  4. #
  5. # Report bugs to <[email protected]>.
  6. #
  7. #
  8. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  9. #
  10. #
  11. # This configure script is free software; the Free Software Foundation
  12. # gives unlimited permission to copy, distribute and modify it.
  13. ## -------------------- ##
  14. ## M4sh Initialization. ##
  15. ## -------------------- ##
  16.  
  17. # Be more Bourne compatible
  18. DUALCASE=1; export DUALCASE # for MKS sh
  19. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  20.   emulate sh
  21.   NULLCMD=:
  22.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  23.   # is contrary to our usage.  Disable this feature.
  24.   alias -g '${1+"$@"}'='"$@"'
  25.   setopt NO_GLOB_SUBST
  26. else
  27.   case `(set -o) 2>/dev/null` in #(
  28.   *posix*) :
  29.     set -o posix ;; #(
  30.   *) :
  31.      ;;
  32. esac
  33. fi
  34.  
  35.  
  36. as_nl='
  37. '
  38. export as_nl
  39. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  40. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  41. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  42. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  43. # Prefer a ksh shell builtin over an external printf program on Solaris,
  44. # but without wasting forks for bash or zsh.
  45. if test -z "$BASH_VERSION$ZSH_VERSION" \
  46.     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  47.   as_echo='print -r --'
  48.   as_echo_n='print -rn --'
  49. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  50.   as_echo='printf %s\n'
  51.   as_echo_n='printf %s'
  52. else
  53.   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  54.     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  55.     as_echo_n='/usr/ucb/echo -n'
  56.   else
  57.     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  58.     as_echo_n_body='eval
  59.      arg=$1;
  60.      case $arg in #(
  61.      *"$as_nl"*)
  62.     expr "X$arg" : "X\\(.*\\)$as_nl";
  63.     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  64.      esac;
  65.      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  66.    '
  67.     export as_echo_n_body
  68.     as_echo_n='sh -c $as_echo_n_body as_echo'
  69.   fi
  70.   export as_echo_body
  71.   as_echo='sh -c $as_echo_body as_echo'
  72. fi
  73.  
  74. # The user is always right.
  75. if test "${PATH_SEPARATOR+set}" != set; then
  76.   PATH_SEPARATOR=:
  77.   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  78.     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  79.       PATH_SEPARATOR=';'
  80.   }
  81. fi
  82.  
  83.  
  84. # IFS
  85. # We need space, tab and new line, in precisely that order.  Quoting is
  86. # there to prevent editors from complaining about space-tab.
  87. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  88. # splitting by setting IFS to empty value.)
  89. IFS=" ""    $as_nl"
  90.  
  91. # Find who we are.  Look in the path if we contain no directory separator.
  92. as_myself=
  93. case $0 in #((
  94.   *[\\/]* ) as_myself=$0 ;;
  95.   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  96. for as_dir in $PATH
  97. do
  98.   IFS=$as_save_IFS
  99.   test -z "$as_dir" && as_dir=.
  100.     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101.   done
  102. IFS=$as_save_IFS
  103.  
  104.      ;;
  105. esac
  106. # We did not find ourselves, most probably we were run as `sh COMMAND'
  107. # in which case we are not to be found in the path.
  108. if test "x$as_myself" = x; then
  109.   as_myself=$0
  110. fi
  111. if test ! -f "$as_myself"; then
  112.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113.   exit 1
  114. fi
  115.  
  116. # Unset variables that we do not need and which cause bugs (e.g. in
  117. # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118. # suppresses any "Segmentation fault" message there.  '((' could
  119. # trigger a bug in pdksh 5.2.14.
  120. for as_var in BASH_ENV ENV MAIL MAILPATH
  121. do eval test x\${$as_var+set} = xset \
  122.   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123. done
  124. PS1='$ '
  125. PS2='> '
  126. PS4='+ '
  127.  
  128. # NLS nuisances.
  129. LC_ALL=C
  130. export LC_ALL
  131. LANGUAGE=C
  132. export LANGUAGE
  133.  
  134. # CDPATH.
  135. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136.  
  137. # Use a proper internal environment variable to ensure we don't fall
  138.   # into an infinite loop, continuously re-executing ourselves.
  139.   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  140.     _as_can_reexec=no; export _as_can_reexec;
  141.     # We cannot yet assume a decent shell, so we have to provide a
  142. # neutralization value for shells without unset; and this also
  143. # works around shells that cannot unset nonexistent variables.
  144. # Preserve -v and -x to the replacement shell.
  145. BASH_ENV=/dev/null
  146. ENV=/dev/null
  147. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  148. case $- in # ((((
  149.   *v*x* | *x*v* ) as_opts=-vx ;;
  150.   *v* ) as_opts=-v ;;
  151.   *x* ) as_opts=-x ;;
  152.   * ) as_opts= ;;
  153. esac
  154. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  155. # Admittedly, this is quite paranoid, since all the known shells bail
  156. # out after a failed `exec'.
  157. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  158. as_fn_exit 255
  159.   fi
  160.   # We don't want this to propagate to other subprocesses.
  161.           { _as_can_reexec=; unset _as_can_reexec;}
  162. if test "x$CONFIG_SHELL" = x; then
  163.   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  164.  emulate sh
  165.  NULLCMD=:
  166.  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  167.  # is contrary to our usage.  Disable this feature.
  168.  alias -g '\${1+\"\$@\"}'='\"\$@\"'
  169.  setopt NO_GLOB_SUBST
  170. else
  171.  case \`(set -o) 2>/dev/null\` in #(
  172.  *posix*) :
  173.    set -o posix ;; #(
  174.  *) :
  175.     ;;
  176. esac
  177. fi
  178. "
  179.   as_required="as_fn_return () { (exit \$1); }
  180. as_fn_success () { as_fn_return 0; }
  181. as_fn_failure () { as_fn_return 1; }
  182. as_fn_ret_success () { return 0; }
  183. as_fn_ret_failure () { return 1; }
  184.  
  185. exitcode=0
  186. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  187. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  188. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  189. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  190. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  191.  
  192. else
  193.  exitcode=1; echo positional parameters were not saved.
  194. fi
  195. test x\$exitcode = x0 || exit 1
  196. test -x / || exit 1"
  197.   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  198.  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  199.  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  200.  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  201. test \$(( 1 + 1 )) = 2 || exit 1"
  202.   if (eval "$as_required") 2>/dev/null; then :
  203.   as_have_required=yes
  204. else
  205.   as_have_required=no
  206. fi
  207.   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  208.  
  209. else
  210.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  211. as_found=false
  212. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  213. do
  214.   IFS=$as_save_IFS
  215.   test -z "$as_dir" && as_dir=.
  216.   as_found=:
  217.   case $as_dir in #(
  218.      /*)
  219.        for as_base in sh bash ksh sh5; do
  220.          # Try only shells that exist, to save several forks.
  221.          as_shell=$as_dir/$as_base
  222.          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  223.             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  224.   CONFIG_SHELL=$as_shell as_have_required=yes
  225.            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  226.   break 2
  227. fi
  228. fi
  229.        done;;
  230.        esac
  231.   as_found=false
  232. done
  233. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  234.           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  235.   CONFIG_SHELL=$SHELL as_have_required=yes
  236. fi; }
  237. IFS=$as_save_IFS
  238.  
  239.  
  240.       if test "x$CONFIG_SHELL" != x; then :
  241.   export CONFIG_SHELL
  242.              # We cannot yet assume a decent shell, so we have to provide a
  243. # neutralization value for shells without unset; and this also
  244. # works around shells that cannot unset nonexistent variables.
  245. # Preserve -v and -x to the replacement shell.
  246. BASH_ENV=/dev/null
  247. ENV=/dev/null
  248. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  249. case $- in # ((((
  250.   *v*x* | *x*v* ) as_opts=-vx ;;
  251.   *v* ) as_opts=-v ;;
  252.   *x* ) as_opts=-x ;;
  253.   * ) as_opts= ;;
  254. esac
  255. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  256. # Admittedly, this is quite paranoid, since all the known shells bail
  257. # out after a failed `exec'.
  258. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  259. exit 255
  260. fi
  261.  
  262.     if test x$as_have_required = xno; then :
  263.   $as_echo "$0: This script requires a shell more modern than all"
  264.   $as_echo "$0: the shells that I found on your system."
  265.   if test x${ZSH_VERSION+set} = xset ; then
  266.     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  267.     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  268.   else
  269.     $as_echo "$0: Please tell [email protected] and
  270. $0: [email protected] about your system, including any
  271. $0: error possibly output before this message. Then install
  272. $0: a modern shell, or manually run the script under such a
  273. $0: shell if you do have one."
  274.   fi
  275.   exit 1
  276. fi
  277. fi
  278. fi
  279. SHELL=${CONFIG_SHELL-/bin/sh}
  280. export SHELL
  281. # Unset more variables known to interfere with behavior of common tools.
  282. CLICOLOR_FORCE= GREP_OPTIONS=
  283. unset CLICOLOR_FORCE GREP_OPTIONS
  284.  
  285. ## --------------------- ##
  286. ## M4sh Shell Functions. ##
  287. ## --------------------- ##
  288. # as_fn_unset VAR
  289. # ---------------
  290. # Portably unset VAR.
  291. as_fn_unset ()
  292. {
  293.   { eval $1=; unset $1;}
  294. }
  295. as_unset=as_fn_unset
  296.  
  297. # as_fn_set_status STATUS
  298. # -----------------------
  299. # Set $? to STATUS, without forking.
  300. as_fn_set_status ()
  301. {
  302.   return $1
  303. } # as_fn_set_status
  304.  
  305. # as_fn_exit STATUS
  306. # -----------------
  307. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  308. as_fn_exit ()
  309. {
  310.   set +e
  311.   as_fn_set_status $1
  312.   exit $1
  313. } # as_fn_exit
  314.  
  315. # as_fn_mkdir_p
  316. # -------------
  317. # Create "$as_dir" as a directory, including parents if necessary.
  318. as_fn_mkdir_p ()
  319. {
  320.  
  321.   case $as_dir in #(
  322.   -*) as_dir=./$as_dir;;
  323.   esac
  324.   test -d "$as_dir" || eval $as_mkdir_p || {
  325.     as_dirs=
  326.     while :; do
  327.       case $as_dir in #(
  328.       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  329.       *) as_qdir=$as_dir;;
  330.       esac
  331.       as_dirs="'$as_qdir' $as_dirs"
  332.       as_dir=`$as_dirname -- "$as_dir" ||
  333. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  334.      X"$as_dir" : 'X\(//\)[^/]' \| \
  335.      X"$as_dir" : 'X\(//\)$' \| \
  336.      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  337. $as_echo X"$as_dir" |
  338.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  339.         s//\1/
  340.         q
  341.       }
  342.       /^X\(\/\/\)[^/].*/{
  343.         s//\1/
  344.         q
  345.       }
  346.       /^X\(\/\/\)$/{
  347.         s//\1/
  348.         q
  349.       }
  350.       /^X\(\/\).*/{
  351.         s//\1/
  352.         q
  353.       }
  354.       s/.*/./; q'`
  355.       test -d "$as_dir" && break
  356.     done
  357.     test -z "$as_dirs" || eval "mkdir $as_dirs"
  358.   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  359.  
  360.  
  361. } # as_fn_mkdir_p
  362.  
  363. # as_fn_executable_p FILE
  364. # -----------------------
  365. # Test if FILE is an executable regular file.
  366. as_fn_executable_p ()
  367. {
  368.   test -f "$1" && test -x "$1"
  369. } # as_fn_executable_p
  370. # as_fn_append VAR VALUE
  371. # ----------------------
  372. # Append the text in VALUE to the end of the definition contained in VAR. Take
  373. # advantage of any shell optimizations that allow amortized linear growth over
  374. # repeated appends, instead of the typical quadratic growth present in naive
  375. # implementations.
  376. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  377.   eval 'as_fn_append ()
  378.  {
  379.    eval $1+=\$2
  380.  }'
  381. else
  382.   as_fn_append ()
  383.   {
  384.     eval $1=\$$1\$2
  385.   }
  386. fi # as_fn_append
  387.  
  388. # as_fn_arith ARG...
  389. # ------------------
  390. # Perform arithmetic evaluation on the ARGs, and store the result in the
  391. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  392. # must be portable across $(()) and expr.
  393. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  394.   eval 'as_fn_arith ()
  395.  {
  396.    as_val=$(( $* ))
  397.  }'
  398. else
  399.   as_fn_arith ()
  400.   {
  401.     as_val=`expr "$@" || test $? -eq 1`
  402.   }
  403. fi # as_fn_arith
  404.  
  405.  
  406. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  407. # ----------------------------------------
  408. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  409. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  410. # script with STATUS, using 1 if that was 0.
  411. as_fn_error ()
  412. {
  413.   as_status=$1; test $as_status -eq 0 && as_status=1
  414.   if test "$4"; then
  415.     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  416.     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  417.   fi
  418.   $as_echo "$as_me: error: $2" >&2
  419.   as_fn_exit $as_status
  420. } # as_fn_error
  421.  
  422. if expr a : '\(a\)' >/dev/null 2>&1 &&
  423.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  424.   as_expr=expr
  425. else
  426.   as_expr=false
  427. fi
  428.  
  429. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  430.   as_basename=basename
  431. else
  432.   as_basename=false
  433. fi
  434.  
  435. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  436.   as_dirname=dirname
  437. else
  438.   as_dirname=false
  439. fi
  440.  
  441. as_me=`$as_basename -- "$0" ||
  442. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  443.      X"$0" : 'X\(//\)$' \| \
  444.      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  445. $as_echo X/"$0" |
  446.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  447.         s//\1/
  448.         q
  449.       }
  450.       /^X\/\(\/\/\)$/{
  451.         s//\1/
  452.         q
  453.       }
  454.       /^X\/\(\/\).*/{
  455.         s//\1/
  456.         q
  457.       }
  458.       s/.*/./; q'`
  459.  
  460. # Avoid depending upon Character Ranges.
  461. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  462. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  463. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  464. as_cr_digits='0123456789'
  465. as_cr_alnum=$as_cr_Letters$as_cr_digits
  466.  
  467.  
  468.   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  469.   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  470.   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  471.  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  472.   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  473.   sed -n '
  474.    p
  475.    /[$]LINENO/=
  476.  ' <$as_myself |
  477.     sed '
  478.      s/[$]LINENO.*/&-/
  479.      t lineno
  480.      b
  481.      :lineno
  482.      N
  483.      :loop
  484.      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  485.      t loop
  486.      s/-\n.*//
  487.    ' >$as_me.lineno &&
  488.   chmod +x "$as_me.lineno" ||
  489.     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  490.  
  491.   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  492.   # already done that, so ensure we don't try to do so again and fall
  493.   # in an infinite loop.  This has already happened in practice.
  494.   _as_can_reexec=no; export _as_can_reexec
  495.   # Don't try to exec as it changes $[0], causing all sort of problems
  496.   # (the dirname of $[0] is not the place where we might find the
  497.   # original and so on.  Autoconf is especially sensitive to this).
  498.   . "./$as_me.lineno"
  499.   # Exit status is that of the last command.
  500.   exit
  501. }
  502.  
  503. ECHO_C= ECHO_N= ECHO_T=
  504. case `echo -n x` in #(((((
  505. -n*)
  506.   case `echo 'xy\c'` in
  507.   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  508.   xy)  ECHO_C='\c';;
  509.   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  510.        ECHO_T=' ';;
  511.   esac;;
  512. *)
  513.   ECHO_N='-n';;
  514. esac
  515.  
  516. rm -f conf$$ conf$$.exe conf$$.file
  517. if test -d conf$$.dir; then
  518.   rm -f conf$$.dir/conf$$.file
  519. else
  520.   rm -f conf$$.dir
  521.   mkdir conf$$.dir 2>/dev/null
  522. fi
  523. if (echo >conf$$.file) 2>/dev/null; then
  524.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  525.     as_ln_s='ln -s'
  526.     # ... but there are two gotchas:
  527.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  528.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  529.     # In both cases, we have to default to `cp -pR'.
  530.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  531.       as_ln_s='cp -pR'
  532.   elif ln conf$$.file conf$$ 2>/dev/null; then
  533.     as_ln_s=ln
  534.   else
  535.     as_ln_s='cp -pR'
  536.   fi
  537. else
  538.   as_ln_s='cp -pR'
  539. fi
  540. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  541. rmdir conf$$.dir 2>/dev/null
  542.  
  543. if mkdir -p . 2>/dev/null; then
  544.   as_mkdir_p='mkdir -p "$as_dir"'
  545. else
  546.   test -d ./-p && rmdir ./-p
  547.   as_mkdir_p=false
  548. fi
  549.  
  550. as_test_x='test -x'
  551. as_executable_p=as_fn_executable_p
  552.  
  553. # Sed expression to map a string onto a valid CPP name.
  554. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  555.  
  556. # Sed expression to map a string onto a valid variable name.
  557. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  558.  
  559.  
  560. test -n "$DJDIR" || exec 7<&0 </dev/null
  561. exec 6>&1
  562.  
  563. # Name of the host.
  564. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  565. # so uname gets run too.
  566. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  567.  
  568. #
  569. # Initializations.
  570. #
  571. ac_default_prefix=/usr/local
  572. ac_clean_files=
  573. ac_config_libobj_dir=.
  574. LIBOBJS=
  575. cross_compiling=no
  576. subdirs=
  577. MFLAGS=
  578. MAKEFLAGS=
  579.  
  580. # Identity of this package.
  581. PACKAGE_NAME='mfoc'
  582. PACKAGE_TARNAME='mfoc'
  583. PACKAGE_VERSION='0.10.7'
  584. PACKAGE_STRING='mfoc 0.10.7'
  585. PACKAGE_BUGREPORT='[email protected]'
  586. PACKAGE_URL=''
  587.  
  588. ac_unique_file="src/mfoc.c"
  589. # Factoring default headers for most tests.
  590. ac_includes_default="\
  591. #include <stdio.h>
  592. #ifdef HAVE_SYS_TYPES_H
  593. # include <sys/types.h>
  594. #endif
  595. #ifdef HAVE_SYS_STAT_H
  596. # include <sys/stat.h>
  597. #endif
  598. #ifdef STDC_HEADERS
  599. # include <stdlib.h>
  600. # include <stddef.h>
  601. #else
  602. # ifdef HAVE_STDLIB_H
  603. #  include <stdlib.h>
  604. # endif
  605. #endif
  606. #ifdef HAVE_STRING_H
  607. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  608. #  include <memory.h>
  609. # endif
  610. # include <string.h>
  611. #endif
  612. #ifdef HAVE_STRINGS_H
  613. # include <strings.h>
  614. #endif
  615. #ifdef HAVE_INTTYPES_H
  616. # include <inttypes.h>
  617. #endif
  618. #ifdef HAVE_STDINT_H
  619. # include <stdint.h>
  620. #endif
  621. #ifdef HAVE_UNISTD_H
  622. # include <unistd.h>
  623. #endif"
  624.  
  625. ac_subst_vars='am__EXEEXT_FALSE
  626. am__EXEEXT_TRUE
  627. LTLIBOBJS
  628. LIBOBJS
  629. EGREP
  630. GREP
  631. CPP
  632. PKG_CONFIG_REQUIRES
  633. am__fastdepCC_FALSE
  634. am__fastdepCC_TRUE
  635. CCDEPMODE
  636. am__nodep
  637. AMDEPBACKSLASH
  638. AMDEP_FALSE
  639. AMDEP_TRUE
  640. am__include
  641. DEPDIR
  642. OBJEXT
  643. EXEEXT
  644. ac_ct_CC
  645. CPPFLAGS
  646. LDFLAGS
  647. CFLAGS
  648. CC
  649. AM_BACKSLASH
  650. AM_DEFAULT_VERBOSITY
  651. AM_DEFAULT_V
  652. AM_V
  653. am__untar
  654. am__tar
  655. AMTAR
  656. am__leading_dot
  657. SET_MAKE
  658. AWK
  659. mkdir_p
  660. MKDIR_P
  661. INSTALL_STRIP_PROGRAM
  662. STRIP
  663. install_sh
  664. MAKEINFO
  665. AUTOHEADER
  666. AUTOMAKE
  667. AUTOCONF
  668. ACLOCAL
  669. VERSION
  670. PACKAGE
  671. CYGPATH_W
  672. am__isrc
  673. INSTALL_DATA
  674. INSTALL_SCRIPT
  675. INSTALL_PROGRAM
  676. target_alias
  677. host_alias
  678. build_alias
  679. LIBS
  680. ECHO_T
  681. ECHO_N
  682. ECHO_C
  683. DEFS
  684. mandir
  685. localedir
  686. libdir
  687. psdir
  688. pdfdir
  689. dvidir
  690. htmldir
  691. infodir
  692. docdir
  693. oldincludedir
  694. includedir
  695. runstatedir
  696. localstatedir
  697. sharedstatedir
  698. sysconfdir
  699. datadir
  700. datarootdir
  701. libexecdir
  702. sbindir
  703. bindir
  704. program_transform_name
  705. prefix
  706. exec_prefix
  707. PACKAGE_URL
  708. PACKAGE_BUGREPORT
  709. PACKAGE_STRING
  710. PACKAGE_VERSION
  711. PACKAGE_TARNAME
  712. PACKAGE_NAME
  713. PATH_SEPARATOR
  714. SHELL
  715. am__quote'
  716. ac_subst_files=''
  717. ac_user_opts='
  718. enable_option_checking
  719. enable_silent_rules
  720. enable_dependency_tracking
  721. '
  722.       ac_precious_vars='build_alias
  723. host_alias
  724. target_alias
  725. CC
  726. CFLAGS
  727. LDFLAGS
  728. LIBS
  729. CPPFLAGS
  730. CPP'
  731.  
  732.  
  733. # Initialize some variables set by options.
  734. ac_init_help=
  735. ac_init_version=false
  736. ac_unrecognized_opts=
  737. ac_unrecognized_sep=
  738. # The variables have the same names as the options, with
  739. # dashes changed to underlines.
  740. cache_file=/dev/null
  741. exec_prefix=NONE
  742. no_create=
  743. no_recursion=
  744. prefix=NONE
  745. program_prefix=NONE
  746. program_suffix=NONE
  747. program_transform_name=s,x,x,
  748. silent=
  749. site=
  750. srcdir=
  751. verbose=
  752. x_includes=NONE
  753. x_libraries=NONE
  754.  
  755. # Installation directory options.
  756. # These are left unexpanded so users can "make install exec_prefix=/foo"
  757. # and all the variables that are supposed to be based on exec_prefix
  758. # by default will actually change.
  759. # Use braces instead of parens because sh, perl, etc. also accept them.
  760. # (The list follows the same order as the GNU Coding Standards.)
  761. bindir='${exec_prefix}/bin'
  762. sbindir='${exec_prefix}/sbin'
  763. libexecdir='${exec_prefix}/libexec'
  764. datarootdir='${prefix}/share'
  765. datadir='${datarootdir}'
  766. sysconfdir='${prefix}/etc'
  767. sharedstatedir='${prefix}/com'
  768. localstatedir='${prefix}/var'
  769. runstatedir='${localstatedir}/run'
  770. includedir='${prefix}/include'
  771. oldincludedir='/usr/include'
  772. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  773. infodir='${datarootdir}/info'
  774. htmldir='${docdir}'
  775. dvidir='${docdir}'
  776. pdfdir='${docdir}'
  777. psdir='${docdir}'
  778. libdir='${exec_prefix}/lib'
  779. localedir='${datarootdir}/locale'
  780. mandir='${datarootdir}/man'
  781.  
  782. ac_prev=
  783. ac_dashdash=
  784. for ac_option
  785. do
  786.   # If the previous option needs an argument, assign it.
  787.   if test -n "$ac_prev"; then
  788.     eval $ac_prev=\$ac_option
  789.     ac_prev=
  790.     continue
  791.   fi
  792.  
  793.   case $ac_option in
  794.   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  795.   *=)   ac_optarg= ;;
  796.   *)    ac_optarg=yes ;;
  797.   esac
  798.  
  799.   # Accept the important Cygnus configure options, so we can diagnose typos.
  800.  
  801.   case $ac_dashdash$ac_option in
  802.   --)
  803.     ac_dashdash=yes ;;
  804.  
  805.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  806.     ac_prev=bindir ;;
  807.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  808.     bindir=$ac_optarg ;;
  809.  
  810.   -build | --build | --buil | --bui | --bu)
  811.     ac_prev=build_alias ;;
  812.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  813.     build_alias=$ac_optarg ;;
  814.  
  815.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  816.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  817.     ac_prev=cache_file ;;
  818.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  819.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  820.     cache_file=$ac_optarg ;;
  821.  
  822.   --config-cache | -C)
  823.     cache_file=config.cache ;;
  824.  
  825.   -datadir | --datadir | --datadi | --datad)
  826.     ac_prev=datadir ;;
  827.   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  828.     datadir=$ac_optarg ;;
  829.  
  830.   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  831.   | --dataroo | --dataro | --datar)
  832.     ac_prev=datarootdir ;;
  833.   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  834.   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  835.     datarootdir=$ac_optarg ;;
  836.  
  837.   -disable-* | --disable-*)
  838.     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  839.     # Reject names that are not valid shell variable names.
  840.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  841.       as_fn_error $? "invalid feature name: $ac_useropt"
  842.     ac_useropt_orig=$ac_useropt
  843.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  844.     case $ac_user_opts in
  845.       *"
  846. "enable_$ac_useropt"
  847. "*) ;;
  848.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  849.      ac_unrecognized_sep=', ';;
  850.     esac
  851.     eval enable_$ac_useropt=no ;;
  852.  
  853.   -docdir | --docdir | --docdi | --doc | --do)
  854.     ac_prev=docdir ;;
  855.   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  856.     docdir=$ac_optarg ;;
  857.  
  858.   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  859.     ac_prev=dvidir ;;
  860.   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  861.     dvidir=$ac_optarg ;;
  862.  
  863.   -enable-* | --enable-*)
  864.     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  865.     # Reject names that are not valid shell variable names.
  866.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  867.       as_fn_error $? "invalid feature name: $ac_useropt"
  868.     ac_useropt_orig=$ac_useropt
  869.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  870.     case $ac_user_opts in
  871.       *"
  872. "enable_$ac_useropt"
  873. "*) ;;
  874.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  875.      ac_unrecognized_sep=', ';;
  876.     esac
  877.     eval enable_$ac_useropt=\$ac_optarg ;;
  878.  
  879.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  880.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  881.   | --exec | --exe | --ex)
  882.     ac_prev=exec_prefix ;;
  883.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  884.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  885.   | --exec=* | --exe=* | --ex=*)
  886.     exec_prefix=$ac_optarg ;;
  887.  
  888.   -gas | --gas | --ga | --g)
  889.     # Obsolete; use --with-gas.
  890.     with_gas=yes ;;
  891.  
  892.   -help | --help | --hel | --he | -h)
  893.     ac_init_help=long ;;
  894.   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  895.     ac_init_help=recursive ;;
  896.   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  897.     ac_init_help=short ;;
  898.  
  899.   -host | --host | --hos | --ho)
  900.     ac_prev=host_alias ;;
  901.   -host=* | --host=* | --hos=* | --ho=*)
  902.     host_alias=$ac_optarg ;;
  903.  
  904.   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  905.     ac_prev=htmldir ;;
  906.   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  907.   | --ht=*)
  908.     htmldir=$ac_optarg ;;
  909.  
  910.   -includedir | --includedir | --includedi | --included | --include \
  911.   | --includ | --inclu | --incl | --inc)
  912.     ac_prev=includedir ;;
  913.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  914.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  915.     includedir=$ac_optarg ;;
  916.  
  917.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  918.     ac_prev=infodir ;;
  919.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  920.     infodir=$ac_optarg ;;
  921.  
  922.   -libdir | --libdir | --libdi | --libd)
  923.     ac_prev=libdir ;;
  924.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  925.     libdir=$ac_optarg ;;
  926.  
  927.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  928.   | --libexe | --libex | --libe)
  929.     ac_prev=libexecdir ;;
  930.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  931.   | --libexe=* | --libex=* | --libe=*)
  932.     libexecdir=$ac_optarg ;;
  933.  
  934.   -localedir | --localedir | --localedi | --localed | --locale)
  935.     ac_prev=localedir ;;
  936.   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  937.     localedir=$ac_optarg ;;
  938.  
  939.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  940.   | --localstate | --localstat | --localsta | --localst | --locals)
  941.     ac_prev=localstatedir ;;
  942.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  943.   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  944.     localstatedir=$ac_optarg ;;
  945.  
  946.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  947.     ac_prev=mandir ;;
  948.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  949.     mandir=$ac_optarg ;;
  950.  
  951.   -nfp | --nfp | --nf)
  952.     # Obsolete; use --without-fp.
  953.     with_fp=no ;;
  954.  
  955.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  956.   | --no-cr | --no-c | -n)
  957.     no_create=yes ;;
  958.  
  959.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  960.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  961.     no_recursion=yes ;;
  962.  
  963.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  964.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  965.   | --oldin | --oldi | --old | --ol | --o)
  966.     ac_prev=oldincludedir ;;
  967.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  968.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  969.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  970.     oldincludedir=$ac_optarg ;;
  971.  
  972.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  973.     ac_prev=prefix ;;
  974.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  975.     prefix=$ac_optarg ;;
  976.  
  977.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  978.   | --program-pre | --program-pr | --program-p)
  979.     ac_prev=program_prefix ;;
  980.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  981.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  982.     program_prefix=$ac_optarg ;;
  983.  
  984.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  985.   | --program-suf | --program-su | --program-s)
  986.     ac_prev=program_suffix ;;
  987.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  988.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  989.     program_suffix=$ac_optarg ;;
  990.  
  991.   -program-transform-name | --program-transform-name \
  992.   | --program-transform-nam | --program-transform-na \
  993.   | --program-transform-n | --program-transform- \
  994.   | --program-transform | --program-transfor \
  995.   | --program-transfo | --program-transf \
  996.   | --program-trans | --program-tran \
  997.   | --progr-tra | --program-tr | --program-t)
  998.     ac_prev=program_transform_name ;;
  999.   -program-transform-name=* | --program-transform-name=* \
  1000.   | --program-transform-nam=* | --program-transform-na=* \
  1001.   | --program-transform-n=* | --program-transform-=* \
  1002.   | --program-transform=* | --program-transfor=* \
  1003.   | --program-transfo=* | --program-transf=* \
  1004.   | --program-trans=* | --program-tran=* \
  1005.   | --progr-tra=* | --program-tr=* | --program-t=*)
  1006.     program_transform_name=$ac_optarg ;;
  1007.  
  1008.   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1009.     ac_prev=pdfdir ;;
  1010.   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1011.     pdfdir=$ac_optarg ;;
  1012.  
  1013.   -psdir | --psdir | --psdi | --psd | --ps)
  1014.     ac_prev=psdir ;;
  1015.   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1016.     psdir=$ac_optarg ;;
  1017.  
  1018.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1019.   | -silent | --silent | --silen | --sile | --sil)
  1020.     silent=yes ;;
  1021.  
  1022.   -runstatedir | --runstatedir | --runstatedi | --runstated \
  1023.   | --runstate | --runstat | --runsta | --runst | --runs \
  1024.   | --run | --ru | --r)
  1025.     ac_prev=runstatedir ;;
  1026.   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  1027.   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
  1028.   | --run=* | --ru=* | --r=*)
  1029.     runstatedir=$ac_optarg ;;
  1030.  
  1031.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1032.     ac_prev=sbindir ;;
  1033.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1034.   | --sbi=* | --sb=*)
  1035.     sbindir=$ac_optarg ;;
  1036.  
  1037.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1038.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1039.   | --sharedst | --shareds | --shared | --share | --shar \
  1040.   | --sha | --sh)
  1041.     ac_prev=sharedstatedir ;;
  1042.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1043.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1044.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1045.   | --sha=* | --sh=*)
  1046.     sharedstatedir=$ac_optarg ;;
  1047.  
  1048.   -site | --site | --sit)
  1049.     ac_prev=site ;;
  1050.   -site=* | --site=* | --sit=*)
  1051.     site=$ac_optarg ;;
  1052.  
  1053.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1054.     ac_prev=srcdir ;;
  1055.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1056.     srcdir=$ac_optarg ;;
  1057.  
  1058.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1059.   | --syscon | --sysco | --sysc | --sys | --sy)
  1060.     ac_prev=sysconfdir ;;
  1061.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1062.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1063.     sysconfdir=$ac_optarg ;;
  1064.  
  1065.   -target | --target | --targe | --targ | --tar | --ta | --t)
  1066.     ac_prev=target_alias ;;
  1067.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1068.     target_alias=$ac_optarg ;;
  1069.  
  1070.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1071.     verbose=yes ;;
  1072.  
  1073.   -version | --version | --versio | --versi | --vers | -V)
  1074.     ac_init_version=: ;;
  1075.  
  1076.   -with-* | --with-*)
  1077.     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1078.     # Reject names that are not valid shell variable names.
  1079.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1080.       as_fn_error $? "invalid package name: $ac_useropt"
  1081.     ac_useropt_orig=$ac_useropt
  1082.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1083.     case $ac_user_opts in
  1084.       *"
  1085. "with_$ac_useropt"
  1086. "*) ;;
  1087.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1088.      ac_unrecognized_sep=', ';;
  1089.     esac
  1090.     eval with_$ac_useropt=\$ac_optarg ;;
  1091.  
  1092.   -without-* | --without-*)
  1093.     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1094.     # Reject names that are not valid shell variable names.
  1095.     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1096.       as_fn_error $? "invalid package name: $ac_useropt"
  1097.     ac_useropt_orig=$ac_useropt
  1098.     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1099.     case $ac_user_opts in
  1100.       *"
  1101. "with_$ac_useropt"
  1102. "*) ;;
  1103.       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1104.      ac_unrecognized_sep=', ';;
  1105.     esac
  1106.     eval with_$ac_useropt=no ;;
  1107.  
  1108.   --x)
  1109.     # Obsolete; use --with-x.
  1110.     with_x=yes ;;
  1111.  
  1112.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1113.   | --x-incl | --x-inc | --x-in | --x-i)
  1114.     ac_prev=x_includes ;;
  1115.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1116.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1117.     x_includes=$ac_optarg ;;
  1118.  
  1119.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1120.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1121.     ac_prev=x_libraries ;;
  1122.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1123.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1124.     x_libraries=$ac_optarg ;;
  1125.  
  1126.   -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1127. Try \`$0 --help' for more information"
  1128.     ;;
  1129.  
  1130.   *=*)
  1131.     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1132.     # Reject names that are not valid shell variable names.
  1133.     case $ac_envvar in #(
  1134.       '' | [0-9]* | *[!_$as_cr_alnum]* )
  1135.       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1136.    esac
  1137.    eval $ac_envvar=\$ac_optarg
  1138.    export $ac_envvar ;;
  1139.  
  1140.  *)
  1141.    # FIXME: should be removed in autoconf 3.0.
  1142.    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1143.    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1144.      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1145.    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1146.    ;;
  1147.  
  1148.  esac
  1149. done
  1150.  
  1151. if test -n "$ac_prev"; then
  1152.  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1153.  as_fn_error $? "missing argument to $ac_option"
  1154. fi
  1155.  
  1156. if test -n "$ac_unrecognized_opts"; then
  1157.  case $enable_option_checking in
  1158.    no) ;;
  1159.    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1160.    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1161.  esac
  1162. fi
  1163.  
  1164. # Check all directory arguments for consistency.
  1165. for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1166.         datadir sysconfdir sharedstatedir localstatedir includedir \
  1167.         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1168.         libdir localedir mandir runstatedir
  1169. do
  1170.  eval ac_val=\$$ac_var
  1171.  # Remove trailing slashes.
  1172.  case $ac_val in
  1173.    */ )
  1174.      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1175.      eval $ac_var=\$ac_val;;
  1176.  esac
  1177.  # Be sure to have absolute directory names.
  1178.  case $ac_val in
  1179.    [\\/$]* | ?:[\\/]* )  continue;;
  1180.    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1181.  esac
  1182.  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1183. done
  1184.  
  1185. # There might be people who depend on the old broken behavior: `$host'
  1186. # used to hold the argument of --host etc.
  1187. # FIXME: To remove some day.
  1188. build=$build_alias
  1189. host=$host_alias
  1190. target=$target_alias
  1191.  
  1192. # FIXME: To remove some day.
  1193. if test "x$host_alias" != x; then
  1194.  if test "x$build_alias" = x; then
  1195.    cross_compiling=maybe
  1196.  elif test "x$build_alias" != "x$host_alias"; then
  1197.    cross_compiling=yes
  1198.  fi
  1199. fi
  1200.  
  1201. ac_tool_prefix=
  1202. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1203.  
  1204. test "$silent" = yes && exec 6>/dev/null
  1205.  
  1206.  
  1207. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1208. ac_ls_di=`ls -di .` &&
  1209. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1210.  as_fn_error $? "working directory cannot be determined"
  1211. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1212.  as_fn_error $? "pwd does not report name of working directory"
  1213.  
  1214.  
  1215. # Find the source files, if location was not specified.
  1216. if test -z "$srcdir"; then
  1217.  ac_srcdir_defaulted=yes
  1218.  # Try the directory containing this script, then the parent directory.
  1219.  ac_confdir=`$as_dirname -- "$as_myself" ||
  1220. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1221.      X"$as_myself" : 'X\(//\)[^/]' \| \
  1222.      X"$as_myself" : 'X\(//\)$' \| \
  1223.      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1224. $as_echo X"$as_myself" |
  1225.    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1226.         s//\1/
  1227.         q
  1228.       }
  1229.       /^X\(\/\/\)[^/].*/{
  1230.         s//\1/
  1231.         q
  1232.       }
  1233.       /^X\(\/\/\)$/{
  1234.         s//\1/
  1235.         q
  1236.       }
  1237.       /^X\(\/\).*/{
  1238.         s//\1/
  1239.         q
  1240.       }
  1241.       s/.*/./; q'`
  1242.  srcdir=$ac_confdir
  1243.  if test ! -r "$srcdir/$ac_unique_file"; then
  1244.    srcdir=..
  1245.  fi
  1246. else
  1247.  ac_srcdir_defaulted=no
  1248. fi
  1249. if test ! -r "$srcdir/$ac_unique_file"; then
  1250.  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1251.  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1252. fi
  1253. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1254. ac_abs_confdir=`(
  1255.     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1256.     pwd)`
  1257. # When building in place, set srcdir=.
  1258. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1259.  srcdir=.
  1260. fi
  1261. # Remove unnecessary trailing slashes from srcdir.
  1262. # Double slashes in file names in object file debugging info
  1263. # mess up M-x gdb in Emacs.
  1264. case $srcdir in
  1265. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1266. esac
  1267. for ac_var in $ac_precious_vars; do
  1268.  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1269.  eval ac_env_${ac_var}_value=\$${ac_var}
  1270.  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1271.  eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1272. done
  1273.  
  1274. #
  1275. # Report the --help message.
  1276. #
  1277. if test "$ac_init_help" = "long"; then
  1278.  # Omit some internal or obsolete options to make the list less imposing.
  1279.  # This message is too long to be a string in the A/UX 3.1 sh.
  1280.  cat <<_ACEOF
  1281. \`configure' configures mfoc 0.10.7 to adapt to many kinds of systems.
  1282.  
  1283. Usage: $0 [OPTION]... [VAR=VALUE]...
  1284.  
  1285. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1286. VAR=VALUE.  See below for descriptions of some of the useful variables.
  1287.  
  1288. Defaults for the options are specified in brackets.
  1289.  
  1290. Configuration:
  1291.   -h, --help              display this help and exit
  1292.       --help=short        display options specific to this package
  1293.       --help=recursive    display the short help of all the included packages
  1294.   -V, --version           display version information and exit
  1295.   -q, --quiet, --silent   do not print \`checking ...' messages
  1296.      --cache-file=FILE   cache test results in FILE [disabled]
  1297.  -C, --config-cache      alias for \`--cache-file=config.cache'
  1298.   -n, --no-create         do not create output files
  1299.       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1300.  
  1301. Installation directories:
  1302.  --prefix=PREFIX         install architecture-independent files in PREFIX
  1303.                          [$ac_default_prefix]
  1304.  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1305.                          [PREFIX]
  1306.  
  1307. By default, \`make install' will install all the files in
  1308. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1309. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1310. for instance \`--prefix=\$HOME'.
  1311.  
  1312. For better control, use the options below.
  1313.  
  1314. Fine tuning of the installation directories:
  1315.  --bindir=DIR            user executables [EPREFIX/bin]
  1316.  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1317.  --libexecdir=DIR        program executables [EPREFIX/libexec]
  1318.  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1319.  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1320.  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1321.  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
  1322.  --libdir=DIR            object code libraries [EPREFIX/lib]
  1323.  --includedir=DIR        C header files [PREFIX/include]
  1324.  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1325.  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1326.  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1327.  --infodir=DIR           info documentation [DATAROOTDIR/info]
  1328.  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1329.  --mandir=DIR            man documentation [DATAROOTDIR/man]
  1330.  --docdir=DIR            documentation root [DATAROOTDIR/doc/mfoc]
  1331.  --htmldir=DIR           html documentation [DOCDIR]
  1332.  --dvidir=DIR            dvi documentation [DOCDIR]
  1333.  --pdfdir=DIR            pdf documentation [DOCDIR]
  1334.  --psdir=DIR             ps documentation [DOCDIR]
  1335. _ACEOF
  1336.  
  1337.  cat <<\_ACEOF
  1338.  
  1339. Program names:
  1340.  --program-prefix=PREFIX            prepend PREFIX to installed program names
  1341.  --program-suffix=SUFFIX            append SUFFIX to installed program names
  1342.  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1343. _ACEOF
  1344. fi
  1345.  
  1346. if test -n "$ac_init_help"; then
  1347.  case $ac_init_help in
  1348.     short | recursive ) echo "Configuration of mfoc 0.10.7:";;
  1349.   esac
  1350.  cat <<\_ACEOF
  1351.  
  1352. Optional Features:
  1353.  --disable-option-checking  ignore unrecognized --enable/--with options
  1354.  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1355.  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1356.  --enable-silent-rules   less verbose build output (undo: "make V=1")
  1357.  --disable-silent-rules  verbose build output (undo: "make V=0")
  1358.  --enable-dependency-tracking
  1359.                          do not reject slow dependency extractors
  1360.  --disable-dependency-tracking
  1361.                          speeds up one-time build
  1362.  
  1363. Some influential environment variables:
  1364.  CC          C compiler command
  1365.  CFLAGS      C compiler flags
  1366.  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1367.              nonstandard directory <lib dir>
  1368.  LIBS        libraries to pass to the linker, e.g. -l<library>
  1369.  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1370.              you have headers in a nonstandard directory <include dir>
  1371.  CPP         C preprocessor
  1372.  
  1373. Use these variables to override the choices made by `configure' or to help
  1374. it to find libraries and programs with nonstandard names/locations.
  1375.  
  1376. Report bugs to <mifare@nethemba.com>.
  1377. _ACEOF
  1378. ac_status=$?
  1379. fi
  1380.  
  1381. if test "$ac_init_help" = "recursive"; then
  1382.   # If there are subdirs, report their specific --help.
  1383.   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1384.     test -d "$ac_dir" ||
  1385.       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1386.       continue
  1387.     ac_builddir=.
  1388.  
  1389. case "$ac_dir" in
  1390. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1391. *)
  1392.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1393.   # A ".." for each directory in $ac_dir_suffix.
  1394.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1395.   case $ac_top_builddir_sub in
  1396.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1397.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1398.   esac ;;
  1399. esac
  1400. ac_abs_top_builddir=$ac_pwd
  1401. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1402. # for backward compatibility:
  1403. ac_top_builddir=$ac_top_build_prefix
  1404.  
  1405. case $srcdir in
  1406.   .)  # We are building in place.
  1407.     ac_srcdir=.
  1408.     ac_top_srcdir=$ac_top_builddir_sub
  1409.     ac_abs_top_srcdir=$ac_pwd ;;
  1410.   [\\/]* | ?:[\\/]* )  # Absolute name.
  1411.     ac_srcdir=$srcdir$ac_dir_suffix;
  1412.     ac_top_srcdir=$srcdir
  1413.     ac_abs_top_srcdir=$srcdir ;;
  1414.   *) # Relative name.
  1415.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1416.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1417.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1418. esac
  1419. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1420.  
  1421.     cd "$ac_dir" || { ac_status=$?; continue; }
  1422.     # Check for guested configure.
  1423.     if test -f "$ac_srcdir/configure.gnu"; then
  1424.       echo &&
  1425.       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1426.     elif test -f "$ac_srcdir/configure"; then
  1427.       echo &&
  1428.       $SHELL "$ac_srcdir/configure" --help=recursive
  1429.     else
  1430.       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1431.     fi || ac_status=$?
  1432.     cd "$ac_pwd" || { ac_status=$?; break; }
  1433.   done
  1434. fi
  1435.  
  1436. test -n "$ac_init_help" && exit $ac_status
  1437. if $ac_init_version; then
  1438.   cat <<\_ACEOF
  1439. mfoc configure 0.10.7
  1440. generated by GNU Autoconf 2.69
  1441.  
  1442. Copyright (C) 2012 Free Software Foundation, Inc.
  1443. This configure script is free software; the Free Software Foundation
  1444. gives unlimited permission to copy, distribute and modify it.
  1445. _ACEOF
  1446.   exit
  1447. fi
  1448.  
  1449. ## ------------------------ ##
  1450. ## Autoconf initialization. ##
  1451. ## ------------------------ ##
  1452.  
  1453. # ac_fn_c_try_compile LINENO
  1454. # --------------------------
  1455. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1456. ac_fn_c_try_compile ()
  1457. {
  1458.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1459.   rm -f conftest.$ac_objext
  1460.   if { { ac_try="$ac_compile"
  1461. case "(($ac_try" in
  1462.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1463.   *) ac_try_echo=$ac_try;;
  1464. esac
  1465. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1466. $as_echo "$ac_try_echo"; } >&5
  1467.   (eval "$ac_compile") 2>conftest.err
  1468.   ac_status=$?
  1469.   if test -s conftest.err; then
  1470.     grep -v '^ *+' conftest.err >conftest.er1
  1471.     cat conftest.er1 >&5
  1472.     mv -f conftest.er1 conftest.err
  1473.   fi
  1474.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1475.   test $ac_status = 0; } && {
  1476.      test -z "$ac_c_werror_flag" ||
  1477.      test ! -s conftest.err
  1478.        } && test -s conftest.$ac_objext; then :
  1479.   ac_retval=0
  1480. else
  1481.   $as_echo "$as_me: failed program was:" >&5
  1482. sed 's/^/| /' conftest.$ac_ext >&5
  1483.  
  1484.     ac_retval=1
  1485. fi
  1486.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1487.   as_fn_set_status $ac_retval
  1488.  
  1489. } # ac_fn_c_try_compile
  1490.  
  1491. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1492. # -------------------------------------------
  1493. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1494. # variable VAR accordingly.
  1495. ac_fn_c_check_type ()
  1496. {
  1497.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1498.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1499. $as_echo_n "checking for $2... " >&6; }
  1500. if eval \${$3+:} false; then :
  1501.   $as_echo_n "(cached) " >&6
  1502. else
  1503.   eval "$3=no"
  1504.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1505. /* end confdefs.h.  */
  1506. $4
  1507. int
  1508. main ()
  1509. {
  1510. if (sizeof ($2))
  1511.      return 0;
  1512.   ;
  1513.   return 0;
  1514. }
  1515. _ACEOF
  1516. if ac_fn_c_try_compile "$LINENO"; then :
  1517.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1518. /* end confdefs.h.  */
  1519. $4
  1520. int
  1521. main ()
  1522. {
  1523. if (sizeof (($2)))
  1524.         return 0;
  1525.   ;
  1526.   return 0;
  1527. }
  1528. _ACEOF
  1529. if ac_fn_c_try_compile "$LINENO"; then :
  1530.  
  1531. else
  1532.   eval "$3=yes"
  1533. fi
  1534. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1535. fi
  1536. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1537. fi
  1538. eval ac_res=\$$3
  1539.            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1540. $as_echo "$ac_res" >&6; }
  1541.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1542.  
  1543. } # ac_fn_c_check_type
  1544.  
  1545. # ac_fn_c_try_cpp LINENO
  1546. # ----------------------
  1547. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1548. ac_fn_c_try_cpp ()
  1549. {
  1550.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1551.   if { { ac_try="$ac_cpp conftest.$ac_ext"
  1552. case "(($ac_try" in
  1553.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1554.   *) ac_try_echo=$ac_try;;
  1555. esac
  1556. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1557. $as_echo "$ac_try_echo"; } >&5
  1558.   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1559.   ac_status=$?
  1560.   if test -s conftest.err; then
  1561.     grep -v '^ *+' conftest.err >conftest.er1
  1562.     cat conftest.er1 >&5
  1563.     mv -f conftest.er1 conftest.err
  1564.   fi
  1565.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1566.   test $ac_status = 0; } > conftest.i && {
  1567.      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1568.      test ! -s conftest.err
  1569.        }; then :
  1570.   ac_retval=0
  1571. else
  1572.   $as_echo "$as_me: failed program was:" >&5
  1573. sed 's/^/| /' conftest.$ac_ext >&5
  1574.  
  1575.     ac_retval=1
  1576. fi
  1577.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1578.   as_fn_set_status $ac_retval
  1579.  
  1580. } # ac_fn_c_try_cpp
  1581.  
  1582. # ac_fn_c_try_run LINENO
  1583. # ----------------------
  1584. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1585. # that executables *can* be run.
  1586. ac_fn_c_try_run ()
  1587. {
  1588.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1589.   if { { ac_try="$ac_link"
  1590. case "(($ac_try" in
  1591.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1592.   *) ac_try_echo=$ac_try;;
  1593. esac
  1594. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1595. $as_echo "$ac_try_echo"; } >&5
  1596.   (eval "$ac_link") 2>&5
  1597.   ac_status=$?
  1598.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1599.   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1600.   { { case "(($ac_try" in
  1601.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1602.   *) ac_try_echo=$ac_try;;
  1603. esac
  1604. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1605. $as_echo "$ac_try_echo"; } >&5
  1606.   (eval "$ac_try") 2>&5
  1607.   ac_status=$?
  1608.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1609.   test $ac_status = 0; }; }; then :
  1610.   ac_retval=0
  1611. else
  1612.   $as_echo "$as_me: program exited with status $ac_status" >&5
  1613.        $as_echo "$as_me: failed program was:" >&5
  1614. sed 's/^/| /' conftest.$ac_ext >&5
  1615.  
  1616.        ac_retval=$ac_status
  1617. fi
  1618.   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1619.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1620.   as_fn_set_status $ac_retval
  1621.  
  1622. } # ac_fn_c_try_run
  1623.  
  1624. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1625. # -------------------------------------------------------
  1626. # Tests whether HEADER exists and can be compiled using the include files in
  1627. # INCLUDES, setting the cache variable VAR accordingly.
  1628. ac_fn_c_check_header_compile ()
  1629. {
  1630.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1631.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1632. $as_echo_n "checking for $2... " >&6; }
  1633. if eval \${$3+:} false; then :
  1634.   $as_echo_n "(cached) " >&6
  1635. else
  1636.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1637. /* end confdefs.h.  */
  1638. $4
  1639. #include <$2>
  1640. _ACEOF
  1641. if ac_fn_c_try_compile "$LINENO"; then :
  1642.   eval "$3=yes"
  1643. else
  1644.   eval "$3=no"
  1645. fi
  1646. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1647. fi
  1648. eval ac_res=\$$3
  1649.            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1650. $as_echo "$ac_res" >&6; }
  1651.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1652.  
  1653. } # ac_fn_c_check_header_compile
  1654.  
  1655. # ac_fn_c_find_uintX_t LINENO BITS VAR
  1656. # ------------------------------------
  1657. # Finds an unsigned integer type with width BITS, setting cache variable VAR
  1658. # accordingly.
  1659. ac_fn_c_find_uintX_t ()
  1660. {
  1661.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1662.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
  1663. $as_echo_n "checking for uint$2_t... " >&6; }
  1664. if eval \${$3+:} false; then :
  1665.   $as_echo_n "(cached) " >&6
  1666. else
  1667.   eval "$3=no"
  1668.      # Order is important - never check a type that is potentially smaller
  1669.      # than half of the expected target width.
  1670.      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
  1671.      'unsigned long long int' 'unsigned short int' 'unsigned char'; do
  1672.        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1673. /* end confdefs.h.  */
  1674. $ac_includes_default
  1675. int
  1676. main ()
  1677. {
  1678. static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
  1679. test_array [0] = 0;
  1680. return test_array [0];
  1681.  
  1682.   ;
  1683.   return 0;
  1684. }
  1685. _ACEOF
  1686. if ac_fn_c_try_compile "$LINENO"; then :
  1687.   case $ac_type in #(
  1688.   uint$2_t) :
  1689.     eval "$3=yes" ;; #(
  1690.   *) :
  1691.     eval "$3=\$ac_type" ;;
  1692. esac
  1693. fi
  1694. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1695.        if eval test \"x\$"$3"\" = x"no"; then :
  1696.  
  1697. else
  1698.   break
  1699. fi
  1700.      done
  1701. fi
  1702. eval ac_res=\$$3
  1703.            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1704. $as_echo "$ac_res" >&6; }
  1705.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1706.  
  1707. } # ac_fn_c_find_uintX_t
  1708.  
  1709. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1710. # -------------------------------------------------------
  1711. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1712. # the include files in INCLUDES and setting the cache variable VAR
  1713. # accordingly.
  1714. ac_fn_c_check_header_mongrel ()
  1715. {
  1716.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1717.   if eval \${$3+:} false; then :
  1718.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1719. $as_echo_n "checking for $2... " >&6; }
  1720. if eval \${$3+:} false; then :
  1721.   $as_echo_n "(cached) " >&6
  1722. fi
  1723. eval ac_res=\$$3
  1724.            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1725. $as_echo "$ac_res" >&6; }
  1726. else
  1727.   # Is the header compilable?
  1728. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1729. $as_echo_n "checking $2 usability... " >&6; }
  1730. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1731. /* end confdefs.h.  */
  1732. $4
  1733. #include <$2>
  1734. _ACEOF
  1735. if ac_fn_c_try_compile "$LINENO"; then :
  1736.   ac_header_compiler=yes
  1737. else
  1738.   ac_header_compiler=no
  1739. fi
  1740. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1741. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1742. $as_echo "$ac_header_compiler" >&6; }
  1743.  
  1744. # Is the header present?
  1745. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1746. $as_echo_n "checking $2 presence... " >&6; }
  1747. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1748. /* end confdefs.h.  */
  1749. #include <$2>
  1750. _ACEOF
  1751. if ac_fn_c_try_cpp "$LINENO"; then :
  1752.   ac_header_preproc=yes
  1753. else
  1754.   ac_header_preproc=no
  1755. fi
  1756. rm -f conftest.err conftest.i conftest.$ac_ext
  1757. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1758. $as_echo "$ac_header_preproc" >&6; }
  1759.  
  1760. # So?  What about this header?
  1761. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1762.   yes:no: )
  1763.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1764. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1765.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1766. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1767.     ;;
  1768.   no:yes:* )
  1769.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1770. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1771.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  1772. $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  1773.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1774. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1775.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  1776. $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  1777.     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1778. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1779. ( $as_echo "## ---------------------------------- ##
  1780. ## Report this to [email protected] ##
  1781. ## ---------------------------------- ##"
  1782.      ) | sed "s/^/$as_me: WARNING:     /" >&2
  1783.     ;;
  1784. esac
  1785.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1786. $as_echo_n "checking for $2... " >&6; }
  1787. if eval \${$3+:} false; then :
  1788.   $as_echo_n "(cached) " >&6
  1789. else
  1790.   eval "$3=\$ac_header_compiler"
  1791. fi
  1792. eval ac_res=\$$3
  1793.            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1794. $as_echo "$ac_res" >&6; }
  1795. fi
  1796.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1797.  
  1798. } # ac_fn_c_check_header_mongrel
  1799.  
  1800. # ac_fn_c_try_link LINENO
  1801. # -----------------------
  1802. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1803. ac_fn_c_try_link ()
  1804. {
  1805.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1806.   rm -f conftest.$ac_objext conftest$ac_exeext
  1807.   if { { ac_try="$ac_link"
  1808. case "(($ac_try" in
  1809.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1810.   *) ac_try_echo=$ac_try;;
  1811. esac
  1812. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1813. $as_echo "$ac_try_echo"; } >&5
  1814.   (eval "$ac_link") 2>conftest.err
  1815.   ac_status=$?
  1816.   if test -s conftest.err; then
  1817.     grep -v '^ *+' conftest.err >conftest.er1
  1818.     cat conftest.er1 >&5
  1819.     mv -f conftest.er1 conftest.err
  1820.   fi
  1821.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1822.   test $ac_status = 0; } && {
  1823.      test -z "$ac_c_werror_flag" ||
  1824.      test ! -s conftest.err
  1825.        } && test -s conftest$ac_exeext && {
  1826.      test "$cross_compiling" = yes ||
  1827.      test -x conftest$ac_exeext
  1828.        }; then :
  1829.   ac_retval=0
  1830. else
  1831.   $as_echo "$as_me: failed program was:" >&5
  1832. sed 's/^/| /' conftest.$ac_ext >&5
  1833.  
  1834.     ac_retval=1
  1835. fi
  1836.   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1837.   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1838.   # interfere with the next link command; also delete a directory that is
  1839.   # left behind by Apple's compiler.  We do this before executing the actions.
  1840.   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1841.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1842.   as_fn_set_status $ac_retval
  1843.  
  1844. } # ac_fn_c_try_link
  1845.  
  1846. # ac_fn_c_check_func LINENO FUNC VAR
  1847. # ----------------------------------
  1848. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1849. ac_fn_c_check_func ()
  1850. {
  1851.   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1852.   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1853. $as_echo_n "checking for $2... " >&6; }
  1854. if eval \${$3+:} false; then :
  1855.   $as_echo_n "(cached) " >&6
  1856. else
  1857.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1858. /* end confdefs.h.  */
  1859. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1860.    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1861. #define $2 innocuous_$2
  1862.  
  1863. /* System header to define __stub macros and hopefully few prototypes,
  1864.     which can conflict with char $2 (); below.
  1865.     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1866.     <limits.h> exists even on freestanding compilers.  */
  1867.  
  1868. #ifdef __STDC__
  1869. # include <limits.h>
  1870. #else
  1871. # include <assert.h>
  1872. #endif
  1873.  
  1874. #undef $2
  1875.  
  1876. /* Override any GCC internal prototype to avoid an error.
  1877.    Use char because int might match the return type of a GCC
  1878.    builtin and then its argument prototype would still apply.  */
  1879. #ifdef __cplusplus
  1880. extern "C"
  1881. #endif
  1882. char $2 ();
  1883. /* The GNU C library defines this for functions which it implements
  1884.     to always fail with ENOSYS.  Some functions are actually named
  1885.     something starting with __ and the normal name is an alias.  */
  1886. #if defined __stub_$2 || defined __stub___$2
  1887. choke me
  1888. #endif
  1889.  
  1890. int
  1891. main ()
  1892. {
  1893. return $2 ();
  1894.   ;
  1895.   return 0;
  1896. }
  1897. _ACEOF
  1898. if ac_fn_c_try_link "$LINENO"; then :
  1899.   eval "$3=yes"
  1900. else
  1901.   eval "$3=no"
  1902. fi
  1903. rm -f core conftest.err conftest.$ac_objext \
  1904.     conftest$ac_exeext conftest.$ac_ext
  1905. fi
  1906. eval ac_res=\$$3
  1907.            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1908. $as_echo "$ac_res" >&6; }
  1909.   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1910.  
  1911. } # ac_fn_c_check_func
  1912. cat >config.log <<_ACEOF
  1913. This file contains any messages produced by compilers while
  1914. running configure, to aid debugging if configure makes a mistake.
  1915.  
  1916. It was created by mfoc $as_me 0.10.7, which was
  1917. generated by GNU Autoconf 2.69.  Invocation command line was
  1918.  
  1919.   $ $0 $@
  1920.  
  1921. _ACEOF
  1922. exec 5>>config.log
  1923. {
  1924. cat <<_ASUNAME
  1925. ## --------- ##
  1926. ## Platform. ##
  1927. ## --------- ##
  1928.  
  1929. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1930. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1931. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1932. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1933. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1934.  
  1935. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1936. /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1937.  
  1938. /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1939. /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1940. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1941. /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1942. /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1943. /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1944. /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1945.  
  1946. _ASUNAME
  1947.  
  1948. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1949. for as_dir in $PATH
  1950. do
  1951.   IFS=$as_save_IFS
  1952.   test -z "$as_dir" && as_dir=.
  1953.     $as_echo "PATH: $as_dir"
  1954.   done
  1955. IFS=$as_save_IFS
  1956.  
  1957. } >&5
  1958.  
  1959. cat >&5 <<_ACEOF
  1960.  
  1961.  
  1962. ## ----------- ##
  1963. ## Core tests. ##
  1964. ## ----------- ##
  1965.  
  1966. _ACEOF
  1967.  
  1968.  
  1969. # Keep a trace of the command line.
  1970. # Strip out --no-create and --no-recursion so they do not pile up.
  1971. # Strip out --silent because we don't want to record it for future runs.
  1972. # Also quote any args containing shell meta-characters.
  1973. # Make two passes to allow for proper duplicate-argument suppression.
  1974. ac_configure_args=
  1975. ac_configure_args0=
  1976. ac_configure_args1=
  1977. ac_must_keep_next=false
  1978. for ac_pass in 1 2
  1979. do
  1980.   for ac_arg
  1981.   do
  1982.     case $ac_arg in
  1983.     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1984.     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1985.     | -silent | --silent | --silen | --sile | --sil)
  1986.       continue ;;
  1987.     *\'*)
  1988.       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1989.     esac
  1990.     case $ac_pass in
  1991.     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1992.     2)
  1993.       as_fn_append ac_configure_args1 " '$ac_arg'"
  1994.       if test $ac_must_keep_next = true; then
  1995.     ac_must_keep_next=false # Got value, back to normal.
  1996.       else
  1997.     case $ac_arg in
  1998.       *=* | --config-cache | -C | -disable-* | --disable-* \
  1999.       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2000.       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2001.       | -with-* | --with-* | -without-* | --without-* | --x)
  2002.         case "$ac_configure_args0 " in
  2003.           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2004.         esac
  2005.         ;;
  2006.       -* ) ac_must_keep_next=true ;;
  2007.     esac
  2008.       fi
  2009.       as_fn_append ac_configure_args " '$ac_arg'"
  2010.       ;;
  2011.     esac
  2012.   done
  2013. done
  2014. { ac_configure_args0=; unset ac_configure_args0;}
  2015. { ac_configure_args1=; unset ac_configure_args1;}
  2016.  
  2017. # When interrupted or exit'd, cleanup temporary files, and complete
  2018. # config.log.  We remove comments because anyway the quotes in there
  2019. # would cause problems or look ugly.
  2020. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2021. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2022. trap 'exit_status=$?
  2023.  # Save into config.log some information that might help in debugging.
  2024.  {
  2025.    echo
  2026.  
  2027.    $as_echo "## ---------------- ##
  2028. ## Cache variables. ##
  2029. ## ---------------- ##"
  2030.    echo
  2031.    # The following way of writing the cache mishandles newlines in values,
  2032. (
  2033.  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2034.    eval ac_val=\$$ac_var
  2035.    case $ac_val in #(
  2036.    *${as_nl}*)
  2037.      case $ac_var in #(
  2038.      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2039. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2040.      esac
  2041.      case $ac_var in #(
  2042.      _ | IFS | as_nl) ;; #(
  2043.      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2044.      *) { eval $ac_var=; unset $ac_var;} ;;
  2045.      esac ;;
  2046.    esac
  2047.  done
  2048.  (set) 2>&1 |
  2049.    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2050.    *${as_nl}ac_space=\ *)
  2051.      sed -n \
  2052.     "s/'\''/'\''\\\\'\'''\''/g;
  2053.       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2054.      ;; #(
  2055.    *)
  2056.      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2057.      ;;
  2058.    esac |
  2059.    sort
  2060. )
  2061.    echo
  2062.  
  2063.    $as_echo "## ----------------- ##
  2064. ## Output variables. ##
  2065. ## ----------------- ##"
  2066.    echo
  2067.    for ac_var in $ac_subst_vars
  2068.    do
  2069.      eval ac_val=\$$ac_var
  2070.      case $ac_val in
  2071.      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2072.      esac
  2073.      $as_echo "$ac_var='\''$ac_val'\''"
  2074.    done | sort
  2075.    echo
  2076.  
  2077.    if test -n "$ac_subst_files"; then
  2078.      $as_echo "## ------------------- ##
  2079. ## File substitutions. ##
  2080. ## ------------------- ##"
  2081.      echo
  2082.      for ac_var in $ac_subst_files
  2083.      do
  2084.     eval ac_val=\$$ac_var
  2085.     case $ac_val in
  2086.     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2087.     esac
  2088.     $as_echo "$ac_var='\''$ac_val'\''"
  2089.      done | sort
  2090.      echo
  2091.    fi
  2092.  
  2093.    if test -s confdefs.h; then
  2094.      $as_echo "## ----------- ##
  2095. ## confdefs.h. ##
  2096. ## ----------- ##"
  2097.      echo
  2098.      cat confdefs.h
  2099.      echo
  2100.    fi
  2101.    test "$ac_signal" != 0 &&
  2102.      $as_echo "$as_me: caught signal $ac_signal"
  2103.    $as_echo "$as_me: exit $exit_status"
  2104.  } >&5
  2105.  rm -f core *.core core.conftest.* &&
  2106.    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2107.    exit $exit_status
  2108. ' 0
  2109. for ac_signal in 1 2 13 15; do
  2110.   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2111. done
  2112. ac_signal=0
  2113.  
  2114. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2115. rm -f -r conftest* confdefs.h
  2116.  
  2117. $as_echo "/* confdefs.h */" > confdefs.h
  2118.  
  2119. # Predefined preprocessor variables.
  2120.  
  2121. cat >>confdefs.h <<_ACEOF
  2122. #define PACKAGE_NAME "$PACKAGE_NAME"
  2123. _ACEOF
  2124.  
  2125. cat >>confdefs.h <<_ACEOF
  2126. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2127. _ACEOF
  2128.  
  2129. cat >>confdefs.h <<_ACEOF
  2130. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2131. _ACEOF
  2132.  
  2133. cat >>confdefs.h <<_ACEOF
  2134. #define PACKAGE_STRING "$PACKAGE_STRING"
  2135. _ACEOF
  2136.  
  2137. cat >>confdefs.h <<_ACEOF
  2138. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2139. _ACEOF
  2140.  
  2141. cat >>confdefs.h <<_ACEOF
  2142. #define PACKAGE_URL "$PACKAGE_URL"
  2143. _ACEOF
  2144.  
  2145.  
  2146. # Let the site file select an alternate cache file if it wants to.
  2147. # Prefer an explicitly selected file to automatically selected ones.
  2148. ac_site_file1=NONE
  2149. ac_site_file2=NONE
  2150. if test -n "$CONFIG_SITE"; then
  2151.   # We do not want a PATH search for config.site.
  2152.   case $CONFIG_SITE in #((
  2153.     -*)  ac_site_file1=./$CONFIG_SITE;;
  2154.     */*) ac_site_file1=$CONFIG_SITE;;
  2155.     *)   ac_site_file1=./$CONFIG_SITE;;
  2156.   esac
  2157. elif test "x$prefix" != xNONE; then
  2158.   ac_site_file1=$prefix/share/config.site
  2159.   ac_site_file2=$prefix/etc/config.site
  2160. else
  2161.   ac_site_file1=$ac_default_prefix/share/config.site
  2162.   ac_site_file2=$ac_default_prefix/etc/config.site
  2163. fi
  2164. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2165. do
  2166.   test "x$ac_site_file" = xNONE && continue
  2167.   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2168.     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2169. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2170.     sed 's/^/| /' "$ac_site_file" >&5
  2171.     . "$ac_site_file" \
  2172.       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2173. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2174. as_fn_error $? "failed to load site script $ac_site_file
  2175. See \`config.log' for more details" "$LINENO" 5; }
  2176.  fi
  2177. done
  2178.  
  2179. if test -r "$cache_file"; then
  2180.  # Some versions of bash will fail to source /dev/null (special files
  2181.  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  2182.  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2183.    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2184. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2185.    case $cache_file in
  2186.      [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2187.      *)                      . "./$cache_file";;
  2188.    esac
  2189.  fi
  2190. else
  2191.  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2192. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2193.  >$cache_file
  2194. fi
  2195.  
  2196. # Check that the precious variables saved in the cache have kept the same
  2197. # value.
  2198. ac_cache_corrupted=false
  2199. for ac_var in $ac_precious_vars; do
  2200.  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2201.  eval ac_new_set=\$ac_env_${ac_var}_set
  2202.  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2203.  eval ac_new_val=\$ac_env_${ac_var}_value
  2204.  case $ac_old_set,$ac_new_set in
  2205.    set,)
  2206.      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2207. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2208.      ac_cache_corrupted=: ;;
  2209.    ,set)
  2210.      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2211. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2212.      ac_cache_corrupted=: ;;
  2213.    ,);;
  2214.    *)
  2215.      if test "x$ac_old_val" != "x$ac_new_val"; then
  2216.     # differences in whitespace do not lead to failure.
  2217.     ac_old_val_w=`echo x $ac_old_val`
  2218.     ac_new_val_w=`echo x $ac_new_val`
  2219.     if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2220.       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2221. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2222.       ac_cache_corrupted=:
  2223.     else
  2224.       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2225. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2226.       eval $ac_var=\$ac_old_val
  2227.     fi
  2228.     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  2229. $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2230.     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  2231. $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2232.      fi;;
  2233.  esac
  2234.  # Pass precious variables to config.status.
  2235.  if test "$ac_new_set" = set; then
  2236.    case $ac_new_val in
  2237.    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2238.    *) ac_arg=$ac_var=$ac_new_val ;;
  2239.    esac
  2240.    case " $ac_configure_args " in
  2241.      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2242.      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2243.    esac
  2244.  fi
  2245. done
  2246. if $ac_cache_corrupted; then
  2247.  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2248. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2249.  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2250. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2251.  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2252. fi
  2253. ## -------------------- ##
  2254. ## Main body of script. ##
  2255. ## -------------------- ##
  2256.  
  2257. ac_ext=c
  2258. ac_cpp='$CPP $CPPFLAGS'
  2259. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2260. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2261. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267. ac_config_headers="$ac_config_headers config.h"
  2268.  
  2269.  
  2270.  
  2271.  
  2272. am__api_version='1.16'
  2273.  
  2274. ac_aux_dir=
  2275. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2276.  if test -f "$ac_dir/install-sh"; then
  2277.    ac_aux_dir=$ac_dir
  2278.    ac_install_sh="$ac_aux_dir/install-sh -c"
  2279.    break
  2280.  elif test -f "$ac_dir/install.sh"; then
  2281.    ac_aux_dir=$ac_dir
  2282.    ac_install_sh="$ac_aux_dir/install.sh -c"
  2283.    break
  2284.  elif test -f "$ac_dir/shtool"; then
  2285.    ac_aux_dir=$ac_dir
  2286.    ac_install_sh="$ac_aux_dir/shtool install -c"
  2287.    break
  2288.  fi
  2289. done
  2290. if test -z "$ac_aux_dir"; then
  2291.  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2292. fi
  2293.  
  2294. # These three variables are undocumented and unsupported,
  2295. # and are intended to be withdrawn in a future Autoconf release.
  2296. # They can cause serious problems if a builder's source tree is in a directory
  2297. # whose full name contains unusual characters.
  2298. ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2299. ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2300. ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2301.  
  2302.  
  2303. # Find a good install program.  We prefer a C program (faster),
  2304. # so one script is as good as another.  But avoid the broken or
  2305. # incompatible versions:
  2306. # SysV /etc/install, /usr/sbin/install
  2307. # SunOS /usr/etc/install
  2308. # IRIX /sbin/install
  2309. # AIX /bin/install
  2310. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2311. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2312. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2313. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2314. # OS/2's system install, which has a completely different semantic
  2315. # ./install, which can be erroneously created by make from ./install.sh.
  2316. # Reject install programs that cannot install multiple files.
  2317. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2318. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2319. if test -z "$INSTALL"; then
  2320. if ${ac_cv_path_install+:} false; then :
  2321.   $as_echo_n "(cached) " >&6
  2322. else
  2323.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2324. for as_dir in $PATH
  2325. do
  2326.   IFS=$as_save_IFS
  2327.   test -z "$as_dir" && as_dir=.
  2328.     # Account for people who put trailing slashes in PATH elements.
  2329. case $as_dir/ in #((
  2330.   ./ | .// | /[cC]/* | \
  2331.   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2332.   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2333.   /usr/ucb/* ) ;;
  2334.   *)
  2335.     # OSF1 and SCO ODT 3.0 have their own names for install.
  2336.     # Don't use installbsd from OSF since it installs stuff as root
  2337.     # by default.
  2338.     for ac_prog in ginstall scoinst install; do
  2339.       for ac_exec_ext in '' $ac_executable_extensions; do
  2340.     if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2341.       if test $ac_prog = install &&
  2342.         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2343.         # AIX install.  It has an incompatible calling convention.
  2344.         :
  2345.       elif test $ac_prog = install &&
  2346.         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2347.         # program-specific install script used by HP pwplus--don't use.
  2348.         :
  2349.       else
  2350.         rm -rf conftest.one conftest.two conftest.dir
  2351.         echo one > conftest.one
  2352.         echo two > conftest.two
  2353.         mkdir conftest.dir
  2354.         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2355.           test -s conftest.one && test -s conftest.two &&
  2356.           test -s conftest.dir/conftest.one &&
  2357.           test -s conftest.dir/conftest.two
  2358.         then
  2359.           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2360.           break 3
  2361.         fi
  2362.       fi
  2363.     fi
  2364.       done
  2365.     done
  2366.     ;;
  2367. esac
  2368.  
  2369.   done
  2370. IFS=$as_save_IFS
  2371.  
  2372. rm -rf conftest.one conftest.two conftest.dir
  2373.  
  2374. fi
  2375.   if test "${ac_cv_path_install+set}" = set; then
  2376.     INSTALL=$ac_cv_path_install
  2377.   else
  2378.     # As a last resort, use the slow shell script.  Don't cache a
  2379.     # value for INSTALL within a source directory, because that will
  2380.     # break other packages using the cache if that directory is
  2381.     # removed, or if the value is a relative name.
  2382.     INSTALL=$ac_install_sh
  2383.   fi
  2384. fi
  2385. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2386. $as_echo "$INSTALL" >&6; }
  2387.  
  2388. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2389. # It thinks the first close brace ends the variable substitution.
  2390. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2391.  
  2392. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2393.  
  2394. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2395.  
  2396. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2397. $as_echo_n "checking whether build environment is sane... " >&6; }
  2398. # Reject unsafe characters in $srcdir or the absolute working directory
  2399. # name.  Accept space and tab only in the latter.
  2400. am_lf='
  2401. '
  2402. case `pwd` in
  2403.   *[\\\"\#\$\&\'\`$am_lf]*)
  2404.     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2405. esac
  2406. case $srcdir in
  2407.   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2408.     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2409. esac
  2410.  
  2411. # Do 'set' in a subshell so we don't clobber the current shell's
  2412. # arguments.  Must try -L first in case configure is actually a
  2413. # symlink; some systems play weird games with the mod time of symlinks
  2414. # (eg FreeBSD returns the mod time of the symlink's containing
  2415. # directory).
  2416. if (
  2417.    am_has_slept=no
  2418.    for am_try in 1 2; do
  2419.      echo "timestamp, slept: $am_has_slept" > conftest.file
  2420.      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2421.      if test "$*" = "X"; then
  2422.     # -L didn't work.
  2423.     set X `ls -t "$srcdir/configure" conftest.file`
  2424.      fi
  2425.      if test "$*" != "X $srcdir/configure conftest.file" \
  2426.     && test "$*" != "X conftest.file $srcdir/configure"; then
  2427.  
  2428.     # If neither matched, then we have a broken ls.  This can happen
  2429.     # if, for instance, CONFIG_SHELL is bash and it inherits a
  2430.     # broken ls alias from the environment.  This has actually
  2431.     # happened.  Such a system could not be considered "sane".
  2432.     as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
  2433.  alias in your environment" "$LINENO" 5
  2434.      fi
  2435.      if test "$2" = conftest.file || test $am_try -eq 2; then
  2436.        break
  2437.      fi
  2438.      # Just in case.
  2439.      sleep 1
  2440.      am_has_slept=yes
  2441.    done
  2442.    test "$2" = conftest.file
  2443.    )
  2444. then
  2445.    # Ok.
  2446.    :
  2447. else
  2448.    as_fn_error $? "newly created file is older than distributed files!
  2449. Check your system clock" "$LINENO" 5
  2450. fi
  2451. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2452. $as_echo "yes" >&6; }
  2453. # If we didn't sleep, we still need to ensure time stamps of config.status and
  2454. # generated files are strictly newer.
  2455. am_sleep_pid=
  2456. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2457.   ( sleep 1 ) &
  2458.   am_sleep_pid=$!
  2459. fi
  2460.  
  2461. rm -f conftest.file
  2462.  
  2463. test "$program_prefix" != NONE &&
  2464.   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2465. # Use a double $ so make ignores it.
  2466. test "$program_suffix" != NONE &&
  2467.   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2468. # Double any \ or $.
  2469. # By default was `s,x,x', remove it if useless.
  2470. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2471. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2472.  
  2473. # Expand $ac_aux_dir to an absolute path.
  2474. am_aux_dir=`cd "$ac_aux_dir" && pwd`
  2475.  
  2476. if test x"${MISSING+set}" != xset; then
  2477.   case $am_aux_dir in
  2478.   *\ * | *\ *)
  2479.     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2480.   *)
  2481.     MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2482.   esac
  2483. fi
  2484. # Use eval to expand $SHELL
  2485. if eval "$MISSING --is-lightweight"; then
  2486.   am_missing_run="$MISSING "
  2487. else
  2488.   am_missing_run=
  2489.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2490. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2491. fi
  2492.  
  2493. if test x"${install_sh+set}" != xset; then
  2494.   case $am_aux_dir in
  2495.   *\ * | *\ *)
  2496.     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2497.   *)
  2498.     install_sh="\${SHELL} $am_aux_dir/install-sh"
  2499.   esac
  2500. fi
  2501.  
  2502. # Installed binaries are usually stripped using 'strip' when the user
  2503. # run "make install-strip".  However 'strip' might not be the right
  2504. # tool to use in cross-compilation environments, therefore Automake
  2505. # will honor the 'STRIP' environment variable to overrule this program.
  2506. if test "$cross_compiling" != no; then
  2507.   if test -n "$ac_tool_prefix"; then
  2508.   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2509. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2510. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2511. $as_echo_n "checking for $ac_word... " >&6; }
  2512. if ${ac_cv_prog_STRIP+:} false; then :
  2513.   $as_echo_n "(cached) " >&6
  2514. else
  2515.   if test -n "$STRIP"; then
  2516.   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2517. else
  2518. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2519. for as_dir in $PATH
  2520. do
  2521.   IFS=$as_save_IFS
  2522.   test -z "$as_dir" && as_dir=.
  2523.     for ac_exec_ext in '' $ac_executable_extensions; do
  2524.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2525.     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2526.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2527.     break 2
  2528.   fi
  2529. done
  2530.   done
  2531. IFS=$as_save_IFS
  2532.  
  2533. fi
  2534. fi
  2535. STRIP=$ac_cv_prog_STRIP
  2536. if test -n "$STRIP"; then
  2537.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2538. $as_echo "$STRIP" >&6; }
  2539. else
  2540.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2541. $as_echo "no" >&6; }
  2542. fi
  2543.  
  2544.  
  2545. fi
  2546. if test -z "$ac_cv_prog_STRIP"; then
  2547.   ac_ct_STRIP=$STRIP
  2548.   # Extract the first word of "strip", so it can be a program name with args.
  2549. set dummy strip; ac_word=$2
  2550. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2551. $as_echo_n "checking for $ac_word... " >&6; }
  2552. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2553.   $as_echo_n "(cached) " >&6
  2554. else
  2555.   if test -n "$ac_ct_STRIP"; then
  2556.   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2557. else
  2558. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2559. for as_dir in $PATH
  2560. do
  2561.   IFS=$as_save_IFS
  2562.   test -z "$as_dir" && as_dir=.
  2563.     for ac_exec_ext in '' $ac_executable_extensions; do
  2564.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2565.     ac_cv_prog_ac_ct_STRIP="strip"
  2566.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2567.     break 2
  2568.   fi
  2569. done
  2570.   done
  2571. IFS=$as_save_IFS
  2572.  
  2573. fi
  2574. fi
  2575. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2576. if test -n "$ac_ct_STRIP"; then
  2577.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2578. $as_echo "$ac_ct_STRIP" >&6; }
  2579. else
  2580.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2581. $as_echo "no" >&6; }
  2582. fi
  2583.  
  2584.   if test "x$ac_ct_STRIP" = x; then
  2585.     STRIP=":"
  2586.   else
  2587.     case $cross_compiling:$ac_tool_warned in
  2588. yes:)
  2589. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2590. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2591. ac_tool_warned=yes ;;
  2592. esac
  2593.     STRIP=$ac_ct_STRIP
  2594.   fi
  2595. else
  2596.   STRIP="$ac_cv_prog_STRIP"
  2597. fi
  2598.  
  2599. fi
  2600. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2601.  
  2602. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2603. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2604. if test -z "$MKDIR_P"; then
  2605.   if ${ac_cv_path_mkdir+:} false; then :
  2606.   $as_echo_n "(cached) " >&6
  2607. else
  2608.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2609. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2610. do
  2611.   IFS=$as_save_IFS
  2612.   test -z "$as_dir" && as_dir=.
  2613.     for ac_prog in mkdir gmkdir; do
  2614.      for ac_exec_ext in '' $ac_executable_extensions; do
  2615.        as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2616.        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2617.          'mkdir (GNU coreutils) '* | \
  2618.          'mkdir (coreutils) '* | \
  2619.          'mkdir (fileutils) '4.1*)
  2620.            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2621.            break 3;;
  2622.        esac
  2623.      done
  2624.        done
  2625.   done
  2626. IFS=$as_save_IFS
  2627.  
  2628. fi
  2629.  
  2630.   test -d ./--version && rmdir ./--version
  2631.   if test "${ac_cv_path_mkdir+set}" = set; then
  2632.     MKDIR_P="$ac_cv_path_mkdir -p"
  2633.   else
  2634.     # As a last resort, use the slow shell script.  Don't cache a
  2635.     # value for MKDIR_P within a source directory, because that will
  2636.     # break other packages using the cache if that directory is
  2637.     # removed, or if the value is a relative name.
  2638.     MKDIR_P="$ac_install_sh -d"
  2639.   fi
  2640. fi
  2641. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2642. $as_echo "$MKDIR_P" >&6; }
  2643.  
  2644. for ac_prog in gawk mawk nawk awk
  2645. do
  2646.   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2647. set dummy $ac_prog; ac_word=$2
  2648. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2649. $as_echo_n "checking for $ac_word... " >&6; }
  2650. if ${ac_cv_prog_AWK+:} false; then :
  2651.   $as_echo_n "(cached) " >&6
  2652. else
  2653.   if test -n "$AWK"; then
  2654.   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2655. else
  2656. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2657. for as_dir in $PATH
  2658. do
  2659.   IFS=$as_save_IFS
  2660.   test -z "$as_dir" && as_dir=.
  2661.     for ac_exec_ext in '' $ac_executable_extensions; do
  2662.   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2663.     ac_cv_prog_AWK="$ac_prog"
  2664.     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2665.     break 2
  2666.   fi
  2667. done
  2668.   done
  2669. IFS=$as_save_IFS
  2670.  
  2671. fi
  2672. fi
  2673. AWK=$ac_cv_prog_AWK
  2674. if test -n "$AWK"; then
  2675.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2676. $as_echo "$AWK" >&6; }
  2677. else
  2678.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2679. $as_echo "no" >&6; }
  2680. fi
  2681.  
  2682.  
  2683.   test -n "$AWK" && break
  2684. done
  2685.  
  2686. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2687. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2688. set x ${MAKE-make}
  2689. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2690. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2691.   $as_echo_n "(cached) " >&6
  2692. else
  2693.   cat >conftest.make <<\_ACEOF
  2694. SHELL = /bin/sh
  2695. all:
  2696.     @echo '@@@%%%=$(MAKE)=@@@%%%'
  2697. _ACEOF
  2698. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2699. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2700.   *@@@%%%=?*=@@@%%%*)
  2701.     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2702.   *)
  2703.     eval ac_cv_prog_make_${ac_make}_set=no;;
  2704. esac
  2705. rm -f conftest.make
  2706. fi
  2707. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2708.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2709. $as_echo "yes" >&6; }
  2710.   SET_MAKE=
  2711. else
  2712.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2713. $as_echo "no" >&6; }
  2714.   SET_MAKE="MAKE=${MAKE-make}"
  2715. fi
  2716.  
  2717. rm -rf .tst 2>/dev/null
  2718. mkdir .tst 2>/dev/null
  2719. if test -d .tst; then
  2720.   am__leading_dot=.
  2721. else
  2722.   am__leading_dot=_
  2723. fi
  2724. rmdir .tst 2>/dev/null
  2725.  
  2726. # Check whether --enable-silent-rules was given.
  2727. if test "${enable_silent_rules+set}" = set; then :
  2728.   enableval=$enable_silent_rules;
  2729. fi
  2730.  
  2731. case $enable_silent_rules in # (((
  2732.   yes) AM_DEFAULT_VERBOSITY=0;;
  2733.    no) AM_DEFAULT_VERBOSITY=1;;
  2734.     *) AM_DEFAULT_VERBOSITY=1;;
  2735. esac
  2736. am_make=${MAKE-make}
  2737. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2738. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2739. if ${am_cv_make_support_nested_variables+:} false; then :
  2740.   $as_echo_n "(cached) " >&6
  2741. else
  2742.   if $as_echo 'TRUE=$(BAR$(V))
  2743. BAR0=false
  2744. BAR1=true
  2745. V=1
  2746. am__doit:
  2747.     @$(TRUE)
  2748. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2749.   am_cv_make_support_nested_variables=yes
  2750. else
  2751.   am_cv_make_support_nested_variables=no
  2752. fi
  2753. fi
  2754. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2755. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2756. if test $am_cv_make_support_nested_variables = yes; then
  2757.     AM_V='$(V)'
  2758.   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2759. else
  2760.   AM_V=$AM_DEFAULT_VERBOSITY
  2761.   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2762. fi
  2763. AM_BACKSLASH='\'
  2764.  
  2765. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2766.   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2767.   # is not polluted with repeated "-I."
  2768.   am__isrc=' -I$(srcdir)'
  2769.   # test to see if srcdir already configured
  2770.   if test -f $srcdir/config.status; then
  2771.     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2772.   fi
  2773. fi
  2774.  
  2775. # test whether we have cygpath
  2776. if test -z "$CYGPATH_W"; then
  2777.   if (cygpath --version) >/dev/null 2>/dev/null; then
  2778.     CYGPATH_W='cygpath -w'
  2779.   else
  2780.     CYGPATH_W=echo
  2781.   fi
  2782. fi
  2783.  
  2784.  
  2785. # Define the identity of the package.
  2786.  PACKAGE='mfoc'
  2787.  VERSION='0.10.7'
  2788.  
  2789.  
  2790. cat >>confdefs.h <<_ACEOF
  2791. #define PACKAGE "$PACKAGE"
  2792. _ACEOF
  2793.  
  2794.  
  2795. cat >>confdefs.h <<_ACEOF
  2796. #define VERSION "$VERSION"
  2797. _ACEOF
  2798.  
  2799. # Some tools Automake needs.
  2800.  
  2801. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2802.  
  2803.  
  2804. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2805.  
  2806.  
  2807. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2808.  
  2809.  
  2810. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2811.  
  2812.  
  2813. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2814.  
  2815. # For better backward compatibility.  To be removed once Automake 1.9.x
  2816. # dies out for good.  For more background, see:
  2817. # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2818. # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2819. mkdir_p='$(MKDIR_P)'
  2820.  
  2821. # We need awk for the "check" target (and possibly the TAP driver).  The
  2822. # system "awk" is bad on some platforms.
  2823. # Always define AMTAR for backward compatibility.  Yes, it's still used
  2824. # in the wild :-(  We should find a proper way to deprecate it ...
  2825. AMTAR='$${TAR-tar}'
  2826.  
  2827.  
  2828. # We'll loop over all known methods to create a tar archive until one works.
  2829. _am_tools='gnutar  pax cpio none'
  2830.  
  2831. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838. # POSIX will say in a future version that running "rm -f" with no argument
  2839. # is OK; and we want to be able to make that assumption in our Makefile
  2840. # recipes.  So use an aggressive probe to check that the usage we want is
  2841. # actually supported "in the wild" to an acceptable degree.
  2842. # See automake bug#10828.
  2843. # To make any issue more visible, cause the running configure to be aborted
  2844. # by default if the 'rm' program in use doesn't match our expectations; the
  2845. # user can still override this though.
  2846. if rm -f && rm -fr && rm -rf; then : OK; else
  2847.  cat >&2 <<'END'
  2848. Oops!
  2849.  
  2850. Your 'rm' program seems unable to run without file operands specified
  2851. on the command line, even when the '-f' option is present.  This is contrary
  2852. to the behaviour of most rm programs out there, and not conforming with
  2853. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  2854.  
  2855. Please tell [email protected] about your system, including the value
  2856. of your $PATH and any error possibly output before this message.  This
  2857. can help us improve future automake versions.
  2858.  
  2859. END
  2860.  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  2861.    echo 'Configuration will proceed anyway, since you have set the' >&2
  2862.    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  2863.    echo >&2
  2864.  else
  2865.    cat >&2 <<'END'
  2866. Aborting the configuration process, to ensure you take notice of the issue.
  2867.  
  2868. You can download and install GNU coreutils to get an 'rm' implementation
  2869. that behaves properly: <https://www.gnu.org/software/coreutils/>.
  2870.  
  2871. If you want to complete the configuration process using your problematic
  2872. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  2873. to "yes", and re-run configure.
  2874.  
  2875. END
  2876.    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  2877.  fi
  2878. fi
  2879.  
  2880.  
  2881. ac_ext=c
  2882. ac_cpp='$CPP $CPPFLAGS'
  2883. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2884. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2885. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2886. if test -n "$ac_tool_prefix"; then
  2887.  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2888. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2889. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2890. $as_echo_n "checking for $ac_word... " >&6; }
  2891. if ${ac_cv_prog_CC+:} false; then :
  2892.  $as_echo_n "(cached) " >&6
  2893. else
  2894.  if test -n "$CC"; then
  2895.  ac_cv_prog_CC="$CC" # Let the user override the test.
  2896. else
  2897. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2898. for as_dir in $PATH
  2899. do
  2900.  IFS=$as_save_IFS
  2901.  test -z "$as_dir" && as_dir=.
  2902.    for ac_exec_ext in '' $ac_executable_extensions; do
  2903.  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2904.    ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2905.    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2906.    break 2
  2907.  fi
  2908. done
  2909.  done
  2910. IFS=$as_save_IFS
  2911.  
  2912. fi
  2913. fi
  2914. CC=$ac_cv_prog_CC
  2915. if test -n "$CC"; then
  2916.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2917. $as_echo "$CC" >&6; }
  2918. else
  2919.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2920. $as_echo "no" >&6; }
  2921. fi
  2922.  
  2923.  
  2924. fi
  2925. if test -z "$ac_cv_prog_CC"; then
  2926.  ac_ct_CC=$CC
  2927.  # Extract the first word of "gcc", so it can be a program name with args.
  2928. set dummy gcc; ac_word=$2
  2929. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2930. $as_echo_n "checking for $ac_word... " >&6; }
  2931. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2932.  $as_echo_n "(cached) " >&6
  2933. else
  2934.  if test -n "$ac_ct_CC"; then
  2935.  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2936. else
  2937. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2938. for as_dir in $PATH
  2939. do
  2940.  IFS=$as_save_IFS
  2941.  test -z "$as_dir" && as_dir=.
  2942.    for ac_exec_ext in '' $ac_executable_extensions; do
  2943.  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2944.    ac_cv_prog_ac_ct_CC="gcc"
  2945.    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2946.    break 2
  2947.  fi
  2948. done
  2949.  done
  2950. IFS=$as_save_IFS
  2951.  
  2952. fi
  2953. fi
  2954. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2955. if test -n "$ac_ct_CC"; then
  2956.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2957. $as_echo "$ac_ct_CC" >&6; }
  2958. else
  2959.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2960. $as_echo "no" >&6; }
  2961. fi
  2962.  
  2963.  if test "x$ac_ct_CC" = x; then
  2964.    CC=""
  2965.  else
  2966.    case $cross_compiling:$ac_tool_warned in
  2967. yes:)
  2968. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2969. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2970. ac_tool_warned=yes ;;
  2971. esac
  2972.    CC=$ac_ct_CC
  2973.  fi
  2974. else
  2975.  CC="$ac_cv_prog_CC"
  2976. fi
  2977.  
  2978. if test -z "$CC"; then
  2979.          if test -n "$ac_tool_prefix"; then
  2980.    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2981. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2982. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2983. $as_echo_n "checking for $ac_word... " >&6; }
  2984. if ${ac_cv_prog_CC+:} false; then :
  2985.  $as_echo_n "(cached) " >&6
  2986. else
  2987.  if test -n "$CC"; then
  2988.  ac_cv_prog_CC="$CC" # Let the user override the test.
  2989. else
  2990. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2991. for as_dir in $PATH
  2992. do
  2993.  IFS=$as_save_IFS
  2994.  test -z "$as_dir" && as_dir=.
  2995.    for ac_exec_ext in '' $ac_executable_extensions; do
  2996.  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2997.    ac_cv_prog_CC="${ac_tool_prefix}cc"
  2998.    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2999.    break 2
  3000.  fi
  3001. done
  3002.  done
  3003. IFS=$as_save_IFS
  3004.  
  3005. fi
  3006. fi
  3007. CC=$ac_cv_prog_CC
  3008. if test -n "$CC"; then
  3009.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3010. $as_echo "$CC" >&6; }
  3011. else
  3012.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3013. $as_echo "no" >&6; }
  3014. fi
  3015.  
  3016.  
  3017.  fi
  3018. fi
  3019. if test -z "$CC"; then
  3020.  # Extract the first word of "cc", so it can be a program name with args.
  3021. set dummy cc; ac_word=$2
  3022. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3023. $as_echo_n "checking for $ac_word... " >&6; }
  3024. if ${ac_cv_prog_CC+:} false; then :
  3025.  $as_echo_n "(cached) " >&6
  3026. else
  3027.  if test -n "$CC"; then
  3028.  ac_cv_prog_CC="$CC" # Let the user override the test.
  3029. else
  3030.  ac_prog_rejected=no
  3031. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3032. for as_dir in $PATH
  3033. do
  3034.  IFS=$as_save_IFS
  3035.  test -z "$as_dir" && as_dir=.
  3036.    for ac_exec_ext in '' $ac_executable_extensions; do
  3037.  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3038.    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3039.       ac_prog_rejected=yes
  3040.       continue
  3041.     fi
  3042.    ac_cv_prog_CC="cc"
  3043.    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3044.    break 2
  3045.  fi
  3046. done
  3047.  done
  3048. IFS=$as_save_IFS
  3049.  
  3050. if test $ac_prog_rejected = yes; then
  3051.  # We found a bogon in the path, so make sure we never use it.
  3052.  set dummy $ac_cv_prog_CC
  3053.  shift
  3054.  if test $# != 0; then
  3055.    # We chose a different compiler from the bogus one.
  3056.    # However, it has the same basename, so the bogon will be chosen
  3057.    # first if we set CC to just the basename; use the full file name.
  3058.    shift
  3059.    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3060.  fi
  3061. fi
  3062. fi
  3063. fi
  3064. CC=$ac_cv_prog_CC
  3065. if test -n "$CC"; then
  3066.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3067. $as_echo "$CC" >&6; }
  3068. else
  3069.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3070. $as_echo "no" >&6; }
  3071. fi
  3072.  
  3073.  
  3074. fi
  3075. if test -z "$CC"; then
  3076.  if test -n "$ac_tool_prefix"; then
  3077.  for ac_prog in cl.exe
  3078.  do
  3079.    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3080. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3081. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3082. $as_echo_n "checking for $ac_word... " >&6; }
  3083. if ${ac_cv_prog_CC+:} false; then :
  3084.  $as_echo_n "(cached) " >&6
  3085. else
  3086.  if test -n "$CC"; then
  3087.  ac_cv_prog_CC="$CC" # Let the user override the test.
  3088. else
  3089. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3090. for as_dir in $PATH
  3091. do
  3092.  IFS=$as_save_IFS
  3093.  test -z "$as_dir" && as_dir=.
  3094.    for ac_exec_ext in '' $ac_executable_extensions; do
  3095.  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3096.    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3097.    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3098.    break 2
  3099.  fi
  3100. done
  3101.  done
  3102. IFS=$as_save_IFS
  3103.  
  3104. fi
  3105. fi
  3106. CC=$ac_cv_prog_CC
  3107. if test -n "$CC"; then
  3108.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3109. $as_echo "$CC" >&6; }
  3110. else
  3111.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3112. $as_echo "no" >&6; }
  3113. fi
  3114.  
  3115.  
  3116.    test -n "$CC" && break
  3117.  done
  3118. fi
  3119. if test -z "$CC"; then
  3120.  ac_ct_CC=$CC
  3121.  for ac_prog in cl.exe
  3122. do
  3123.  # Extract the first word of "$ac_prog", so it can be a program name with args.
  3124. set dummy $ac_prog; ac_word=$2
  3125. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3126. $as_echo_n "checking for $ac_word... " >&6; }
  3127. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3128.  $as_echo_n "(cached) " >&6
  3129. else
  3130.  if test -n "$ac_ct_CC"; then
  3131.  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3132. else
  3133. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3134. for as_dir in $PATH
  3135. do
  3136.  IFS=$as_save_IFS
  3137.  test -z "$as_dir" && as_dir=.
  3138.    for ac_exec_ext in '' $ac_executable_extensions; do
  3139.  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3140.    ac_cv_prog_ac_ct_CC="$ac_prog"
  3141.    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3142.    break 2
  3143.  fi
  3144. done
  3145.  done
  3146. IFS=$as_save_IFS
  3147.  
  3148. fi
  3149. fi
  3150. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3151. if test -n "$ac_ct_CC"; then
  3152.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3153. $as_echo "$ac_ct_CC" >&6; }
  3154. else
  3155.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3156. $as_echo "no" >&6; }
  3157. fi
  3158.  
  3159.  
  3160.  test -n "$ac_ct_CC" && break
  3161. done
  3162.  
  3163.  if test "x$ac_ct_CC" = x; then
  3164.    CC=""
  3165.  else
  3166.    case $cross_compiling:$ac_tool_warned in
  3167. yes:)
  3168. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3169. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3170. ac_tool_warned=yes ;;
  3171. esac
  3172.    CC=$ac_ct_CC
  3173.  fi
  3174. fi
  3175.  
  3176. fi
  3177.  
  3178.  
  3179. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3180. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3181. as_fn_error $? "no acceptable C compiler found in \$PATH
  3182. See \`config.log' for more details" "$LINENO" 5; }
  3183.  
  3184. # Provide some information about the compiler.
  3185. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3186. set X $ac_compile
  3187. ac_compiler=$2
  3188. for ac_option in --version -v -V -qversion; do
  3189.  { { ac_try="$ac_compiler $ac_option >&5"
  3190. case "(($ac_try" in
  3191.  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3192.  *) ac_try_echo=$ac_try;;
  3193. esac
  3194. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3195. $as_echo "$ac_try_echo"; } >&5
  3196.  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3197.  ac_status=$?
  3198.  if test -s conftest.err; then
  3199.    sed '10a\
  3200. ... rest of stderr output deleted ...
  3201.          10q' conftest.err >conftest.er1
  3202.    cat conftest.er1 >&5
  3203.  fi
  3204.  rm -f conftest.er1 conftest.err
  3205.  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3206.  test $ac_status = 0; }
  3207. done
  3208.  
  3209. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3210. /* end confdefs.h.  */
  3211.  
  3212. int
  3213. main ()
  3214. {
  3215.  
  3216.  ;
  3217.  return 0;
  3218. }
  3219. _ACEOF
  3220. ac_clean_files_save=$ac_clean_files
  3221. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3222. # Try to create an executable without -o first, disregard a.out.
  3223. # It will help us diagnose broken compilers, and finding out an intuition
  3224. # of exeext.
  3225. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3226. $as_echo_n "checking whether the C compiler works... " >&6; }
  3227. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3228.  
  3229. # The possible output files:
  3230. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3231.  
  3232. ac_rmfiles=
  3233. for ac_file in $ac_files
  3234. do
  3235.  case $ac_file in
  3236.    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3237.    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3238.  esac
  3239. done
  3240. rm -f $ac_rmfiles
  3241.  
  3242. if { { ac_try="$ac_link_default"
  3243. case "(($ac_try" in
  3244.  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3245.  *) ac_try_echo=$ac_try;;
  3246. esac
  3247. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3248. $as_echo "$ac_try_echo"; } >&5
  3249.  (eval "$ac_link_default") 2>&5
  3250.  ac_status=$?
  3251.  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3252.  test $ac_status = 0; }; then :
  3253.  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3254. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3255. # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  3256. # so that the user can short-circuit this test for compilers unknown to
  3257. # Autoconf.
  3258. for ac_file in $ac_files ''
  3259. do
  3260.   test -f "$ac_file" || continue
  3261.   case $ac_file in
  3262.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3263.     ;;
  3264.     [ab].out )
  3265.     # We found the default executable, but exeext='' is most
  3266.     # certainly right.
  3267.     break;;
  3268.     *.* )
  3269.     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3270.     then :; else
  3271.        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3272.     fi
  3273.     # We set ac_cv_exeext here because the later test for it is not
  3274.     # safe: cross compilers may not add the suffix if given an `-o'
  3275.     # argument, so we may need to know it at that point already.
  3276.     # Even if this section looks crufty: it has the advantage of
  3277.     # actually working.
  3278.     break;;
  3279.     * )
  3280.     break;;
  3281.   esac
  3282. done
  3283. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3284.  
  3285. else
  3286.   ac_file=''
  3287. fi
  3288. if test -z "$ac_file"; then :
  3289.   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3290. $as_echo "no" >&6; }
  3291. $as_echo "$as_me: failed program was:" >&5
  3292. sed 's/^/| /' conftest.$ac_ext >&5
  3293.  
  3294. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3295. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3296. as_fn_error 77 "C compiler cannot create executables
  3297. See \`config.log' for more details" "$LINENO" 5; }
  3298. else
  3299.  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3300. $as_echo "yes" >&6; }
  3301. fi
  3302. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3303. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3304. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3305. $as_echo "$ac_file" >&6; }
  3306. ac_exeext=$ac_cv_exeext
  3307.  
  3308. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3309. ac_clean_files=$ac_clean_files_save
  3310. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3311. $as_echo_n "checking for suffix of executables... " >&6; }
  3312. if { { ac_try="$ac_link"
  3313. case "(($ac_try" in
  3314.  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3315.  *) ac_try_echo=$ac_try;;
  3316. esac
  3317. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3318. $as_echo "$ac_try_echo"; } >&5
  3319.  (eval "$ac_link") 2>&5
  3320.  ac_status=$?
  3321.  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3322.  test $ac_status = 0; }; then :
  3323.  # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3324. # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3325. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3326. # `rm'.
  3327. for ac_file in conftest.exe conftest conftest.*; do
  3328.  test -f "$ac_file" || continue
  3329.  case $ac_file in
  3330.    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3331.    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3332.       break;;
  3333.    * ) break;;
  3334.  esac
  3335. done
  3336. else
  3337.  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3338. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3339. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3340. See \`config.log' for more details" "$LINENO" 5; }
  3341. fi
  3342. rm -f conftest conftest$ac_cv_exeext
  3343. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3344. $as_echo "$ac_cv_exeext" >&6; }
  3345.  
  3346. rm -f conftest.$ac_ext
  3347. EXEEXT=$ac_cv_exeext
  3348. ac_exeext=$EXEEXT
  3349. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3350. /* end confdefs.h.  */
  3351. #include <stdio.h>
  3352. int
  3353. main ()
  3354. {
  3355. FILE *f = fopen ("conftest.out", "w");
  3356.  return ferror (f) || fclose (f) != 0;
  3357.  
  3358.   ;
  3359.   return 0;
  3360. }
  3361. _ACEOF
  3362. ac_clean_files="$ac_clean_files conftest.out"
  3363. # Check that the compiler produces executables we can run.  If not, either
  3364. # the compiler is broken, or we cross compile.
  3365. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3366. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3367. if test "$cross_compiling" != yes; then
  3368.   { { ac_try="$ac_link"
  3369. case "(($ac_try" in
  3370.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3371.   *) ac_try_echo=$ac_try;;
  3372. esac
  3373. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3374. $as_echo "$ac_try_echo"; } >&5
  3375.   (eval "$ac_link") 2>&5
  3376.   ac_status=$?
  3377.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3378.   test $ac_status = 0; }
  3379.   if { ac_try='./conftest$ac_cv_exeext'
  3380.   { { case "(($ac_try" in
  3381.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3382.   *) ac_try_echo=$ac_try;;
  3383. esac
  3384. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3385. $as_echo "$ac_try_echo"; } >&5
  3386.   (eval "$ac_try") 2>&5
  3387.   ac_status=$?
  3388.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3389.   test $ac_status = 0; }; }; then
  3390.     cross_compiling=no
  3391.   else
  3392.     if test "$cross_compiling" = maybe; then
  3393.     cross_compiling=yes
  3394.     else
  3395.     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3396. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3397. as_fn_error $? "cannot run C compiled programs.
  3398. If you meant to cross compile, use \`--host'.
  3399. See \`config.log' for more details" "$LINENO" 5; }
  3400.     fi
  3401.   fi
  3402. fi
  3403. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3404. $as_echo "$cross_compiling" >&6; }
  3405.  
  3406. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3407. ac_clean_files=$ac_clean_files_save
  3408. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3409. $as_echo_n "checking for suffix of object files... " >&6; }
  3410. if ${ac_cv_objext+:} false; then :
  3411.   $as_echo_n "(cached) " >&6
  3412. else
  3413.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3414. /* end confdefs.h.  */
  3415.  
  3416. int
  3417. main ()
  3418. {
  3419.  
  3420.   ;
  3421.   return 0;
  3422. }
  3423. _ACEOF
  3424. rm -f conftest.o conftest.obj
  3425. if { { ac_try="$ac_compile"
  3426. case "(($ac_try" in
  3427.   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3428.   *) ac_try_echo=$ac_try;;
  3429. esac
  3430. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3431. $as_echo "$ac_try_echo"; } >&5
  3432.   (eval "$ac_compile") 2>&5
  3433.   ac_status=$?
  3434.   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3435.   test $ac_status = 0; }; then :
  3436.   for ac_file in conftest.o conftest.obj conftest.*; do
  3437.   test -f "$ac_file" || continue;
  3438.   case $ac_file in
  3439.     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3440.     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3441.        break;;
  3442.   esac
  3443. done
  3444. else
  3445.   $as_echo "$as_me: failed program was:" >&5
  3446. sed 's/^/| /' conftest.$ac_ext >&5
  3447.  
  3448. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3449. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3450. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3451. See \`config.log' for more details" "$LINENO" 5; }
  3452. fi
  3453. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3454. fi
  3455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3456. $as_echo "$ac_cv_objext" >&6; }
  3457. OBJEXT=$ac_cv_objext
  3458. ac_objext=$OBJEXT
  3459. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3460. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3461. if ${ac_cv_c_compiler_gnu+:} false; then :
  3462.  $as_echo_n "(cached) " >&6
  3463. else
  3464.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3465. /* end confdefs.h.  */
  3466.  
  3467. int
  3468. main ()
  3469. {
  3470. #ifndef __GNUC__
  3471.       choke me
  3472. #endif
  3473.  
  3474.  ;
  3475.  return 0;
  3476. }
  3477. _ACEOF
  3478. if ac_fn_c_try_compile "$LINENO"; then :
  3479.  ac_compiler_gnu=yes
  3480. else
  3481.  ac_compiler_gnu=no
  3482. fi
  3483. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3484. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3485.  
  3486. fi
  3487. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3488. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3489. if test $ac_compiler_gnu = yes; then
  3490.  GCC=yes
  3491. else
  3492.  GCC=
  3493. fi
  3494. ac_test_CFLAGS=${CFLAGS+set}
  3495. ac_save_CFLAGS=$CFLAGS
  3496. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3497. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3498. if ${ac_cv_prog_cc_g+:} false; then :
  3499.  $as_echo_n "(cached) " >&6
  3500. else
  3501.  ac_save_c_werror_flag=$ac_c_werror_flag
  3502.   ac_c_werror_flag=yes
  3503.   ac_cv_prog_cc_g=no
  3504.   CFLAGS="-g"
  3505.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3506. /* end confdefs.h.  */
  3507.  
  3508. int
  3509. main ()
  3510. {
  3511.  
  3512.  ;
  3513.  return 0;
  3514. }
  3515. _ACEOF
  3516. if ac_fn_c_try_compile "$LINENO"; then :
  3517.  ac_cv_prog_cc_g=yes
  3518. else
  3519.  CFLAGS=""
  3520.      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3521. /* end confdefs.h.  */
  3522.  
  3523. int
  3524. main ()
  3525. {
  3526.  
  3527.  ;
  3528.  return 0;
  3529. }
  3530. _ACEOF
  3531. if ac_fn_c_try_compile "$LINENO"; then :
  3532.  
  3533. else
  3534.  ac_c_werror_flag=$ac_save_c_werror_flag
  3535.      CFLAGS="-g"
  3536.      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3537. /* end confdefs.h.  */
  3538.  
  3539. int
  3540. main ()
  3541. {
  3542.  
  3543.  ;
  3544.  return 0;
  3545. }
  3546. _ACEOF
  3547. if ac_fn_c_try_compile "$LINENO"; then :
  3548.  ac_cv_prog_cc_g=yes
  3549. fi
  3550. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3551. fi
  3552. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3553. fi
  3554. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3555.   ac_c_werror_flag=$ac_save_c_werror_flag
  3556. fi
  3557. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3558. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3559. if test "$ac_test_CFLAGS" = set; then
  3560.  CFLAGS=$ac_save_CFLAGS
  3561. elif test $ac_cv_prog_cc_g = yes; then
  3562.  if test "$GCC" = yes; then
  3563.    CFLAGS="-g -O2"
  3564.  else
  3565.    CFLAGS="-g"
  3566.  fi
  3567. else
  3568.  if test "$GCC" = yes; then
  3569.    CFLAGS="-O2"
  3570.  else
  3571.    CFLAGS=
  3572.  fi
  3573. fi
  3574. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3575. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3576. if ${ac_cv_prog_cc_c89+:} false; then :
  3577.  $as_echo_n "(cached) " >&6
  3578. else
  3579.  ac_cv_prog_cc_c89=no
  3580. ac_save_CC=$CC
  3581. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3582. /* end confdefs.h.  */
  3583. #include <stdarg.h>
  3584. #include <stdio.h>
  3585. struct stat;
  3586. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3587. struct buf { int x; };
  3588. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3589. static char *e (p, i)
  3590.     char **p;
  3591.     int i;
  3592. {
  3593.  return p[i];
  3594. }
  3595. static char *f (char * (*g) (char **, int), char **p, ...)
  3596. {
  3597.  char *s;
  3598.  va_list v;
  3599.  va_start (v,p);
  3600.  s = g (p, va_arg (v,int));
  3601.  va_end (v);
  3602.  return s;
  3603. }
  3604.  
  3605. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3606.   function prototypes and stuff, but not '\xHH' hex character constants.
  3607.   These don't provoke an error unfortunately, instead are silently treated
  3608.   as 'x'.  The following induces an error, until -std is added to get
  3609.   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3610.   array size at least.  It's necessary to write '\x00'==0 to get something
  3611.   that's true only with -std.  */
  3612. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3613.  
  3614. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3615.   inside strings and character constants.  */
  3616. #define FOO(x) 'x'
  3617. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3618.  
  3619. int test (int i, double x);
  3620. struct s1 {int (*f) (int a);};
  3621. struct s2 {int (*f) (double a);};
  3622. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3623. int argc;
  3624. char **argv;
  3625. int
  3626. main ()
  3627. {
  3628. return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3629.  ;
  3630.  return 0;
  3631. }
  3632. _ACEOF
  3633. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3634.     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3635. do
  3636.  CC="$ac_save_CC $ac_arg"
  3637.  if ac_fn_c_try_compile "$LINENO"; then :
  3638.  ac_cv_prog_cc_c89=$ac_arg
  3639. fi
  3640. rm -f core conftest.err conftest.$ac_objext
  3641.  test "x$ac_cv_prog_cc_c89" != "xno" && break
  3642. done
  3643. rm -f conftest.$ac_ext
  3644. CC=$ac_save_CC
  3645.  
  3646. fi
  3647. # AC_CACHE_VAL
  3648. case "x$ac_cv_prog_cc_c89" in
  3649.  x)
  3650.    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3651. $as_echo "none needed" >&6; } ;;
  3652.  xno)
  3653.    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3654. $as_echo "unsupported" >&6; } ;;
  3655.  *)
  3656.    CC="$CC $ac_cv_prog_cc_c89"
  3657.    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3658. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3659. esac
  3660. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3661.  
  3662. fi
  3663.  
  3664. ac_ext=c
  3665. ac_cpp='$CPP $CPPFLAGS'
  3666. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3667. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3668. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3669.  
  3670. ac_ext=c
  3671. ac_cpp='$CPP $CPPFLAGS'
  3672. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3673. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3674. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3675. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  3676. $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  3677. if ${am_cv_prog_cc_c_o+:} false; then :
  3678.  $as_echo_n "(cached) " >&6
  3679. else
  3680.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3681. /* end confdefs.h.  */
  3682.  
  3683. int
  3684. main ()
  3685. {
  3686.  
  3687.  ;
  3688.  return 0;
  3689. }
  3690. _ACEOF
  3691.  # Make sure it works both with $CC and with simple cc.
  3692.  # Following AC_PROG_CC_C_O, we do the test twice because some
  3693.  # compilers refuse to overwrite an existing .o file with -o,
  3694.  # though they will create one.
  3695.  am_cv_prog_cc_c_o=yes
  3696.  for am_i in 1 2; do
  3697.    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  3698.   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  3699.   ac_status=$?
  3700.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3701.   (exit $ac_status); } \
  3702.         && test -f conftest2.$ac_objext; then
  3703.      : OK
  3704.    else
  3705.      am_cv_prog_cc_c_o=no
  3706.      break
  3707.    fi
  3708.  done
  3709.  rm -f core conftest*
  3710.  unset am_i
  3711. fi
  3712. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  3713. $as_echo "$am_cv_prog_cc_c_o" >&6; }
  3714. if test "$am_cv_prog_cc_c_o" != yes; then
  3715.   # Losing compiler, so override with the script.
  3716.   # FIXME: It is wrong to rewrite CC.
  3717.   # But if we don't then we get into trouble of one sort or another.
  3718.   # A longer-term fix would be to have automake use am__CC in this case,
  3719.   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  3720.   CC="$am_aux_dir/compile $CC"
  3721. fi
  3722. ac_ext=c
  3723. ac_cpp='$CPP $CPPFLAGS'
  3724. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3725. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3726. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3727.  
  3728. DEPDIR="${am__leading_dot}deps"
  3729.  
  3730. ac_config_commands="$ac_config_commands depfiles"
  3731.  
  3732. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
  3733. $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
  3734. cat > confinc.mk << 'END'
  3735. am__doit:
  3736.     @echo this is the am__doit target >confinc.out
  3737. .PHONY: am__doit
  3738. END
  3739. am__include="#"
  3740. am__quote=
  3741. # BSD make does it like this.
  3742. echo '.include "confinc.mk" # ignored' > confmf.BSD
  3743. # Other make implementations (GNU, Solaris 10, AIX) do it like this.
  3744. echo 'include confinc.mk # ignored' > confmf.GNU
  3745. _am_result=no
  3746. for s in GNU BSD; do
  3747.  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
  3748.   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
  3749.   ac_status=$?
  3750.   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3751.   (exit $ac_status); }
  3752.  case $?:`cat confinc.out 2>/dev/null` in #(
  3753.  '0:this is the am__doit target') :
  3754.    case $s in #(
  3755.  BSD) :
  3756.    am__include='.include' am__quote='"' ;; #(
  3757.  *) :
  3758.    am__include='include' am__quote='' ;;
  3759. esac ;; #(
  3760.  *) :
  3761.     ;;
  3762. esac
  3763.  if test "$am__include" != "#"; then
  3764.    _am_result="yes ($s style)"
  3765.    break
  3766.  fi
  3767. done
  3768. rm -f confinc.* confmf.*
  3769. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
  3770. $as_echo "${_am_result}" >&6; }
  3771.  
  3772. # Check whether --enable-dependency-tracking was given.
  3773. if test "${enable_dependency_tracking+set}" = set; then :
  3774.  enableval=$enable_dependency_tracking;
  3775. fi
  3776.  
  3777. if test "x$enable_dependency_tracking" != xno; then
  3778.  am_depcomp="$ac_aux_dir/depcomp"
  3779.  AMDEPBACKSLASH='\'
  3780.  am__nodep='_no'
  3781. fi
  3782. if test "x$enable_dependency_tracking" != xno; then
  3783.  AMDEP_TRUE=
  3784.  AMDEP_FALSE='#'
  3785. else
  3786.  AMDEP_TRUE='#'
  3787.  AMDEP_FALSE=
  3788. fi
  3789.  
  3790.  
  3791.  
  3792. depcc="$CC"   am_compiler_list=
  3793.  
  3794. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3795. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3796. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  3797.  $as_echo_n "(cached) " >&6
  3798. else
  3799.  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3800.  # We make a subdir and do the tests there.  Otherwise we can end up
  3801.  # making bogus files that we don't know about and never remove.  For
  3802.  # instance it was reported that on HP-UX the gcc test will end up
  3803.  # making a dummy file named 'D' -- because '-MD' means "put the output
  3804.  # in D".
  3805.  rm -rf conftest.dir
  3806.  mkdir conftest.dir
  3807.  # Copy depcomp to subdir because otherwise we won't find it if we're
  3808.  # using a relative directory.
  3809.  cp "$am_depcomp" conftest.dir
  3810.  cd conftest.dir
  3811.  # We will build objects and dependencies in a subdirectory because
  3812.  # it helps to detect inapplicable dependency modes.  For instance
  3813.  # both Tru64's cc and ICC support -MD to output dependencies as a
  3814.  # side effect of compilation, but ICC will put the dependencies in
  3815.  # the current directory while Tru64 will put them in the object
  3816.  # directory.
  3817.  mkdir sub
  3818.  
  3819.  am_cv_CC_dependencies_compiler_type=none
  3820.  if test "$am_compiler_list" = ""; then
  3821.     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3822.  fi
  3823.  am__universal=false
  3824.  case " $depcc " in #(
  3825.     *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3826.     esac
  3827.  
  3828.  for depmode in $am_compiler_list; do
  3829.    # Setup a source with many dependencies, because some compilers
  3830.    # like to wrap large dependency lists on column 80 (with \), and
  3831.    # we should not choose a depcomp mode which is confused by this.
  3832.    #
  3833.    # We need to recreate these files for each test, as the compiler may
  3834.    # overwrite some of them when testing with obscure command lines.
  3835.    # This happens at least with the AIX C compiler.
  3836.    : > sub/conftest.c
  3837.    for i in 1 2 3 4 5 6; do
  3838.      echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3839.      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  3840.      # Solaris 10 /bin/sh.
  3841.      echo '/* dummy */' > sub/conftst$i.h
  3842.    done
  3843.    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3844.  
  3845.    # We check with '-c' and '-o' for the sake of the "dashmstdout"
  3846.    # mode.  It turns out that the SunPro C++ compiler does not properly
  3847.    # handle '-M -o', and we need to detect this.  Also, some Intel
  3848.    # versions had trouble with output in subdirs.
  3849.    am__obj=sub/conftest.${OBJEXT-o}
  3850.    am__minus_obj="-o $am__obj"
  3851.    case $depmode in
  3852.    gcc)
  3853.      # This depmode causes a compiler race in universal mode.
  3854.      test "$am__universal" = false || continue
  3855.      ;;
  3856.    nosideeffect)
  3857.      # After this tag, mechanisms are not by side-effect, so they'll
  3858.      # only be used when explicitly requested.
  3859.      if test "x$enable_dependency_tracking" = xyes; then
  3860.     continue
  3861.      else
  3862.     break
  3863.      fi
  3864.      ;;
  3865.    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3866.      # This compiler won't grok '-c -o', but also, the minuso test has
  3867.      # not run yet.  These depmodes are late enough in the game, and
  3868.      # so weak that their functioning should not be impacted.
  3869.      am__obj=conftest.${OBJEXT-o}
  3870.      am__minus_obj=
  3871.      ;;
  3872.    none) break ;;
  3873.    esac
  3874.    if depmode=$depmode \
  3875.       source=sub/conftest.c object=$am__obj \
  3876.       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3877.       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3878.         >/dev/null 2>conftest.err &&
  3879.       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3880.       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3881.       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3882.       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3883.      # icc doesn't choke on unknown options, it will just issue warnings
  3884.      # or remarks (even with -Werror).  So we grep stderr for any message
  3885.      # that says an option was ignored or not supported.
  3886.      # When given -MP, icc 7.0 and 7.1 complain thusly:
  3887.      #   icc: Command line warning: ignoring option '-M'; no argument required
  3888.      # The diagnosis changed in icc 8.0:
  3889.      #   icc: Command line remark: option '-MP' not supported
  3890.      if (grep 'ignoring option' conftest.err ||
  3891.          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3892.        am_cv_CC_dependencies_compiler_type=$depmode
  3893.        break
  3894.      fi
  3895.    fi
  3896.  done
  3897.  
  3898.  cd ..
  3899.  rm -rf conftest.dir
  3900. else
  3901.  am_cv_CC_dependencies_compiler_type=none
  3902. fi
  3903.  
  3904. fi
  3905. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3906. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3907. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3908.  
  3909. if
  3910.  test "x$enable_dependency_tracking" != xno \
  3911.  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3912.  am__fastdepCC_TRUE=
  3913.  am__fastdepCC_FALSE='#'
  3914. else
  3915.  am__fastdepCC_TRUE='#'
  3916.  am__fastdepCC_FALSE=
  3917. fi
  3918.  
  3919.  
  3920.  
  3921. # Check whether --enable-silent-rules was given.
  3922. if test "${enable_silent_rules+set}" = set; then :
  3923.  enableval=$enable_silent_rules;
  3924. fi
  3925.  
  3926. case $enable_silent_rules in # (((
  3927.  yes) AM_DEFAULT_VERBOSITY=0;;
  3928.   no) AM_DEFAULT_VERBOSITY=1;;
  3929.    *) AM_DEFAULT_VERBOSITY=0;;
  3930. esac
  3931. am_make=${MAKE-make}
  3932. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  3933. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  3934. if ${am_cv_make_support_nested_variables+:} false; then :
  3935.  $as_echo_n "(cached) " >&6
  3936. else
  3937.  if $as_echo 'TRUE=$(BAR$(V))
  3938. BAR0=false
  3939. BAR1=true
  3940. V=1
  3941. am__doit:
  3942.     @$(TRUE)
  3943. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  3944.  am_cv_make_support_nested_variables=yes
  3945. else
  3946.  am_cv_make_support_nested_variables=no
  3947. fi
  3948. fi
  3949. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  3950. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  3951. if test $am_cv_make_support_nested_variables = yes; then
  3952.    AM_V='$(V)'
  3953.  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  3954. else
  3955.  AM_V=$AM_DEFAULT_VERBOSITY
  3956.  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  3957. fi
  3958. AM_BACKSLASH='\'
  3959.  
  3960.  
  3961. # Checks for pkg-config modules.
  3962. LIBNFC_REQUIRED_VERSION=1.7.0
  3963. PKG_CHECK_MODULES(libnfc, libnfc >= $LIBNFC_REQUIRED_VERSION, , AC_MSG_ERROR([libnfc >= $LIBNFC_REQUIRED_VERSION is mandatory.]))
  3964.  
  3965. PKG_CONFIG_REQUIRES="libnfc"
  3966.  
  3967.  
  3968.  
  3969. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  3970. $as_echo_n "checking for inline... " >&6; }
  3971. if ${ac_cv_c_inline+:} false; then :
  3972.  $as_echo_n "(cached) " >&6
  3973. else
  3974.  ac_cv_c_inline=no
  3975. for ac_kw in inline __inline__ __inline; do
  3976.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3977. /* end confdefs.h.  */
  3978. #ifndef __cplusplus
  3979. typedef int foo_t;
  3980. static $ac_kw foo_t static_foo () {return 0; }
  3981. $ac_kw foo_t foo () {return 0; }
  3982. #endif
  3983.  
  3984. _ACEOF
  3985. if ac_fn_c_try_compile "$LINENO"; then :
  3986.  ac_cv_c_inline=$ac_kw
  3987. fi
  3988. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3989.  test "$ac_cv_c_inline" != no && break
  3990. done
  3991.  
  3992. fi
  3993. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  3994. $as_echo "$ac_cv_c_inline" >&6; }
  3995.  
  3996. case $ac_cv_c_inline in
  3997.  inline | yes) ;;
  3998.  *)
  3999.    case $ac_cv_c_inline in
  4000.      no) ac_val=;;
  4001.      *) ac_val=$ac_cv_c_inline;;
  4002.    esac
  4003.    cat >>confdefs.h <<_ACEOF
  4004. #ifndef __cplusplus
  4005. #define inline $ac_val
  4006. #endif
  4007. _ACEOF
  4008.    ;;
  4009. esac
  4010.  
  4011.  
  4012. # Checks for typedefs, structures, and compiler characteristics.
  4013. ac_ext=c
  4014. ac_cpp='$CPP $CPPFLAGS'
  4015. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4016. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4017. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4018. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  4019. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  4020. # On Suns, sometimes $CPP names a directory.
  4021. if test -n "$CPP" && test -d "$CPP"; then
  4022.  CPP=
  4023. fi
  4024. if test -z "$CPP"; then
  4025.  if ${ac_cv_prog_CPP+:} false; then :
  4026.  $as_echo_n "(cached) " >&6
  4027. else
  4028.      # Double quotes because CPP needs to be expanded
  4029.    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  4030.    do
  4031.      ac_preproc_ok=false
  4032. for ac_c_preproc_warn_flag in '' yes
  4033. do
  4034.  # Use a header file that comes with gcc, so configuring glibc
  4035.  # with a fresh cross-compiler works.
  4036.  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4037.  # <limits.h> exists even on freestanding compilers.
  4038.  # On the NeXT, cc -E runs the code through the compiler's parser,
  4039.  # not just through cpp. "Syntax error" is here to catch this case.
  4040.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4041. /* end confdefs.h.  */
  4042. #ifdef __STDC__
  4043. # include <limits.h>
  4044. #else
  4045. # include <assert.h>
  4046. #endif
  4047.              Syntax error
  4048. _ACEOF
  4049. if ac_fn_c_try_cpp "$LINENO"; then :
  4050.  
  4051. else
  4052.  # Broken: fails on valid input.
  4053. continue
  4054. fi
  4055. rm -f conftest.err conftest.i conftest.$ac_ext
  4056.  
  4057.  # OK, works on sane cases.  Now check whether nonexistent headers
  4058.  # can be detected and how.
  4059.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4060. /* end confdefs.h.  */
  4061. #include <ac_nonexistent.h>
  4062. _ACEOF
  4063. if ac_fn_c_try_cpp "$LINENO"; then :
  4064.  # Broken: success on invalid input.
  4065. continue
  4066. else
  4067.  # Passes both tests.
  4068. ac_preproc_ok=:
  4069. break
  4070. fi
  4071. rm -f conftest.err conftest.i conftest.$ac_ext
  4072.  
  4073. done
  4074. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4075. rm -f conftest.i conftest.err conftest.$ac_ext
  4076. if $ac_preproc_ok; then :
  4077.  break
  4078. fi
  4079.  
  4080.    done
  4081.    ac_cv_prog_CPP=$CPP
  4082.  
  4083. fi
  4084.  CPP=$ac_cv_prog_CPP
  4085. else
  4086.  ac_cv_prog_CPP=$CPP
  4087. fi
  4088. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  4089. $as_echo "$CPP" >&6; }
  4090. ac_preproc_ok=false
  4091. for ac_c_preproc_warn_flag in '' yes
  4092. do
  4093.  # Use a header file that comes with gcc, so configuring glibc
  4094.  # with a fresh cross-compiler works.
  4095.  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4096.  # <limits.h> exists even on freestanding compilers.
  4097.  # On the NeXT, cc -E runs the code through the compiler's parser,
  4098.  # not just through cpp. "Syntax error" is here to catch this case.
  4099.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4100. /* end confdefs.h.  */
  4101. #ifdef __STDC__
  4102. # include <limits.h>
  4103. #else
  4104. # include <assert.h>
  4105. #endif
  4106.              Syntax error
  4107. _ACEOF
  4108. if ac_fn_c_try_cpp "$LINENO"; then :
  4109.  
  4110. else
  4111.  # Broken: fails on valid input.
  4112. continue
  4113. fi
  4114. rm -f conftest.err conftest.i conftest.$ac_ext
  4115.  
  4116.  # OK, works on sane cases.  Now check whether nonexistent headers
  4117.  # can be detected and how.
  4118.  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4119. /* end confdefs.h.  */
  4120. #include <ac_nonexistent.h>
  4121. _ACEOF
  4122. if ac_fn_c_try_cpp "$LINENO"; then :
  4123.  # Broken: success on invalid input.
  4124. continue
  4125. else
  4126.  # Passes both tests.
  4127. ac_preproc_ok=:
  4128. break
  4129. fi
  4130. rm -f conftest.err conftest.i conftest.$ac_ext
  4131.  
  4132. done
  4133. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4134. rm -f conftest.i conftest.err conftest.$ac_ext
  4135. if $ac_preproc_ok; then :
  4136.  
  4137. else
  4138.  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4139. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4140. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  4141. See \`config.log' for more details" "$LINENO" 5; }
  4142. fi
  4143.  
  4144. ac_ext=c
  4145. ac_cpp='$CPP $CPPFLAGS'
  4146. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4147. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4148. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4149.  
  4150.  
  4151. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4152. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4153. if ${ac_cv_path_GREP+:} false; then :
  4154.   $as_echo_n "(cached) " >&6
  4155. else
  4156.   if test -z "$GREP"; then
  4157.   ac_path_GREP_found=false
  4158.   # Loop through the user's path and test for each of PROGNAME-LIST
  4159.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4160. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4161. do
  4162.   IFS=$as_save_IFS
  4163.   test -z "$as_dir" && as_dir=.
  4164.     for ac_prog in grep ggrep; do
  4165.     for ac_exec_ext in '' $ac_executable_extensions; do
  4166.       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4167.       as_fn_executable_p "$ac_path_GREP" || continue
  4168. # Check for GNU ac_path_GREP and select it if it is found.
  4169.   # Check for GNU $ac_path_GREP
  4170. case `"$ac_path_GREP" --version 2>&1` in
  4171. *GNU*)
  4172.   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4173. *)
  4174.   ac_count=0
  4175.   $as_echo_n 0123456789 >"conftest.in"
  4176.   while :
  4177.   do
  4178.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4179.     mv "conftest.tmp" "conftest.in"
  4180.     cp "conftest.in" "conftest.nl"
  4181.     $as_echo 'GREP' >> "conftest.nl"
  4182.     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4183.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4184.     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4185.     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4186.       # Best one so far, save it but keep looking for a better one
  4187.       ac_cv_path_GREP="$ac_path_GREP"
  4188.       ac_path_GREP_max=$ac_count
  4189.     fi
  4190.     # 10*(2^10) chars as input seems more than enough
  4191.     test $ac_count -gt 10 && break
  4192.   done
  4193.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4194. esac
  4195.  
  4196.       $ac_path_GREP_found && break 3
  4197.     done
  4198.   done
  4199.   done
  4200. IFS=$as_save_IFS
  4201.   if test -z "$ac_cv_path_GREP"; then
  4202.     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4203.   fi
  4204. else
  4205.   ac_cv_path_GREP=$GREP
  4206. fi
  4207.  
  4208. fi
  4209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4210. $as_echo "$ac_cv_path_GREP" >&6; }
  4211.  GREP="$ac_cv_path_GREP"
  4212.  
  4213.  
  4214. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4215. $as_echo_n "checking for egrep... " >&6; }
  4216. if ${ac_cv_path_EGREP+:} false; then :
  4217.   $as_echo_n "(cached) " >&6
  4218. else
  4219.   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4220.    then ac_cv_path_EGREP="$GREP -E"
  4221.    else
  4222.      if test -z "$EGREP"; then
  4223.   ac_path_EGREP_found=false
  4224.   # Loop through the user's path and test for each of PROGNAME-LIST
  4225.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4226. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4227. do
  4228.   IFS=$as_save_IFS
  4229.   test -z "$as_dir" && as_dir=.
  4230.     for ac_prog in egrep; do
  4231.     for ac_exec_ext in '' $ac_executable_extensions; do
  4232.       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4233.       as_fn_executable_p "$ac_path_EGREP" || continue
  4234. # Check for GNU ac_path_EGREP and select it if it is found.
  4235.   # Check for GNU $ac_path_EGREP
  4236. case `"$ac_path_EGREP" --version 2>&1` in
  4237. *GNU*)
  4238.   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4239. *)
  4240.   ac_count=0
  4241.   $as_echo_n 0123456789 >"conftest.in"
  4242.   while :
  4243.   do
  4244.     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4245.     mv "conftest.tmp" "conftest.in"
  4246.     cp "conftest.in" "conftest.nl"
  4247.     $as_echo 'EGREP' >> "conftest.nl"
  4248.     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4249.     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4250.     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4251.     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4252.       # Best one so far, save it but keep looking for a better one
  4253.       ac_cv_path_EGREP="$ac_path_EGREP"
  4254.       ac_path_EGREP_max=$ac_count
  4255.     fi
  4256.     # 10*(2^10) chars as input seems more than enough
  4257.     test $ac_count -gt 10 && break
  4258.   done
  4259.   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4260. esac
  4261.  
  4262.       $ac_path_EGREP_found && break 3
  4263.     done
  4264.   done
  4265.   done
  4266. IFS=$as_save_IFS
  4267.   if test -z "$ac_cv_path_EGREP"; then
  4268.     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4269.   fi
  4270. else
  4271.   ac_cv_path_EGREP=$EGREP
  4272. fi
  4273.  
  4274.    fi
  4275. fi
  4276. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4277. $as_echo "$ac_cv_path_EGREP" >&6; }
  4278.  EGREP="$ac_cv_path_EGREP"
  4279.  
  4280.  
  4281. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  4282. $as_echo_n "checking for ANSI C header files... " >&6; }
  4283. if ${ac_cv_header_stdc+:} false; then :
  4284.   $as_echo_n "(cached) " >&6
  4285. else
  4286.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4287. /* end confdefs.h.  */
  4288. #include <stdlib.h>
  4289. #include <stdarg.h>
  4290. #include <string.h>
  4291. #include <float.h>
  4292.  
  4293. int
  4294. main ()
  4295. {
  4296.  
  4297.   ;
  4298.   return 0;
  4299. }
  4300. _ACEOF
  4301. if ac_fn_c_try_compile "$LINENO"; then :
  4302.   ac_cv_header_stdc=yes
  4303. else
  4304.   ac_cv_header_stdc=no
  4305. fi
  4306. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4307.  
  4308. if test $ac_cv_header_stdc = yes; then
  4309.   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4310.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4311. /* end confdefs.h.  */
  4312. #include <string.h>
  4313.  
  4314. _ACEOF
  4315. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4316.   $EGREP "memchr" >/dev/null 2>&1; then :
  4317.  
  4318. else
  4319.   ac_cv_header_stdc=no
  4320. fi
  4321. rm -f conftest*
  4322.  
  4323. fi
  4324.  
  4325. if test $ac_cv_header_stdc = yes; then
  4326.   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4327.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4328. /* end confdefs.h.  */
  4329. #include <stdlib.h>
  4330.  
  4331. _ACEOF
  4332. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4333.   $EGREP "free" >/dev/null 2>&1; then :
  4334.  
  4335. else
  4336.   ac_cv_header_stdc=no
  4337. fi
  4338. rm -f conftest*
  4339.  
  4340. fi
  4341.  
  4342. if test $ac_cv_header_stdc = yes; then
  4343.   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4344.   if test "$cross_compiling" = yes; then :
  4345.   :
  4346. else
  4347.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4348. /* end confdefs.h.  */
  4349. #include <ctype.h>
  4350. #include <stdlib.h>
  4351. #if ((' ' & 0x0FF) == 0x020)
  4352. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4353. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4354. #else
  4355. # define ISLOWER(c) \
  4356.            (('a' <= (c) && (c) <= 'i') \
  4357.              || ('j' <= (c) && (c) <= 'r') \
  4358.              || ('s' <= (c) && (c) <= 'z'))
  4359. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4360. #endif
  4361.  
  4362. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4363. int
  4364. main ()
  4365. {
  4366.   int i;
  4367.   for (i = 0; i < 256; i++)
  4368.     if (XOR (islower (i), ISLOWER (i))
  4369.     || toupper (i) != TOUPPER (i))
  4370.       return 2;
  4371.   return 0;
  4372. }
  4373. _ACEOF
  4374. if ac_fn_c_try_run "$LINENO"; then :
  4375.  
  4376. else
  4377.   ac_cv_header_stdc=no
  4378. fi
  4379. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4380.   conftest.$ac_objext conftest.beam conftest.$ac_ext
  4381. fi
  4382.  
  4383. fi
  4384. fi
  4385. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  4386. $as_echo "$ac_cv_header_stdc" >&6; }
  4387. if test $ac_cv_header_stdc = yes; then
  4388.  
  4389. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  4390.  
  4391. fi
  4392.  
  4393. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4394. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4395.           inttypes.h stdint.h unistd.h
  4396. do :
  4397.   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4398. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  4399. "
  4400. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  4401.   cat >>confdefs.h <<_ACEOF
  4402. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4403. _ACEOF
  4404.  
  4405. fi
  4406.  
  4407. done
  4408.  
  4409.  
  4410. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
  4411. $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
  4412. if ${ac_cv_header_stdbool_h+:} false; then :
  4413.   $as_echo_n "(cached) " >&6
  4414. else
  4415.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4416. /* end confdefs.h.  */
  4417.  
  4418.              #include <stdbool.h>
  4419.              #ifndef bool
  4420.               "error: bool is not defined"
  4421.              #endif
  4422.              #ifndef false
  4423.               "error: false is not defined"
  4424.              #endif
  4425.              #if false
  4426.               "error: false is not 0"
  4427.              #endif
  4428.              #ifndef true
  4429.               "error: true is not defined"
  4430.              #endif
  4431.              #if true != 1
  4432.               "error: true is not 1"
  4433.              #endif
  4434.              #ifndef __bool_true_false_are_defined
  4435.               "error: __bool_true_false_are_defined is not defined"
  4436.              #endif
  4437.  
  4438.              struct s { _Bool s: 1; _Bool t; } s;
  4439.  
  4440.              char a[true == 1 ? 1 : -1];
  4441.              char b[false == 0 ? 1 : -1];
  4442.              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
  4443.              char d[(bool) 0.5 == true ? 1 : -1];
  4444.              /* See body of main program for 'e'.  */
  4445.              char f[(_Bool) 0.0 == false ? 1 : -1];
  4446.              char g[true];
  4447.              char h[sizeof (_Bool)];
  4448.              char i[sizeof s.t];
  4449.              enum { j = false, k = true, l = false * true, m = true * 256 };
  4450.              /* The following fails for
  4451.                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
  4452.              _Bool n[m];
  4453.              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
  4454.              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
  4455.              /* Catch a bug in an HP-UX C compiler.  See
  4456.                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
  4457.                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
  4458.               */
  4459.              _Bool q = true;
  4460.              _Bool *pq = &q;
  4461.  
  4462. int
  4463. main ()
  4464. {
  4465.  
  4466.              bool e = &s;
  4467.              *pq |= q;
  4468.              *pq |= ! q;
  4469.              /* Refer to every declared value, to avoid compiler optimizations.  */
  4470.              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
  4471.                      + !m + !n + !o + !p + !q + !pq);
  4472.  
  4473.   ;
  4474.   return 0;
  4475. }
  4476. _ACEOF
  4477. if ac_fn_c_try_compile "$LINENO"; then :
  4478.   ac_cv_header_stdbool_h=yes
  4479. else
  4480.   ac_cv_header_stdbool_h=no
  4481. fi
  4482. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4483. fi
  4484. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
  4485. $as_echo "$ac_cv_header_stdbool_h" >&6; }
  4486.    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
  4487. if test "x$ac_cv_type__Bool" = xyes; then :
  4488.  
  4489. cat >>confdefs.h <<_ACEOF
  4490. #define HAVE__BOOL 1
  4491. _ACEOF
  4492.  
  4493.  
  4494. fi
  4495.  
  4496.  
  4497. if test $ac_cv_header_stdbool_h = yes; then
  4498.  
  4499. $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
  4500.  
  4501. fi
  4502.  
  4503. ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  4504. if test "x$ac_cv_type_size_t" = xyes; then :
  4505.  
  4506. else
  4507.  
  4508. cat >>confdefs.h <<_ACEOF
  4509. #define size_t unsigned int
  4510. _ACEOF
  4511.  
  4512. fi
  4513.  
  4514. ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
  4515. case $ac_cv_c_uint8_t in #(
  4516.   no|yes) ;; #(
  4517.   *)
  4518.  
  4519. $as_echo "#define _UINT8_T 1" >>confdefs.h
  4520.  
  4521.  
  4522. cat >>confdefs.h <<_ACEOF
  4523. #define uint8_t $ac_cv_c_uint8_t
  4524. _ACEOF
  4525. ;;
  4526.   esac
  4527.  
  4528. ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
  4529. case $ac_cv_c_uint16_t in #(
  4530.   no|yes) ;; #(
  4531.   *)
  4532.  
  4533.  
  4534. cat >>confdefs.h <<_ACEOF
  4535. #define uint16_t $ac_cv_c_uint16_t
  4536. _ACEOF
  4537. ;;
  4538.   esac
  4539.  
  4540. ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
  4541. case $ac_cv_c_uint32_t in #(
  4542.   no|yes) ;; #(
  4543.   *)
  4544.  
  4545. $as_echo "#define _UINT32_T 1" >>confdefs.h
  4546.  
  4547.  
  4548. cat >>confdefs.h <<_ACEOF
  4549. #define uint32_t $ac_cv_c_uint32_t
  4550. _ACEOF
  4551. ;;
  4552.   esac
  4553.  
  4554. ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
  4555. case $ac_cv_c_uint64_t in #(
  4556.   no|yes) ;; #(
  4557.   *)
  4558.  
  4559. $as_echo "#define _UINT64_T 1" >>confdefs.h
  4560.  
  4561.  
  4562. cat >>confdefs.h <<_ACEOF
  4563. #define uint64_t $ac_cv_c_uint64_t
  4564. _ACEOF
  4565. ;;
  4566.   esac
  4567.  
  4568.  
  4569. # Checks for library functions.
  4570. for ac_header in stdlib.h
  4571. do :
  4572.   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  4573. if test "x$ac_cv_header_stdlib_h" = xyes; then :
  4574.   cat >>confdefs.h <<_ACEOF
  4575. #define HAVE_STDLIB_H 1
  4576. _ACEOF
  4577.  
  4578. fi
  4579.  
  4580. done
  4581.  
  4582. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  4583. $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  4584. if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  4585.   $as_echo_n "(cached) " >&6
  4586. else
  4587.   if test "$cross_compiling" = yes; then :
  4588.   ac_cv_func_malloc_0_nonnull=no
  4589. else
  4590.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4591. /* end confdefs.h.  */
  4592. #if defined STDC_HEADERS || defined HAVE_STDLIB_H
  4593. # include <stdlib.h>
  4594. #else
  4595. char *malloc ();
  4596. #endif
  4597.  
  4598. int
  4599. main ()
  4600. {
  4601. return ! malloc (0);
  4602.   ;
  4603.   return 0;
  4604. }
  4605. _ACEOF
  4606. if ac_fn_c_try_run "$LINENO"; then :
  4607.   ac_cv_func_malloc_0_nonnull=yes
  4608. else
  4609.   ac_cv_func_malloc_0_nonnull=no
  4610. fi
  4611. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4612.   conftest.$ac_objext conftest.beam conftest.$ac_ext
  4613. fi
  4614.  
  4615. fi
  4616. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
  4617. $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
  4618. if test $ac_cv_func_malloc_0_nonnull = yes; then :
  4619.  
  4620. $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
  4621.  
  4622. else
  4623.   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
  4624.  
  4625.    case " $LIBOBJS " in
  4626.   *" malloc.$ac_objext "* ) ;;
  4627.   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
  4628.  ;;
  4629. esac
  4630.  
  4631.  
  4632. $as_echo "#define malloc rpl_malloc" >>confdefs.h
  4633.  
  4634. fi
  4635.  
  4636.  
  4637. for ac_header in stdlib.h
  4638. do :
  4639.   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  4640. if test "x$ac_cv_header_stdlib_h" = xyes; then :
  4641.   cat >>confdefs.h <<_ACEOF
  4642. #define HAVE_STDLIB_H 1
  4643. _ACEOF
  4644.  
  4645. fi
  4646.  
  4647. done
  4648.  
  4649. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
  4650. $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
  4651. if ${ac_cv_func_realloc_0_nonnull+:} false; then :
  4652.   $as_echo_n "(cached) " >&6
  4653. else
  4654.   if test "$cross_compiling" = yes; then :
  4655.   ac_cv_func_realloc_0_nonnull=no
  4656. else
  4657.   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4658. /* end confdefs.h.  */
  4659. #if defined STDC_HEADERS || defined HAVE_STDLIB_H
  4660. # include <stdlib.h>
  4661. #else
  4662. char *realloc ();
  4663. #endif
  4664.  
  4665. int
  4666. main ()
  4667. {
  4668. return ! realloc (0, 0);
  4669.   ;
  4670.   return 0;
  4671. }
  4672. _ACEOF
  4673. if ac_fn_c_try_run "$LINENO"; then :
  4674.   ac_cv_func_realloc_0_nonnull=yes
  4675. else
  4676.   ac_cv_func_realloc_0_nonnull=no
  4677. fi
  4678. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4679.   conftest.$ac_objext conftest.beam conftest.$ac_ext
  4680. fi
  4681.  
  4682. fi
  4683. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
  4684. $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
  4685. if test $ac_cv_func_realloc_0_nonnull = yes; then :
  4686.  
  4687. $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
  4688.  
  4689. else
  4690.   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
  4691.  
  4692.    case " $LIBOBJS " in
  4693.   *" realloc.$ac_objext "* ) ;;
  4694.   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
  4695.  ;;
  4696. esac
  4697.  
  4698.  
  4699. $as_echo "#define realloc rpl_realloc" >>confdefs.h
  4700.  
  4701. fi
  4702.  
  4703.  
  4704. for ac_func in memset
  4705. do :
  4706.   ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
  4707. if test "x$ac_cv_func_memset" = xyes; then :
  4708.   cat >>confdefs.h <<_ACEOF
  4709. #define HAVE_MEMSET 1
  4710. _ACEOF
  4711.  
  4712. fi
  4713. done
  4714.  
  4715.  
  4716. # C99
  4717. CFLAGS="$CFLAGS -std=c99"
  4718.  
  4719. ac_config_files="$ac_config_files Makefile src/Makefile"
  4720.  
  4721. cat >confcache <<\_ACEOF
  4722. # This file is a shell script that caches the results of configure
  4723. # tests run on this system so they can be shared between configure
  4724. # scripts and configure runs, see configure's option --config-cache.
  4725. # It is not useful on other systems.  If it contains results you don't
  4726. # want to keep, you may remove or edit it.
  4727. #
  4728. # config.status only pays attention to the cache file if you give it
  4729. # the --recheck option to rerun configure.
  4730. #
  4731. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  4732. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  4733. # following values.
  4734.  
  4735. _ACEOF
  4736.  
  4737. # The following way of writing the cache mishandles newlines in values,
  4738. # but we know of no workaround that is simple, portable, and efficient.
  4739. # So, we kill variables containing newlines.
  4740. # Ultrix sh set writes to stderr and can't be redirected directly,
  4741. # and sets the high bit in the cache file unless we assign to the vars.
  4742. (
  4743.   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  4744.     eval ac_val=\$$ac_var
  4745.     case $ac_val in #(
  4746.     *${as_nl}*)
  4747.       case $ac_var in #(
  4748.       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  4749. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  4750.       esac
  4751.       case $ac_var in #(
  4752.       _ | IFS | as_nl) ;; #(
  4753.       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  4754.       *) { eval $ac_var=; unset $ac_var;} ;;
  4755.       esac ;;
  4756.     esac
  4757.   done
  4758.  
  4759.   (set) 2>&1 |
  4760.     case $as_nl`(ac_space=' '; set) 2>&1` in #(
  4761.     *${as_nl}ac_space=\ *)
  4762.       # `set' does not quote correctly, so add quotes: double-quote
  4763.       # substitution turns \\\\ into \\, and sed turns \\ into \.
  4764.       sed -n \
  4765.     "s/'/'\\\\''/g;
  4766.       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  4767.       ;; #(
  4768.     *)
  4769.       # `set' quotes correctly as required by POSIX, so do not add quotes.
  4770.       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  4771.       ;;
  4772.     esac |
  4773.     sort
  4774. ) |
  4775.   sed '
  4776.     /^ac_cv_env_/b end
  4777.     t clear
  4778.     :clear
  4779.     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  4780.     t end
  4781.     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  4782.     :end' >>confcache
  4783. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  4784.   if test -w "$cache_file"; then
  4785.     if test "x$cache_file" != "x/dev/null"; then
  4786.       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  4787. $as_echo "$as_me: updating cache $cache_file" >&6;}
  4788.       if test ! -f "$cache_file" || test -h "$cache_file"; then
  4789.     cat confcache >"$cache_file"
  4790.       else
  4791.         case $cache_file in #(
  4792.         */* | ?:*)
  4793.       mv -f confcache "$cache_file"$$ &&
  4794.       mv -f "$cache_file"$$ "$cache_file" ;; #(
  4795.         *)
  4796.       mv -f confcache "$cache_file" ;;
  4797.     esac
  4798.       fi
  4799.     fi
  4800.   else
  4801.     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  4802. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  4803.   fi
  4804. fi
  4805. rm -f confcache
  4806.  
  4807. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  4808. # Let make expand exec_prefix.
  4809. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  4810.  
  4811. DEFS=-DHAVE_CONFIG_H
  4812.  
  4813. ac_libobjs=
  4814. ac_ltlibobjs=
  4815. U=
  4816. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  4817.   # 1. Remove the extension, and $U if already installed.
  4818.   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  4819.   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  4820.   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  4821.   #    will be set to the directory where LIBOBJS objects are built.
  4822.   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  4823.   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  4824. done
  4825. LIBOBJS=$ac_libobjs
  4826.  
  4827. LTLIBOBJS=$ac_ltlibobjs
  4828.  
  4829.  
  4830. { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  4831. $as_echo_n "checking that generated files are newer than configure... " >&6; }
  4832.    if test -n "$am_sleep_pid"; then
  4833.      # Hide warnings about reused PIDs.
  4834.      wait $am_sleep_pid 2>/dev/null
  4835.    fi
  4836.    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  4837. $as_echo "done" >&6; }
  4838.  if test -n "$EXEEXT"; then
  4839.   am__EXEEXT_TRUE=
  4840.   am__EXEEXT_FALSE='#'
  4841. else
  4842.   am__EXEEXT_TRUE='#'
  4843.   am__EXEEXT_FALSE=
  4844. fi
  4845.  
  4846. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  4847.   as_fn_error $? "conditional \"AMDEP\" was never defined.
  4848. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  4849. fi
  4850. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  4851.   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  4852. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  4853. fi
  4854.  
  4855. : "${CONFIG_STATUS=./config.status}"
  4856. ac_write_fail=0
  4857. ac_clean_files_save=$ac_clean_files
  4858. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  4859. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  4860. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  4861. as_write_fail=0
  4862. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  4863. #! $SHELL
  4864. # Generated by $as_me.
  4865. # Run this file to recreate the current configuration.
  4866. # Compiler output produced by configure, useful for debugging
  4867. # configure, is in config.log if it exists.
  4868.  
  4869. debug=false
  4870. ac_cs_recheck=false
  4871. ac_cs_silent=false
  4872.  
  4873. SHELL=\${CONFIG_SHELL-$SHELL}
  4874. export SHELL
  4875. _ASEOF
  4876. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  4877. ## -------------------- ##
  4878. ## M4sh Initialization. ##
  4879. ## -------------------- ##
  4880.  
  4881. # Be more Bourne compatible
  4882. DUALCASE=1; export DUALCASE # for MKS sh
  4883. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  4884.   emulate sh
  4885.   NULLCMD=:
  4886.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  4887.   # is contrary to our usage.  Disable this feature.
  4888.   alias -g '${1+"$@"}'='"$@"'
  4889.   setopt NO_GLOB_SUBST
  4890. else
  4891.   case `(set -o) 2>/dev/null` in #(
  4892.   *posix*) :
  4893.     set -o posix ;; #(
  4894.   *) :
  4895.      ;;
  4896. esac
  4897. fi
  4898.  
  4899.  
  4900. as_nl='
  4901. '
  4902. export as_nl
  4903. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  4904. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4905. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  4906. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  4907. # Prefer a ksh shell builtin over an external printf program on Solaris,
  4908. # but without wasting forks for bash or zsh.
  4909. if test -z "$BASH_VERSION$ZSH_VERSION" \
  4910.     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  4911.   as_echo='print -r --'
  4912.   as_echo_n='print -rn --'
  4913. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  4914.   as_echo='printf %s\n'
  4915.   as_echo_n='printf %s'
  4916. else
  4917.   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  4918.     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  4919.     as_echo_n='/usr/ucb/echo -n'
  4920.   else
  4921.     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  4922.     as_echo_n_body='eval
  4923.      arg=$1;
  4924.      case $arg in #(
  4925.      *"$as_nl"*)
  4926.     expr "X$arg" : "X\\(.*\\)$as_nl";
  4927.     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  4928.      esac;
  4929.      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  4930.    '
  4931.     export as_echo_n_body
  4932.     as_echo_n='sh -c $as_echo_n_body as_echo'
  4933.   fi
  4934.   export as_echo_body
  4935.   as_echo='sh -c $as_echo_body as_echo'
  4936. fi
  4937.  
  4938. # The user is always right.
  4939. if test "${PATH_SEPARATOR+set}" != set; then
  4940.   PATH_SEPARATOR=:
  4941.   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  4942.     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  4943.       PATH_SEPARATOR=';'
  4944.   }
  4945. fi
  4946.  
  4947.  
  4948. # IFS
  4949. # We need space, tab and new line, in precisely that order.  Quoting is
  4950. # there to prevent editors from complaining about space-tab.
  4951. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  4952. # splitting by setting IFS to empty value.)
  4953. IFS=" ""    $as_nl"
  4954.  
  4955. # Find who we are.  Look in the path if we contain no directory separator.
  4956. as_myself=
  4957. case $0 in #((
  4958.   *[\\/]* ) as_myself=$0 ;;
  4959.   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4960. for as_dir in $PATH
  4961. do
  4962.   IFS=$as_save_IFS
  4963.   test -z "$as_dir" && as_dir=.
  4964.     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  4965.   done
  4966. IFS=$as_save_IFS
  4967.  
  4968.      ;;
  4969. esac
  4970. # We did not find ourselves, most probably we were run as `sh COMMAND'
  4971. # in which case we are not to be found in the path.
  4972. if test "x$as_myself" = x; then
  4973.   as_myself=$0
  4974. fi
  4975. if test ! -f "$as_myself"; then
  4976.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  4977.   exit 1
  4978. fi
  4979.  
  4980. # Unset variables that we do not need and which cause bugs (e.g. in
  4981. # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  4982. # suppresses any "Segmentation fault" message there.  '((' could
  4983. # trigger a bug in pdksh 5.2.14.
  4984. for as_var in BASH_ENV ENV MAIL MAILPATH
  4985. do eval test x\${$as_var+set} = xset \
  4986.   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  4987. done
  4988. PS1='$ '
  4989. PS2='> '
  4990. PS4='+ '
  4991.  
  4992. # NLS nuisances.
  4993. LC_ALL=C
  4994. export LC_ALL
  4995. LANGUAGE=C
  4996. export LANGUAGE
  4997.  
  4998. # CDPATH.
  4999. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  5000.  
  5001.  
  5002. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  5003. # ----------------------------------------
  5004. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  5005. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  5006. # script with STATUS, using 1 if that was 0.
  5007. as_fn_error ()
  5008. {
  5009.   as_status=$1; test $as_status -eq 0 && as_status=1
  5010.   if test "$4"; then
  5011.     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  5012.     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  5013.   fi
  5014.   $as_echo "$as_me: error: $2" >&2
  5015.   as_fn_exit $as_status
  5016. } # as_fn_error
  5017.  
  5018.  
  5019. # as_fn_set_status STATUS
  5020. # -----------------------
  5021. # Set $? to STATUS, without forking.
  5022. as_fn_set_status ()
  5023. {
  5024.   return $1
  5025. } # as_fn_set_status
  5026.  
  5027. # as_fn_exit STATUS
  5028. # -----------------
  5029. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  5030. as_fn_exit ()
  5031. {
  5032.   set +e
  5033.   as_fn_set_status $1
  5034.   exit $1
  5035. } # as_fn_exit
  5036.  
  5037. # as_fn_unset VAR
  5038. # ---------------
  5039. # Portably unset VAR.
  5040. as_fn_unset ()
  5041. {
  5042.   { eval $1=; unset $1;}
  5043. }
  5044. as_unset=as_fn_unset
  5045. # as_fn_append VAR VALUE
  5046. # ----------------------
  5047. # Append the text in VALUE to the end of the definition contained in VAR. Take
  5048. # advantage of any shell optimizations that allow amortized linear growth over
  5049. # repeated appends, instead of the typical quadratic growth present in naive
  5050. # implementations.
  5051. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  5052.   eval 'as_fn_append ()
  5053.  {
  5054.    eval $1+=\$2
  5055.  }'
  5056. else
  5057.   as_fn_append ()
  5058.   {
  5059.     eval $1=\$$1\$2
  5060.   }
  5061. fi # as_fn_append
  5062.  
  5063. # as_fn_arith ARG...
  5064. # ------------------
  5065. # Perform arithmetic evaluation on the ARGs, and store the result in the
  5066. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  5067. # must be portable across $(()) and expr.
  5068. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  5069.   eval 'as_fn_arith ()
  5070.  {
  5071.    as_val=$(( $* ))
  5072.  }'
  5073. else
  5074.   as_fn_arith ()
  5075.   {
  5076.     as_val=`expr "$@" || test $? -eq 1`
  5077.   }
  5078. fi # as_fn_arith
  5079.  
  5080.  
  5081. if expr a : '\(a\)' >/dev/null 2>&1 &&
  5082.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  5083.   as_expr=expr
  5084. else
  5085.   as_expr=false
  5086. fi
  5087.  
  5088. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  5089.   as_basename=basename
  5090. else
  5091.   as_basename=false
  5092. fi
  5093.  
  5094. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  5095.   as_dirname=dirname
  5096. else
  5097.   as_dirname=false
  5098. fi
  5099.  
  5100. as_me=`$as_basename -- "$0" ||
  5101. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  5102.      X"$0" : 'X\(//\)$' \| \
  5103.      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  5104. $as_echo X/"$0" |
  5105.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  5106.         s//\1/
  5107.         q
  5108.       }
  5109.       /^X\/\(\/\/\)$/{
  5110.         s//\1/
  5111.         q
  5112.       }
  5113.       /^X\/\(\/\).*/{
  5114.         s//\1/
  5115.         q
  5116.       }
  5117.       s/.*/./; q'`
  5118.  
  5119. # Avoid depending upon Character Ranges.
  5120. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  5121. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  5122. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  5123. as_cr_digits='0123456789'
  5124. as_cr_alnum=$as_cr_Letters$as_cr_digits
  5125.  
  5126. ECHO_C= ECHO_N= ECHO_T=
  5127. case `echo -n x` in #(((((
  5128. -n*)
  5129.   case `echo 'xy\c'` in
  5130.   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  5131.   xy)  ECHO_C='\c';;
  5132.   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  5133.        ECHO_T=' ';;
  5134.   esac;;
  5135. *)
  5136.   ECHO_N='-n';;
  5137. esac
  5138.  
  5139. rm -f conf$$ conf$$.exe conf$$.file
  5140. if test -d conf$$.dir; then
  5141.   rm -f conf$$.dir/conf$$.file
  5142. else
  5143.   rm -f conf$$.dir
  5144.   mkdir conf$$.dir 2>/dev/null
  5145. fi
  5146. if (echo >conf$$.file) 2>/dev/null; then
  5147.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  5148.     as_ln_s='ln -s'
  5149.     # ... but there are two gotchas:
  5150.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  5151.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  5152.     # In both cases, we have to default to `cp -pR'.
  5153.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  5154.       as_ln_s='cp -pR'
  5155.   elif ln conf$$.file conf$$ 2>/dev/null; then
  5156.     as_ln_s=ln
  5157.   else
  5158.     as_ln_s='cp -pR'
  5159.   fi
  5160. else
  5161.   as_ln_s='cp -pR'
  5162. fi
  5163. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  5164. rmdir conf$$.dir 2>/dev/null
  5165.  
  5166.  
  5167. # as_fn_mkdir_p
  5168. # -------------
  5169. # Create "$as_dir" as a directory, including parents if necessary.
  5170. as_fn_mkdir_p ()
  5171. {
  5172.  
  5173.   case $as_dir in #(
  5174.   -*) as_dir=./$as_dir;;
  5175.   esac
  5176.   test -d "$as_dir" || eval $as_mkdir_p || {
  5177.     as_dirs=
  5178.     while :; do
  5179.       case $as_dir in #(
  5180.       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  5181.       *) as_qdir=$as_dir;;
  5182.       esac
  5183.       as_dirs="'$as_qdir' $as_dirs"
  5184.       as_dir=`$as_dirname -- "$as_dir" ||
  5185. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5186.      X"$as_dir" : 'X\(//\)[^/]' \| \
  5187.      X"$as_dir" : 'X\(//\)$' \| \
  5188.      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  5189. $as_echo X"$as_dir" |
  5190.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5191.         s//\1/
  5192.         q
  5193.       }
  5194.       /^X\(\/\/\)[^/].*/{
  5195.         s//\1/
  5196.         q
  5197.       }
  5198.       /^X\(\/\/\)$/{
  5199.         s//\1/
  5200.         q
  5201.       }
  5202.       /^X\(\/\).*/{
  5203.         s//\1/
  5204.         q
  5205.       }
  5206.       s/.*/./; q'`
  5207.       test -d "$as_dir" && break
  5208.     done
  5209.     test -z "$as_dirs" || eval "mkdir $as_dirs"
  5210.   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  5211.  
  5212.  
  5213. } # as_fn_mkdir_p
  5214. if mkdir -p . 2>/dev/null; then
  5215.   as_mkdir_p='mkdir -p "$as_dir"'
  5216. else
  5217.   test -d ./-p && rmdir ./-p
  5218.   as_mkdir_p=false
  5219. fi
  5220.  
  5221.  
  5222. # as_fn_executable_p FILE
  5223. # -----------------------
  5224. # Test if FILE is an executable regular file.
  5225. as_fn_executable_p ()
  5226. {
  5227.   test -f "$1" && test -x "$1"
  5228. } # as_fn_executable_p
  5229. as_test_x='test -x'
  5230. as_executable_p=as_fn_executable_p
  5231.  
  5232. # Sed expression to map a string onto a valid CPP name.
  5233. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  5234.  
  5235. # Sed expression to map a string onto a valid variable name.
  5236. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  5237.  
  5238.  
  5239. exec 6>&1
  5240. ## ----------------------------------- ##
  5241. ## Main body of $CONFIG_STATUS script. ##
  5242. ## ----------------------------------- ##
  5243. _ASEOF
  5244. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  5245.  
  5246. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5247. # Save the log message, to keep $0 and so on meaningful, and to
  5248. # report actual input values of CONFIG_FILES etc. instead of their
  5249. # values after options handling.
  5250. ac_log="
  5251. This file was extended by mfoc $as_me 0.10.7, which was
  5252. generated by GNU Autoconf 2.69.  Invocation command line was
  5253.  
  5254.  CONFIG_FILES    = $CONFIG_FILES
  5255.  CONFIG_HEADERS  = $CONFIG_HEADERS
  5256.  CONFIG_LINKS    = $CONFIG_LINKS
  5257.  CONFIG_COMMANDS = $CONFIG_COMMANDS
  5258.  $ $0 $@
  5259.  
  5260. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  5261. "
  5262.  
  5263. _ACEOF
  5264.  
  5265. case $ac_config_files in *"
  5266. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  5267. esac
  5268.  
  5269. case $ac_config_headers in *"
  5270. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  5271. esac
  5272.  
  5273.  
  5274. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5275. # Files that config.status was made for.
  5276. config_files="$ac_config_files"
  5277. config_headers="$ac_config_headers"
  5278. config_commands="$ac_config_commands"
  5279.  
  5280. _ACEOF
  5281.  
  5282. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5283. ac_cs_usage="\
  5284. \`$as_me' instantiates files and other configuration actions
  5285. from templates according to the current configuration.  Unless the files
  5286. and actions are specified as TAGs, all are instantiated by default.
  5287.  
  5288. Usage: $0 [OPTION]... [TAG]...
  5289.  
  5290.  -h, --help       print this help, then exit
  5291.  -V, --version    print version number and configuration settings, then exit
  5292.      --config     print configuration, then exit
  5293.  -q, --quiet, --silent
  5294.                   do not print progress messages
  5295.  -d, --debug      don't remove temporary files
  5296.      --recheck    update $as_me by reconfiguring in the same conditions
  5297.      --file=FILE[:TEMPLATE]
  5298.                   instantiate the configuration file FILE
  5299.      --header=FILE[:TEMPLATE]
  5300.                   instantiate the configuration header FILE
  5301.  
  5302. Configuration files:
  5303. $config_files
  5304.  
  5305. Configuration headers:
  5306. $config_headers
  5307.  
  5308. Configuration commands:
  5309. $config_commands
  5310.  
  5311. Report bugs to <[email protected]>."
  5312.  
  5313. _ACEOF
  5314. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5315. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  5316. ac_cs_version="\\
  5317. mfoc config.status 0.10.7
  5318. configured by $0, generated by GNU Autoconf 2.69,
  5319.  with options \\"\$ac_cs_config\\"
  5320.  
  5321. Copyright (C) 2012 Free Software Foundation, Inc.
  5322. This config.status script is free software; the Free Software Foundation
  5323. gives unlimited permission to copy, distribute and modify it."
  5324.  
  5325. ac_pwd='$ac_pwd'
  5326. srcdir='$srcdir'
  5327. INSTALL='$INSTALL'
  5328. MKDIR_P='$MKDIR_P'
  5329. AWK='$AWK'
  5330. test -n "\$AWK" || AWK=awk
  5331. _ACEOF
  5332.  
  5333. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5334. # The default lists apply if the user does not specify any file.
  5335. ac_need_defaults=:
  5336. while test $# != 0
  5337. do
  5338.  case $1 in
  5339.  --*=?*)
  5340.    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  5341.    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  5342.    ac_shift=:
  5343.    ;;
  5344.  --*=)
  5345.    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  5346.    ac_optarg=
  5347.    ac_shift=:
  5348.    ;;
  5349.  *)
  5350.    ac_option=$1
  5351.    ac_optarg=$2
  5352.    ac_shift=shift
  5353.    ;;
  5354.  esac
  5355.  
  5356.  case $ac_option in
  5357.  # Handling of the options.
  5358.  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  5359.    ac_cs_recheck=: ;;
  5360.  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  5361.    $as_echo "$ac_cs_version"; exit ;;
  5362.  --config | --confi | --conf | --con | --co | --c )
  5363.    $as_echo "$ac_cs_config"; exit ;;
  5364.  --debug | --debu | --deb | --de | --d | -d )
  5365.    debug=: ;;
  5366.  --file | --fil | --fi | --f )
  5367.    $ac_shift
  5368.    case $ac_optarg in
  5369.    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  5370.     '') as_fn_error $? "missing file argument" ;;
  5371.     esac
  5372.     as_fn_append CONFIG_FILES " '$ac_optarg'"
  5373.     ac_need_defaults=false;;
  5374.   --header | --heade | --head | --hea )
  5375.     $ac_shift
  5376.     case $ac_optarg in
  5377.     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  5378.     esac
  5379.     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  5380.     ac_need_defaults=false;;
  5381.   --he | --h)
  5382.     # Conflict between --help and --header
  5383.     as_fn_error $? "ambiguous option: \`$1'
  5384. Try \`$0 --help' for more information.";;
  5385.   --help | --hel | -h )
  5386.     $as_echo "$ac_cs_usage"; exit ;;
  5387.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  5388.   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  5389.     ac_cs_silent=: ;;
  5390.  
  5391.   # This is an error.
  5392.   -*) as_fn_error $? "unrecognized option: \`$1'
  5393. Try \`$0 --help' for more information." ;;
  5394.  
  5395.   *) as_fn_append ac_config_targets " $1"
  5396.      ac_need_defaults=false ;;
  5397.  
  5398.   esac
  5399.   shift
  5400. done
  5401.  
  5402. ac_configure_extra_args=
  5403.  
  5404. if $ac_cs_silent; then
  5405.   exec 6>/dev/null
  5406.   ac_configure_extra_args="$ac_configure_extra_args --silent"
  5407. fi
  5408.  
  5409. _ACEOF
  5410. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5411. if \$ac_cs_recheck; then
  5412.   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  5413.   shift
  5414.   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  5415.   CONFIG_SHELL='$SHELL'
  5416.   export CONFIG_SHELL
  5417.   exec "\$@"
  5418. fi
  5419.  
  5420. _ACEOF
  5421. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5422. exec 5>>config.log
  5423. {
  5424.   echo
  5425.   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  5426. ## Running $as_me. ##
  5427. _ASBOX
  5428.   $as_echo "$ac_log"
  5429. } >&5
  5430.  
  5431. _ACEOF
  5432. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5433. #
  5434. # INIT-COMMANDS
  5435. #
  5436. AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
  5437.  
  5438. _ACEOF
  5439.  
  5440. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5441.  
  5442. # Handling of arguments.
  5443. for ac_config_target in $ac_config_targets
  5444. do
  5445.   case $ac_config_target in
  5446.     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  5447.     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  5448.     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  5449.     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  5450.  
  5451.   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  5452.  esac
  5453. done
  5454.  
  5455.  
  5456. # If the user did not use the arguments to specify the items to instantiate,
  5457. # then the envvar interface is used.  Set only those that are not.
  5458. # We use the long form for the default assignment because of an extremely
  5459. # bizarre bug on SunOS 4.1.3.
  5460. if $ac_need_defaults; then
  5461.  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  5462.  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  5463.  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  5464. fi
  5465.  
  5466. # Have a temporary directory for convenience.  Make it in the build tree
  5467. # simply because there is no reason against having it here, and in addition,
  5468. # creating and moving files from /tmp can sometimes cause problems.
  5469. # Hook for its removal unless debugging.
  5470. # Note that there is a small window in which the directory will not be cleaned:
  5471. # after its creation but before its name has been assigned to `$tmp'.
  5472. $debug ||
  5473. {
  5474.  tmp= ac_tmp=
  5475.  trap 'exit_status=$?
  5476.  : "${ac_tmp:=$tmp}"
  5477.  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  5478. ' 0
  5479.  trap 'as_fn_exit 1' 1 2 13 15
  5480. }
  5481. # Create a (secure) tmp directory for tmp files.
  5482.  
  5483. {
  5484.  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  5485.  test -d "$tmp"
  5486. }  ||
  5487. {
  5488.  tmp=./conf$$-$RANDOM
  5489.  (umask 077 && mkdir "$tmp")
  5490. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  5491. ac_tmp=$tmp
  5492.  
  5493. # Set up the scripts for CONFIG_FILES section.
  5494. # No need to generate them if there are no CONFIG_FILES.
  5495. # This happens for instance with `./config.status config.h'.
  5496. if test -n "$CONFIG_FILES"; then
  5497.  
  5498.  
  5499. ac_cr=`echo X | tr X '\015'`
  5500. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  5501. # But we know of no other shell where ac_cr would be empty at this
  5502. # point, so we can use a bashism as a fallback.
  5503. if test "x$ac_cr" = x; then
  5504.  eval ac_cr=\$\'\\r\'
  5505. fi
  5506. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  5507. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  5508.  ac_cs_awk_cr='\\r'
  5509. else
  5510.  ac_cs_awk_cr=$ac_cr
  5511. fi
  5512.  
  5513. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  5514. _ACEOF
  5515.  
  5516.  
  5517. {
  5518.  echo "cat >conf$$subs.awk <<_ACEOF" &&
  5519.  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  5520.  echo "_ACEOF"
  5521. } >conf$$subs.sh ||
  5522.  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  5523. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  5524. ac_delim='%!_!# '
  5525. for ac_last_try in false false false false false :; do
  5526.  . ./conf$$subs.sh ||
  5527.    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  5528.  
  5529.  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  5530.  if test $ac_delim_n = $ac_delim_num; then
  5531.    break
  5532.  elif $ac_last_try; then
  5533.    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  5534.  else
  5535.    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  5536.  fi
  5537. done
  5538. rm -f conf$$subs.sh
  5539.  
  5540. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5541. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  5542. _ACEOF
  5543. sed -n '
  5544. h
  5545. s/^/S["/; s/!.*/"]=/
  5546. p
  5547. g
  5548. s/^[^!]*!//
  5549. :repl
  5550. t repl
  5551. s/'"$ac_delim"'$//
  5552. t delim
  5553. :nl
  5554. h
  5555. s/\(.\{148\}\)..*/\1/
  5556. t more1
  5557. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  5558. p
  5559. n
  5560. b repl
  5561. :more1
  5562. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  5563. p
  5564. g
  5565. s/.\{148\}//
  5566. t nl
  5567. :delim
  5568. h
  5569. s/\(.\{148\}\)..*/\1/
  5570. t more2
  5571. s/["\\]/\\&/g; s/^/"/; s/$/"/
  5572. p
  5573. b
  5574. :more2
  5575. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  5576. p
  5577. g
  5578. s/.\{148\}//
  5579. t delim
  5580. ' <conf$$subs.awk | sed '
  5581. /^[^""]/{
  5582.  N
  5583.  s/\n//
  5584. }
  5585. ' >>$CONFIG_STATUS || ac_write_fail=1
  5586. rm -f conf$$subs.awk
  5587. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5588. _ACAWK
  5589. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  5590.  for (key in S) S_is_set[key] = 1
  5591.  FS = ""
  5592.  
  5593. }
  5594. {
  5595.  line = $ 0
  5596.  nfields = split(line, field, "@")
  5597.  substed = 0
  5598.  len = length(field[1])
  5599.  for (i = 2; i < nfields; i++) {
  5600.    key = field[i]
  5601.    keylen = length(key)
  5602.    if (S_is_set[key]) {
  5603.      value = S[key]
  5604.      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  5605.      len += length(value) + length(field[++i])
  5606.      substed = 1
  5607.    } else
  5608.      len += 1 + keylen
  5609.  }
  5610.  
  5611.  print line
  5612. }
  5613.  
  5614. _ACAWK
  5615. _ACEOF
  5616. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5617. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  5618.  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  5619. else
  5620.  cat
  5621. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  5622.  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  5623. _ACEOF
  5624.  
  5625. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  5626. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  5627. # trailing colons and then remove the whole line if VPATH becomes empty
  5628. # (actually we leave an empty line to preserve line numbers).
  5629. if test "x$srcdir" = x.; then
  5630.   ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
  5631. h
  5632. s///
  5633. s/^/:/
  5634. s/[  ]*$/:/
  5635. s/:\$(srcdir):/:/g
  5636. s/:\${srcdir}:/:/g
  5637. s/:@srcdir@:/:/g
  5638. s/^:*//
  5639. s/:*$//
  5640. x
  5641. s/\(=[   ]*\).*/\1/
  5642. G
  5643. s/\n//
  5644. s/^[^=]*=[   ]*$//
  5645. }'
  5646. fi
  5647.  
  5648. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5649. fi # test -n "$CONFIG_FILES"
  5650.  
  5651. # Set up the scripts for CONFIG_HEADERS section.
  5652. # No need to generate them if there are no CONFIG_HEADERS.
  5653. # This happens for instance with `./config.status Makefile'.
  5654. if test -n "$CONFIG_HEADERS"; then
  5655. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  5656. BEGIN {
  5657. _ACEOF
  5658.  
  5659. # Transform confdefs.h into an awk script `defines.awk', embedded as
  5660. # here-document in config.status, that substitutes the proper values into
  5661. # config.h.in to produce config.h.
  5662.  
  5663. # Create a delimiter string that does not exist in confdefs.h, to ease
  5664. # handling of long lines.
  5665. ac_delim='%!_!# '
  5666. for ac_last_try in false false :; do
  5667.  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  5668.  if test -z "$ac_tt"; then
  5669.    break
  5670.  elif $ac_last_try; then
  5671.    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  5672.  else
  5673.    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  5674.  fi
  5675. done
  5676.  
  5677. # For the awk script, D is an array of macro values keyed by name,
  5678. # likewise P contains macro parameters if any.  Preserve backslash
  5679. # newline sequences.
  5680.  
  5681. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  5682. sed -n '
  5683. s/.\{148\}/&'"$ac_delim"'/g
  5684. t rset
  5685. :rset
  5686. s/^[     ]*#[    ]*define[   ][  ]*/ /
  5687. t def
  5688. d
  5689. :def
  5690. s/\\$//
  5691. t bsnl
  5692. s/["\\]/\\&/g
  5693. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
  5694. D["\1"]=" \3"/p
  5695. s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
  5696. d
  5697. :bsnl
  5698. s/["\\]/\\&/g
  5699. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
  5700. D["\1"]=" \3\\\\\\n"\\/p
  5701. t cont
  5702. s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  5703. t cont
  5704. d
  5705. :cont
  5706. n
  5707. s/.\{148\}/&'"$ac_delim"'/g
  5708. t clear
  5709. :clear
  5710. s/\\$//
  5711. t bsnlc
  5712. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  5713. d
  5714. :bsnlc
  5715. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  5716. b cont
  5717. ' <confdefs.h | sed '
  5718. s/'"$ac_delim"'/"\\\
  5719. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  5720.  
  5721. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5722.  for (key in D) D_is_set[key] = 1
  5723.  FS = ""
  5724. }
  5725. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  5726.  line = \$ 0
  5727.  split(line, arg, " ")
  5728.  if (arg[1] == "#") {
  5729.    defundef = arg[2]
  5730.    mac1 = arg[3]
  5731.  } else {
  5732.    defundef = substr(arg[1], 2)
  5733.    mac1 = arg[2]
  5734.  }
  5735.  split(mac1, mac2, "(") #)
  5736.  macro = mac2[1]
  5737.  prefix = substr(line, 1, index(line, defundef) - 1)
  5738.  if (D_is_set[macro]) {
  5739.    # Preserve the white space surrounding the "#".
  5740.    print prefix "define", macro P[macro] D[macro]
  5741.    next
  5742.  } else {
  5743.    # Replace #undef with comments.  This is necessary, for example,
  5744.    # in the case of _POSIX_SOURCE, which is predefined and required
  5745.    # on some systems where configure will not decide to define it.
  5746.    if (defundef == "undef") {
  5747.      print "/*", prefix defundef, macro, "*/"
  5748.      next
  5749.    }
  5750.  }
  5751. }
  5752. { print }
  5753. _ACAWK
  5754. _ACEOF
  5755. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5756.  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  5757. fi # test -n "$CONFIG_HEADERS"
  5758.  
  5759.  
  5760. eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
  5761. shift
  5762. for ac_tag
  5763. do
  5764.  case $ac_tag in
  5765.  :[FHLC]) ac_mode=$ac_tag; continue;;
  5766.  esac
  5767.  case $ac_mode$ac_tag in
  5768.  :[FHL]*:*);;
  5769.  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  5770.   :[FH]-) ac_tag=-:-;;
  5771.   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  5772.   esac
  5773.   ac_save_IFS=$IFS
  5774.   IFS=:
  5775.   set x $ac_tag
  5776.   IFS=$ac_save_IFS
  5777.   shift
  5778.   ac_file=$1
  5779.   shift
  5780.  
  5781.   case $ac_mode in
  5782.   :L) ac_source=$1;;
  5783.   :[FH])
  5784.     ac_file_inputs=
  5785.     for ac_f
  5786.     do
  5787.       case $ac_f in
  5788.       -) ac_f="$ac_tmp/stdin";;
  5789.       *) # Look for the file first in the build tree, then in the source tree
  5790.      # (if the path is not absolute).  The absolute path cannot be DOS-style,
  5791.      # because $ac_f cannot contain `:'.
  5792.      test -f "$ac_f" ||
  5793.        case $ac_f in
  5794.        [\\/$]*) false;;
  5795.        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  5796.        esac ||
  5797.        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  5798.      esac
  5799.      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  5800.      as_fn_append ac_file_inputs " '$ac_f'"
  5801.    done
  5802.  
  5803.    # Let's still pretend it is `configure' which instantiates (i.e., don't
  5804.     # use $as_me), people would be surprised to read:
  5805.     #    /* config.h.  Generated by config.status.  */
  5806.     configure_input='Generated from '`
  5807.       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  5808.     `' by configure.'
  5809.     if test x"$ac_file" != x-; then
  5810.       configure_input="$ac_file.  $configure_input"
  5811.       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  5812. $as_echo "$as_me: creating $ac_file" >&6;}
  5813.     fi
  5814.     # Neutralize special characters interpreted by sed in replacement strings.
  5815.     case $configure_input in #(
  5816.     *\&* | *\|* | *\\* )
  5817.        ac_sed_conf_input=`$as_echo "$configure_input" |
  5818.        sed 's/[\\\\&|]/\\\\&/g'`;; #(
  5819.     *) ac_sed_conf_input=$configure_input;;
  5820.     esac
  5821.  
  5822.     case $ac_tag in
  5823.     *:-:* | *:-) cat >"$ac_tmp/stdin" \
  5824.       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  5825.     esac
  5826.     ;;
  5827.   esac
  5828.  
  5829.   ac_dir=`$as_dirname -- "$ac_file" ||
  5830. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5831.      X"$ac_file" : 'X\(//\)[^/]' \| \
  5832.      X"$ac_file" : 'X\(//\)$' \| \
  5833.      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  5834. $as_echo X"$ac_file" |
  5835.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5836.         s//\1/
  5837.         q
  5838.       }
  5839.       /^X\(\/\/\)[^/].*/{
  5840.         s//\1/
  5841.         q
  5842.       }
  5843.       /^X\(\/\/\)$/{
  5844.         s//\1/
  5845.         q
  5846.       }
  5847.       /^X\(\/\).*/{
  5848.         s//\1/
  5849.         q
  5850.       }
  5851.       s/.*/./; q'`
  5852.   as_dir="$ac_dir"; as_fn_mkdir_p
  5853.   ac_builddir=.
  5854.  
  5855. case "$ac_dir" in
  5856. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  5857. *)
  5858.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  5859.   # A ".." for each directory in $ac_dir_suffix.
  5860.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  5861.   case $ac_top_builddir_sub in
  5862.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  5863.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  5864.   esac ;;
  5865. esac
  5866. ac_abs_top_builddir=$ac_pwd
  5867. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  5868. # for backward compatibility:
  5869. ac_top_builddir=$ac_top_build_prefix
  5870.  
  5871. case $srcdir in
  5872.   .)  # We are building in place.
  5873.     ac_srcdir=.
  5874.     ac_top_srcdir=$ac_top_builddir_sub
  5875.     ac_abs_top_srcdir=$ac_pwd ;;
  5876.   [\\/]* | ?:[\\/]* )  # Absolute name.
  5877.     ac_srcdir=$srcdir$ac_dir_suffix;
  5878.     ac_top_srcdir=$srcdir
  5879.     ac_abs_top_srcdir=$srcdir ;;
  5880.   *) # Relative name.
  5881.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  5882.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  5883.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  5884. esac
  5885. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  5886.  
  5887.  
  5888.   case $ac_mode in
  5889.   :F)
  5890.   #
  5891.   # CONFIG_FILE
  5892.   #
  5893.  
  5894.   case $INSTALL in
  5895.   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  5896.   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  5897.   esac
  5898.   ac_MKDIR_P=$MKDIR_P
  5899.   case $MKDIR_P in
  5900.   [\\/$]* | ?:[\\/]* ) ;;
  5901.   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  5902.   esac
  5903. _ACEOF
  5904.  
  5905. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5906. # If the template does not know about datarootdir, expand it.
  5907. # FIXME: This hack should be removed a few years after 2.60.
  5908. ac_datarootdir_hack=; ac_datarootdir_seen=
  5909. ac_sed_dataroot='
  5910. /datarootdir/ {
  5911.  p
  5912.  q
  5913. }
  5914. /@datadir@/p
  5915. /@docdir@/p
  5916. /@infodir@/p
  5917. /@localedir@/p
  5918. /@mandir@/p'
  5919. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  5920. *datarootdir*) ac_datarootdir_seen=yes;;
  5921. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  5922.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  5923. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  5924. _ACEOF
  5925. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5926.   ac_datarootdir_hack='
  5927.  s&@datadir@&$datadir&g
  5928.  s&@docdir@&$docdir&g
  5929.  s&@infodir@&$infodir&g
  5930.  s&@localedir@&$localedir&g
  5931.  s&@mandir@&$mandir&g
  5932.  s&\\\${datarootdir}&$datarootdir&g' ;;
  5933. esac
  5934. _ACEOF
  5935.  
  5936. # Neutralize VPATH when `$srcdir' = `.'.
  5937. # Shell code in configure.ac might set extrasub.
  5938. # FIXME: do we really want to maintain this feature?
  5939. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5940. ac_sed_extra="$ac_vpsub
  5941. $extrasub
  5942. _ACEOF
  5943. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5944. :t
  5945. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  5946. s|@configure_input@|$ac_sed_conf_input|;t t
  5947. s&@top_builddir@&$ac_top_builddir_sub&;t t
  5948. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  5949. s&@srcdir@&$ac_srcdir&;t t
  5950. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  5951. s&@top_srcdir@&$ac_top_srcdir&;t t
  5952. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  5953. s&@builddir@&$ac_builddir&;t t
  5954. s&@abs_builddir@&$ac_abs_builddir&;t t
  5955. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  5956. s&@INSTALL@&$ac_INSTALL&;t t
  5957. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  5958. $ac_datarootdir_hack
  5959. "
  5960. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  5961.   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  5962.  
  5963. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  5964.   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  5965.   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
  5966.       "$ac_tmp/out"`; test -z "$ac_out"; } &&
  5967.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  5968. which seems to be undefined.  Please make sure it is defined" >&5
  5969. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  5970. which seems to be undefined.  Please make sure it is defined" >&2;}
  5971.  
  5972.   rm -f "$ac_tmp/stdin"
  5973.   case $ac_file in
  5974.   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  5975.   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  5976.   esac \
  5977.   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  5978.  ;;
  5979.   :H)
  5980.   #
  5981.   # CONFIG_HEADER
  5982.   #
  5983.   if test x"$ac_file" != x-; then
  5984.     {
  5985.       $as_echo "/* $configure_input  */" \
  5986.       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  5987.     } >"$ac_tmp/config.h" \
  5988.       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  5989.     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  5990.       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  5991. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  5992.     else
  5993.       rm -f "$ac_file"
  5994.       mv "$ac_tmp/config.h" "$ac_file" \
  5995.     || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  5996.     fi
  5997.   else
  5998.     $as_echo "/* $configure_input  */" \
  5999.       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  6000.       || as_fn_error $? "could not create -" "$LINENO" 5
  6001.   fi
  6002. # Compute "$ac_file"'s index in $config_headers.
  6003. _am_arg="$ac_file"
  6004. _am_stamp_count=1
  6005. for _am_header in $config_headers :; do
  6006.   case $_am_header in
  6007.     $_am_arg | $_am_arg:* )
  6008.       break ;;
  6009.     * )
  6010.       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  6011.   esac
  6012. done
  6013. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  6014. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  6015.      X"$_am_arg" : 'X\(//\)[^/]' \| \
  6016.      X"$_am_arg" : 'X\(//\)$' \| \
  6017.      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  6018. $as_echo X"$_am_arg" |
  6019.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  6020.         s//\1/
  6021.         q
  6022.       }
  6023.       /^X\(\/\/\)[^/].*/{
  6024.         s//\1/
  6025.         q
  6026.       }
  6027.       /^X\(\/\/\)$/{
  6028.         s//\1/
  6029.         q
  6030.       }
  6031.       /^X\(\/\).*/{
  6032.         s//\1/
  6033.         q
  6034.       }
  6035.       s/.*/./; q'`/stamp-h$_am_stamp_count
  6036.  ;;
  6037.  
  6038.   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  6039. $as_echo "$as_me: executing $ac_file commands" >&6;}
  6040.  ;;
  6041.   esac
  6042.  
  6043.  
  6044.   case $ac_file$ac_mode in
  6045.     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  6046.   # Older Autoconf quotes --file arguments for eval, but not when files
  6047.   # are listed without --file.  Let's play safe and only enable the eval
  6048.   # if we detect the quoting.
  6049.   # TODO: see whether this extra hack can be removed once we start
  6050.   # requiring Autoconf 2.70 or later.
  6051.   case $CONFIG_FILES in #(
  6052.   *\'*) :
  6053.     eval set x "$CONFIG_FILES" ;; #(
  6054.   *) :
  6055.     set x $CONFIG_FILES ;; #(
  6056.   *) :
  6057.      ;;
  6058. esac
  6059.   shift
  6060.   # Used to flag and report bootstrapping failures.
  6061.   am_rc=0
  6062.   for am_mf
  6063.   do
  6064.     # Strip MF so we end up with the name of the file.
  6065.     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
  6066.     # Check whether this is an Automake generated Makefile which includes
  6067.     # dependency-tracking related rules and includes.
  6068.     # Grep'ing the whole file directly is not great: AIX grep has a line
  6069.     # limit of 2048, but all sed's we know have understand at least 4000.
  6070.     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  6071.       || continue
  6072.     am_dirpart=`$as_dirname -- "$am_mf" ||
  6073. $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  6074.      X"$am_mf" : 'X\(//\)[^/]' \| \
  6075.      X"$am_mf" : 'X\(//\)$' \| \
  6076.      X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  6077. $as_echo X"$am_mf" |
  6078.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  6079.         s//\1/
  6080.         q
  6081.       }
  6082.       /^X\(\/\/\)[^/].*/{
  6083.         s//\1/
  6084.         q
  6085.       }
  6086.       /^X\(\/\/\)$/{
  6087.         s//\1/
  6088.         q
  6089.       }
  6090.       /^X\(\/\).*/{
  6091.         s//\1/
  6092.         q
  6093.       }
  6094.       s/.*/./; q'`
  6095.     am_filepart=`$as_basename -- "$am_mf" ||
  6096. $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  6097.      X"$am_mf" : 'X\(//\)$' \| \
  6098.      X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  6099. $as_echo X/"$am_mf" |
  6100.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  6101.         s//\1/
  6102.         q
  6103.       }
  6104.       /^X\/\(\/\/\)$/{
  6105.         s//\1/
  6106.         q
  6107.       }
  6108.       /^X\/\(\/\).*/{
  6109.         s//\1/
  6110.         q
  6111.       }
  6112.       s/.*/./; q'`
  6113.     { echo "$as_me:$LINENO: cd "$am_dirpart" \
  6114.      && sed -e '/# am--include-marker/d' "$am_filepart" \
  6115.        | $MAKE -f - am--depfiles" >&5
  6116.    (cd "$am_dirpart" \
  6117.       && sed -e '/# am--include-marker/d' "$am_filepart" \
  6118.         | $MAKE -f - am--depfiles) >&5 2>&5
  6119.    ac_status=$?
  6120.    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6121.    (exit $ac_status); } || am_rc=$?
  6122.   done
  6123.   if test $am_rc -ne 0; then
  6124.     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6125. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6126. as_fn_error $? "Something went wrong bootstrapping makefile fragments
  6127.    for automatic dependency tracking.  Try re-running configure with the
  6128.    '--disable-dependency-tracking' option to at least be able to build
  6129.    the package (albeit without support for automatic dependency tracking).
  6130. See \`config.log' for more details" "$LINENO" 5; }
  6131.   fi
  6132.   { am_dirpart=; unset am_dirpart;}
  6133.   { am_filepart=; unset am_filepart;}
  6134.   { am_mf=; unset am_mf;}
  6135.   { am_rc=; unset am_rc;}
  6136.   rm -f conftest-deps.mk
  6137. }
  6138.  ;;
  6139.  
  6140.   esac
  6141. done # for ac_tag
  6142.  
  6143.  
  6144. as_fn_exit 0
  6145. _ACEOF
  6146. ac_clean_files=$ac_clean_files_save
  6147.  
  6148. test $ac_write_fail = 0 ||
  6149.   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  6150.  
  6151.  
  6152. # configure is writing to config.log, and then calls config.status.
  6153. # config.status does its own redirection, appending to config.log.
  6154. # Unfortunately, on DOS this fails, as config.log is still kept open
  6155. # by configure, so config.status won't be able to write to it; its
  6156. # output is simply discarded.  So we exec the FD to /dev/null,
  6157. # effectively closing config.log, so it can be properly (re)opened and
  6158. # appended to by config.status.  When coming back to configure, we
  6159. # need to make the FD available again.
  6160. if test "$no_create" != yes; then
  6161.   ac_cs_success=:
  6162.   ac_config_status_args=
  6163.   test "$silent" = yes &&
  6164.     ac_config_status_args="$ac_config_status_args --quiet"
  6165.   exec 5>/dev/null
  6166.   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  6167.   exec 5>>config.log
  6168.   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  6169.   # would make configure fail if this is the last instruction.
  6170.   $ac_cs_success || as_fn_exit 1
  6171. fi
  6172. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  6173.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  6174. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  6175. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement