/contrib/groff/configure

https://bitbucket.org/freebsd/freebsd-head/ · Shell · 11663 lines · 9627 code · 1045 blank · 991 comment · 931 complexity · babeed6a0c07208d324434964263f4fa 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.59b.
  4. #
  5. # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
  6. # 2003, 2004 Free Software Foundation, Inc.
  7. # This configure script is free software; the Free Software Foundation
  8. # gives unlimited permission to copy, distribute and modify it.
  9. ## --------------------- ##
  10. ## M4sh Initialization. ##
  11. ## --------------------- ##
  12. # Be Bourne compatible
  13. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  14. emulate sh
  15. NULLCMD=:
  16. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  17. # is contrary to our usage. Disable this feature.
  18. alias -g '${1+"$@"}'='"$@"'
  19. setopt NO_GLOB_SUBST
  20. elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  21. set -o posix
  22. fi
  23. BIN_SH=xpg4; export BIN_SH # for Tru64
  24. DUALCASE=1; export DUALCASE # for MKS sh
  25. # PATH needs CR
  26. # Avoid depending upon Character Ranges.
  27. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  28. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  29. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  30. as_cr_digits='0123456789'
  31. as_cr_alnum=$as_cr_Letters$as_cr_digits
  32. # The user is always right.
  33. if test "${PATH_SEPARATOR+set}" != set; then
  34. echo "#! /bin/sh" >conf$$.sh
  35. echo "exit 0" >>conf$$.sh
  36. chmod +x conf$$.sh
  37. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  38. PATH_SEPARATOR=';'
  39. else
  40. PATH_SEPARATOR=:
  41. fi
  42. rm -f conf$$.sh
  43. fi
  44. # Support unset when possible.
  45. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  46. as_unset=unset
  47. else
  48. as_unset=false
  49. fi
  50. # Find who we are. Look in the path if we contain no path at all
  51. # relative or not.
  52. case $0 in
  53. *[\\/]* ) as_myself=$0 ;;
  54. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  55. for as_dir in $PATH
  56. do
  57. IFS=$as_save_IFS
  58. test -z "$as_dir" && as_dir=.
  59. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  60. done
  61. ;;
  62. esac
  63. # We did not find ourselves, most probably we were run as `sh COMMAND'
  64. # in which case we are not to be found in the path.
  65. if test "x$as_myself" = x; then
  66. as_myself=$0
  67. fi
  68. if test ! -f "$as_myself"; then
  69. { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
  70. { (exit 1); exit 1; }; }
  71. fi
  72. # Work around bugs in pre-3.0 UWIN ksh.
  73. for as_var in ENV MAIL MAILPATH
  74. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  75. done
  76. PS1='$ '
  77. PS2='> '
  78. PS4='+ '
  79. # NLS nuisances.
  80. for as_var in \
  81. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  82. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  83. LC_TELEPHONE LC_TIME
  84. do
  85. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  86. eval $as_var=C; export $as_var
  87. else
  88. ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  89. fi
  90. done
  91. # Required to use basename.
  92. if expr a : '\(a\)' >/dev/null 2>&1; then
  93. as_expr=expr
  94. else
  95. as_expr=false
  96. fi
  97. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  98. as_basename=basename
  99. else
  100. as_basename=false
  101. fi
  102. # Name of the executable.
  103. as_me=`$as_basename "$0" ||
  104. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  105. X"$0" : 'X\(//\)$' \| \
  106. X"$0" : 'X\(/\)$' \| \
  107. . : '\(.\)' 2>/dev/null ||
  108. echo X/"$0" |
  109. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  110. /^X\/\(\/\/\)$/{ s//\1/; q; }
  111. /^X\/\(\/\).*/{ s//\1/; q; }
  112. s/.*/./; q'`
  113. if test "x$CONFIG_SHELL" = x; then
  114. if (eval ":") 2>/dev/null; then
  115. as_have_required=yes
  116. else
  117. as_have_required=no
  118. fi
  119. if test $as_have_required = yes && (eval ":
  120. (func_return () {
  121. (exit \$1)
  122. }
  123. func_success () {
  124. func_return 0
  125. }
  126. func_failure () {
  127. func_return 1
  128. }
  129. func_ret_success () {
  130. return 0
  131. }
  132. func_ret_failure () {
  133. return 1
  134. }
  135. exitcode=0
  136. if func_success; then
  137. :
  138. else
  139. exitcode=1
  140. echo func_failure succeeded.
  141. fi
  142. if func_failure; then
  143. exitcode=1
  144. echo func_success failed.
  145. fi
  146. if func_ret_success; then
  147. :
  148. else
  149. exitcode=1
  150. echo func_ret_success failed.
  151. fi
  152. if func_ret_failure; then
  153. exitcode=1
  154. echo func_ret_failure succeeded.
  155. fi
  156. test \$exitcode = 0) || { (exit 1); exit 1; }
  157. (
  158. as_lineno_1=\$LINENO
  159. as_lineno_2=\$LINENO
  160. as_lineno_3=\`(expr \$as_lineno_1 + 1) 2>/dev/null\`
  161. test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  162. test \"x\$as_lineno_3\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  163. ") 2> /dev/null; then
  164. :
  165. else
  166. as_candidate_shells=
  167. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  168. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  169. do
  170. IFS=$as_save_IFS
  171. test -z "$as_dir" && as_dir=.
  172. case $as_dir in
  173. /*)
  174. for as_base in sh bash ksh sh5; do
  175. as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  176. done
  177. esac
  178. done
  179. for as_shell in $as_candidate_shells $SHELL; do
  180. if { $as_shell 2> /dev/null <<\_ASEOF
  181. # Be Bourne compatible
  182. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  183. emulate sh
  184. NULLCMD=:
  185. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  186. # is contrary to our usage. Disable this feature.
  187. alias -g '${1+"$@"}'='"$@"'
  188. setopt NO_GLOB_SUBST
  189. elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  190. set -o posix
  191. fi
  192. BIN_SH=xpg4; export BIN_SH # for Tru64
  193. DUALCASE=1; export DUALCASE # for MKS sh
  194. :
  195. _ASEOF
  196. }; then
  197. CONFIG_SHELL=$as_shell
  198. as_have_required=yes
  199. if { $as_shell 2> /dev/null <<\_ASEOF
  200. # Be Bourne compatible
  201. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  202. emulate sh
  203. NULLCMD=:
  204. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  205. # is contrary to our usage. Disable this feature.
  206. alias -g '${1+"$@"}'='"$@"'
  207. setopt NO_GLOB_SUBST
  208. elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  209. set -o posix
  210. fi
  211. BIN_SH=xpg4; export BIN_SH # for Tru64
  212. DUALCASE=1; export DUALCASE # for MKS sh
  213. :
  214. (func_return () {
  215. (exit $1)
  216. }
  217. func_success () {
  218. func_return 0
  219. }
  220. func_failure () {
  221. func_return 1
  222. }
  223. func_ret_success () {
  224. return 0
  225. }
  226. func_ret_failure () {
  227. return 1
  228. }
  229. exitcode=0
  230. if func_success; then
  231. :
  232. else
  233. exitcode=1
  234. echo func_failure succeeded.
  235. fi
  236. if func_failure; then
  237. exitcode=1
  238. echo func_success failed.
  239. fi
  240. if func_ret_success; then
  241. :
  242. else
  243. exitcode=1
  244. echo func_ret_success failed.
  245. fi
  246. if func_ret_failure; then
  247. exitcode=1
  248. echo func_ret_failure succeeded.
  249. fi
  250. test $exitcode = 0) || { (exit 1); exit 1; }
  251. (
  252. as_lineno_1=$LINENO
  253. as_lineno_2=$LINENO
  254. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  255. test "x$as_lineno_1" != "x$as_lineno_2" &&
  256. test "x$as_lineno_3" = "x$as_lineno_2") || { (exit 1); exit 1; }
  257. _ASEOF
  258. }; then
  259. break
  260. fi
  261. fi
  262. done
  263. if test "x$CONFIG_SHELL" != x; then
  264. for as_var in BASH_ENV ENV
  265. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  266. done
  267. export CONFIG_SHELL
  268. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  269. fi
  270. if test $as_have_required = no; then
  271. echo This script requires a shell more modern than all the
  272. echo shells that I found on your system. Please install a
  273. echo modern shell, or manually run the script under such a
  274. echo shell if you do have one.
  275. { (exit 1); exit 1; }
  276. fi
  277. fi
  278. fi
  279. (eval "func_return () {
  280. (exit \$1)
  281. }
  282. func_success () {
  283. func_return 0
  284. }
  285. func_failure () {
  286. func_return 1
  287. }
  288. func_ret_success () {
  289. return 0
  290. }
  291. func_ret_failure () {
  292. return 1
  293. }
  294. exitcode=0
  295. if func_success; then
  296. :
  297. else
  298. exitcode=1
  299. echo func_failure succeeded.
  300. fi
  301. if func_failure; then
  302. exitcode=1
  303. echo func_success failed.
  304. fi
  305. if func_ret_success; then
  306. :
  307. else
  308. exitcode=1
  309. echo func_ret_success failed.
  310. fi
  311. if func_ret_failure; then
  312. exitcode=1
  313. echo func_ret_failure succeeded.
  314. fi
  315. test \$exitcode = 0") || {
  316. echo No shell found that supports shell functions.
  317. echo Please tell autoconf@gnu.org about your system,
  318. echo including any error possibly output before this
  319. echo message
  320. }
  321. as_lineno_1=$LINENO
  322. as_lineno_2=$LINENO
  323. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  324. test "x$as_lineno_1" != "x$as_lineno_2" &&
  325. test "x$as_lineno_3" = "x$as_lineno_2" || {
  326. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  327. # uniformly replaced by the line number. The first 'sed' inserts a
  328. # line-number line after each line using $LINENO; the second 'sed'
  329. # does the real work. The second script uses 'N' to pair each
  330. # line-number line with the line containing $LINENO, and appends
  331. # trailing '-' during substitution so that $LINENO is not a special
  332. # case at line end.
  333. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  334. # scripts with optimization help from Paolo Bonzini. Blame Lee
  335. # E. McMahon (1931-1989) for sed's syntax. :-)
  336. sed -n '
  337. p
  338. /[$]LINENO/=
  339. ' <$as_myself |
  340. sed '
  341. s,[$]LINENO.*,&-,
  342. t lineno
  343. b
  344. : lineno
  345. N
  346. : loop
  347. s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
  348. t loop
  349. s,-\n.*,,
  350. ' >$as_me.lineno &&
  351. chmod +x $as_me.lineno ||
  352. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  353. { (exit 1); exit 1; }; }
  354. # Don't try to exec as it changes $[0], causing all sort of problems
  355. # (the dirname of $[0] is not the place where we might find the
  356. # original and so on. Autoconf is especially sensible to this).
  357. . ./$as_me.lineno
  358. # Exit status is that of the last command.
  359. exit
  360. }
  361. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  362. *c*,-n*) ECHO_N= ECHO_C='
  363. ' ECHO_T=' ' ;;
  364. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  365. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  366. esac
  367. if expr a : '\(a\)' >/dev/null 2>&1; then
  368. as_expr=expr
  369. else
  370. as_expr=false
  371. fi
  372. rm -f conf$$ conf$$.exe conf$$.file
  373. echo >conf$$.file
  374. if ln -s conf$$.file conf$$ 2>/dev/null; then
  375. # We could just check for DJGPP; but this test a) works b) is more generic
  376. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  377. if test -f conf$$.exe; then
  378. # Don't use ln at all; we don't have any links
  379. as_ln_s='cp -p'
  380. else
  381. as_ln_s='ln -s'
  382. fi
  383. elif ln conf$$.file conf$$ 2>/dev/null; then
  384. as_ln_s=ln
  385. else
  386. as_ln_s='cp -p'
  387. fi
  388. rm -f conf$$ conf$$.exe conf$$.file
  389. if mkdir -p . 2>/dev/null; then
  390. as_mkdir_p=:
  391. else
  392. test -d ./-p && rmdir ./-p
  393. as_mkdir_p=false
  394. fi
  395. as_executable_p="test -f"
  396. # Sed expression to map a string onto a valid CPP name.
  397. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  398. # Sed expression to map a string onto a valid variable name.
  399. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  400. # IFS
  401. # We need space, tab and new line, in precisely that order.
  402. as_nl='
  403. '
  404. IFS=" $as_nl"
  405. # CDPATH.
  406. $as_unset CDPATH
  407. # Name of the host.
  408. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  409. # so uname gets run too.
  410. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  411. exec 6>&1
  412. #
  413. # Initializations.
  414. #
  415. ac_default_prefix=/usr/local
  416. ac_config_libobj_dir=.
  417. cross_compiling=no
  418. subdirs=
  419. MFLAGS=
  420. MAKEFLAGS=
  421. SHELL=${CONFIG_SHELL-/bin/sh}
  422. # Maximum number of lines to put in a shell here document.
  423. # This variable seems obsolete. It should probably be removed, and
  424. # only ac_max_sed_lines should be used.
  425. : ${ac_max_here_lines=38}
  426. # Identity of this package.
  427. PACKAGE_NAME=
  428. PACKAGE_TARNAME=
  429. PACKAGE_VERSION=
  430. PACKAGE_STRING=
  431. PACKAGE_BUGREPORT=
  432. ac_unique_file="src/roff/groff/groff.cpp"
  433. # Factoring default headers for most tests.
  434. ac_includes_default="\
  435. #include <stdio.h>
  436. #if HAVE_SYS_TYPES_H
  437. # include <sys/types.h>
  438. #endif
  439. #if HAVE_SYS_STAT_H
  440. # include <sys/stat.h>
  441. #endif
  442. #if STDC_HEADERS
  443. # include <stdlib.h>
  444. # include <stddef.h>
  445. #else
  446. # if HAVE_STDLIB_H
  447. # include <stdlib.h>
  448. # endif
  449. #endif
  450. #if HAVE_STRING_H
  451. # if !STDC_HEADERS && HAVE_MEMORY_H
  452. # include <memory.h>
  453. # endif
  454. # include <string.h>
  455. #endif
  456. #if HAVE_STRINGS_H
  457. # include <strings.h>
  458. #endif
  459. #if HAVE_INTTYPES_H
  460. # include <inttypes.h>
  461. #endif
  462. #if HAVE_STDINT_H
  463. # include <stdint.h>
  464. #endif
  465. #if HAVE_UNISTD_H
  466. # include <unistd.h>
  467. #endif"
  468. ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XDEVDIRS XPROGDIRS XLIBDIRS appresdir LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD GREP EGREP LIBC LIBM LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR ALT_GHOSTSCRIPT_PROGS GHOSTSCRIPT ac_ct_GHOSTSCRIPT pnmcut pnmcrop pnmtopng psselect pnmtops make_html make_install_html ALT_AWK_PROGS AWK ac_ct_AWK make_pdfdoc make_install_pdfdoc pnmtops_nosetpage LTLIBOBJS'
  469. ac_subst_files=''
  470. # Initialize some variables set by options.
  471. ac_init_help=
  472. ac_init_version=false
  473. # The variables have the same names as the options, with
  474. # dashes changed to underlines.
  475. cache_file=/dev/null
  476. exec_prefix=NONE
  477. no_create=
  478. no_recursion=
  479. prefix=NONE
  480. program_prefix=NONE
  481. program_suffix=NONE
  482. program_transform_name=s,x,x,
  483. silent=
  484. site=
  485. srcdir=
  486. verbose=
  487. x_includes=NONE
  488. x_libraries=NONE
  489. # Installation directory options.
  490. # These are left unexpanded so users can "make install exec_prefix=/foo"
  491. # and all the variables that are supposed to be based on exec_prefix
  492. # by default will actually change.
  493. # Use braces instead of parens because sh, perl, etc. also accept them.
  494. bindir='${exec_prefix}/bin'
  495. sbindir='${exec_prefix}/sbin'
  496. libexecdir='${exec_prefix}/libexec'
  497. datadir='${prefix}/share'
  498. sysconfdir='${prefix}/etc'
  499. sharedstatedir='${prefix}/com'
  500. localstatedir='${prefix}/var'
  501. libdir='${exec_prefix}/lib'
  502. includedir='${prefix}/include'
  503. oldincludedir='/usr/include'
  504. infodir='${prefix}/info'
  505. mandir='${prefix}/man'
  506. ac_prev=
  507. ac_dashdash=
  508. for ac_option
  509. do
  510. # If the previous option needs an argument, assign it.
  511. if test -n "$ac_prev"; then
  512. eval "$ac_prev=\$ac_option"
  513. ac_prev=
  514. continue
  515. fi
  516. ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  517. # Accept the important Cygnus configure options, so we can diagnose typos.
  518. case $ac_dashdash$ac_option in
  519. --)
  520. ac_dashdash=yes ;;
  521. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  522. ac_prev=bindir ;;
  523. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  524. bindir=$ac_optarg ;;
  525. -build | --build | --buil | --bui | --bu)
  526. ac_prev=build_alias ;;
  527. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  528. build_alias=$ac_optarg ;;
  529. -cache-file | --cache-file | --cache-fil | --cache-fi \
  530. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  531. ac_prev=cache_file ;;
  532. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  533. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  534. cache_file=$ac_optarg ;;
  535. --config-cache | -C)
  536. cache_file=config.cache ;;
  537. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  538. ac_prev=datadir ;;
  539. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  540. | --da=*)
  541. datadir=$ac_optarg ;;
  542. -disable-* | --disable-*)
  543. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  544. # Reject names that are not valid shell variable names.
  545. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  546. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  547. { (exit 1); exit 1; }; }
  548. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  549. eval "enable_$ac_feature=no" ;;
  550. -enable-* | --enable-*)
  551. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  552. # Reject names that are not valid shell variable names.
  553. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  554. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  555. { (exit 1); exit 1; }; }
  556. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  557. case $ac_option in
  558. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  559. *) ac_optarg=yes ;;
  560. esac
  561. eval "enable_$ac_feature='$ac_optarg'" ;;
  562. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  563. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  564. | --exec | --exe | --ex)
  565. ac_prev=exec_prefix ;;
  566. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  567. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  568. | --exec=* | --exe=* | --ex=*)
  569. exec_prefix=$ac_optarg ;;
  570. -gas | --gas | --ga | --g)
  571. # Obsolete; use --with-gas.
  572. with_gas=yes ;;
  573. -help | --help | --hel | --he | -h)
  574. ac_init_help=long ;;
  575. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  576. ac_init_help=recursive ;;
  577. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  578. ac_init_help=short ;;
  579. -host | --host | --hos | --ho)
  580. ac_prev=host_alias ;;
  581. -host=* | --host=* | --hos=* | --ho=*)
  582. host_alias=$ac_optarg ;;
  583. -includedir | --includedir | --includedi | --included | --include \
  584. | --includ | --inclu | --incl | --inc)
  585. ac_prev=includedir ;;
  586. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  587. | --includ=* | --inclu=* | --incl=* | --inc=*)
  588. includedir=$ac_optarg ;;
  589. -infodir | --infodir | --infodi | --infod | --info | --inf)
  590. ac_prev=infodir ;;
  591. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  592. infodir=$ac_optarg ;;
  593. -libdir | --libdir | --libdi | --libd)
  594. ac_prev=libdir ;;
  595. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  596. libdir=$ac_optarg ;;
  597. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  598. | --libexe | --libex | --libe)
  599. ac_prev=libexecdir ;;
  600. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  601. | --libexe=* | --libex=* | --libe=*)
  602. libexecdir=$ac_optarg ;;
  603. -localstatedir | --localstatedir | --localstatedi | --localstated \
  604. | --localstate | --localstat | --localsta | --localst \
  605. | --locals | --local | --loca | --loc | --lo)
  606. ac_prev=localstatedir ;;
  607. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  608. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  609. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  610. localstatedir=$ac_optarg ;;
  611. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  612. ac_prev=mandir ;;
  613. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  614. mandir=$ac_optarg ;;
  615. -nfp | --nfp | --nf)
  616. # Obsolete; use --without-fp.
  617. with_fp=no ;;
  618. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  619. | --no-cr | --no-c | -n)
  620. no_create=yes ;;
  621. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  622. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  623. no_recursion=yes ;;
  624. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  625. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  626. | --oldin | --oldi | --old | --ol | --o)
  627. ac_prev=oldincludedir ;;
  628. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  629. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  630. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  631. oldincludedir=$ac_optarg ;;
  632. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  633. ac_prev=prefix ;;
  634. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  635. prefix=$ac_optarg ;;
  636. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  637. | --program-pre | --program-pr | --program-p)
  638. ac_prev=program_prefix ;;
  639. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  640. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  641. program_prefix=$ac_optarg ;;
  642. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  643. | --program-suf | --program-su | --program-s)
  644. ac_prev=program_suffix ;;
  645. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  646. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  647. program_suffix=$ac_optarg ;;
  648. -program-transform-name | --program-transform-name \
  649. | --program-transform-nam | --program-transform-na \
  650. | --program-transform-n | --program-transform- \
  651. | --program-transform | --program-transfor \
  652. | --program-transfo | --program-transf \
  653. | --program-trans | --program-tran \
  654. | --progr-tra | --program-tr | --program-t)
  655. ac_prev=program_transform_name ;;
  656. -program-transform-name=* | --program-transform-name=* \
  657. | --program-transform-nam=* | --program-transform-na=* \
  658. | --program-transform-n=* | --program-transform-=* \
  659. | --program-transform=* | --program-transfor=* \
  660. | --program-transfo=* | --program-transf=* \
  661. | --program-trans=* | --program-tran=* \
  662. | --progr-tra=* | --program-tr=* | --program-t=*)
  663. program_transform_name=$ac_optarg ;;
  664. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  665. | -silent | --silent | --silen | --sile | --sil)
  666. silent=yes ;;
  667. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  668. ac_prev=sbindir ;;
  669. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  670. | --sbi=* | --sb=*)
  671. sbindir=$ac_optarg ;;
  672. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  673. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  674. | --sharedst | --shareds | --shared | --share | --shar \
  675. | --sha | --sh)
  676. ac_prev=sharedstatedir ;;
  677. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  678. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  679. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  680. | --sha=* | --sh=*)
  681. sharedstatedir=$ac_optarg ;;
  682. -site | --site | --sit)
  683. ac_prev=site ;;
  684. -site=* | --site=* | --sit=*)
  685. site=$ac_optarg ;;
  686. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  687. ac_prev=srcdir ;;
  688. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  689. srcdir=$ac_optarg ;;
  690. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  691. | --syscon | --sysco | --sysc | --sys | --sy)
  692. ac_prev=sysconfdir ;;
  693. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  694. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  695. sysconfdir=$ac_optarg ;;
  696. -target | --target | --targe | --targ | --tar | --ta | --t)
  697. ac_prev=target_alias ;;
  698. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  699. target_alias=$ac_optarg ;;
  700. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  701. verbose=yes ;;
  702. -version | --version | --versio | --versi | --vers | -V)
  703. ac_init_version=: ;;
  704. -with-* | --with-*)
  705. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  706. # Reject names that are not valid shell variable names.
  707. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  708. { echo "$as_me: error: invalid package name: $ac_package" >&2
  709. { (exit 1); exit 1; }; }
  710. ac_package=`echo $ac_package| sed 's/-/_/g'`
  711. case $ac_option in
  712. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  713. *) ac_optarg=yes ;;
  714. esac
  715. eval "with_$ac_package='$ac_optarg'" ;;
  716. -without-* | --without-*)
  717. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  718. # Reject names that are not valid shell variable names.
  719. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  720. { echo "$as_me: error: invalid package name: $ac_package" >&2
  721. { (exit 1); exit 1; }; }
  722. ac_package=`echo $ac_package | sed 's/-/_/g'`
  723. eval "with_$ac_package=no" ;;
  724. --x)
  725. # Obsolete; use --with-x.
  726. with_x=yes ;;
  727. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  728. | --x-incl | --x-inc | --x-in | --x-i)
  729. ac_prev=x_includes ;;
  730. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  731. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  732. x_includes=$ac_optarg ;;
  733. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  734. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  735. ac_prev=x_libraries ;;
  736. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  737. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  738. x_libraries=$ac_optarg ;;
  739. -*) { echo "$as_me: error: unrecognized option: $ac_option
  740. Try \`$0 --help' for more information." >&2
  741. { (exit 1); exit 1; }; }
  742. ;;
  743. *=*)
  744. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  745. # Reject names that are not valid shell variable names.
  746. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  747. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  748. { (exit 1); exit 1; }; }
  749. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  750. eval "$ac_envvar='$ac_optarg'"
  751. export $ac_envvar ;;
  752. *)
  753. # FIXME: should be removed in autoconf 3.0.
  754. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  755. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  756. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  757. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  758. ;;
  759. esac
  760. done
  761. if test -n "$ac_prev"; then
  762. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  763. { echo "$as_me: error: missing argument to $ac_option" >&2
  764. { (exit 1); exit 1; }; }
  765. fi
  766. # Be sure to have absolute directory names.
  767. for ac_var in exec_prefix prefix
  768. do
  769. eval ac_val=$`echo $ac_var`
  770. case $ac_val in
  771. [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  772. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  773. { (exit 1); exit 1; }; };;
  774. esac
  775. done
  776. # Be sure to have absolute directory names.
  777. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  778. localstatedir libdir includedir oldincludedir infodir mandir
  779. do
  780. eval ac_val=$`echo $ac_var`
  781. case $ac_val in
  782. [\\/$]* | ?:[\\/]* ) ;;
  783. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  784. { (exit 1); exit 1; }; };;
  785. esac
  786. done
  787. # There might be people who depend on the old broken behavior: `$host'
  788. # used to hold the argument of --host etc.
  789. # FIXME: To remove some day.
  790. build=$build_alias
  791. host=$host_alias
  792. target=$target_alias
  793. # FIXME: To remove some day.
  794. if test "x$host_alias" != x; then
  795. if test "x$build_alias" = x; then
  796. cross_compiling=maybe
  797. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  798. If a cross compiler is detected then cross compile mode will be used." >&2
  799. elif test "x$build_alias" != "x$host_alias"; then
  800. cross_compiling=yes
  801. fi
  802. fi
  803. ac_tool_prefix=
  804. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  805. test "$silent" = yes && exec 6>/dev/null
  806. # Find the source files, if location was not specified.
  807. if test -z "$srcdir"; then
  808. ac_srcdir_defaulted=yes
  809. # Try the directory containing this script, then its parent.
  810. ac_confdir=`(dirname "$0") 2>/dev/null ||
  811. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  812. X"$0" : 'X\(//\)[^/]' \| \
  813. X"$0" : 'X\(//\)$' \| \
  814. X"$0" : 'X\(/\)' \| \
  815. . : '\(.\)' 2>/dev/null ||
  816. echo X"$0" |
  817. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  818. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  819. /^X\(\/\/\)$/{ s//\1/; q; }
  820. /^X\(\/\).*/{ s//\1/; q; }
  821. s/.*/./; q'`
  822. srcdir=$ac_confdir
  823. if test ! -r $srcdir/$ac_unique_file; then
  824. srcdir=..
  825. fi
  826. else
  827. ac_srcdir_defaulted=no
  828. fi
  829. if test ! -r $srcdir/$ac_unique_file; then
  830. if test "$ac_srcdir_defaulted" = yes; then
  831. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  832. { (exit 1); exit 1; }; }
  833. else
  834. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  835. { (exit 1); exit 1; }; }
  836. fi
  837. fi
  838. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  839. { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  840. { (exit 1); exit 1; }; }
  841. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  842. ac_env_build_alias_set=${build_alias+set}
  843. ac_env_build_alias_value=$build_alias
  844. ac_cv_env_build_alias_set=${build_alias+set}
  845. ac_cv_env_build_alias_value=$build_alias
  846. ac_env_host_alias_set=${host_alias+set}
  847. ac_env_host_alias_value=$host_alias
  848. ac_cv_env_host_alias_set=${host_alias+set}
  849. ac_cv_env_host_alias_value=$host_alias
  850. ac_env_target_alias_set=${target_alias+set}
  851. ac_env_target_alias_value=$target_alias
  852. ac_cv_env_target_alias_set=${target_alias+set}
  853. ac_cv_env_target_alias_value=$target_alias
  854. ac_env_CC_set=${CC+set}
  855. ac_env_CC_value=$CC
  856. ac_cv_env_CC_set=${CC+set}
  857. ac_cv_env_CC_value=$CC
  858. ac_env_CFLAGS_set=${CFLAGS+set}
  859. ac_env_CFLAGS_value=$CFLAGS
  860. ac_cv_env_CFLAGS_set=${CFLAGS+set}
  861. ac_cv_env_CFLAGS_value=$CFLAGS
  862. ac_env_LDFLAGS_set=${LDFLAGS+set}
  863. ac_env_LDFLAGS_value=$LDFLAGS
  864. ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  865. ac_cv_env_LDFLAGS_value=$LDFLAGS
  866. ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  867. ac_env_CPPFLAGS_value=$CPPFLAGS
  868. ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  869. ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  870. ac_env_CXX_set=${CXX+set}
  871. ac_env_CXX_value=$CXX
  872. ac_cv_env_CXX_set=${CXX+set}
  873. ac_cv_env_CXX_value=$CXX
  874. ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  875. ac_env_CXXFLAGS_value=$CXXFLAGS
  876. ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  877. ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  878. ac_env_CPP_set=${CPP+set}
  879. ac_env_CPP_value=$CPP
  880. ac_cv_env_CPP_set=${CPP+set}
  881. ac_cv_env_CPP_value=$CPP
  882. #
  883. # Report the --help message.
  884. #
  885. if test "$ac_init_help" = "long"; then
  886. # Omit some internal or obsolete options to make the list less imposing.
  887. # This message is too long to be a string in the A/UX 3.1 sh.
  888. cat <<_ACEOF
  889. \`configure' configures this package to adapt to many kinds of systems.
  890. Usage: $0 [OPTION]... [VAR=VALUE]...
  891. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  892. VAR=VALUE. See below for descriptions of some of the useful variables.
  893. Defaults for the options are specified in brackets.
  894. Configuration:
  895. -h, --help display this help and exit
  896. --help=short display options specific to this package
  897. --help=recursive display the short help of all the included packages
  898. -V, --version display version information and exit
  899. -q, --quiet, --silent do not print \`checking...' messages
  900. --cache-file=FILE cache test results in FILE [disabled]
  901. -C, --config-cache alias for \`--cache-file=config.cache'
  902. -n, --no-create do not create output files
  903. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  904. _ACEOF
  905. cat <<_ACEOF
  906. Installation directories:
  907. --prefix=PREFIX install architecture-independent files in PREFIX
  908. [$ac_default_prefix]
  909. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  910. [PREFIX]
  911. By default, \`make install' will install all the files in
  912. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  913. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  914. for instance \`--prefix=\$HOME'.
  915. For better control, use the options below.
  916. Fine tuning of the installation directories:
  917. --bindir=DIR user executables [EPREFIX/bin]
  918. --sbindir=DIR system admin executables [EPREFIX/sbin]
  919. --libexecdir=DIR program executables [EPREFIX/libexec]
  920. --datadir=DIR read-only architecture-independent data [PREFIX/share]
  921. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  922. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  923. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  924. --libdir=DIR object code libraries [EPREFIX/lib]
  925. --includedir=DIR C header files [PREFIX/include]
  926. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  927. --infodir=DIR info documentation [PREFIX/info]
  928. --mandir=DIR man documentation [PREFIX/man]
  929. _ACEOF
  930. cat <<\_ACEOF
  931. X features:
  932. --x-includes=DIR X include files are in DIR
  933. --x-libraries=DIR X library files are in DIR
  934. _ACEOF
  935. fi
  936. if test -n "$ac_init_help"; then
  937. cat <<\_ACEOF
  938. Optional Packages:
  939. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  940. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  941. --with-x use the X Window System
  942. --with-appresdir=DIR X11 application resource files
  943. --with-alt-gs=LIST alternative names for ghostscript executable
  944. --with-gs=PROG actual [/path/]name of ghostscript executable
  945. --with-alt-awk=LIST alternative names for awk executable
  946. --with-awk=PROG actual [/path/]name of awk executable
  947. Some influential environment variables:
  948. CC C compiler command
  949. CFLAGS C compiler flags
  950. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  951. nonstandard directory <lib dir>
  952. CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  953. headers in a nonstandard directory <include dir>
  954. CXX C++ compiler command
  955. CXXFLAGS C++ compiler flags
  956. CPP C preprocessor
  957. Use these variables to override the choices made by `configure' or to help
  958. it to find libraries and programs with nonstandard names/locations.
  959. _ACEOF
  960. fi
  961. if test "$ac_init_help" = "recursive"; then
  962. # If there are subdirs, report their specific --help.
  963. ac_popdir=`pwd`
  964. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  965. test -d $ac_dir || continue
  966. ac_builddir=.
  967. if test "$ac_dir" != .; then
  968. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  969. # A "../" for each directory in $ac_dir_suffix.
  970. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  971. else
  972. ac_dir_suffix= ac_top_builddir=
  973. fi
  974. case $srcdir in
  975. .) # No --srcdir option. We are building in place.
  976. ac_srcdir=.
  977. if test -z "$ac_top_builddir"; then
  978. ac_top_srcdir=.
  979. else
  980. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  981. fi ;;
  982. [\\/]* | ?:[\\/]* ) # Absolute name.
  983. ac_srcdir=$srcdir$ac_dir_suffix;
  984. ac_top_srcdir=$srcdir ;;
  985. *) # Relative name.
  986. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  987. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  988. esac
  989. # Do not use `cd foo && pwd` to compute absolute names, because
  990. # the directories may not exist.
  991. case `pwd` in
  992. .) ac_abs_builddir="$ac_dir";;
  993. *)
  994. case "$ac_dir" in
  995. .) ac_abs_builddir=`pwd`;;
  996. [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  997. *) ac_abs_builddir=`pwd`/"$ac_dir";;
  998. esac;;
  999. esac
  1000. case $ac_abs_builddir in
  1001. .) ac_abs_top_builddir=${ac_top_builddir}.;;
  1002. *)
  1003. case ${ac_top_builddir}. in
  1004. .) ac_abs_top_builddir=$ac_abs_builddir;;
  1005. [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1006. *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1007. esac;;
  1008. esac
  1009. case $ac_abs_builddir in
  1010. .) ac_abs_srcdir=$ac_srcdir;;
  1011. *)
  1012. case $ac_srcdir in
  1013. .) ac_abs_srcdir=$ac_abs_builddir;;
  1014. [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1015. *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1016. esac;;
  1017. esac
  1018. case $ac_abs_builddir in
  1019. .) ac_abs_top_srcdir=$ac_top_srcdir;;
  1020. *)
  1021. case $ac_top_srcdir in
  1022. .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1023. [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1024. *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1025. esac;;
  1026. esac
  1027. cd $ac_dir
  1028. # Check for guested configure; otherwise get Cygnus style configure.
  1029. if test -f $ac_srcdir/configure.gnu; then
  1030. echo
  1031. $SHELL $ac_srcdir/configure.gnu --help=recursive
  1032. elif test -f $ac_srcdir/configure; then
  1033. echo
  1034. $SHELL $ac_srcdir/configure --help=recursive
  1035. elif test -f $ac_srcdir/configure.ac ||
  1036. test -f $ac_srcdir/configure.in; then
  1037. echo
  1038. $ac_configure --help
  1039. else
  1040. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1041. fi
  1042. cd "$ac_popdir"
  1043. done
  1044. fi
  1045. test -n "$ac_init_help" && exit 0
  1046. if $ac_init_version; then
  1047. cat <<\_ACEOF
  1048. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
  1049. 2003, 2004 Free Software Foundation, Inc.
  1050. This configure script is free software; the Free Software Foundation
  1051. gives unlimited permission to copy, distribute and modify it.
  1052. _ACEOF
  1053. exit 0
  1054. fi
  1055. exec 5>config.log
  1056. cat >&5 <<_ACEOF
  1057. This file contains any messages produced by compilers while
  1058. running configure, to aid debugging if configure makes a mistake.
  1059. It was created by $as_me, which was
  1060. generated by GNU Autoconf 2.59b. Invocation command line was
  1061. $ $0 $@
  1062. _ACEOF
  1063. {
  1064. cat <<_ASUNAME
  1065. ## --------- ##
  1066. ## Platform. ##
  1067. ## --------- ##
  1068. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1069. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1070. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1071. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1072. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1073. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1074. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1075. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1076. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1077. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1078. hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  1079. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1080. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1081. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1082. _ASUNAME
  1083. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1084. for as_dir in $PATH
  1085. do
  1086. IFS=$as_save_IFS
  1087. test -z "$as_dir" && as_dir=.
  1088. echo "PATH: $as_dir"
  1089. done
  1090. } >&5
  1091. cat >&5 <<_ACEOF
  1092. ## ----------- ##
  1093. ## Core tests. ##
  1094. ## ----------- ##
  1095. _ACEOF
  1096. # Keep a trace of the command line.
  1097. # Strip out --no-create and --no-recursion so they do not pile up.
  1098. # Strip out --silent because we don't want to record it for future runs.
  1099. # Also quote any args containing shell meta-characters.
  1100. # Make two passes to allow for proper duplicate-argument suppression.
  1101. ac_configure_args=
  1102. ac_configure_args0=
  1103. ac_configure_args1=
  1104. ac_sep=
  1105. ac_must_keep_next=false
  1106. for ac_pass in 1 2
  1107. do
  1108. for ac_arg
  1109. do
  1110. case $ac_arg in
  1111. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1112. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1113. | -silent | --silent | --silen | --sile | --sil)
  1114. continue ;;
  1115. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1116. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1117. esac
  1118. case $ac_pass in
  1119. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1120. 2)
  1121. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1122. if test $ac_must_keep_next = true; then
  1123. ac_must_keep_next=false # Got value, back to normal.
  1124. else
  1125. case $ac_arg in
  1126. *=* | --config-cache | -C | -disable-* | --disable-* \
  1127. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1128. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1129. | -with-* | --with-* | -without-* | --without-* | --x)
  1130. case "$ac_configure_args0 " in
  1131. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1132. esac
  1133. ;;
  1134. -* ) ac_must_keep_next=true ;;
  1135. esac
  1136. fi
  1137. ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1138. # Get rid of the leading space.
  1139. ac_sep=" "
  1140. ;;
  1141. esac
  1142. done
  1143. done
  1144. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1145. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1146. # When interrupted or exit'd, cleanup temporary files, and complete
  1147. # config.log. We remove comments because anyway the quotes in there
  1148. # would cause problems or look ugly.
  1149. # WARNING: Be sure not to use single quotes in there, as some shells,
  1150. # such as our DU 5.0 friend, will then `close' the trap.
  1151. trap 'exit_status=$?
  1152. # Save into config.log some information that might help in debugging.
  1153. {
  1154. echo
  1155. cat <<\_ASBOX
  1156. ## ---------------- ##
  1157. ## Cache variables. ##
  1158. ## ---------------- ##
  1159. _ASBOX
  1160. echo
  1161. # The following way of writing the cache mishandles newlines in values,
  1162. {
  1163. (set) 2>&1 |
  1164. case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1165. *ac_space=\ *)
  1166. sed -n \
  1167. "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1168. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1169. ;;
  1170. *)
  1171. sed -n \
  1172. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1173. ;;
  1174. esac;
  1175. }
  1176. echo
  1177. cat <<\_ASBOX
  1178. ## ----------------- ##
  1179. ## Output variables. ##
  1180. ## ----------------- ##
  1181. _ASBOX
  1182. echo
  1183. for ac_var in $ac_subst_vars
  1184. do
  1185. eval ac_val=$`echo $ac_var`
  1186. echo "$ac_var='"'"'$ac_val'"'"'"
  1187. done | sort
  1188. echo
  1189. if test -n "$ac_subst_files"; then
  1190. cat <<\_ASBOX
  1191. ## ------------- ##
  1192. ## Output files. ##
  1193. ## ------------- ##
  1194. _ASBOX
  1195. echo
  1196. for ac_var in $ac_subst_files
  1197. do
  1198. eval ac_val=$`echo $ac_var`
  1199. echo "$ac_var='"'"'$ac_val'"'"'"
  1200. done | sort
  1201. echo
  1202. fi
  1203. if test -s confdefs.h; then
  1204. cat <<\_ASBOX
  1205. ## ----------- ##
  1206. ## confdefs.h. ##
  1207. ## ----------- ##
  1208. _ASBOX
  1209. echo
  1210. sed "/^$/d" confdefs.h | sort
  1211. echo
  1212. fi
  1213. test "$ac_signal" != 0 &&
  1214. echo "$as_me: caught signal $ac_signal"
  1215. echo "$as_me: exit $exit_status"
  1216. } >&5
  1217. rm -f core *.core &&
  1218. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1219. exit $exit_status
  1220. ' 0
  1221. for ac_signal in 1 2 13 15; do
  1222. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1223. done
  1224. ac_signal=0
  1225. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1226. rm -f -r conftest* confdefs.h
  1227. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1228. # NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
  1229. ac_space=' '
  1230. echo "$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space" >confdefs.h
  1231. # Predefined preprocessor variables.
  1232. cat >>confdefs.h <<_ACEOF
  1233. #define PACKAGE_NAME "$PACKAGE_NAME"
  1234. _ACEOF
  1235. cat >>confdefs.h <<_ACEOF
  1236. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1237. _ACEOF
  1238. cat >>confdefs.h <<_ACEOF
  1239. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1240. _ACEOF
  1241. cat >>confdefs.h <<_ACEOF
  1242. #define PACKAGE_STRING "$PACKAGE_STRING"
  1243. _ACEOF
  1244. cat >>confdefs.h <<_ACEOF
  1245. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1246. _ACEOF
  1247. # Let the site file select an alternate cache file if it wants to.
  1248. # Prefer explicitly selected file to automatically selected ones.
  1249. if test -z "$CONFIG_SITE"; then
  1250. if test "x$prefix" != xNONE; then
  1251. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1252. else
  1253. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1254. fi
  1255. fi
  1256. for ac_site_file in $CONFIG_SITE; do
  1257. if test -r "$ac_site_file"; then
  1258. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1259. echo "$as_me: loading site script $ac_site_file" >&6;}
  1260. sed 's/^/| /' "$ac_site_file" >&5
  1261. . "$ac_site_file"
  1262. fi
  1263. done
  1264. if test -r "$cache_file"; then
  1265. # Some versions of bash will fail to source /dev/null (special
  1266. # files actually), so we avoid doing that.
  1267. if test -f "$cache_file"; then
  1268. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1269. echo "$as_me: loading cache $cache_file" >&6;}
  1270. case $cache_file in
  1271. [\\/]* | ?:[\\/]* ) . $cache_file;;
  1272. *) . ./$cache_file;;
  1273. esac
  1274. fi
  1275. else
  1276. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1277. echo "$as_me: creating cache $cache_file" >&6;}
  1278. >$cache_file
  1279. fi
  1280. # Check that the precious variables saved in the cache have kept the same
  1281. # value.
  1282. ac_cache_corrupted=false
  1283. for ac_var in `(set) 2>&1 |
  1284. sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1285. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1286. eval ac_new_set=\$ac_env_${ac_var}_set
  1287. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1288. eval ac_new_val="\$ac_env_${ac_var}_value"
  1289. case $ac_old_set,$ac_new_set in
  1290. set,)
  1291. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1292. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1293. ac_cache_corrupted=: ;;
  1294. ,set)
  1295. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1296. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1297. ac_cache_corrupted=: ;;
  1298. ,);;
  1299. *)
  1300. if test "x$ac_old_val" != "x$ac_new_val"; then
  1301. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1302. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1303. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  1304. echo "$as_me: former value: $ac_old_val" >&2;}
  1305. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  1306. echo "$as_me: current value: $ac_new_val" >&2;}
  1307. ac_cache_corrupted=:
  1308. fi;;
  1309. esac
  1310. # Pass precious variables to config.status.
  1311. if test "$ac_new_set" = set; then
  1312. case $ac_new_val in
  1313. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1314. ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1315. *) ac_arg=$ac_var=$ac_new_val ;;
  1316. esac
  1317. case " $ac_configure_args " in
  1318. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1319. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1320. esac
  1321. fi
  1322. done
  1323. if $ac_cache_corrupted; then
  1324. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1325. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1326. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1327. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1328. { (exit 1); exit 1; }; }
  1329. fi
  1330. ac_ext=c
  1331. ac_cpp='$CPP $CPPFLAGS'
  1332. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1333. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1334. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1335. ac_config_headers="$ac_config_headers src/include/config.h:src/include/config.hin"
  1336. # checks for programs
  1337. ac_ext=c
  1338. ac_cpp='$CPP $CPPFLAGS'
  1339. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1340. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1341. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1342. if test -n "$ac_tool_prefix"; then
  1343. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1344. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1345. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1346. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1347. if test "${ac_cv_prog_CC+set}" = set; then
  1348. echo $ECHO_N "(cached) $ECHO_C" >&6
  1349. else
  1350. if test -n "$CC"; then
  1351. ac_cv_prog_CC="$CC" # Let the user override the test.
  1352. else
  1353. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1354. for as_dir in $PATH
  1355. do
  1356. IFS=$as_save_IFS
  1357. test -z "$as_dir" && as_dir=.
  1358. for ac_exec_ext in '' $ac_executable_extensions; do
  1359. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1360. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1361. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1362. break 2
  1363. fi
  1364. done
  1365. done
  1366. fi
  1367. fi
  1368. CC=$ac_cv_prog_CC
  1369. if test -n "$CC"; then
  1370. echo "$as_me:$LINENO: result: $CC" >&5
  1371. echo "${ECHO_T}$CC" >&6
  1372. else
  1373. echo "$as_me:$LINENO: result: no" >&5
  1374. echo "${ECHO_T}no" >&6
  1375. fi
  1376. fi
  1377. if test -z "$ac_cv_prog_CC"; then
  1378. ac_ct_CC=$CC
  1379. # Extract the first word of "gcc", so it can be a program name with args.
  1380. set dummy gcc; ac_word=$2
  1381. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1382. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1383. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1384. echo $ECHO_N "(cached) $ECHO_C" >&6
  1385. else
  1386. if test -n "$ac_ct_CC"; then
  1387. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1388. else
  1389. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1390. for as_dir in $PATH
  1391. do
  1392. IFS=$as_save_IFS
  1393. test -z "$as_dir" && as_dir=.
  1394. for ac_exec_ext in '' $ac_executable_extensions; do
  1395. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1396. ac_cv_prog_ac_ct_CC="gcc"
  1397. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1398. break 2
  1399. fi
  1400. done
  1401. done
  1402. fi
  1403. fi
  1404. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1405. if test -n "$ac_ct_CC"; then
  1406. echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1407. echo "${ECHO_T}$ac_ct_CC" >&6
  1408. else
  1409. echo "$as_me:$LINENO: result: no" >&5
  1410. echo "${ECHO_T}no" >&6
  1411. fi
  1412. if test "x$ac_ct_CC" = x; then
  1413. CC=""
  1414. else
  1415. if test "$build" != "$host"; then
  1416. { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1417. whose name does not start with the host triplet. If you think this
  1418. configuration is useful to you, please write to autoconf@gnu.org." >&5
  1419. echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1420. whose name does not start with the host triplet. If you think this
  1421. configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1422. fi
  1423. CC=$ac_ct_CC
  1424. fi
  1425. else
  1426. CC="$ac_cv_prog_CC"
  1427. fi
  1428. if test -z "$CC"; then
  1429. if test -n "$ac_tool_prefix"; then
  1430. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1431. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1432. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1433. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1434. if test "${ac_cv_prog_CC+set}" = set; then
  1435. echo $ECHO_N "(cached) $ECHO_C" >&6
  1436. else
  1437. if test -n "$CC"; then
  1438. ac_cv_prog_CC="$CC" # Let the user override the test.
  1439. else
  1440. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1441. for as_dir in $PATH
  1442. do
  1443. IFS=$as_save_IFS
  1444. test -z "$as_dir" && as_dir=.
  1445. for ac_exec_ext in '' $ac_executable_extensions; do
  1446. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1447. ac_cv_prog_CC="${ac_tool_prefix}cc"
  1448. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1449. break 2
  1450. fi
  1451. done
  1452. done
  1453. fi
  1454. fi
  1455. CC=$ac_cv_prog_CC
  1456. if test -n "$CC"; then
  1457. echo "$as_me:$LINENO: result: $CC" >&5
  1458. echo "${ECHO_T}$CC" >&6
  1459. else
  1460. echo "$as_me:$LINENO: result: no" >&5
  1461. echo "${ECHO_T}no" >&6
  1462. fi
  1463. fi
  1464. if test -z "$ac_cv_prog_CC"; then
  1465. ac_ct_CC=$CC
  1466. # Extract the fi