2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
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 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file="barcode.h"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP GETOPT_O NO_GETOPT NO_LIBPAPER LIBPAPER NO_STRERROR GMAKEDEPEND0 GMAKEDEPEND1 GMAKEDEPEND2 LIBOBJS LTLIBOBJS MAKEINFO REMOVEHTMLTAGS INFOTOHTML'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CC_set=${CC+set}
754 ac_cv_env_CC_set=${CC+set}
755 ac_cv_env_CC_value=$CC
756 ac_env_CFLAGS_set=${CFLAGS+set}
757 ac_env_CFLAGS_value=$CFLAGS
758 ac_cv_env_CFLAGS_set=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value=$CFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_CPP_set=${CPP+set}
769 ac_env_CPP_value=$CPP
770 ac_cv_env_CPP_set=${CPP+set}
771 ac_cv_env_CPP_value=$CPP
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures this package to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
835 if test -n "$ac_init_help"; then
839 Some influential environment variables:
840 CC C compiler command
841 CFLAGS C compiler flags
842 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
843 nonstandard directory <lib dir>
844 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
845 headers in a nonstandard directory <include dir>
848 Use these variables to override the choices made by `configure' or to help
849 it to find libraries and programs with nonstandard names/locations.
854 if test "$ac_init_help" = "recursive"; then
855 # If there are subdirs, report their specific --help.
857 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
858 test -d $ac_dir || continue
861 if test "$ac_dir" != .; then
862 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
863 # A "../" for each directory in $ac_dir_suffix.
864 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
866 ac_dir_suffix= ac_top_builddir=
870 .) # No --srcdir option. We are building in place.
872 if test -z "$ac_top_builddir"; then
875 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
877 [\\/]* | ?:[\\/]* ) # Absolute path.
878 ac_srcdir=$srcdir$ac_dir_suffix;
879 ac_top_srcdir=$srcdir ;;
881 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
882 ac_top_srcdir=$ac_top_builddir$srcdir ;;
884 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
886 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
887 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
888 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
889 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
892 # Check for guested configure; otherwise get Cygnus style configure.
893 if test -f $ac_srcdir/configure.gnu; then
895 $SHELL $ac_srcdir/configure.gnu --help=recursive
896 elif test -f $ac_srcdir/configure; then
898 $SHELL $ac_srcdir/configure --help=recursive
899 elif test -f $ac_srcdir/configure.ac ||
900 test -f $ac_srcdir/configure.in; then
904 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
910 test -n "$ac_init_help" && exit 0
911 if $ac_init_version; then
914 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
915 Free Software Foundation, Inc.
916 This configure script is free software; the Free Software Foundation
917 gives unlimited permission to copy, distribute and modify it.
923 This file contains any messages produced by compilers while
924 running configure, to aid debugging if configure makes a mistake.
926 It was created by $as_me, which was
927 generated by GNU Autoconf 2.57. Invocation command line was
938 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
939 uname -m = `(uname -m) 2>/dev/null || echo unknown`
940 uname -r = `(uname -r) 2>/dev/null || echo unknown`
941 uname -s = `(uname -s) 2>/dev/null || echo unknown`
942 uname -v = `(uname -v) 2>/dev/null || echo unknown`
944 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
945 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
947 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
948 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
949 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
950 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
951 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
952 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
953 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
961 test -z "$as_dir" && as_dir=.
977 # Keep a trace of the command line.
978 # Strip out --no-create and --no-recursion so they do not pile up.
979 # Strip out --silent because we don't want to record it for future runs.
980 # Also quote any args containing shell meta-characters.
981 # Make two passes to allow for proper duplicate-argument suppression.
986 ac_must_keep_next=false
992 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
994 | -silent | --silent | --silen | --sile | --sil)
996 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
997 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1000 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1002 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1003 if test $ac_must_keep_next = true; then
1004 ac_must_keep_next=false # Got value, back to normal.
1007 *=* | --config-cache | -C | -disable-* | --disable-* \
1008 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1009 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1010 | -with-* | --with-* | -without-* | --without-* | --x)
1011 case "$ac_configure_args0 " in
1012 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1015 -* ) ac_must_keep_next=true ;;
1018 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1019 # Get rid of the leading space.
1025 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1026 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1028 # When interrupted or exit'd, cleanup temporary files, and complete
1029 # config.log. We remove comments because anyway the quotes in there
1030 # would cause problems or look ugly.
1031 # WARNING: Be sure not to use single quotes in there, as some shells,
1032 # such as our DU 5.0 friend, will then `close' the trap.
1033 trap 'exit_status=$?
1034 # Save into config.log some information that might help in debugging.
1039 ## ---------------- ##
1040 ## Cache variables. ##
1041 ## ---------------- ##
1044 # The following way of writing the cache mishandles newlines in values,
1047 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1050 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1055 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1062 ## ----------------- ##
1063 ## Output variables. ##
1064 ## ----------------- ##
1067 for ac_var in $ac_subst_vars
1069 eval ac_val=$`echo $ac_var`
1070 echo "$ac_var='"'"'$ac_val'"'"'"
1074 if test -n "$ac_subst_files"; then
1081 for ac_var in $ac_subst_files
1083 eval ac_val=$`echo $ac_var`
1084 echo "$ac_var='"'"'$ac_val'"'"'"
1089 if test -s confdefs.h; then
1096 sed "/^$/d" confdefs.h | sort
1099 test "$ac_signal" != 0 &&
1100 echo "$as_me: caught signal $ac_signal"
1101 echo "$as_me: exit $exit_status"
1103 rm -f core core.* *.core &&
1104 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1107 for ac_signal in 1 2 13 15; do
1108 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1112 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1113 rm -rf conftest* confdefs.h
1114 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1117 # Predefined preprocessor variables.
1119 cat >>confdefs.h <<_ACEOF
1120 #define PACKAGE_NAME "$PACKAGE_NAME"
1124 cat >>confdefs.h <<_ACEOF
1125 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1129 cat >>confdefs.h <<_ACEOF
1130 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1134 cat >>confdefs.h <<_ACEOF
1135 #define PACKAGE_STRING "$PACKAGE_STRING"
1139 cat >>confdefs.h <<_ACEOF
1140 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1144 # Let the site file select an alternate cache file if it wants to.
1145 # Prefer explicitly selected file to automatically selected ones.
1146 if test -z "$CONFIG_SITE"; then
1147 if test "x$prefix" != xNONE; then
1148 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1150 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1153 for ac_site_file in $CONFIG_SITE; do
1154 if test -r "$ac_site_file"; then
1155 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1156 echo "$as_me: loading site script $ac_site_file" >&6;}
1157 sed 's/^/| /' "$ac_site_file" >&5
1162 if test -r "$cache_file"; then
1163 # Some versions of bash will fail to source /dev/null (special
1164 # files actually), so we avoid doing that.
1165 if test -f "$cache_file"; then
1166 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1167 echo "$as_me: loading cache $cache_file" >&6;}
1169 [\\/]* | ?:[\\/]* ) . $cache_file;;
1170 *) . ./$cache_file;;
1174 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1175 echo "$as_me: creating cache $cache_file" >&6;}
1179 # Check that the precious variables saved in the cache have kept the same
1181 ac_cache_corrupted=false
1182 for ac_var in `(set) 2>&1 |
1183 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1184 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1185 eval ac_new_set=\$ac_env_${ac_var}_set
1186 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1187 eval ac_new_val="\$ac_env_${ac_var}_value"
1188 case $ac_old_set,$ac_new_set in
1190 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1191 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1192 ac_cache_corrupted=: ;;
1194 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1195 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1196 ac_cache_corrupted=: ;;
1199 if test "x$ac_old_val" != "x$ac_new_val"; then
1200 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1201 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1202 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1203 echo "$as_me: former value: $ac_old_val" >&2;}
1204 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1205 echo "$as_me: current value: $ac_new_val" >&2;}
1206 ac_cache_corrupted=:
1209 # Pass precious variables to config.status.
1210 if test "$ac_new_set" = set; then
1212 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1213 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1214 *) ac_arg=$ac_var=$ac_new_val ;;
1216 case " $ac_configure_args " in
1217 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1218 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1222 if $ac_cache_corrupted; then
1223 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1224 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1225 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1226 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1227 { (exit 1); exit 1; }; }
1231 ac_cpp='$CPP $CPPFLAGS'
1232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1257 ac_cpp='$CPP $CPPFLAGS'
1258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1261 if test -n "$ac_tool_prefix"; then
1262 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1263 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1264 echo "$as_me:$LINENO: checking for $ac_word" >&5
1265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1266 if test "${ac_cv_prog_CC+set}" = set; then
1267 echo $ECHO_N "(cached) $ECHO_C" >&6
1269 if test -n "$CC"; then
1270 ac_cv_prog_CC="$CC" # Let the user override the test.
1272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1276 test -z "$as_dir" && as_dir=.
1277 for ac_exec_ext in '' $ac_executable_extensions; do
1278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1279 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1289 if test -n "$CC"; then
1290 echo "$as_me:$LINENO: result: $CC" >&5
1291 echo "${ECHO_T}$CC" >&6
1293 echo "$as_me:$LINENO: result: no" >&5
1294 echo "${ECHO_T}no" >&6
1298 if test -z "$ac_cv_prog_CC"; then
1300 # Extract the first word of "gcc", so it can be a program name with args.
1301 set dummy gcc; ac_word=$2
1302 echo "$as_me:$LINENO: checking for $ac_word" >&5
1303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1304 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1305 echo $ECHO_N "(cached) $ECHO_C" >&6
1307 if test -n "$ac_ct_CC"; then
1308 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1314 test -z "$as_dir" && as_dir=.
1315 for ac_exec_ext in '' $ac_executable_extensions; do
1316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1317 ac_cv_prog_ac_ct_CC="gcc"
1318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1327 if test -n "$ac_ct_CC"; then
1328 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1329 echo "${ECHO_T}$ac_ct_CC" >&6
1331 echo "$as_me:$LINENO: result: no" >&5
1332 echo "${ECHO_T}no" >&6
1340 if test -z "$CC"; then
1341 if test -n "$ac_tool_prefix"; then
1342 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1343 set dummy ${ac_tool_prefix}cc; ac_word=$2
1344 echo "$as_me:$LINENO: checking for $ac_word" >&5
1345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1346 if test "${ac_cv_prog_CC+set}" = set; then
1347 echo $ECHO_N "(cached) $ECHO_C" >&6
1349 if test -n "$CC"; then
1350 ac_cv_prog_CC="$CC" # Let the user override the test.
1352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1356 test -z "$as_dir" && as_dir=.
1357 for ac_exec_ext in '' $ac_executable_extensions; do
1358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1359 ac_cv_prog_CC="${ac_tool_prefix}cc"
1360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1369 if test -n "$CC"; then
1370 echo "$as_me:$LINENO: result: $CC" >&5
1371 echo "${ECHO_T}$CC" >&6
1373 echo "$as_me:$LINENO: result: no" >&5
1374 echo "${ECHO_T}no" >&6
1378 if test -z "$ac_cv_prog_CC"; then
1380 # Extract the first word of "cc", so it can be a program name with args.
1381 set dummy cc; 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_ac_ct_CC+set}" = set; then
1385 echo $ECHO_N "(cached) $ECHO_C" >&6
1387 if test -n "$ac_ct_CC"; then
1388 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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_ac_ct_CC="cc"
1398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1406 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1407 if test -n "$ac_ct_CC"; then
1408 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1409 echo "${ECHO_T}$ac_ct_CC" >&6
1411 echo "$as_me:$LINENO: result: no" >&5
1412 echo "${ECHO_T}no" >&6
1421 if test -z "$CC"; then
1422 # Extract the first word of "cc", so it can be a program name with args.
1423 set dummy cc; ac_word=$2
1424 echo "$as_me:$LINENO: checking for $ac_word" >&5
1425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1426 if test "${ac_cv_prog_CC+set}" = set; then
1427 echo $ECHO_N "(cached) $ECHO_C" >&6
1429 if test -n "$CC"; then
1430 ac_cv_prog_CC="$CC" # Let the user override the test.
1433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1437 test -z "$as_dir" && as_dir=.
1438 for ac_exec_ext in '' $ac_executable_extensions; do
1439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1440 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1441 ac_prog_rejected=yes
1445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1451 if test $ac_prog_rejected = yes; then
1452 # We found a bogon in the path, so make sure we never use it.
1453 set dummy $ac_cv_prog_CC
1455 if test $# != 0; then
1456 # We chose a different compiler from the bogus one.
1457 # However, it has the same basename, so the bogon will be chosen
1458 # first if we set CC to just the basename; use the full file name.
1460 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1466 if test -n "$CC"; then
1467 echo "$as_me:$LINENO: result: $CC" >&5
1468 echo "${ECHO_T}$CC" >&6
1470 echo "$as_me:$LINENO: result: no" >&5
1471 echo "${ECHO_T}no" >&6
1475 if test -z "$CC"; then
1476 if test -n "$ac_tool_prefix"; then
1479 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1481 echo "$as_me:$LINENO: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_CC+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 if test -n "$CC"; then
1487 ac_cv_prog_CC="$CC" # Let the user override the test.
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1506 if test -n "$CC"; then
1507 echo "$as_me:$LINENO: result: $CC" >&5
1508 echo "${ECHO_T}$CC" >&6
1510 echo "$as_me:$LINENO: result: no" >&5
1511 echo "${ECHO_T}no" >&6
1514 test -n "$CC" && break
1517 if test -z "$CC"; then
1521 # Extract the first word of "$ac_prog", so it can be a program name with args.
1522 set dummy $ac_prog; ac_word=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 if test -n "$ac_ct_CC"; then
1529 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir=.
1536 for ac_exec_ext in '' $ac_executable_extensions; do
1537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538 ac_cv_prog_ac_ct_CC="$ac_prog"
1539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1547 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1548 if test -n "$ac_ct_CC"; then
1549 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1550 echo "${ECHO_T}$ac_ct_CC" >&6
1552 echo "$as_me:$LINENO: result: no" >&5
1553 echo "${ECHO_T}no" >&6
1556 test -n "$ac_ct_CC" && break
1565 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1566 See \`config.log' for more details." >&5
1567 echo "$as_me: error: no acceptable C compiler found in \$PATH
1568 See \`config.log' for more details." >&2;}
1569 { (exit 1); exit 1; }; }
1571 # Provide some information about the compiler.
1572 echo "$as_me:$LINENO:" \
1573 "checking for C compiler version" >&5
1574 ac_compiler=`set X $ac_compile; echo $2`
1575 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1576 (eval $ac_compiler --version </dev/null >&5) 2>&5
1578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1579 (exit $ac_status); }
1580 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1581 (eval $ac_compiler -v </dev/null >&5) 2>&5
1583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1584 (exit $ac_status); }
1585 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1586 (eval $ac_compiler -V </dev/null >&5) 2>&5
1588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1589 (exit $ac_status); }
1591 cat >conftest.$ac_ext <<_ACEOF
1592 #line $LINENO "configure"
1595 cat confdefs.h >>conftest.$ac_ext
1596 cat >>conftest.$ac_ext <<_ACEOF
1597 /* end confdefs.h. */
1607 ac_clean_files_save=$ac_clean_files
1608 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1609 # Try to create an executable without -o first, disregard a.out.
1610 # It will help us diagnose broken compilers, and finding out an intuition
1612 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1613 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1614 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1615 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1616 (eval $ac_link_default) 2>&5
1618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1619 (exit $ac_status); }; then
1620 # Find the output, starting from the most likely. This scheme is
1621 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1624 # Be careful to initialize this variable, since it used to be cached.
1625 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1627 # b.out is created by i960 compilers.
1628 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1630 test -f "$ac_file" || continue
1632 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1635 # This is the source file.
1638 # We found the default executable, but exeext='' is most
1642 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1643 # FIXME: I believe we export ac_cv_exeext for Libtool,
1644 # but it would be cool to find out if it's true. Does anybody
1645 # maintain Libtool? --akim.
1653 echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1656 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1657 See \`config.log' for more details." >&5
1658 echo "$as_me: error: C compiler cannot create executables
1659 See \`config.log' for more details." >&2;}
1660 { (exit 77); exit 77; }; }
1663 ac_exeext=$ac_cv_exeext
1664 echo "$as_me:$LINENO: result: $ac_file" >&5
1665 echo "${ECHO_T}$ac_file" >&6
1667 # Check the compiler produces executables we can run. If not, either
1668 # the compiler is broken, or we cross compile.
1669 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1670 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1671 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1672 # If not cross compiling, check that we can run a simple program.
1673 if test "$cross_compiling" != yes; then
1674 if { ac_try='./$ac_file'
1675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679 (exit $ac_status); }; }; then
1682 if test "$cross_compiling" = maybe; then
1685 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1686 If you meant to cross compile, use \`--host'.
1687 See \`config.log' for more details." >&5
1688 echo "$as_me: error: cannot run C compiled programs.
1689 If you meant to cross compile, use \`--host'.
1690 See \`config.log' for more details." >&2;}
1691 { (exit 1); exit 1; }; }
1695 echo "$as_me:$LINENO: result: yes" >&5
1696 echo "${ECHO_T}yes" >&6
1698 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1699 ac_clean_files=$ac_clean_files_save
1700 # Check the compiler produces executables we can run. If not, either
1701 # the compiler is broken, or we cross compile.
1702 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1703 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1704 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1705 echo "${ECHO_T}$cross_compiling" >&6
1707 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1708 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1710 (eval $ac_link) 2>&5
1712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1713 (exit $ac_status); }; then
1714 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1715 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1716 # work properly (i.e., refer to `conftest.exe'), while it won't with
1718 for ac_file in conftest.exe conftest conftest.*; do
1719 test -f "$ac_file" || continue
1721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1722 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1729 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1730 See \`config.log' for more details." >&5
1731 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1732 See \`config.log' for more details." >&2;}
1733 { (exit 1); exit 1; }; }
1736 rm -f conftest$ac_cv_exeext
1737 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1738 echo "${ECHO_T}$ac_cv_exeext" >&6
1740 rm -f conftest.$ac_ext
1741 EXEEXT=$ac_cv_exeext
1743 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1744 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1745 if test "${ac_cv_objext+set}" = set; then
1746 echo $ECHO_N "(cached) $ECHO_C" >&6
1748 cat >conftest.$ac_ext <<_ACEOF
1749 #line $LINENO "configure"
1752 cat confdefs.h >>conftest.$ac_ext
1753 cat >>conftest.$ac_ext <<_ACEOF
1754 /* end confdefs.h. */
1764 rm -f conftest.o conftest.obj
1765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1766 (eval $ac_compile) 2>&5
1768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1769 (exit $ac_status); }; then
1770 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1773 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1778 echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1781 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1782 See \`config.log' for more details." >&5
1783 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1784 See \`config.log' for more details." >&2;}
1785 { (exit 1); exit 1; }; }
1788 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1790 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1791 echo "${ECHO_T}$ac_cv_objext" >&6
1792 OBJEXT=$ac_cv_objext
1794 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1795 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1796 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
1799 cat >conftest.$ac_ext <<_ACEOF
1800 #line $LINENO "configure"
1803 cat confdefs.h >>conftest.$ac_ext
1804 cat >>conftest.$ac_ext <<_ACEOF
1805 /* end confdefs.h. */
1818 rm -f conftest.$ac_objext
1819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1820 (eval $ac_compile) 2>&5
1822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823 (exit $ac_status); } &&
1824 { ac_try='test -s conftest.$ac_objext'
1825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1829 (exit $ac_status); }; }; then
1832 echo "$as_me: failed program was:" >&5
1833 sed 's/^/| /' conftest.$ac_ext >&5
1837 rm -f conftest.$ac_objext conftest.$ac_ext
1838 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1841 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1842 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1843 GCC=`test $ac_compiler_gnu = yes && echo yes`
1844 ac_test_CFLAGS=${CFLAGS+set}
1845 ac_save_CFLAGS=$CFLAGS
1847 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1848 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1849 if test "${ac_cv_prog_cc_g+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 cat >conftest.$ac_ext <<_ACEOF
1853 #line $LINENO "configure"
1856 cat confdefs.h >>conftest.$ac_ext
1857 cat >>conftest.$ac_ext <<_ACEOF
1858 /* end confdefs.h. */
1868 rm -f conftest.$ac_objext
1869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1870 (eval $ac_compile) 2>&5
1872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1873 (exit $ac_status); } &&
1874 { ac_try='test -s conftest.$ac_objext'
1875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879 (exit $ac_status); }; }; then
1882 echo "$as_me: failed program was:" >&5
1883 sed 's/^/| /' conftest.$ac_ext >&5
1887 rm -f conftest.$ac_objext conftest.$ac_ext
1889 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1890 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1891 if test "$ac_test_CFLAGS" = set; then
1892 CFLAGS=$ac_save_CFLAGS
1893 elif test $ac_cv_prog_cc_g = yes; then
1894 if test "$GCC" = yes; then
1900 if test "$GCC" = yes; then
1906 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1907 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1908 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1909 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 ac_cv_prog_cc_stdc=no
1913 cat >conftest.$ac_ext <<_ACEOF
1914 #line $LINENO "configure"
1917 cat confdefs.h >>conftest.$ac_ext
1918 cat >>conftest.$ac_ext <<_ACEOF
1919 /* end confdefs.h. */
1922 #include <sys/types.h>
1923 #include <sys/stat.h>
1924 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1925 struct buf { int x; };
1926 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1927 static char *e (p, i)
1933 static char *f (char * (*g) (char **, int), char **p, ...)
1938 s = g (p, va_arg (v,int));
1942 int test (int i, double x);
1943 struct s1 {int (*f) (int a);};
1944 struct s2 {int (*f) (double a);};
1945 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1951 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1956 # Don't try gcc -ansi; that turns off useful extensions and
1957 # breaks some systems' header files.
1958 # AIX -qlanglvl=ansi
1959 # Ultrix and OSF/1 -std1
1960 # HP-UX 10.20 and later -Ae
1961 # HP-UX older versions -Aa -D_HPUX_SOURCE
1962 # SVR4 -Xc -D__EXTENSIONS__
1963 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1965 CC="$ac_save_CC $ac_arg"
1966 rm -f conftest.$ac_objext
1967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1968 (eval $ac_compile) 2>&5
1970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971 (exit $ac_status); } &&
1972 { ac_try='test -s conftest.$ac_objext'
1973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1977 (exit $ac_status); }; }; then
1978 ac_cv_prog_cc_stdc=$ac_arg
1981 echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.$ac_ext >&5
1985 rm -f conftest.$ac_objext
1987 rm -f conftest.$ac_ext conftest.$ac_objext
1992 case "x$ac_cv_prog_cc_stdc" in
1994 echo "$as_me:$LINENO: result: none needed" >&5
1995 echo "${ECHO_T}none needed" >&6 ;;
1997 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1998 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1999 CC="$CC $ac_cv_prog_cc_stdc" ;;
2002 # Some people use a C++ compiler to compile C. Since we use `exit',
2003 # in C++ we need to declare it. In case someone uses the same compiler
2004 # for both compiling C and C++ we need to have the C++ compiler decide
2005 # the declaration of exit, since it's the most demanding environment.
2006 cat >conftest.$ac_ext <<_ACEOF
2011 rm -f conftest.$ac_objext
2012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2013 (eval $ac_compile) 2>&5
2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 (exit $ac_status); } &&
2017 { ac_try='test -s conftest.$ac_objext'
2018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); }; }; then
2023 for ac_declaration in \
2025 '#include <stdlib.h>' \
2026 'extern "C" void std::exit (int) throw (); using std::exit;' \
2027 'extern "C" void std::exit (int); using std::exit;' \
2028 'extern "C" void exit (int) throw ();' \
2029 'extern "C" void exit (int);' \
2032 cat >conftest.$ac_ext <<_ACEOF
2033 #line $LINENO "configure"
2036 cat confdefs.h >>conftest.$ac_ext
2037 cat >>conftest.$ac_ext <<_ACEOF
2038 /* end confdefs.h. */
2049 rm -f conftest.$ac_objext
2050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2051 (eval $ac_compile) 2>&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); } &&
2055 { ac_try='test -s conftest.$ac_objext'
2056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); }; }; then
2063 echo "$as_me: failed program was:" >&5
2064 sed 's/^/| /' conftest.$ac_ext >&5
2068 rm -f conftest.$ac_objext conftest.$ac_ext
2069 cat >conftest.$ac_ext <<_ACEOF
2070 #line $LINENO "configure"
2073 cat confdefs.h >>conftest.$ac_ext
2074 cat >>conftest.$ac_ext <<_ACEOF
2075 /* end confdefs.h. */
2085 rm -f conftest.$ac_objext
2086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2087 (eval $ac_compile) 2>&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); } &&
2091 { ac_try='test -s conftest.$ac_objext'
2092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }; }; then
2099 echo "$as_me: failed program was:" >&5
2100 sed 's/^/| /' conftest.$ac_ext >&5
2103 rm -f conftest.$ac_objext conftest.$ac_ext
2106 if test -n "$ac_declaration"; then
2107 echo '#ifdef __cplusplus' >>confdefs.h
2108 echo $ac_declaration >>confdefs.h
2109 echo '#endif' >>confdefs.h
2113 echo "$as_me: failed program was:" >&5
2114 sed 's/^/| /' conftest.$ac_ext >&5
2117 rm -f conftest.$ac_objext conftest.$ac_ext
2119 ac_cpp='$CPP $CPPFLAGS'
2120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2124 if test -n "$ac_tool_prefix"; then
2125 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2126 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2127 echo "$as_me:$LINENO: checking for $ac_word" >&5
2128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2129 if test "${ac_cv_prog_RANLIB+set}" = set; then
2130 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 if test -n "$RANLIB"; then
2133 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 test -z "$as_dir" && as_dir=.
2140 for ac_exec_ext in '' $ac_executable_extensions; do
2141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2142 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2151 RANLIB=$ac_cv_prog_RANLIB
2152 if test -n "$RANLIB"; then
2153 echo "$as_me:$LINENO: result: $RANLIB" >&5
2154 echo "${ECHO_T}$RANLIB" >&6
2156 echo "$as_me:$LINENO: result: no" >&5
2157 echo "${ECHO_T}no" >&6
2161 if test -z "$ac_cv_prog_RANLIB"; then
2162 ac_ct_RANLIB=$RANLIB
2163 # Extract the first word of "ranlib", so it can be a program name with args.
2164 set dummy ranlib; ac_word=$2
2165 echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2167 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 if test -n "$ac_ct_RANLIB"; then
2171 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2180 ac_cv_prog_ac_ct_RANLIB="ranlib"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2190 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2191 if test -n "$ac_ct_RANLIB"; then
2192 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2193 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2195 echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6
2199 RANLIB=$ac_ct_RANLIB
2201 RANLIB="$ac_cv_prog_RANLIB"
2205 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2206 if test -f $ac_dir/install-sh; then
2208 ac_install_sh="$ac_aux_dir/install-sh -c"
2210 elif test -f $ac_dir/install.sh; then
2212 ac_install_sh="$ac_aux_dir/install.sh -c"
2214 elif test -f $ac_dir/shtool; then
2216 ac_install_sh="$ac_aux_dir/shtool install -c"
2220 if test -z "$ac_aux_dir"; then
2221 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2222 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2223 { (exit 1); exit 1; }; }
2225 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2226 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2227 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2229 # Find a good install program. We prefer a C program (faster),
2230 # so one script is as good as another. But avoid the broken or
2231 # incompatible versions:
2232 # SysV /etc/install, /usr/sbin/install
2233 # SunOS /usr/etc/install
2234 # IRIX /sbin/install
2236 # AmigaOS /C/install, which installs bootblocks on floppy discs
2237 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2238 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2239 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2240 # ./install, which can be erroneously created by make from ./install.sh.
2241 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2242 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2243 if test -z "$INSTALL"; then
2244 if test "${ac_cv_path_install+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 test -z "$as_dir" && as_dir=.
2252 # Account for people who put trailing slashes in PATH elements.
2254 ./ | .// | /cC/* | \
2255 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2258 # OSF1 and SCO ODT 3.0 have their own names for install.
2259 # Don't use installbsd from OSF since it installs stuff as root
2261 for ac_prog in ginstall scoinst install; do
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2264 if test $ac_prog = install &&
2265 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2266 # AIX install. It has an incompatible calling convention.
2268 elif test $ac_prog = install &&
2269 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2270 # program-specific install script used by HP pwplus--don't use.
2273 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2285 if test "${ac_cv_path_install+set}" = set; then
2286 INSTALL=$ac_cv_path_install
2288 # As a last resort, use the slow shell script. We don't cache a
2289 # path for INSTALL within a source directory, because that will
2290 # break other packages using the cache if that directory is
2291 # removed, or if the path is relative.
2292 INSTALL=$ac_install_sh
2295 echo "$as_me:$LINENO: result: $INSTALL" >&5
2296 echo "${ECHO_T}$INSTALL" >&6
2298 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2299 # It thinks the first close brace ends the variable substitution.
2300 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2302 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2304 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2307 if test x$GCC = xyes; then
2308 CFLAGS="$CFLAGS -Wall"
2314 ac_cpp='$CPP $CPPFLAGS'
2315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2318 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2319 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2320 # On Suns, sometimes $CPP names a directory.
2321 if test -n "$CPP" && test -d "$CPP"; then
2324 if test -z "$CPP"; then
2325 if test "${ac_cv_prog_CPP+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 # Double quotes because CPP needs to be expanded
2329 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2332 for ac_c_preproc_warn_flag in '' yes
2334 # Use a header file that comes with gcc, so configuring glibc
2335 # with a fresh cross-compiler works.
2336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2337 # <limits.h> exists even on freestanding compilers.
2338 # On the NeXT, cc -E runs the code through the compiler's parser,
2339 # not just through cpp. "Syntax error" is here to catch this case.
2340 cat >conftest.$ac_ext <<_ACEOF
2341 #line $LINENO "configure"
2344 cat confdefs.h >>conftest.$ac_ext
2345 cat >>conftest.$ac_ext <<_ACEOF
2346 /* end confdefs.h. */
2348 # include <limits.h>
2350 # include <assert.h>
2354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2357 grep -v '^ *+' conftest.er1 >conftest.err
2359 cat conftest.err >&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); } >/dev/null; then
2362 if test -s conftest.err; then
2363 ac_cpp_err=$ac_c_preproc_warn_flag
2370 if test -z "$ac_cpp_err"; then
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5
2376 # Broken: fails on valid input.
2379 rm -f conftest.err conftest.$ac_ext
2381 # OK, works on sane cases. Now check whether non-existent headers
2382 # can be detected and how.
2383 cat >conftest.$ac_ext <<_ACEOF
2384 #line $LINENO "configure"
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2390 #include <ac_nonexistent.h>
2392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2395 grep -v '^ *+' conftest.er1 >conftest.err
2397 cat conftest.err >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); } >/dev/null; then
2400 if test -s conftest.err; then
2401 ac_cpp_err=$ac_c_preproc_warn_flag
2408 if test -z "$ac_cpp_err"; then
2409 # Broken: success on invalid input.
2412 echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.$ac_ext >&5
2415 # Passes both tests.
2419 rm -f conftest.err conftest.$ac_ext
2422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2423 rm -f conftest.err conftest.$ac_ext
2424 if $ac_preproc_ok; then
2436 echo "$as_me:$LINENO: result: $CPP" >&5
2437 echo "${ECHO_T}$CPP" >&6
2439 for ac_c_preproc_warn_flag in '' yes
2441 # Use a header file that comes with gcc, so configuring glibc
2442 # with a fresh cross-compiler works.
2443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2444 # <limits.h> exists even on freestanding compilers.
2445 # On the NeXT, cc -E runs the code through the compiler's parser,
2446 # not just through cpp. "Syntax error" is here to catch this case.
2447 cat >conftest.$ac_ext <<_ACEOF
2448 #line $LINENO "configure"
2451 cat confdefs.h >>conftest.$ac_ext
2452 cat >>conftest.$ac_ext <<_ACEOF
2453 /* end confdefs.h. */
2455 # include <limits.h>
2457 # include <assert.h>
2461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2464 grep -v '^ *+' conftest.er1 >conftest.err
2466 cat conftest.err >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); } >/dev/null; then
2469 if test -s conftest.err; then
2470 ac_cpp_err=$ac_c_preproc_warn_flag
2477 if test -z "$ac_cpp_err"; then
2480 echo "$as_me: failed program was:" >&5
2481 sed 's/^/| /' conftest.$ac_ext >&5
2483 # Broken: fails on valid input.
2486 rm -f conftest.err conftest.$ac_ext
2488 # OK, works on sane cases. Now check whether non-existent headers
2489 # can be detected and how.
2490 cat >conftest.$ac_ext <<_ACEOF
2491 #line $LINENO "configure"
2494 cat confdefs.h >>conftest.$ac_ext
2495 cat >>conftest.$ac_ext <<_ACEOF
2496 /* end confdefs.h. */
2497 #include <ac_nonexistent.h>
2499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2500 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2502 grep -v '^ *+' conftest.er1 >conftest.err
2504 cat conftest.err >&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); } >/dev/null; then
2507 if test -s conftest.err; then
2508 ac_cpp_err=$ac_c_preproc_warn_flag
2515 if test -z "$ac_cpp_err"; then
2516 # Broken: success on invalid input.
2519 echo "$as_me: failed program was:" >&5
2520 sed 's/^/| /' conftest.$ac_ext >&5
2522 # Passes both tests.
2526 rm -f conftest.err conftest.$ac_ext
2529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2530 rm -f conftest.err conftest.$ac_ext
2531 if $ac_preproc_ok; then
2534 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2542 ac_cpp='$CPP $CPPFLAGS'
2543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2548 echo "$as_me:$LINENO: checking for egrep" >&5
2549 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2550 if test "${ac_cv_prog_egrep+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2554 then ac_cv_prog_egrep='grep -E'
2555 else ac_cv_prog_egrep='egrep'
2558 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2559 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2560 EGREP=$ac_cv_prog_egrep
2563 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2564 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2565 if test "${ac_cv_header_stdc+set}" = set; then
2566 echo $ECHO_N "(cached) $ECHO_C" >&6
2568 cat >conftest.$ac_ext <<_ACEOF
2569 #line $LINENO "configure"
2572 cat confdefs.h >>conftest.$ac_ext
2573 cat >>conftest.$ac_ext <<_ACEOF
2574 /* end confdefs.h. */
2588 rm -f conftest.$ac_objext
2589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590 (eval $ac_compile) 2>&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); } &&
2594 { ac_try='test -s conftest.$ac_objext'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2600 ac_cv_header_stdc=yes
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2605 ac_cv_header_stdc=no
2607 rm -f conftest.$ac_objext conftest.$ac_ext
2609 if test $ac_cv_header_stdc = yes; then
2610 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2611 cat >conftest.$ac_ext <<_ACEOF
2612 #line $LINENO "configure"
2615 cat confdefs.h >>conftest.$ac_ext
2616 cat >>conftest.$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2622 $EGREP "memchr" >/dev/null 2>&1; then
2625 ac_cv_header_stdc=no
2631 if test $ac_cv_header_stdc = yes; then
2632 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2633 cat >conftest.$ac_ext <<_ACEOF
2634 #line $LINENO "configure"
2637 cat confdefs.h >>conftest.$ac_ext
2638 cat >>conftest.$ac_ext <<_ACEOF
2639 /* end confdefs.h. */
2643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2644 $EGREP "free" >/dev/null 2>&1; then
2647 ac_cv_header_stdc=no
2653 if test $ac_cv_header_stdc = yes; then
2654 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2655 if test "$cross_compiling" = yes; then
2658 cat >conftest.$ac_ext <<_ACEOF
2659 #line $LINENO "configure"
2662 cat confdefs.h >>conftest.$ac_ext
2663 cat >>conftest.$ac_ext <<_ACEOF
2664 /* end confdefs.h. */
2666 #if ((' ' & 0x0FF) == 0x020)
2667 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2668 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2670 # define ISLOWER(c) \
2671 (('a' <= (c) && (c) <= 'i') \
2672 || ('j' <= (c) && (c) <= 'r') \
2673 || ('s' <= (c) && (c) <= 'z'))
2674 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2677 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2682 for (i = 0; i < 256; i++)
2683 if (XOR (islower (i), ISLOWER (i))
2684 || toupper (i) != TOUPPER (i))
2689 rm -f conftest$ac_exeext
2690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2691 (eval $ac_link) 2>&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; }; then
2702 echo "$as_me: program exited with status $ac_status" >&5
2703 echo "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.$ac_ext >&5
2707 ac_cv_header_stdc=no
2709 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2713 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2714 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2715 if test $ac_cv_header_stdc = yes; then
2717 cat >>confdefs.h <<\_ACEOF
2718 #define STDC_HEADERS 1
2723 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2733 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2734 inttypes.h stdint.h unistd.h
2736 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2737 echo "$as_me:$LINENO: checking for $ac_header" >&5
2738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2740 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 cat >conftest.$ac_ext <<_ACEOF
2743 #line $LINENO "configure"
2746 cat confdefs.h >>conftest.$ac_ext
2747 cat >>conftest.$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2749 $ac_includes_default
2751 #include <$ac_header>
2753 rm -f conftest.$ac_objext
2754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2755 (eval $ac_compile) 2>&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); } &&
2759 { ac_try='test -s conftest.$ac_objext'
2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; }; then
2765 eval "$as_ac_Header=yes"
2767 echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2770 eval "$as_ac_Header=no"
2772 rm -f conftest.$ac_objext conftest.$ac_ext
2774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2777 cat >>confdefs.h <<_ACEOF
2778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2786 if test "${ac_cv_header_getopt_h+set}" = set; then
2787 echo "$as_me:$LINENO: checking for getopt.h" >&5
2788 echo $ECHO_N "checking for getopt.h... $ECHO_C" >&6
2789 if test "${ac_cv_header_getopt_h+set}" = set; then
2790 echo $ECHO_N "(cached) $ECHO_C" >&6
2792 echo "$as_me:$LINENO: result: $ac_cv_header_getopt_h" >&5
2793 echo "${ECHO_T}$ac_cv_header_getopt_h" >&6
2795 # Is the header compilable?
2796 echo "$as_me:$LINENO: checking getopt.h usability" >&5
2797 echo $ECHO_N "checking getopt.h usability... $ECHO_C" >&6
2798 cat >conftest.$ac_ext <<_ACEOF
2799 #line $LINENO "configure"
2802 cat confdefs.h >>conftest.$ac_ext
2803 cat >>conftest.$ac_ext <<_ACEOF
2804 /* end confdefs.h. */
2805 $ac_includes_default
2808 rm -f conftest.$ac_objext
2809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2810 (eval $ac_compile) 2>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); } &&
2814 { ac_try='test -s conftest.$ac_objext'
2815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }; }; then
2820 ac_header_compiler=yes
2822 echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.$ac_ext >&5
2825 ac_header_compiler=no
2827 rm -f conftest.$ac_objext conftest.$ac_ext
2828 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2829 echo "${ECHO_T}$ac_header_compiler" >&6
2831 # Is the header present?
2832 echo "$as_me:$LINENO: checking getopt.h presence" >&5
2833 echo $ECHO_N "checking getopt.h presence... $ECHO_C" >&6
2834 cat >conftest.$ac_ext <<_ACEOF
2835 #line $LINENO "configure"
2838 cat confdefs.h >>conftest.$ac_ext
2839 cat >>conftest.$ac_ext <<_ACEOF
2840 /* end confdefs.h. */
2843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2844 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2846 grep -v '^ *+' conftest.er1 >conftest.err
2848 cat conftest.err >&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); } >/dev/null; then
2851 if test -s conftest.err; then
2852 ac_cpp_err=$ac_c_preproc_warn_flag
2859 if test -z "$ac_cpp_err"; then
2860 ac_header_preproc=yes
2862 echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.$ac_ext >&5
2865 ac_header_preproc=no
2867 rm -f conftest.err conftest.$ac_ext
2868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2869 echo "${ECHO_T}$ac_header_preproc" >&6
2871 # So? What about this header?
2872 case $ac_header_compiler:$ac_header_preproc in
2874 { echo "$as_me:$LINENO: WARNING: getopt.h: accepted by the compiler, rejected by the preprocessor!" >&5
2875 echo "$as_me: WARNING: getopt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2876 { echo "$as_me:$LINENO: WARNING: getopt.h: proceeding with the preprocessor's result" >&5
2877 echo "$as_me: WARNING: getopt.h: proceeding with the preprocessor's result" >&2;}
2880 ## ------------------------------------ ##
2881 ## Report this to bug-autoconf@gnu.org. ##
2882 ## ------------------------------------ ##
2885 sed "s/^/$as_me: WARNING: /" >&2
2888 { echo "$as_me:$LINENO: WARNING: getopt.h: present but cannot be compiled" >&5
2889 echo "$as_me: WARNING: getopt.h: present but cannot be compiled" >&2;}
2890 { echo "$as_me:$LINENO: WARNING: getopt.h: check for missing prerequisite headers?" >&5
2891 echo "$as_me: WARNING: getopt.h: check for missing prerequisite headers?" >&2;}
2892 { echo "$as_me:$LINENO: WARNING: getopt.h: proceeding with the preprocessor's result" >&5
2893 echo "$as_me: WARNING: getopt.h: proceeding with the preprocessor's result" >&2;}
2896 ## ------------------------------------ ##
2897 ## Report this to bug-autoconf@gnu.org. ##
2898 ## ------------------------------------ ##
2901 sed "s/^/$as_me: WARNING: /" >&2
2904 echo "$as_me:$LINENO: checking for getopt.h" >&5
2905 echo $ECHO_N "checking for getopt.h... $ECHO_C" >&6
2906 if test "${ac_cv_header_getopt_h+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 ac_cv_header_getopt_h=$ac_header_preproc
2911 echo "$as_me:$LINENO: result: $ac_cv_header_getopt_h" >&5
2912 echo "${ECHO_T}$ac_cv_header_getopt_h" >&6
2915 if test $ac_cv_header_getopt_h = yes; then
2918 NO_GETOPT=-DNO_GETOPT;GETOPT_O=compat/getopt.o
2922 if test "${ac_cv_header_paper_h+set}" = set; then
2923 echo "$as_me:$LINENO: checking for paper.h" >&5
2924 echo $ECHO_N "checking for paper.h... $ECHO_C" >&6
2925 if test "${ac_cv_header_paper_h+set}" = set; then
2926 echo $ECHO_N "(cached) $ECHO_C" >&6
2928 echo "$as_me:$LINENO: result: $ac_cv_header_paper_h" >&5
2929 echo "${ECHO_T}$ac_cv_header_paper_h" >&6
2931 # Is the header compilable?
2932 echo "$as_me:$LINENO: checking paper.h usability" >&5
2933 echo $ECHO_N "checking paper.h usability... $ECHO_C" >&6
2934 cat >conftest.$ac_ext <<_ACEOF
2935 #line $LINENO "configure"
2938 cat confdefs.h >>conftest.$ac_ext
2939 cat >>conftest.$ac_ext <<_ACEOF
2940 /* end confdefs.h. */
2941 $ac_includes_default
2944 rm -f conftest.$ac_objext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2946 (eval $ac_compile) 2>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } &&
2950 { ac_try='test -s conftest.$ac_objext'
2951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; }; then
2956 ac_header_compiler=yes
2958 echo "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.$ac_ext >&5
2961 ac_header_compiler=no
2963 rm -f conftest.$ac_objext conftest.$ac_ext
2964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2965 echo "${ECHO_T}$ac_header_compiler" >&6
2967 # Is the header present?
2968 echo "$as_me:$LINENO: checking paper.h presence" >&5
2969 echo $ECHO_N "checking paper.h presence... $ECHO_C" >&6
2970 cat >conftest.$ac_ext <<_ACEOF
2971 #line $LINENO "configure"
2974 cat confdefs.h >>conftest.$ac_ext
2975 cat >>conftest.$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2982 grep -v '^ *+' conftest.er1 >conftest.err
2984 cat conftest.err >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } >/dev/null; then
2987 if test -s conftest.err; then
2988 ac_cpp_err=$ac_c_preproc_warn_flag
2995 if test -z "$ac_cpp_err"; then
2996 ac_header_preproc=yes
2998 echo "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3001 ac_header_preproc=no
3003 rm -f conftest.err conftest.$ac_ext
3004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3005 echo "${ECHO_T}$ac_header_preproc" >&6
3007 # So? What about this header?
3008 case $ac_header_compiler:$ac_header_preproc in
3010 { echo "$as_me:$LINENO: WARNING: paper.h: accepted by the compiler, rejected by the preprocessor!" >&5
3011 echo "$as_me: WARNING: paper.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3012 { echo "$as_me:$LINENO: WARNING: paper.h: proceeding with the preprocessor's result" >&5
3013 echo "$as_me: WARNING: paper.h: proceeding with the preprocessor's result" >&2;}
3016 ## ------------------------------------ ##
3017 ## Report this to bug-autoconf@gnu.org. ##
3018 ## ------------------------------------ ##
3021 sed "s/^/$as_me: WARNING: /" >&2
3024 { echo "$as_me:$LINENO: WARNING: paper.h: present but cannot be compiled" >&5
3025 echo "$as_me: WARNING: paper.h: present but cannot be compiled" >&2;}
3026 { echo "$as_me:$LINENO: WARNING: paper.h: check for missing prerequisite headers?" >&5
3027 echo "$as_me: WARNING: paper.h: check for missing prerequisite headers?" >&2;}
3028 { echo "$as_me:$LINENO: WARNING: paper.h: proceeding with the preprocessor's result" >&5
3029 echo "$as_me: WARNING: paper.h: proceeding with the preprocessor's result" >&2;}
3032 ## ------------------------------------ ##
3033 ## Report this to bug-autoconf@gnu.org. ##
3034 ## ------------------------------------ ##
3037 sed "s/^/$as_me: WARNING: /" >&2
3040 echo "$as_me:$LINENO: checking for paper.h" >&5
3041 echo $ECHO_N "checking for paper.h... $ECHO_C" >&6
3042 if test "${ac_cv_header_paper_h+set}" = set; then
3043 echo $ECHO_N "(cached) $ECHO_C" >&6
3045 ac_cv_header_paper_h=$ac_header_preproc
3047 echo "$as_me:$LINENO: result: $ac_cv_header_paper_h" >&5
3048 echo "${ECHO_T}$ac_cv_header_paper_h" >&6
3051 if test $ac_cv_header_paper_h = yes; then
3054 NO_LIBPAPER=-DNO_LIBPAPER
3059 for ac_header in unistd.h
3061 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3063 echo "$as_me:$LINENO: checking for $ac_header" >&5
3064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3071 # Is the header compilable?
3072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3074 cat >conftest.$ac_ext <<_ACEOF
3075 #line $LINENO "configure"
3078 cat confdefs.h >>conftest.$ac_ext
3079 cat >>conftest.$ac_ext <<_ACEOF
3080 /* end confdefs.h. */
3081 $ac_includes_default
3082 #include <$ac_header>
3084 rm -f conftest.$ac_objext
3085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3086 (eval $ac_compile) 2>&5
3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089 (exit $ac_status); } &&
3090 { ac_try='test -s conftest.$ac_objext'
3091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }; }; then
3096 ac_header_compiler=yes
3098 echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3101 ac_header_compiler=no
3103 rm -f conftest.$ac_objext conftest.$ac_ext
3104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3105 echo "${ECHO_T}$ac_header_compiler" >&6
3107 # Is the header present?
3108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3110 cat >conftest.$ac_ext <<_ACEOF
3111 #line $LINENO "configure"
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3117 #include <$ac_header>
3119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3122 grep -v '^ *+' conftest.er1 >conftest.err
3124 cat conftest.err >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } >/dev/null; then
3127 if test -s conftest.err; then
3128 ac_cpp_err=$ac_c_preproc_warn_flag
3135 if test -z "$ac_cpp_err"; then
3136 ac_header_preproc=yes
3138 echo "$as_me: failed program was:" >&5
3139 sed 's/^/| /' conftest.$ac_ext >&5
3141 ac_header_preproc=no
3143 rm -f conftest.err conftest.$ac_ext
3144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3145 echo "${ECHO_T}$ac_header_preproc" >&6
3147 # So? What about this header?
3148 case $ac_header_compiler:$ac_header_preproc in
3150 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3156 ## ------------------------------------ ##
3157 ## Report this to bug-autoconf@gnu.org. ##
3158 ## ------------------------------------ ##
3161 sed "s/^/$as_me: WARNING: /" >&2
3164 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3166 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3169 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3172 ## ------------------------------------ ##
3173 ## Report this to bug-autoconf@gnu.org. ##
3174 ## ------------------------------------ ##
3177 sed "s/^/$as_me: WARNING: /" >&2
3180 echo "$as_me:$LINENO: checking for $ac_header" >&5
3181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3185 eval "$as_ac_Header=$ac_header_preproc"
3187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3192 cat >>confdefs.h <<_ACEOF
3193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3201 echo "$as_me:$LINENO: checking for strerror" >&5
3202 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
3203 if test "${ac_cv_func_strerror+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 cat >conftest.$ac_ext <<_ACEOF
3207 #line $LINENO "configure"
3210 cat confdefs.h >>conftest.$ac_ext
3211 cat >>conftest.$ac_ext <<_ACEOF
3212 /* end confdefs.h. */
3213 /* System header to define __stub macros and hopefully few prototypes,
3214 which can conflict with char strerror (); below.
3215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3216 <limits.h> exists even on freestanding compilers. */
3218 # include <limits.h>
3220 # include <assert.h>
3222 /* Override any gcc2 internal prototype to avoid an error. */
3227 /* We use char because int might match the return type of a gcc2
3228 builtin and then its argument prototype would still apply. */
3230 /* The GNU C library defines this for functions which it implements
3231 to always fail with ENOSYS. Some functions are actually named
3232 something starting with __ and the normal name is an alias. */
3233 #if defined (__stub_strerror) || defined (__stub___strerror)
3236 char (*f) () = strerror;
3245 return f != strerror;
3250 rm -f conftest.$ac_objext conftest$ac_exeext
3251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3252 (eval $ac_link) 2>&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); } &&
3256 { ac_try='test -s conftest$ac_exeext'
3257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); }; }; then
3262 ac_cv_func_strerror=yes
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3267 ac_cv_func_strerror=no
3269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3271 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
3272 echo "${ECHO_T}$ac_cv_func_strerror" >&6
3273 if test $ac_cv_func_strerror = yes; then
3276 NO_STRERROR=-DNO_STRERROR
3280 for ac_func in strcasecmp
3282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3283 echo "$as_me:$LINENO: checking for $ac_func" >&5
3284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3285 if eval "test \"\${$as_ac_var+set}\" = set"; then
3286 echo $ECHO_N "(cached) $ECHO_C" >&6
3288 cat >conftest.$ac_ext <<_ACEOF
3289 #line $LINENO "configure"
3292 cat confdefs.h >>conftest.$ac_ext
3293 cat >>conftest.$ac_ext <<_ACEOF
3294 /* end confdefs.h. */
3295 /* System header to define __stub macros and hopefully few prototypes,
3296 which can conflict with char $ac_func (); below.
3297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3298 <limits.h> exists even on freestanding compilers. */
3300 # include <limits.h>
3302 # include <assert.h>
3304 /* Override any gcc2 internal prototype to avoid an error. */
3309 /* We use char because int might match the return type of a gcc2
3310 builtin and then its argument prototype would still apply. */
3312 /* The GNU C library defines this for functions which it implements
3313 to always fail with ENOSYS. Some functions are actually named
3314 something starting with __ and the normal name is an alias. */
3315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3318 char (*f) () = $ac_func;
3327 return f != $ac_func;
3332 rm -f conftest.$ac_objext conftest$ac_exeext
3333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3334 (eval $ac_link) 2>&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } &&
3338 { ac_try='test -s conftest$ac_exeext'
3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; }; then
3344 eval "$as_ac_var=yes"
3346 echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3349 eval "$as_ac_var=no"
3351 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3355 if test `eval echo '${'$as_ac_var'}'` = yes; then
3356 cat >>confdefs.h <<_ACEOF
3357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3364 echo "$as_me:$LINENO: checking \"for gmake\"" >&5
3365 echo $ECHO_N "checking \"for gmake\"... $ECHO_C" >&6
3367 ${MAKE=make} --version 2> /dev/null | grep GNU > /dev/null && GMAKE=yes
3368 echo "$as_me:$LINENO: result: $GMAKE" >&5
3369 echo "${ECHO_T}$GMAKE" >&6
3370 if test "$GMAKE" = "yes"; then
3371 GMAKEDEPEND0='ifeq (.depend,$(wildcard .depend))'
3372 GMAKEDEPEND1='include .depend'
3373 GMAKEDEPEND2='endif'
3376 echo "$as_me:$LINENO: checking \"if makeinfo can output html\"" >&5
3377 echo $ECHO_N "checking \"if makeinfo can output html\"... $ECHO_C" >&6
3379 ${MAKEINFO=makeinfo} --help | grep .--html > /dev/null && MAKEINFOHTML=yes
3380 echo "$as_me:$LINENO: result: $MAKEINFOHTML" >&5
3381 echo "${ECHO_T}$MAKEINFOHTML" >&6
3382 if test "$MAKEINFOHTML" = "yes"; then
3383 REMOVEHTMLTAGS="cat"
3384 INFOTOHTML="$MAKEINFO --html"
3386 REMOVEHTMLTAGS="sed 's/ifnottex/ifinfo/; s/ifnotinfo/iftex/'"
3387 INFOTOHTML="perl texi2html -monolithic"
3400 ac_config_files="$ac_config_files Makefile"
3401 cat >confcache <<\_ACEOF
3402 # This file is a shell script that caches the results of configure
3403 # tests run on this system so they can be shared between configure
3404 # scripts and configure runs, see configure's option --config-cache.
3405 # It is not useful on other systems. If it contains results you don't
3406 # want to keep, you may remove or edit it.
3408 # config.status only pays attention to the cache file if you give it
3409 # the --recheck option to rerun configure.
3411 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3412 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3417 # The following way of writing the cache mishandles newlines in values,
3418 # but we know of no workaround that is simple, portable, and efficient.
3419 # So, don't put newlines in cache variables' values.
3420 # Ultrix sh set writes to stderr and can't be redirected directly,
3421 # and sets the high bit in the cache file unless we assign to the vars.
3424 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3426 # `set' does not quote correctly, so add quotes (double-quote
3427 # substitution turns \\\\ into \\, and sed turns \\ into \).
3430 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3433 # `set' quotes correctly as required by POSIX, so do not add quotes.
3435 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3442 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3444 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3446 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3447 if test -w $cache_file; then
3448 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3449 cat confcache >$cache_file
3451 echo "not updating unwritable cache $cache_file"
3456 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3457 # Let make expand exec_prefix.
3458 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3460 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3461 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3462 # trailing colons and then remove the whole line if VPATH becomes empty
3463 # (actually we leave an empty line to preserve line numbers).
3464 if test "x$srcdir" = x.; then
3465 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3466 s/:*\$(srcdir):*/:/;
3467 s/:*\${srcdir}:*/:/;
3469 s/^\([^=]*=[ ]*\):*/\1/;
3475 # Transform confdefs.h into DEFS.
3476 # Protect against shell expansion while executing Makefile rules.
3477 # Protect against Makefile macro expansion.
3479 # If the first sed substitution is executed (which looks for macros that
3480 # take arguments), then we branch to the quote section. Otherwise,
3481 # look for a macro that doesn't take arguments.
3482 cat >confdef2opt.sed <<\_ACEOF
3485 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3487 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3491 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3497 # We use echo to avoid assuming a particular line-breaking character.
3498 # The extra dot is to prevent the shell from consuming trailing
3499 # line-breaks from the sub-command output. A line-break within
3500 # single-quotes doesn't work because, if this script is created in a
3501 # platform that uses two characters for line-breaks (e.g., DOS), tr
3503 ac_LF_and_DOT=`echo; echo .`
3504 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3505 rm -f confdef2opt.sed
3510 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3511 # 1. Remove the extension, and $U if already installed.
3512 ac_i=`echo "$ac_i" |
3513 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3515 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3516 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3520 LTLIBOBJS=$ac_ltlibobjs
3524 : ${CONFIG_STATUS=./config.status}
3525 ac_clean_files_save=$ac_clean_files
3526 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3527 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3528 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3529 cat >$CONFIG_STATUS <<_ACEOF
3531 # Generated by $as_me.
3532 # Run this file to recreate the current configuration.
3533 # Compiler output produced by configure, useful for debugging
3534 # configure, is in config.log if it exists.
3539 SHELL=\${CONFIG_SHELL-$SHELL}
3542 cat >>$CONFIG_STATUS <<\_ACEOF
3543 ## --------------------- ##
3544 ## M4sh Initialization. ##
3545 ## --------------------- ##
3547 # Be Bourne compatible
3548 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3551 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3552 # is contrary to our usage. Disable this feature.
3553 alias -g '${1+"$@"}'='"$@"'
3554 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3558 # Support unset when possible.
3559 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3566 # Work around bugs in pre-3.0 UWIN ksh.
3567 $as_unset ENV MAIL MAILPATH
3574 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3575 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3576 LC_TELEPHONE LC_TIME
3578 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3579 eval $as_var=C; export $as_var
3585 # Required to use basename.
3586 if expr a : '\(a\)' >/dev/null 2>&1; then
3592 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3593 as_basename=basename
3599 # Name of the executable.
3600 as_me=`$as_basename "$0" ||
3601 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3602 X"$0" : 'X\(//\)$' \| \
3603 X"$0" : 'X\(/\)$' \| \
3604 . : '\(.\)' 2>/dev/null ||
3606 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3607 /^X\/\(\/\/\)$/{ s//\1/; q; }
3608 /^X\/\(\/\).*/{ s//\1/; q; }
3612 # PATH needs CR, and LINENO needs CR and PATH.
3613 # Avoid depending upon Character Ranges.
3614 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3615 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3616 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3617 as_cr_digits='0123456789'
3618 as_cr_alnum=$as_cr_Letters$as_cr_digits
3620 # The user is always right.
3621 if test "${PATH_SEPARATOR+set}" != set; then
3622 echo "#! /bin/sh" >conf$$.sh
3623 echo "exit 0" >>conf$$.sh
3625 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3636 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3637 test "x$as_lineno_1" != "x$as_lineno_2" &&
3638 test "x$as_lineno_3" = "x$as_lineno_2" || {
3639 # Find who we are. Look in the path if we contain no path at all
3642 *[\\/]* ) as_myself=$0 ;;
3643 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 test -z "$as_dir" && as_dir=.
3648 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3653 # We did not find ourselves, most probably we were run as `sh COMMAND'
3654 # in which case we are not to be found in the path.
3655 if test "x$as_myself" = x; then
3658 if test ! -f "$as_myself"; then
3659 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3660 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3661 { (exit 1); exit 1; }; }
3663 case $CONFIG_SHELL in
3665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3666 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3669 test -z "$as_dir" && as_dir=.
3670 for as_base in sh bash ksh sh5; do
3673 if ("$as_dir/$as_base" -c '
3676 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3677 test "x$as_lineno_1" != "x$as_lineno_2" &&
3678 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3679 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3680 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3681 CONFIG_SHELL=$as_dir/$as_base
3683 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3691 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3692 # uniformly replaced by the line number. The first 'sed' inserts a
3693 # line-number line before each line; the second 'sed' does the real
3694 # work. The second script uses 'N' to pair each line-number line
3695 # with the numbered line, and appends trailing '-' during
3696 # substitution so that $LINENO is not a special case at line end.
3697 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3698 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3699 sed '=' <$as_myself |
3704 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3707 s,^['$as_cr_digits']*\n,,
3709 chmod +x $as_me.lineno ||
3710 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3711 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3712 { (exit 1); exit 1; }; }
3714 # Don't try to exec as it changes $[0], causing all sort of problems
3715 # (the dirname of $[0] is not the place where we might find the
3716 # original and so on. Autoconf is especially sensible to this).
3718 # Exit status is that of the last command.
3723 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3724 *c*,-n*) ECHO_N= ECHO_C='
3726 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3727 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3730 if expr a : '\(a\)' >/dev/null 2>&1; then
3736 rm -f conf$$ conf$$.exe conf$$.file
3738 if ln -s conf$$.file conf$$ 2>/dev/null; then
3739 # We could just check for DJGPP; but this test a) works b) is more generic
3740 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3741 if test -f conf$$.exe; then
3742 # Don't use ln at all; we don't have any links
3747 elif ln conf$$.file conf$$ 2>/dev/null; then
3752 rm -f conf$$ conf$$.exe conf$$.file
3754 if mkdir -p . 2>/dev/null; then
3760 as_executable_p="test -f"
3762 # Sed expression to map a string onto a valid CPP name.
3763 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3765 # Sed expression to map a string onto a valid variable name.
3766 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3770 # We need space, tab and new line, in precisely that order.
3780 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3781 # report actual input values of CONFIG_FILES etc. instead of their
3782 # values after options handling. Logging --version etc. is OK.
3786 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3787 ## Running $as_me. ##
3792 This file was extended by $as_me, which was
3793 generated by GNU Autoconf 2.57. Invocation command line was
3795 CONFIG_FILES = $CONFIG_FILES
3796 CONFIG_HEADERS = $CONFIG_HEADERS
3797 CONFIG_LINKS = $CONFIG_LINKS
3798 CONFIG_COMMANDS = $CONFIG_COMMANDS
3802 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3806 # Files that config.status was made for.
3807 if test -n "$ac_config_files"; then
3808 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3811 if test -n "$ac_config_headers"; then
3812 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3815 if test -n "$ac_config_links"; then
3816 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3819 if test -n "$ac_config_commands"; then
3820 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3823 cat >>$CONFIG_STATUS <<\_ACEOF
3826 \`$as_me' instantiates files from templates according to the
3827 current configuration.
3829 Usage: $0 [OPTIONS] [FILE]...
3831 -h, --help print this help, then exit
3832 -V, --version print version number, then exit
3833 -q, --quiet do not print progress messages
3834 -d, --debug don't remove temporary files
3835 --recheck update $as_me by reconfiguring in the same conditions
3836 --file=FILE[:TEMPLATE]
3837 instantiate the configuration file FILE
3839 Configuration files:
3842 Report bugs to <bug-autoconf@gnu.org>."
3845 cat >>$CONFIG_STATUS <<_ACEOF
3848 configured by $0, generated by GNU Autoconf 2.57,
3849 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3851 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3852 Free Software Foundation, Inc.
3853 This config.status script is free software; the Free Software Foundation
3854 gives unlimited permission to copy, distribute and modify it."
3859 cat >>$CONFIG_STATUS <<\_ACEOF
3860 # If no file are specified by the user, then we need to provide default
3861 # value. By we need to know if files were specified by the user.
3867 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3868 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3876 *) # This is not an option, so the user has probably given explicit
3879 ac_need_defaults=false;;
3883 # Handling of the options.
3885 cat >>$CONFIG_STATUS <<\_ACEOF
3886 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3888 --version | --vers* | -V )
3889 echo "$ac_cs_version"; exit 0 ;;
3891 # Conflict between --help and --header
3892 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3893 Try \`$0 --help' for more information." >&5
3894 echo "$as_me: error: ambiguous option: $1
3895 Try \`$0 --help' for more information." >&2;}
3896 { (exit 1); exit 1; }; };;
3897 --help | --hel | -h )
3898 echo "$ac_cs_usage"; exit 0 ;;
3899 --debug | --d* | -d )
3901 --file | --fil | --fi | --f )
3903 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3904 ac_need_defaults=false;;
3905 --header | --heade | --head | --hea )
3907 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3908 ac_need_defaults=false;;
3909 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3910 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3914 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3915 Try \`$0 --help' for more information." >&5
3916 echo "$as_me: error: unrecognized option: $1
3917 Try \`$0 --help' for more information." >&2;}
3918 { (exit 1); exit 1; }; } ;;
3920 *) ac_config_targets="$ac_config_targets $1" ;;
3926 ac_configure_extra_args=
3928 if $ac_cs_silent; then
3930 ac_configure_extra_args="$ac_configure_extra_args --silent"
3934 cat >>$CONFIG_STATUS <<_ACEOF
3935 if \$ac_cs_recheck; then
3936 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3937 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3946 cat >>$CONFIG_STATUS <<\_ACEOF
3947 for ac_config_target in $ac_config_targets
3949 case "$ac_config_target" in
3950 # Handling of arguments.
3951 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3952 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3953 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3954 { (exit 1); exit 1; }; };;
3958 # If the user did not use the arguments to specify the items to instantiate,
3959 # then the envvar interface is used. Set only those that are not.
3960 # We use the long form for the default assignment because of an extremely
3961 # bizarre bug on SunOS 4.1.3.
3962 if $ac_need_defaults; then
3963 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3966 # Have a temporary directory for convenience. Make it in the build tree
3967 # simply because there is no reason to put it here, and in addition,
3968 # creating and moving files from /tmp can sometimes cause problems.
3969 # Create a temporary directory, and hook for its removal unless debugging.
3972 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3973 trap '{ (exit 1); exit 1; }' 1 2 13 15
3976 # Create a (secure) tmp directory for tmp files.
3979 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3980 test -n "$tmp" && test -d "$tmp"
3983 tmp=./confstat$$-$RANDOM
3984 (umask 077 && mkdir $tmp)
3987 echo "$me: cannot create a temporary directory in ." >&2
3988 { (exit 1); exit 1; }
3993 cat >>$CONFIG_STATUS <<_ACEOF
3996 # CONFIG_FILES section.
3999 # No need to generate the scripts if there are no CONFIG_FILES.
4000 # This happens for instance when ./config.status config.h
4001 if test -n "\$CONFIG_FILES"; then
4002 # Protect against being on the right side of a sed subst in config.status.
4003 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4004 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4005 s,@SHELL@,$SHELL,;t t
4006 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4007 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4008 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4009 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4010 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4011 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4012 s,@exec_prefix@,$exec_prefix,;t t
4013 s,@prefix@,$prefix,;t t
4014 s,@program_transform_name@,$program_transform_name,;t t
4015 s,@bindir@,$bindir,;t t
4016 s,@sbindir@,$sbindir,;t t
4017 s,@libexecdir@,$libexecdir,;t t
4018 s,@datadir@,$datadir,;t t
4019 s,@sysconfdir@,$sysconfdir,;t t
4020 s,@sharedstatedir@,$sharedstatedir,;t t
4021 s,@localstatedir@,$localstatedir,;t t
4022 s,@libdir@,$libdir,;t t
4023 s,@includedir@,$includedir,;t t
4024 s,@oldincludedir@,$oldincludedir,;t t
4025 s,@infodir@,$infodir,;t t
4026 s,@mandir@,$mandir,;t t
4027 s,@build_alias@,$build_alias,;t t
4028 s,@host_alias@,$host_alias,;t t
4029 s,@target_alias@,$target_alias,;t t
4031 s,@ECHO_C@,$ECHO_C,;t t
4032 s,@ECHO_N@,$ECHO_N,;t t
4033 s,@ECHO_T@,$ECHO_T,;t t
4036 s,@CFLAGS@,$CFLAGS,;t t
4037 s,@LDFLAGS@,$LDFLAGS,;t t
4038 s,@CPPFLAGS@,$CPPFLAGS,;t t
4039 s,@ac_ct_CC@,$ac_ct_CC,;t t
4040 s,@EXEEXT@,$EXEEXT,;t t
4041 s,@OBJEXT@,$OBJEXT,;t t
4042 s,@RANLIB@,$RANLIB,;t t
4043 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4044 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4045 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4046 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4048 s,@EGREP@,$EGREP,;t t
4049 s,@GETOPT_O@,$GETOPT_O,;t t
4050 s,@NO_GETOPT@,$NO_GETOPT,;t t
4051 s,@NO_LIBPAPER@,$NO_LIBPAPER,;t t
4052 s,@LIBPAPER@,$LIBPAPER,;t t
4053 s,@NO_STRERROR@,$NO_STRERROR,;t t
4054 s,@GMAKEDEPEND0@,$GMAKEDEPEND0,;t t
4055 s,@GMAKEDEPEND1@,$GMAKEDEPEND1,;t t
4056 s,@GMAKEDEPEND2@,$GMAKEDEPEND2,;t t
4057 s,@LIBOBJS@,$LIBOBJS,;t t
4058 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4063 cat >>$CONFIG_STATUS <<\_ACEOF
4064 # Split the substitutions into bite-sized pieces for seds with
4065 # small command number limits, like on Digital OSF/1 and HP-UX.
4067 ac_sed_frag=1 # Number of current file.
4068 ac_beg=1 # First line for current file.
4069 ac_end=$ac_max_sed_lines # Line after last line for current file.
4072 while $ac_more_lines; do
4073 if test $ac_beg -gt 1; then
4074 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4076 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4078 if test ! -s $tmp/subs.frag; then
4081 # The purpose of the label and of the branching condition is to
4082 # speed up the sed processing (if there are no `@' at all, there
4083 # is no need to browse any of the substitutions).
4084 # These are the two extra sed commands mentioned above.
4086 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4087 if test -z "$ac_sed_cmds"; then
4088 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4090 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4092 ac_sed_frag=`expr $ac_sed_frag + 1`
4094 ac_end=`expr $ac_end + $ac_max_sed_lines`
4097 if test -z "$ac_sed_cmds"; then
4100 fi # test -n "$CONFIG_FILES"
4103 cat >>$CONFIG_STATUS <<\_ACEOF
4104 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4105 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4107 - | *:- | *:-:* ) # input from stdin
4109 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4110 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4111 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4112 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4113 * ) ac_file_in=$ac_file.in ;;
4116 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4117 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4118 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4119 X"$ac_file" : 'X\(//\)[^/]' \| \
4120 X"$ac_file" : 'X\(//\)$' \| \
4121 X"$ac_file" : 'X\(/\)' \| \
4122 . : '\(.\)' 2>/dev/null ||
4124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4125 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4126 /^X\(\/\/\)$/{ s//\1/; q; }
4127 /^X\(\/\).*/{ s//\1/; q; }
4129 { if $as_mkdir_p; then
4134 while test ! -d "$as_dir"; do
4135 as_dirs="$as_dir $as_dirs"
4136 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4137 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4138 X"$as_dir" : 'X\(//\)[^/]' \| \
4139 X"$as_dir" : 'X\(//\)$' \| \
4140 X"$as_dir" : 'X\(/\)' \| \
4141 . : '\(.\)' 2>/dev/null ||
4143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4144 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4145 /^X\(\/\/\)$/{ s//\1/; q; }
4146 /^X\(\/\).*/{ s//\1/; q; }
4149 test ! -n "$as_dirs" || mkdir $as_dirs
4150 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4151 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4152 { (exit 1); exit 1; }; }; }
4156 if test "$ac_dir" != .; then
4157 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4158 # A "../" for each directory in $ac_dir_suffix.
4159 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4161 ac_dir_suffix= ac_top_builddir=
4165 .) # No --srcdir option. We are building in place.
4167 if test -z "$ac_top_builddir"; then
4170 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4172 [\\/]* | ?:[\\/]* ) # Absolute path.
4173 ac_srcdir=$srcdir$ac_dir_suffix;
4174 ac_top_srcdir=$srcdir ;;
4176 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4177 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4179 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4181 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4182 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4183 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4184 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4188 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4189 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4192 if test x"$ac_file" != x-; then
4193 { echo "$as_me:$LINENO: creating $ac_file" >&5
4194 echo "$as_me: creating $ac_file" >&6;}
4197 # Let's still pretend it is `configure' which instantiates (i.e., don't
4198 # use $as_me), people would be surprised to read:
4199 # /* config.h. Generated by config.status. */
4200 if test x"$ac_file" = x-; then
4203 configure_input="$ac_file. "
4205 configure_input=$configure_input"Generated from `echo $ac_file_in |
4206 sed 's,.*/,,'` by configure."
4208 # First look for the input files in the build tree, otherwise in the
4210 ac_file_inputs=`IFS=:
4211 for f in $ac_file_in; do
4213 -) echo $tmp/stdin ;;
4215 # Absolute (can't be DOS-style, as IFS=:)
4216 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4217 echo "$as_me: error: cannot find input file: $f" >&2;}
4218 { (exit 1); exit 1; }; }
4221 if test -f "$f"; then
4224 elif test -f "$srcdir/$f"; then
4229 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4230 echo "$as_me: error: cannot find input file: $f" >&2;}
4231 { (exit 1); exit 1; }; }
4234 done` || { (exit 1); exit 1; }
4236 cat >>$CONFIG_STATUS <<_ACEOF
4240 cat >>$CONFIG_STATUS <<\_ACEOF
4242 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4243 s,@configure_input@,$configure_input,;t t
4244 s,@srcdir@,$ac_srcdir,;t t
4245 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4246 s,@top_srcdir@,$ac_top_srcdir,;t t
4247 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4248 s,@builddir@,$ac_builddir,;t t
4249 s,@abs_builddir@,$ac_abs_builddir,;t t
4250 s,@top_builddir@,$ac_top_builddir,;t t
4251 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4252 s,@INSTALL@,$ac_INSTALL,;t t
4253 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4255 if test x"$ac_file" != x-; then
4256 mv $tmp/out $ac_file
4265 cat >>$CONFIG_STATUS <<\_ACEOF
4267 { (exit 0); exit 0; }
4269 chmod +x $CONFIG_STATUS
4270 ac_clean_files=$ac_clean_files_save
4273 # configure is writing to config.log, and then calls config.status.
4274 # config.status does its own redirection, appending to config.log.
4275 # Unfortunately, on DOS this fails, as config.log is still kept open
4276 # by configure, so config.status won't be able to write to it; its
4277 # output is simply discarded. So we exec the FD to /dev/null,
4278 # effectively closing config.log, so it can be properly (re)opened and
4279 # appended to by config.status. When coming back to configure, we
4280 # need to make the FD available again.
4281 if test "$no_create" != yes; then
4283 ac_config_status_args=
4284 test "$silent" = yes &&
4285 ac_config_status_args="$ac_config_status_args --quiet"
4287 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4289 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4290 # would make configure fail if this is the last instruction.
4291 $ac_cs_success || { (exit 1); exit 1; }
4299 ac_config_files="$ac_config_files doc/Makefile"
4300 cat >confcache <<\_ACEOF
4301 # This file is a shell script that caches the results of configure
4302 # tests run on this system so they can be shared between configure
4303 # scripts and configure runs, see configure's option --config-cache.
4304 # It is not useful on other systems. If it contains results you don't
4305 # want to keep, you may remove or edit it.
4307 # config.status only pays attention to the cache file if you give it
4308 # the --recheck option to rerun configure.
4310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4316 # The following way of writing the cache mishandles newlines in values,
4317 # but we know of no workaround that is simple, portable, and efficient.
4318 # So, don't put newlines in cache variables' values.
4319 # Ultrix sh set writes to stderr and can't be redirected directly,
4320 # and sets the high bit in the cache file unless we assign to the vars.
4323 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4325 # `set' does not quote correctly, so add quotes (double-quote
4326 # substitution turns \\\\ into \\, and sed turns \\ into \).
4329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4332 # `set' quotes correctly as required by POSIX, so do not add quotes.
4334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4343 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4345 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4346 if test -w $cache_file; then
4347 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4348 cat confcache >$cache_file
4350 echo "not updating unwritable cache $cache_file"
4355 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4356 # Let make expand exec_prefix.
4357 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4361 # trailing colons and then remove the whole line if VPATH becomes empty
4362 # (actually we leave an empty line to preserve line numbers).
4363 if test "x$srcdir" = x.; then
4364 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4365 s/:*\$(srcdir):*/:/;
4366 s/:*\${srcdir}:*/:/;
4368 s/^\([^=]*=[ ]*\):*/\1/;
4374 # Transform confdefs.h into DEFS.
4375 # Protect against shell expansion while executing Makefile rules.
4376 # Protect against Makefile macro expansion.
4378 # If the first sed substitution is executed (which looks for macros that
4379 # take arguments), then we branch to the quote section. Otherwise,
4380 # look for a macro that doesn't take arguments.
4381 cat >confdef2opt.sed <<\_ACEOF
4384 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4386 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4390 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4396 # We use echo to avoid assuming a particular line-breaking character.
4397 # The extra dot is to prevent the shell from consuming trailing
4398 # line-breaks from the sub-command output. A line-break within
4399 # single-quotes doesn't work because, if this script is created in a
4400 # platform that uses two characters for line-breaks (e.g., DOS), tr
4402 ac_LF_and_DOT=`echo; echo .`
4403 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4404 rm -f confdef2opt.sed
4409 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4410 # 1. Remove the extension, and $U if already installed.
4411 ac_i=`echo "$ac_i" |
4412 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4414 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4415 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4419 LTLIBOBJS=$ac_ltlibobjs
4423 : ${CONFIG_STATUS=./config.status}
4424 ac_clean_files_save=$ac_clean_files
4425 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4426 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4427 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4428 cat >$CONFIG_STATUS <<_ACEOF
4430 # Generated by $as_me.
4431 # Run this file to recreate the current configuration.
4432 # Compiler output produced by configure, useful for debugging
4433 # configure, is in config.log if it exists.
4438 SHELL=\${CONFIG_SHELL-$SHELL}
4441 cat >>$CONFIG_STATUS <<\_ACEOF
4442 ## --------------------- ##
4443 ## M4sh Initialization. ##
4444 ## --------------------- ##
4446 # Be Bourne compatible
4447 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4450 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4451 # is contrary to our usage. Disable this feature.
4452 alias -g '${1+"$@"}'='"$@"'
4453 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4457 # Support unset when possible.
4458 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4465 # Work around bugs in pre-3.0 UWIN ksh.
4466 $as_unset ENV MAIL MAILPATH
4473 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4474 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4475 LC_TELEPHONE LC_TIME
4477 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4478 eval $as_var=C; export $as_var
4484 # Required to use basename.
4485 if expr a : '\(a\)' >/dev/null 2>&1; then
4491 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4492 as_basename=basename
4498 # Name of the executable.
4499 as_me=`$as_basename "$0" ||
4500 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4501 X"$0" : 'X\(//\)$' \| \
4502 X"$0" : 'X\(/\)$' \| \
4503 . : '\(.\)' 2>/dev/null ||
4505 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4506 /^X\/\(\/\/\)$/{ s//\1/; q; }
4507 /^X\/\(\/\).*/{ s//\1/; q; }
4511 # PATH needs CR, and LINENO needs CR and PATH.
4512 # Avoid depending upon Character Ranges.
4513 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4514 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4515 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4516 as_cr_digits='0123456789'
4517 as_cr_alnum=$as_cr_Letters$as_cr_digits
4519 # The user is always right.
4520 if test "${PATH_SEPARATOR+set}" != set; then
4521 echo "#! /bin/sh" >conf$$.sh
4522 echo "exit 0" >>conf$$.sh
4524 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4535 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4536 test "x$as_lineno_1" != "x$as_lineno_2" &&
4537 test "x$as_lineno_3" = "x$as_lineno_2" || {
4538 # Find who we are. Look in the path if we contain no path at all
4541 *[\\/]* ) as_myself=$0 ;;
4542 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546 test -z "$as_dir" && as_dir=.
4547 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4552 # We did not find ourselves, most probably we were run as `sh COMMAND'
4553 # in which case we are not to be found in the path.
4554 if test "x$as_myself" = x; then
4557 if test ! -f "$as_myself"; then
4558 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4559 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4560 { (exit 1); exit 1; }; }
4562 case $CONFIG_SHELL in
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4568 test -z "$as_dir" && as_dir=.
4569 for as_base in sh bash ksh sh5; do
4572 if ("$as_dir/$as_base" -c '
4575 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4576 test "x$as_lineno_1" != "x$as_lineno_2" &&
4577 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4578 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4579 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4580 CONFIG_SHELL=$as_dir/$as_base
4582 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4590 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4591 # uniformly replaced by the line number. The first 'sed' inserts a
4592 # line-number line before each line; the second 'sed' does the real
4593 # work. The second script uses 'N' to pair each line-number line
4594 # with the numbered line, and appends trailing '-' during
4595 # substitution so that $LINENO is not a special case at line end.
4596 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4597 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4598 sed '=' <$as_myself |
4603 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4606 s,^['$as_cr_digits']*\n,,
4608 chmod +x $as_me.lineno ||
4609 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4610 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4611 { (exit 1); exit 1; }; }
4613 # Don't try to exec as it changes $[0], causing all sort of problems
4614 # (the dirname of $[0] is not the place where we might find the
4615 # original and so on. Autoconf is especially sensible to this).
4617 # Exit status is that of the last command.
4622 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4623 *c*,-n*) ECHO_N= ECHO_C='
4625 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4626 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4629 if expr a : '\(a\)' >/dev/null 2>&1; then
4635 rm -f conf$$ conf$$.exe conf$$.file
4637 if ln -s conf$$.file conf$$ 2>/dev/null; then
4638 # We could just check for DJGPP; but this test a) works b) is more generic
4639 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4640 if test -f conf$$.exe; then
4641 # Don't use ln at all; we don't have any links
4646 elif ln conf$$.file conf$$ 2>/dev/null; then
4651 rm -f conf$$ conf$$.exe conf$$.file
4653 if mkdir -p . 2>/dev/null; then
4659 as_executable_p="test -f"
4661 # Sed expression to map a string onto a valid CPP name.
4662 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4664 # Sed expression to map a string onto a valid variable name.
4665 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4669 # We need space, tab and new line, in precisely that order.
4679 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4680 # report actual input values of CONFIG_FILES etc. instead of their
4681 # values after options handling. Logging --version etc. is OK.
4685 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4686 ## Running $as_me. ##
4691 This file was extended by $as_me, which was
4692 generated by GNU Autoconf 2.57. Invocation command line was
4694 CONFIG_FILES = $CONFIG_FILES
4695 CONFIG_HEADERS = $CONFIG_HEADERS
4696 CONFIG_LINKS = $CONFIG_LINKS
4697 CONFIG_COMMANDS = $CONFIG_COMMANDS
4701 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4705 # Files that config.status was made for.
4706 if test -n "$ac_config_files"; then
4707 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4710 if test -n "$ac_config_headers"; then
4711 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4714 if test -n "$ac_config_links"; then
4715 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4718 if test -n "$ac_config_commands"; then
4719 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4722 cat >>$CONFIG_STATUS <<\_ACEOF
4725 \`$as_me' instantiates files from templates according to the
4726 current configuration.
4728 Usage: $0 [OPTIONS] [FILE]...
4730 -h, --help print this help, then exit
4731 -V, --version print version number, then exit
4732 -q, --quiet do not print progress messages
4733 -d, --debug don't remove temporary files
4734 --recheck update $as_me by reconfiguring in the same conditions
4735 --file=FILE[:TEMPLATE]
4736 instantiate the configuration file FILE
4738 Configuration files:
4741 Report bugs to <bug-autoconf@gnu.org>."
4744 cat >>$CONFIG_STATUS <<_ACEOF
4747 configured by $0, generated by GNU Autoconf 2.57,
4748 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4750 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4751 Free Software Foundation, Inc.
4752 This config.status script is free software; the Free Software Foundation
4753 gives unlimited permission to copy, distribute and modify it."
4758 cat >>$CONFIG_STATUS <<\_ACEOF
4759 # If no file are specified by the user, then we need to provide default
4760 # value. By we need to know if files were specified by the user.
4766 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4767 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4775 *) # This is not an option, so the user has probably given explicit
4778 ac_need_defaults=false;;
4782 # Handling of the options.
4784 cat >>$CONFIG_STATUS <<\_ACEOF
4785 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4787 --version | --vers* | -V )
4788 echo "$ac_cs_version"; exit 0 ;;
4790 # Conflict between --help and --header
4791 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4792 Try \`$0 --help' for more information." >&5
4793 echo "$as_me: error: ambiguous option: $1
4794 Try \`$0 --help' for more information." >&2;}
4795 { (exit 1); exit 1; }; };;
4796 --help | --hel | -h )
4797 echo "$ac_cs_usage"; exit 0 ;;
4798 --debug | --d* | -d )
4800 --file | --fil | --fi | --f )
4802 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4803 ac_need_defaults=false;;
4804 --header | --heade | --head | --hea )
4806 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4807 ac_need_defaults=false;;
4808 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4809 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4813 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4814 Try \`$0 --help' for more information." >&5
4815 echo "$as_me: error: unrecognized option: $1
4816 Try \`$0 --help' for more information." >&2;}
4817 { (exit 1); exit 1; }; } ;;
4819 *) ac_config_targets="$ac_config_targets $1" ;;
4825 ac_configure_extra_args=
4827 if $ac_cs_silent; then
4829 ac_configure_extra_args="$ac_configure_extra_args --silent"
4833 cat >>$CONFIG_STATUS <<_ACEOF
4834 if \$ac_cs_recheck; then
4835 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4836 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4845 cat >>$CONFIG_STATUS <<\_ACEOF
4846 for ac_config_target in $ac_config_targets
4848 case "$ac_config_target" in
4849 # Handling of arguments.
4850 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4851 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4852 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4853 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4854 { (exit 1); exit 1; }; };;
4858 # If the user did not use the arguments to specify the items to instantiate,
4859 # then the envvar interface is used. Set only those that are not.
4860 # We use the long form for the default assignment because of an extremely
4861 # bizarre bug on SunOS 4.1.3.
4862 if $ac_need_defaults; then
4863 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4866 # Have a temporary directory for convenience. Make it in the build tree
4867 # simply because there is no reason to put it here, and in addition,
4868 # creating and moving files from /tmp can sometimes cause problems.
4869 # Create a temporary directory, and hook for its removal unless debugging.
4872 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4873 trap '{ (exit 1); exit 1; }' 1 2 13 15
4876 # Create a (secure) tmp directory for tmp files.
4879 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4880 test -n "$tmp" && test -d "$tmp"
4883 tmp=./confstat$$-$RANDOM
4884 (umask 077 && mkdir $tmp)
4887 echo "$me: cannot create a temporary directory in ." >&2
4888 { (exit 1); exit 1; }
4893 cat >>$CONFIG_STATUS <<_ACEOF
4896 # CONFIG_FILES section.
4899 # No need to generate the scripts if there are no CONFIG_FILES.
4900 # This happens for instance when ./config.status config.h
4901 if test -n "\$CONFIG_FILES"; then
4902 # Protect against being on the right side of a sed subst in config.status.
4903 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4904 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4905 s,@SHELL@,$SHELL,;t t
4906 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4907 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4908 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4909 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4910 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4911 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4912 s,@exec_prefix@,$exec_prefix,;t t
4913 s,@prefix@,$prefix,;t t
4914 s,@program_transform_name@,$program_transform_name,;t t
4915 s,@bindir@,$bindir,;t t
4916 s,@sbindir@,$sbindir,;t t
4917 s,@libexecdir@,$libexecdir,;t t
4918 s,@datadir@,$datadir,;t t
4919 s,@sysconfdir@,$sysconfdir,;t t
4920 s,@sharedstatedir@,$sharedstatedir,;t t
4921 s,@localstatedir@,$localstatedir,;t t
4922 s,@libdir@,$libdir,;t t
4923 s,@includedir@,$includedir,;t t
4924 s,@oldincludedir@,$oldincludedir,;t t
4925 s,@infodir@,$infodir,;t t
4926 s,@mandir@,$mandir,;t t
4927 s,@build_alias@,$build_alias,;t t
4928 s,@host_alias@,$host_alias,;t t
4929 s,@target_alias@,$target_alias,;t t
4931 s,@ECHO_C@,$ECHO_C,;t t
4932 s,@ECHO_N@,$ECHO_N,;t t
4933 s,@ECHO_T@,$ECHO_T,;t t
4936 s,@CFLAGS@,$CFLAGS,;t t
4937 s,@LDFLAGS@,$LDFLAGS,;t t
4938 s,@CPPFLAGS@,$CPPFLAGS,;t t
4939 s,@ac_ct_CC@,$ac_ct_CC,;t t
4940 s,@EXEEXT@,$EXEEXT,;t t
4941 s,@OBJEXT@,$OBJEXT,;t t
4942 s,@RANLIB@,$RANLIB,;t t
4943 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4944 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4945 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4946 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4948 s,@EGREP@,$EGREP,;t t
4949 s,@GETOPT_O@,$GETOPT_O,;t t
4950 s,@NO_GETOPT@,$NO_GETOPT,;t t
4951 s,@NO_LIBPAPER@,$NO_LIBPAPER,;t t
4952 s,@LIBPAPER@,$LIBPAPER,;t t
4953 s,@NO_STRERROR@,$NO_STRERROR,;t t
4954 s,@GMAKEDEPEND0@,$GMAKEDEPEND0,;t t
4955 s,@GMAKEDEPEND1@,$GMAKEDEPEND1,;t t
4956 s,@GMAKEDEPEND2@,$GMAKEDEPEND2,;t t
4957 s,@LIBOBJS@,$LIBOBJS,;t t
4958 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4959 s,@MAKEINFO@,$MAKEINFO,;t t
4960 s,@REMOVEHTMLTAGS@,$REMOVEHTMLTAGS,;t t
4961 s,@INFOTOHTML@,$INFOTOHTML,;t t
4966 cat >>$CONFIG_STATUS <<\_ACEOF
4967 # Split the substitutions into bite-sized pieces for seds with
4968 # small command number limits, like on Digital OSF/1 and HP-UX.
4970 ac_sed_frag=1 # Number of current file.
4971 ac_beg=1 # First line for current file.
4972 ac_end=$ac_max_sed_lines # Line after last line for current file.
4975 while $ac_more_lines; do
4976 if test $ac_beg -gt 1; then
4977 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4979 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4981 if test ! -s $tmp/subs.frag; then
4984 # The purpose of the label and of the branching condition is to
4985 # speed up the sed processing (if there are no `@' at all, there
4986 # is no need to browse any of the substitutions).
4987 # These are the two extra sed commands mentioned above.
4989 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4990 if test -z "$ac_sed_cmds"; then
4991 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4993 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4995 ac_sed_frag=`expr $ac_sed_frag + 1`
4997 ac_end=`expr $ac_end + $ac_max_sed_lines`
5000 if test -z "$ac_sed_cmds"; then
5003 fi # test -n "$CONFIG_FILES"
5006 cat >>$CONFIG_STATUS <<\_ACEOF
5007 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5008 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5010 - | *:- | *:-:* ) # input from stdin
5012 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5013 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5014 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5015 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5016 * ) ac_file_in=$ac_file.in ;;
5019 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5020 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5021 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5022 X"$ac_file" : 'X\(//\)[^/]' \| \
5023 X"$ac_file" : 'X\(//\)$' \| \
5024 X"$ac_file" : 'X\(/\)' \| \
5025 . : '\(.\)' 2>/dev/null ||
5027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5028 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5029 /^X\(\/\/\)$/{ s//\1/; q; }
5030 /^X\(\/\).*/{ s//\1/; q; }
5032 { if $as_mkdir_p; then
5037 while test ! -d "$as_dir"; do
5038 as_dirs="$as_dir $as_dirs"
5039 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5040 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5041 X"$as_dir" : 'X\(//\)[^/]' \| \
5042 X"$as_dir" : 'X\(//\)$' \| \
5043 X"$as_dir" : 'X\(/\)' \| \
5044 . : '\(.\)' 2>/dev/null ||
5046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5047 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5048 /^X\(\/\/\)$/{ s//\1/; q; }
5049 /^X\(\/\).*/{ s//\1/; q; }
5052 test ! -n "$as_dirs" || mkdir $as_dirs
5053 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5054 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5055 { (exit 1); exit 1; }; }; }
5059 if test "$ac_dir" != .; then
5060 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5061 # A "../" for each directory in $ac_dir_suffix.
5062 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5064 ac_dir_suffix= ac_top_builddir=
5068 .) # No --srcdir option. We are building in place.
5070 if test -z "$ac_top_builddir"; then
5073 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5075 [\\/]* | ?:[\\/]* ) # Absolute path.
5076 ac_srcdir=$srcdir$ac_dir_suffix;
5077 ac_top_srcdir=$srcdir ;;
5079 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5080 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5082 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5084 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5085 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5086 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5087 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5091 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5092 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5095 if test x"$ac_file" != x-; then
5096 { echo "$as_me:$LINENO: creating $ac_file" >&5
5097 echo "$as_me: creating $ac_file" >&6;}
5100 # Let's still pretend it is `configure' which instantiates (i.e., don't
5101 # use $as_me), people would be surprised to read:
5102 # /* config.h. Generated by config.status. */
5103 if test x"$ac_file" = x-; then
5106 configure_input="$ac_file. "
5108 configure_input=$configure_input"Generated from `echo $ac_file_in |
5109 sed 's,.*/,,'` by configure."
5111 # First look for the input files in the build tree, otherwise in the
5113 ac_file_inputs=`IFS=:
5114 for f in $ac_file_in; do
5116 -) echo $tmp/stdin ;;
5118 # Absolute (can't be DOS-style, as IFS=:)
5119 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5120 echo "$as_me: error: cannot find input file: $f" >&2;}
5121 { (exit 1); exit 1; }; }
5124 if test -f "$f"; then
5127 elif test -f "$srcdir/$f"; then
5132 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5133 echo "$as_me: error: cannot find input file: $f" >&2;}
5134 { (exit 1); exit 1; }; }
5137 done` || { (exit 1); exit 1; }
5139 cat >>$CONFIG_STATUS <<_ACEOF
5143 cat >>$CONFIG_STATUS <<\_ACEOF
5145 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5146 s,@configure_input@,$configure_input,;t t
5147 s,@srcdir@,$ac_srcdir,;t t
5148 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5149 s,@top_srcdir@,$ac_top_srcdir,;t t
5150 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5151 s,@builddir@,$ac_builddir,;t t
5152 s,@abs_builddir@,$ac_abs_builddir,;t t
5153 s,@top_builddir@,$ac_top_builddir,;t t
5154 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5155 s,@INSTALL@,$ac_INSTALL,;t t
5156 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5158 if test x"$ac_file" != x-; then
5159 mv $tmp/out $ac_file
5168 cat >>$CONFIG_STATUS <<\_ACEOF
5170 { (exit 0); exit 0; }
5172 chmod +x $CONFIG_STATUS
5173 ac_clean_files=$ac_clean_files_save
5176 # configure is writing to config.log, and then calls config.status.
5177 # config.status does its own redirection, appending to config.log.
5178 # Unfortunately, on DOS this fails, as config.log is still kept open
5179 # by configure, so config.status won't be able to write to it; its
5180 # output is simply discarded. So we exec the FD to /dev/null,
5181 # effectively closing config.log, so it can be properly (re)opened and
5182 # appended to by config.status. When coming back to configure, we
5183 # need to make the FD available again.
5184 if test "$no_create" != yes; then
5186 ac_config_status_args=
5187 test "$silent" = yes &&
5188 ac_config_status_args="$ac_config_status_args --quiet"
5190 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5192 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5193 # would make configure fail if this is the last instruction.
5194 $ac_cs_success || { (exit 1); exit 1; }