This contains my bachelors thesis and associated tex files, code snippets and maybe more. Topic: Data Movement in Heterogeneous Memories with Intel Data Streaming Accelerator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4326 lines
126 KiB

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.57.
  4. #
  5. # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  6. # 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. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  20. set -o posix
  21. fi
  22. # Support unset when possible.
  23. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  24. as_unset=unset
  25. else
  26. as_unset=false
  27. fi
  28. # Work around bugs in pre-3.0 UWIN ksh.
  29. $as_unset ENV MAIL MAILPATH
  30. PS1='$ '
  31. PS2='> '
  32. PS4='+ '
  33. # NLS nuisances.
  34. for as_var in \
  35. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  36. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  37. LC_TELEPHONE LC_TIME
  38. do
  39. if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  40. eval $as_var=C; export $as_var
  41. else
  42. $as_unset $as_var
  43. fi
  44. done
  45. # Required to use basename.
  46. if expr a : '\(a\)' >/dev/null 2>&1; then
  47. as_expr=expr
  48. else
  49. as_expr=false
  50. fi
  51. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  52. as_basename=basename
  53. else
  54. as_basename=false
  55. fi
  56. # Name of the executable.
  57. as_me=`$as_basename "$0" ||
  58. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  59. X"$0" : 'X\(//\)$' \| \
  60. X"$0" : 'X\(/\)$' \| \
  61. . : '\(.\)' 2>/dev/null ||
  62. echo X/"$0" |
  63. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  64. /^X\/\(\/\/\)$/{ s//\1/; q; }
  65. /^X\/\(\/\).*/{ s//\1/; q; }
  66. s/.*/./; q'`
  67. # PATH needs CR, and LINENO needs CR and PATH.
  68. # Avoid depending upon Character Ranges.
  69. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  70. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  71. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  72. as_cr_digits='0123456789'
  73. as_cr_alnum=$as_cr_Letters$as_cr_digits
  74. # The user is always right.
  75. if test "${PATH_SEPARATOR+set}" != set; then
  76. echo "#! /bin/sh" >conf$$.sh
  77. echo "exit 0" >>conf$$.sh
  78. chmod +x conf$$.sh
  79. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  80. PATH_SEPARATOR=';'
  81. else
  82. PATH_SEPARATOR=:
  83. fi
  84. rm -f conf$$.sh
  85. fi
  86. as_lineno_1=$LINENO
  87. as_lineno_2=$LINENO
  88. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  89. test "x$as_lineno_1" != "x$as_lineno_2" &&
  90. test "x$as_lineno_3" = "x$as_lineno_2" || {
  91. # Find who we are. Look in the path if we contain no path at all
  92. # relative or not.
  93. case $0 in
  94. *[\\/]* ) as_myself=$0 ;;
  95. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  96. for as_dir in $PATH
  97. do
  98. IFS=$as_save_IFS
  99. test -z "$as_dir" && as_dir=.
  100. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101. done
  102. ;;
  103. esac
  104. # We did not find ourselves, most probably we were run as `sh COMMAND'
  105. # in which case we are not to be found in the path.
  106. if test "x$as_myself" = x; then
  107. as_myself=$0
  108. fi
  109. if test ! -f "$as_myself"; then
  110. { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  111. { (exit 1); exit 1; }; }
  112. fi
  113. case $CONFIG_SHELL in
  114. '')
  115. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  116. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  117. do
  118. IFS=$as_save_IFS
  119. test -z "$as_dir" && as_dir=.
  120. for as_base in sh bash ksh sh5; do
  121. case $as_dir in
  122. /*)
  123. if ("$as_dir/$as_base" -c '
  124. as_lineno_1=$LINENO
  125. as_lineno_2=$LINENO
  126. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  127. test "x$as_lineno_1" != "x$as_lineno_2" &&
  128. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  129. $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  130. $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  131. CONFIG_SHELL=$as_dir/$as_base
  132. export CONFIG_SHELL
  133. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  134. fi;;
  135. esac
  136. done
  137. done
  138. ;;
  139. esac
  140. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  141. # uniformly replaced by the line number. The first 'sed' inserts a
  142. # line-number line before each line; the second 'sed' does the real
  143. # work. The second script uses 'N' to pair each line-number line
  144. # with the numbered line, and appends trailing '-' during
  145. # substitution so that $LINENO is not a special case at line end.
  146. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  147. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  148. sed '=' <$as_myself |
  149. sed '
  150. N
  151. s,$,-,
  152. : loop
  153. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  154. t loop
  155. s,-$,,
  156. s,^['$as_cr_digits']*\n,,
  157. ' >$as_me.lineno &&
  158. chmod +x $as_me.lineno ||
  159. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  160. { (exit 1); exit 1; }; }
  161. # Don't try to exec as it changes $[0], causing all sort of problems
  162. # (the dirname of $[0] is not the place where we might find the
  163. # original and so on. Autoconf is especially sensible to this).
  164. . ./$as_me.lineno
  165. # Exit status is that of the last command.
  166. exit
  167. }
  168. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  169. *c*,-n*) ECHO_N= ECHO_C='
  170. ' ECHO_T=' ' ;;
  171. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  172. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  173. esac
  174. if expr a : '\(a\)' >/dev/null 2>&1; then
  175. as_expr=expr
  176. else
  177. as_expr=false
  178. fi
  179. rm -f conf$$ conf$$.exe conf$$.file
  180. echo >conf$$.file
  181. if ln -s conf$$.file conf$$ 2>/dev/null; then
  182. # We could just check for DJGPP; but this test a) works b) is more generic
  183. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  184. if test -f conf$$.exe; then
  185. # Don't use ln at all; we don't have any links
  186. as_ln_s='cp -p'
  187. else
  188. as_ln_s='ln -s'
  189. fi
  190. elif ln conf$$.file conf$$ 2>/dev/null; then
  191. as_ln_s=ln
  192. else
  193. as_ln_s='cp -p'
  194. fi
  195. rm -f conf$$ conf$$.exe conf$$.file
  196. if mkdir -p . 2>/dev/null; then
  197. as_mkdir_p=:
  198. else
  199. as_mkdir_p=false
  200. fi
  201. as_executable_p="test -f"
  202. # Sed expression to map a string onto a valid CPP name.
  203. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  204. # Sed expression to map a string onto a valid variable name.
  205. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  206. # IFS
  207. # We need space, tab and new line, in precisely that order.
  208. as_nl='
  209. '
  210. IFS=" $as_nl"
  211. # CDPATH.
  212. $as_unset CDPATH
  213. # Name of the host.
  214. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  215. # so uname gets run too.
  216. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  217. exec 6>&1
  218. #
  219. # Initializations.
  220. #
  221. ac_default_prefix=/usr/local
  222. ac_config_libobj_dir=.
  223. cross_compiling=no
  224. subdirs=
  225. MFLAGS=
  226. MAKEFLAGS=
  227. SHELL=${CONFIG_SHELL-/bin/sh}
  228. # Maximum number of lines to put in a shell here document.
  229. # This variable seems obsolete. It should probably be removed, and
  230. # only ac_max_sed_lines should be used.
  231. : ${ac_max_here_lines=38}
  232. # Identity of this package.
  233. PACKAGE_NAME=
  234. PACKAGE_TARNAME=
  235. PACKAGE_VERSION=
  236. PACKAGE_STRING=
  237. PACKAGE_BUGREPORT=
  238. ac_unique_file="diction.c"
  239. # Factoring default headers for most tests.
  240. ac_includes_default="\
  241. #include <stdio.h>
  242. #if HAVE_SYS_TYPES_H
  243. # include <sys/types.h>
  244. #endif
  245. #if HAVE_SYS_STAT_H
  246. # include <sys/stat.h>
  247. #endif
  248. #if STDC_HEADERS
  249. # include <stdlib.h>
  250. # include <stddef.h>
  251. #else
  252. # if HAVE_STDLIB_H
  253. # include <stdlib.h>
  254. # endif
  255. #endif
  256. #if HAVE_STRING_H
  257. # if !STDC_HEADERS && HAVE_MEMORY_H
  258. # include <memory.h>
  259. # endif
  260. # include <string.h>
  261. #endif
  262. #if HAVE_STRINGS_H
  263. # include <strings.h>
  264. #endif
  265. #if HAVE_INTTYPES_H
  266. # include <inttypes.h>
  267. #else
  268. # if HAVE_STDINT_H
  269. # include <stdint.h>
  270. # endif
  271. #endif
  272. #if HAVE_UNISTD_H
  273. # include <unistd.h>
  274. #endif"
  275. 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MSGFMT CPP EGREP VERSION UPDATED DATADIR USE_NLS LIBOBJS LTLIBOBJS'
  276. ac_subst_files=''
  277. # Initialize some variables set by options.
  278. ac_init_help=
  279. ac_init_version=false
  280. # The variables have the same names as the options, with
  281. # dashes changed to underlines.
  282. cache_file=/dev/null
  283. exec_prefix=NONE
  284. no_create=
  285. no_recursion=
  286. prefix=NONE
  287. program_prefix=NONE
  288. program_suffix=NONE
  289. program_transform_name=s,x,x,
  290. silent=
  291. site=
  292. srcdir=
  293. verbose=
  294. x_includes=NONE
  295. x_libraries=NONE
  296. # Installation directory options.
  297. # These are left unexpanded so users can "make install exec_prefix=/foo"
  298. # and all the variables that are supposed to be based on exec_prefix
  299. # by default will actually change.
  300. # Use braces instead of parens because sh, perl, etc. also accept them.
  301. bindir='${exec_prefix}/bin'
  302. sbindir='${exec_prefix}/sbin'
  303. libexecdir='${exec_prefix}/libexec'
  304. datadir='${prefix}/share'
  305. sysconfdir='${prefix}/etc'
  306. sharedstatedir='${prefix}/com'
  307. localstatedir='${prefix}/var'
  308. libdir='${exec_prefix}/lib'
  309. includedir='${prefix}/include'
  310. oldincludedir='/usr/include'
  311. infodir='${prefix}/info'
  312. mandir='${prefix}/man'
  313. ac_prev=
  314. for ac_option
  315. do
  316. # If the previous option needs an argument, assign it.
  317. if test -n "$ac_prev"; then
  318. eval "$ac_prev=\$ac_option"
  319. ac_prev=
  320. continue
  321. fi
  322. ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  323. # Accept the important Cygnus configure options, so we can diagnose typos.
  324. case $ac_option in
  325. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  326. ac_prev=bindir ;;
  327. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  328. bindir=$ac_optarg ;;
  329. -build | --build | --buil | --bui | --bu)
  330. ac_prev=build_alias ;;
  331. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  332. build_alias=$ac_optarg ;;
  333. -cache-file | --cache-file | --cache-fil | --cache-fi \
  334. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  335. ac_prev=cache_file ;;
  336. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  337. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  338. cache_file=$ac_optarg ;;
  339. --config-cache | -C)
  340. cache_file=config.cache ;;
  341. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  342. ac_prev=datadir ;;
  343. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  344. | --da=*)
  345. datadir=$ac_optarg ;;
  346. -disable-* | --disable-*)
  347. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  348. # Reject names that are not valid shell variable names.
  349. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  350. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  351. { (exit 1); exit 1; }; }
  352. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  353. eval "enable_$ac_feature=no" ;;
  354. -enable-* | --enable-*)
  355. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  356. # Reject names that are not valid shell variable names.
  357. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  358. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  359. { (exit 1); exit 1; }; }
  360. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  361. case $ac_option in
  362. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  363. *) ac_optarg=yes ;;
  364. esac
  365. eval "enable_$ac_feature='$ac_optarg'" ;;
  366. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  367. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  368. | --exec | --exe | --ex)
  369. ac_prev=exec_prefix ;;
  370. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  371. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  372. | --exec=* | --exe=* | --ex=*)
  373. exec_prefix=$ac_optarg ;;
  374. -gas | --gas | --ga | --g)
  375. # Obsolete; use --with-gas.
  376. with_gas=yes ;;
  377. -help | --help | --hel | --he | -h)
  378. ac_init_help=long ;;
  379. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  380. ac_init_help=recursive ;;
  381. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  382. ac_init_help=short ;;
  383. -host | --host | --hos | --ho)
  384. ac_prev=host_alias ;;
  385. -host=* | --host=* | --hos=* | --ho=*)
  386. host_alias=$ac_optarg ;;
  387. -includedir | --includedir | --includedi | --included | --include \
  388. | --includ | --inclu | --incl | --inc)
  389. ac_prev=includedir ;;
  390. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  391. | --includ=* | --inclu=* | --incl=* | --inc=*)
  392. includedir=$ac_optarg ;;
  393. -infodir | --infodir | --infodi | --infod | --info | --inf)
  394. ac_prev=infodir ;;
  395. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  396. infodir=$ac_optarg ;;
  397. -libdir | --libdir | --libdi | --libd)
  398. ac_prev=libdir ;;
  399. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  400. libdir=$ac_optarg ;;
  401. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  402. | --libexe | --libex | --libe)
  403. ac_prev=libexecdir ;;
  404. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  405. | --libexe=* | --libex=* | --libe=*)
  406. libexecdir=$ac_optarg ;;
  407. -localstatedir | --localstatedir | --localstatedi | --localstated \
  408. | --localstate | --localstat | --localsta | --localst \
  409. | --locals | --local | --loca | --loc | --lo)
  410. ac_prev=localstatedir ;;
  411. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  412. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  413. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  414. localstatedir=$ac_optarg ;;
  415. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  416. ac_prev=mandir ;;
  417. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  418. mandir=$ac_optarg ;;
  419. -nfp | --nfp | --nf)
  420. # Obsolete; use --without-fp.
  421. with_fp=no ;;
  422. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  423. | --no-cr | --no-c | -n)
  424. no_create=yes ;;
  425. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  426. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  427. no_recursion=yes ;;
  428. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  429. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  430. | --oldin | --oldi | --old | --ol | --o)
  431. ac_prev=oldincludedir ;;
  432. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  433. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  434. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  435. oldincludedir=$ac_optarg ;;
  436. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  437. ac_prev=prefix ;;
  438. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  439. prefix=$ac_optarg ;;
  440. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  441. | --program-pre | --program-pr | --program-p)
  442. ac_prev=program_prefix ;;
  443. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  444. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  445. program_prefix=$ac_optarg ;;
  446. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  447. | --program-suf | --program-su | --program-s)
  448. ac_prev=program_suffix ;;
  449. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  450. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  451. program_suffix=$ac_optarg ;;
  452. -program-transform-name | --program-transform-name \
  453. | --program-transform-nam | --program-transform-na \
  454. | --program-transform-n | --program-transform- \
  455. | --program-transform | --program-transfor \
  456. | --program-transfo | --program-transf \
  457. | --program-trans | --program-tran \
  458. | --progr-tra | --program-tr | --program-t)
  459. ac_prev=program_transform_name ;;
  460. -program-transform-name=* | --program-transform-name=* \
  461. | --program-transform-nam=* | --program-transform-na=* \
  462. | --program-transform-n=* | --program-transform-=* \
  463. | --program-transform=* | --program-transfor=* \
  464. | --program-transfo=* | --program-transf=* \
  465. | --program-trans=* | --program-tran=* \
  466. | --progr-tra=* | --program-tr=* | --program-t=*)
  467. program_transform_name=$ac_optarg ;;
  468. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  469. | -silent | --silent | --silen | --sile | --sil)
  470. silent=yes ;;
  471. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  472. ac_prev=sbindir ;;
  473. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  474. | --sbi=* | --sb=*)
  475. sbindir=$ac_optarg ;;
  476. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  477. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  478. | --sharedst | --shareds | --shared | --share | --shar \
  479. | --sha | --sh)
  480. ac_prev=sharedstatedir ;;
  481. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  482. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  483. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  484. | --sha=* | --sh=*)
  485. sharedstatedir=$ac_optarg ;;
  486. -site | --site | --sit)
  487. ac_prev=site ;;
  488. -site=* | --site=* | --sit=*)
  489. site=$ac_optarg ;;
  490. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  491. ac_prev=srcdir ;;
  492. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  493. srcdir=$ac_optarg ;;
  494. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  495. | --syscon | --sysco | --sysc | --sys | --sy)
  496. ac_prev=sysconfdir ;;
  497. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  498. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  499. sysconfdir=$ac_optarg ;;
  500. -target | --target | --targe | --targ | --tar | --ta | --t)
  501. ac_prev=target_alias ;;
  502. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  503. target_alias=$ac_optarg ;;
  504. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  505. verbose=yes ;;
  506. -version | --version | --versio | --versi | --vers | -V)
  507. ac_init_version=: ;;
  508. -with-* | --with-*)
  509. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  510. # Reject names that are not valid shell variable names.
  511. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  512. { echo "$as_me: error: invalid package name: $ac_package" >&2
  513. { (exit 1); exit 1; }; }
  514. ac_package=`echo $ac_package| sed 's/-/_/g'`
  515. case $ac_option in
  516. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  517. *) ac_optarg=yes ;;
  518. esac
  519. eval "with_$ac_package='$ac_optarg'" ;;
  520. -without-* | --without-*)
  521. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  522. # Reject names that are not valid shell variable names.
  523. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  524. { echo "$as_me: error: invalid package name: $ac_package" >&2
  525. { (exit 1); exit 1; }; }
  526. ac_package=`echo $ac_package | sed 's/-/_/g'`
  527. eval "with_$ac_package=no" ;;
  528. --x)
  529. # Obsolete; use --with-x.
  530. with_x=yes ;;
  531. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  532. | --x-incl | --x-inc | --x-in | --x-i)
  533. ac_prev=x_includes ;;
  534. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  535. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  536. x_includes=$ac_optarg ;;
  537. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  538. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  539. ac_prev=x_libraries ;;
  540. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  541. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  542. x_libraries=$ac_optarg ;;
  543. -*) { echo "$as_me: error: unrecognized option: $ac_option
  544. Try \`$0 --help' for more information." >&2
  545. { (exit 1); exit 1; }; }
  546. ;;
  547. *=*)
  548. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  549. # Reject names that are not valid shell variable names.
  550. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  551. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  552. { (exit 1); exit 1; }; }
  553. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  554. eval "$ac_envvar='$ac_optarg'"
  555. export $ac_envvar ;;
  556. *)
  557. # FIXME: should be removed in autoconf 3.0.
  558. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  559. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  560. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  561. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  562. ;;
  563. esac
  564. done
  565. if test -n "$ac_prev"; then
  566. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  567. { echo "$as_me: error: missing argument to $ac_option" >&2
  568. { (exit 1); exit 1; }; }
  569. fi
  570. # Be sure to have absolute paths.
  571. for ac_var in exec_prefix prefix
  572. do
  573. eval ac_val=$`echo $ac_var`
  574. case $ac_val in
  575. [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  576. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  577. { (exit 1); exit 1; }; };;
  578. esac
  579. done
  580. # Be sure to have absolute paths.
  581. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  582. localstatedir libdir includedir oldincludedir infodir mandir
  583. do
  584. eval ac_val=$`echo $ac_var`
  585. case $ac_val in
  586. [\\/$]* | ?:[\\/]* ) ;;
  587. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  588. { (exit 1); exit 1; }; };;
  589. esac
  590. done
  591. # There might be people who depend on the old broken behavior: `$host'
  592. # used to hold the argument of --host etc.
  593. # FIXME: To remove some day.
  594. build=$build_alias
  595. host=$host_alias
  596. target=$target_alias
  597. # FIXME: To remove some day.
  598. if test "x$host_alias" != x; then
  599. if test "x$build_alias" = x; then
  600. cross_compiling=maybe
  601. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  602. If a cross compiler is detected then cross compile mode will be used." >&2
  603. elif test "x$build_alias" != "x$host_alias"; then
  604. cross_compiling=yes
  605. fi
  606. fi
  607. ac_tool_prefix=
  608. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  609. test "$silent" = yes && exec 6>/dev/null
  610. # Find the source files, if location was not specified.
  611. if test -z "$srcdir"; then
  612. ac_srcdir_defaulted=yes
  613. # Try the directory containing this script, then its parent.
  614. ac_confdir=`(dirname "$0") 2>/dev/null ||
  615. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  616. X"$0" : 'X\(//\)[^/]' \| \
  617. X"$0" : 'X\(//\)$' \| \
  618. X"$0" : 'X\(/\)' \| \
  619. . : '\(.\)' 2>/dev/null ||
  620. echo X"$0" |
  621. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  622. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  623. /^X\(\/\/\)$/{ s//\1/; q; }
  624. /^X\(\/\).*/{ s//\1/; q; }
  625. s/.*/./; q'`
  626. srcdir=$ac_confdir
  627. if test ! -r $srcdir/$ac_unique_file; then
  628. srcdir=..
  629. fi
  630. else
  631. ac_srcdir_defaulted=no
  632. fi
  633. if test ! -r $srcdir/$ac_unique_file; then
  634. if test "$ac_srcdir_defaulted" = yes; then
  635. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  636. { (exit 1); exit 1; }; }
  637. else
  638. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  639. { (exit 1); exit 1; }; }
  640. fi
  641. fi
  642. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  643. { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  644. { (exit 1); exit 1; }; }
  645. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  646. ac_env_build_alias_set=${build_alias+set}
  647. ac_env_build_alias_value=$build_alias
  648. ac_cv_env_build_alias_set=${build_alias+set}
  649. ac_cv_env_build_alias_value=$build_alias
  650. ac_env_host_alias_set=${host_alias+set}
  651. ac_env_host_alias_value=$host_alias
  652. ac_cv_env_host_alias_set=${host_alias+set}
  653. ac_cv_env_host_alias_value=$host_alias
  654. ac_env_target_alias_set=${target_alias+set}
  655. ac_env_target_alias_value=$target_alias
  656. ac_cv_env_target_alias_set=${target_alias+set}
  657. ac_cv_env_target_alias_value=$target_alias
  658. ac_env_CC_set=${CC+set}
  659. ac_env_CC_value=$CC
  660. ac_cv_env_CC_set=${CC+set}
  661. ac_cv_env_CC_value=$CC
  662. ac_env_CFLAGS_set=${CFLAGS+set}
  663. ac_env_CFLAGS_value=$CFLAGS
  664. ac_cv_env_CFLAGS_set=${CFLAGS+set}
  665. ac_cv_env_CFLAGS_value=$CFLAGS
  666. ac_env_LDFLAGS_set=${LDFLAGS+set}
  667. ac_env_LDFLAGS_value=$LDFLAGS
  668. ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  669. ac_cv_env_LDFLAGS_value=$LDFLAGS
  670. ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  671. ac_env_CPPFLAGS_value=$CPPFLAGS
  672. ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  673. ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  674. ac_env_CPP_set=${CPP+set}
  675. ac_env_CPP_value=$CPP
  676. ac_cv_env_CPP_set=${CPP+set}
  677. ac_cv_env_CPP_value=$CPP
  678. #
  679. # Report the --help message.
  680. #
  681. if test "$ac_init_help" = "long"; then
  682. # Omit some internal or obsolete options to make the list less imposing.
  683. # This message is too long to be a string in the A/UX 3.1 sh.
  684. cat <<_ACEOF
  685. \`configure' configures this package to adapt to many kinds of systems.
  686. Usage: $0 [OPTION]... [VAR=VALUE]...
  687. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  688. VAR=VALUE. See below for descriptions of some of the useful variables.
  689. Defaults for the options are specified in brackets.
  690. Configuration:
  691. -h, --help display this help and exit
  692. --help=short display options specific to this package
  693. --help=recursive display the short help of all the included packages
  694. -V, --version display version information and exit
  695. -q, --quiet, --silent do not print \`checking...' messages
  696. --cache-file=FILE cache test results in FILE [disabled]
  697. -C, --config-cache alias for \`--cache-file=config.cache'
  698. -n, --no-create do not create output files
  699. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  700. _ACEOF
  701. cat <<_ACEOF
  702. Installation directories:
  703. --prefix=PREFIX install architecture-independent files in PREFIX
  704. [$ac_default_prefix]
  705. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  706. [PREFIX]
  707. By default, \`make install' will install all the files in
  708. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  709. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  710. for instance \`--prefix=\$HOME'.
  711. For better control, use the options below.
  712. Fine tuning of the installation directories:
  713. --bindir=DIR user executables [EPREFIX/bin]
  714. --sbindir=DIR system admin executables [EPREFIX/sbin]
  715. --libexecdir=DIR program executables [EPREFIX/libexec]
  716. --datadir=DIR read-only architecture-independent data [PREFIX/share]
  717. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  718. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  719. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  720. --libdir=DIR object code libraries [EPREFIX/lib]
  721. --includedir=DIR C header files [PREFIX/include]
  722. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  723. --infodir=DIR info documentation [PREFIX/info]
  724. --mandir=DIR man documentation [PREFIX/man]
  725. _ACEOF
  726. cat <<\_ACEOF
  727. System types:
  728. --build=BUILD configure for building on BUILD [guessed]
  729. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  730. _ACEOF
  731. fi
  732. if test -n "$ac_init_help"; then
  733. cat <<\_ACEOF
  734. Some influential environment variables:
  735. CC C compiler command
  736. CFLAGS C compiler flags
  737. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  738. nonstandard directory <lib dir>
  739. CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  740. headers in a nonstandard directory <include dir>
  741. CPP C preprocessor
  742. Use these variables to override the choices made by `configure' or to help
  743. it to find libraries and programs with nonstandard names/locations.
  744. _ACEOF
  745. fi
  746. if test "$ac_init_help" = "recursive"; then
  747. # If there are subdirs, report their specific --help.
  748. ac_popdir=`pwd`
  749. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  750. test -d $ac_dir || continue
  751. ac_builddir=.
  752. if test "$ac_dir" != .; then
  753. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  754. # A "../" for each directory in $ac_dir_suffix.
  755. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  756. else
  757. ac_dir_suffix= ac_top_builddir=
  758. fi
  759. case $srcdir in
  760. .) # No --srcdir option. We are building in place.
  761. ac_srcdir=.
  762. if test -z "$ac_top_builddir"; then
  763. ac_top_srcdir=.
  764. else
  765. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  766. fi ;;
  767. [\\/]* | ?:[\\/]* ) # Absolute path.
  768. ac_srcdir=$srcdir$ac_dir_suffix;
  769. ac_top_srcdir=$srcdir ;;
  770. *) # Relative path.
  771. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  772. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  773. esac
  774. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  775. # absolute.
  776. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  777. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  778. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  779. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  780. cd $ac_dir
  781. # Check for guested configure; otherwise get Cygnus style configure.
  782. if test -f $ac_srcdir/configure.gnu; then
  783. echo
  784. $SHELL $ac_srcdir/configure.gnu --help=recursive
  785. elif test -f $ac_srcdir/configure; then
  786. echo
  787. $SHELL $ac_srcdir/configure --help=recursive
  788. elif test -f $ac_srcdir/configure.ac ||
  789. test -f $ac_srcdir/configure.in; then
  790. echo
  791. $ac_configure --help
  792. else
  793. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  794. fi
  795. cd $ac_popdir
  796. done
  797. fi
  798. test -n "$ac_init_help" && exit 0
  799. if $ac_init_version; then
  800. cat <<\_ACEOF
  801. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  802. Free Software Foundation, Inc.
  803. This configure script is free software; the Free Software Foundation
  804. gives unlimited permission to copy, distribute and modify it.
  805. _ACEOF
  806. exit 0
  807. fi
  808. exec 5>config.log
  809. cat >&5 <<_ACEOF
  810. This file contains any messages produced by compilers while
  811. running configure, to aid debugging if configure makes a mistake.
  812. It was created by $as_me, which was
  813. generated by GNU Autoconf 2.57. Invocation command line was
  814. $ $0 $@
  815. _ACEOF
  816. {
  817. cat <<_ASUNAME
  818. ## --------- ##
  819. ## Platform. ##
  820. ## --------- ##
  821. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  822. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  823. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  824. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  825. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  826. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  827. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  828. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  829. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  830. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  831. hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  832. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  833. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  834. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  835. _ASUNAME
  836. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  837. for as_dir in $PATH
  838. do
  839. IFS=$as_save_IFS
  840. test -z "$as_dir" && as_dir=.
  841. echo "PATH: $as_dir"
  842. done
  843. } >&5
  844. cat >&5 <<_ACEOF
  845. ## ----------- ##
  846. ## Core tests. ##
  847. ## ----------- ##
  848. _ACEOF
  849. # Keep a trace of the command line.
  850. # Strip out --no-create and --no-recursion so they do not pile up.
  851. # Strip out --silent because we don't want to record it for future runs.
  852. # Also quote any args containing shell meta-characters.
  853. # Make two passes to allow for proper duplicate-argument suppression.
  854. ac_configure_args=
  855. ac_configure_args0=
  856. ac_configure_args1=
  857. ac_sep=
  858. ac_must_keep_next=false
  859. for ac_pass in 1 2
  860. do
  861. for ac_arg
  862. do
  863. case $ac_arg in
  864. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  865. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  866. | -silent | --silent | --silen | --sile | --sil)
  867. continue ;;
  868. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  869. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  870. esac
  871. case $ac_pass in
  872. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  873. 2)
  874. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  875. if test $ac_must_keep_next = true; then
  876. ac_must_keep_next=false # Got value, back to normal.
  877. else
  878. case $ac_arg in
  879. *=* | --config-cache | -C | -disable-* | --disable-* \
  880. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  881. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  882. | -with-* | --with-* | -without-* | --without-* | --x)
  883. case "$ac_configure_args0 " in
  884. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  885. esac
  886. ;;
  887. -* ) ac_must_keep_next=true ;;
  888. esac
  889. fi
  890. ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  891. # Get rid of the leading space.
  892. ac_sep=" "
  893. ;;
  894. esac
  895. done
  896. done
  897. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  898. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  899. # When interrupted or exit'd, cleanup temporary files, and complete
  900. # config.log. We remove comments because anyway the quotes in there
  901. # would cause problems or look ugly.
  902. # WARNING: Be sure not to use single quotes in there, as some shells,
  903. # such as our DU 5.0 friend, will then `close' the trap.
  904. trap 'exit_status=$?
  905. # Save into config.log some information that might help in debugging.
  906. {
  907. echo
  908. cat <<\_ASBOX
  909. ## ---------------- ##
  910. ## Cache variables. ##
  911. ## ---------------- ##
  912. _ASBOX
  913. echo
  914. # The following way of writing the cache mishandles newlines in values,
  915. {
  916. (set) 2>&1 |
  917. case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  918. *ac_space=\ *)
  919. sed -n \
  920. "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  921. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  922. ;;
  923. *)
  924. sed -n \
  925. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  926. ;;
  927. esac;
  928. }
  929. echo
  930. cat <<\_ASBOX
  931. ## ----------------- ##
  932. ## Output variables. ##
  933. ## ----------------- ##
  934. _ASBOX
  935. echo
  936. for ac_var in $ac_subst_vars
  937. do
  938. eval ac_val=$`echo $ac_var`
  939. echo "$ac_var='"'"'$ac_val'"'"'"
  940. done | sort
  941. echo
  942. if test -n "$ac_subst_files"; then
  943. cat <<\_ASBOX
  944. ## ------------- ##
  945. ## Output files. ##
  946. ## ------------- ##
  947. _ASBOX
  948. echo
  949. for ac_var in $ac_subst_files
  950. do
  951. eval ac_val=$`echo $ac_var`
  952. echo "$ac_var='"'"'$ac_val'"'"'"
  953. done | sort
  954. echo
  955. fi
  956. if test -s confdefs.h; then
  957. cat <<\_ASBOX
  958. ## ----------- ##
  959. ## confdefs.h. ##
  960. ## ----------- ##
  961. _ASBOX
  962. echo
  963. sed "/^$/d" confdefs.h | sort
  964. echo
  965. fi
  966. test "$ac_signal" != 0 &&
  967. echo "$as_me: caught signal $ac_signal"
  968. echo "$as_me: exit $exit_status"
  969. } >&5
  970. rm -f core core.* *.core &&
  971. rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  972. exit $exit_status
  973. ' 0
  974. for ac_signal in 1 2 13 15; do
  975. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  976. done
  977. ac_signal=0
  978. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  979. rm -rf conftest* confdefs.h
  980. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  981. echo >confdefs.h
  982. # Predefined preprocessor variables.
  983. cat >>confdefs.h <<_ACEOF
  984. #define PACKAGE_NAME "$PACKAGE_NAME"
  985. _ACEOF
  986. cat >>confdefs.h <<_ACEOF
  987. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  988. _ACEOF
  989. cat >>confdefs.h <<_ACEOF
  990. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  991. _ACEOF
  992. cat >>confdefs.h <<_ACEOF
  993. #define PACKAGE_STRING "$PACKAGE_STRING"
  994. _ACEOF
  995. cat >>confdefs.h <<_ACEOF
  996. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  997. _ACEOF
  998. # Let the site file select an alternate cache file if it wants to.
  999. # Prefer explicitly selected file to automatically selected ones.
  1000. if test -z "$CONFIG_SITE"; then
  1001. if test "x$prefix" != xNONE; then
  1002. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1003. else
  1004. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1005. fi
  1006. fi
  1007. for ac_site_file in $CONFIG_SITE; do
  1008. if test -r "$ac_site_file"; then
  1009. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1010. echo "$as_me: loading site script $ac_site_file" >&6;}
  1011. sed 's/^/| /' "$ac_site_file" >&5
  1012. . "$ac_site_file"
  1013. fi
  1014. done
  1015. if test -r "$cache_file"; then
  1016. # Some versions of bash will fail to source /dev/null (special
  1017. # files actually), so we avoid doing that.
  1018. if test -f "$cache_file"; then
  1019. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1020. echo "$as_me: loading cache $cache_file" >&6;}
  1021. case $cache_file in
  1022. [\\/]* | ?:[\\/]* ) . $cache_file;;
  1023. *) . ./$cache_file;;
  1024. esac
  1025. fi
  1026. else
  1027. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1028. echo "$as_me: creating cache $cache_file" >&6;}
  1029. >$cache_file
  1030. fi
  1031. # Check that the precious variables saved in the cache have kept the same
  1032. # value.
  1033. ac_cache_corrupted=false
  1034. for ac_var in `(set) 2>&1 |
  1035. sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1036. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1037. eval ac_new_set=\$ac_env_${ac_var}_set
  1038. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1039. eval ac_new_val="\$ac_env_${ac_var}_value"
  1040. case $ac_old_set,$ac_new_set in
  1041. set,)
  1042. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1043. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1044. ac_cache_corrupted=: ;;
  1045. ,set)
  1046. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1047. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1048. ac_cache_corrupted=: ;;
  1049. ,);;
  1050. *)
  1051. if test "x$ac_old_val" != "x$ac_new_val"; then
  1052. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1053. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1054. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  1055. echo "$as_me: former value: $ac_old_val" >&2;}
  1056. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  1057. echo "$as_me: current value: $ac_new_val" >&2;}
  1058. ac_cache_corrupted=:
  1059. fi;;
  1060. esac
  1061. # Pass precious variables to config.status.
  1062. if test "$ac_new_set" = set; then
  1063. case $ac_new_val in
  1064. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1065. ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1066. *) ac_arg=$ac_var=$ac_new_val ;;
  1067. esac
  1068. case " $ac_configure_args " in
  1069. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1070. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1071. esac
  1072. fi
  1073. done
  1074. if $ac_cache_corrupted; then
  1075. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1076. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1077. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1078. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1079. { (exit 1); exit 1; }; }
  1080. fi
  1081. ac_ext=c
  1082. ac_cpp='$CPP $CPPFLAGS'
  1083. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1084. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1085. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1086. ac_config_headers="$ac_config_headers config.h"
  1087. ac_aux_dir=
  1088. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1089. if test -f $ac_dir/install-sh; then
  1090. ac_aux_dir=$ac_dir
  1091. ac_install_sh="$ac_aux_dir/install-sh -c"
  1092. break
  1093. elif test -f $ac_dir/install.sh; then
  1094. ac_aux_dir=$ac_dir
  1095. ac_install_sh="$ac_aux_dir/install.sh -c"
  1096. break
  1097. elif test -f $ac_dir/shtool; then
  1098. ac_aux_dir=$ac_dir
  1099. ac_install_sh="$ac_aux_dir/shtool install -c"
  1100. break
  1101. fi
  1102. done
  1103. if test -z "$ac_aux_dir"; then
  1104. { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1105. echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1106. { (exit 1); exit 1; }; }
  1107. fi
  1108. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1109. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1110. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1111. # Make sure we can run config.sub.
  1112. $ac_config_sub sun4 >/dev/null 2>&1 ||
  1113. { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  1114. echo "$as_me: error: cannot run $ac_config_sub" >&2;}
  1115. { (exit 1); exit 1; }; }
  1116. echo "$as_me:$LINENO: checking build system type" >&5
  1117. echo $ECHO_N "checking build system type... $ECHO_C" >&6
  1118. if test "${ac_cv_build+set}" = set; then
  1119. echo $ECHO_N "(cached) $ECHO_C" >&6
  1120. else
  1121. ac_cv_build_alias=$build_alias
  1122. test -z "$ac_cv_build_alias" &&
  1123. ac_cv_build_alias=`$ac_config_guess`
  1124. test -z "$ac_cv_build_alias" &&
  1125. { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1126. echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1127. { (exit 1); exit 1; }; }
  1128. ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  1129. { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
  1130. echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
  1131. { (exit 1); exit 1; }; }
  1132. fi
  1133. echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1134. echo "${ECHO_T}$ac_cv_build" >&6
  1135. build=$ac_cv_build
  1136. build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1137. build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1138. build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1139. echo "$as_me:$LINENO: checking host system type" >&5
  1140. echo $ECHO_N "checking host system type... $ECHO_C" >&6
  1141. if test "${ac_cv_host+set}" = set; then
  1142. echo $ECHO_N "(cached) $ECHO_C" >&6
  1143. else
  1144. ac_cv_host_alias=$host_alias
  1145. test -z "$ac_cv_host_alias" &&
  1146. ac_cv_host_alias=$ac_cv_build_alias
  1147. ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  1148. { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  1149. echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
  1150. { (exit 1); exit 1; }; }
  1151. fi
  1152. echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1153. echo "${ECHO_T}$ac_cv_host" >&6
  1154. host=$ac_cv_host
  1155. host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1156. host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1157. host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1158. VERSION=1.03
  1159. UPDATED='April 8, 2003'
  1160. ALL_LINGUAS="de"
  1161. if test "$prefix" = NONE
  1162. then
  1163. case $host in
  1164. *-linux-*)
  1165. PIPE="-pipe "
  1166. ;;
  1167. esac
  1168. fi
  1169. ac_ext=c
  1170. ac_cpp='$CPP $CPPFLAGS'
  1171. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1172. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1173. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1174. if test -n "$ac_tool_prefix"; then
  1175. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1176. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1177. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1178. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1179. if test "${ac_cv_prog_CC+set}" = set; then
  1180. echo $ECHO_N "(cached) $ECHO_C" >&6
  1181. else
  1182. if test -n "$CC"; then
  1183. ac_cv_prog_CC="$CC" # Let the user override the test.
  1184. else
  1185. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1186. for as_dir in $PATH
  1187. do
  1188. IFS=$as_save_IFS
  1189. test -z "$as_dir" && as_dir=.
  1190. for ac_exec_ext in '' $ac_executable_extensions; do
  1191. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1192. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1193. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1194. break 2
  1195. fi
  1196. done
  1197. done
  1198. fi
  1199. fi
  1200. CC=$ac_cv_prog_CC
  1201. if test -n "$CC"; then
  1202. echo "$as_me:$LINENO: result: $CC" >&5
  1203. echo "${ECHO_T}$CC" >&6
  1204. else
  1205. echo "$as_me:$LINENO: result: no" >&5
  1206. echo "${ECHO_T}no" >&6
  1207. fi
  1208. fi
  1209. if test -z "$ac_cv_prog_CC"; then
  1210. ac_ct_CC=$CC
  1211. # Extract the first word of "gcc", so it can be a program name with args.
  1212. set dummy gcc; ac_word=$2
  1213. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1214. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1215. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1216. echo $ECHO_N "(cached) $ECHO_C" >&6
  1217. else
  1218. if test -n "$ac_ct_CC"; then
  1219. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1220. else
  1221. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1222. for as_dir in $PATH
  1223. do
  1224. IFS=$as_save_IFS
  1225. test -z "$as_dir" && as_dir=.
  1226. for ac_exec_ext in '' $ac_executable_extensions; do
  1227. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1228. ac_cv_prog_ac_ct_CC="gcc"
  1229. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1230. break 2
  1231. fi
  1232. done
  1233. done
  1234. fi
  1235. fi
  1236. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1237. if test -n "$ac_ct_CC"; then
  1238. echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1239. echo "${ECHO_T}$ac_ct_CC" >&6
  1240. else
  1241. echo "$as_me:$LINENO: result: no" >&5
  1242. echo "${ECHO_T}no" >&6
  1243. fi
  1244. CC=$ac_ct_CC
  1245. else
  1246. CC="$ac_cv_prog_CC"
  1247. fi
  1248. if test -z "$CC"; then
  1249. if test -n "$ac_tool_prefix"; then
  1250. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1251. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1252. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1253. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1254. if test "${ac_cv_prog_CC+set}" = set; then
  1255. echo $ECHO_N "(cached) $ECHO_C" >&6
  1256. else
  1257. if test -n "$CC"; then
  1258. ac_cv_prog_CC="$CC" # Let the user override the test.
  1259. else
  1260. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1261. for as_dir in $PATH
  1262. do
  1263. IFS=$as_save_IFS
  1264. test -z "$as_dir" && as_dir=.
  1265. for ac_exec_ext in '' $ac_executable_extensions; do
  1266. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1267. ac_cv_prog_CC="${ac_tool_prefix}cc"
  1268. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1269. break 2
  1270. fi
  1271. done
  1272. done
  1273. fi
  1274. fi
  1275. CC=$ac_cv_prog_CC
  1276. if test -n "$CC"; then
  1277. echo "$as_me:$LINENO: result: $CC" >&5
  1278. echo "${ECHO_T}$CC" >&6
  1279. else
  1280. echo "$as_me:$LINENO: result: no" >&5
  1281. echo "${ECHO_T}no" >&6
  1282. fi
  1283. fi
  1284. if test -z "$ac_cv_prog_CC"; then
  1285. ac_ct_CC=$CC
  1286. # Extract the first word of "cc", so it can be a program name with args.
  1287. set dummy cc; ac_word=$2
  1288. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1289. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1290. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1291. echo $ECHO_N "(cached) $ECHO_C" >&6
  1292. else
  1293. if test -n "$ac_ct_CC"; then
  1294. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1295. else
  1296. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1297. for as_dir in $PATH
  1298. do
  1299. IFS=$as_save_IFS
  1300. test -z "$as_dir" && as_dir=.
  1301. for ac_exec_ext in '' $ac_executable_extensions; do
  1302. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1303. ac_cv_prog_ac_ct_CC="cc"
  1304. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1305. break 2
  1306. fi
  1307. done
  1308. done
  1309. fi
  1310. fi
  1311. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1312. if test -n "$ac_ct_CC"; then
  1313. echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1314. echo "${ECHO_T}$ac_ct_CC" >&6
  1315. else
  1316. echo "$as_me:$LINENO: result: no" >&5
  1317. echo "${ECHO_T}no" >&6
  1318. fi
  1319. CC=$ac_ct_CC
  1320. else
  1321. CC="$ac_cv_prog_CC"
  1322. fi
  1323. fi
  1324. if test -z "$CC"; then
  1325. # Extract the first word of "cc", so it can be a program name with args.
  1326. set dummy cc; ac_word=$2
  1327. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1328. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1329. if test "${ac_cv_prog_CC+set}" = set; then
  1330. echo $ECHO_N "(cached) $ECHO_C" >&6
  1331. else
  1332. if test -n "$CC"; then
  1333. ac_cv_prog_CC="$CC" # Let the user override the test.
  1334. else
  1335. ac_prog_rejected=no
  1336. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1337. for as_dir in $PATH
  1338. do
  1339. IFS=$as_save_IFS
  1340. test -z "$as_dir" && as_dir=.
  1341. for ac_exec_ext in '' $ac_executable_extensions; do
  1342. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1343. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1344. ac_prog_rejected=yes
  1345. continue
  1346. fi
  1347. ac_cv_prog_CC="cc"
  1348. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1349. break 2
  1350. fi
  1351. done
  1352. done
  1353. if test $ac_prog_rejected = yes; then
  1354. # We found a bogon in the path, so make sure we never use it.
  1355. set dummy $ac_cv_prog_CC
  1356. shift
  1357. if test $# != 0; then
  1358. # We chose a different compiler from the bogus one.
  1359. # However, it has the same basename, so the bogon will be chosen
  1360. # first if we set CC to just the basename; use the full file name.
  1361. shift
  1362. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1363. fi
  1364. fi
  1365. fi
  1366. fi
  1367. CC=$ac_cv_prog_CC
  1368. if test -n "$CC"; then
  1369. echo "$as_me:$LINENO: result: $CC" >&5
  1370. echo "${ECHO_T}$CC" >&6
  1371. else
  1372. echo "$as_me:$LINENO: result: no" >&5
  1373. echo "${ECHO_T}no" >&6
  1374. fi
  1375. fi
  1376. if test -z "$CC"; then
  1377. if test -n "$ac_tool_prefix"; then
  1378. for ac_prog in cl
  1379. do
  1380. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1381. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1382. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1383. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1384. if test "${ac_cv_prog_CC+set}" = set; then
  1385. echo $ECHO_N "(cached) $ECHO_C" >&6
  1386. else
  1387. if test -n "$CC"; then
  1388. ac_cv_prog_CC="$CC" # Let the user override the test.
  1389. else
  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. for ac_exec_ext in '' $ac_executable_extensions; do
  1396. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1397. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1398. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1399. break 2
  1400. fi
  1401. done
  1402. done
  1403. fi
  1404. fi
  1405. CC=$ac_cv_prog_CC
  1406. if test -n "$CC"; then
  1407. echo "$as_me:$LINENO: result: $CC" >&5
  1408. echo "${ECHO_T}$CC" >&6
  1409. else
  1410. echo "$as_me:$LINENO: result: no" >&5
  1411. echo "${ECHO_T}no" >&6
  1412. fi
  1413. test -n "$CC" && break
  1414. done
  1415. fi
  1416. if test -z "$CC"; then
  1417. ac_ct_CC=$CC
  1418. for ac_prog in cl
  1419. do
  1420. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1421. set dummy $ac_prog; ac_word=$2
  1422. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1423. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1424. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1425. echo $ECHO_N "(cached) $ECHO_C" >&6
  1426. else
  1427. if test -n "$ac_ct_CC"; then
  1428. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1429. else
  1430. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1431. for as_dir in $PATH
  1432. do
  1433. IFS=$as_save_IFS
  1434. test -z "$as_dir" && as_dir=.
  1435. for ac_exec_ext in '' $ac_executable_extensions; do
  1436. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1437. ac_cv_prog_ac_ct_CC="$ac_prog"
  1438. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1439. break 2
  1440. fi
  1441. done
  1442. done
  1443. fi
  1444. fi
  1445. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1446. if test -n "$ac_ct_CC"; then
  1447. echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1448. echo "${ECHO_T}$ac_ct_CC" >&6
  1449. else
  1450. echo "$as_me:$LINENO: result: no" >&5
  1451. echo "${ECHO_T}no" >&6
  1452. fi
  1453. test -n "$ac_ct_CC" && break
  1454. done
  1455. CC=$ac_ct_CC
  1456. fi
  1457. fi
  1458. test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  1459. See \`config.log' for more details." >&5
  1460. echo "$as_me: error: no acceptable C compiler found in \$PATH
  1461. See \`config.log' for more details." >&2;}
  1462. { (exit 1); exit 1; }; }
  1463. # Provide some information about the compiler.
  1464. echo "$as_me:$LINENO:" \
  1465. "checking for C compiler version" >&5
  1466. ac_compiler=`set X $ac_compile; echo $2`
  1467. { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  1468. (eval $ac_compiler --version </dev/null >&5) 2>&5
  1469. ac_status=$?
  1470. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1471. (exit $ac_status); }
  1472. { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  1473. (eval $ac_compiler -v </dev/null >&5) 2>&5
  1474. ac_status=$?
  1475. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1476. (exit $ac_status); }
  1477. { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  1478. (eval $ac_compiler -V </dev/null >&5) 2>&5
  1479. ac_status=$?
  1480. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1481. (exit $ac_status); }
  1482. cat >conftest.$ac_ext <<_ACEOF
  1483. #line $LINENO "configure"
  1484. /* confdefs.h. */
  1485. _ACEOF
  1486. cat confdefs.h >>conftest.$ac_ext
  1487. cat >>conftest.$ac_ext <<_ACEOF
  1488. /* end confdefs.h. */
  1489. int
  1490. main ()
  1491. {
  1492. ;
  1493. return 0;
  1494. }
  1495. _ACEOF
  1496. ac_clean_files_save=$ac_clean_files
  1497. ac_clean_files="$ac_clean_files a.out a.exe b.out"
  1498. # Try to create an executable without -o first, disregard a.out.
  1499. # It will help us diagnose broken compilers, and finding out an intuition
  1500. # of exeext.
  1501. echo "$as_me:$LINENO: checking for C compiler default output" >&5
  1502. echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
  1503. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1504. if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  1505. (eval $ac_link_default) 2>&5
  1506. ac_status=$?
  1507. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1508. (exit $ac_status); }; then
  1509. # Find the output, starting from the most likely. This scheme is
  1510. # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  1511. # resort.
  1512. # Be careful to initialize this variable, since it used to be cached.
  1513. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  1514. ac_cv_exeext=
  1515. # b.out is created by i960 compilers.
  1516. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  1517. do
  1518. test -f "$ac_file" || continue
  1519. case $ac_file in
  1520. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  1521. ;;
  1522. conftest.$ac_ext )
  1523. # This is the source file.
  1524. ;;
  1525. [ab].out )
  1526. # We found the default executable, but exeext='' is most
  1527. # certainly right.
  1528. break;;
  1529. *.* )
  1530. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1531. # FIXME: I believe we export ac_cv_exeext for Libtool,
  1532. # but it would be cool to find out if it's true. Does anybody
  1533. # maintain Libtool? --akim.
  1534. export ac_cv_exeext
  1535. break;;
  1536. * )
  1537. break;;
  1538. esac
  1539. done
  1540. else
  1541. echo "$as_me: failed program was:" >&5
  1542. sed 's/^/| /' conftest.$ac_ext >&5
  1543. { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  1544. See \`config.log' for more details." >&5
  1545. echo "$as_me: error: C compiler cannot create executables
  1546. See \`config.log' for more details." >&2;}
  1547. { (exit 77); exit 77; }; }
  1548. fi
  1549. ac_exeext=$ac_cv_exeext
  1550. echo "$as_me:$LINENO: result: $ac_file" >&5
  1551. echo "${ECHO_T}$ac_file" >&6
  1552. # Check the compiler produces executables we can run. If not, either
  1553. # the compiler is broken, or we cross compile.
  1554. echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  1555. echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  1556. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  1557. # If not cross compiling, check that we can run a simple program.
  1558. if test "$cross_compiling" != yes; then
  1559. if { ac_try='./$ac_file'
  1560. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1561. (eval $ac_try) 2>&5
  1562. ac_status=$?
  1563. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1564. (exit $ac_status); }; }; then
  1565. cross_compiling=no
  1566. else
  1567. if test "$cross_compiling" = maybe; then
  1568. cross_compiling=yes
  1569. else
  1570. { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  1571. If you meant to cross compile, use \`--host'.
  1572. See \`config.log' for more details." >&5
  1573. echo "$as_me: error: cannot run C compiled programs.
  1574. If you meant to cross compile, use \`--host'.
  1575. See \`config.log' for more details." >&2;}
  1576. { (exit 1); exit 1; }; }
  1577. fi
  1578. fi
  1579. fi
  1580. echo "$as_me:$LINENO: result: yes" >&5
  1581. echo "${ECHO_T}yes" >&6
  1582. rm -f a.out a.exe conftest$ac_cv_exeext b.out
  1583. ac_clean_files=$ac_clean_files_save
  1584. # Check the compiler produces executables we can run. If not, either
  1585. # the compiler is broken, or we cross compile.
  1586. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  1587. echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  1588. echo "$as_me:$LINENO: result: $cross_compiling" >&5
  1589. echo "${ECHO_T}$cross_compiling" >&6
  1590. echo "$as_me:$LINENO: checking for suffix of executables" >&5
  1591. echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  1592. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1593. (eval $ac_link) 2>&5
  1594. ac_status=$?
  1595. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1596. (exit $ac_status); }; then
  1597. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1598. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  1599. # work properly (i.e., refer to `conftest.exe'), while it won't with
  1600. # `rm'.
  1601. for ac_file in conftest.exe conftest conftest.*; do
  1602. test -f "$ac_file" || continue
  1603. case $ac_file in
  1604. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  1605. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1606. export ac_cv_exeext
  1607. break;;
  1608. * ) break;;
  1609. esac
  1610. done
  1611. else
  1612. { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  1613. See \`config.log' for more details." >&5
  1614. echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  1615. See \`config.log' for more details." >&2;}
  1616. { (exit 1); exit 1; }; }
  1617. fi
  1618. rm -f conftest$ac_cv_exeext
  1619. echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  1620. echo "${ECHO_T}$ac_cv_exeext" >&6
  1621. rm -f conftest.$ac_ext
  1622. EXEEXT=$ac_cv_exeext
  1623. ac_exeext=$EXEEXT
  1624. echo "$as_me:$LINENO: checking for suffix of object files" >&5
  1625. echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  1626. if test "${ac_cv_objext+set}" = set; then
  1627. echo $ECHO_N "(cached) $ECHO_C" >&6
  1628. else
  1629. cat >conftest.$ac_ext <<_ACEOF
  1630. #line $LINENO "configure"
  1631. /* confdefs.h. */
  1632. _ACEOF
  1633. cat confdefs.h >>conftest.$ac_ext
  1634. cat >>conftest.$ac_ext <<_ACEOF
  1635. /* end confdefs.h. */
  1636. int
  1637. main ()
  1638. {
  1639. ;
  1640. return 0;
  1641. }
  1642. _ACEOF
  1643. rm -f conftest.o conftest.obj
  1644. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1645. (eval $ac_compile) 2>&5
  1646. ac_status=$?
  1647. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1648. (exit $ac_status); }; then
  1649. for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  1650. case $ac_file in
  1651. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  1652. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  1653. break;;
  1654. esac
  1655. done
  1656. else
  1657. echo "$as_me: failed program was:" >&5
  1658. sed 's/^/| /' conftest.$ac_ext >&5
  1659. { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  1660. See \`config.log' for more details." >&5
  1661. echo "$as_me: error: cannot compute suffix of object files: cannot compile
  1662. See \`config.log' for more details." >&2;}
  1663. { (exit 1); exit 1; }; }
  1664. fi
  1665. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  1666. fi
  1667. echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  1668. echo "${ECHO_T}$ac_cv_objext" >&6
  1669. OBJEXT=$ac_cv_objext
  1670. ac_objext=$OBJEXT
  1671. echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  1672. echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  1673. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  1674. echo $ECHO_N "(cached) $ECHO_C" >&6
  1675. else
  1676. cat >conftest.$ac_ext <<_ACEOF
  1677. #line $LINENO "configure"
  1678. /* confdefs.h. */
  1679. _ACEOF
  1680. cat confdefs.h >>conftest.$ac_ext
  1681. cat >>conftest.$ac_ext <<_ACEOF
  1682. /* end confdefs.h. */
  1683. int
  1684. main ()
  1685. {
  1686. #ifndef __GNUC__
  1687. choke me
  1688. #endif
  1689. ;
  1690. return 0;
  1691. }
  1692. _ACEOF
  1693. rm -f conftest.$ac_objext
  1694. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1695. (eval $ac_compile) 2>&5
  1696. ac_status=$?
  1697. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1698. (exit $ac_status); } &&
  1699. { ac_try='test -s conftest.$ac_objext'
  1700. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1701. (eval $ac_try) 2>&5
  1702. ac_status=$?
  1703. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1704. (exit $ac_status); }; }; then
  1705. ac_compiler_gnu=yes
  1706. else
  1707. echo "$as_me: failed program was:" >&5
  1708. sed 's/^/| /' conftest.$ac_ext >&5
  1709. ac_compiler_gnu=no
  1710. fi
  1711. rm -f conftest.$ac_objext conftest.$ac_ext
  1712. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  1713. fi
  1714. echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  1715. echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  1716. GCC=`test $ac_compiler_gnu = yes && echo yes`
  1717. ac_test_CFLAGS=${CFLAGS+set}
  1718. ac_save_CFLAGS=$CFLAGS
  1719. CFLAGS="-g"
  1720. echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  1721. echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  1722. if test "${ac_cv_prog_cc_g+set}" = set; then
  1723. echo $ECHO_N "(cached) $ECHO_C" >&6
  1724. else
  1725. cat >conftest.$ac_ext <<_ACEOF
  1726. #line $LINENO "configure"
  1727. /* confdefs.h. */
  1728. _ACEOF
  1729. cat confdefs.h >>conftest.$ac_ext
  1730. cat >>conftest.$ac_ext <<_ACEOF
  1731. /* end confdefs.h. */
  1732. int
  1733. main ()
  1734. {
  1735. ;
  1736. return 0;
  1737. }
  1738. _ACEOF
  1739. rm -f conftest.$ac_objext
  1740. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1741. (eval $ac_compile) 2>&5
  1742. ac_status=$?
  1743. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1744. (exit $ac_status); } &&
  1745. { ac_try='test -s conftest.$ac_objext'
  1746. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1747. (eval $ac_try) 2>&5
  1748. ac_status=$?
  1749. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1750. (exit $ac_status); }; }; then
  1751. ac_cv_prog_cc_g=yes
  1752. else
  1753. echo "$as_me: failed program was:" >&5
  1754. sed 's/^/| /' conftest.$ac_ext >&5
  1755. ac_cv_prog_cc_g=no
  1756. fi
  1757. rm -f conftest.$ac_objext conftest.$ac_ext
  1758. fi
  1759. echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  1760. echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  1761. if test "$ac_test_CFLAGS" = set; then
  1762. CFLAGS=$ac_save_CFLAGS
  1763. elif test $ac_cv_prog_cc_g = yes; then
  1764. if test "$GCC" = yes; then
  1765. CFLAGS="-g -O2"
  1766. else
  1767. CFLAGS="-g"
  1768. fi
  1769. else
  1770. if test "$GCC" = yes; then
  1771. CFLAGS="-O2"
  1772. else
  1773. CFLAGS=
  1774. fi
  1775. fi
  1776. echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  1777. echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  1778. if test "${ac_cv_prog_cc_stdc+set}" = set; then
  1779. echo $ECHO_N "(cached) $ECHO_C" >&6
  1780. else
  1781. ac_cv_prog_cc_stdc=no
  1782. ac_save_CC=$CC
  1783. cat >conftest.$ac_ext <<_ACEOF
  1784. #line $LINENO "configure"
  1785. /* confdefs.h. */
  1786. _ACEOF
  1787. cat confdefs.h >>conftest.$ac_ext
  1788. cat >>conftest.$ac_ext <<_ACEOF
  1789. /* end confdefs.h. */
  1790. #include <stdarg.h>
  1791. #include <stdio.h>
  1792. #include <sys/types.h>
  1793. #include <sys/stat.h>
  1794. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  1795. struct buf { int x; };
  1796. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  1797. static char *e (p, i)
  1798. char **p;
  1799. int i;
  1800. {
  1801. return p[i];
  1802. }
  1803. static char *f (char * (*g) (char **, int), char **p, ...)
  1804. {
  1805. char *s;
  1806. va_list v;
  1807. va_start (v,p);
  1808. s = g (p, va_arg (v,int));
  1809. va_end (v);
  1810. return s;
  1811. }
  1812. int test (int i, double x);
  1813. struct s1 {int (*f) (int a);};
  1814. struct s2 {int (*f) (double a);};
  1815. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  1816. int argc;
  1817. char **argv;
  1818. int
  1819. main ()
  1820. {
  1821. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  1822. ;
  1823. return 0;
  1824. }
  1825. _ACEOF
  1826. # Don't try gcc -ansi; that turns off useful extensions and
  1827. # breaks some systems' header files.
  1828. # AIX -qlanglvl=ansi
  1829. # Ultrix and OSF/1 -std1
  1830. # HP-UX 10.20 and later -Ae
  1831. # HP-UX older versions -Aa -D_HPUX_SOURCE
  1832. # SVR4 -Xc -D__EXTENSIONS__
  1833. for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  1834. do
  1835. CC="$ac_save_CC $ac_arg"
  1836. rm -f conftest.$ac_objext
  1837. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1838. (eval $ac_compile) 2>&5
  1839. ac_status=$?
  1840. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1841. (exit $ac_status); } &&
  1842. { ac_try='test -s conftest.$ac_objext'
  1843. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1844. (eval $ac_try) 2>&5
  1845. ac_status=$?
  1846. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1847. (exit $ac_status); }; }; then
  1848. ac_cv_prog_cc_stdc=$ac_arg
  1849. break
  1850. else
  1851. echo "$as_me: failed program was:" >&5
  1852. sed 's/^/| /' conftest.$ac_ext >&5
  1853. fi
  1854. rm -f conftest.$ac_objext
  1855. done
  1856. rm -f conftest.$ac_ext conftest.$ac_objext
  1857. CC=$ac_save_CC
  1858. fi
  1859. case "x$ac_cv_prog_cc_stdc" in
  1860. x|xno)
  1861. echo "$as_me:$LINENO: result: none needed" >&5
  1862. echo "${ECHO_T}none needed" >&6 ;;
  1863. *)
  1864. echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  1865. echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  1866. CC="$CC $ac_cv_prog_cc_stdc" ;;
  1867. esac
  1868. # Some people use a C++ compiler to compile C. Since we use `exit',
  1869. # in C++ we need to declare it. In case someone uses the same compiler
  1870. # for both compiling C and C++ we need to have the C++ compiler decide
  1871. # the declaration of exit, since it's the most demanding environment.
  1872. cat >conftest.$ac_ext <<_ACEOF
  1873. #ifndef __cplusplus
  1874. choke me
  1875. #endif
  1876. _ACEOF
  1877. rm -f conftest.$ac_objext
  1878. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1879. (eval $ac_compile) 2>&5
  1880. ac_status=$?
  1881. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1882. (exit $ac_status); } &&
  1883. { ac_try='test -s conftest.$ac_objext'
  1884. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1885. (eval $ac_try) 2>&5
  1886. ac_status=$?
  1887. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1888. (exit $ac_status); }; }; then
  1889. for ac_declaration in \
  1890. ''\
  1891. '#include <stdlib.h>' \
  1892. 'extern "C" void std::exit (int) throw (); using std::exit;' \
  1893. 'extern "C" void std::exit (int); using std::exit;' \
  1894. 'extern "C" void exit (int) throw ();' \
  1895. 'extern "C" void exit (int);' \
  1896. 'void exit (int);'
  1897. do
  1898. cat >conftest.$ac_ext <<_ACEOF
  1899. #line $LINENO "configure"
  1900. /* confdefs.h. */
  1901. _ACEOF
  1902. cat confdefs.h >>conftest.$ac_ext
  1903. cat >>conftest.$ac_ext <<_ACEOF
  1904. /* end confdefs.h. */
  1905. #include <stdlib.h>
  1906. $ac_declaration
  1907. int
  1908. main ()
  1909. {
  1910. exit (42);
  1911. ;
  1912. return 0;
  1913. }
  1914. _ACEOF
  1915. rm -f conftest.$ac_objext
  1916. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1917. (eval $ac_compile) 2>&5
  1918. ac_status=$?
  1919. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1920. (exit $ac_status); } &&
  1921. { ac_try='test -s conftest.$ac_objext'
  1922. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1923. (eval $ac_try) 2>&5
  1924. ac_status=$?
  1925. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1926. (exit $ac_status); }; }; then
  1927. :
  1928. else
  1929. echo "$as_me: failed program was:" >&5
  1930. sed 's/^/| /' conftest.$ac_ext >&5
  1931. continue
  1932. fi
  1933. rm -f conftest.$ac_objext conftest.$ac_ext
  1934. cat >conftest.$ac_ext <<_ACEOF
  1935. #line $LINENO "configure"
  1936. /* confdefs.h. */
  1937. _ACEOF
  1938. cat confdefs.h >>conftest.$ac_ext
  1939. cat >>conftest.$ac_ext <<_ACEOF
  1940. /* end confdefs.h. */
  1941. $ac_declaration
  1942. int
  1943. main ()
  1944. {
  1945. exit (42);
  1946. ;
  1947. return 0;
  1948. }
  1949. _ACEOF
  1950. rm -f conftest.$ac_objext
  1951. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1952. (eval $ac_compile) 2>&5
  1953. ac_status=$?
  1954. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1955. (exit $ac_status); } &&
  1956. { ac_try='test -s conftest.$ac_objext'
  1957. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1958. (eval $ac_try) 2>&5
  1959. ac_status=$?
  1960. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1961. (exit $ac_status); }; }; then
  1962. break
  1963. else
  1964. echo "$as_me: failed program was:" >&5
  1965. sed 's/^/| /' conftest.$ac_ext >&5
  1966. fi
  1967. rm -f conftest.$ac_objext conftest.$ac_ext
  1968. done
  1969. rm -f conftest*
  1970. if test -n "$ac_declaration"; then
  1971. echo '#ifdef __cplusplus' >>confdefs.h
  1972. echo $ac_declaration >>confdefs.h
  1973. echo '#endif' >>confdefs.h
  1974. fi
  1975. else
  1976. echo "$as_me: failed program was:" >&5
  1977. sed 's/^/| /' conftest.$ac_ext >&5
  1978. fi
  1979. rm -f conftest.$ac_objext conftest.$ac_ext
  1980. ac_ext=c
  1981. ac_cpp='$CPP $CPPFLAGS'
  1982. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1983. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1984. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1985. if test "$GCC" = yes
  1986. then
  1987. CFLAGS="${CFLAGS} ${PIPE}-Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common"
  1988. LDFLAGS='-g'
  1989. fi
  1990. # Find a good install program. We prefer a C program (faster),
  1991. # so one script is as good as another. But avoid the broken or
  1992. # incompatible versions:
  1993. # SysV /etc/install, /usr/sbin/install
  1994. # SunOS /usr/etc/install
  1995. # IRIX /sbin/install
  1996. # AIX /bin/install
  1997. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1998. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1999. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2000. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2001. # ./install, which can be erroneously created by make from ./install.sh.
  2002. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2003. echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  2004. if test -z "$INSTALL"; then
  2005. if test "${ac_cv_path_install+set}" = set; then
  2006. echo $ECHO_N "(cached) $ECHO_C" >&6
  2007. else
  2008. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2009. for as_dir in $PATH
  2010. do
  2011. IFS=$as_save_IFS
  2012. test -z "$as_dir" && as_dir=.
  2013. # Account for people who put trailing slashes in PATH elements.
  2014. case $as_dir/ in
  2015. ./ | .// | /cC/* | \
  2016. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2017. /usr/ucb/* ) ;;
  2018. *)
  2019. # OSF1 and SCO ODT 3.0 have their own names for install.
  2020. # Don't use installbsd from OSF since it installs stuff as root
  2021. # by default.
  2022. for ac_prog in ginstall scoinst install; do
  2023. for ac_exec_ext in '' $ac_executable_extensions; do
  2024. if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2025. if test $ac_prog = install &&
  2026. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2027. # AIX install. It has an incompatible calling convention.
  2028. :
  2029. elif test $ac_prog = install &&
  2030. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2031. # program-specific install script used by HP pwplus--don't use.
  2032. :
  2033. else
  2034. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2035. break 3
  2036. fi
  2037. fi
  2038. done
  2039. done
  2040. ;;
  2041. esac
  2042. done
  2043. fi
  2044. if test "${ac_cv_path_install+set}" = set; then
  2045. INSTALL=$ac_cv_path_install
  2046. else
  2047. # As a last resort, use the slow shell script. We don't cache a
  2048. # path for INSTALL within a source directory, because that will
  2049. # break other packages using the cache if that directory is
  2050. # removed, or if the path is relative.
  2051. INSTALL=$ac_install_sh
  2052. fi
  2053. fi
  2054. echo "$as_me:$LINENO: result: $INSTALL" >&5
  2055. echo "${ECHO_T}$INSTALL" >&6
  2056. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2057. # It thinks the first close brace ends the variable substitution.
  2058. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2059. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2060. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2061. for ac_func in strerror
  2062. do
  2063. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  2064. echo "$as_me:$LINENO: checking for $ac_func" >&5
  2065. echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  2066. if eval "test \"\${$as_ac_var+set}\" = set"; then
  2067. echo $ECHO_N "(cached) $ECHO_C" >&6
  2068. else
  2069. cat >conftest.$ac_ext <<_ACEOF
  2070. #line $LINENO "configure"
  2071. /* confdefs.h. */
  2072. _ACEOF
  2073. cat confdefs.h >>conftest.$ac_ext
  2074. cat >>conftest.$ac_ext <<_ACEOF
  2075. /* end confdefs.h. */
  2076. /* System header to define __stub macros and hopefully few prototypes,
  2077. which can conflict with char $ac_func (); below.
  2078. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2079. <limits.h> exists even on freestanding compilers. */
  2080. #ifdef __STDC__
  2081. # include <limits.h>
  2082. #else
  2083. # include <assert.h>
  2084. #endif
  2085. /* Override any gcc2 internal prototype to avoid an error. */
  2086. #ifdef __cplusplus
  2087. extern "C"
  2088. {
  2089. #endif
  2090. /* We use char because int might match the return type of a gcc2
  2091. builtin and then its argument prototype would still apply. */
  2092. char $ac_func ();
  2093. /* The GNU C library defines this for functions which it implements
  2094. to always fail with ENOSYS. Some functions are actually named
  2095. something starting with __ and the normal name is an alias. */
  2096. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  2097. choke me
  2098. #else
  2099. char (*f) () = $ac_func;
  2100. #endif
  2101. #ifdef __cplusplus
  2102. }
  2103. #endif
  2104. int
  2105. main ()
  2106. {
  2107. return f != $ac_func;
  2108. ;
  2109. return 0;
  2110. }
  2111. _ACEOF
  2112. rm -f conftest.$ac_objext conftest$ac_exeext
  2113. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2114. (eval $ac_link) 2>&5
  2115. ac_status=$?
  2116. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2117. (exit $ac_status); } &&
  2118. { ac_try='test -s conftest$ac_exeext'
  2119. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2120. (eval $ac_try) 2>&5
  2121. ac_status=$?
  2122. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2123. (exit $ac_status); }; }; then
  2124. eval "$as_ac_var=yes"
  2125. else
  2126. echo "$as_me: failed program was:" >&5
  2127. sed 's/^/| /' conftest.$ac_ext >&5
  2128. eval "$as_ac_var=no"
  2129. fi
  2130. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2131. fi
  2132. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  2133. echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  2134. if test `eval echo '${'$as_ac_var'}'` = yes; then
  2135. cat >>confdefs.h <<_ACEOF
  2136. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  2137. _ACEOF
  2138. fi
  2139. done
  2140. echo "$as_me:$LINENO: checking for broken realloc" >&5
  2141. echo $ECHO_N "checking for broken realloc... $ECHO_C" >&6
  2142. if test "$cross_compiling" = yes; then
  2143. { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  2144. See \`config.log' for more details." >&5
  2145. echo "$as_me: error: cannot run test program while cross compiling
  2146. See \`config.log' for more details." >&2;}
  2147. { (exit 1); exit 1; }; }
  2148. else
  2149. cat >conftest.$ac_ext <<_ACEOF
  2150. #line $LINENO "configure"
  2151. /* confdefs.h. */
  2152. _ACEOF
  2153. cat confdefs.h >>conftest.$ac_ext
  2154. cat >>conftest.$ac_ext <<_ACEOF
  2155. /* end confdefs.h. */
  2156. #include <sys/types.h>
  2157. #include <signal.h>
  2158. #include <stdlib.h>
  2159. static void sigsegv(int n)
  2160. {
  2161. exit(1);
  2162. }
  2163. int main(void)
  2164. {
  2165. signal(SIGSEGV,sigsegv);
  2166. realloc((void*)0,1);
  2167. exit(0);
  2168. }
  2169. _ACEOF
  2170. rm -f conftest$ac_exeext
  2171. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2172. (eval $ac_link) 2>&5
  2173. ac_status=$?
  2174. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2175. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  2176. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2177. (eval $ac_try) 2>&5
  2178. ac_status=$?
  2179. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2180. (exit $ac_status); }; }; then
  2181. echo "$as_me:$LINENO: result: no" >&5
  2182. echo "${ECHO_T}no" >&6
  2183. else
  2184. echo "$as_me: program exited with status $ac_status" >&5
  2185. echo "$as_me: failed program was:" >&5
  2186. sed 's/^/| /' conftest.$ac_ext >&5
  2187. ( exit $ac_status )
  2188. cat >>confdefs.h <<\_ACEOF
  2189. #define BROKEN_REALLOC 1
  2190. _ACEOF
  2191. echo "$as_me:$LINENO: result: yes" >&5
  2192. echo "${ECHO_T}yes" >&6
  2193. fi
  2194. rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  2195. fi
  2196. USE_NLS=no
  2197. # Extract the first word of "msgfmt", so it can be a program name with args.
  2198. set dummy msgfmt; ac_word=$2
  2199. echo "$as_me:$LINENO: checking for $ac_word" >&5
  2200. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2201. if test "${ac_cv_prog_MSGFMT+set}" = set; then
  2202. echo $ECHO_N "(cached) $ECHO_C" >&6
  2203. else
  2204. if test -n "$MSGFMT"; then
  2205. ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
  2206. else
  2207. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2208. for as_dir in $PATH
  2209. do
  2210. IFS=$as_save_IFS
  2211. test -z "$as_dir" && as_dir=.
  2212. for ac_exec_ext in '' $ac_executable_extensions; do
  2213. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2214. ac_cv_prog_MSGFMT="yes"
  2215. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2216. break 2
  2217. fi
  2218. done
  2219. done
  2220. test -z "$ac_cv_prog_MSGFMT" && ac_cv_prog_MSGFMT="no"
  2221. fi
  2222. fi
  2223. MSGFMT=$ac_cv_prog_MSGFMT
  2224. if test -n "$MSGFMT"; then
  2225. echo "$as_me:$LINENO: result: $MSGFMT" >&5
  2226. echo "${ECHO_T}$MSGFMT" >&6
  2227. else
  2228. echo "$as_me:$LINENO: result: no" >&5
  2229. echo "${ECHO_T}no" >&6
  2230. fi
  2231. if test "$MSGFMT" = yes
  2232. then
  2233. ac_ext=c
  2234. ac_cpp='$CPP $CPPFLAGS'
  2235. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2236. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2237. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2238. echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  2239. echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  2240. # On Suns, sometimes $CPP names a directory.
  2241. if test -n "$CPP" && test -d "$CPP"; then
  2242. CPP=
  2243. fi
  2244. if test -z "$CPP"; then
  2245. if test "${ac_cv_prog_CPP+set}" = set; then
  2246. echo $ECHO_N "(cached) $ECHO_C" >&6
  2247. else
  2248. # Double quotes because CPP needs to be expanded
  2249. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  2250. do
  2251. ac_preproc_ok=false
  2252. for ac_c_preproc_warn_flag in '' yes
  2253. do
  2254. # Use a header file that comes with gcc, so configuring glibc
  2255. # with a fresh cross-compiler works.
  2256. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2257. # <limits.h> exists even on freestanding compilers.
  2258. # On the NeXT, cc -E runs the code through the compiler's parser,
  2259. # not just through cpp. "Syntax error" is here to catch this case.
  2260. cat >conftest.$ac_ext <<_ACEOF
  2261. #line $LINENO "configure"
  2262. /* confdefs.h. */
  2263. _ACEOF
  2264. cat confdefs.h >>conftest.$ac_ext
  2265. cat >>conftest.$ac_ext <<_ACEOF
  2266. /* end confdefs.h. */
  2267. #ifdef __STDC__
  2268. # include <limits.h>
  2269. #else
  2270. # include <assert.h>
  2271. #endif
  2272. Syntax error
  2273. _ACEOF
  2274. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2275. (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2276. ac_status=$?
  2277. grep -v '^ *+' conftest.er1 >conftest.err
  2278. rm -f conftest.er1
  2279. cat conftest.err >&5
  2280. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2281. (exit $ac_status); } >/dev/null; then
  2282. if test -s conftest.err; then
  2283. ac_cpp_err=$ac_c_preproc_warn_flag
  2284. else
  2285. ac_cpp_err=
  2286. fi
  2287. else
  2288. ac_cpp_err=yes
  2289. fi
  2290. if test -z "$ac_cpp_err"; then
  2291. :
  2292. else
  2293. echo "$as_me: failed program was:" >&5
  2294. sed 's/^/| /' conftest.$ac_ext >&5
  2295. # Broken: fails on valid input.
  2296. continue
  2297. fi
  2298. rm -f conftest.err conftest.$ac_ext
  2299. # OK, works on sane cases. Now check whether non-existent headers
  2300. # can be detected and how.
  2301. cat >conftest.$ac_ext <<_ACEOF
  2302. #line $LINENO "configure"
  2303. /* confdefs.h. */
  2304. _ACEOF
  2305. cat confdefs.h >>conftest.$ac_ext
  2306. cat >>conftest.$ac_ext <<_ACEOF
  2307. /* end confdefs.h. */
  2308. #include <ac_nonexistent.h>
  2309. _ACEOF
  2310. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2311. (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2312. ac_status=$?
  2313. grep -v '^ *+' conftest.er1 >conftest.err
  2314. rm -f conftest.er1
  2315. cat conftest.err >&5
  2316. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2317. (exit $ac_status); } >/dev/null; then
  2318. if test -s conftest.err; then
  2319. ac_cpp_err=$ac_c_preproc_warn_flag
  2320. else
  2321. ac_cpp_err=
  2322. fi
  2323. else
  2324. ac_cpp_err=yes
  2325. fi
  2326. if test -z "$ac_cpp_err"; then
  2327. # Broken: success on invalid input.
  2328. continue
  2329. else
  2330. echo "$as_me: failed program was:" >&5
  2331. sed 's/^/| /' conftest.$ac_ext >&5
  2332. # Passes both tests.
  2333. ac_preproc_ok=:
  2334. break
  2335. fi
  2336. rm -f conftest.err conftest.$ac_ext
  2337. done
  2338. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  2339. rm -f conftest.err conftest.$ac_ext
  2340. if $ac_preproc_ok; then
  2341. break
  2342. fi
  2343. done
  2344. ac_cv_prog_CPP=$CPP
  2345. fi
  2346. CPP=$ac_cv_prog_CPP
  2347. else
  2348. ac_cv_prog_CPP=$CPP
  2349. fi
  2350. echo "$as_me:$LINENO: result: $CPP" >&5
  2351. echo "${ECHO_T}$CPP" >&6
  2352. ac_preproc_ok=false
  2353. for ac_c_preproc_warn_flag in '' yes
  2354. do
  2355. # Use a header file that comes with gcc, so configuring glibc
  2356. # with a fresh cross-compiler works.
  2357. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2358. # <limits.h> exists even on freestanding compilers.
  2359. # On the NeXT, cc -E runs the code through the compiler's parser,
  2360. # not just through cpp. "Syntax error" is here to catch this case.
  2361. cat >conftest.$ac_ext <<_ACEOF
  2362. #line $LINENO "configure"
  2363. /* confdefs.h. */
  2364. _ACEOF
  2365. cat confdefs.h >>conftest.$ac_ext
  2366. cat >>conftest.$ac_ext <<_ACEOF
  2367. /* end confdefs.h. */
  2368. #ifdef __STDC__
  2369. # include <limits.h>
  2370. #else
  2371. # include <assert.h>
  2372. #endif
  2373. Syntax error
  2374. _ACEOF
  2375. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2376. (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2377. ac_status=$?
  2378. grep -v '^ *+' conftest.er1 >conftest.err
  2379. rm -f conftest.er1
  2380. cat conftest.err >&5
  2381. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2382. (exit $ac_status); } >/dev/null; then
  2383. if test -s conftest.err; then
  2384. ac_cpp_err=$ac_c_preproc_warn_flag
  2385. else
  2386. ac_cpp_err=
  2387. fi
  2388. else
  2389. ac_cpp_err=yes
  2390. fi
  2391. if test -z "$ac_cpp_err"; then
  2392. :
  2393. else
  2394. echo "$as_me: failed program was:" >&5
  2395. sed 's/^/| /' conftest.$ac_ext >&5
  2396. # Broken: fails on valid input.
  2397. continue
  2398. fi
  2399. rm -f conftest.err conftest.$ac_ext
  2400. # OK, works on sane cases. Now check whether non-existent headers
  2401. # can be detected and how.
  2402. cat >conftest.$ac_ext <<_ACEOF
  2403. #line $LINENO "configure"
  2404. /* confdefs.h. */
  2405. _ACEOF
  2406. cat confdefs.h >>conftest.$ac_ext
  2407. cat >>conftest.$ac_ext <<_ACEOF
  2408. /* end confdefs.h. */
  2409. #include <ac_nonexistent.h>
  2410. _ACEOF
  2411. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2412. (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2413. ac_status=$?
  2414. grep -v '^ *+' conftest.er1 >conftest.err
  2415. rm -f conftest.er1
  2416. cat conftest.err >&5
  2417. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2418. (exit $ac_status); } >/dev/null; then
  2419. if test -s conftest.err; then
  2420. ac_cpp_err=$ac_c_preproc_warn_flag
  2421. else
  2422. ac_cpp_err=
  2423. fi
  2424. else
  2425. ac_cpp_err=yes
  2426. fi
  2427. if test -z "$ac_cpp_err"; then
  2428. # Broken: success on invalid input.
  2429. continue
  2430. else
  2431. echo "$as_me: failed program was:" >&5
  2432. sed 's/^/| /' conftest.$ac_ext >&5
  2433. # Passes both tests.
  2434. ac_preproc_ok=:
  2435. break
  2436. fi
  2437. rm -f conftest.err conftest.$ac_ext
  2438. done
  2439. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  2440. rm -f conftest.err conftest.$ac_ext
  2441. if $ac_preproc_ok; then
  2442. :
  2443. else
  2444. { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  2445. See \`config.log' for more details." >&5
  2446. echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  2447. See \`config.log' for more details." >&2;}
  2448. { (exit 1); exit 1; }; }
  2449. fi
  2450. ac_ext=c
  2451. ac_cpp='$CPP $CPPFLAGS'
  2452. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2453. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2454. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2455. echo "$as_me:$LINENO: checking for egrep" >&5
  2456. echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  2457. if test "${ac_cv_prog_egrep+set}" = set; then
  2458. echo $ECHO_N "(cached) $ECHO_C" >&6
  2459. else
  2460. if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  2461. then ac_cv_prog_egrep='grep -E'
  2462. else ac_cv_prog_egrep='egrep'
  2463. fi
  2464. fi
  2465. echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  2466. echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  2467. EGREP=$ac_cv_prog_egrep
  2468. echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  2469. echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  2470. if test "${ac_cv_header_stdc+set}" = set; then
  2471. echo $ECHO_N "(cached) $ECHO_C" >&6
  2472. else
  2473. cat >conftest.$ac_ext <<_ACEOF
  2474. #line $LINENO "configure"
  2475. /* confdefs.h. */
  2476. _ACEOF
  2477. cat confdefs.h >>conftest.$ac_ext
  2478. cat >>conftest.$ac_ext <<_ACEOF
  2479. /* end confdefs.h. */
  2480. #include <stdlib.h>
  2481. #include <stdarg.h>
  2482. #include <string.h>
  2483. #include <float.h>
  2484. int
  2485. main ()
  2486. {
  2487. ;
  2488. return 0;
  2489. }
  2490. _ACEOF
  2491. rm -f conftest.$ac_objext
  2492. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2493. (eval $ac_compile) 2>&5
  2494. ac_status=$?
  2495. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2496. (exit $ac_status); } &&
  2497. { ac_try='test -s conftest.$ac_objext'
  2498. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2499. (eval $ac_try) 2>&5
  2500. ac_status=$?
  2501. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2502. (exit $ac_status); }; }; then
  2503. ac_cv_header_stdc=yes
  2504. else
  2505. echo "$as_me: failed program was:" >&5
  2506. sed 's/^/| /' conftest.$ac_ext >&5
  2507. ac_cv_header_stdc=no
  2508. fi
  2509. rm -f conftest.$ac_objext conftest.$ac_ext
  2510. if test $ac_cv_header_stdc = yes; then
  2511. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  2512. cat >conftest.$ac_ext <<_ACEOF
  2513. #line $LINENO "configure"
  2514. /* confdefs.h. */
  2515. _ACEOF
  2516. cat confdefs.h >>conftest.$ac_ext
  2517. cat >>conftest.$ac_ext <<_ACEOF
  2518. /* end confdefs.h. */
  2519. #include <string.h>
  2520. _ACEOF
  2521. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2522. $EGREP "memchr" >/dev/null 2>&1; then
  2523. :
  2524. else
  2525. ac_cv_header_stdc=no
  2526. fi
  2527. rm -f conftest*
  2528. fi
  2529. if test $ac_cv_header_stdc = yes; then
  2530. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  2531. cat >conftest.$ac_ext <<_ACEOF
  2532. #line $LINENO "configure"
  2533. /* confdefs.h. */
  2534. _ACEOF
  2535. cat confdefs.h >>conftest.$ac_ext
  2536. cat >>conftest.$ac_ext <<_ACEOF
  2537. /* end confdefs.h. */
  2538. #include <stdlib.h>
  2539. _ACEOF
  2540. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2541. $EGREP "free" >/dev/null 2>&1; then
  2542. :
  2543. else
  2544. ac_cv_header_stdc=no
  2545. fi
  2546. rm -f conftest*
  2547. fi
  2548. if test $ac_cv_header_stdc = yes; then
  2549. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  2550. if test "$cross_compiling" = yes; then
  2551. :
  2552. else
  2553. cat >conftest.$ac_ext <<_ACEOF
  2554. #line $LINENO "configure"
  2555. /* confdefs.h. */
  2556. _ACEOF
  2557. cat confdefs.h >>conftest.$ac_ext
  2558. cat >>conftest.$ac_ext <<_ACEOF
  2559. /* end confdefs.h. */
  2560. #include <ctype.h>
  2561. #if ((' ' & 0x0FF) == 0x020)
  2562. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  2563. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  2564. #else
  2565. # define ISLOWER(c) \
  2566. (('a' <= (c) && (c) <= 'i') \
  2567. || ('j' <= (c) && (c) <= 'r') \
  2568. || ('s' <= (c) && (c) <= 'z'))
  2569. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  2570. #endif
  2571. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  2572. int
  2573. main ()
  2574. {
  2575. int i;
  2576. for (i = 0; i < 256; i++)
  2577. if (XOR (islower (i), ISLOWER (i))
  2578. || toupper (i) != TOUPPER (i))
  2579. exit(2);
  2580. exit (0);
  2581. }
  2582. _ACEOF
  2583. rm -f conftest$ac_exeext
  2584. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2585. (eval $ac_link) 2>&5
  2586. ac_status=$?
  2587. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2588. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  2589. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2590. (eval $ac_try) 2>&5
  2591. ac_status=$?
  2592. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2593. (exit $ac_status); }; }; then
  2594. :
  2595. else
  2596. echo "$as_me: program exited with status $ac_status" >&5
  2597. echo "$as_me: failed program was:" >&5
  2598. sed 's/^/| /' conftest.$ac_ext >&5
  2599. ( exit $ac_status )
  2600. ac_cv_header_stdc=no
  2601. fi
  2602. rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  2603. fi
  2604. fi
  2605. fi
  2606. echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  2607. echo "${ECHO_T}$ac_cv_header_stdc" >&6
  2608. if test $ac_cv_header_stdc = yes; then
  2609. cat >>confdefs.h <<\_ACEOF
  2610. #define STDC_HEADERS 1
  2611. _ACEOF
  2612. fi
  2613. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  2614. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  2615. inttypes.h stdint.h unistd.h
  2616. do
  2617. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  2618. echo "$as_me:$LINENO: checking for $ac_header" >&5
  2619. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  2620. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  2621. echo $ECHO_N "(cached) $ECHO_C" >&6
  2622. else
  2623. cat >conftest.$ac_ext <<_ACEOF
  2624. #line $LINENO "configure"
  2625. /* confdefs.h. */
  2626. _ACEOF
  2627. cat confdefs.h >>conftest.$ac_ext
  2628. cat >>conftest.$ac_ext <<_ACEOF
  2629. /* end confdefs.h. */
  2630. $ac_includes_default
  2631. #include <$ac_header>
  2632. _ACEOF
  2633. rm -f conftest.$ac_objext
  2634. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2635. (eval $ac_compile) 2>&5
  2636. ac_status=$?
  2637. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2638. (exit $ac_status); } &&
  2639. { ac_try='test -s conftest.$ac_objext'
  2640. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2641. (eval $ac_try) 2>&5
  2642. ac_status=$?
  2643. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2644. (exit $ac_status); }; }; then
  2645. eval "$as_ac_Header=yes"
  2646. else
  2647. echo "$as_me: failed program was:" >&5
  2648. sed 's/^/| /' conftest.$ac_ext >&5
  2649. eval "$as_ac_Header=no"
  2650. fi
  2651. rm -f conftest.$ac_objext conftest.$ac_ext
  2652. fi
  2653. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  2654. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  2655. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  2656. cat >>confdefs.h <<_ACEOF
  2657. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  2658. _ACEOF
  2659. fi
  2660. done
  2661. for ac_header in libintl.h
  2662. do
  2663. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  2664. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  2665. echo "$as_me:$LINENO: checking for $ac_header" >&5
  2666. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  2667. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  2668. echo $ECHO_N "(cached) $ECHO_C" >&6
  2669. fi
  2670. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  2671. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  2672. else
  2673. # Is the header compilable?
  2674. echo "$as_me:$LINENO: checking $ac_header usability" >&5
  2675. echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  2676. cat >conftest.$ac_ext <<_ACEOF
  2677. #line $LINENO "configure"
  2678. /* confdefs.h. */
  2679. _ACEOF
  2680. cat confdefs.h >>conftest.$ac_ext
  2681. cat >>conftest.$ac_ext <<_ACEOF
  2682. /* end confdefs.h. */
  2683. $ac_includes_default
  2684. #include <$ac_header>
  2685. _ACEOF
  2686. rm -f conftest.$ac_objext
  2687. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2688. (eval $ac_compile) 2>&5
  2689. ac_status=$?
  2690. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2691. (exit $ac_status); } &&
  2692. { ac_try='test -s conftest.$ac_objext'
  2693. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2694. (eval $ac_try) 2>&5
  2695. ac_status=$?
  2696. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2697. (exit $ac_status); }; }; then
  2698. ac_header_compiler=yes
  2699. else
  2700. echo "$as_me: failed program was:" >&5
  2701. sed 's/^/| /' conftest.$ac_ext >&5
  2702. ac_header_compiler=no
  2703. fi
  2704. rm -f conftest.$ac_objext conftest.$ac_ext
  2705. echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  2706. echo "${ECHO_T}$ac_header_compiler" >&6
  2707. # Is the header present?
  2708. echo "$as_me:$LINENO: checking $ac_header presence" >&5
  2709. echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  2710. cat >conftest.$ac_ext <<_ACEOF
  2711. #line $LINENO "configure"
  2712. /* confdefs.h. */
  2713. _ACEOF
  2714. cat confdefs.h >>conftest.$ac_ext
  2715. cat >>conftest.$ac_ext <<_ACEOF
  2716. /* end confdefs.h. */
  2717. #include <$ac_header>
  2718. _ACEOF
  2719. if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  2720. (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  2721. ac_status=$?
  2722. grep -v '^ *+' conftest.er1 >conftest.err
  2723. rm -f conftest.er1
  2724. cat conftest.err >&5
  2725. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2726. (exit $ac_status); } >/dev/null; then
  2727. if test -s conftest.err; then
  2728. ac_cpp_err=$ac_c_preproc_warn_flag
  2729. else
  2730. ac_cpp_err=
  2731. fi
  2732. else
  2733. ac_cpp_err=yes
  2734. fi
  2735. if test -z "$ac_cpp_err"; then
  2736. ac_header_preproc=yes
  2737. else
  2738. echo "$as_me: failed program was:" >&5
  2739. sed 's/^/| /' conftest.$ac_ext >&5
  2740. ac_header_preproc=no
  2741. fi
  2742. rm -f conftest.err conftest.$ac_ext
  2743. echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  2744. echo "${ECHO_T}$ac_header_preproc" >&6
  2745. # So? What about this header?
  2746. case $ac_header_compiler:$ac_header_preproc in
  2747. yes:no )
  2748. { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  2749. echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2750. { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  2751. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  2752. (
  2753. cat <<\_ASBOX
  2754. ## ------------------------------------ ##
  2755. ## Report this to bug-autoconf@gnu.org. ##
  2756. ## ------------------------------------ ##
  2757. _ASBOX
  2758. ) |
  2759. sed "s/^/$as_me: WARNING: /" >&2
  2760. ;;
  2761. no:yes )
  2762. { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  2763. echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  2764. { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  2765. echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  2766. { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  2767. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  2768. (
  2769. cat <<\_ASBOX
  2770. ## ------------------------------------ ##
  2771. ## Report this to bug-autoconf@gnu.org. ##
  2772. ## ------------------------------------ ##
  2773. _ASBOX
  2774. ) |
  2775. sed "s/^/$as_me: WARNING: /" >&2
  2776. ;;
  2777. esac
  2778. echo "$as_me:$LINENO: checking for $ac_header" >&5
  2779. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  2780. if eval "test \"\${$as_ac_Header+set}\" = set"; then
  2781. echo $ECHO_N "(cached) $ECHO_C" >&6
  2782. else
  2783. eval "$as_ac_Header=$ac_header_preproc"
  2784. fi
  2785. echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  2786. echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  2787. fi
  2788. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  2789. cat >>confdefs.h <<_ACEOF
  2790. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  2791. _ACEOF
  2792. LIBINTL=yes
  2793. fi
  2794. done
  2795. if test "$LIBINTL" = yes
  2796. then
  2797. echo "$as_me:$LINENO: checking for library containing gettext" >&5
  2798. echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
  2799. if test "${ac_cv_search_gettext+set}" = set; then
  2800. echo $ECHO_N "(cached) $ECHO_C" >&6
  2801. else
  2802. ac_func_search_save_LIBS=$LIBS
  2803. ac_cv_search_gettext=no
  2804. cat >conftest.$ac_ext <<_ACEOF
  2805. #line $LINENO "configure"
  2806. /* confdefs.h. */
  2807. _ACEOF
  2808. cat confdefs.h >>conftest.$ac_ext
  2809. cat >>conftest.$ac_ext <<_ACEOF
  2810. /* end confdefs.h. */
  2811. /* Override any gcc2 internal prototype to avoid an error. */
  2812. #ifdef __cplusplus
  2813. extern "C"
  2814. #endif
  2815. /* We use char because int might match the return type of a gcc2
  2816. builtin and then its argument prototype would still apply. */
  2817. char gettext ();
  2818. int
  2819. main ()
  2820. {
  2821. gettext ();
  2822. ;
  2823. return 0;
  2824. }
  2825. _ACEOF
  2826. rm -f conftest.$ac_objext conftest$ac_exeext
  2827. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2828. (eval $ac_link) 2>&5
  2829. ac_status=$?
  2830. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2831. (exit $ac_status); } &&
  2832. { ac_try='test -s conftest$ac_exeext'
  2833. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2834. (eval $ac_try) 2>&5
  2835. ac_status=$?
  2836. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2837. (exit $ac_status); }; }; then
  2838. ac_cv_search_gettext="none required"
  2839. else
  2840. echo "$as_me: failed program was:" >&5
  2841. sed 's/^/| /' conftest.$ac_ext >&5
  2842. fi
  2843. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2844. if test "$ac_cv_search_gettext" = no; then
  2845. for ac_lib in intl; do
  2846. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  2847. cat >conftest.$ac_ext <<_ACEOF
  2848. #line $LINENO "configure"
  2849. /* confdefs.h. */
  2850. _ACEOF
  2851. cat confdefs.h >>conftest.$ac_ext
  2852. cat >>conftest.$ac_ext <<_ACEOF
  2853. /* end confdefs.h. */
  2854. /* Override any gcc2 internal prototype to avoid an error. */
  2855. #ifdef __cplusplus
  2856. extern "C"
  2857. #endif
  2858. /* We use char because int might match the return type of a gcc2
  2859. builtin and then its argument prototype would still apply. */
  2860. char gettext ();
  2861. int
  2862. main ()
  2863. {
  2864. gettext ();
  2865. ;
  2866. return 0;
  2867. }
  2868. _ACEOF
  2869. rm -f conftest.$ac_objext conftest$ac_exeext
  2870. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2871. (eval $ac_link) 2>&5
  2872. ac_status=$?
  2873. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2874. (exit $ac_status); } &&
  2875. { ac_try='test -s conftest$ac_exeext'
  2876. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2877. (eval $ac_try) 2>&5
  2878. ac_status=$?
  2879. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2880. (exit $ac_status); }; }; then
  2881. ac_cv_search_gettext="-l$ac_lib"
  2882. break
  2883. else
  2884. echo "$as_me: failed program was:" >&5
  2885. sed 's/^/| /' conftest.$ac_ext >&5
  2886. fi
  2887. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2888. done
  2889. fi
  2890. LIBS=$ac_func_search_save_LIBS
  2891. fi
  2892. echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
  2893. echo "${ECHO_T}$ac_cv_search_gettext" >&6
  2894. if test "$ac_cv_search_gettext" != no; then
  2895. test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
  2896. cat >>confdefs.h <<\_ACEOF
  2897. #define HAVE_GETTEXT 1
  2898. _ACEOF
  2899. USE_NLS=yes
  2900. fi
  2901. fi
  2902. fi
  2903. cat >>confdefs.h <<_ACEOF
  2904. #define VERSION "$VERSION"
  2905. _ACEOF
  2906. eval DATADIR=$datadir
  2907. ac_config_files="$ac_config_files Makefile diction.1 diction.texi diction.spec style.1"
  2908. cat >confcache <<\_ACEOF
  2909. # This file is a shell script that caches the results of configure
  2910. # tests run on this system so they can be shared between configure
  2911. # scripts and configure runs, see configure's option --config-cache.
  2912. # It is not useful on other systems. If it contains results you don't
  2913. # want to keep, you may remove or edit it.
  2914. #
  2915. # config.status only pays attention to the cache file if you give it
  2916. # the --recheck option to rerun configure.
  2917. #
  2918. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  2919. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  2920. # following values.
  2921. _ACEOF
  2922. # The following way of writing the cache mishandles newlines in values,
  2923. # but we know of no workaround that is simple, portable, and efficient.
  2924. # So, don't put newlines in cache variables' values.
  2925. # Ultrix sh set writes to stderr and can't be redirected directly,
  2926. # and sets the high bit in the cache file unless we assign to the vars.
  2927. {
  2928. (set) 2>&1 |
  2929. case `(ac_space=' '; set | grep ac_space) 2>&1` in
  2930. *ac_space=\ *)
  2931. # `set' does not quote correctly, so add quotes (double-quote
  2932. # substitution turns \\\\ into \\, and sed turns \\ into \).
  2933. sed -n \
  2934. "s/'/'\\\\''/g;
  2935. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  2936. ;;
  2937. *)
  2938. # `set' quotes correctly as required by POSIX, so do not add quotes.
  2939. sed -n \
  2940. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  2941. ;;
  2942. esac;
  2943. } |
  2944. sed '
  2945. t clear
  2946. : clear
  2947. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  2948. t end
  2949. /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  2950. : end' >>confcache
  2951. if diff $cache_file confcache >/dev/null 2>&1; then :; else
  2952. if test -w $cache_file; then
  2953. test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  2954. cat confcache >$cache_file
  2955. else
  2956. echo "not updating unwritable cache $cache_file"
  2957. fi
  2958. fi
  2959. rm -f confcache
  2960. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  2961. # Let make expand exec_prefix.
  2962. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  2963. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  2964. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  2965. # trailing colons and then remove the whole line if VPATH becomes empty
  2966. # (actually we leave an empty line to preserve line numbers).
  2967. if test "x$srcdir" = x.; then
  2968. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  2969. s/:*\$(srcdir):*/:/;
  2970. s/:*\${srcdir}:*/:/;
  2971. s/:*@srcdir@:*/:/;
  2972. s/^\([^=]*=[ ]*\):*/\1/;
  2973. s/:*$//;
  2974. s/^[^=]*=[ ]*$//;
  2975. }'
  2976. fi
  2977. DEFS=-DHAVE_CONFIG_H
  2978. ac_libobjs=
  2979. ac_ltlibobjs=
  2980. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  2981. # 1. Remove the extension, and $U if already installed.
  2982. ac_i=`echo "$ac_i" |
  2983. sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  2984. # 2. Add them.
  2985. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  2986. ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  2987. done
  2988. LIBOBJS=$ac_libobjs
  2989. LTLIBOBJS=$ac_ltlibobjs
  2990. : ${CONFIG_STATUS=./config.status}
  2991. ac_clean_files_save=$ac_clean_files
  2992. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  2993. { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  2994. echo "$as_me: creating $CONFIG_STATUS" >&6;}
  2995. cat >$CONFIG_STATUS <<_ACEOF
  2996. #! $SHELL
  2997. # Generated by $as_me.
  2998. # Run this file to recreate the current configuration.
  2999. # Compiler output produced by configure, useful for debugging
  3000. # configure, is in config.log if it exists.
  3001. debug=false
  3002. ac_cs_recheck=false
  3003. ac_cs_silent=false
  3004. SHELL=\${CONFIG_SHELL-$SHELL}
  3005. _ACEOF
  3006. cat >>$CONFIG_STATUS <<\_ACEOF
  3007. ## --------------------- ##
  3008. ## M4sh Initialization. ##
  3009. ## --------------------- ##
  3010. # Be Bourne compatible
  3011. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  3012. emulate sh
  3013. NULLCMD=:
  3014. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  3015. # is contrary to our usage. Disable this feature.
  3016. alias -g '${1+"$@"}'='"$@"'
  3017. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  3018. set -o posix
  3019. fi
  3020. # Support unset when possible.
  3021. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  3022. as_unset=unset
  3023. else
  3024. as_unset=false
  3025. fi
  3026. # Work around bugs in pre-3.0 UWIN ksh.
  3027. $as_unset ENV MAIL MAILPATH
  3028. PS1='$ '
  3029. PS2='> '
  3030. PS4='+ '
  3031. # NLS nuisances.
  3032. for as_var in \
  3033. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  3034. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  3035. LC_TELEPHONE LC_TIME
  3036. do
  3037. if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  3038. eval $as_var=C; export $as_var
  3039. else
  3040. $as_unset $as_var
  3041. fi
  3042. done
  3043. # Required to use basename.
  3044. if expr a : '\(a\)' >/dev/null 2>&1; then
  3045. as_expr=expr
  3046. else
  3047. as_expr=false
  3048. fi
  3049. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  3050. as_basename=basename
  3051. else
  3052. as_basename=false
  3053. fi
  3054. # Name of the executable.
  3055. as_me=`$as_basename "$0" ||
  3056. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  3057. X"$0" : 'X\(//\)$' \| \
  3058. X"$0" : 'X\(/\)$' \| \
  3059. . : '\(.\)' 2>/dev/null ||
  3060. echo X/"$0" |
  3061. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  3062. /^X\/\(\/\/\)$/{ s//\1/; q; }
  3063. /^X\/\(\/\).*/{ s//\1/; q; }
  3064. s/.*/./; q'`
  3065. # PATH needs CR, and LINENO needs CR and PATH.
  3066. # Avoid depending upon Character Ranges.
  3067. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  3068. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  3069. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  3070. as_cr_digits='0123456789'
  3071. as_cr_alnum=$as_cr_Letters$as_cr_digits
  3072. # The user is always right.
  3073. if test "${PATH_SEPARATOR+set}" != set; then
  3074. echo "#! /bin/sh" >conf$$.sh
  3075. echo "exit 0" >>conf$$.sh
  3076. chmod +x conf$$.sh
  3077. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  3078. PATH_SEPARATOR=';'
  3079. else
  3080. PATH_SEPARATOR=:
  3081. fi
  3082. rm -f conf$$.sh
  3083. fi
  3084. as_lineno_1=$LINENO
  3085. as_lineno_2=$LINENO
  3086. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  3087. test "x$as_lineno_1" != "x$as_lineno_2" &&
  3088. test "x$as_lineno_3" = "x$as_lineno_2" || {
  3089. # Find who we are. Look in the path if we contain no path at all
  3090. # relative or not.
  3091. case $0 in
  3092. *[\\/]* ) as_myself=$0 ;;
  3093. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3094. for as_dir in $PATH
  3095. do
  3096. IFS=$as_save_IFS
  3097. test -z "$as_dir" && as_dir=.
  3098. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  3099. done
  3100. ;;
  3101. esac
  3102. # We did not find ourselves, most probably we were run as `sh COMMAND'
  3103. # in which case we are not to be found in the path.
  3104. if test "x$as_myself" = x; then
  3105. as_myself=$0
  3106. fi
  3107. if test ! -f "$as_myself"; then
  3108. { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  3109. echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  3110. { (exit 1); exit 1; }; }
  3111. fi
  3112. case $CONFIG_SHELL in
  3113. '')
  3114. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3115. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  3116. do
  3117. IFS=$as_save_IFS
  3118. test -z "$as_dir" && as_dir=.
  3119. for as_base in sh bash ksh sh5; do
  3120. case $as_dir in
  3121. /*)
  3122. if ("$as_dir/$as_base" -c '
  3123. as_lineno_1=$LINENO
  3124. as_lineno_2=$LINENO
  3125. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  3126. test "x$as_lineno_1" != "x$as_lineno_2" &&
  3127. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  3128. $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  3129. $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  3130. CONFIG_SHELL=$as_dir/$as_base
  3131. export CONFIG_SHELL
  3132. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  3133. fi;;
  3134. esac
  3135. done
  3136. done
  3137. ;;
  3138. esac
  3139. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  3140. # uniformly replaced by the line number. The first 'sed' inserts a
  3141. # line-number line before each line; the second 'sed' does the real
  3142. # work. The second script uses 'N' to pair each line-number line
  3143. # with the numbered line, and appends trailing '-' during
  3144. # substitution so that $LINENO is not a special case at line end.
  3145. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  3146. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  3147. sed '=' <$as_myself |
  3148. sed '
  3149. N
  3150. s,$,-,
  3151. : loop
  3152. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  3153. t loop
  3154. s,-$,,
  3155. s,^['$as_cr_digits']*\n,,
  3156. ' >$as_me.lineno &&
  3157. chmod +x $as_me.lineno ||
  3158. { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  3159. echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  3160. { (exit 1); exit 1; }; }
  3161. # Don't try to exec as it changes $[0], causing all sort of problems
  3162. # (the dirname of $[0] is not the place where we might find the
  3163. # original and so on. Autoconf is especially sensible to this).
  3164. . ./$as_me.lineno
  3165. # Exit status is that of the last command.
  3166. exit
  3167. }
  3168. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  3169. *c*,-n*) ECHO_N= ECHO_C='
  3170. ' ECHO_T=' ' ;;
  3171. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  3172. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  3173. esac
  3174. if expr a : '\(a\)' >/dev/null 2>&1; then
  3175. as_expr=expr
  3176. else
  3177. as_expr=false
  3178. fi
  3179. rm -f conf$$ conf$$.exe conf$$.file
  3180. echo >conf$$.file
  3181. if ln -s conf$$.file conf$$ 2>/dev/null; then
  3182. # We could just check for DJGPP; but this test a) works b) is more generic
  3183. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  3184. if test -f conf$$.exe; then
  3185. # Don't use ln at all; we don't have any links
  3186. as_ln_s='cp -p'
  3187. else
  3188. as_ln_s='ln -s'
  3189. fi
  3190. elif ln conf$$.file conf$$ 2>/dev/null; then
  3191. as_ln_s=ln
  3192. else
  3193. as_ln_s='cp -p'
  3194. fi
  3195. rm -f conf$$ conf$$.exe conf$$.file
  3196. if mkdir -p . 2>/dev/null; then
  3197. as_mkdir_p=:
  3198. else
  3199. as_mkdir_p=false
  3200. fi
  3201. as_executable_p="test -f"
  3202. # Sed expression to map a string onto a valid CPP name.
  3203. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  3204. # Sed expression to map a string onto a valid variable name.
  3205. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  3206. # IFS
  3207. # We need space, tab and new line, in precisely that order.
  3208. as_nl='
  3209. '
  3210. IFS=" $as_nl"
  3211. # CDPATH.
  3212. $as_unset CDPATH
  3213. exec 6>&1
  3214. # Open the log real soon, to keep \$[0] and so on meaningful, and to
  3215. # report actual input values of CONFIG_FILES etc. instead of their
  3216. # values after options handling. Logging --version etc. is OK.
  3217. exec 5>>config.log
  3218. {
  3219. echo
  3220. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  3221. ## Running $as_me. ##
  3222. _ASBOX
  3223. } >&5
  3224. cat >&5 <<_CSEOF
  3225. This file was extended by $as_me, which was
  3226. generated by GNU Autoconf 2.57. Invocation command line was
  3227. CONFIG_FILES = $CONFIG_FILES
  3228. CONFIG_HEADERS = $CONFIG_HEADERS
  3229. CONFIG_LINKS = $CONFIG_LINKS
  3230. CONFIG_COMMANDS = $CONFIG_COMMANDS
  3231. $ $0 $@
  3232. _CSEOF
  3233. echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  3234. echo >&5
  3235. _ACEOF
  3236. # Files that config.status was made for.
  3237. if test -n "$ac_config_files"; then
  3238. echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  3239. fi
  3240. if test -n "$ac_config_headers"; then
  3241. echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  3242. fi
  3243. if test -n "$ac_config_links"; then
  3244. echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  3245. fi
  3246. if test -n "$ac_config_commands"; then
  3247. echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  3248. fi
  3249. cat >>$CONFIG_STATUS <<\_ACEOF
  3250. ac_cs_usage="\
  3251. \`$as_me' instantiates files from templates according to the
  3252. current configuration.
  3253. Usage: $0 [OPTIONS] [FILE]...
  3254. -h, --help print this help, then exit
  3255. -V, --version print version number, then exit
  3256. -q, --quiet do not print progress messages
  3257. -d, --debug don't remove temporary files
  3258. --recheck update $as_me by reconfiguring in the same conditions
  3259. --file=FILE[:TEMPLATE]
  3260. instantiate the configuration file FILE
  3261. --header=FILE[:TEMPLATE]
  3262. instantiate the configuration header FILE
  3263. Configuration files:
  3264. $config_files
  3265. Configuration headers:
  3266. $config_headers
  3267. Report bugs to <bug-autoconf@gnu.org>."
  3268. _ACEOF
  3269. cat >>$CONFIG_STATUS <<_ACEOF
  3270. ac_cs_version="\\
  3271. config.status
  3272. configured by $0, generated by GNU Autoconf 2.57,
  3273. with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  3274. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  3275. Free Software Foundation, Inc.
  3276. This config.status script is free software; the Free Software Foundation
  3277. gives unlimited permission to copy, distribute and modify it."
  3278. srcdir=$srcdir
  3279. INSTALL="$INSTALL"
  3280. _ACEOF
  3281. cat >>$CONFIG_STATUS <<\_ACEOF
  3282. # If no file are specified by the user, then we need to provide default
  3283. # value. By we need to know if files were specified by the user.
  3284. ac_need_defaults=:
  3285. while test $# != 0
  3286. do
  3287. case $1 in
  3288. --*=*)
  3289. ac_option=`expr "x$1" : 'x\([^=]*\)='`
  3290. ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  3291. ac_shift=:
  3292. ;;
  3293. -*)
  3294. ac_option=$1
  3295. ac_optarg=$2
  3296. ac_shift=shift
  3297. ;;
  3298. *) # This is not an option, so the user has probably given explicit
  3299. # arguments.
  3300. ac_option=$1
  3301. ac_need_defaults=false;;
  3302. esac
  3303. case $ac_option in
  3304. # Handling of the options.
  3305. _ACEOF
  3306. cat >>$CONFIG_STATUS <<\_ACEOF
  3307. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  3308. ac_cs_recheck=: ;;
  3309. --version | --vers* | -V )
  3310. echo "$ac_cs_version"; exit 0 ;;
  3311. --he | --h)
  3312. # Conflict between --help and --header
  3313. { { echo "$as_me:$LINENO: error: ambiguous option: $1
  3314. Try \`$0 --help' for more information." >&5
  3315. echo "$as_me: error: ambiguous option: $1
  3316. Try \`$0 --help' for more information." >&2;}
  3317. { (exit 1); exit 1; }; };;
  3318. --help | --hel | -h )
  3319. echo "$ac_cs_usage"; exit 0 ;;
  3320. --debug | --d* | -d )
  3321. debug=: ;;
  3322. --file | --fil | --fi | --f )
  3323. $ac_shift
  3324. CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  3325. ac_need_defaults=false;;
  3326. --header | --heade | --head | --hea )
  3327. $ac_shift
  3328. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  3329. ac_need_defaults=false;;
  3330. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3331. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  3332. ac_cs_silent=: ;;
  3333. # This is an error.
  3334. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  3335. Try \`$0 --help' for more information." >&5
  3336. echo "$as_me: error: unrecognized option: $1
  3337. Try \`$0 --help' for more information." >&2;}
  3338. { (exit 1); exit 1; }; } ;;
  3339. *) ac_config_targets="$ac_config_targets $1" ;;
  3340. esac
  3341. shift
  3342. done
  3343. ac_configure_extra_args=
  3344. if $ac_cs_silent; then
  3345. exec 6>/dev/null
  3346. ac_configure_extra_args="$ac_configure_extra_args --silent"
  3347. fi
  3348. _ACEOF
  3349. cat >>$CONFIG_STATUS <<_ACEOF
  3350. if \$ac_cs_recheck; then
  3351. echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  3352. exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  3353. fi
  3354. _ACEOF
  3355. cat >>$CONFIG_STATUS <<\_ACEOF
  3356. for ac_config_target in $ac_config_targets
  3357. do
  3358. case "$ac_config_target" in
  3359. # Handling of arguments.
  3360. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  3361. "diction.1" ) CONFIG_FILES="$CONFIG_FILES diction.1" ;;
  3362. "diction.texi" ) CONFIG_FILES="$CONFIG_FILES diction.texi" ;;
  3363. "diction.spec" ) CONFIG_FILES="$CONFIG_FILES diction.spec" ;;
  3364. "style.1" ) CONFIG_FILES="$CONFIG_FILES style.1" ;;
  3365. "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  3366. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  3367. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  3368. { (exit 1); exit 1; }; };;
  3369. esac
  3370. done
  3371. # If the user did not use the arguments to specify the items to instantiate,
  3372. # then the envvar interface is used. Set only those that are not.
  3373. # We use the long form for the default assignment because of an extremely
  3374. # bizarre bug on SunOS 4.1.3.
  3375. if $ac_need_defaults; then
  3376. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  3377. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  3378. fi
  3379. # Have a temporary directory for convenience. Make it in the build tree
  3380. # simply because there is no reason to put it here, and in addition,
  3381. # creating and moving files from /tmp can sometimes cause problems.
  3382. # Create a temporary directory, and hook for its removal unless debugging.
  3383. $debug ||
  3384. {
  3385. trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  3386. trap '{ (exit 1); exit 1; }' 1 2 13 15
  3387. }
  3388. # Create a (secure) tmp directory for tmp files.
  3389. {
  3390. tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  3391. test -n "$tmp" && test -d "$tmp"
  3392. } ||
  3393. {
  3394. tmp=./confstat$$-$RANDOM
  3395. (umask 077 && mkdir $tmp)
  3396. } ||
  3397. {
  3398. echo "$me: cannot create a temporary directory in ." >&2
  3399. { (exit 1); exit 1; }
  3400. }
  3401. _ACEOF
  3402. cat >>$CONFIG_STATUS <<_ACEOF
  3403. #
  3404. # CONFIG_FILES section.
  3405. #
  3406. # No need to generate the scripts if there are no CONFIG_FILES.
  3407. # This happens for instance when ./config.status config.h
  3408. if test -n "\$CONFIG_FILES"; then
  3409. # Protect against being on the right side of a sed subst in config.status.
  3410. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  3411. s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  3412. s,@SHELL@,$SHELL,;t t
  3413. s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  3414. s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  3415. s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  3416. s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  3417. s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  3418. s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  3419. s,@exec_prefix@,$exec_prefix,;t t
  3420. s,@prefix@,$prefix,;t t
  3421. s,@program_transform_name@,$program_transform_name,;t t
  3422. s,@bindir@,$bindir,;t t
  3423. s,@sbindir@,$sbindir,;t t
  3424. s,@libexecdir@,$libexecdir,;t t
  3425. s,@datadir@,$datadir,;t t
  3426. s,@sysconfdir@,$sysconfdir,;t t
  3427. s,@sharedstatedir@,$sharedstatedir,;t t
  3428. s,@localstatedir@,$localstatedir,;t t
  3429. s,@libdir@,$libdir,;t t
  3430. s,@includedir@,$includedir,;t t
  3431. s,@oldincludedir@,$oldincludedir,;t t
  3432. s,@infodir@,$infodir,;t t
  3433. s,@mandir@,$mandir,;t t
  3434. s,@build_alias@,$build_alias,;t t
  3435. s,@host_alias@,$host_alias,;t t
  3436. s,@target_alias@,$target_alias,;t t
  3437. s,@DEFS@,$DEFS,;t t
  3438. s,@ECHO_C@,$ECHO_C,;t t
  3439. s,@ECHO_N@,$ECHO_N,;t t
  3440. s,@ECHO_T@,$ECHO_T,;t t
  3441. s,@LIBS@,$LIBS,;t t
  3442. s,@build@,$build,;t t
  3443. s,@build_cpu@,$build_cpu,;t t
  3444. s,@build_vendor@,$build_vendor,;t t
  3445. s,@build_os@,$build_os,;t t
  3446. s,@host@,$host,;t t
  3447. s,@host_cpu@,$host_cpu,;t t
  3448. s,@host_vendor@,$host_vendor,;t t
  3449. s,@host_os@,$host_os,;t t
  3450. s,@CC@,$CC,;t t
  3451. s,@CFLAGS@,$CFLAGS,;t t
  3452. s,@LDFLAGS@,$LDFLAGS,;t t
  3453. s,@CPPFLAGS@,$CPPFLAGS,;t t
  3454. s,@ac_ct_CC@,$ac_ct_CC,;t t
  3455. s,@EXEEXT@,$EXEEXT,;t t
  3456. s,@OBJEXT@,$OBJEXT,;t t
  3457. s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
  3458. s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
  3459. s,@INSTALL_DATA@,$INSTALL_DATA,;t t
  3460. s,@MSGFMT@,$MSGFMT,;t t
  3461. s,@CPP@,$CPP,;t t
  3462. s,@EGREP@,$EGREP,;t t
  3463. s,@VERSION@,$VERSION,;t t
  3464. s,@UPDATED@,$UPDATED,;t t
  3465. s,@DATADIR@,$DATADIR,;t t
  3466. s,@USE_NLS@,$USE_NLS,;t t
  3467. s,@LIBOBJS@,$LIBOBJS,;t t
  3468. s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  3469. CEOF
  3470. _ACEOF
  3471. cat >>$CONFIG_STATUS <<\_ACEOF
  3472. # Split the substitutions into bite-sized pieces for seds with
  3473. # small command number limits, like on Digital OSF/1 and HP-UX.
  3474. ac_max_sed_lines=48
  3475. ac_sed_frag=1 # Number of current file.
  3476. ac_beg=1 # First line for current file.
  3477. ac_end=$ac_max_sed_lines # Line after last line for current file.
  3478. ac_more_lines=:
  3479. ac_sed_cmds=
  3480. while $ac_more_lines; do
  3481. if test $ac_beg -gt 1; then
  3482. sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  3483. else
  3484. sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  3485. fi
  3486. if test ! -s $tmp/subs.frag; then
  3487. ac_more_lines=false
  3488. else
  3489. # The purpose of the label and of the branching condition is to
  3490. # speed up the sed processing (if there are no `@' at all, there
  3491. # is no need to browse any of the substitutions).
  3492. # These are the two extra sed commands mentioned above.
  3493. (echo ':t
  3494. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  3495. if test -z "$ac_sed_cmds"; then
  3496. ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  3497. else
  3498. ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  3499. fi
  3500. ac_sed_frag=`expr $ac_sed_frag + 1`
  3501. ac_beg=$ac_end
  3502. ac_end=`expr $ac_end + $ac_max_sed_lines`
  3503. fi
  3504. done
  3505. if test -z "$ac_sed_cmds"; then
  3506. ac_sed_cmds=cat
  3507. fi
  3508. fi # test -n "$CONFIG_FILES"
  3509. _ACEOF
  3510. cat >>$CONFIG_STATUS <<\_ACEOF
  3511. for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  3512. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  3513. case $ac_file in
  3514. - | *:- | *:-:* ) # input from stdin
  3515. cat >$tmp/stdin
  3516. ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3517. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  3518. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3519. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  3520. * ) ac_file_in=$ac_file.in ;;
  3521. esac
  3522. # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  3523. ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  3524. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3525. X"$ac_file" : 'X\(//\)[^/]' \| \
  3526. X"$ac_file" : 'X\(//\)$' \| \
  3527. X"$ac_file" : 'X\(/\)' \| \
  3528. . : '\(.\)' 2>/dev/null ||
  3529. echo X"$ac_file" |
  3530. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  3531. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  3532. /^X\(\/\/\)$/{ s//\1/; q; }
  3533. /^X\(\/\).*/{ s//\1/; q; }
  3534. s/.*/./; q'`
  3535. { if $as_mkdir_p; then
  3536. mkdir -p "$ac_dir"
  3537. else
  3538. as_dir="$ac_dir"
  3539. as_dirs=
  3540. while test ! -d "$as_dir"; do
  3541. as_dirs="$as_dir $as_dirs"
  3542. as_dir=`(dirname "$as_dir") 2>/dev/null ||
  3543. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3544. X"$as_dir" : 'X\(//\)[^/]' \| \
  3545. X"$as_dir" : 'X\(//\)$' \| \
  3546. X"$as_dir" : 'X\(/\)' \| \
  3547. . : '\(.\)' 2>/dev/null ||
  3548. echo X"$as_dir" |
  3549. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  3550. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  3551. /^X\(\/\/\)$/{ s//\1/; q; }
  3552. /^X\(\/\).*/{ s//\1/; q; }
  3553. s/.*/./; q'`
  3554. done
  3555. test ! -n "$as_dirs" || mkdir $as_dirs
  3556. fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  3557. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  3558. { (exit 1); exit 1; }; }; }
  3559. ac_builddir=.
  3560. if test "$ac_dir" != .; then
  3561. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  3562. # A "../" for each directory in $ac_dir_suffix.
  3563. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  3564. else
  3565. ac_dir_suffix= ac_top_builddir=
  3566. fi
  3567. case $srcdir in
  3568. .) # No --srcdir option. We are building in place.
  3569. ac_srcdir=.
  3570. if test -z "$ac_top_builddir"; then
  3571. ac_top_srcdir=.
  3572. else
  3573. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  3574. fi ;;
  3575. [\\/]* | ?:[\\/]* ) # Absolute path.
  3576. ac_srcdir=$srcdir$ac_dir_suffix;
  3577. ac_top_srcdir=$srcdir ;;
  3578. *) # Relative path.
  3579. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  3580. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  3581. esac
  3582. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  3583. # absolute.
  3584. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  3585. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  3586. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  3587. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  3588. case $INSTALL in
  3589. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  3590. *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  3591. esac
  3592. if test x"$ac_file" != x-; then
  3593. { echo "$as_me:$LINENO: creating $ac_file" >&5
  3594. echo "$as_me: creating $ac_file" >&6;}
  3595. rm -f "$ac_file"
  3596. fi
  3597. # Let's still pretend it is `configure' which instantiates (i.e., don't
  3598. # use $as_me), people would be surprised to read:
  3599. # /* config.h. Generated by config.status. */
  3600. if test x"$ac_file" = x-; then
  3601. configure_input=
  3602. else
  3603. configure_input="$ac_file. "
  3604. fi
  3605. configure_input=$configure_input"Generated from `echo $ac_file_in |
  3606. sed 's,.*/,,'` by configure."
  3607. # First look for the input files in the build tree, otherwise in the
  3608. # src tree.
  3609. ac_file_inputs=`IFS=:
  3610. for f in $ac_file_in; do
  3611. case $f in
  3612. -) echo $tmp/stdin ;;
  3613. [\\/$]*)
  3614. # Absolute (can't be DOS-style, as IFS=:)
  3615. test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  3616. echo "$as_me: error: cannot find input file: $f" >&2;}
  3617. { (exit 1); exit 1; }; }
  3618. echo $f;;
  3619. *) # Relative
  3620. if test -f "$f"; then
  3621. # Build tree
  3622. echo $f
  3623. elif test -f "$srcdir/$f"; then
  3624. # Source tree
  3625. echo $srcdir/$f
  3626. else
  3627. # /dev/null tree
  3628. { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  3629. echo "$as_me: error: cannot find input file: $f" >&2;}
  3630. { (exit 1); exit 1; }; }
  3631. fi;;
  3632. esac
  3633. done` || { (exit 1); exit 1; }
  3634. _ACEOF
  3635. cat >>$CONFIG_STATUS <<_ACEOF
  3636. sed "$ac_vpsub
  3637. $extrasub
  3638. _ACEOF
  3639. cat >>$CONFIG_STATUS <<\_ACEOF
  3640. :t
  3641. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  3642. s,@configure_input@,$configure_input,;t t
  3643. s,@srcdir@,$ac_srcdir,;t t
  3644. s,@abs_srcdir@,$ac_abs_srcdir,;t t
  3645. s,@top_srcdir@,$ac_top_srcdir,;t t
  3646. s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  3647. s,@builddir@,$ac_builddir,;t t
  3648. s,@abs_builddir@,$ac_abs_builddir,;t t
  3649. s,@top_builddir@,$ac_top_builddir,;t t
  3650. s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  3651. s,@INSTALL@,$ac_INSTALL,;t t
  3652. " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  3653. rm -f $tmp/stdin
  3654. if test x"$ac_file" != x-; then
  3655. mv $tmp/out $ac_file
  3656. else
  3657. cat $tmp/out
  3658. rm -f $tmp/out
  3659. fi
  3660. done
  3661. _ACEOF
  3662. cat >>$CONFIG_STATUS <<\_ACEOF
  3663. #
  3664. # CONFIG_HEADER section.
  3665. #
  3666. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  3667. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  3668. #
  3669. # ac_d sets the value in "#define NAME VALUE" lines.
  3670. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  3671. ac_dB='[ ].*$,\1#\2'
  3672. ac_dC=' '
  3673. ac_dD=',;t'
  3674. # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  3675. ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  3676. ac_uB='$,\1#\2define\3'
  3677. ac_uC=' '
  3678. ac_uD=',;t'
  3679. for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  3680. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  3681. case $ac_file in
  3682. - | *:- | *:-:* ) # input from stdin
  3683. cat >$tmp/stdin
  3684. ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3685. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  3686. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3687. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  3688. * ) ac_file_in=$ac_file.in ;;
  3689. esac
  3690. test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  3691. echo "$as_me: creating $ac_file" >&6;}
  3692. # First look for the input files in the build tree, otherwise in the
  3693. # src tree.
  3694. ac_file_inputs=`IFS=:
  3695. for f in $ac_file_in; do
  3696. case $f in
  3697. -) echo $tmp/stdin ;;
  3698. [\\/$]*)
  3699. # Absolute (can't be DOS-style, as IFS=:)
  3700. test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  3701. echo "$as_me: error: cannot find input file: $f" >&2;}
  3702. { (exit 1); exit 1; }; }
  3703. echo $f;;
  3704. *) # Relative
  3705. if test -f "$f"; then
  3706. # Build tree
  3707. echo $f
  3708. elif test -f "$srcdir/$f"; then
  3709. # Source tree
  3710. echo $srcdir/$f
  3711. else
  3712. # /dev/null tree
  3713. { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  3714. echo "$as_me: error: cannot find input file: $f" >&2;}
  3715. { (exit 1); exit 1; }; }
  3716. fi;;
  3717. esac
  3718. done` || { (exit 1); exit 1; }
  3719. # Remove the trailing spaces.
  3720. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
  3721. _ACEOF
  3722. # Transform confdefs.h into two sed scripts, `conftest.defines' and
  3723. # `conftest.undefs', that substitutes the proper values into
  3724. # config.h.in to produce config.h. The first handles `#define'
  3725. # templates, and the second `#undef' templates.
  3726. # And first: Protect against being on the right side of a sed subst in
  3727. # config.status. Protect against being in an unquoted here document
  3728. # in config.status.
  3729. rm -f conftest.defines conftest.undefs
  3730. # Using a here document instead of a string reduces the quoting nightmare.
  3731. # Putting comments in sed scripts is not portable.
  3732. #
  3733. # `end' is used to avoid that the second main sed command (meant for
  3734. # 0-ary CPP macros) applies to n-ary macro definitions.
  3735. # See the Autoconf documentation for `clear'.
  3736. cat >confdef2sed.sed <<\_ACEOF
  3737. s/[\\&,]/\\&/g
  3738. s,[\\$`],\\&,g
  3739. t clear
  3740. : clear
  3741. s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  3742. t end
  3743. s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  3744. : end
  3745. _ACEOF
  3746. # If some macros were called several times there might be several times
  3747. # the same #defines, which is useless. Nevertheless, we may not want to
  3748. # sort them, since we want the *last* AC-DEFINE to be honored.
  3749. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
  3750. sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
  3751. rm -f confdef2sed.sed
  3752. # This sed command replaces #undef with comments. This is necessary, for
  3753. # example, in the case of _POSIX_SOURCE, which is predefined and required
  3754. # on some systems where configure will not decide to define it.
  3755. cat >>conftest.undefs <<\_ACEOF
  3756. s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  3757. _ACEOF
  3758. # Break up conftest.defines because some shells have a limit on the size
  3759. # of here documents, and old seds have small limits too (100 cmds).
  3760. echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  3761. echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  3762. echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  3763. echo ' :' >>$CONFIG_STATUS
  3764. rm -f conftest.tail
  3765. while grep . conftest.defines >/dev/null
  3766. do
  3767. # Write a limited-size here document to $tmp/defines.sed.
  3768. echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  3769. # Speed up: don't consider the non `#define' lines.
  3770. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
  3771. # Work around the forget-to-reset-the-flag bug.
  3772. echo 't clr' >>$CONFIG_STATUS
  3773. echo ': clr' >>$CONFIG_STATUS
  3774. sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  3775. echo 'CEOF
  3776. sed -f $tmp/defines.sed $tmp/in >$tmp/out
  3777. rm -f $tmp/in
  3778. mv $tmp/out $tmp/in
  3779. ' >>$CONFIG_STATUS
  3780. sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  3781. rm -f conftest.defines
  3782. mv conftest.tail conftest.defines
  3783. done
  3784. rm -f conftest.defines
  3785. echo ' fi # grep' >>$CONFIG_STATUS
  3786. echo >>$CONFIG_STATUS
  3787. # Break up conftest.undefs because some shells have a limit on the size
  3788. # of here documents, and old seds have small limits too (100 cmds).
  3789. echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
  3790. rm -f conftest.tail
  3791. while grep . conftest.undefs >/dev/null
  3792. do
  3793. # Write a limited-size here document to $tmp/undefs.sed.
  3794. echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  3795. # Speed up: don't consider the non `#undef'
  3796. echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
  3797. # Work around the forget-to-reset-the-flag bug.
  3798. echo 't clr' >>$CONFIG_STATUS
  3799. echo ': clr' >>$CONFIG_STATUS
  3800. sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  3801. echo 'CEOF
  3802. sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  3803. rm -f $tmp/in
  3804. mv $tmp/out $tmp/in
  3805. ' >>$CONFIG_STATUS
  3806. sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  3807. rm -f conftest.undefs
  3808. mv conftest.tail conftest.undefs
  3809. done
  3810. rm -f conftest.undefs
  3811. cat >>$CONFIG_STATUS <<\_ACEOF
  3812. # Let's still pretend it is `configure' which instantiates (i.e., don't
  3813. # use $as_me), people would be surprised to read:
  3814. # /* config.h. Generated by config.status. */
  3815. if test x"$ac_file" = x-; then
  3816. echo "/* Generated by configure. */" >$tmp/config.h
  3817. else
  3818. echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
  3819. fi
  3820. cat $tmp/in >>$tmp/config.h
  3821. rm -f $tmp/in
  3822. if test x"$ac_file" != x-; then
  3823. if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
  3824. { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  3825. echo "$as_me: $ac_file is unchanged" >&6;}
  3826. else
  3827. ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  3828. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3829. X"$ac_file" : 'X\(//\)[^/]' \| \
  3830. X"$ac_file" : 'X\(//\)$' \| \
  3831. X"$ac_file" : 'X\(/\)' \| \
  3832. . : '\(.\)' 2>/dev/null ||
  3833. echo X"$ac_file" |
  3834. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  3835. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  3836. /^X\(\/\/\)$/{ s//\1/; q; }
  3837. /^X\(\/\).*/{ s//\1/; q; }
  3838. s/.*/./; q'`
  3839. { if $as_mkdir_p; then
  3840. mkdir -p "$ac_dir"
  3841. else
  3842. as_dir="$ac_dir"
  3843. as_dirs=
  3844. while test ! -d "$as_dir"; do
  3845. as_dirs="$as_dir $as_dirs"
  3846. as_dir=`(dirname "$as_dir") 2>/dev/null ||
  3847. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3848. X"$as_dir" : 'X\(//\)[^/]' \| \
  3849. X"$as_dir" : 'X\(//\)$' \| \
  3850. X"$as_dir" : 'X\(/\)' \| \
  3851. . : '\(.\)' 2>/dev/null ||
  3852. echo X"$as_dir" |
  3853. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  3854. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  3855. /^X\(\/\/\)$/{ s//\1/; q; }
  3856. /^X\(\/\).*/{ s//\1/; q; }
  3857. s/.*/./; q'`
  3858. done
  3859. test ! -n "$as_dirs" || mkdir $as_dirs
  3860. fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  3861. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  3862. { (exit 1); exit 1; }; }; }
  3863. rm -f $ac_file
  3864. mv $tmp/config.h $ac_file
  3865. fi
  3866. else
  3867. cat $tmp/config.h
  3868. rm -f $tmp/config.h
  3869. fi
  3870. done
  3871. _ACEOF
  3872. cat >>$CONFIG_STATUS <<\_ACEOF
  3873. { (exit 0); exit 0; }
  3874. _ACEOF
  3875. chmod +x $CONFIG_STATUS
  3876. ac_clean_files=$ac_clean_files_save
  3877. # configure is writing to config.log, and then calls config.status.
  3878. # config.status does its own redirection, appending to config.log.
  3879. # Unfortunately, on DOS this fails, as config.log is still kept open
  3880. # by configure, so config.status won't be able to write to it; its
  3881. # output is simply discarded. So we exec the FD to /dev/null,
  3882. # effectively closing config.log, so it can be properly (re)opened and
  3883. # appended to by config.status. When coming back to configure, we
  3884. # need to make the FD available again.
  3885. if test "$no_create" != yes; then
  3886. ac_cs_success=:
  3887. ac_config_status_args=
  3888. test "$silent" = yes &&
  3889. ac_config_status_args="$ac_config_status_args --quiet"
  3890. exec 5>/dev/null
  3891. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  3892. exec 5>>config.log
  3893. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  3894. # would make configure fail if this is the last instruction.
  3895. $ac_cs_success || { (exit 1); exit 1; }
  3896. fi