/contrib/ntp/arlib/configure

https://bitbucket.org/freebsd/freebsd-head/ · Shell · 5008 lines · 4230 code · 360 blank · 418 comment · 444 complexity · e48d34c904fac2d4c631f8ac664d5a45 MD5 · raw file

Large files are truncated click here to view the full file

  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 -