Guest User

Untitled

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