PageRenderTime 121ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 1ms

/contrib/ntp/arlib/configure

https://bitbucket.org/freebsd/freebsd-head/
Shell | 5008 lines | 4234 code | 356 blank | 418 comment | 436 complexity | e48d34c904fac2d4c631f8ac664d5a45 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, BSD-3-Clause, LGPL-2.0, LGPL-2.1, BSD-2-Clause, 0BSD, JSON, AGPL-1.0, GPL-2.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. # Be more Bourne compatible
  17. DUALCASE=1; export DUALCASE # for MKS sh
  18. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  19. emulate sh
  20. NULLCMD=:
  21. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  22. # is contrary to our usage. Disable this feature.
  23. alias -g '${1+"$@"}'='"$@"'
  24. setopt NO_GLOB_SUBST
  25. else
  26. case `(set -o) 2>/dev/null` in #(
  27. *posix*) :
  28. set -o posix ;; #(
  29. *) :
  30. ;;
  31. esac
  32. fi
  33. as_nl='
  34. '
  35. export as_nl
  36. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  37. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  38. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  39. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  40. # Prefer a ksh shell builtin over an external printf program on Solaris,
  41. # but without wasting forks for bash or zsh.
  42. if test -z "$BASH_VERSION$ZSH_VERSION" \
  43. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  44. as_echo='print -r --'
  45. as_echo_n='print -rn --'
  46. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  47. as_echo='printf %s\n'
  48. as_echo_n='printf %s'
  49. else
  50. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  51. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  52. as_echo_n='/usr/ucb/echo -n'
  53. else
  54. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  55. as_echo_n_body='eval
  56. arg=$1;
  57. case $arg in #(
  58. *"$as_nl"*)
  59. expr "X$arg" : "X\\(.*\\)$as_nl";
  60. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  61. esac;
  62. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  63. '
  64. export as_echo_n_body
  65. as_echo_n='sh -c $as_echo_n_body as_echo'
  66. fi
  67. export as_echo_body
  68. as_echo='sh -c $as_echo_body as_echo'
  69. fi
  70. # The user is always right.
  71. if test "${PATH_SEPARATOR+set}" != set; then
  72. PATH_SEPARATOR=:
  73. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  74. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  75. PATH_SEPARATOR=';'
  76. }
  77. fi
  78. # IFS
  79. # We need space, tab and new line, in precisely that order. Quoting is
  80. # there to prevent editors from complaining about space-tab.
  81. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  82. # splitting by setting IFS to empty value.)
  83. IFS=" "" $as_nl"
  84. # Find who we are. Look in the path if we contain no directory separator.
  85. case $0 in #((
  86. *[\\/]* ) as_myself=$0 ;;
  87. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  88. for as_dir in $PATH
  89. do
  90. IFS=$as_save_IFS
  91. test -z "$as_dir" && as_dir=.
  92. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  93. done
  94. IFS=$as_save_IFS
  95. ;;
  96. esac
  97. # We did not find ourselves, most probably we were run as `sh COMMAND'
  98. # in which case we are not to be found in the path.
  99. if test "x$as_myself" = x; then
  100. as_myself=$0
  101. fi
  102. if test ! -f "$as_myself"; then
  103. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  104. exit 1
  105. fi
  106. # Unset variables that we do not need and which cause bugs (e.g. in
  107. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  108. # suppresses any "Segmentation fault" message there. '((' could
  109. # trigger a bug in pdksh 5.2.14.
  110. for as_var in BASH_ENV ENV MAIL MAILPATH
  111. do eval test x\${$as_var+set} = xset \
  112. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  113. done
  114. PS1='$ '
  115. PS2='> '
  116. PS4='+ '
  117. # NLS nuisances.
  118. LC_ALL=C
  119. export LC_ALL
  120. LANGUAGE=C
  121. export LANGUAGE
  122. # CDPATH.
  123. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  124. if test "x$CONFIG_SHELL" = x; then
  125. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  126. emulate sh
  127. NULLCMD=:
  128. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  129. # is contrary to our usage. Disable this feature.
  130. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  131. setopt NO_GLOB_SUBST
  132. else
  133. case \`(set -o) 2>/dev/null\` in #(
  134. *posix*) :
  135. set -o posix ;; #(
  136. *) :
  137. ;;
  138. esac
  139. fi
  140. "
  141. as_required="as_fn_return () { (exit \$1); }
  142. as_fn_success () { as_fn_return 0; }
  143. as_fn_failure () { as_fn_return 1; }
  144. as_fn_ret_success () { return 0; }
  145. as_fn_ret_failure () { return 1; }
  146. exitcode=0
  147. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  148. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  149. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  150. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  151. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  152. else
  153. exitcode=1; echo positional parameters were not saved.
  154. fi
  155. test x\$exitcode = x0 || exit 1"
  156. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  157. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  158. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  159. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
  160. if (eval "$as_required") 2>/dev/null; then :
  161. as_have_required=yes
  162. else
  163. as_have_required=no
  164. fi
  165. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  166. else
  167. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  168. as_found=false
  169. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  170. do
  171. IFS=$as_save_IFS
  172. test -z "$as_dir" && as_dir=.
  173. as_found=:
  174. case $as_dir in #(
  175. /*)
  176. for as_base in sh bash ksh sh5; do
  177. # Try only shells that exist, to save several forks.
  178. as_shell=$as_dir/$as_base
  179. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  180. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  181. CONFIG_SHELL=$as_shell as_have_required=yes
  182. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  183. break 2
  184. fi
  185. fi
  186. done;;
  187. esac
  188. as_found=false
  189. done
  190. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  191. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  192. CONFIG_SHELL=$SHELL as_have_required=yes
  193. fi; }
  194. IFS=$as_save_IFS
  195. if test "x$CONFIG_SHELL" != x; then :
  196. # We cannot yet assume a decent shell, so we have to provide a
  197. # neutralization value for shells without unset; and this also
  198. # works around shells that cannot unset nonexistent variables.
  199. BASH_ENV=/dev/null
  200. ENV=/dev/null
  201. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  202. export CONFIG_SHELL
  203. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  204. fi
  205. if test x$as_have_required = xno; then :
  206. $as_echo "$0: This script requires a shell more modern than all"
  207. $as_echo "$0: the shells that I found on your system."
  208. if test x${ZSH_VERSION+set} = xset ; then
  209. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  210. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  211. else
  212. $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  213. $0: including any error possibly output before this
  214. $0: message. Then install a modern shell, or manually run
  215. $0: the script under such a shell if you do have one."
  216. fi
  217. exit 1
  218. fi
  219. fi
  220. fi
  221. SHELL=${CONFIG_SHELL-/bin/sh}
  222. export SHELL
  223. # Unset more variables known to interfere with behavior of common tools.
  224. CLICOLOR_FORCE= GREP_OPTIONS=
  225. unset CLICOLOR_FORCE GREP_OPTIONS
  226. ## --------------------- ##
  227. ## M4sh Shell Functions. ##
  228. ## --------------------- ##
  229. # as_fn_unset VAR
  230. # ---------------
  231. # Portably unset VAR.
  232. as_fn_unset ()
  233. {
  234. { eval $1=; unset $1;}
  235. }
  236. as_unset=as_fn_unset
  237. # as_fn_set_status STATUS
  238. # -----------------------
  239. # Set $? to STATUS, without forking.
  240. as_fn_set_status ()
  241. {
  242. return $1
  243. } # as_fn_set_status
  244. # as_fn_exit STATUS
  245. # -----------------
  246. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  247. as_fn_exit ()
  248. {
  249. set +e
  250. as_fn_set_status $1
  251. exit $1
  252. } # as_fn_exit
  253. # as_fn_mkdir_p
  254. # -------------
  255. # Create "$as_dir" as a directory, including parents if necessary.
  256. as_fn_mkdir_p ()
  257. {
  258. case $as_dir in #(
  259. -*) as_dir=./$as_dir;;
  260. esac
  261. test -d "$as_dir" || eval $as_mkdir_p || {
  262. as_dirs=
  263. while :; do
  264. case $as_dir in #(
  265. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  266. *) as_qdir=$as_dir;;
  267. esac
  268. as_dirs="'$as_qdir' $as_dirs"
  269. as_dir=`$as_dirname -- "$as_dir" ||
  270. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  271. X"$as_dir" : 'X\(//\)[^/]' \| \
  272. X"$as_dir" : 'X\(//\)$' \| \
  273. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  274. $as_echo X"$as_dir" |
  275. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  276. s//\1/
  277. q
  278. }
  279. /^X\(\/\/\)[^/].*/{
  280. s//\1/
  281. q
  282. }
  283. /^X\(\/\/\)$/{
  284. s//\1/
  285. q
  286. }
  287. /^X\(\/\).*/{
  288. s//\1/
  289. q
  290. }
  291. s/.*/./; q'`
  292. test -d "$as_dir" && break
  293. done
  294. test -z "$as_dirs" || eval "mkdir $as_dirs"
  295. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  296. } # as_fn_mkdir_p
  297. # as_fn_append VAR VALUE
  298. # ----------------------
  299. # Append the text in VALUE to the end of the definition contained in VAR. Take
  300. # advantage of any shell optimizations that allow amortized linear growth over
  301. # repeated appends, instead of the typical quadratic growth present in naive
  302. # implementations.
  303. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  304. eval 'as_fn_append ()
  305. {
  306. eval $1+=\$2
  307. }'
  308. else
  309. as_fn_append ()
  310. {
  311. eval $1=\$$1\$2
  312. }
  313. fi # as_fn_append
  314. # as_fn_arith ARG...
  315. # ------------------
  316. # Perform arithmetic evaluation on the ARGs, and store the result in the
  317. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  318. # must be portable across $(()) and expr.
  319. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  320. eval 'as_fn_arith ()
  321. {
  322. as_val=$(( $* ))
  323. }'
  324. else
  325. as_fn_arith ()
  326. {
  327. as_val=`expr "$@" || test $? -eq 1`
  328. }
  329. fi # as_fn_arith
  330. # as_fn_error ERROR [LINENO LOG_FD]
  331. # ---------------------------------
  332. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  333. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  334. # script with status $?, using 1 if that was 0.
  335. as_fn_error ()
  336. {
  337. as_status=$?; test $as_status -eq 0 && as_status=1
  338. if test "$3"; then
  339. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  340. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  341. fi
  342. $as_echo "$as_me: error: $1" >&2
  343. as_fn_exit $as_status
  344. } # as_fn_error
  345. if expr a : '\(a\)' >/dev/null 2>&1 &&
  346. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  347. as_expr=expr
  348. else
  349. as_expr=false
  350. fi
  351. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  352. as_basename=basename
  353. else
  354. as_basename=false
  355. fi
  356. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  357. as_dirname=dirname
  358. else
  359. as_dirname=false
  360. fi
  361. as_me=`$as_basename -- "$0" ||
  362. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  363. X"$0" : 'X\(//\)$' \| \
  364. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  365. $as_echo X/"$0" |
  366. sed '/^.*\/\([^/][^/]*\)\/*$/{
  367. s//\1/
  368. q
  369. }
  370. /^X\/\(\/\/\)$/{
  371. s//\1/
  372. q
  373. }
  374. /^X\/\(\/\).*/{
  375. s//\1/
  376. q
  377. }
  378. s/.*/./; q'`
  379. # Avoid depending upon Character Ranges.
  380. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  381. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  382. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  383. as_cr_digits='0123456789'
  384. as_cr_alnum=$as_cr_Letters$as_cr_digits
  385. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  386. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  387. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  388. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  389. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  390. sed -n '
  391. p
  392. /[$]LINENO/=
  393. ' <$as_myself |
  394. sed '
  395. s/[$]LINENO.*/&-/
  396. t lineno
  397. b
  398. :lineno
  399. N
  400. :loop
  401. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  402. t loop
  403. s/-\n.*//
  404. ' >$as_me.lineno &&
  405. chmod +x "$as_me.lineno" ||
  406. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  407. # Don't try to exec as it changes $[0], causing all sort of problems
  408. # (the dirname of $[0] is not the place where we might find the
  409. # original and so on. Autoconf is especially sensitive to this).
  410. . "./$as_me.lineno"
  411. # Exit status is that of the last command.
  412. exit
  413. }
  414. ECHO_C= ECHO_N= ECHO_T=
  415. case `echo -n x` in #(((((
  416. -n*)
  417. case `echo 'xy\c'` in
  418. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  419. xy) ECHO_C='\c';;
  420. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  421. ECHO_T=' ';;
  422. esac;;
  423. *)
  424. ECHO_N='-n';;
  425. esac
  426. rm -f conf$$ conf$$.exe conf$$.file
  427. if test -d conf$$.dir; then
  428. rm -f conf$$.dir/conf$$.file
  429. else
  430. rm -f conf$$.dir
  431. mkdir conf$$.dir 2>/dev/null
  432. fi
  433. if (echo >conf$$.file) 2>/dev/null; then
  434. if ln -s conf$$.file conf$$ 2>/dev/null; then
  435. as_ln_s='ln -s'
  436. # ... but there are two gotchas:
  437. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  438. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  439. # In both cases, we have to default to `cp -p'.
  440. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  441. as_ln_s='cp -p'
  442. elif ln conf$$.file conf$$ 2>/dev/null; then
  443. as_ln_s=ln
  444. else
  445. as_ln_s='cp -p'
  446. fi
  447. else
  448. as_ln_s='cp -p'
  449. fi
  450. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  451. rmdir conf$$.dir 2>/dev/null
  452. if mkdir -p . 2>/dev/null; then
  453. as_mkdir_p='mkdir -p "$as_dir"'
  454. else
  455. test -d ./-p && rmdir ./-p
  456. as_mkdir_p=false
  457. fi
  458. if test -x / >/dev/null 2>&1; then
  459. as_test_x='test -x'
  460. else
  461. if ls -dL / >/dev/null 2>&1; then
  462. as_ls_L_option=L
  463. else
  464. as_ls_L_option=
  465. fi
  466. as_test_x='
  467. eval sh -c '\''
  468. if test -d "$1"; then
  469. test -d "$1/.";
  470. else
  471. case $1 in #(
  472. -*)set "./$1";;
  473. esac;
  474. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  475. ???[sx]*):;;*)false;;esac;fi
  476. '\'' sh
  477. '
  478. fi
  479. as_executable_p=$as_test_x
  480. # Sed expression to map a string onto a valid CPP name.
  481. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  482. # Sed expression to map a string onto a valid variable name.
  483. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  484. test -n "$DJDIR" || exec 7<&0 </dev/null
  485. exec 6>&1
  486. # Name of the host.
  487. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  488. # so uname gets run too.
  489. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  490. #
  491. # Initializations.
  492. #
  493. ac_default_prefix=/usr/local
  494. ac_clean_files=
  495. ac_config_libobj_dir=.
  496. LIBOBJS=
  497. cross_compiling=no
  498. subdirs=
  499. MFLAGS=
  500. MAKEFLAGS=
  501. # Identity of this package.
  502. PACKAGE_NAME=
  503. PACKAGE_TARNAME=
  504. PACKAGE_VERSION=
  505. PACKAGE_STRING=
  506. PACKAGE_BUGREPORT=
  507. PACKAGE_URL=
  508. ac_unique_file="arlib.c"
  509. ac_subst_vars='am__EXEEXT_FALSE
  510. am__EXEEXT_TRUE
  511. LTLIBOBJS
  512. LIBOBJS
  513. RANLIB
  514. am__fastdepCC_FALSE
  515. am__fastdepCC_TRUE
  516. CCDEPMODE
  517. AMDEPBACKSLASH
  518. AMDEP_FALSE
  519. AMDEP_TRUE
  520. am__quote
  521. am__include
  522. DEPDIR
  523. OBJEXT
  524. EXEEXT
  525. ac_ct_CC
  526. CPPFLAGS
  527. LDFLAGS
  528. CFLAGS
  529. CC
  530. am__untar
  531. am__tar
  532. AMTAR
  533. am__leading_dot
  534. SET_MAKE
  535. AWK
  536. mkdir_p
  537. MKDIR_P
  538. INSTALL_STRIP_PROGRAM
  539. STRIP
  540. install_sh
  541. MAKEINFO
  542. AUTOHEADER
  543. AUTOMAKE
  544. AUTOCONF
  545. ACLOCAL
  546. VERSION
  547. PACKAGE
  548. CYGPATH_W
  549. am__isrc
  550. INSTALL_DATA
  551. INSTALL_SCRIPT
  552. INSTALL_PROGRAM
  553. target_alias
  554. host_alias
  555. build_alias
  556. LIBS
  557. ECHO_T
  558. ECHO_N
  559. ECHO_C
  560. DEFS
  561. mandir
  562. localedir
  563. libdir
  564. psdir
  565. pdfdir
  566. dvidir
  567. htmldir
  568. infodir
  569. docdir
  570. oldincludedir
  571. includedir
  572. localstatedir
  573. sharedstatedir
  574. sysconfdir
  575. datadir
  576. datarootdir
  577. libexecdir
  578. sbindir
  579. bindir
  580. program_transform_name
  581. prefix
  582. exec_prefix
  583. PACKAGE_URL
  584. PACKAGE_BUGREPORT
  585. PACKAGE_STRING
  586. PACKAGE_VERSION
  587. PACKAGE_TARNAME
  588. PACKAGE_NAME
  589. PATH_SEPARATOR
  590. SHELL'
  591. ac_subst_files=''
  592. ac_user_opts='
  593. enable_option_checking
  594. enable_dependency_tracking
  595. '
  596. ac_precious_vars='build_alias
  597. host_alias
  598. target_alias
  599. CC
  600. CFLAGS
  601. LDFLAGS
  602. LIBS
  603. CPPFLAGS'
  604. # Initialize some variables set by options.
  605. ac_init_help=
  606. ac_init_version=false
  607. ac_unrecognized_opts=
  608. ac_unrecognized_sep=
  609. # The variables have the same names as the options, with
  610. # dashes changed to underlines.
  611. cache_file=/dev/null
  612. exec_prefix=NONE
  613. no_create=
  614. no_recursion=
  615. prefix=NONE
  616. program_prefix=NONE
  617. program_suffix=NONE
  618. program_transform_name=s,x,x,
  619. silent=
  620. site=
  621. srcdir=
  622. verbose=
  623. x_includes=NONE
  624. x_libraries=NONE
  625. # Installation directory options.
  626. # These are left unexpanded so users can "make install exec_prefix=/foo"
  627. # and all the variables that are supposed to be based on exec_prefix
  628. # by default will actually change.
  629. # Use braces instead of parens because sh, perl, etc. also accept them.
  630. # (The list follows the same order as the GNU Coding Standards.)
  631. bindir='${exec_prefix}/bin'
  632. sbindir='${exec_prefix}/sbin'
  633. libexecdir='${exec_prefix}/libexec'
  634. datarootdir='${prefix}/share'
  635. datadir='${datarootdir}'
  636. sysconfdir='${prefix}/etc'
  637. sharedstatedir='${prefix}/com'
  638. localstatedir='${prefix}/var'
  639. includedir='${prefix}/include'
  640. oldincludedir='/usr/include'
  641. docdir='${datarootdir}/doc/${PACKAGE}'
  642. infodir='${datarootdir}/info'
  643. htmldir='${docdir}'
  644. dvidir='${docdir}'
  645. pdfdir='${docdir}'
  646. psdir='${docdir}'
  647. libdir='${exec_prefix}/lib'
  648. localedir='${datarootdir}/locale'
  649. mandir='${datarootdir}/man'
  650. ac_prev=
  651. ac_dashdash=
  652. for ac_option
  653. do
  654. # If the previous option needs an argument, assign it.
  655. if test -n "$ac_prev"; then
  656. eval $ac_prev=\$ac_option
  657. ac_prev=
  658. continue
  659. fi
  660. case $ac_option in
  661. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  662. *) ac_optarg=yes ;;
  663. esac
  664. # Accept the important Cygnus configure options, so we can diagnose typos.
  665. case $ac_dashdash$ac_option in
  666. --)
  667. ac_dashdash=yes ;;
  668. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  669. ac_prev=bindir ;;
  670. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  671. bindir=$ac_optarg ;;
  672. -build | --build | --buil | --bui | --bu)
  673. ac_prev=build_alias ;;
  674. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  675. build_alias=$ac_optarg ;;
  676. -cache-file | --cache-file | --cache-fil | --cache-fi \
  677. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  678. ac_prev=cache_file ;;
  679. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  680. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  681. cache_file=$ac_optarg ;;
  682. --config-cache | -C)
  683. cache_file=config.cache ;;
  684. -datadir | --datadir | --datadi | --datad)
  685. ac_prev=datadir ;;
  686. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  687. datadir=$ac_optarg ;;
  688. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  689. | --dataroo | --dataro | --datar)
  690. ac_prev=datarootdir ;;
  691. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  692. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  693. datarootdir=$ac_optarg ;;
  694. -disable-* | --disable-*)
  695. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  696. # Reject names that are not valid shell variable names.
  697. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  698. as_fn_error "invalid feature name: $ac_useropt"
  699. ac_useropt_orig=$ac_useropt
  700. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  701. case $ac_user_opts in
  702. *"
  703. "enable_$ac_useropt"
  704. "*) ;;
  705. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  706. ac_unrecognized_sep=', ';;
  707. esac
  708. eval enable_$ac_useropt=no ;;
  709. -docdir | --docdir | --docdi | --doc | --do)
  710. ac_prev=docdir ;;
  711. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  712. docdir=$ac_optarg ;;
  713. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  714. ac_prev=dvidir ;;
  715. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  716. dvidir=$ac_optarg ;;
  717. -enable-* | --enable-*)
  718. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  719. # Reject names that are not valid shell variable names.
  720. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  721. as_fn_error "invalid feature name: $ac_useropt"
  722. ac_useropt_orig=$ac_useropt
  723. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  724. case $ac_user_opts in
  725. *"
  726. "enable_$ac_useropt"
  727. "*) ;;
  728. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  729. ac_unrecognized_sep=', ';;
  730. esac
  731. eval enable_$ac_useropt=\$ac_optarg ;;
  732. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  733. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  734. | --exec | --exe | --ex)
  735. ac_prev=exec_prefix ;;
  736. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  737. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  738. | --exec=* | --exe=* | --ex=*)
  739. exec_prefix=$ac_optarg ;;
  740. -gas | --gas | --ga | --g)
  741. # Obsolete; use --with-gas.
  742. with_gas=yes ;;
  743. -help | --help | --hel | --he | -h)
  744. ac_init_help=long ;;
  745. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  746. ac_init_help=recursive ;;
  747. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  748. ac_init_help=short ;;
  749. -host | --host | --hos | --ho)
  750. ac_prev=host_alias ;;
  751. -host=* | --host=* | --hos=* | --ho=*)
  752. host_alias=$ac_optarg ;;
  753. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  754. ac_prev=htmldir ;;
  755. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  756. | --ht=*)
  757. htmldir=$ac_optarg ;;
  758. -includedir | --includedir | --includedi | --included | --include \
  759. | --includ | --inclu | --incl | --inc)
  760. ac_prev=includedir ;;
  761. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  762. | --includ=* | --inclu=* | --incl=* | --inc=*)
  763. includedir=$ac_optarg ;;
  764. -infodir | --infodir | --infodi | --infod | --info | --inf)
  765. ac_prev=infodir ;;
  766. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  767. infodir=$ac_optarg ;;
  768. -libdir | --libdir | --libdi | --libd)
  769. ac_prev=libdir ;;
  770. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  771. libdir=$ac_optarg ;;
  772. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  773. | --libexe | --libex | --libe)
  774. ac_prev=libexecdir ;;
  775. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  776. | --libexe=* | --libex=* | --libe=*)
  777. libexecdir=$ac_optarg ;;
  778. -localedir | --localedir | --localedi | --localed | --locale)
  779. ac_prev=localedir ;;
  780. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  781. localedir=$ac_optarg ;;
  782. -localstatedir | --localstatedir | --localstatedi | --localstated \
  783. | --localstate | --localstat | --localsta | --localst | --locals)
  784. ac_prev=localstatedir ;;
  785. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  786. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  787. localstatedir=$ac_optarg ;;
  788. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  789. ac_prev=mandir ;;
  790. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  791. mandir=$ac_optarg ;;
  792. -nfp | --nfp | --nf)
  793. # Obsolete; use --without-fp.
  794. with_fp=no ;;
  795. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  796. | --no-cr | --no-c | -n)
  797. no_create=yes ;;
  798. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  799. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  800. no_recursion=yes ;;
  801. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  802. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  803. | --oldin | --oldi | --old | --ol | --o)
  804. ac_prev=oldincludedir ;;
  805. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  806. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  807. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  808. oldincludedir=$ac_optarg ;;
  809. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  810. ac_prev=prefix ;;
  811. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  812. prefix=$ac_optarg ;;
  813. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  814. | --program-pre | --program-pr | --program-p)
  815. ac_prev=program_prefix ;;
  816. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  817. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  818. program_prefix=$ac_optarg ;;
  819. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  820. | --program-suf | --program-su | --program-s)
  821. ac_prev=program_suffix ;;
  822. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  823. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  824. program_suffix=$ac_optarg ;;
  825. -program-transform-name | --program-transform-name \
  826. | --program-transform-nam | --program-transform-na \
  827. | --program-transform-n | --program-transform- \
  828. | --program-transform | --program-transfor \
  829. | --program-transfo | --program-transf \
  830. | --program-trans | --program-tran \
  831. | --progr-tra | --program-tr | --program-t)
  832. ac_prev=program_transform_name ;;
  833. -program-transform-name=* | --program-transform-name=* \
  834. | --program-transform-nam=* | --program-transform-na=* \
  835. | --program-transform-n=* | --program-transform-=* \
  836. | --program-transform=* | --program-transfor=* \
  837. | --program-transfo=* | --program-transf=* \
  838. | --program-trans=* | --program-tran=* \
  839. | --progr-tra=* | --program-tr=* | --program-t=*)
  840. program_transform_name=$ac_optarg ;;
  841. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  842. ac_prev=pdfdir ;;
  843. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  844. pdfdir=$ac_optarg ;;
  845. -psdir | --psdir | --psdi | --psd | --ps)
  846. ac_prev=psdir ;;
  847. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  848. psdir=$ac_optarg ;;
  849. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  850. | -silent | --silent | --silen | --sile | --sil)
  851. silent=yes ;;
  852. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  853. ac_prev=sbindir ;;
  854. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  855. | --sbi=* | --sb=*)
  856. sbindir=$ac_optarg ;;
  857. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  858. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  859. | --sharedst | --shareds | --shared | --share | --shar \
  860. | --sha | --sh)
  861. ac_prev=sharedstatedir ;;
  862. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  863. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  864. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  865. | --sha=* | --sh=*)
  866. sharedstatedir=$ac_optarg ;;
  867. -site | --site | --sit)
  868. ac_prev=site ;;
  869. -site=* | --site=* | --sit=*)
  870. site=$ac_optarg ;;
  871. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  872. ac_prev=srcdir ;;
  873. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  874. srcdir=$ac_optarg ;;
  875. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  876. | --syscon | --sysco | --sysc | --sys | --sy)
  877. ac_prev=sysconfdir ;;
  878. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  879. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  880. sysconfdir=$ac_optarg ;;
  881. -target | --target | --targe | --targ | --tar | --ta | --t)
  882. ac_prev=target_alias ;;
  883. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  884. target_alias=$ac_optarg ;;
  885. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  886. verbose=yes ;;
  887. -version | --version | --versio | --versi | --vers | -V)
  888. ac_init_version=: ;;
  889. -with-* | --with-*)
  890. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  891. # Reject names that are not valid shell variable names.
  892. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  893. as_fn_error "invalid package name: $ac_useropt"
  894. ac_useropt_orig=$ac_useropt
  895. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  896. case $ac_user_opts in
  897. *"
  898. "with_$ac_useropt"
  899. "*) ;;
  900. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  901. ac_unrecognized_sep=', ';;
  902. esac
  903. eval with_$ac_useropt=\$ac_optarg ;;
  904. -without-* | --without-*)
  905. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  906. # Reject names that are not valid shell variable names.
  907. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  908. as_fn_error "invalid package name: $ac_useropt"
  909. ac_useropt_orig=$ac_useropt
  910. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  911. case $ac_user_opts in
  912. *"
  913. "with_$ac_useropt"
  914. "*) ;;
  915. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  916. ac_unrecognized_sep=', ';;
  917. esac
  918. eval with_$ac_useropt=no ;;
  919. --x)
  920. # Obsolete; use --with-x.
  921. with_x=yes ;;
  922. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  923. | --x-incl | --x-inc | --x-in | --x-i)
  924. ac_prev=x_includes ;;
  925. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  926. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  927. x_includes=$ac_optarg ;;
  928. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  929. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  930. ac_prev=x_libraries ;;
  931. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  932. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  933. x_libraries=$ac_optarg ;;
  934. -*) as_fn_error "unrecognized option: \`$ac_option'
  935. Try \`$0 --help' for more information."
  936. ;;
  937. *=*)
  938. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  939. # Reject names that are not valid shell variable names.
  940. case $ac_envvar in #(
  941. '' | [0-9]* | *[!_$as_cr_alnum]* )
  942. as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  943. esac
  944. eval $ac_envvar=\$ac_optarg
  945. export $ac_envvar ;;
  946. *)
  947. # FIXME: should be removed in autoconf 3.0.
  948. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  949. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  950. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  951. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  952. ;;
  953. esac
  954. done
  955. if test -n "$ac_prev"; then
  956. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  957. as_fn_error "missing argument to $ac_option"
  958. fi
  959. if test -n "$ac_unrecognized_opts"; then
  960. case $enable_option_checking in
  961. no) ;;
  962. fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  963. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  964. esac
  965. fi
  966. # Check all directory arguments for consistency.
  967. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  968. datadir sysconfdir sharedstatedir localstatedir includedir \
  969. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  970. libdir localedir mandir
  971. do
  972. eval ac_val=\$$ac_var
  973. # Remove trailing slashes.
  974. case $ac_val in
  975. */ )
  976. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  977. eval $ac_var=\$ac_val;;
  978. esac
  979. # Be sure to have absolute directory names.
  980. case $ac_val in
  981. [\\/$]* | ?:[\\/]* ) continue;;
  982. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  983. esac
  984. as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  985. done
  986. # There might be people who depend on the old broken behavior: `$host'
  987. # used to hold the argument of --host etc.
  988. # FIXME: To remove some day.
  989. build=$build_alias
  990. host=$host_alias
  991. target=$target_alias
  992. # FIXME: To remove some day.
  993. if test "x$host_alias" != x; then
  994. if test "x$build_alias" = x; then
  995. cross_compiling=maybe
  996. $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  997. If a cross compiler is detected then cross compile mode will be used." >&2
  998. elif test "x$build_alias" != "x$host_alias"; then
  999. cross_compiling=yes
  1000. fi
  1001. fi
  1002. ac_tool_prefix=
  1003. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1004. test "$silent" = yes && exec 6>/dev/null
  1005. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1006. ac_ls_di=`ls -di .` &&
  1007. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1008. as_fn_error "working directory cannot be determined"
  1009. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1010. as_fn_error "pwd does not report name of working directory"
  1011. # Find the source files, if location was not specified.
  1012. if test -z "$srcdir"; then
  1013. ac_srcdir_defaulted=yes
  1014. # Try the directory containing this script, then the parent directory.
  1015. ac_confdir=`$as_dirname -- "$as_myself" ||
  1016. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1017. X"$as_myself" : 'X\(//\)[^/]' \| \
  1018. X"$as_myself" : 'X\(//\)$' \| \
  1019. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1020. $as_echo X"$as_myself" |
  1021. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1022. s//\1/
  1023. q
  1024. }
  1025. /^X\(\/\/\)[^/].*/{
  1026. s//\1/
  1027. q
  1028. }
  1029. /^X\(\/\/\)$/{
  1030. s//\1/
  1031. q
  1032. }
  1033. /^X\(\/\).*/{
  1034. s//\1/
  1035. q
  1036. }
  1037. s/.*/./; q'`
  1038. srcdir=$ac_confdir
  1039. if test ! -r "$srcdir/$ac_unique_file"; then
  1040. srcdir=..
  1041. fi
  1042. else
  1043. ac_srcdir_defaulted=no
  1044. fi
  1045. if test ! -r "$srcdir/$ac_unique_file"; then
  1046. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1047. as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  1048. fi
  1049. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1050. ac_abs_confdir=`(
  1051. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  1052. pwd)`
  1053. # When building in place, set srcdir=.
  1054. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1055. srcdir=.
  1056. fi
  1057. # Remove unnecessary trailing slashes from srcdir.
  1058. # Double slashes in file names in object file debugging info
  1059. # mess up M-x gdb in Emacs.
  1060. case $srcdir in
  1061. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1062. esac
  1063. for ac_var in $ac_precious_vars; do
  1064. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1065. eval ac_env_${ac_var}_value=\$${ac_var}
  1066. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1067. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1068. done
  1069. #
  1070. # Report the --help message.
  1071. #
  1072. if test "$ac_init_help" = "long"; then
  1073. # Omit some internal or obsolete options to make the list less imposing.
  1074. # This message is too long to be a string in the A/UX 3.1 sh.
  1075. cat <<_ACEOF
  1076. \`configure' configures this package to adapt to many kinds of systems.
  1077. Usage: $0 [OPTION]... [VAR=VALUE]...
  1078. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1079. VAR=VALUE. See below for descriptions of some of the useful variables.
  1080. Defaults for the options are specified in brackets.
  1081. Configuration:
  1082. -h, --help display this help and exit
  1083. --help=short display options specific to this package
  1084. --help=recursive display the short help of all the included packages
  1085. -V, --version display version information and exit
  1086. -q, --quiet, --silent do not print \`checking...' messages
  1087. --cache-file=FILE cache test results in FILE [disabled]
  1088. -C, --config-cache alias for \`--cache-file=config.cache'
  1089. -n, --no-create do not create output files
  1090. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1091. Installation directories:
  1092. --prefix=PREFIX install architecture-independent files in PREFIX
  1093. [$ac_default_prefix]
  1094. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1095. [PREFIX]
  1096. By default, \`make install' will install all the files in
  1097. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1098. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1099. for instance \`--prefix=\$HOME'.
  1100. For better control, use the options below.
  1101. Fine tuning of the installation directories:
  1102. --bindir=DIR user executables [EPREFIX/bin]
  1103. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1104. --libexecdir=DIR program executables [EPREFIX/libexec]
  1105. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1106. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1107. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1108. --libdir=DIR object code libraries [EPREFIX/lib]
  1109. --includedir=DIR C header files [PREFIX/include]
  1110. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1111. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1112. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1113. --infodir=DIR info documentation [DATAROOTDIR/info]
  1114. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1115. --mandir=DIR man documentation [DATAROOTDIR/man]
  1116. --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  1117. --htmldir=DIR html documentation [DOCDIR]
  1118. --dvidir=DIR dvi documentation [DOCDIR]
  1119. --pdfdir=DIR pdf documentation [DOCDIR]
  1120. --psdir=DIR ps documentation [DOCDIR]
  1121. _ACEOF
  1122. cat <<\_ACEOF
  1123. Program names:
  1124. --program-prefix=PREFIX prepend PREFIX to installed program names
  1125. --program-suffix=SUFFIX append SUFFIX to installed program names
  1126. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1127. _ACEOF
  1128. fi
  1129. if test -n "$ac_init_help"; then
  1130. cat <<\_ACEOF
  1131. Optional Features:
  1132. --disable-option-checking ignore unrecognized --enable/--with options
  1133. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1134. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1135. --disable-dependency-tracking speeds up one-time build
  1136. --enable-dependency-tracking do not reject slow dependency extractors
  1137. Some influential environment variables:
  1138. CC C compiler command
  1139. CFLAGS C compiler flags
  1140. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1141. nonstandard directory <lib dir>
  1142. LIBS libraries to pass to the linker, e.g. -l<library>
  1143. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1144. you have headers in a nonstandard directory <include dir>
  1145. Use these variables to override the choices made by `configure' or to help
  1146. it to find libraries and programs with nonstandard names/locations.
  1147. Report bugs to the package provider.
  1148. _ACEOF
  1149. ac_status=$?
  1150. fi
  1151. if test "$ac_init_help" = "recursive"; then
  1152. # If there are subdirs, report their specific --help.
  1153. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1154. test -d "$ac_dir" ||
  1155. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1156. continue
  1157. ac_builddir=.
  1158. case "$ac_dir" in
  1159. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1160. *)
  1161. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1162. # A ".." for each directory in $ac_dir_suffix.
  1163. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1164. case $ac_top_builddir_sub in
  1165. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1166. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1167. esac ;;
  1168. esac
  1169. ac_abs_top_builddir=$ac_pwd
  1170. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1171. # for backward compatibility:
  1172. ac_top_builddir=$ac_top_build_prefix
  1173. case $srcdir in
  1174. .) # We are building in place.
  1175. ac_srcdir=.
  1176. ac_top_srcdir=$ac_top_builddir_sub
  1177. ac_abs_top_srcdir=$ac_pwd ;;
  1178. [\\/]* | ?:[\\/]* ) # Absolute name.
  1179. ac_srcdir=$srcdir$ac_dir_suffix;
  1180. ac_top_srcdir=$srcdir
  1181. ac_abs_top_srcdir=$srcdir ;;
  1182. *) # Relative name.
  1183. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1184. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1185. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1186. esac
  1187. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1188. cd "$ac_dir" || { ac_status=$?; continue; }
  1189. # Check for guested configure.
  1190. if test -f "$ac_srcdir/configure.gnu"; then
  1191. echo &&
  1192. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1193. elif test -f "$ac_srcdir/configure"; then
  1194. echo &&
  1195. $SHELL "$ac_srcdir/configure" --help=recursive
  1196. else
  1197. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1198. fi || ac_status=$?
  1199. cd "$ac_pwd" || { ac_status=$?; break; }
  1200. done
  1201. fi
  1202. test -n "$ac_init_help" && exit $ac_status
  1203. if $ac_init_version; then
  1204. cat <<\_ACEOF
  1205. configure
  1206. generated by GNU Autoconf 2.65
  1207. Copyright (C) 2009 Free Software Foundation, Inc.
  1208. This configure script is free software; the Free Software Foundation
  1209. gives unlimited permission to copy, distribute and modify it.
  1210. _ACEOF
  1211. exit
  1212. fi
  1213. ## ------------------------ ##
  1214. ## Autoconf initialization. ##
  1215. ## ------------------------ ##
  1216. # ac_fn_c_try_compile LINENO
  1217. # --------------------------
  1218. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1219. ac_fn_c_try_compile ()
  1220. {
  1221. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1222. rm -f conftest.$ac_objext
  1223. if { { ac_try="$ac_compile"
  1224. case "(($ac_try" in
  1225. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1226. *) ac_try_echo=$ac_try;;
  1227. esac
  1228. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1229. $as_echo "$ac_try_echo"; } >&5
  1230. (eval "$ac_compile") 2>conftest.err
  1231. ac_status=$?
  1232. if test -s conftest.err; then
  1233. grep -v '^ *+' conftest.err >conftest.er1
  1234. cat conftest.er1 >&5
  1235. mv -f conftest.er1 conftest.err
  1236. fi
  1237. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1238. test $ac_status = 0; } && {
  1239. test -z "$ac_c_werror_flag" ||
  1240. test ! -s conftest.err
  1241. } && test -s conftest.$ac_objext; then :
  1242. ac_retval=0
  1243. else
  1244. $as_echo "$as_me: failed program was:" >&5
  1245. sed 's/^/| /' conftest.$ac_ext >&5
  1246. ac_retval=1
  1247. fi
  1248. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1249. as_fn_set_status $ac_retval
  1250. } # ac_fn_c_try_compile
  1251. # ac_fn_c_check_func LINENO FUNC VAR
  1252. # ----------------------------------
  1253. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1254. ac_fn_c_check_func ()
  1255. {
  1256. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1257. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1258. $as_echo_n "checking for $2... " >&6; }
  1259. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1260. $as_echo_n "(cached) " >&6
  1261. else
  1262. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1263. /* end confdefs.h. */
  1264. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1265. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1266. #define $2 innocuous_$2
  1267. /* System header to define __stub macros and hopefully few prototypes,
  1268. which can conflict with char $2 (); below.
  1269. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1270. <limits.h> exists even on freestanding compilers. */
  1271. #ifdef __STDC__
  1272. # include <limits.h>
  1273. #else
  1274. # include <assert.h>
  1275. #endif
  1276. #undef $2
  1277. /* Override any GCC internal prototype to avoid an error.
  1278. Use char because int might match the return type of a GCC
  1279. builtin and then its argument prototype would still apply. */
  1280. #ifdef __cplusplus
  1281. extern "C"
  1282. #endif
  1283. char $2 ();
  1284. /* The GNU C library defines this for functions which it implements
  1285. to always fail with ENOSYS. Some functions are actually named
  1286. something starting with __ and the normal name is an alias. */
  1287. #if defined __stub_$2 || defined __stub___$2
  1288. choke me
  1289. #endif
  1290. int
  1291. main ()
  1292. {
  1293. return $2 ();
  1294. ;
  1295. return 0;
  1296. }
  1297. _ACEOF
  1298. if ac_fn_c_try_link "$LINENO"; then :
  1299. eval "$3=yes"
  1300. else
  1301. eval "$3=no"
  1302. fi
  1303. rm -f core conftest.err conftest.$ac_objext \
  1304. conftest$ac_exeext conftest.$ac_ext
  1305. fi
  1306. eval ac_res=\$$3
  1307. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1308. $as_echo "$ac_res" >&6; }
  1309. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1310. } # ac_fn_c_check_func
  1311. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1312. # -------------------------------------------
  1313. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1314. # variable VAR accordingly.
  1315. ac_fn_c_check_type ()
  1316. {
  1317. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1318. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1319. $as_echo_n "checking for $2... " >&6; }
  1320. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1321. $as_echo_n "(cached) " >&6
  1322. else
  1323. eval "$3=no"
  1324. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1325. /* end confdefs.h. */
  1326. $4
  1327. int
  1328. main ()
  1329. {
  1330. if (sizeof ($2))
  1331. return 0;
  1332. ;
  1333. return 0;
  1334. }
  1335. _ACEOF
  1336. if ac_fn_c_try_compile "$LINENO"; then :
  1337. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1338. /* end confdefs.h. */
  1339. $4
  1340. int
  1341. main ()
  1342. {
  1343. if (sizeof (($2)))
  1344. return 0;
  1345. ;
  1346. return 0;
  1347. }
  1348. _ACEOF
  1349. if ac_fn_c_try_compile "$LINENO"; then :
  1350. else
  1351. eval "$3=yes"
  1352. fi
  1353. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1354. fi
  1355. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1356. fi
  1357. eval ac_res=\$$3
  1358. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1359. $as_echo "$ac_res" >&6; }
  1360. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1361. } # ac_fn_c_check_type
  1362. cat >config.log <<_ACEOF
  1363. This file contains any messages produced by compilers while
  1364. running configure, to aid debugging if configure makes a mistake.
  1365. It was created by $as_me, which was
  1366. generated by GNU Autoconf 2.65. Invocation command line was
  1367. $ $0 $@
  1368. _ACEOF
  1369. exec 5>>config.log
  1370. {
  1371. cat <<_ASUNAME
  1372. ## --------- ##
  1373. ## Platform. ##
  1374. ## --------- ##
  1375. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1376. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1377. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1378. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1379. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1380. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1381. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1382. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1383. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1384. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1385. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1386. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1387. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1388. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1389. _ASUNAME
  1390. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1391. for as_dir in $PATH
  1392. do
  1393. IFS=$as_save_IFS
  1394. test -z "$as_dir" && as_dir=.
  1395. $as_echo "PATH: $as_dir"
  1396. done
  1397. IFS=$as_save_IFS
  1398. } >&5
  1399. cat >&5 <<_ACEOF
  1400. ## ----------- ##
  1401. ## Core tests. ##
  1402. ## ----------- ##
  1403. _ACEOF
  1404. # Keep a trace of the command line.
  1405. # Strip out --no-create and --no-recursion so they do not pile up.
  1406. # Strip out --silent because we don't want to record it for future runs.
  1407. # Also quote any args containing shell meta-characters.
  1408. # Make two passes to allow for proper duplicate-argument suppression.
  1409. ac_configure_args=
  1410. ac_configure_args0=
  1411. ac_configure_args1=
  1412. ac_must_keep_next=false
  1413. for ac_pass in 1 2
  1414. do
  1415. for ac_arg
  1416. do
  1417. case $ac_arg in
  1418. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1419. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1420. | -silent | --silent | --silen | --sile | --sil)
  1421. continue ;;
  1422. *\'*)
  1423. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1424. esac
  1425. case $ac_pass in
  1426. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1427. 2)
  1428. as_fn_append ac_configure_args1 " '$ac_arg'"
  1429. if test $ac_must_keep_next = true; then
  1430. ac_must_keep_next=false # Got value, back to normal.
  1431. else
  1432. case $ac_arg in
  1433. *=* | --config-cache | -C | -disable-* | --disable-* \
  1434. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1435. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1436. | -with-* | --with-* | -without-* | --without-* | --x)
  1437. case "$ac_configure_args0 " in
  1438. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1439. esac
  1440. ;;
  1441. -* ) ac_must_keep_next=true ;;
  1442. esac
  1443. fi
  1444. as_fn_append ac_configure_args " '$ac_arg'"
  1445. ;;
  1446. esac
  1447. done
  1448. done
  1449. { ac_configure_args0=; unset ac_configure_args0;}
  1450. { ac_configure_args1=; unset ac_configure_args1;}
  1451. # When interrupted or exit'd, cleanup temporary files, and complete
  1452. # config.log. We remove comments because anyway the quotes in there
  1453. # would cause problems or look ugly.
  1454. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1455. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1456. trap 'exit_status=$?
  1457. # Save into config.log some information that might help in debugging.
  1458. {
  1459. echo
  1460. cat <<\_ASBOX
  1461. ## ---------------- ##
  1462. ## Cache variables. ##
  1463. ## ---------------- ##
  1464. _ASBOX
  1465. echo
  1466. # The following way of writing the cache mishandles newlines in values,
  1467. (
  1468. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1469. eval ac_val=\$$ac_var
  1470. case $ac_val in #(
  1471. *${as_nl}*)
  1472. case $ac_var in #(
  1473. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1474. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1475. esac
  1476. case $ac_var in #(
  1477. _ | IFS | as_nl) ;; #(
  1478. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1479. *) { eval $ac_var=; unset $ac_var;} ;;
  1480. esac ;;
  1481. esac
  1482. done
  1483. (set) 2>&1 |
  1484. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1485. *${as_nl}ac_space=\ *)
  1486. sed -n \
  1487. "s/'\''/'\''\\\\'\'''\''/g;
  1488. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1489. ;; #(
  1490. *)
  1491. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1492. ;;
  1493. esac |
  1494. sort
  1495. )
  1496. echo
  1497. cat <<\_ASBOX
  1498. ## ----------------- ##
  1499. ## Output variables. ##
  1500. ## ----------------- ##
  1501. _ASBOX
  1502. echo
  1503. for ac_var in $ac_subst_vars
  1504. do
  1505. eval ac_val=\$$ac_var
  1506. case $ac_val in
  1507. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1508. esac
  1509. $as_echo "$ac_var='\''$ac_val'\''"
  1510. done | sort
  1511. echo
  1512. if test -n "$ac_subst_files"; then
  1513. cat <<\_ASBOX
  1514. ## ------------------- ##
  1515. ## File substitutions. ##
  1516. ## ------------------- ##
  1517. _ASBOX
  1518. echo
  1519. for ac_var in $ac_subst_files
  1520. do
  1521. eval ac_val=\$$ac_var
  1522. case $ac_val in
  1523. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1524. esac
  1525. $as_echo "$ac_var='\''$ac_val'\''"
  1526. done | sort
  1527. echo
  1528. fi
  1529. if test -s confdefs.h; then
  1530. cat <<\_ASBOX
  1531. ## ----------- ##
  1532. ## confdefs.h. ##
  1533. ## ----------- ##
  1534. _ASBOX
  1535. echo
  1536. cat confdefs.h
  1537. echo
  1538. fi
  1539. test "$ac_signal" != 0 &&
  1540. $as_echo "$as_me: caught signal $ac_signal"
  1541. $as_echo "$as_me: exit $exit_status"
  1542. } >&5
  1543. rm -f core *.core core.conftest.* &&
  1544. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1545. exit $exit_status
  1546. ' 0
  1547. for ac_signal in 1 2 13 15; do
  1548. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1549. done
  1550. ac_signal=0
  1551. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1552. rm -f -r conftest* confdefs.h
  1553. $as_echo "/* confdefs.h */" > confdefs.h
  1554. # Predefined preprocessor variables.
  1555. cat >>confdefs.h <<_ACEOF
  1556. #define PACKAGE_NAME "$PACKAGE_NAME"
  1557. _ACEOF
  1558. cat >>confdefs.h <<_ACEOF
  1559. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1560. _ACEOF
  1561. cat >>confdefs.h <<_ACEOF
  1562. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1563. _ACEOF
  1564. cat >>confdefs.h <<_ACEOF
  1565. #define PACKAGE_STRING "$PACKAGE_STRING"
  1566. _ACEOF
  1567. cat >>confdefs.h <<_ACEOF
  1568. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1569. _ACEOF
  1570. cat >>confdefs.h <<_ACEOF
  1571. #define PACKAGE_URL "$PACKAGE_URL"
  1572. _ACEOF
  1573. # Let the site file select an alternate cache file if it wants to.
  1574. # Prefer an explicitly selected file to automatically selected ones.
  1575. ac_site_file1=NONE
  1576. ac_site_file2=NONE
  1577. if test -n "$CONFIG_SITE"; then
  1578. ac_site_file1=$CONFIG_SITE
  1579. elif test "x$prefix" != xNONE; then
  1580. ac_site_file1=$prefix/share/config.site
  1581. ac_site_file2=$prefix/etc/config.site
  1582. else
  1583. ac_site_file1=$ac_default_prefix/share/config.site
  1584. ac_site_file2=$ac_default_prefix/etc/config.site
  1585. fi
  1586. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1587. do
  1588. test "x$ac_site_file" = xNONE && continue
  1589. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1590. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1591. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1592. sed 's/^/| /' "$ac_site_file" >&5
  1593. . "$ac_site_file"
  1594. fi
  1595. done
  1596. if test -r "$cache_file"; then
  1597. # Some versions of bash will fail to source /dev/null (special files
  1598. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  1599. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1600. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1601. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1602. case $cache_file in
  1603. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1604. *) . "./$cache_file";;
  1605. esac
  1606. fi
  1607. else
  1608. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1609. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1610. >$cache_file
  1611. fi
  1612. # Check that the precious variables saved in the cache have kept the same
  1613. # value.
  1614. ac_cache_corrupted=false
  1615. for ac_var in $ac_precious_vars; do
  1616. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1617. eval ac_new_set=\$ac_env_${ac_var}_set
  1618. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1619. eval ac_new_val=\$ac_env_${ac_var}_value
  1620. case $ac_old_set,$ac_new_set in
  1621. set,)
  1622. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1623. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1624. ac_cache_corrupted=: ;;
  1625. ,set)
  1626. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1627. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1628. ac_cache_corrupted=: ;;
  1629. ,);;
  1630. *)
  1631. if test "x$ac_old_val" != "x$ac_new_val"; then
  1632. # differences in whitespace do not lead to failure.
  1633. ac_old_val_w=`echo x $ac_old_val`
  1634. ac_new_val_w=`echo x $ac_new_val`
  1635. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1636. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1637. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1638. ac_cache_corrupted=:
  1639. else
  1640. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1641. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1642. eval $ac_var=\$ac_old_val
  1643. fi
  1644. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  1645. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1646. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  1647. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1648. fi;;
  1649. esac
  1650. # Pass precious variables to config.status.
  1651. if test "$ac_new_set" = set; then
  1652. case $ac_new_val in
  1653. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1654. *) ac_arg=$ac_var=$ac_new_val ;;
  1655. esac
  1656. case " $ac_configure_args " in
  1657. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1658. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1659. esac
  1660. fi
  1661. done
  1662. if $ac_cache_corrupted; then
  1663. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1664. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1665. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1666. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1667. as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1668. fi
  1669. ## -------------------- ##
  1670. ## Main body of script. ##
  1671. ## -------------------- ##
  1672. ac_ext=c
  1673. ac_cpp='$CPP $CPPFLAGS'
  1674. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1675. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1676. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1677. am__api_version='1.11'
  1678. ac_aux_dir=
  1679. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1680. for ac_t in install-sh install.sh shtool; do
  1681. if test -f "$ac_dir/$ac_t"; then
  1682. ac_aux_dir=$ac_dir
  1683. ac_install_sh="$ac_aux_dir/$ac_t -c"
  1684. break 2
  1685. fi
  1686. done
  1687. done
  1688. if test -z "$ac_aux_dir"; then
  1689. as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  1690. fi
  1691. # These three variables are undocumented and unsupported,
  1692. # and are intended to be withdrawn in a future Autoconf release.
  1693. # They can cause serious problems if a builder's source tree is in a directory
  1694. # whose full name contains unusual characters.
  1695. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  1696. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  1697. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  1698. # Find a good install program. We prefer a C program (faster),
  1699. # so one script is as good as another. But avoid the broken or
  1700. # incompatible versions:
  1701. # SysV /etc/install, /usr/sbin/install
  1702. # SunOS /usr/etc/install
  1703. # IRIX /sbin/install
  1704. # AIX /bin/install
  1705. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1706. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1707. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1708. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1709. # OS/2's system install, which has a completely different semantic
  1710. # ./install, which can be erroneously created by make from ./install.sh.
  1711. # Reject install programs that cannot install multiple files.
  1712. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  1713. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  1714. if test -z "$INSTALL"; then
  1715. if test "${ac_cv_path_install+set}" = set; then :
  1716. $as_echo_n "(cached) " >&6
  1717. else
  1718. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1719. for as_dir in $PATH
  1720. do
  1721. IFS=$as_save_IFS
  1722. test -z "$as_dir" && as_dir=.
  1723. # Account for people who put trailing slashes in PATH elements.
  1724. case $as_dir/ in #((
  1725. ./ | .// | /[cC]/* | \
  1726. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1727. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  1728. /usr/ucb/* ) ;;
  1729. *)
  1730. # OSF1 and SCO ODT 3.0 have their own names for install.
  1731. # Don't use installbsd from OSF since it installs stuff as root
  1732. # by default.
  1733. for ac_prog in ginstall scoinst install; do
  1734. for ac_exec_ext in '' $ac_executable_extensions; do
  1735. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1736. if test $ac_prog = install &&
  1737. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1738. # AIX install. It has an incompatible calling convention.
  1739. :
  1740. elif test $ac_prog = install &&
  1741. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1742. # program-specific install script used by HP pwplus--don't use.
  1743. :
  1744. else
  1745. rm -rf conftest.one conftest.two conftest.dir
  1746. echo one > conftest.one
  1747. echo two > conftest.two
  1748. mkdir conftest.dir
  1749. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  1750. test -s conftest.one && test -s conftest.two &&
  1751. test -s conftest.dir/conftest.one &&
  1752. test -s conftest.dir/conftest.two
  1753. then
  1754. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1755. break 3
  1756. fi
  1757. fi
  1758. fi
  1759. done
  1760. done
  1761. ;;
  1762. esac
  1763. done
  1764. IFS=$as_save_IFS
  1765. rm -rf conftest.one conftest.two conftest.dir
  1766. fi
  1767. if test "${ac_cv_path_install+set}" = set; then
  1768. INSTALL=$ac_cv_path_install
  1769. else
  1770. # As a last resort, use the slow shell script. Don't cache a
  1771. # value for INSTALL within a source directory, because that will
  1772. # break other packages using the cache if that directory is
  1773. # removed, or if the value is a relative name.
  1774. INSTALL=$ac_install_sh
  1775. fi
  1776. fi
  1777. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  1778. $as_echo "$INSTALL" >&6; }
  1779. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1780. # It thinks the first close brace ends the variable substitution.
  1781. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1782. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1783. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1784. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  1785. $as_echo_n "checking whether build environment is sane... " >&6; }
  1786. # Just in case
  1787. sleep 1
  1788. echo timestamp > conftest.file
  1789. # Reject unsafe characters in $srcdir or the absolute working directory
  1790. # name. Accept space and tab only in the latter.
  1791. am_lf='
  1792. '
  1793. case `pwd` in
  1794. *[\\\"\#\$\&\'\`$am_lf]*)
  1795. as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  1796. esac
  1797. case $srcdir in
  1798. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  1799. as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  1800. esac
  1801. # Do `set' in a subshell so we don't clobber the current shell's
  1802. # arguments. Must try -L first in case configure is actually a
  1803. # symlink; some systems play weird games with the mod time of symlinks
  1804. # (eg FreeBSD returns the mod time of the symlink's containing
  1805. # directory).
  1806. if (
  1807. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  1808. if test "$*" = "X"; then
  1809. # -L didn't work.
  1810. set X `ls -t "$srcdir/configure" conftest.file`
  1811. fi
  1812. rm -f conftest.file
  1813. if test "$*" != "X $srcdir/configure conftest.file" \
  1814. && test "$*" != "X conftest.file $srcdir/configure"; then
  1815. # If neither matched, then we have a broken ls. This can happen
  1816. # if, for instance, CONFIG_SHELL is bash and it inherits a
  1817. # broken ls alias from the environment. This has actually
  1818. # happened. Such a system could not be considered "sane".
  1819. as_fn_error "ls -t appears to fail. Make sure there is not a broken
  1820. alias in your environment" "$LINENO" 5
  1821. fi
  1822. test "$2" = conftest.file
  1823. )
  1824. then
  1825. # Ok.
  1826. :
  1827. else
  1828. as_fn_error "newly created file is older than distributed files!
  1829. Check your system clock" "$LINENO" 5
  1830. fi
  1831. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1832. $as_echo "yes" >&6; }
  1833. test "$program_prefix" != NONE &&
  1834. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1835. # Use a double $ so make ignores it.
  1836. test "$program_suffix" != NONE &&
  1837. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1838. # Double any \ or $.
  1839. # By default was `s,x,x', remove it if useless.
  1840. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  1841. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  1842. # expand $ac_aux_dir to an absolute path
  1843. am_aux_dir=`cd $ac_aux_dir && pwd`
  1844. if test x"${MISSING+set}" != xset; then
  1845. case $am_aux_dir in
  1846. *\ * | *\ *)
  1847. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  1848. *)
  1849. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  1850. esac
  1851. fi
  1852. # Use eval to expand $SHELL
  1853. if eval "$MISSING --run true"; then
  1854. am_missing_run="$MISSING --run "
  1855. else
  1856. am_missing_run=
  1857. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  1858. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1859. fi
  1860. if test x"${install_sh}" != xset; then
  1861. case $am_aux_dir in
  1862. *\ * | *\ *)
  1863. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  1864. *)
  1865. install_sh="\${SHELL} $am_aux_dir/install-sh"
  1866. esac
  1867. fi
  1868. # Installed binaries are usually stripped using `strip' when the user
  1869. # run `make install-strip'. However `strip' might not be the right
  1870. # tool to use in cross-compilation environments, therefore Automake
  1871. # will honor the `STRIP' environment variable to overrule this program.
  1872. if test "$cross_compiling" != no; then
  1873. if test -n "$ac_tool_prefix"; then
  1874. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1875. set dummy ${ac_tool_prefix}strip; ac_word=$2
  1876. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1877. $as_echo_n "checking for $ac_word... " >&6; }
  1878. if test "${ac_cv_prog_STRIP+set}" = set; then :
  1879. $as_echo_n "(cached) " >&6
  1880. else
  1881. if test -n "$STRIP"; then
  1882. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1883. else
  1884. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1885. for as_dir in $PATH
  1886. do
  1887. IFS=$as_save_IFS
  1888. test -z "$as_dir" && as_dir=.
  1889. for ac_exec_ext in '' $ac_executable_extensions; do
  1890. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1891. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1892. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1893. break 2
  1894. fi
  1895. done
  1896. done
  1897. IFS=$as_save_IFS
  1898. fi
  1899. fi
  1900. STRIP=$ac_cv_prog_STRIP
  1901. if test -n "$STRIP"; then
  1902. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  1903. $as_echo "$STRIP" >&6; }
  1904. else
  1905. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1906. $as_echo "no" >&6; }
  1907. fi
  1908. fi
  1909. if test -z "$ac_cv_prog_STRIP"; then
  1910. ac_ct_STRIP=$STRIP
  1911. # Extract the first word of "strip", so it can be a program name with args.
  1912. set dummy strip; ac_word=$2
  1913. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1914. $as_echo_n "checking for $ac_word... " >&6; }
  1915. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  1916. $as_echo_n "(cached) " >&6
  1917. else
  1918. if test -n "$ac_ct_STRIP"; then
  1919. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1920. else
  1921. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1922. for as_dir in $PATH
  1923. do
  1924. IFS=$as_save_IFS
  1925. test -z "$as_dir" && as_dir=.
  1926. for ac_exec_ext in '' $ac_executable_extensions; do
  1927. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1928. ac_cv_prog_ac_ct_STRIP="strip"
  1929. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1930. break 2
  1931. fi
  1932. done
  1933. done
  1934. IFS=$as_save_IFS
  1935. fi
  1936. fi
  1937. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1938. if test -n "$ac_ct_STRIP"; then
  1939. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  1940. $as_echo "$ac_ct_STRIP" >&6; }
  1941. else
  1942. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1943. $as_echo "no" >&6; }
  1944. fi
  1945. if test "x$ac_ct_STRIP" = x; then
  1946. STRIP=":"
  1947. else
  1948. case $cross_compiling:$ac_tool_warned in
  1949. yes:)
  1950. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1951. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1952. ac_tool_warned=yes ;;
  1953. esac
  1954. STRIP=$ac_ct_STRIP
  1955. fi
  1956. else
  1957. STRIP="$ac_cv_prog_STRIP"
  1958. fi
  1959. fi
  1960. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  1961. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  1962. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  1963. if test -z "$MKDIR_P"; then
  1964. if test "${ac_cv_path_mkdir+set}" = set; then :
  1965. $as_echo_n "(cached) " >&6
  1966. else
  1967. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1968. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  1969. do
  1970. IFS=$as_save_IFS
  1971. test -z "$as_dir" && as_dir=.
  1972. for ac_prog in mkdir gmkdir; do
  1973. for ac_exec_ext in '' $ac_executable_extensions; do
  1974. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  1975. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  1976. 'mkdir (GNU coreutils) '* | \
  1977. 'mkdir (coreutils) '* | \
  1978. 'mkdir (fileutils) '4.1*)
  1979. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  1980. break 3;;
  1981. esac
  1982. done
  1983. done
  1984. done
  1985. IFS=$as_save_IFS
  1986. fi
  1987. test -d ./--version && rmdir ./--version
  1988. if test "${ac_cv_path_mkdir+set}" = set; then
  1989. MKDIR_P="$ac_cv_path_mkdir -p"
  1990. else
  1991. # As a last resort, use the slow shell script. Don't cache a
  1992. # value for MKDIR_P within a source directory, because that will
  1993. # break other packages using the cache if that directory is
  1994. # removed, or if the value is a relative name.
  1995. MKDIR_P="$ac_install_sh -d"
  1996. fi
  1997. fi
  1998. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  1999. $as_echo "$MKDIR_P" >&6; }
  2000. mkdir_p="$MKDIR_P"
  2001. case $mkdir_p in
  2002. [\\/$]* | ?:[\\/]*) ;;
  2003. */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2004. esac
  2005. for ac_prog in gawk mawk nawk awk
  2006. do
  2007. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2008. set dummy $ac_prog; ac_word=$2
  2009. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2010. $as_echo_n "checking for $ac_word... " >&6; }
  2011. if test "${ac_cv_prog_AWK+set}" = set; then :
  2012. $as_echo_n "(cached) " >&6
  2013. else
  2014. if test -n "$AWK"; then
  2015. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2016. else
  2017. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2018. for as_dir in $PATH
  2019. do
  2020. IFS=$as_save_IFS
  2021. test -z "$as_dir" && as_dir=.
  2022. for ac_exec_ext in '' $ac_executable_extensions; do
  2023. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2024. ac_cv_prog_AWK="$ac_prog"
  2025. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2026. break 2
  2027. fi
  2028. done
  2029. done
  2030. IFS=$as_save_IFS
  2031. fi
  2032. fi
  2033. AWK=$ac_cv_prog_AWK
  2034. if test -n "$AWK"; then
  2035. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2036. $as_echo "$AWK" >&6; }
  2037. else
  2038. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2039. $as_echo "no" >&6; }
  2040. fi
  2041. test -n "$AWK" && break
  2042. done
  2043. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2044. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2045. set x ${MAKE-make}
  2046. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2047. if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  2048. $as_echo_n "(cached) " >&6
  2049. else
  2050. cat >conftest.make <<\_ACEOF
  2051. SHELL = /bin/sh
  2052. all:
  2053. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2054. _ACEOF
  2055. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2056. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2057. *@@@%%%=?*=@@@%%%*)
  2058. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2059. *)
  2060. eval ac_cv_prog_make_${ac_make}_set=no;;
  2061. esac
  2062. rm -f conftest.make
  2063. fi
  2064. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2065. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2066. $as_echo "yes" >&6; }
  2067. SET_MAKE=
  2068. else
  2069. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2070. $as_echo "no" >&6; }
  2071. SET_MAKE="MAKE=${MAKE-make}"
  2072. fi
  2073. rm -rf .tst 2>/dev/null
  2074. mkdir .tst 2>/dev/null
  2075. if test -d .tst; then
  2076. am__leading_dot=.
  2077. else
  2078. am__leading_dot=_
  2079. fi
  2080. rmdir .tst 2>/dev/null
  2081. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2082. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2083. # is not polluted with repeated "-I."
  2084. am__isrc=' -I$(srcdir)'
  2085. # test to see if srcdir already configured
  2086. if test -f $srcdir/config.status; then
  2087. as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2088. fi
  2089. fi
  2090. # test whether we have cygpath
  2091. if test -z "$CYGPATH_W"; then
  2092. if (cygpath --version) >/dev/null 2>/dev/null; then
  2093. CYGPATH_W='cygpath -w'
  2094. else
  2095. CYGPATH_W=echo
  2096. fi
  2097. fi
  2098. # Define the identity of the package.
  2099. PACKAGE=arlib
  2100. VERSION=1.0
  2101. cat >>confdefs.h <<_ACEOF
  2102. #define PACKAGE "$PACKAGE"
  2103. _ACEOF
  2104. cat >>confdefs.h <<_ACEOF
  2105. #define VERSION "$VERSION"
  2106. _ACEOF
  2107. # Some tools Automake needs.
  2108. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2109. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2110. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2111. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2112. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2113. # We need awk for the "check" target. The system "awk" is bad on
  2114. # some platforms.
  2115. # Always define AMTAR for backward compatibility.
  2116. AMTAR=${AMTAR-"${am_missing_run}tar"}
  2117. am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2118. #AM_CONFIG_HEADER([config.h])
  2119. # Checks for programs.
  2120. ac_ext=c
  2121. ac_cpp='$CPP $CPPFLAGS'
  2122. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2123. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2124. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2125. if test -n "$ac_tool_prefix"; then
  2126. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2127. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2128. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2129. $as_echo_n "checking for $ac_word... " >&6; }
  2130. if test "${ac_cv_prog_CC+set}" = set; then :
  2131. $as_echo_n "(cached) " >&6
  2132. else
  2133. if test -n "$CC"; then
  2134. ac_cv_prog_CC="$CC" # Let the user override the test.
  2135. else
  2136. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2137. for as_dir in $PATH
  2138. do
  2139. IFS=$as_save_IFS
  2140. test -z "$as_dir" && as_dir=.
  2141. for ac_exec_ext in '' $ac_executable_extensions; do
  2142. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2143. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2144. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2145. break 2
  2146. fi
  2147. done
  2148. done
  2149. IFS=$as_save_IFS
  2150. fi
  2151. fi
  2152. CC=$ac_cv_prog_CC
  2153. if test -n "$CC"; then
  2154. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2155. $as_echo "$CC" >&6; }
  2156. else
  2157. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2158. $as_echo "no" >&6; }
  2159. fi
  2160. fi
  2161. if test -z "$ac_cv_prog_CC"; then
  2162. ac_ct_CC=$CC
  2163. # Extract the first word of "gcc", so it can be a program name with args.
  2164. set dummy gcc; ac_word=$2
  2165. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2166. $as_echo_n "checking for $ac_word... " >&6; }
  2167. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2168. $as_echo_n "(cached) " >&6
  2169. else
  2170. if test -n "$ac_ct_CC"; then
  2171. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2172. else
  2173. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2174. for as_dir in $PATH
  2175. do
  2176. IFS=$as_save_IFS
  2177. test -z "$as_dir" && as_dir=.
  2178. for ac_exec_ext in '' $ac_executable_extensions; do
  2179. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2180. ac_cv_prog_ac_ct_CC="gcc"
  2181. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2182. break 2
  2183. fi
  2184. done
  2185. done
  2186. IFS=$as_save_IFS
  2187. fi
  2188. fi
  2189. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2190. if test -n "$ac_ct_CC"; then
  2191. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2192. $as_echo "$ac_ct_CC" >&6; }
  2193. else
  2194. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2195. $as_echo "no" >&6; }
  2196. fi
  2197. if test "x$ac_ct_CC" = x; then
  2198. CC=""
  2199. else
  2200. case $cross_compiling:$ac_tool_warned in
  2201. yes:)
  2202. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2203. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2204. ac_tool_warned=yes ;;
  2205. esac
  2206. CC=$ac_ct_CC
  2207. fi
  2208. else
  2209. CC="$ac_cv_prog_CC"
  2210. fi
  2211. if test -z "$CC"; then
  2212. if test -n "$ac_tool_prefix"; then
  2213. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2214. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2215. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2216. $as_echo_n "checking for $ac_word... " >&6; }
  2217. if test "${ac_cv_prog_CC+set}" = set; then :
  2218. $as_echo_n "(cached) " >&6
  2219. else
  2220. if test -n "$CC"; then
  2221. ac_cv_prog_CC="$CC" # Let the user override the test.
  2222. else
  2223. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2224. for as_dir in $PATH
  2225. do
  2226. IFS=$as_save_IFS
  2227. test -z "$as_dir" && as_dir=.
  2228. for ac_exec_ext in '' $ac_executable_extensions; do
  2229. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2230. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2231. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2232. break 2
  2233. fi
  2234. done
  2235. done
  2236. IFS=$as_save_IFS
  2237. fi
  2238. fi
  2239. CC=$ac_cv_prog_CC
  2240. if test -n "$CC"; then
  2241. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2242. $as_echo "$CC" >&6; }
  2243. else
  2244. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2245. $as_echo "no" >&6; }
  2246. fi
  2247. fi
  2248. fi
  2249. if test -z "$CC"; then
  2250. # Extract the first word of "cc", so it can be a program name with args.
  2251. set dummy cc; ac_word=$2
  2252. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2253. $as_echo_n "checking for $ac_word... " >&6; }
  2254. if test "${ac_cv_prog_CC+set}" = set; then :
  2255. $as_echo_n "(cached) " >&6
  2256. else
  2257. if test -n "$CC"; then
  2258. ac_cv_prog_CC="$CC" # Let the user override the test.
  2259. else
  2260. ac_prog_rejected=no
  2261. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2262. for as_dir in $PATH
  2263. do
  2264. IFS=$as_save_IFS
  2265. test -z "$as_dir" && as_dir=.
  2266. for ac_exec_ext in '' $ac_executable_extensions; do
  2267. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2268. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2269. ac_prog_rejected=yes
  2270. continue
  2271. fi
  2272. ac_cv_prog_CC="cc"
  2273. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2274. break 2
  2275. fi
  2276. done
  2277. done
  2278. IFS=$as_save_IFS
  2279. if test $ac_prog_rejected = yes; then
  2280. # We found a bogon in the path, so make sure we never use it.
  2281. set dummy $ac_cv_prog_CC
  2282. shift
  2283. if test $# != 0; then
  2284. # We chose a different compiler from the bogus one.
  2285. # However, it has the same basename, so the bogon will be chosen
  2286. # first if we set CC to just the basename; use the full file name.
  2287. shift
  2288. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2289. fi
  2290. fi
  2291. fi
  2292. fi
  2293. CC=$ac_cv_prog_CC
  2294. if test -n "$CC"; then
  2295. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2296. $as_echo "$CC" >&6; }
  2297. else
  2298. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2299. $as_echo "no" >&6; }
  2300. fi
  2301. fi
  2302. if test -z "$CC"; then
  2303. if test -n "$ac_tool_prefix"; then
  2304. for ac_prog in cl.exe
  2305. do
  2306. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2307. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2308. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2309. $as_echo_n "checking for $ac_word... " >&6; }
  2310. if test "${ac_cv_prog_CC+set}" = set; then :
  2311. $as_echo_n "(cached) " >&6
  2312. else
  2313. if test -n "$CC"; then
  2314. ac_cv_prog_CC="$CC" # Let the user override the test.
  2315. else
  2316. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2317. for as_dir in $PATH
  2318. do
  2319. IFS=$as_save_IFS
  2320. test -z "$as_dir" && as_dir=.
  2321. for ac_exec_ext in '' $ac_executable_extensions; do
  2322. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2323. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2324. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2325. break 2
  2326. fi
  2327. done
  2328. done
  2329. IFS=$as_save_IFS
  2330. fi
  2331. fi
  2332. CC=$ac_cv_prog_CC
  2333. if test -n "$CC"; then
  2334. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2335. $as_echo "$CC" >&6; }
  2336. else
  2337. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2338. $as_echo "no" >&6; }
  2339. fi
  2340. test -n "$CC" && break
  2341. done
  2342. fi
  2343. if test -z "$CC"; then
  2344. ac_ct_CC=$CC
  2345. for ac_prog in cl.exe
  2346. do
  2347. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2348. set dummy $ac_prog; ac_word=$2
  2349. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2350. $as_echo_n "checking for $ac_word... " >&6; }
  2351. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2352. $as_echo_n "(cached) " >&6
  2353. else
  2354. if test -n "$ac_ct_CC"; then
  2355. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2356. else
  2357. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2358. for as_dir in $PATH
  2359. do
  2360. IFS=$as_save_IFS
  2361. test -z "$as_dir" && as_dir=.
  2362. for ac_exec_ext in '' $ac_executable_extensions; do
  2363. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2364. ac_cv_prog_ac_ct_CC="$ac_prog"
  2365. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2366. break 2
  2367. fi
  2368. done
  2369. done
  2370. IFS=$as_save_IFS
  2371. fi
  2372. fi
  2373. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2374. if test -n "$ac_ct_CC"; then
  2375. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2376. $as_echo "$ac_ct_CC" >&6; }
  2377. else
  2378. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2379. $as_echo "no" >&6; }
  2380. fi
  2381. test -n "$ac_ct_CC" && break
  2382. done
  2383. if test "x$ac_ct_CC" = x; then
  2384. CC=""
  2385. else
  2386. case $cross_compiling:$ac_tool_warned in
  2387. yes:)
  2388. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2389. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2390. ac_tool_warned=yes ;;
  2391. esac
  2392. CC=$ac_ct_CC
  2393. fi
  2394. fi
  2395. fi
  2396. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2397. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2398. as_fn_error "no acceptable C compiler found in \$PATH
  2399. See \`config.log' for more details." "$LINENO" 5; }
  2400. # Provide some information about the compiler.
  2401. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2402. set X $ac_compile
  2403. ac_compiler=$2
  2404. for ac_option in --version -v -V -qversion; do
  2405. { { ac_try="$ac_compiler $ac_option >&5"
  2406. case "(($ac_try" in
  2407. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2408. *) ac_try_echo=$ac_try;;
  2409. esac
  2410. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2411. $as_echo "$ac_try_echo"; } >&5
  2412. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2413. ac_status=$?
  2414. if test -s conftest.err; then
  2415. sed '10a\
  2416. ... rest of stderr output deleted ...
  2417. 10q' conftest.err >conftest.er1
  2418. cat conftest.er1 >&5
  2419. fi
  2420. rm -f conftest.er1 conftest.err
  2421. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2422. test $ac_status = 0; }
  2423. done
  2424. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2425. /* end confdefs.h. */
  2426. int
  2427. main ()
  2428. {
  2429. ;
  2430. return 0;
  2431. }
  2432. _ACEOF
  2433. ac_clean_files_save=$ac_clean_files
  2434. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2435. # Try to create an executable without -o first, disregard a.out.
  2436. # It will help us diagnose broken compilers, and finding out an intuition
  2437. # of exeext.
  2438. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2439. $as_echo_n "checking whether the C compiler works... " >&6; }
  2440. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2441. # The possible output files:
  2442. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2443. ac_rmfiles=
  2444. for ac_file in $ac_files
  2445. do
  2446. case $ac_file in
  2447. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2448. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2449. esac
  2450. done
  2451. rm -f $ac_rmfiles
  2452. if { { ac_try="$ac_link_default"
  2453. case "(($ac_try" in
  2454. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2455. *) ac_try_echo=$ac_try;;
  2456. esac
  2457. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2458. $as_echo "$ac_try_echo"; } >&5
  2459. (eval "$ac_link_default") 2>&5
  2460. ac_status=$?
  2461. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2462. test $ac_status = 0; }; then :
  2463. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2464. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2465. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2466. # so that the user can short-circuit this test for compilers unknown to
  2467. # Autoconf.
  2468. for ac_file in $ac_files ''
  2469. do
  2470. test -f "$ac_file" || continue
  2471. case $ac_file in
  2472. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2473. ;;
  2474. [ab].out )
  2475. # We found the default executable, but exeext='' is most
  2476. # certainly right.
  2477. break;;
  2478. *.* )
  2479. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2480. then :; else
  2481. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2482. fi
  2483. # We set ac_cv_exeext here because the later test for it is not
  2484. # safe: cross compilers may not add the suffix if given an `-o'
  2485. # argument, so we may need to know it at that point already.
  2486. # Even if this section looks crufty: it has the advantage of
  2487. # actually working.
  2488. break;;
  2489. * )
  2490. break;;
  2491. esac
  2492. done
  2493. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2494. else
  2495. ac_file=''
  2496. fi
  2497. if test -z "$ac_file"; then :
  2498. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2499. $as_echo "no" >&6; }
  2500. $as_echo "$as_me: failed program was:" >&5
  2501. sed 's/^/| /' conftest.$ac_ext >&5
  2502. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2503. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2504. { as_fn_set_status 77
  2505. as_fn_error "C compiler cannot create executables
  2506. See \`config.log' for more details." "$LINENO" 5; }; }
  2507. else
  2508. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2509. $as_echo "yes" >&6; }
  2510. fi
  2511. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  2512. $as_echo_n "checking for C compiler default output file name... " >&6; }
  2513. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2514. $as_echo "$ac_file" >&6; }
  2515. ac_exeext=$ac_cv_exeext
  2516. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2517. ac_clean_files=$ac_clean_files_save
  2518. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2519. $as_echo_n "checking for suffix of executables... " >&6; }
  2520. if { { ac_try="$ac_link"
  2521. case "(($ac_try" in
  2522. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2523. *) ac_try_echo=$ac_try;;
  2524. esac
  2525. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2526. $as_echo "$ac_try_echo"; } >&5
  2527. (eval "$ac_link") 2>&5
  2528. ac_status=$?
  2529. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2530. test $ac_status = 0; }; then :
  2531. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2532. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2533. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2534. # `rm'.
  2535. for ac_file in conftest.exe conftest conftest.*; do
  2536. test -f "$ac_file" || continue
  2537. case $ac_file in
  2538. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2539. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2540. break;;
  2541. * ) break;;
  2542. esac
  2543. done
  2544. else
  2545. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2546. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2547. as_fn_error "cannot compute suffix of executables: cannot compile and link
  2548. See \`config.log' for more details." "$LINENO" 5; }
  2549. fi
  2550. rm -f conftest conftest$ac_cv_exeext
  2551. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2552. $as_echo "$ac_cv_exeext" >&6; }
  2553. rm -f conftest.$ac_ext
  2554. EXEEXT=$ac_cv_exeext
  2555. ac_exeext=$EXEEXT
  2556. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2557. /* end confdefs.h. */
  2558. #include <stdio.h>
  2559. int
  2560. main ()
  2561. {
  2562. FILE *f = fopen ("conftest.out", "w");
  2563. return ferror (f) || fclose (f) != 0;
  2564. ;
  2565. return 0;
  2566. }
  2567. _ACEOF
  2568. ac_clean_files="$ac_clean_files conftest.out"
  2569. # Check that the compiler produces executables we can run. If not, either
  2570. # the compiler is broken, or we cross compile.
  2571. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2572. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2573. if test "$cross_compiling" != yes; then
  2574. { { ac_try="$ac_link"
  2575. case "(($ac_try" in
  2576. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2577. *) ac_try_echo=$ac_try;;
  2578. esac
  2579. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2580. $as_echo "$ac_try_echo"; } >&5
  2581. (eval "$ac_link") 2>&5
  2582. ac_status=$?
  2583. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2584. test $ac_status = 0; }
  2585. if { ac_try='./conftest$ac_cv_exeext'
  2586. { { case "(($ac_try" in
  2587. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2588. *) ac_try_echo=$ac_try;;
  2589. esac
  2590. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2591. $as_echo "$ac_try_echo"; } >&5
  2592. (eval "$ac_try") 2>&5
  2593. ac_status=$?
  2594. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2595. test $ac_status = 0; }; }; then
  2596. cross_compiling=no
  2597. else
  2598. if test "$cross_compiling" = maybe; then
  2599. cross_compiling=yes
  2600. else
  2601. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2602. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2603. as_fn_error "cannot run C compiled programs.
  2604. If you meant to cross compile, use \`--host'.
  2605. See \`config.log' for more details." "$LINENO" 5; }
  2606. fi
  2607. fi
  2608. fi
  2609. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  2610. $as_echo "$cross_compiling" >&6; }
  2611. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  2612. ac_clean_files=$ac_clean_files_save
  2613. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  2614. $as_echo_n "checking for suffix of object files... " >&6; }
  2615. if test "${ac_cv_objext+set}" = set; then :
  2616. $as_echo_n "(cached) " >&6
  2617. else
  2618. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2619. /* end confdefs.h. */
  2620. int
  2621. main ()
  2622. {
  2623. ;
  2624. return 0;
  2625. }
  2626. _ACEOF
  2627. rm -f conftest.o conftest.obj
  2628. if { { ac_try="$ac_compile"
  2629. case "(($ac_try" in
  2630. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2631. *) ac_try_echo=$ac_try;;
  2632. esac
  2633. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2634. $as_echo "$ac_try_echo"; } >&5
  2635. (eval "$ac_compile") 2>&5
  2636. ac_status=$?
  2637. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2638. test $ac_status = 0; }; then :
  2639. for ac_file in conftest.o conftest.obj conftest.*; do
  2640. test -f "$ac_file" || continue;
  2641. case $ac_file in
  2642. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2643. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2644. break;;
  2645. esac
  2646. done
  2647. else
  2648. $as_echo "$as_me: failed program was:" >&5
  2649. sed 's/^/| /' conftest.$ac_ext >&5
  2650. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2651. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2652. as_fn_error "cannot compute suffix of object files: cannot compile
  2653. See \`config.log' for more details." "$LINENO" 5; }
  2654. fi
  2655. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2656. fi
  2657. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  2658. $as_echo "$ac_cv_objext" >&6; }
  2659. OBJEXT=$ac_cv_objext
  2660. ac_objext=$OBJEXT
  2661. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  2662. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  2663. if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  2664. $as_echo_n "(cached) " >&6
  2665. else
  2666. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2667. /* end confdefs.h. */
  2668. int
  2669. main ()
  2670. {
  2671. #ifndef __GNUC__
  2672. choke me
  2673. #endif
  2674. ;
  2675. return 0;
  2676. }
  2677. _ACEOF
  2678. if ac_fn_c_try_compile "$LINENO"; then :
  2679. ac_compiler_gnu=yes
  2680. else
  2681. ac_compiler_gnu=no
  2682. fi
  2683. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2684. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2685. fi
  2686. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  2687. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  2688. if test $ac_compiler_gnu = yes; then
  2689. GCC=yes
  2690. else
  2691. GCC=
  2692. fi
  2693. ac_test_CFLAGS=${CFLAGS+set}
  2694. ac_save_CFLAGS=$CFLAGS
  2695. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  2696. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  2697. if test "${ac_cv_prog_cc_g+set}" = set; then :
  2698. $as_echo_n "(cached) " >&6
  2699. else
  2700. ac_save_c_werror_flag=$ac_c_werror_flag
  2701. ac_c_werror_flag=yes
  2702. ac_cv_prog_cc_g=no
  2703. CFLAGS="-g"
  2704. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2705. /* end confdefs.h. */
  2706. int
  2707. main ()
  2708. {
  2709. ;
  2710. return 0;
  2711. }
  2712. _ACEOF
  2713. if ac_fn_c_try_compile "$LINENO"; then :
  2714. ac_cv_prog_cc_g=yes
  2715. else
  2716. CFLAGS=""
  2717. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2718. /* end confdefs.h. */
  2719. int
  2720. main ()
  2721. {
  2722. ;
  2723. return 0;
  2724. }
  2725. _ACEOF
  2726. if ac_fn_c_try_compile "$LINENO"; then :
  2727. else
  2728. ac_c_werror_flag=$ac_save_c_werror_flag
  2729. CFLAGS="-g"
  2730. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2731. /* end confdefs.h. */
  2732. int
  2733. main ()
  2734. {
  2735. ;
  2736. return 0;
  2737. }
  2738. _ACEOF
  2739. if ac_fn_c_try_compile "$LINENO"; then :
  2740. ac_cv_prog_cc_g=yes
  2741. fi
  2742. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2743. fi
  2744. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2745. fi
  2746. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2747. ac_c_werror_flag=$ac_save_c_werror_flag
  2748. fi
  2749. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  2750. $as_echo "$ac_cv_prog_cc_g" >&6; }
  2751. if test "$ac_test_CFLAGS" = set; then
  2752. CFLAGS=$ac_save_CFLAGS
  2753. elif test $ac_cv_prog_cc_g = yes; then
  2754. if test "$GCC" = yes; then
  2755. CFLAGS="-g -O2"
  2756. else
  2757. CFLAGS="-g"
  2758. fi
  2759. else
  2760. if test "$GCC" = yes; then
  2761. CFLAGS="-O2"
  2762. else
  2763. CFLAGS=
  2764. fi
  2765. fi
  2766. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  2767. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  2768. if test "${ac_cv_prog_cc_c89+set}" = set; then :
  2769. $as_echo_n "(cached) " >&6
  2770. else
  2771. ac_cv_prog_cc_c89=no
  2772. ac_save_CC=$CC
  2773. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2774. /* end confdefs.h. */
  2775. #include <stdarg.h>
  2776. #include <stdio.h>
  2777. #include <sys/types.h>
  2778. #include <sys/stat.h>
  2779. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  2780. struct buf { int x; };
  2781. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2782. static char *e (p, i)
  2783. char **p;
  2784. int i;
  2785. {
  2786. return p[i];
  2787. }
  2788. static char *f (char * (*g) (char **, int), char **p, ...)
  2789. {
  2790. char *s;
  2791. va_list v;
  2792. va_start (v,p);
  2793. s = g (p, va_arg (v,int));
  2794. va_end (v);
  2795. return s;
  2796. }
  2797. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2798. function prototypes and stuff, but not '\xHH' hex character constants.
  2799. These don't provoke an error unfortunately, instead are silently treated
  2800. as 'x'. The following induces an error, until -std is added to get
  2801. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2802. array size at least. It's necessary to write '\x00'==0 to get something
  2803. that's true only with -std. */
  2804. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2805. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2806. inside strings and character constants. */
  2807. #define FOO(x) 'x'
  2808. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2809. int test (int i, double x);
  2810. struct s1 {int (*f) (int a);};
  2811. struct s2 {int (*f) (double a);};
  2812. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2813. int argc;
  2814. char **argv;
  2815. int
  2816. main ()
  2817. {
  2818. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  2819. ;
  2820. return 0;
  2821. }
  2822. _ACEOF
  2823. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2824. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2825. do
  2826. CC="$ac_save_CC $ac_arg"
  2827. if ac_fn_c_try_compile "$LINENO"; then :
  2828. ac_cv_prog_cc_c89=$ac_arg
  2829. fi
  2830. rm -f core conftest.err conftest.$ac_objext
  2831. test "x$ac_cv_prog_cc_c89" != "xno" && break
  2832. done
  2833. rm -f conftest.$ac_ext
  2834. CC=$ac_save_CC
  2835. fi
  2836. # AC_CACHE_VAL
  2837. case "x$ac_cv_prog_cc_c89" in
  2838. x)
  2839. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  2840. $as_echo "none needed" >&6; } ;;
  2841. xno)
  2842. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  2843. $as_echo "unsupported" >&6; } ;;
  2844. *)
  2845. CC="$CC $ac_cv_prog_cc_c89"
  2846. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  2847. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  2848. esac
  2849. if test "x$ac_cv_prog_cc_c89" != xno; then :
  2850. fi
  2851. ac_ext=c
  2852. ac_cpp='$CPP $CPPFLAGS'
  2853. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2854. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2855. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2856. DEPDIR="${am__leading_dot}deps"
  2857. ac_config_commands="$ac_config_commands depfiles"
  2858. am_make=${MAKE-make}
  2859. cat > confinc << 'END'
  2860. am__doit:
  2861. @echo this is the am__doit target
  2862. .PHONY: am__doit
  2863. END
  2864. # If we don't find an include directive, just comment out the code.
  2865. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  2866. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2867. am__include="#"
  2868. am__quote=
  2869. _am_result=none
  2870. # First try GNU make style include.
  2871. echo "include confinc" > confmf
  2872. # Ignore all kinds of additional output from `make'.
  2873. case `$am_make -s -f confmf 2> /dev/null` in #(
  2874. *the\ am__doit\ target*)
  2875. am__include=include
  2876. am__quote=
  2877. _am_result=GNU
  2878. ;;
  2879. esac
  2880. # Now try BSD make style include.
  2881. if test "$am__include" = "#"; then
  2882. echo '.include "confinc"' > confmf
  2883. case `$am_make -s -f confmf 2> /dev/null` in #(
  2884. *the\ am__doit\ target*)
  2885. am__include=.include
  2886. am__quote="\""
  2887. _am_result=BSD
  2888. ;;
  2889. esac
  2890. fi
  2891. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  2892. $as_echo "$_am_result" >&6; }
  2893. rm -f confinc confmf
  2894. # Check whether --enable-dependency-tracking was given.
  2895. if test "${enable_dependency_tracking+set}" = set; then :
  2896. enableval=$enable_dependency_tracking;
  2897. fi
  2898. if test "x$enable_dependency_tracking" != xno; then
  2899. am_depcomp="$ac_aux_dir/depcomp"
  2900. AMDEPBACKSLASH='\'
  2901. fi
  2902. if test "x$enable_dependency_tracking" != xno; then
  2903. AMDEP_TRUE=
  2904. AMDEP_FALSE='#'
  2905. else
  2906. AMDEP_TRUE='#'
  2907. AMDEP_FALSE=
  2908. fi
  2909. depcc="$CC" am_compiler_list=
  2910. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  2911. $as_echo_n "checking dependency style of $depcc... " >&6; }
  2912. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  2913. $as_echo_n "(cached) " >&6
  2914. else
  2915. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  2916. # We make a subdir and do the tests there. Otherwise we can end up
  2917. # making bogus files that we don't know about and never remove. For
  2918. # instance it was reported that on HP-UX the gcc test will end up
  2919. # making a dummy file named `D' -- because `-MD' means `put the output
  2920. # in D'.
  2921. mkdir conftest.dir
  2922. # Copy depcomp to subdir because otherwise we won't find it if we're
  2923. # using a relative directory.
  2924. cp "$am_depcomp" conftest.dir
  2925. cd conftest.dir
  2926. # We will build objects and dependencies in a subdirectory because
  2927. # it helps to detect inapplicable dependency modes. For instance
  2928. # both Tru64's cc and ICC support -MD to output dependencies as a
  2929. # side effect of compilation, but ICC will put the dependencies in
  2930. # the current directory while Tru64 will put them in the object
  2931. # directory.
  2932. mkdir sub
  2933. am_cv_CC_dependencies_compiler_type=none
  2934. if test "$am_compiler_list" = ""; then
  2935. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  2936. fi
  2937. am__universal=false
  2938. case " $depcc " in #(
  2939. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  2940. esac
  2941. for depmode in $am_compiler_list; do
  2942. # Setup a source with many dependencies, because some compilers
  2943. # like to wrap large dependency lists on column 80 (with \), and
  2944. # we should not choose a depcomp mode which is confused by this.
  2945. #
  2946. # We need to recreate these files for each test, as the compiler may
  2947. # overwrite some of them when testing with obscure command lines.
  2948. # This happens at least with the AIX C compiler.
  2949. : > sub/conftest.c
  2950. for i in 1 2 3 4 5 6; do
  2951. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  2952. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  2953. # Solaris 8's {/usr,}/bin/sh.
  2954. touch sub/conftst$i.h
  2955. done
  2956. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  2957. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  2958. # mode. It turns out that the SunPro C++ compiler does not properly
  2959. # handle `-M -o', and we need to detect this. Also, some Intel
  2960. # versions had trouble with output in subdirs
  2961. am__obj=sub/conftest.${OBJEXT-o}
  2962. am__minus_obj="-o $am__obj"
  2963. case $depmode in
  2964. gcc)
  2965. # This depmode causes a compiler race in universal mode.
  2966. test "$am__universal" = false || continue
  2967. ;;
  2968. nosideeffect)
  2969. # after this tag, mechanisms are not by side-effect, so they'll
  2970. # only be used when explicitly requested
  2971. if test "x$enable_dependency_tracking" = xyes; then
  2972. continue
  2973. else
  2974. break
  2975. fi
  2976. ;;
  2977. msvisualcpp | msvcmsys)
  2978. # This compiler won't grok `-c -o', but also, the minuso test has
  2979. # not run yet. These depmodes are late enough in the game, and
  2980. # so weak that their functioning should not be impacted.
  2981. am__obj=conftest.${OBJEXT-o}
  2982. am__minus_obj=
  2983. ;;
  2984. none) break ;;
  2985. esac
  2986. if depmode=$depmode \
  2987. source=sub/conftest.c object=$am__obj \
  2988. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  2989. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  2990. >/dev/null 2>conftest.err &&
  2991. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  2992. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  2993. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  2994. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  2995. # icc doesn't choke on unknown options, it will just issue warnings
  2996. # or remarks (even with -Werror). So we grep stderr for any message
  2997. # that says an option was ignored or not supported.
  2998. # When given -MP, icc 7.0 and 7.1 complain thusly:
  2999. # icc: Command line warning: ignoring option '-M'; no argument required
  3000. # The diagnosis changed in icc 8.0:
  3001. # icc: Command line remark: option '-MP' not supported
  3002. if (grep 'ignoring option' conftest.err ||
  3003. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3004. am_cv_CC_dependencies_compiler_type=$depmode
  3005. break
  3006. fi
  3007. fi
  3008. done
  3009. cd ..
  3010. rm -rf conftest.dir
  3011. else
  3012. am_cv_CC_dependencies_compiler_type=none
  3013. fi
  3014. fi
  3015. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3016. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3017. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3018. if
  3019. test "x$enable_dependency_tracking" != xno \
  3020. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3021. am__fastdepCC_TRUE=
  3022. am__fastdepCC_FALSE='#'
  3023. else
  3024. am__fastdepCC_TRUE='#'
  3025. am__fastdepCC_FALSE=
  3026. fi
  3027. if test -n "$ac_tool_prefix"; then
  3028. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  3029. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  3030. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3031. $as_echo_n "checking for $ac_word... " >&6; }
  3032. if test "${ac_cv_prog_RANLIB+set}" = set; then :
  3033. $as_echo_n "(cached) " >&6
  3034. else
  3035. if test -n "$RANLIB"; then
  3036. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  3037. else
  3038. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3039. for as_dir in $PATH
  3040. do
  3041. IFS=$as_save_IFS
  3042. test -z "$as_dir" && as_dir=.
  3043. for ac_exec_ext in '' $ac_executable_extensions; do
  3044. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3045. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  3046. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3047. break 2
  3048. fi
  3049. done
  3050. done
  3051. IFS=$as_save_IFS
  3052. fi
  3053. fi
  3054. RANLIB=$ac_cv_prog_RANLIB
  3055. if test -n "$RANLIB"; then
  3056. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  3057. $as_echo "$RANLIB" >&6; }
  3058. else
  3059. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3060. $as_echo "no" >&6; }
  3061. fi
  3062. fi
  3063. if test -z "$ac_cv_prog_RANLIB"; then
  3064. ac_ct_RANLIB=$RANLIB
  3065. # Extract the first word of "ranlib", so it can be a program name with args.
  3066. set dummy ranlib; ac_word=$2
  3067. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3068. $as_echo_n "checking for $ac_word... " >&6; }
  3069. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  3070. $as_echo_n "(cached) " >&6
  3071. else
  3072. if test -n "$ac_ct_RANLIB"; then
  3073. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  3074. else
  3075. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3076. for as_dir in $PATH
  3077. do
  3078. IFS=$as_save_IFS
  3079. test -z "$as_dir" && as_dir=.
  3080. for ac_exec_ext in '' $ac_executable_extensions; do
  3081. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3082. ac_cv_prog_ac_ct_RANLIB="ranlib"
  3083. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3084. break 2
  3085. fi
  3086. done
  3087. done
  3088. IFS=$as_save_IFS
  3089. fi
  3090. fi
  3091. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  3092. if test -n "$ac_ct_RANLIB"; then
  3093. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  3094. $as_echo "$ac_ct_RANLIB" >&6; }
  3095. else
  3096. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3097. $as_echo "no" >&6; }
  3098. fi
  3099. if test "x$ac_ct_RANLIB" = x; then
  3100. RANLIB=":"
  3101. else
  3102. case $cross_compiling:$ac_tool_warned in
  3103. yes:)
  3104. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3105. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3106. ac_tool_warned=yes ;;
  3107. esac
  3108. RANLIB=$ac_ct_RANLIB
  3109. fi
  3110. else
  3111. RANLIB="$ac_cv_prog_RANLIB"
  3112. fi
  3113. # Checks for libraries.
  3114. ac_fn_c_check_func "$LINENO" "gethostent" "ac_cv_func_gethostent"
  3115. if test "x$ac_cv_func_gethostent" = x""yes; then :
  3116. else
  3117. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostent in -lnsl" >&5
  3118. $as_echo_n "checking for gethostent in -lnsl... " >&6; }
  3119. if test "${ac_cv_lib_nsl_gethostent+set}" = set; then :
  3120. $as_echo_n "(cached) " >&6
  3121. else
  3122. ac_check_lib_save_LIBS=$LIBS
  3123. LIBS="-lnsl -lsocket $LIBS"
  3124. # ac_fn_c_try_link LINENO
  3125. # -----------------------
  3126. # Try to link conftest.$ac_ext, and return whether this succeeded.
  3127. ac_fn_c_try_link ()
  3128. {
  3129. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3130. rm -f conftest.$ac_objext conftest$ac_exeext
  3131. if { { ac_try="$ac_link"
  3132. case "(($ac_try" in
  3133. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3134. *) ac_try_echo=$ac_try;;
  3135. esac
  3136. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3137. $as_echo "$ac_try_echo"; } >&5
  3138. (eval "$ac_link") 2>conftest.err
  3139. ac_status=$?
  3140. if test -s conftest.err; then
  3141. grep -v '^ *+' conftest.err >conftest.er1
  3142. cat conftest.er1 >&5
  3143. mv -f conftest.er1 conftest.err
  3144. fi
  3145. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3146. test $ac_status = 0; } && {
  3147. test -z "$ac_c_werror_flag" ||
  3148. test ! -s conftest.err
  3149. } && test -s conftest$ac_exeext && {
  3150. test "$cross_compiling" = yes ||
  3151. $as_test_x conftest$ac_exeext
  3152. }; then :
  3153. ac_retval=0
  3154. else
  3155. $as_echo "$as_me: failed program was:" >&5
  3156. sed 's/^/| /' conftest.$ac_ext >&5
  3157. ac_retval=1
  3158. fi
  3159. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  3160. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  3161. # interfere with the next link command; also delete a directory that is
  3162. # left behind by Apple's compiler. We do this before executing the actions.
  3163. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  3164. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  3165. as_fn_set_status $ac_retval
  3166. } # ac_fn_c_try_link
  3167. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3168. /* end confdefs.h. */
  3169. /* Override any GCC internal prototype to avoid an error.
  3170. Use char because int might match the return type of a GCC
  3171. builtin and then its argument prototype would still apply. */
  3172. #ifdef __cplusplus
  3173. extern "C"
  3174. #endif
  3175. char gethostent ();
  3176. int
  3177. main ()
  3178. {
  3179. return gethostent ();
  3180. ;
  3181. return 0;
  3182. }
  3183. _ACEOF
  3184. if ac_fn_c_try_link "$LINENO"; then :
  3185. ac_cv_lib_nsl_gethostent=yes
  3186. else
  3187. ac_cv_lib_nsl_gethostent=no
  3188. fi
  3189. rm -f core conftest.err conftest.$ac_objext \
  3190. conftest$ac_exeext conftest.$ac_ext
  3191. LIBS=$ac_check_lib_save_LIBS
  3192. fi
  3193. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostent" >&5
  3194. $as_echo "$ac_cv_lib_nsl_gethostent" >&6; }
  3195. if test "x$ac_cv_lib_nsl_gethostent" = x""yes; then :
  3196. cat >>confdefs.h <<_ACEOF
  3197. #define HAVE_LIBNSL 1
  3198. _ACEOF
  3199. LIBS="-lnsl $LIBS"
  3200. fi
  3201. fi
  3202. ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt"
  3203. if test "x$ac_cv_func_setsockopt" = x""yes; then :
  3204. else
  3205. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5
  3206. $as_echo_n "checking for setsockopt in -lsocket... " >&6; }
  3207. if test "${ac_cv_lib_socket_setsockopt+set}" = set; then :
  3208. $as_echo_n "(cached) " >&6
  3209. else
  3210. ac_check_lib_save_LIBS=$LIBS
  3211. LIBS="-lsocket $LIBS"
  3212. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3213. /* end confdefs.h. */
  3214. /* Override any GCC internal prototype to avoid an error.
  3215. Use char because int might match the return type of a GCC
  3216. builtin and then its argument prototype would still apply. */
  3217. #ifdef __cplusplus
  3218. extern "C"
  3219. #endif
  3220. char setsockopt ();
  3221. int
  3222. main ()
  3223. {
  3224. return setsockopt ();
  3225. ;
  3226. return 0;
  3227. }
  3228. _ACEOF
  3229. if ac_fn_c_try_link "$LINENO"; then :
  3230. ac_cv_lib_socket_setsockopt=yes
  3231. else
  3232. ac_cv_lib_socket_setsockopt=no
  3233. fi
  3234. rm -f core conftest.err conftest.$ac_objext \
  3235. conftest$ac_exeext conftest.$ac_ext
  3236. LIBS=$ac_check_lib_save_LIBS
  3237. fi
  3238. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5
  3239. $as_echo "$ac_cv_lib_socket_setsockopt" >&6; }
  3240. if test "x$ac_cv_lib_socket_setsockopt" = x""yes; then :
  3241. cat >>confdefs.h <<_ACEOF
  3242. #define HAVE_LIBSOCKET 1
  3243. _ACEOF
  3244. LIBS="-lsocket $LIBS"
  3245. fi
  3246. fi
  3247. ac_fn_c_check_func "$LINENO" "res_init" "ac_cv_func_res_init"
  3248. if test "x$ac_cv_func_res_init" = x""yes; then :
  3249. else
  3250. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init in -lresolv" >&5
  3251. $as_echo_n "checking for res_init in -lresolv... " >&6; }
  3252. if test "${ac_cv_lib_resolv_res_init+set}" = set; then :
  3253. $as_echo_n "(cached) " >&6
  3254. else
  3255. ac_check_lib_save_LIBS=$LIBS
  3256. LIBS="-lresolv $LIBS"
  3257. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3258. /* end confdefs.h. */
  3259. /* Override any GCC internal prototype to avoid an error.
  3260. Use char because int might match the return type of a GCC
  3261. builtin and then its argument prototype would still apply. */
  3262. #ifdef __cplusplus
  3263. extern "C"
  3264. #endif
  3265. char res_init ();
  3266. int
  3267. main ()
  3268. {
  3269. return res_init ();
  3270. ;
  3271. return 0;
  3272. }
  3273. _ACEOF
  3274. if ac_fn_c_try_link "$LINENO"; then :
  3275. ac_cv_lib_resolv_res_init=yes
  3276. else
  3277. ac_cv_lib_resolv_res_init=no
  3278. fi
  3279. rm -f core conftest.err conftest.$ac_objext \
  3280. conftest$ac_exeext conftest.$ac_ext
  3281. LIBS=$ac_check_lib_save_LIBS
  3282. fi
  3283. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_init" >&5
  3284. $as_echo "$ac_cv_lib_resolv_res_init" >&6; }
  3285. if test "x$ac_cv_lib_resolv_res_init" = x""yes; then :
  3286. cat >>confdefs.h <<_ACEOF
  3287. #define HAVE_LIBRESOLV 1
  3288. _ACEOF
  3289. LIBS="-lresolv $LIBS"
  3290. fi
  3291. fi
  3292. # Checks for header files.
  3293. # Checks for typedefs, structures, and compiler characteristics.
  3294. ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "
  3295. #include <sys/types.h>
  3296. #include <netinet/in.h>
  3297. "
  3298. if test "x$ac_cv_type_u_int32_t" = x""yes; then :
  3299. else
  3300. $as_echo "#define u_int32_t unsigned int" >>confdefs.h
  3301. fi
  3302. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for name of NS address list" >&5
  3303. $as_echo_n "checking for name of NS address list... " >&6; }
  3304. if test "${ac_cv_var_ns_addr_list+set}" = set; then :
  3305. $as_echo_n "(cached) " >&6
  3306. else
  3307. ans=''
  3308. # Normal
  3309. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3310. /* end confdefs.h. */
  3311. #include <sys/types.h>
  3312. #include <netinet/in.h>
  3313. #include <arpa/nameser.h>
  3314. #include <resolv.h>
  3315. int
  3316. main ()
  3317. {
  3318. return sizeof(_res.nsaddr_list);
  3319. ;
  3320. return 0;
  3321. }
  3322. _ACEOF
  3323. if ac_fn_c_try_compile "$LINENO"; then :
  3324. ans=nsaddr_list
  3325. else
  3326. # Ultrix
  3327. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3328. /* end confdefs.h. */
  3329. #include <sys/types.h>
  3330. #include <netinet/in.h>
  3331. #include <arpa/nameser.h>
  3332. #include <resolv.h>
  3333. int
  3334. main ()
  3335. {
  3336. return sizeof(_res.ns_list);
  3337. ;
  3338. return 0;
  3339. }
  3340. _ACEOF
  3341. if ac_fn_c_try_compile "$LINENO"; then :
  3342. ans=ns_list
  3343. fi
  3344. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3345. fi
  3346. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3347. case "$ans" in
  3348. '') { $as_echo "$as_me:${as_lineno-$LINENO}: result: ???" >&5
  3349. $as_echo "???" >&6; }
  3350. as_fn_error "Can't find nameserver address list in _res" "$LINENO" 5
  3351. ;;
  3352. esac
  3353. ac_cv_var_ns_addr_list=$ans
  3354. fi
  3355. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_ns_addr_list" >&5
  3356. $as_echo "$ac_cv_var_ns_addr_list" >&6; }
  3357. cat >>confdefs.h <<_ACEOF
  3358. #define NS_ADDR_LIST $ans
  3359. _ACEOF
  3360. # Checks for library functions.
  3361. ac_config_files="$ac_config_files Makefile"
  3362. cat >confcache <<\_ACEOF
  3363. # This file is a shell script that caches the results of configure
  3364. # tests run on this system so they can be shared between configure
  3365. # scripts and configure runs, see configure's option --config-cache.
  3366. # It is not useful on other systems. If it contains results you don't
  3367. # want to keep, you may remove or edit it.
  3368. #
  3369. # config.status only pays attention to the cache file if you give it
  3370. # the --recheck option to rerun configure.
  3371. #
  3372. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  3373. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  3374. # following values.
  3375. _ACEOF
  3376. # The following way of writing the cache mishandles newlines in values,
  3377. # but we know of no workaround that is simple, portable, and efficient.
  3378. # So, we kill variables containing newlines.
  3379. # Ultrix sh set writes to stderr and can't be redirected directly,
  3380. # and sets the high bit in the cache file unless we assign to the vars.
  3381. (
  3382. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  3383. eval ac_val=\$$ac_var
  3384. case $ac_val in #(
  3385. *${as_nl}*)
  3386. case $ac_var in #(
  3387. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3388. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3389. esac
  3390. case $ac_var in #(
  3391. _ | IFS | as_nl) ;; #(
  3392. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3393. *) { eval $ac_var=; unset $ac_var;} ;;
  3394. esac ;;
  3395. esac
  3396. done
  3397. (set) 2>&1 |
  3398. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  3399. *${as_nl}ac_space=\ *)
  3400. # `set' does not quote correctly, so add quotes: double-quote
  3401. # substitution turns \\\\ into \\, and sed turns \\ into \.
  3402. sed -n \
  3403. "s/'/'\\\\''/g;
  3404. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  3405. ;; #(
  3406. *)
  3407. # `set' quotes correctly as required by POSIX, so do not add quotes.
  3408. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3409. ;;
  3410. esac |
  3411. sort
  3412. ) |
  3413. sed '
  3414. /^ac_cv_env_/b end
  3415. t clear
  3416. :clear
  3417. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  3418. t end
  3419. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  3420. :end' >>confcache
  3421. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  3422. if test -w "$cache_file"; then
  3423. test "x$cache_file" != "x/dev/null" &&
  3424. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  3425. $as_echo "$as_me: updating cache $cache_file" >&6;}
  3426. cat confcache >$cache_file
  3427. else
  3428. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  3429. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  3430. fi
  3431. fi
  3432. rm -f confcache
  3433. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  3434. # Let make expand exec_prefix.
  3435. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  3436. # Transform confdefs.h into DEFS.
  3437. # Protect against shell expansion while executing Makefile rules.
  3438. # Protect against Makefile macro expansion.
  3439. #
  3440. # If the first sed substitution is executed (which looks for macros that
  3441. # take arguments), then branch to the quote section. Otherwise,
  3442. # look for a macro that doesn't take arguments.
  3443. ac_script='
  3444. :mline
  3445. /\\$/{
  3446. N
  3447. s,\\\n,,
  3448. b mline
  3449. }
  3450. t clear
  3451. :clear
  3452. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  3453. t quote
  3454. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  3455. t quote
  3456. b any
  3457. :quote
  3458. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  3459. s/\[/\\&/g
  3460. s/\]/\\&/g
  3461. s/\$/$$/g
  3462. H
  3463. :any
  3464. ${
  3465. g
  3466. s/^\n//
  3467. s/\n/ /g
  3468. p
  3469. }
  3470. '
  3471. DEFS=`sed -n "$ac_script" confdefs.h`
  3472. ac_libobjs=
  3473. ac_ltlibobjs=
  3474. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  3475. # 1. Remove the extension, and $U if already installed.
  3476. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  3477. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  3478. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  3479. # will be set to the directory where LIBOBJS objects are built.
  3480. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  3481. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  3482. done
  3483. LIBOBJS=$ac_libobjs
  3484. LTLIBOBJS=$ac_ltlibobjs
  3485. if test -n "$EXEEXT"; then
  3486. am__EXEEXT_TRUE=
  3487. am__EXEEXT_FALSE='#'
  3488. else
  3489. am__EXEEXT_TRUE='#'
  3490. am__EXEEXT_FALSE=
  3491. fi
  3492. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  3493. as_fn_error "conditional \"AMDEP\" was never defined.
  3494. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  3495. fi
  3496. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  3497. as_fn_error "conditional \"am__fastdepCC\" was never defined.
  3498. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  3499. fi
  3500. : ${CONFIG_STATUS=./config.status}
  3501. ac_write_fail=0
  3502. ac_clean_files_save=$ac_clean_files
  3503. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  3504. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  3505. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  3506. as_write_fail=0
  3507. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  3508. #! $SHELL
  3509. # Generated by $as_me.
  3510. # Run this file to recreate the current configuration.
  3511. # Compiler output produced by configure, useful for debugging
  3512. # configure, is in config.log if it exists.
  3513. debug=false
  3514. ac_cs_recheck=false
  3515. ac_cs_silent=false
  3516. SHELL=\${CONFIG_SHELL-$SHELL}
  3517. export SHELL
  3518. _ASEOF
  3519. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  3520. ## -------------------- ##
  3521. ## M4sh Initialization. ##
  3522. ## -------------------- ##
  3523. # Be more Bourne compatible
  3524. DUALCASE=1; export DUALCASE # for MKS sh
  3525. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  3526. emulate sh
  3527. NULLCMD=:
  3528. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  3529. # is contrary to our usage. Disable this feature.
  3530. alias -g '${1+"$@"}'='"$@"'
  3531. setopt NO_GLOB_SUBST
  3532. else
  3533. case `(set -o) 2>/dev/null` in #(
  3534. *posix*) :
  3535. set -o posix ;; #(
  3536. *) :
  3537. ;;
  3538. esac
  3539. fi
  3540. as_nl='
  3541. '
  3542. export as_nl
  3543. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  3544. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  3545. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  3546. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  3547. # Prefer a ksh shell builtin over an external printf program on Solaris,
  3548. # but without wasting forks for bash or zsh.
  3549. if test -z "$BASH_VERSION$ZSH_VERSION" \
  3550. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  3551. as_echo='print -r --'
  3552. as_echo_n='print -rn --'
  3553. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  3554. as_echo='printf %s\n'
  3555. as_echo_n='printf %s'
  3556. else
  3557. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  3558. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  3559. as_echo_n='/usr/ucb/echo -n'
  3560. else
  3561. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  3562. as_echo_n_body='eval
  3563. arg=$1;
  3564. case $arg in #(
  3565. *"$as_nl"*)
  3566. expr "X$arg" : "X\\(.*\\)$as_nl";
  3567. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  3568. esac;
  3569. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  3570. '
  3571. export as_echo_n_body
  3572. as_echo_n='sh -c $as_echo_n_body as_echo'
  3573. fi
  3574. export as_echo_body
  3575. as_echo='sh -c $as_echo_body as_echo'
  3576. fi
  3577. # The user is always right.
  3578. if test "${PATH_SEPARATOR+set}" != set; then
  3579. PATH_SEPARATOR=:
  3580. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  3581. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  3582. PATH_SEPARATOR=';'
  3583. }
  3584. fi
  3585. # IFS
  3586. # We need space, tab and new line, in precisely that order. Quoting is
  3587. # there to prevent editors from complaining about space-tab.
  3588. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  3589. # splitting by setting IFS to empty value.)
  3590. IFS=" "" $as_nl"
  3591. # Find who we are. Look in the path if we contain no directory separator.
  3592. case $0 in #((
  3593. *[\\/]* ) as_myself=$0 ;;
  3594. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3595. for as_dir in $PATH
  3596. do
  3597. IFS=$as_save_IFS
  3598. test -z "$as_dir" && as_dir=.
  3599. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  3600. done
  3601. IFS=$as_save_IFS
  3602. ;;
  3603. esac
  3604. # We did not find ourselves, most probably we were run as `sh COMMAND'
  3605. # in which case we are not to be found in the path.
  3606. if test "x$as_myself" = x; then
  3607. as_myself=$0
  3608. fi
  3609. if test ! -f "$as_myself"; then
  3610. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  3611. exit 1
  3612. fi
  3613. # Unset variables that we do not need and which cause bugs (e.g. in
  3614. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  3615. # suppresses any "Segmentation fault" message there. '((' could
  3616. # trigger a bug in pdksh 5.2.14.
  3617. for as_var in BASH_ENV ENV MAIL MAILPATH
  3618. do eval test x\${$as_var+set} = xset \
  3619. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  3620. done
  3621. PS1='$ '
  3622. PS2='> '
  3623. PS4='+ '
  3624. # NLS nuisances.
  3625. LC_ALL=C
  3626. export LC_ALL
  3627. LANGUAGE=C
  3628. export LANGUAGE
  3629. # CDPATH.
  3630. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  3631. # as_fn_error ERROR [LINENO LOG_FD]
  3632. # ---------------------------------
  3633. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  3634. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  3635. # script with status $?, using 1 if that was 0.
  3636. as_fn_error ()
  3637. {
  3638. as_status=$?; test $as_status -eq 0 && as_status=1
  3639. if test "$3"; then
  3640. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3641. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  3642. fi
  3643. $as_echo "$as_me: error: $1" >&2
  3644. as_fn_exit $as_status
  3645. } # as_fn_error
  3646. # as_fn_set_status STATUS
  3647. # -----------------------
  3648. # Set $? to STATUS, without forking.
  3649. as_fn_set_status ()
  3650. {
  3651. return $1
  3652. } # as_fn_set_status
  3653. # as_fn_exit STATUS
  3654. # -----------------
  3655. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  3656. as_fn_exit ()
  3657. {
  3658. set +e
  3659. as_fn_set_status $1
  3660. exit $1
  3661. } # as_fn_exit
  3662. # as_fn_unset VAR
  3663. # ---------------
  3664. # Portably unset VAR.
  3665. as_fn_unset ()
  3666. {
  3667. { eval $1=; unset $1;}
  3668. }
  3669. as_unset=as_fn_unset
  3670. # as_fn_append VAR VALUE
  3671. # ----------------------
  3672. # Append the text in VALUE to the end of the definition contained in VAR. Take
  3673. # advantage of any shell optimizations that allow amortized linear growth over
  3674. # repeated appends, instead of the typical quadratic growth present in naive
  3675. # implementations.
  3676. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  3677. eval 'as_fn_append ()
  3678. {
  3679. eval $1+=\$2
  3680. }'
  3681. else
  3682. as_fn_append ()
  3683. {
  3684. eval $1=\$$1\$2
  3685. }
  3686. fi # as_fn_append
  3687. # as_fn_arith ARG...
  3688. # ------------------
  3689. # Perform arithmetic evaluation on the ARGs, and store the result in the
  3690. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  3691. # must be portable across $(()) and expr.
  3692. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  3693. eval 'as_fn_arith ()
  3694. {
  3695. as_val=$(( $* ))
  3696. }'
  3697. else
  3698. as_fn_arith ()
  3699. {
  3700. as_val=`expr "$@" || test $? -eq 1`
  3701. }
  3702. fi # as_fn_arith
  3703. if expr a : '\(a\)' >/dev/null 2>&1 &&
  3704. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  3705. as_expr=expr
  3706. else
  3707. as_expr=false
  3708. fi
  3709. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  3710. as_basename=basename
  3711. else
  3712. as_basename=false
  3713. fi
  3714. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  3715. as_dirname=dirname
  3716. else
  3717. as_dirname=false
  3718. fi
  3719. as_me=`$as_basename -- "$0" ||
  3720. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  3721. X"$0" : 'X\(//\)$' \| \
  3722. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  3723. $as_echo X/"$0" |
  3724. sed '/^.*\/\([^/][^/]*\)\/*$/{
  3725. s//\1/
  3726. q
  3727. }
  3728. /^X\/\(\/\/\)$/{
  3729. s//\1/
  3730. q
  3731. }
  3732. /^X\/\(\/\).*/{
  3733. s//\1/
  3734. q
  3735. }
  3736. s/.*/./; q'`
  3737. # Avoid depending upon Character Ranges.
  3738. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  3739. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  3740. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  3741. as_cr_digits='0123456789'
  3742. as_cr_alnum=$as_cr_Letters$as_cr_digits
  3743. ECHO_C= ECHO_N= ECHO_T=
  3744. case `echo -n x` in #(((((
  3745. -n*)
  3746. case `echo 'xy\c'` in
  3747. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  3748. xy) ECHO_C='\c';;
  3749. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  3750. ECHO_T=' ';;
  3751. esac;;
  3752. *)
  3753. ECHO_N='-n';;
  3754. esac
  3755. rm -f conf$$ conf$$.exe conf$$.file
  3756. if test -d conf$$.dir; then
  3757. rm -f conf$$.dir/conf$$.file
  3758. else
  3759. rm -f conf$$.dir
  3760. mkdir conf$$.dir 2>/dev/null
  3761. fi
  3762. if (echo >conf$$.file) 2>/dev/null; then
  3763. if ln -s conf$$.file conf$$ 2>/dev/null; then
  3764. as_ln_s='ln -s'
  3765. # ... but there are two gotchas:
  3766. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  3767. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  3768. # In both cases, we have to default to `cp -p'.
  3769. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  3770. as_ln_s='cp -p'
  3771. elif ln conf$$.file conf$$ 2>/dev/null; then
  3772. as_ln_s=ln
  3773. else
  3774. as_ln_s='cp -p'
  3775. fi
  3776. else
  3777. as_ln_s='cp -p'
  3778. fi
  3779. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  3780. rmdir conf$$.dir 2>/dev/null
  3781. # as_fn_mkdir_p
  3782. # -------------
  3783. # Create "$as_dir" as a directory, including parents if necessary.
  3784. as_fn_mkdir_p ()
  3785. {
  3786. case $as_dir in #(
  3787. -*) as_dir=./$as_dir;;
  3788. esac
  3789. test -d "$as_dir" || eval $as_mkdir_p || {
  3790. as_dirs=
  3791. while :; do
  3792. case $as_dir in #(
  3793. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  3794. *) as_qdir=$as_dir;;
  3795. esac
  3796. as_dirs="'$as_qdir' $as_dirs"
  3797. as_dir=`$as_dirname -- "$as_dir" ||
  3798. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3799. X"$as_dir" : 'X\(//\)[^/]' \| \
  3800. X"$as_dir" : 'X\(//\)$' \| \
  3801. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  3802. $as_echo X"$as_dir" |
  3803. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  3804. s//\1/
  3805. q
  3806. }
  3807. /^X\(\/\/\)[^/].*/{
  3808. s//\1/
  3809. q
  3810. }
  3811. /^X\(\/\/\)$/{
  3812. s//\1/
  3813. q
  3814. }
  3815. /^X\(\/\).*/{
  3816. s//\1/
  3817. q
  3818. }
  3819. s/.*/./; q'`
  3820. test -d "$as_dir" && break
  3821. done
  3822. test -z "$as_dirs" || eval "mkdir $as_dirs"
  3823. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  3824. } # as_fn_mkdir_p
  3825. if mkdir -p . 2>/dev/null; then
  3826. as_mkdir_p='mkdir -p "$as_dir"'
  3827. else
  3828. test -d ./-p && rmdir ./-p
  3829. as_mkdir_p=false
  3830. fi
  3831. if test -x / >/dev/null 2>&1; then
  3832. as_test_x='test -x'
  3833. else
  3834. if ls -dL / >/dev/null 2>&1; then
  3835. as_ls_L_option=L
  3836. else
  3837. as_ls_L_option=
  3838. fi
  3839. as_test_x='
  3840. eval sh -c '\''
  3841. if test -d "$1"; then
  3842. test -d "$1/.";
  3843. else
  3844. case $1 in #(
  3845. -*)set "./$1";;
  3846. esac;
  3847. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  3848. ???[sx]*):;;*)false;;esac;fi
  3849. '\'' sh
  3850. '
  3851. fi
  3852. as_executable_p=$as_test_x
  3853. # Sed expression to map a string onto a valid CPP name.
  3854. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  3855. # Sed expression to map a string onto a valid variable name.
  3856. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  3857. exec 6>&1
  3858. ## ----------------------------------- ##
  3859. ## Main body of $CONFIG_STATUS script. ##
  3860. ## ----------------------------------- ##
  3861. _ASEOF
  3862. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  3863. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3864. # Save the log message, to keep $0 and so on meaningful, and to
  3865. # report actual input values of CONFIG_FILES etc. instead of their
  3866. # values after options handling.
  3867. ac_log="
  3868. This file was extended by $as_me, which was
  3869. generated by GNU Autoconf 2.65. Invocation command line was
  3870. CONFIG_FILES = $CONFIG_FILES
  3871. CONFIG_HEADERS = $CONFIG_HEADERS
  3872. CONFIG_LINKS = $CONFIG_LINKS
  3873. CONFIG_COMMANDS = $CONFIG_COMMANDS
  3874. $ $0 $@
  3875. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  3876. "
  3877. _ACEOF
  3878. case $ac_config_files in *"
  3879. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  3880. esac
  3881. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3882. # Files that config.status was made for.
  3883. config_files="$ac_config_files"
  3884. config_commands="$ac_config_commands"
  3885. _ACEOF
  3886. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3887. ac_cs_usage="\
  3888. \`$as_me' instantiates files and other configuration actions
  3889. from templates according to the current configuration. Unless the files
  3890. and actions are specified as TAGs, all are instantiated by default.
  3891. Usage: $0 [OPTION]... [TAG]...
  3892. -h, --help print this help, then exit
  3893. -V, --version print version number and configuration settings, then exit
  3894. --config print configuration, then exit
  3895. -q, --quiet, --silent
  3896. do not print progress messages
  3897. -d, --debug don't remove temporary files
  3898. --recheck update $as_me by reconfiguring in the same conditions
  3899. --file=FILE[:TEMPLATE]
  3900. instantiate the configuration file FILE
  3901. Configuration files:
  3902. $config_files
  3903. Configuration commands:
  3904. $config_commands
  3905. Report bugs to the package provider."
  3906. _ACEOF
  3907. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3908. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  3909. ac_cs_version="\\
  3910. config.status
  3911. configured by $0, generated by GNU Autoconf 2.65,
  3912. with options \\"\$ac_cs_config\\"
  3913. Copyright (C) 2009 Free Software Foundation, Inc.
  3914. This config.status script is free software; the Free Software Foundation
  3915. gives unlimited permission to copy, distribute and modify it."
  3916. ac_pwd='$ac_pwd'
  3917. srcdir='$srcdir'
  3918. INSTALL='$INSTALL'
  3919. MKDIR_P='$MKDIR_P'
  3920. AWK='$AWK'
  3921. test -n "\$AWK" || AWK=awk
  3922. _ACEOF
  3923. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3924. # The default lists apply if the user does not specify any file.
  3925. ac_need_defaults=:
  3926. while test $# != 0
  3927. do
  3928. case $1 in
  3929. --*=*)
  3930. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  3931. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  3932. ac_shift=:
  3933. ;;
  3934. *)
  3935. ac_option=$1
  3936. ac_optarg=$2
  3937. ac_shift=shift
  3938. ;;
  3939. esac
  3940. case $ac_option in
  3941. # Handling of the options.
  3942. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  3943. ac_cs_recheck=: ;;
  3944. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  3945. $as_echo "$ac_cs_version"; exit ;;
  3946. --config | --confi | --conf | --con | --co | --c )
  3947. $as_echo "$ac_cs_config"; exit ;;
  3948. --debug | --debu | --deb | --de | --d | -d )
  3949. debug=: ;;
  3950. --file | --fil | --fi | --f )
  3951. $ac_shift
  3952. case $ac_optarg in
  3953. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3954. esac
  3955. as_fn_append CONFIG_FILES " '$ac_optarg'"
  3956. ac_need_defaults=false;;
  3957. --he | --h | --help | --hel | -h )
  3958. $as_echo "$ac_cs_usage"; exit ;;
  3959. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3960. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  3961. ac_cs_silent=: ;;
  3962. # This is an error.
  3963. -*) as_fn_error "unrecognized option: \`$1'
  3964. Try \`$0 --help' for more information." ;;
  3965. *) as_fn_append ac_config_targets " $1"
  3966. ac_need_defaults=false ;;
  3967. esac
  3968. shift
  3969. done
  3970. ac_configure_extra_args=
  3971. if $ac_cs_silent; then
  3972. exec 6>/dev/null
  3973. ac_configure_extra_args="$ac_configure_extra_args --silent"
  3974. fi
  3975. _ACEOF
  3976. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3977. if \$ac_cs_recheck; then
  3978. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  3979. shift
  3980. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  3981. CONFIG_SHELL='$SHELL'
  3982. export CONFIG_SHELL
  3983. exec "\$@"
  3984. fi
  3985. _ACEOF
  3986. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3987. exec 5>>config.log
  3988. {
  3989. echo
  3990. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  3991. ## Running $as_me. ##
  3992. _ASBOX
  3993. $as_echo "$ac_log"
  3994. } >&5
  3995. _ACEOF
  3996. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3997. #
  3998. # INIT-COMMANDS
  3999. #
  4000. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  4001. _ACEOF
  4002. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4003. # Handling of arguments.
  4004. for ac_config_target in $ac_config_targets
  4005. do
  4006. case $ac_config_target in
  4007. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  4008. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  4009. *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  4010. esac
  4011. done
  4012. # If the user did not use the arguments to specify the items to instantiate,
  4013. # then the envvar interface is used. Set only those that are not.
  4014. # We use the long form for the default assignment because of an extremely
  4015. # bizarre bug on SunOS 4.1.3.
  4016. if $ac_need_defaults; then
  4017. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  4018. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  4019. fi
  4020. # Have a temporary directory for convenience. Make it in the build tree
  4021. # simply because there is no reason against having it here, and in addition,
  4022. # creating and moving files from /tmp can sometimes cause problems.
  4023. # Hook for its removal unless debugging.
  4024. # Note that there is a small window in which the directory will not be cleaned:
  4025. # after its creation but before its name has been assigned to `$tmp'.
  4026. $debug ||
  4027. {
  4028. tmp=
  4029. trap 'exit_status=$?
  4030. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  4031. ' 0
  4032. trap 'as_fn_exit 1' 1 2 13 15
  4033. }
  4034. # Create a (secure) tmp directory for tmp files.
  4035. {
  4036. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  4037. test -n "$tmp" && test -d "$tmp"
  4038. } ||
  4039. {
  4040. tmp=./conf$$-$RANDOM
  4041. (umask 077 && mkdir "$tmp")
  4042. } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  4043. # Set up the scripts for CONFIG_FILES section.
  4044. # No need to generate them if there are no CONFIG_FILES.
  4045. # This happens for instance with `./config.status config.h'.
  4046. if test -n "$CONFIG_FILES"; then
  4047. ac_cr=`echo X | tr X '\015'`
  4048. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  4049. # But we know of no other shell where ac_cr would be empty at this
  4050. # point, so we can use a bashism as a fallback.
  4051. if test "x$ac_cr" = x; then
  4052. eval ac_cr=\$\'\\r\'
  4053. fi
  4054. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  4055. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  4056. ac_cs_awk_cr='\r'
  4057. else
  4058. ac_cs_awk_cr=$ac_cr
  4059. fi
  4060. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  4061. _ACEOF
  4062. {
  4063. echo "cat >conf$$subs.awk <<_ACEOF" &&
  4064. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  4065. echo "_ACEOF"
  4066. } >conf$$subs.sh ||
  4067. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4068. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  4069. ac_delim='%!_!# '
  4070. for ac_last_try in false false false false false :; do
  4071. . ./conf$$subs.sh ||
  4072. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4073. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  4074. if test $ac_delim_n = $ac_delim_num; then
  4075. break
  4076. elif $ac_last_try; then
  4077. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4078. else
  4079. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  4080. fi
  4081. done
  4082. rm -f conf$$subs.sh
  4083. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4084. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  4085. _ACEOF
  4086. sed -n '
  4087. h
  4088. s/^/S["/; s/!.*/"]=/
  4089. p
  4090. g
  4091. s/^[^!]*!//
  4092. :repl
  4093. t repl
  4094. s/'"$ac_delim"'$//
  4095. t delim
  4096. :nl
  4097. h
  4098. s/\(.\{148\}\)..*/\1/
  4099. t more1
  4100. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  4101. p
  4102. n
  4103. b repl
  4104. :more1
  4105. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4106. p
  4107. g
  4108. s/.\{148\}//
  4109. t nl
  4110. :delim
  4111. h
  4112. s/\(.\{148\}\)..*/\1/
  4113. t more2
  4114. s/["\\]/\\&/g; s/^/"/; s/$/"/
  4115. p
  4116. b
  4117. :more2
  4118. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4119. p
  4120. g
  4121. s/.\{148\}//
  4122. t delim
  4123. ' <conf$$subs.awk | sed '
  4124. /^[^""]/{
  4125. N
  4126. s/\n//
  4127. }
  4128. ' >>$CONFIG_STATUS || ac_write_fail=1
  4129. rm -f conf$$subs.awk
  4130. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4131. _ACAWK
  4132. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  4133. for (key in S) S_is_set[key] = 1
  4134. FS = ""
  4135. }
  4136. {
  4137. line = $ 0
  4138. nfields = split(line, field, "@")
  4139. substed = 0
  4140. len = length(field[1])
  4141. for (i = 2; i < nfields; i++) {
  4142. key = field[i]
  4143. keylen = length(key)
  4144. if (S_is_set[key]) {
  4145. value = S[key]
  4146. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  4147. len += length(value) + length(field[++i])
  4148. substed = 1
  4149. } else
  4150. len += 1 + keylen
  4151. }
  4152. print line
  4153. }
  4154. _ACAWK
  4155. _ACEOF
  4156. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4157. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  4158. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  4159. else
  4160. cat
  4161. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  4162. || as_fn_error "could not setup config files machinery" "$LINENO" 5
  4163. _ACEOF
  4164. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  4165. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  4166. # trailing colons and then remove the whole line if VPATH becomes empty
  4167. # (actually we leave an empty line to preserve line numbers).
  4168. if test "x$srcdir" = x.; then
  4169. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  4170. s/:*\$(srcdir):*/:/
  4171. s/:*\${srcdir}:*/:/
  4172. s/:*@srcdir@:*/:/
  4173. s/^\([^=]*=[ ]*\):*/\1/
  4174. s/:*$//
  4175. s/^[^=]*=[ ]*$//
  4176. }'
  4177. fi
  4178. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4179. fi # test -n "$CONFIG_FILES"
  4180. eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
  4181. shift
  4182. for ac_tag
  4183. do
  4184. case $ac_tag in
  4185. :[FHLC]) ac_mode=$ac_tag; continue;;
  4186. esac
  4187. case $ac_mode$ac_tag in
  4188. :[FHL]*:*);;
  4189. :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  4190. :[FH]-) ac_tag=-:-;;
  4191. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  4192. esac
  4193. ac_save_IFS=$IFS
  4194. IFS=:
  4195. set x $ac_tag
  4196. IFS=$ac_save_IFS
  4197. shift
  4198. ac_file=$1
  4199. shift
  4200. case $ac_mode in
  4201. :L) ac_source=$1;;
  4202. :[FH])
  4203. ac_file_inputs=
  4204. for ac_f
  4205. do
  4206. case $ac_f in
  4207. -) ac_f="$tmp/stdin";;
  4208. *) # Look for the file first in the build tree, then in the source tree
  4209. # (if the path is not absolute). The absolute path cannot be DOS-style,
  4210. # because $ac_f cannot contain `:'.
  4211. test -f "$ac_f" ||
  4212. case $ac_f in
  4213. [\\/$]*) false;;
  4214. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  4215. esac ||
  4216. as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  4217. esac
  4218. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  4219. as_fn_append ac_file_inputs " '$ac_f'"
  4220. done
  4221. # Let's still pretend it is `configure' which instantiates (i.e., don't
  4222. # use $as_me), people would be surprised to read:
  4223. # /* config.h. Generated by config.status. */
  4224. configure_input='Generated from '`
  4225. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  4226. `' by configure.'
  4227. if test x"$ac_file" != x-; then
  4228. configure_input="$ac_file. $configure_input"
  4229. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  4230. $as_echo "$as_me: creating $ac_file" >&6;}
  4231. fi
  4232. # Neutralize special characters interpreted by sed in replacement strings.
  4233. case $configure_input in #(
  4234. *\&* | *\|* | *\\* )
  4235. ac_sed_conf_input=`$as_echo "$configure_input" |
  4236. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  4237. *) ac_sed_conf_input=$configure_input;;
  4238. esac
  4239. case $ac_tag in
  4240. *:-:* | *:-) cat >"$tmp/stdin" \
  4241. || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  4242. esac
  4243. ;;
  4244. esac
  4245. ac_dir=`$as_dirname -- "$ac_file" ||
  4246. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4247. X"$ac_file" : 'X\(//\)[^/]' \| \
  4248. X"$ac_file" : 'X\(//\)$' \| \
  4249. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  4250. $as_echo X"$ac_file" |
  4251. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4252. s//\1/
  4253. q
  4254. }
  4255. /^X\(\/\/\)[^/].*/{
  4256. s//\1/
  4257. q
  4258. }
  4259. /^X\(\/\/\)$/{
  4260. s//\1/
  4261. q
  4262. }
  4263. /^X\(\/\).*/{
  4264. s//\1/
  4265. q
  4266. }
  4267. s/.*/./; q'`
  4268. as_dir="$ac_dir"; as_fn_mkdir_p
  4269. ac_builddir=.
  4270. case "$ac_dir" in
  4271. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4272. *)
  4273. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  4274. # A ".." for each directory in $ac_dir_suffix.
  4275. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  4276. case $ac_top_builddir_sub in
  4277. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4278. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  4279. esac ;;
  4280. esac
  4281. ac_abs_top_builddir=$ac_pwd
  4282. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  4283. # for backward compatibility:
  4284. ac_top_builddir=$ac_top_build_prefix
  4285. case $srcdir in
  4286. .) # We are building in place.
  4287. ac_srcdir=.
  4288. ac_top_srcdir=$ac_top_builddir_sub
  4289. ac_abs_top_srcdir=$ac_pwd ;;
  4290. [\\/]* | ?:[\\/]* ) # Absolute name.
  4291. ac_srcdir=$srcdir$ac_dir_suffix;
  4292. ac_top_srcdir=$srcdir
  4293. ac_abs_top_srcdir=$srcdir ;;
  4294. *) # Relative name.
  4295. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  4296. ac_top_srcdir=$ac_top_build_prefix$srcdir
  4297. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  4298. esac
  4299. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  4300. case $ac_mode in
  4301. :F)
  4302. #
  4303. # CONFIG_FILE
  4304. #
  4305. case $INSTALL in
  4306. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  4307. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  4308. esac
  4309. ac_MKDIR_P=$MKDIR_P
  4310. case $MKDIR_P in
  4311. [\\/$]* | ?:[\\/]* ) ;;
  4312. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  4313. esac
  4314. _ACEOF
  4315. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4316. # If the template does not know about datarootdir, expand it.
  4317. # FIXME: This hack should be removed a few years after 2.60.
  4318. ac_datarootdir_hack=; ac_datarootdir_seen=
  4319. ac_sed_dataroot='
  4320. /datarootdir/ {
  4321. p
  4322. q
  4323. }
  4324. /@datadir@/p
  4325. /@docdir@/p
  4326. /@infodir@/p
  4327. /@localedir@/p
  4328. /@mandir@/p'
  4329. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  4330. *datarootdir*) ac_datarootdir_seen=yes;;
  4331. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  4332. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  4333. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  4334. _ACEOF
  4335. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4336. ac_datarootdir_hack='
  4337. s&@datadir@&$datadir&g
  4338. s&@docdir@&$docdir&g
  4339. s&@infodir@&$infodir&g
  4340. s&@localedir@&$localedir&g
  4341. s&@mandir@&$mandir&g
  4342. s&\\\${datarootdir}&$datarootdir&g' ;;
  4343. esac
  4344. _ACEOF
  4345. # Neutralize VPATH when `$srcdir' = `.'.
  4346. # Shell code in configure.ac might set extrasub.
  4347. # FIXME: do we really want to maintain this feature?
  4348. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4349. ac_sed_extra="$ac_vpsub
  4350. $extrasub
  4351. _ACEOF
  4352. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4353. :t
  4354. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  4355. s|@configure_input@|$ac_sed_conf_input|;t t
  4356. s&@top_builddir@&$ac_top_builddir_sub&;t t
  4357. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  4358. s&@srcdir@&$ac_srcdir&;t t
  4359. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  4360. s&@top_srcdir@&$ac_top_srcdir&;t t
  4361. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  4362. s&@builddir@&$ac_builddir&;t t
  4363. s&@abs_builddir@&$ac_abs_builddir&;t t
  4364. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  4365. s&@INSTALL@&$ac_INSTALL&;t t
  4366. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  4367. $ac_datarootdir_hack
  4368. "
  4369. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  4370. || as_fn_error "could not create $ac_file" "$LINENO" 5
  4371. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  4372. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  4373. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  4374. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  4375. which seems to be undefined. Please make sure it is defined." >&5
  4376. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  4377. which seems to be undefined. Please make sure it is defined." >&2;}
  4378. rm -f "$tmp/stdin"
  4379. case $ac_file in
  4380. -) cat "$tmp/out" && rm -f "$tmp/out";;
  4381. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  4382. esac \
  4383. || as_fn_error "could not create $ac_file" "$LINENO" 5
  4384. ;;
  4385. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  4386. $as_echo "$as_me: executing $ac_file commands" >&6;}
  4387. ;;
  4388. esac
  4389. case $ac_file$ac_mode in
  4390. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  4391. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  4392. # are listed without --file. Let's play safe and only enable the eval
  4393. # if we detect the quoting.
  4394. case $CONFIG_FILES in
  4395. *\'*) eval set x "$CONFIG_FILES" ;;
  4396. *) set x $CONFIG_FILES ;;
  4397. esac
  4398. shift
  4399. for mf
  4400. do
  4401. # Strip MF so we end up with the name of the file.
  4402. mf=`echo "$mf" | sed -e 's/:.*$//'`
  4403. # Check whether this is an Automake generated Makefile or not.
  4404. # We used to match only the files named `Makefile.in', but
  4405. # some people rename them; so instead we look at the file content.
  4406. # Grep'ing the first line is not enough: some people post-process
  4407. # each Makefile.in and add a new line on top of each file to say so.
  4408. # Grep'ing the whole file is not good either: AIX grep has a line
  4409. # limit of 2048, but all sed's we know have understand at least 4000.
  4410. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  4411. dirpart=`$as_dirname -- "$mf" ||
  4412. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4413. X"$mf" : 'X\(//\)[^/]' \| \
  4414. X"$mf" : 'X\(//\)$' \| \
  4415. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  4416. $as_echo X"$mf" |
  4417. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4418. s//\1/
  4419. q
  4420. }
  4421. /^X\(\/\/\)[^/].*/{
  4422. s//\1/
  4423. q
  4424. }
  4425. /^X\(\/\/\)$/{
  4426. s//\1/
  4427. q
  4428. }
  4429. /^X\(\/\).*/{
  4430. s//\1/
  4431. q
  4432. }
  4433. s/.*/./; q'`
  4434. else
  4435. continue
  4436. fi
  4437. # Extract the definition of DEPDIR, am__include, and am__quote
  4438. # from the Makefile without running `make'.
  4439. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  4440. test -z "$DEPDIR" && continue
  4441. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  4442. test -z "am__include" && continue
  4443. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  4444. # When using ansi2knr, U may be empty or an underscore; expand it
  4445. U=`sed -n 's/^U = //p' < "$mf"`
  4446. # Find all dependency output files, they are included files with
  4447. # $(DEPDIR) in their names. We invoke sed twice because it is the
  4448. # simplest approach to changing $(DEPDIR) to its actual value in the
  4449. # expansion.
  4450. for file in `sed -n "
  4451. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  4452. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  4453. # Make sure the directory exists.
  4454. test -f "$dirpart/$file" && continue
  4455. fdir=`$as_dirname -- "$file" ||
  4456. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4457. X"$file" : 'X\(//\)[^/]' \| \
  4458. X"$file" : 'X\(//\)$' \| \
  4459. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  4460. $as_echo X"$file" |
  4461. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4462. s//\1/
  4463. q
  4464. }
  4465. /^X\(\/\/\)[^/].*/{
  4466. s//\1/
  4467. q
  4468. }
  4469. /^X\(\/\/\)$/{
  4470. s//\1/
  4471. q
  4472. }
  4473. /^X\(\/\).*/{
  4474. s//\1/
  4475. q
  4476. }
  4477. s/.*/./; q'`
  4478. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  4479. # echo "creating $dirpart/$file"
  4480. echo '# dummy' > "$dirpart/$file"
  4481. done
  4482. done
  4483. }
  4484. ;;
  4485. esac
  4486. done # for ac_tag
  4487. as_fn_exit 0
  4488. _ACEOF
  4489. ac_clean_files=$ac_clean_files_save
  4490. test $ac_write_fail = 0 ||
  4491. as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  4492. # configure is writing to config.log, and then calls config.status.
  4493. # config.status does its own redirection, appending to config.log.
  4494. # Unfortunately, on DOS this fails, as config.log is still kept open
  4495. # by configure, so config.status won't be able to write to it; its
  4496. # output is simply discarded. So we exec the FD to /dev/null,
  4497. # effectively closing config.log, so it can be properly (re)opened and
  4498. # appended to by config.status. When coming back to configure, we
  4499. # need to make the FD available again.
  4500. if test "$no_create" != yes; then
  4501. ac_cs_success=:
  4502. ac_config_status_args=
  4503. test "$silent" = yes &&
  4504. ac_config_status_args="$ac_config_status_args --quiet"
  4505. exec 5>/dev/null
  4506. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  4507. exec 5>>config.log
  4508. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  4509. # would make configure fail if this is the last instruction.
  4510. $ac_cs_success || as_fn_exit $?
  4511. fi
  4512. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  4513. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  4514. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  4515. fi