Nife version Beta
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

6410 lines
182 KiB

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