A C standard library for sh3eb-elf.
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.
 
 
 
 
 
 

2267 lines
68 KiB

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.59.
  4. #
  5. # Copyright (C) 2003 Free Software Foundation, Inc.
  6. # This configure script is free software; the Free Software Foundation
  7. # gives unlimited permission to copy, distribute and modify it.
  8. ## --------------------- ##
  9. ## M4sh Initialization. ##
  10. ## --------------------- ##
  11. # Be Bourne compatible
  12. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  13. emulate sh
  14. NULLCMD=:
  15. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  16. # is contrary to our usage. Disable this feature.
  17. alias -g '${1+"$@"}'='"$@"'
  18. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  19. set -o posix
  20. fi
  21. DUALCASE=1; export DUALCASE # for MKS sh
  22. # Support unset when possible.
  23. if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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. test -d ./-p && rmdir ./-p
  200. as_mkdir_p=false
  201. fi
  202. as_executable_p="test -f"
  203. # Sed expression to map a string onto a valid CPP name.
  204. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  205. # Sed expression to map a string onto a valid variable name.
  206. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  207. # IFS
  208. # We need space, tab and new line, in precisely that order.
  209. as_nl='
  210. '
  211. IFS=" $as_nl"
  212. # CDPATH.
  213. $as_unset CDPATH
  214. # Name of the host.
  215. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  216. # so uname gets run too.
  217. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  218. exec 6>&1
  219. #
  220. # Initializations.
  221. #
  222. ac_default_prefix=/usr/local
  223. ac_config_libobj_dir=.
  224. cross_compiling=no
  225. subdirs=
  226. MFLAGS=
  227. MAKEFLAGS=
  228. SHELL=${CONFIG_SHELL-/bin/sh}
  229. # Maximum number of lines to put in a shell here document.
  230. # This variable seems obsolete. It should probably be removed, and
  231. # only ac_max_sed_lines should be used.
  232. : ${ac_max_here_lines=38}
  233. # Identity of this package.
  234. PACKAGE_NAME=
  235. PACKAGE_TARNAME=
  236. PACKAGE_VERSION=
  237. PACKAGE_STRING=
  238. PACKAGE_BUGREPORT=
  239. ac_unique_file="Makefile.in"
  240. 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MAINT datarootdir docdir htmldir pdfdir LIBOBJS LTLIBOBJS'
  241. ac_subst_files=''
  242. # Initialize some variables set by options.
  243. ac_init_help=
  244. ac_init_version=false
  245. # The variables have the same names as the options, with
  246. # dashes changed to underlines.
  247. cache_file=/dev/null
  248. exec_prefix=NONE
  249. no_create=
  250. no_recursion=
  251. prefix=NONE
  252. program_prefix=NONE
  253. program_suffix=NONE
  254. program_transform_name=s,x,x,
  255. silent=
  256. site=
  257. srcdir=
  258. verbose=
  259. x_includes=NONE
  260. x_libraries=NONE
  261. # Installation directory options.
  262. # These are left unexpanded so users can "make install exec_prefix=/foo"
  263. # and all the variables that are supposed to be based on exec_prefix
  264. # by default will actually change.
  265. # Use braces instead of parens because sh, perl, etc. also accept them.
  266. bindir='${exec_prefix}/bin'
  267. sbindir='${exec_prefix}/sbin'
  268. libexecdir='${exec_prefix}/libexec'
  269. datadir='${prefix}/share'
  270. sysconfdir='${prefix}/etc'
  271. sharedstatedir='${prefix}/com'
  272. localstatedir='${prefix}/var'
  273. libdir='${exec_prefix}/lib'
  274. includedir='${prefix}/include'
  275. oldincludedir='/usr/include'
  276. infodir='${prefix}/info'
  277. mandir='${prefix}/man'
  278. ac_prev=
  279. for ac_option
  280. do
  281. # If the previous option needs an argument, assign it.
  282. if test -n "$ac_prev"; then
  283. eval "$ac_prev=\$ac_option"
  284. ac_prev=
  285. continue
  286. fi
  287. ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  288. # Accept the important Cygnus configure options, so we can diagnose typos.
  289. case $ac_option in
  290. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  291. ac_prev=bindir ;;
  292. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  293. bindir=$ac_optarg ;;
  294. -build | --build | --buil | --bui | --bu)
  295. ac_prev=build_alias ;;
  296. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  297. build_alias=$ac_optarg ;;
  298. -cache-file | --cache-file | --cache-fil | --cache-fi \
  299. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  300. ac_prev=cache_file ;;
  301. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  302. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  303. cache_file=$ac_optarg ;;
  304. --config-cache | -C)
  305. cache_file=config.cache ;;
  306. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  307. ac_prev=datadir ;;
  308. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  309. | --da=*)
  310. datadir=$ac_optarg ;;
  311. -disable-* | --disable-*)
  312. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  313. # Reject names that are not valid shell variable names.
  314. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  315. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  316. { (exit 1); exit 1; }; }
  317. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  318. eval "enable_$ac_feature=no" ;;
  319. -enable-* | --enable-*)
  320. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  321. # Reject names that are not valid shell variable names.
  322. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  323. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  324. { (exit 1); exit 1; }; }
  325. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  326. case $ac_option in
  327. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  328. *) ac_optarg=yes ;;
  329. esac
  330. eval "enable_$ac_feature='$ac_optarg'" ;;
  331. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  332. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  333. | --exec | --exe | --ex)
  334. ac_prev=exec_prefix ;;
  335. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  336. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  337. | --exec=* | --exe=* | --ex=*)
  338. exec_prefix=$ac_optarg ;;
  339. -gas | --gas | --ga | --g)
  340. # Obsolete; use --with-gas.
  341. with_gas=yes ;;
  342. -help | --help | --hel | --he | -h)
  343. ac_init_help=long ;;
  344. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  345. ac_init_help=recursive ;;
  346. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  347. ac_init_help=short ;;
  348. -host | --host | --hos | --ho)
  349. ac_prev=host_alias ;;
  350. -host=* | --host=* | --hos=* | --ho=*)
  351. host_alias=$ac_optarg ;;
  352. -includedir | --includedir | --includedi | --included | --include \
  353. | --includ | --inclu | --incl | --inc)
  354. ac_prev=includedir ;;
  355. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  356. | --includ=* | --inclu=* | --incl=* | --inc=*)
  357. includedir=$ac_optarg ;;
  358. -infodir | --infodir | --infodi | --infod | --info | --inf)
  359. ac_prev=infodir ;;
  360. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  361. infodir=$ac_optarg ;;
  362. -libdir | --libdir | --libdi | --libd)
  363. ac_prev=libdir ;;
  364. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  365. libdir=$ac_optarg ;;
  366. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  367. | --libexe | --libex | --libe)
  368. ac_prev=libexecdir ;;
  369. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  370. | --libexe=* | --libex=* | --libe=*)
  371. libexecdir=$ac_optarg ;;
  372. -localstatedir | --localstatedir | --localstatedi | --localstated \
  373. | --localstate | --localstat | --localsta | --localst \
  374. | --locals | --local | --loca | --loc | --lo)
  375. ac_prev=localstatedir ;;
  376. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  377. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  378. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  379. localstatedir=$ac_optarg ;;
  380. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  381. ac_prev=mandir ;;
  382. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  383. mandir=$ac_optarg ;;
  384. -nfp | --nfp | --nf)
  385. # Obsolete; use --without-fp.
  386. with_fp=no ;;
  387. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  388. | --no-cr | --no-c | -n)
  389. no_create=yes ;;
  390. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  391. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  392. no_recursion=yes ;;
  393. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  394. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  395. | --oldin | --oldi | --old | --ol | --o)
  396. ac_prev=oldincludedir ;;
  397. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  398. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  399. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  400. oldincludedir=$ac_optarg ;;
  401. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  402. ac_prev=prefix ;;
  403. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  404. prefix=$ac_optarg ;;
  405. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  406. | --program-pre | --program-pr | --program-p)
  407. ac_prev=program_prefix ;;
  408. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  409. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  410. program_prefix=$ac_optarg ;;
  411. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  412. | --program-suf | --program-su | --program-s)
  413. ac_prev=program_suffix ;;
  414. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  415. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  416. program_suffix=$ac_optarg ;;
  417. -program-transform-name | --program-transform-name \
  418. | --program-transform-nam | --program-transform-na \
  419. | --program-transform-n | --program-transform- \
  420. | --program-transform | --program-transfor \
  421. | --program-transfo | --program-transf \
  422. | --program-trans | --program-tran \
  423. | --progr-tra | --program-tr | --program-t)
  424. ac_prev=program_transform_name ;;
  425. -program-transform-name=* | --program-transform-name=* \
  426. | --program-transform-nam=* | --program-transform-na=* \
  427. | --program-transform-n=* | --program-transform-=* \
  428. | --program-transform=* | --program-transfor=* \
  429. | --program-transfo=* | --program-transf=* \
  430. | --program-trans=* | --program-tran=* \
  431. | --progr-tra=* | --program-tr=* | --program-t=*)
  432. program_transform_name=$ac_optarg ;;
  433. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  434. | -silent | --silent | --silen | --sile | --sil)
  435. silent=yes ;;
  436. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  437. ac_prev=sbindir ;;
  438. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  439. | --sbi=* | --sb=*)
  440. sbindir=$ac_optarg ;;
  441. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  442. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  443. | --sharedst | --shareds | --shared | --share | --shar \
  444. | --sha | --sh)
  445. ac_prev=sharedstatedir ;;
  446. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  447. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  448. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  449. | --sha=* | --sh=*)
  450. sharedstatedir=$ac_optarg ;;
  451. -site | --site | --sit)
  452. ac_prev=site ;;
  453. -site=* | --site=* | --sit=*)
  454. site=$ac_optarg ;;
  455. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  456. ac_prev=srcdir ;;
  457. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  458. srcdir=$ac_optarg ;;
  459. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  460. | --syscon | --sysco | --sysc | --sys | --sy)
  461. ac_prev=sysconfdir ;;
  462. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  463. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  464. sysconfdir=$ac_optarg ;;
  465. -target | --target | --targe | --targ | --tar | --ta | --t)
  466. ac_prev=target_alias ;;
  467. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  468. target_alias=$ac_optarg ;;
  469. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  470. verbose=yes ;;
  471. -version | --version | --versio | --versi | --vers | -V)
  472. ac_init_version=: ;;
  473. -with-* | --with-*)
  474. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  475. # Reject names that are not valid shell variable names.
  476. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  477. { echo "$as_me: error: invalid package name: $ac_package" >&2
  478. { (exit 1); exit 1; }; }
  479. ac_package=`echo $ac_package| sed 's/-/_/g'`
  480. case $ac_option in
  481. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  482. *) ac_optarg=yes ;;
  483. esac
  484. eval "with_$ac_package='$ac_optarg'" ;;
  485. -without-* | --without-*)
  486. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  487. # Reject names that are not valid shell variable names.
  488. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  489. { echo "$as_me: error: invalid package name: $ac_package" >&2
  490. { (exit 1); exit 1; }; }
  491. ac_package=`echo $ac_package | sed 's/-/_/g'`
  492. eval "with_$ac_package=no" ;;
  493. --x)
  494. # Obsolete; use --with-x.
  495. with_x=yes ;;
  496. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  497. | --x-incl | --x-inc | --x-in | --x-i)
  498. ac_prev=x_includes ;;
  499. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  500. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  501. x_includes=$ac_optarg ;;
  502. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  503. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  504. ac_prev=x_libraries ;;
  505. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  506. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  507. x_libraries=$ac_optarg ;;
  508. -*) { echo "$as_me: error: unrecognized option: $ac_option
  509. Try \`$0 --help' for more information." >&2
  510. { (exit 1); exit 1; }; }
  511. ;;
  512. *=*)
  513. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  514. # Reject names that are not valid shell variable names.
  515. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  516. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  517. { (exit 1); exit 1; }; }
  518. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  519. eval "$ac_envvar='$ac_optarg'"
  520. export $ac_envvar ;;
  521. *)
  522. # FIXME: should be removed in autoconf 3.0.
  523. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  524. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  525. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  526. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  527. ;;
  528. esac
  529. done
  530. if test -n "$ac_prev"; then
  531. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  532. { echo "$as_me: error: missing argument to $ac_option" >&2
  533. { (exit 1); exit 1; }; }
  534. fi
  535. # Be sure to have absolute paths.
  536. for ac_var in exec_prefix prefix
  537. do
  538. eval ac_val=$`echo $ac_var`
  539. case $ac_val in
  540. [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  541. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  542. { (exit 1); exit 1; }; };;
  543. esac
  544. done
  545. # Be sure to have absolute paths.
  546. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  547. localstatedir libdir includedir oldincludedir infodir mandir
  548. do
  549. eval ac_val=$`echo $ac_var`
  550. case $ac_val in
  551. [\\/$]* | ?:[\\/]* ) ;;
  552. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  553. { (exit 1); exit 1; }; };;
  554. esac
  555. done
  556. # There might be people who depend on the old broken behavior: `$host'
  557. # used to hold the argument of --host etc.
  558. # FIXME: To remove some day.
  559. build=$build_alias
  560. host=$host_alias
  561. target=$target_alias
  562. # FIXME: To remove some day.
  563. if test "x$host_alias" != x; then
  564. if test "x$build_alias" = x; then
  565. cross_compiling=maybe
  566. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  567. If a cross compiler is detected then cross compile mode will be used." >&2
  568. elif test "x$build_alias" != "x$host_alias"; then
  569. cross_compiling=yes
  570. fi
  571. fi
  572. ac_tool_prefix=
  573. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  574. test "$silent" = yes && exec 6>/dev/null
  575. # Find the source files, if location was not specified.
  576. if test -z "$srcdir"; then
  577. ac_srcdir_defaulted=yes
  578. # Try the directory containing this script, then its parent.
  579. ac_confdir=`(dirname "$0") 2>/dev/null ||
  580. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  581. X"$0" : 'X\(//\)[^/]' \| \
  582. X"$0" : 'X\(//\)$' \| \
  583. X"$0" : 'X\(/\)' \| \
  584. . : '\(.\)' 2>/dev/null ||
  585. echo X"$0" |
  586. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  587. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  588. /^X\(\/\/\)$/{ s//\1/; q; }
  589. /^X\(\/\).*/{ s//\1/; q; }
  590. s/.*/./; q'`
  591. srcdir=$ac_confdir
  592. if test ! -r $srcdir/$ac_unique_file; then
  593. srcdir=..
  594. fi
  595. else
  596. ac_srcdir_defaulted=no
  597. fi
  598. if test ! -r $srcdir/$ac_unique_file; then
  599. if test "$ac_srcdir_defaulted" = yes; then
  600. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  601. { (exit 1); exit 1; }; }
  602. else
  603. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  604. { (exit 1); exit 1; }; }
  605. fi
  606. fi
  607. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  608. { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  609. { (exit 1); exit 1; }; }
  610. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  611. ac_env_build_alias_set=${build_alias+set}
  612. ac_env_build_alias_value=$build_alias
  613. ac_cv_env_build_alias_set=${build_alias+set}
  614. ac_cv_env_build_alias_value=$build_alias
  615. ac_env_host_alias_set=${host_alias+set}
  616. ac_env_host_alias_value=$host_alias
  617. ac_cv_env_host_alias_set=${host_alias+set}
  618. ac_cv_env_host_alias_value=$host_alias
  619. ac_env_target_alias_set=${target_alias+set}
  620. ac_env_target_alias_value=$target_alias
  621. ac_cv_env_target_alias_set=${target_alias+set}
  622. ac_cv_env_target_alias_value=$target_alias
  623. #
  624. # Report the --help message.
  625. #
  626. if test "$ac_init_help" = "long"; then
  627. # Omit some internal or obsolete options to make the list less imposing.
  628. # This message is too long to be a string in the A/UX 3.1 sh.
  629. cat <<_ACEOF
  630. \`configure' configures this package to adapt to many kinds of systems.
  631. Usage: $0 [OPTION]... [VAR=VALUE]...
  632. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  633. VAR=VALUE. See below for descriptions of some of the useful variables.
  634. Defaults for the options are specified in brackets.
  635. Configuration:
  636. -h, --help display this help and exit
  637. --help=short display options specific to this package
  638. --help=recursive display the short help of all the included packages
  639. -V, --version display version information and exit
  640. -q, --quiet, --silent do not print \`checking...' messages
  641. --cache-file=FILE cache test results in FILE [disabled]
  642. -C, --config-cache alias for \`--cache-file=config.cache'
  643. -n, --no-create do not create output files
  644. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  645. _ACEOF
  646. cat <<_ACEOF
  647. Installation directories:
  648. --prefix=PREFIX install architecture-independent files in PREFIX
  649. [$ac_default_prefix]
  650. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  651. [PREFIX]
  652. By default, \`make install' will install all the files in
  653. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  654. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  655. for instance \`--prefix=\$HOME'.
  656. For better control, use the options below.
  657. Fine tuning of the installation directories:
  658. --bindir=DIR user executables [EPREFIX/bin]
  659. --sbindir=DIR system admin executables [EPREFIX/sbin]
  660. --libexecdir=DIR program executables [EPREFIX/libexec]
  661. --datadir=DIR read-only architecture-independent data [PREFIX/share]
  662. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  663. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  664. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  665. --libdir=DIR object code libraries [EPREFIX/lib]
  666. --includedir=DIR C header files [PREFIX/include]
  667. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  668. --infodir=DIR info documentation [PREFIX/info]
  669. --mandir=DIR man documentation [PREFIX/man]
  670. _ACEOF
  671. cat <<\_ACEOF
  672. _ACEOF
  673. fi
  674. if test -n "$ac_init_help"; then
  675. cat <<\_ACEOF
  676. Optional Features:
  677. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  678. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  679. --enable-maintainer-mode
  680. enable make rules and dependencies not useful (and
  681. sometimes confusing) to the casual installer
  682. _ACEOF
  683. fi
  684. if test "$ac_init_help" = "recursive"; then
  685. # If there are subdirs, report their specific --help.
  686. ac_popdir=`pwd`
  687. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  688. test -d $ac_dir || continue
  689. ac_builddir=.
  690. if test "$ac_dir" != .; then
  691. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  692. # A "../" for each directory in $ac_dir_suffix.
  693. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  694. else
  695. ac_dir_suffix= ac_top_builddir=
  696. fi
  697. case $srcdir in
  698. .) # No --srcdir option. We are building in place.
  699. ac_srcdir=.
  700. if test -z "$ac_top_builddir"; then
  701. ac_top_srcdir=.
  702. else
  703. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  704. fi ;;
  705. [\\/]* | ?:[\\/]* ) # Absolute path.
  706. ac_srcdir=$srcdir$ac_dir_suffix;
  707. ac_top_srcdir=$srcdir ;;
  708. *) # Relative path.
  709. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  710. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  711. esac
  712. # Do not use `cd foo && pwd` to compute absolute paths, because
  713. # the directories may not exist.
  714. case `pwd` in
  715. .) ac_abs_builddir="$ac_dir";;
  716. *)
  717. case "$ac_dir" in
  718. .) ac_abs_builddir=`pwd`;;
  719. [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  720. *) ac_abs_builddir=`pwd`/"$ac_dir";;
  721. esac;;
  722. esac
  723. case $ac_abs_builddir in
  724. .) ac_abs_top_builddir=${ac_top_builddir}.;;
  725. *)
  726. case ${ac_top_builddir}. in
  727. .) ac_abs_top_builddir=$ac_abs_builddir;;
  728. [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  729. *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  730. esac;;
  731. esac
  732. case $ac_abs_builddir in
  733. .) ac_abs_srcdir=$ac_srcdir;;
  734. *)
  735. case $ac_srcdir in
  736. .) ac_abs_srcdir=$ac_abs_builddir;;
  737. [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  738. *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  739. esac;;
  740. esac
  741. case $ac_abs_builddir in
  742. .) ac_abs_top_srcdir=$ac_top_srcdir;;
  743. *)
  744. case $ac_top_srcdir in
  745. .) ac_abs_top_srcdir=$ac_abs_builddir;;
  746. [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  747. *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  748. esac;;
  749. esac
  750. cd $ac_dir
  751. # Check for guested configure; otherwise get Cygnus style configure.
  752. if test -f $ac_srcdir/configure.gnu; then
  753. echo
  754. $SHELL $ac_srcdir/configure.gnu --help=recursive
  755. elif test -f $ac_srcdir/configure; then
  756. echo
  757. $SHELL $ac_srcdir/configure --help=recursive
  758. elif test -f $ac_srcdir/configure.ac ||
  759. test -f $ac_srcdir/configure.in; then
  760. echo
  761. $ac_configure --help
  762. else
  763. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  764. fi
  765. cd $ac_popdir
  766. done
  767. fi
  768. test -n "$ac_init_help" && exit 0
  769. if $ac_init_version; then
  770. cat <<\_ACEOF
  771. Copyright (C) 2003 Free Software Foundation, Inc.
  772. This configure script is free software; the Free Software Foundation
  773. gives unlimited permission to copy, distribute and modify it.
  774. _ACEOF
  775. exit 0
  776. fi
  777. exec 5>config.log
  778. cat >&5 <<_ACEOF
  779. This file contains any messages produced by compilers while
  780. running configure, to aid debugging if configure makes a mistake.
  781. It was created by $as_me, which was
  782. generated by GNU Autoconf 2.59. Invocation command line was
  783. $ $0 $@
  784. _ACEOF
  785. {
  786. cat <<_ASUNAME
  787. ## --------- ##
  788. ## Platform. ##
  789. ## --------- ##
  790. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  791. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  792. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  793. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  794. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  795. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  796. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  797. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  798. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  799. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  800. hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  801. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  802. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  803. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  804. _ASUNAME
  805. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  806. for as_dir in $PATH
  807. do
  808. IFS=$as_save_IFS
  809. test -z "$as_dir" && as_dir=.
  810. echo "PATH: $as_dir"
  811. done
  812. } >&5
  813. cat >&5 <<_ACEOF
  814. ## ----------- ##
  815. ## Core tests. ##
  816. ## ----------- ##
  817. _ACEOF
  818. # Keep a trace of the command line.
  819. # Strip out --no-create and --no-recursion so they do not pile up.
  820. # Strip out --silent because we don't want to record it for future runs.
  821. # Also quote any args containing shell meta-characters.
  822. # Make two passes to allow for proper duplicate-argument suppression.
  823. ac_configure_args=
  824. ac_configure_args0=
  825. ac_configure_args1=
  826. ac_sep=
  827. ac_must_keep_next=false
  828. for ac_pass in 1 2
  829. do
  830. for ac_arg
  831. do
  832. case $ac_arg in
  833. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  834. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  835. | -silent | --silent | --silen | --sile | --sil)
  836. continue ;;
  837. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  838. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  839. esac
  840. case $ac_pass in
  841. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  842. 2)
  843. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  844. if test $ac_must_keep_next = true; then
  845. ac_must_keep_next=false # Got value, back to normal.
  846. else
  847. case $ac_arg in
  848. *=* | --config-cache | -C | -disable-* | --disable-* \
  849. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  850. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  851. | -with-* | --with-* | -without-* | --without-* | --x)
  852. case "$ac_configure_args0 " in
  853. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  854. esac
  855. ;;
  856. -* ) ac_must_keep_next=true ;;
  857. esac
  858. fi
  859. ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  860. # Get rid of the leading space.
  861. ac_sep=" "
  862. ;;
  863. esac
  864. done
  865. done
  866. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  867. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  868. # When interrupted or exit'd, cleanup temporary files, and complete
  869. # config.log. We remove comments because anyway the quotes in there
  870. # would cause problems or look ugly.
  871. # WARNING: Be sure not to use single quotes in there, as some shells,
  872. # such as our DU 5.0 friend, will then `close' the trap.
  873. trap 'exit_status=$?
  874. # Save into config.log some information that might help in debugging.
  875. {
  876. echo
  877. cat <<\_ASBOX
  878. ## ---------------- ##
  879. ## Cache variables. ##
  880. ## ---------------- ##
  881. _ASBOX
  882. echo
  883. # The following way of writing the cache mishandles newlines in values,
  884. {
  885. (set) 2>&1 |
  886. case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  887. *ac_space=\ *)
  888. sed -n \
  889. "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  890. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  891. ;;
  892. *)
  893. sed -n \
  894. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  895. ;;
  896. esac;
  897. }
  898. echo
  899. cat <<\_ASBOX
  900. ## ----------------- ##
  901. ## Output variables. ##
  902. ## ----------------- ##
  903. _ASBOX
  904. echo
  905. for ac_var in $ac_subst_vars
  906. do
  907. eval ac_val=$`echo $ac_var`
  908. echo "$ac_var='"'"'$ac_val'"'"'"
  909. done | sort
  910. echo
  911. if test -n "$ac_subst_files"; then
  912. cat <<\_ASBOX
  913. ## ------------- ##
  914. ## Output files. ##
  915. ## ------------- ##
  916. _ASBOX
  917. echo
  918. for ac_var in $ac_subst_files
  919. do
  920. eval ac_val=$`echo $ac_var`
  921. echo "$ac_var='"'"'$ac_val'"'"'"
  922. done | sort
  923. echo
  924. fi
  925. if test -s confdefs.h; then
  926. cat <<\_ASBOX
  927. ## ----------- ##
  928. ## confdefs.h. ##
  929. ## ----------- ##
  930. _ASBOX
  931. echo
  932. sed "/^$/d" confdefs.h | sort
  933. echo
  934. fi
  935. test "$ac_signal" != 0 &&
  936. echo "$as_me: caught signal $ac_signal"
  937. echo "$as_me: exit $exit_status"
  938. } >&5
  939. rm -f core *.core &&
  940. rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  941. exit $exit_status
  942. ' 0
  943. for ac_signal in 1 2 13 15; do
  944. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  945. done
  946. ac_signal=0
  947. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  948. rm -rf conftest* confdefs.h
  949. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  950. echo >confdefs.h
  951. # Predefined preprocessor variables.
  952. cat >>confdefs.h <<_ACEOF
  953. #define PACKAGE_NAME "$PACKAGE_NAME"
  954. _ACEOF
  955. cat >>confdefs.h <<_ACEOF
  956. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  957. _ACEOF
  958. cat >>confdefs.h <<_ACEOF
  959. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  960. _ACEOF
  961. cat >>confdefs.h <<_ACEOF
  962. #define PACKAGE_STRING "$PACKAGE_STRING"
  963. _ACEOF
  964. cat >>confdefs.h <<_ACEOF
  965. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  966. _ACEOF
  967. # Let the site file select an alternate cache file if it wants to.
  968. # Prefer explicitly selected file to automatically selected ones.
  969. if test -z "$CONFIG_SITE"; then
  970. if test "x$prefix" != xNONE; then
  971. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  972. else
  973. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  974. fi
  975. fi
  976. for ac_site_file in $CONFIG_SITE; do
  977. if test -r "$ac_site_file"; then
  978. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  979. echo "$as_me: loading site script $ac_site_file" >&6;}
  980. sed 's/^/| /' "$ac_site_file" >&5
  981. . "$ac_site_file"
  982. fi
  983. done
  984. if test -r "$cache_file"; then
  985. # Some versions of bash will fail to source /dev/null (special
  986. # files actually), so we avoid doing that.
  987. if test -f "$cache_file"; then
  988. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  989. echo "$as_me: loading cache $cache_file" >&6;}
  990. case $cache_file in
  991. [\\/]* | ?:[\\/]* ) . $cache_file;;
  992. *) . ./$cache_file;;
  993. esac
  994. fi
  995. else
  996. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  997. echo "$as_me: creating cache $cache_file" >&6;}
  998. >$cache_file
  999. fi
  1000. # Check that the precious variables saved in the cache have kept the same
  1001. # value.
  1002. ac_cache_corrupted=false
  1003. for ac_var in `(set) 2>&1 |
  1004. sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1005. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1006. eval ac_new_set=\$ac_env_${ac_var}_set
  1007. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1008. eval ac_new_val="\$ac_env_${ac_var}_value"
  1009. case $ac_old_set,$ac_new_set in
  1010. set,)
  1011. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1012. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1013. ac_cache_corrupted=: ;;
  1014. ,set)
  1015. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1016. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1017. ac_cache_corrupted=: ;;
  1018. ,);;
  1019. *)
  1020. if test "x$ac_old_val" != "x$ac_new_val"; then
  1021. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1022. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1023. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  1024. echo "$as_me: former value: $ac_old_val" >&2;}
  1025. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  1026. echo "$as_me: current value: $ac_new_val" >&2;}
  1027. ac_cache_corrupted=:
  1028. fi;;
  1029. esac
  1030. # Pass precious variables to config.status.
  1031. if test "$ac_new_set" = set; then
  1032. case $ac_new_val in
  1033. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1034. ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1035. *) ac_arg=$ac_var=$ac_new_val ;;
  1036. esac
  1037. case " $ac_configure_args " in
  1038. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1039. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1040. esac
  1041. fi
  1042. done
  1043. if $ac_cache_corrupted; then
  1044. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1045. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1046. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1047. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1048. { (exit 1); exit 1; }; }
  1049. fi
  1050. ac_ext=c
  1051. ac_cpp='$CPP $CPPFLAGS'
  1052. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1053. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1054. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1055. ac_aux_dir=
  1056. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1057. if test -f $ac_dir/install-sh; then
  1058. ac_aux_dir=$ac_dir
  1059. ac_install_sh="$ac_aux_dir/install-sh -c"
  1060. break
  1061. elif test -f $ac_dir/install.sh; then
  1062. ac_aux_dir=$ac_dir
  1063. ac_install_sh="$ac_aux_dir/install.sh -c"
  1064. break
  1065. elif test -f $ac_dir/shtool; then
  1066. ac_aux_dir=$ac_dir
  1067. ac_install_sh="$ac_aux_dir/shtool install -c"
  1068. break
  1069. fi
  1070. done
  1071. if test -z "$ac_aux_dir"; then
  1072. { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1073. echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1074. { (exit 1); exit 1; }; }
  1075. fi
  1076. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1077. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1078. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1079. # Find a good install program. We prefer a C program (faster),
  1080. # so one script is as good as another. But avoid the broken or
  1081. # incompatible versions:
  1082. # SysV /etc/install, /usr/sbin/install
  1083. # SunOS /usr/etc/install
  1084. # IRIX /sbin/install
  1085. # AIX /bin/install
  1086. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1087. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1088. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1089. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1090. # OS/2's system install, which has a completely different semantic
  1091. # ./install, which can be erroneously created by make from ./install.sh.
  1092. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1093. echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1094. if test -z "$INSTALL"; then
  1095. if test "${ac_cv_path_install+set}" = set; then
  1096. echo $ECHO_N "(cached) $ECHO_C" >&6
  1097. else
  1098. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1099. for as_dir in $PATH
  1100. do
  1101. IFS=$as_save_IFS
  1102. test -z "$as_dir" && as_dir=.
  1103. # Account for people who put trailing slashes in PATH elements.
  1104. case $as_dir/ in
  1105. ./ | .// | /cC/* | \
  1106. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1107. ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1108. /usr/ucb/* ) ;;
  1109. *)
  1110. # OSF1 and SCO ODT 3.0 have their own names for install.
  1111. # Don't use installbsd from OSF since it installs stuff as root
  1112. # by default.
  1113. for ac_prog in ginstall scoinst install; do
  1114. for ac_exec_ext in '' $ac_executable_extensions; do
  1115. if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1116. if test $ac_prog = install &&
  1117. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1118. # AIX install. It has an incompatible calling convention.
  1119. :
  1120. elif test $ac_prog = install &&
  1121. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1122. # program-specific install script used by HP pwplus--don't use.
  1123. :
  1124. else
  1125. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1126. break 3
  1127. fi
  1128. fi
  1129. done
  1130. done
  1131. ;;
  1132. esac
  1133. done
  1134. fi
  1135. if test "${ac_cv_path_install+set}" = set; then
  1136. INSTALL=$ac_cv_path_install
  1137. else
  1138. # As a last resort, use the slow shell script. We don't cache a
  1139. # path for INSTALL within a source directory, because that will
  1140. # break other packages using the cache if that directory is
  1141. # removed, or if the path is relative.
  1142. INSTALL=$ac_install_sh
  1143. fi
  1144. fi
  1145. echo "$as_me:$LINENO: result: $INSTALL" >&5
  1146. echo "${ECHO_T}$INSTALL" >&6
  1147. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1148. # It thinks the first close brace ends the variable substitution.
  1149. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1150. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1151. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1152. # Command-line options.
  1153. # Very limited version of AC_MAINTAINER_MODE.
  1154. # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
  1155. if test "${enable_maintainer_mode+set}" = set; then
  1156. enableval="$enable_maintainer_mode"
  1157. case ${enable_maintainer_mode} in
  1158. yes) MAINT='' ;;
  1159. no) MAINT='#' ;;
  1160. *) { { echo "$as_me:$LINENO: error: --enable-maintainer-mode must be yes or no" >&5
  1161. echo "$as_me: error: --enable-maintainer-mode must be yes or no" >&2;}
  1162. { (exit 1); exit 1; }; } ;;
  1163. esac
  1164. maintainer_mode=${enableval}
  1165. else
  1166. MAINT='#'
  1167. fi;
  1168. ac_config_files="$ac_config_files Makefile"
  1169. cat >confcache <<\_ACEOF
  1170. # This file is a shell script that caches the results of configure
  1171. # tests run on this system so they can be shared between configure
  1172. # scripts and configure runs, see configure's option --config-cache.
  1173. # It is not useful on other systems. If it contains results you don't
  1174. # want to keep, you may remove or edit it.
  1175. #
  1176. # config.status only pays attention to the cache file if you give it
  1177. # the --recheck option to rerun configure.
  1178. #
  1179. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  1180. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  1181. # following values.
  1182. _ACEOF
  1183. # The following way of writing the cache mishandles newlines in values,
  1184. # but we know of no workaround that is simple, portable, and efficient.
  1185. # So, don't put newlines in cache variables' values.
  1186. # Ultrix sh set writes to stderr and can't be redirected directly,
  1187. # and sets the high bit in the cache file unless we assign to the vars.
  1188. {
  1189. (set) 2>&1 |
  1190. case `(ac_space=' '; set | grep ac_space) 2>&1` in
  1191. *ac_space=\ *)
  1192. # `set' does not quote correctly, so add quotes (double-quote
  1193. # substitution turns \\\\ into \\, and sed turns \\ into \).
  1194. sed -n \
  1195. "s/'/'\\\\''/g;
  1196. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  1197. ;;
  1198. *)
  1199. # `set' quotes correctly as required by POSIX, so do not add quotes.
  1200. sed -n \
  1201. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1202. ;;
  1203. esac;
  1204. } |
  1205. sed '
  1206. t clear
  1207. : clear
  1208. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  1209. t end
  1210. /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  1211. : end' >>confcache
  1212. if diff $cache_file confcache >/dev/null 2>&1; then :; else
  1213. if test -w $cache_file; then
  1214. test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  1215. cat confcache >$cache_file
  1216. else
  1217. echo "not updating unwritable cache $cache_file"
  1218. fi
  1219. fi
  1220. rm -f confcache
  1221. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1222. # Let make expand exec_prefix.
  1223. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1224. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  1225. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  1226. # trailing colons and then remove the whole line if VPATH becomes empty
  1227. # (actually we leave an empty line to preserve line numbers).
  1228. if test "x$srcdir" = x.; then
  1229. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  1230. s/:*\$(srcdir):*/:/;
  1231. s/:*\${srcdir}:*/:/;
  1232. s/:*@srcdir@:*/:/;
  1233. s/^\([^=]*=[ ]*\):*/\1/;
  1234. s/:*$//;
  1235. s/^[^=]*=[ ]*$//;
  1236. }'
  1237. fi
  1238. # Transform confdefs.h into DEFS.
  1239. # Protect against shell expansion while executing Makefile rules.
  1240. # Protect against Makefile macro expansion.
  1241. #
  1242. # If the first sed substitution is executed (which looks for macros that
  1243. # take arguments), then we branch to the quote section. Otherwise,
  1244. # look for a macro that doesn't take arguments.
  1245. cat >confdef2opt.sed <<\_ACEOF
  1246. t clear
  1247. : clear
  1248. s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
  1249. t quote
  1250. s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
  1251. t quote
  1252. d
  1253. : quote
  1254. s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
  1255. s,\[,\\&,g
  1256. s,\],\\&,g
  1257. s,\$,$$,g
  1258. p
  1259. _ACEOF
  1260. # We use echo to avoid assuming a particular line-breaking character.
  1261. # The extra dot is to prevent the shell from consuming trailing
  1262. # line-breaks from the sub-command output. A line-break within
  1263. # single-quotes doesn't work because, if this script is created in a
  1264. # platform that uses two characters for line-breaks (e.g., DOS), tr
  1265. # would break.
  1266. ac_LF_and_DOT=`echo; echo .`
  1267. DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
  1268. rm -f confdef2opt.sed
  1269. ac_libobjs=
  1270. ac_ltlibobjs=
  1271. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  1272. # 1. Remove the extension, and $U if already installed.
  1273. ac_i=`echo "$ac_i" |
  1274. sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  1275. # 2. Add them.
  1276. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  1277. ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  1278. done
  1279. LIBOBJS=$ac_libobjs
  1280. LTLIBOBJS=$ac_ltlibobjs
  1281. : ${CONFIG_STATUS=./config.status}
  1282. ac_clean_files_save=$ac_clean_files
  1283. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  1284. { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  1285. echo "$as_me: creating $CONFIG_STATUS" >&6;}
  1286. cat >$CONFIG_STATUS <<_ACEOF
  1287. #! $SHELL
  1288. # Generated by $as_me.
  1289. # Run this file to recreate the current configuration.
  1290. # Compiler output produced by configure, useful for debugging
  1291. # configure, is in config.log if it exists.
  1292. debug=false
  1293. ac_cs_recheck=false
  1294. ac_cs_silent=false
  1295. SHELL=\${CONFIG_SHELL-$SHELL}
  1296. _ACEOF
  1297. cat >>$CONFIG_STATUS <<\_ACEOF
  1298. ## --------------------- ##
  1299. ## M4sh Initialization. ##
  1300. ## --------------------- ##
  1301. # Be Bourne compatible
  1302. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  1303. emulate sh
  1304. NULLCMD=:
  1305. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  1306. # is contrary to our usage. Disable this feature.
  1307. alias -g '${1+"$@"}'='"$@"'
  1308. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  1309. set -o posix
  1310. fi
  1311. DUALCASE=1; export DUALCASE # for MKS sh
  1312. # Support unset when possible.
  1313. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  1314. as_unset=unset
  1315. else
  1316. as_unset=false
  1317. fi
  1318. # Work around bugs in pre-3.0 UWIN ksh.
  1319. $as_unset ENV MAIL MAILPATH
  1320. PS1='$ '
  1321. PS2='> '
  1322. PS4='+ '
  1323. # NLS nuisances.
  1324. for as_var in \
  1325. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  1326. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  1327. LC_TELEPHONE LC_TIME
  1328. do
  1329. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  1330. eval $as_var=C; export $as_var
  1331. else
  1332. $as_unset $as_var
  1333. fi
  1334. done
  1335. # Required to use basename.
  1336. if expr a : '\(a\)' >/dev/null 2>&1; then
  1337. as_expr=expr
  1338. else
  1339. as_expr=false
  1340. fi
  1341. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  1342. as_basename=basename
  1343. else
  1344. as_basename=false
  1345. fi
  1346. # Name of the executable.
  1347. as_me=`$as_basename "$0" ||
  1348. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  1349. X"$0" : 'X\(//\)$' \| \
  1350. X"$0" : 'X\(/\)$' \| \
  1351. . : '\(.\)' 2>/dev/null ||
  1352. echo X/"$0" |
  1353. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  1354. /^X\/\(\/\/\)$/{ s//\1/; q; }
  1355. /^X\/\(\/\).*/{ s//\1/; q; }
  1356. s/.*/./; q'`
  1357. # PATH needs CR, and LINENO needs CR and PATH.
  1358. # Avoid depending upon Character Ranges.
  1359. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  1360. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  1361. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  1362. as_cr_digits='0123456789'
  1363. as_cr_alnum=$as_cr_Letters$as_cr_digits
  1364. # The user is always right.
  1365. if test "${PATH_SEPARATOR+set}" != set; then
  1366. echo "#! /bin/sh" >conf$$.sh
  1367. echo "exit 0" >>conf$$.sh
  1368. chmod +x conf$$.sh
  1369. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  1370. PATH_SEPARATOR=';'
  1371. else
  1372. PATH_SEPARATOR=:
  1373. fi
  1374. rm -f conf$$.sh
  1375. fi
  1376. as_lineno_1=$LINENO
  1377. as_lineno_2=$LINENO
  1378. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  1379. test "x$as_lineno_1" != "x$as_lineno_2" &&
  1380. test "x$as_lineno_3" = "x$as_lineno_2" || {
  1381. # Find who we are. Look in the path if we contain no path at all
  1382. # relative or not.
  1383. case $0 in
  1384. *[\\/]* ) as_myself=$0 ;;
  1385. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1386. for as_dir in $PATH
  1387. do
  1388. IFS=$as_save_IFS
  1389. test -z "$as_dir" && as_dir=.
  1390. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  1391. done
  1392. ;;
  1393. esac
  1394. # We did not find ourselves, most probably we were run as `sh COMMAND'
  1395. # in which case we are not to be found in the path.
  1396. if test "x$as_myself" = x; then
  1397. as_myself=$0
  1398. fi
  1399. if test ! -f "$as_myself"; then
  1400. { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  1401. echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  1402. { (exit 1); exit 1; }; }
  1403. fi
  1404. case $CONFIG_SHELL in
  1405. '')
  1406. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1407. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  1408. do
  1409. IFS=$as_save_IFS
  1410. test -z "$as_dir" && as_dir=.
  1411. for as_base in sh bash ksh sh5; do
  1412. case $as_dir in
  1413. /*)
  1414. if ("$as_dir/$as_base" -c '
  1415. as_lineno_1=$LINENO
  1416. as_lineno_2=$LINENO
  1417. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  1418. test "x$as_lineno_1" != "x$as_lineno_2" &&
  1419. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  1420. $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  1421. $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  1422. CONFIG_SHELL=$as_dir/$as_base
  1423. export CONFIG_SHELL
  1424. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  1425. fi;;
  1426. esac
  1427. done
  1428. done
  1429. ;;
  1430. esac
  1431. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  1432. # uniformly replaced by the line number. The first 'sed' inserts a
  1433. # line-number line before each line; the second 'sed' does the real
  1434. # work. The second script uses 'N' to pair each line-number line
  1435. # with the numbered line, and appends trailing '-' during
  1436. # substitution so that $LINENO is not a special case at line end.
  1437. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  1438. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  1439. sed '=' <$as_myself |
  1440. sed '
  1441. N
  1442. s,$,-,
  1443. : loop
  1444. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  1445. t loop
  1446. s,-$,,
  1447. s,^['$as_cr_digits']*\n,,
  1448. ' >$as_me.lineno &&
  1449. chmod +x $as_me.lineno ||
  1450. { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  1451. echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  1452. { (exit 1); exit 1; }; }
  1453. # Don't try to exec as it changes $[0], causing all sort of problems
  1454. # (the dirname of $[0] is not the place where we might find the
  1455. # original and so on. Autoconf is especially sensible to this).
  1456. . ./$as_me.lineno
  1457. # Exit status is that of the last command.
  1458. exit
  1459. }
  1460. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  1461. *c*,-n*) ECHO_N= ECHO_C='
  1462. ' ECHO_T=' ' ;;
  1463. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  1464. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  1465. esac
  1466. if expr a : '\(a\)' >/dev/null 2>&1; then
  1467. as_expr=expr
  1468. else
  1469. as_expr=false
  1470. fi
  1471. rm -f conf$$ conf$$.exe conf$$.file
  1472. echo >conf$$.file
  1473. if ln -s conf$$.file conf$$ 2>/dev/null; then
  1474. # We could just check for DJGPP; but this test a) works b) is more generic
  1475. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  1476. if test -f conf$$.exe; then
  1477. # Don't use ln at all; we don't have any links
  1478. as_ln_s='cp -p'
  1479. else
  1480. as_ln_s='ln -s'
  1481. fi
  1482. elif ln conf$$.file conf$$ 2>/dev/null; then
  1483. as_ln_s=ln
  1484. else
  1485. as_ln_s='cp -p'
  1486. fi
  1487. rm -f conf$$ conf$$.exe conf$$.file
  1488. if mkdir -p . 2>/dev/null; then
  1489. as_mkdir_p=:
  1490. else
  1491. test -d ./-p && rmdir ./-p
  1492. as_mkdir_p=false
  1493. fi
  1494. as_executable_p="test -f"
  1495. # Sed expression to map a string onto a valid CPP name.
  1496. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  1497. # Sed expression to map a string onto a valid variable name.
  1498. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  1499. # IFS
  1500. # We need space, tab and new line, in precisely that order.
  1501. as_nl='
  1502. '
  1503. IFS=" $as_nl"
  1504. # CDPATH.
  1505. $as_unset CDPATH
  1506. exec 6>&1
  1507. # Open the log real soon, to keep \$[0] and so on meaningful, and to
  1508. # report actual input values of CONFIG_FILES etc. instead of their
  1509. # values after options handling. Logging --version etc. is OK.
  1510. exec 5>>config.log
  1511. {
  1512. echo
  1513. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  1514. ## Running $as_me. ##
  1515. _ASBOX
  1516. } >&5
  1517. cat >&5 <<_CSEOF
  1518. This file was extended by $as_me, which was
  1519. generated by GNU Autoconf 2.59. Invocation command line was
  1520. CONFIG_FILES = $CONFIG_FILES
  1521. CONFIG_HEADERS = $CONFIG_HEADERS
  1522. CONFIG_LINKS = $CONFIG_LINKS
  1523. CONFIG_COMMANDS = $CONFIG_COMMANDS
  1524. $ $0 $@
  1525. _CSEOF
  1526. echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  1527. echo >&5
  1528. _ACEOF
  1529. # Files that config.status was made for.
  1530. if test -n "$ac_config_files"; then
  1531. echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  1532. fi
  1533. if test -n "$ac_config_headers"; then
  1534. echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  1535. fi
  1536. if test -n "$ac_config_links"; then
  1537. echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  1538. fi
  1539. if test -n "$ac_config_commands"; then
  1540. echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  1541. fi
  1542. cat >>$CONFIG_STATUS <<\_ACEOF
  1543. ac_cs_usage="\
  1544. \`$as_me' instantiates files from templates according to the
  1545. current configuration.
  1546. Usage: $0 [OPTIONS] [FILE]...
  1547. -h, --help print this help, then exit
  1548. -V, --version print version number, then exit
  1549. -q, --quiet do not print progress messages
  1550. -d, --debug don't remove temporary files
  1551. --recheck update $as_me by reconfiguring in the same conditions
  1552. --file=FILE[:TEMPLATE]
  1553. instantiate the configuration file FILE
  1554. Configuration files:
  1555. $config_files
  1556. Report bugs to <bug-autoconf@gnu.org>."
  1557. _ACEOF
  1558. cat >>$CONFIG_STATUS <<_ACEOF
  1559. ac_cs_version="\\
  1560. config.status
  1561. configured by $0, generated by GNU Autoconf 2.59,
  1562. with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  1563. Copyright (C) 2003 Free Software Foundation, Inc.
  1564. This config.status script is free software; the Free Software Foundation
  1565. gives unlimited permission to copy, distribute and modify it."
  1566. srcdir=$srcdir
  1567. INSTALL="$INSTALL"
  1568. _ACEOF
  1569. cat >>$CONFIG_STATUS <<\_ACEOF
  1570. # If no file are specified by the user, then we need to provide default
  1571. # value. By we need to know if files were specified by the user.
  1572. ac_need_defaults=:
  1573. while test $# != 0
  1574. do
  1575. case $1 in
  1576. --*=*)
  1577. ac_option=`expr "x$1" : 'x\([^=]*\)='`
  1578. ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  1579. ac_shift=:
  1580. ;;
  1581. -*)
  1582. ac_option=$1
  1583. ac_optarg=$2
  1584. ac_shift=shift
  1585. ;;
  1586. *) # This is not an option, so the user has probably given explicit
  1587. # arguments.
  1588. ac_option=$1
  1589. ac_need_defaults=false;;
  1590. esac
  1591. case $ac_option in
  1592. # Handling of the options.
  1593. _ACEOF
  1594. cat >>$CONFIG_STATUS <<\_ACEOF
  1595. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1596. ac_cs_recheck=: ;;
  1597. --version | --vers* | -V )
  1598. echo "$ac_cs_version"; exit 0 ;;
  1599. --he | --h)
  1600. # Conflict between --help and --header
  1601. { { echo "$as_me:$LINENO: error: ambiguous option: $1
  1602. Try \`$0 --help' for more information." >&5
  1603. echo "$as_me: error: ambiguous option: $1
  1604. Try \`$0 --help' for more information." >&2;}
  1605. { (exit 1); exit 1; }; };;
  1606. --help | --hel | -h )
  1607. echo "$ac_cs_usage"; exit 0 ;;
  1608. --debug | --d* | -d )
  1609. debug=: ;;
  1610. --file | --fil | --fi | --f )
  1611. $ac_shift
  1612. CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  1613. ac_need_defaults=false;;
  1614. --header | --heade | --head | --hea )
  1615. $ac_shift
  1616. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  1617. ac_need_defaults=false;;
  1618. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1619. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  1620. ac_cs_silent=: ;;
  1621. # This is an error.
  1622. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  1623. Try \`$0 --help' for more information." >&5
  1624. echo "$as_me: error: unrecognized option: $1
  1625. Try \`$0 --help' for more information." >&2;}
  1626. { (exit 1); exit 1; }; } ;;
  1627. *) ac_config_targets="$ac_config_targets $1" ;;
  1628. esac
  1629. shift
  1630. done
  1631. ac_configure_extra_args=
  1632. if $ac_cs_silent; then
  1633. exec 6>/dev/null
  1634. ac_configure_extra_args="$ac_configure_extra_args --silent"
  1635. fi
  1636. _ACEOF
  1637. cat >>$CONFIG_STATUS <<_ACEOF
  1638. if \$ac_cs_recheck; then
  1639. echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  1640. exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  1641. fi
  1642. _ACEOF
  1643. cat >>$CONFIG_STATUS <<\_ACEOF
  1644. for ac_config_target in $ac_config_targets
  1645. do
  1646. case "$ac_config_target" in
  1647. # Handling of arguments.
  1648. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  1649. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  1650. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  1651. { (exit 1); exit 1; }; };;
  1652. esac
  1653. done
  1654. # If the user did not use the arguments to specify the items to instantiate,
  1655. # then the envvar interface is used. Set only those that are not.
  1656. # We use the long form for the default assignment because of an extremely
  1657. # bizarre bug on SunOS 4.1.3.
  1658. if $ac_need_defaults; then
  1659. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  1660. fi
  1661. # Have a temporary directory for convenience. Make it in the build tree
  1662. # simply because there is no reason to put it here, and in addition,
  1663. # creating and moving files from /tmp can sometimes cause problems.
  1664. # Create a temporary directory, and hook for its removal unless debugging.
  1665. $debug ||
  1666. {
  1667. trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  1668. trap '{ (exit 1); exit 1; }' 1 2 13 15
  1669. }
  1670. # Create a (secure) tmp directory for tmp files.
  1671. {
  1672. tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  1673. test -n "$tmp" && test -d "$tmp"
  1674. } ||
  1675. {
  1676. tmp=./confstat$$-$RANDOM
  1677. (umask 077 && mkdir $tmp)
  1678. } ||
  1679. {
  1680. echo "$me: cannot create a temporary directory in ." >&2
  1681. { (exit 1); exit 1; }
  1682. }
  1683. _ACEOF
  1684. cat >>$CONFIG_STATUS <<_ACEOF
  1685. #
  1686. # CONFIG_FILES section.
  1687. #
  1688. # No need to generate the scripts if there are no CONFIG_FILES.
  1689. # This happens for instance when ./config.status config.h
  1690. if test -n "\$CONFIG_FILES"; then
  1691. # Protect against being on the right side of a sed subst in config.status.
  1692. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  1693. s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  1694. s,@SHELL@,$SHELL,;t t
  1695. s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  1696. s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  1697. s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  1698. s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  1699. s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  1700. s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  1701. s,@exec_prefix@,$exec_prefix,;t t
  1702. s,@prefix@,$prefix,;t t
  1703. s,@program_transform_name@,$program_transform_name,;t t
  1704. s,@bindir@,$bindir,;t t
  1705. s,@sbindir@,$sbindir,;t t
  1706. s,@libexecdir@,$libexecdir,;t t
  1707. s,@datadir@,$datadir,;t t
  1708. s,@sysconfdir@,$sysconfdir,;t t
  1709. s,@sharedstatedir@,$sharedstatedir,;t t
  1710. s,@localstatedir@,$localstatedir,;t t
  1711. s,@libdir@,$libdir,;t t
  1712. s,@includedir@,$includedir,;t t
  1713. s,@oldincludedir@,$oldincludedir,;t t
  1714. s,@infodir@,$infodir,;t t
  1715. s,@mandir@,$mandir,;t t
  1716. s,@build_alias@,$build_alias,;t t
  1717. s,@host_alias@,$host_alias,;t t
  1718. s,@target_alias@,$target_alias,;t t
  1719. s,@DEFS@,$DEFS,;t t
  1720. s,@ECHO_C@,$ECHO_C,;t t
  1721. s,@ECHO_N@,$ECHO_N,;t t
  1722. s,@ECHO_T@,$ECHO_T,;t t
  1723. s,@LIBS@,$LIBS,;t t
  1724. s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
  1725. s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
  1726. s,@INSTALL_DATA@,$INSTALL_DATA,;t t
  1727. s,@MAINT@,$MAINT,;t t
  1728. s,@datarootdir@,$datarootdir,;t t
  1729. s,@docdir@,$docdir,;t t
  1730. s,@htmldir@,$htmldir,;t t
  1731. s,@pdfdir@,$pdfdir,;t t
  1732. s,@LIBOBJS@,$LIBOBJS,;t t
  1733. s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  1734. CEOF
  1735. _ACEOF
  1736. cat >>$CONFIG_STATUS <<\_ACEOF
  1737. # Split the substitutions into bite-sized pieces for seds with
  1738. # small command number limits, like on Digital OSF/1 and HP-UX.
  1739. ac_max_sed_lines=48
  1740. ac_sed_frag=1 # Number of current file.
  1741. ac_beg=1 # First line for current file.
  1742. ac_end=$ac_max_sed_lines # Line after last line for current file.
  1743. ac_more_lines=:
  1744. ac_sed_cmds=
  1745. while $ac_more_lines; do
  1746. if test $ac_beg -gt 1; then
  1747. sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  1748. else
  1749. sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  1750. fi
  1751. if test ! -s $tmp/subs.frag; then
  1752. ac_more_lines=false
  1753. else
  1754. # The purpose of the label and of the branching condition is to
  1755. # speed up the sed processing (if there are no `@' at all, there
  1756. # is no need to browse any of the substitutions).
  1757. # These are the two extra sed commands mentioned above.
  1758. (echo ':t
  1759. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  1760. if test -z "$ac_sed_cmds"; then
  1761. ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  1762. else
  1763. ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  1764. fi
  1765. ac_sed_frag=`expr $ac_sed_frag + 1`
  1766. ac_beg=$ac_end
  1767. ac_end=`expr $ac_end + $ac_max_sed_lines`
  1768. fi
  1769. done
  1770. if test -z "$ac_sed_cmds"; then
  1771. ac_sed_cmds=cat
  1772. fi
  1773. fi # test -n "$CONFIG_FILES"
  1774. _ACEOF
  1775. cat >>$CONFIG_STATUS <<\_ACEOF
  1776. for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  1777. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  1778. case $ac_file in
  1779. - | *:- | *:-:* ) # input from stdin
  1780. cat >$tmp/stdin
  1781. ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  1782. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  1783. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  1784. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  1785. * ) ac_file_in=$ac_file.in ;;
  1786. esac
  1787. # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  1788. ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  1789. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1790. X"$ac_file" : 'X\(//\)[^/]' \| \
  1791. X"$ac_file" : 'X\(//\)$' \| \
  1792. X"$ac_file" : 'X\(/\)' \| \
  1793. . : '\(.\)' 2>/dev/null ||
  1794. echo X"$ac_file" |
  1795. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  1796. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  1797. /^X\(\/\/\)$/{ s//\1/; q; }
  1798. /^X\(\/\).*/{ s//\1/; q; }
  1799. s/.*/./; q'`
  1800. { if $as_mkdir_p; then
  1801. mkdir -p "$ac_dir"
  1802. else
  1803. as_dir="$ac_dir"
  1804. as_dirs=
  1805. while test ! -d "$as_dir"; do
  1806. as_dirs="$as_dir $as_dirs"
  1807. as_dir=`(dirname "$as_dir") 2>/dev/null ||
  1808. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1809. X"$as_dir" : 'X\(//\)[^/]' \| \
  1810. X"$as_dir" : 'X\(//\)$' \| \
  1811. X"$as_dir" : 'X\(/\)' \| \
  1812. . : '\(.\)' 2>/dev/null ||
  1813. echo X"$as_dir" |
  1814. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  1815. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  1816. /^X\(\/\/\)$/{ s//\1/; q; }
  1817. /^X\(\/\).*/{ s//\1/; q; }
  1818. s/.*/./; q'`
  1819. done
  1820. test ! -n "$as_dirs" || mkdir $as_dirs
  1821. fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  1822. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  1823. { (exit 1); exit 1; }; }; }
  1824. ac_builddir=.
  1825. if test "$ac_dir" != .; then
  1826. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1827. # A "../" for each directory in $ac_dir_suffix.
  1828. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  1829. else
  1830. ac_dir_suffix= ac_top_builddir=
  1831. fi
  1832. case $srcdir in
  1833. .) # No --srcdir option. We are building in place.
  1834. ac_srcdir=.
  1835. if test -z "$ac_top_builddir"; then
  1836. ac_top_srcdir=.
  1837. else
  1838. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  1839. fi ;;
  1840. [\\/]* | ?:[\\/]* ) # Absolute path.
  1841. ac_srcdir=$srcdir$ac_dir_suffix;
  1842. ac_top_srcdir=$srcdir ;;
  1843. *) # Relative path.
  1844. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  1845. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  1846. esac
  1847. # Do not use `cd foo && pwd` to compute absolute paths, because
  1848. # the directories may not exist.
  1849. case `pwd` in
  1850. .) ac_abs_builddir="$ac_dir";;
  1851. *)
  1852. case "$ac_dir" in
  1853. .) ac_abs_builddir=`pwd`;;
  1854. [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  1855. *) ac_abs_builddir=`pwd`/"$ac_dir";;
  1856. esac;;
  1857. esac
  1858. case $ac_abs_builddir in
  1859. .) ac_abs_top_builddir=${ac_top_builddir}.;;
  1860. *)
  1861. case ${ac_top_builddir}. in
  1862. .) ac_abs_top_builddir=$ac_abs_builddir;;
  1863. [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1864. *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1865. esac;;
  1866. esac
  1867. case $ac_abs_builddir in
  1868. .) ac_abs_srcdir=$ac_srcdir;;
  1869. *)
  1870. case $ac_srcdir in
  1871. .) ac_abs_srcdir=$ac_abs_builddir;;
  1872. [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1873. *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1874. esac;;
  1875. esac
  1876. case $ac_abs_builddir in
  1877. .) ac_abs_top_srcdir=$ac_top_srcdir;;
  1878. *)
  1879. case $ac_top_srcdir in
  1880. .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1881. [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1882. *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1883. esac;;
  1884. esac
  1885. case $INSTALL in
  1886. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  1887. *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  1888. esac
  1889. if test x"$ac_file" != x-; then
  1890. { echo "$as_me:$LINENO: creating $ac_file" >&5
  1891. echo "$as_me: creating $ac_file" >&6;}
  1892. rm -f "$ac_file"
  1893. fi
  1894. # Let's still pretend it is `configure' which instantiates (i.e., don't
  1895. # use $as_me), people would be surprised to read:
  1896. # /* config.h. Generated by config.status. */
  1897. if test x"$ac_file" = x-; then
  1898. configure_input=
  1899. else
  1900. configure_input="$ac_file. "
  1901. fi
  1902. configure_input=$configure_input"Generated from `echo $ac_file_in |
  1903. sed 's,.*/,,'` by configure."
  1904. # First look for the input files in the build tree, otherwise in the
  1905. # src tree.
  1906. ac_file_inputs=`IFS=:
  1907. for f in $ac_file_in; do
  1908. case $f in
  1909. -) echo $tmp/stdin ;;
  1910. [\\/$]*)
  1911. # Absolute (can't be DOS-style, as IFS=:)
  1912. test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  1913. echo "$as_me: error: cannot find input file: $f" >&2;}
  1914. { (exit 1); exit 1; }; }
  1915. echo "$f";;
  1916. *) # Relative
  1917. if test -f "$f"; then
  1918. # Build tree
  1919. echo "$f"
  1920. elif test -f "$srcdir/$f"; then
  1921. # Source tree
  1922. echo "$srcdir/$f"
  1923. else
  1924. # /dev/null tree
  1925. { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  1926. echo "$as_me: error: cannot find input file: $f" >&2;}
  1927. { (exit 1); exit 1; }; }
  1928. fi;;
  1929. esac
  1930. done` || { (exit 1); exit 1; }
  1931. _ACEOF
  1932. cat >>$CONFIG_STATUS <<_ACEOF
  1933. sed "$ac_vpsub
  1934. $extrasub
  1935. _ACEOF
  1936. cat >>$CONFIG_STATUS <<\_ACEOF
  1937. :t
  1938. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1939. s,@configure_input@,$configure_input,;t t
  1940. s,@srcdir@,$ac_srcdir,;t t
  1941. s,@abs_srcdir@,$ac_abs_srcdir,;t t
  1942. s,@top_srcdir@,$ac_top_srcdir,;t t
  1943. s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  1944. s,@builddir@,$ac_builddir,;t t
  1945. s,@abs_builddir@,$ac_abs_builddir,;t t
  1946. s,@top_builddir@,$ac_top_builddir,;t t
  1947. s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  1948. s,@INSTALL@,$ac_INSTALL,;t t
  1949. " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  1950. rm -f $tmp/stdin
  1951. if test x"$ac_file" != x-; then
  1952. mv $tmp/out $ac_file
  1953. else
  1954. cat $tmp/out
  1955. rm -f $tmp/out
  1956. fi
  1957. done
  1958. _ACEOF
  1959. cat >>$CONFIG_STATUS <<\_ACEOF
  1960. { (exit 0); exit 0; }
  1961. _ACEOF
  1962. chmod +x $CONFIG_STATUS
  1963. ac_clean_files=$ac_clean_files_save
  1964. # configure is writing to config.log, and then calls config.status.
  1965. # config.status does its own redirection, appending to config.log.
  1966. # Unfortunately, on DOS this fails, as config.log is still kept open
  1967. # by configure, so config.status won't be able to write to it; its
  1968. # output is simply discarded. So we exec the FD to /dev/null,
  1969. # effectively closing config.log, so it can be properly (re)opened and
  1970. # appended to by config.status. When coming back to configure, we
  1971. # need to make the FD available again.
  1972. if test "$no_create" != yes; then
  1973. ac_cs_success=:
  1974. ac_config_status_args=
  1975. test "$silent" = yes &&
  1976. ac_config_status_args="$ac_config_status_args --quiet"
  1977. exec 5>/dev/null
  1978. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  1979. exec 5>>config.log
  1980. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  1981. # would make configure fail if this is the last instruction.
  1982. $ac_cs_success || { (exit 1); exit 1; }
  1983. fi