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="src/file.c"
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT fsect FSECT5_TRUE FSECT5_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S build build_cpu build_vendor build_os host host_cpu host_vendor host_os RANLIB ac_ct_RANLIB LIBTOOL CPP EGREP LIBOBJS LTLIBOBJS'
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]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
844 if test -n "$ac_init_help"; then
849 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
850 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
851 --enable-maintainer-mode enable make rules and dependencies not useful
852 (and sometimes confusing) to the casual installer
853 --disable-elf disable builtin ELF support
854 --disable-elf-core disable ELF core file support
855 --enable-fsect-man5 enable file formats in man section 5
856 --disable-dependency-tracking Speeds up one-time builds
857 --enable-dependency-tracking Do not reject slow dependency extractors
858 --enable-shared=PKGS build shared libraries default=yes
859 --enable-static=PKGS build static libraries default=yes
860 --enable-fast-install=PKGS optimize for fast installation default=yes
861 --disable-libtool-lock avoid locking (might break parallel builds)
862 --disable-largefile omit support for large files
865 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
866 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
867 --with-gnu-ld assume the C compiler uses GNU ld default=no
868 --with-pic try to use only PIC/non-PIC objects default=use both
870 Some influential environment variables:
871 CC C compiler command
872 CFLAGS C compiler flags
873 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
874 nonstandard directory <lib dir>
875 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
876 headers in a nonstandard directory <include dir>
879 Use these variables to override the choices made by `configure' or to help
880 it to find libraries and programs with nonstandard names/locations.
885 if test "$ac_init_help" = "recursive"; then
886 # If there are subdirs, report their specific --help.
888 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
889 test -d $ac_dir || continue
892 if test "$ac_dir" != .; then
893 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
894 # A "../" for each directory in $ac_dir_suffix.
895 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
897 ac_dir_suffix= ac_top_builddir=
901 .) # No --srcdir option. We are building in place.
903 if test -z "$ac_top_builddir"; then
906 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
908 [\\/]* | ?:[\\/]* ) # Absolute path.
909 ac_srcdir=$srcdir$ac_dir_suffix;
910 ac_top_srcdir=$srcdir ;;
912 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
913 ac_top_srcdir=$ac_top_builddir$srcdir ;;
915 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
917 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
918 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
919 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
920 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
923 # Check for guested configure; otherwise get Cygnus style configure.
924 if test -f $ac_srcdir/configure.gnu; then
926 $SHELL $ac_srcdir/configure.gnu --help=recursive
927 elif test -f $ac_srcdir/configure; then
929 $SHELL $ac_srcdir/configure --help=recursive
930 elif test -f $ac_srcdir/configure.ac ||
931 test -f $ac_srcdir/configure.in; then
935 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
941 test -n "$ac_init_help" && exit 0
942 if $ac_init_version; then
945 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
946 Free Software Foundation, Inc.
947 This configure script is free software; the Free Software Foundation
948 gives unlimited permission to copy, distribute and modify it.
954 This file contains any messages produced by compilers while
955 running configure, to aid debugging if configure makes a mistake.
957 It was created by $as_me, which was
958 generated by GNU Autoconf 2.57. Invocation command line was
969 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
970 uname -m = `(uname -m) 2>/dev/null || echo unknown`
971 uname -r = `(uname -r) 2>/dev/null || echo unknown`
972 uname -s = `(uname -s) 2>/dev/null || echo unknown`
973 uname -v = `(uname -v) 2>/dev/null || echo unknown`
975 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
976 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
978 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
979 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
980 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
981 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
982 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
983 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
984 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
992 test -z "$as_dir" && as_dir=.
1008 # Keep a trace of the command line.
1009 # Strip out --no-create and --no-recursion so they do not pile up.
1010 # Strip out --silent because we don't want to record it for future runs.
1011 # Also quote any args containing shell meta-characters.
1012 # Make two passes to allow for proper duplicate-argument suppression.
1017 ac_must_keep_next=false
1023 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1025 | -silent | --silent | --silen | --sile | --sil)
1027 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1028 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1031 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1033 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1034 if test $ac_must_keep_next = true; then
1035 ac_must_keep_next=false # Got value, back to normal.
1038 *=* | --config-cache | -C | -disable-* | --disable-* \
1039 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1040 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1041 | -with-* | --with-* | -without-* | --without-* | --x)
1042 case "$ac_configure_args0 " in
1043 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1046 -* ) ac_must_keep_next=true ;;
1049 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1050 # Get rid of the leading space.
1056 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1057 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1059 # When interrupted or exit'd, cleanup temporary files, and complete
1060 # config.log. We remove comments because anyway the quotes in there
1061 # would cause problems or look ugly.
1062 # WARNING: Be sure not to use single quotes in there, as some shells,
1063 # such as our DU 5.0 friend, will then `close' the trap.
1064 trap 'exit_status=$?
1065 # Save into config.log some information that might help in debugging.
1070 ## ---------------- ##
1071 ## Cache variables. ##
1072 ## ---------------- ##
1075 # The following way of writing the cache mishandles newlines in values,
1078 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1081 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1086 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1093 ## ----------------- ##
1094 ## Output variables. ##
1095 ## ----------------- ##
1098 for ac_var in $ac_subst_vars
1100 eval ac_val=$`echo $ac_var`
1101 echo "$ac_var='"'"'$ac_val'"'"'"
1105 if test -n "$ac_subst_files"; then
1112 for ac_var in $ac_subst_files
1114 eval ac_val=$`echo $ac_var`
1115 echo "$ac_var='"'"'$ac_val'"'"'"
1120 if test -s confdefs.h; then
1127 sed "/^$/d" confdefs.h | sort
1130 test "$ac_signal" != 0 &&
1131 echo "$as_me: caught signal $ac_signal"
1132 echo "$as_me: exit $exit_status"
1134 rm -f core core.* *.core &&
1135 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1138 for ac_signal in 1 2 13 15; do
1139 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1143 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1144 rm -rf conftest* confdefs.h
1145 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1148 # Predefined preprocessor variables.
1150 cat >>confdefs.h <<_ACEOF
1151 #define PACKAGE_NAME "$PACKAGE_NAME"
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_STRING "$PACKAGE_STRING"
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1175 # Let the site file select an alternate cache file if it wants to.
1176 # Prefer explicitly selected file to automatically selected ones.
1177 if test -z "$CONFIG_SITE"; then
1178 if test "x$prefix" != xNONE; then
1179 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1181 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1184 for ac_site_file in $CONFIG_SITE; do
1185 if test -r "$ac_site_file"; then
1186 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1187 echo "$as_me: loading site script $ac_site_file" >&6;}
1188 sed 's/^/| /' "$ac_site_file" >&5
1193 if test -r "$cache_file"; then
1194 # Some versions of bash will fail to source /dev/null (special
1195 # files actually), so we avoid doing that.
1196 if test -f "$cache_file"; then
1197 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1198 echo "$as_me: loading cache $cache_file" >&6;}
1200 [\\/]* | ?:[\\/]* ) . $cache_file;;
1201 *) . ./$cache_file;;
1205 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1206 echo "$as_me: creating cache $cache_file" >&6;}
1210 # Check that the precious variables saved in the cache have kept the same
1212 ac_cache_corrupted=false
1213 for ac_var in `(set) 2>&1 |
1214 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1215 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1216 eval ac_new_set=\$ac_env_${ac_var}_set
1217 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1218 eval ac_new_val="\$ac_env_${ac_var}_value"
1219 case $ac_old_set,$ac_new_set in
1221 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1222 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1223 ac_cache_corrupted=: ;;
1225 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1226 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1227 ac_cache_corrupted=: ;;
1230 if test "x$ac_old_val" != "x$ac_new_val"; then
1231 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1232 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1233 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1234 echo "$as_me: former value: $ac_old_val" >&2;}
1235 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1236 echo "$as_me: current value: $ac_new_val" >&2;}
1237 ac_cache_corrupted=:
1240 # Pass precious variables to config.status.
1241 if test "$ac_new_set" = set; then
1243 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1244 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1245 *) ac_arg=$ac_var=$ac_new_val ;;
1247 case " $ac_configure_args " in
1248 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1249 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1253 if $ac_cache_corrupted; then
1254 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1255 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1256 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1257 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1258 { (exit 1); exit 1; }; }
1262 ac_cpp='$CPP $CPPFLAGS'
1263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1285 am__api_version="1.7"
1287 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1288 if test -f $ac_dir/install-sh; then
1290 ac_install_sh="$ac_aux_dir/install-sh -c"
1292 elif test -f $ac_dir/install.sh; then
1294 ac_install_sh="$ac_aux_dir/install.sh -c"
1296 elif test -f $ac_dir/shtool; then
1298 ac_install_sh="$ac_aux_dir/shtool install -c"
1302 if test -z "$ac_aux_dir"; then
1303 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1304 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1305 { (exit 1); exit 1; }; }
1307 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1308 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1309 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1311 # Find a good install program. We prefer a C program (faster),
1312 # so one script is as good as another. But avoid the broken or
1313 # incompatible versions:
1314 # SysV /etc/install, /usr/sbin/install
1315 # SunOS /usr/etc/install
1316 # IRIX /sbin/install
1318 # AmigaOS /C/install, which installs bootblocks on floppy discs
1319 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1320 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1321 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1322 # ./install, which can be erroneously created by make from ./install.sh.
1323 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1324 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1325 if test -z "$INSTALL"; then
1326 if test "${ac_cv_path_install+set}" = set; then
1327 echo $ECHO_N "(cached) $ECHO_C" >&6
1329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1333 test -z "$as_dir" && as_dir=.
1334 # Account for people who put trailing slashes in PATH elements.
1336 ./ | .// | /cC/* | \
1337 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1340 # OSF1 and SCO ODT 3.0 have their own names for install.
1341 # Don't use installbsd from OSF since it installs stuff as root
1343 for ac_prog in ginstall scoinst install; do
1344 for ac_exec_ext in '' $ac_executable_extensions; do
1345 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1346 if test $ac_prog = install &&
1347 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1348 # AIX install. It has an incompatible calling convention.
1350 elif test $ac_prog = install &&
1351 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1352 # program-specific install script used by HP pwplus--don't use.
1355 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1367 if test "${ac_cv_path_install+set}" = set; then
1368 INSTALL=$ac_cv_path_install
1370 # As a last resort, use the slow shell script. We don't cache a
1371 # path for INSTALL within a source directory, because that will
1372 # break other packages using the cache if that directory is
1373 # removed, or if the path is relative.
1374 INSTALL=$ac_install_sh
1377 echo "$as_me:$LINENO: result: $INSTALL" >&5
1378 echo "${ECHO_T}$INSTALL" >&6
1380 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1381 # It thinks the first close brace ends the variable substitution.
1382 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1384 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1386 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1388 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1389 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1392 echo timestamp > conftest.file
1393 # Do `set' in a subshell so we don't clobber the current shell's
1394 # arguments. Must try -L first in case configure is actually a
1395 # symlink; some systems play weird games with the mod time of symlinks
1396 # (eg FreeBSD returns the mod time of the symlink's containing
1399 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1400 if test "$*" = "X"; then
1402 set X `ls -t $srcdir/configure conftest.file`
1405 if test "$*" != "X $srcdir/configure conftest.file" \
1406 && test "$*" != "X conftest.file $srcdir/configure"; then
1408 # If neither matched, then we have a broken ls. This can happen
1409 # if, for instance, CONFIG_SHELL is bash and it inherits a
1410 # broken ls alias from the environment. This has actually
1411 # happened. Such a system could not be considered "sane".
1412 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1413 alias in your environment" >&5
1414 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1415 alias in your environment" >&2;}
1416 { (exit 1); exit 1; }; }
1419 test "$2" = conftest.file
1425 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1426 Check your system clock" >&5
1427 echo "$as_me: error: newly created file is older than distributed files!
1428 Check your system clock" >&2;}
1429 { (exit 1); exit 1; }; }
1431 echo "$as_me:$LINENO: result: yes" >&5
1432 echo "${ECHO_T}yes" >&6
1433 test "$program_prefix" != NONE &&
1434 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1435 # Use a double $ so make ignores it.
1436 test "$program_suffix" != NONE &&
1437 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1438 # Double any \ or $. echo might interpret backslashes.
1439 # By default was `s,x,x', remove it if useless.
1440 cat <<\_ACEOF >conftest.sed
1441 s/[\\$]/&&/g;s/;s,x,x,$//
1443 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1447 # expand $ac_aux_dir to an absolute path
1448 am_aux_dir=`cd $ac_aux_dir && pwd`
1450 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1451 # Use eval to expand $SHELL
1452 if eval "$MISSING --run true"; then
1453 am_missing_run="$MISSING --run "
1456 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1457 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1460 for ac_prog in gawk mawk nawk awk
1462 # Extract the first word of "$ac_prog", so it can be a program name with args.
1463 set dummy $ac_prog; ac_word=$2
1464 echo "$as_me:$LINENO: checking for $ac_word" >&5
1465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1466 if test "${ac_cv_prog_AWK+set}" = set; then
1467 echo $ECHO_N "(cached) $ECHO_C" >&6
1469 if test -n "$AWK"; then
1470 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1476 test -z "$as_dir" && as_dir=.
1477 for ac_exec_ext in '' $ac_executable_extensions; do
1478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1479 ac_cv_prog_AWK="$ac_prog"
1480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1489 if test -n "$AWK"; then
1490 echo "$as_me:$LINENO: result: $AWK" >&5
1491 echo "${ECHO_T}$AWK" >&6
1493 echo "$as_me:$LINENO: result: no" >&5
1494 echo "${ECHO_T}no" >&6
1497 test -n "$AWK" && break
1500 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1501 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1502 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1503 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1506 cat >conftest.make <<\_ACEOF
1508 @echo 'ac_maketemp="$(MAKE)"'
1510 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1511 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1512 if test -n "$ac_maketemp"; then
1513 eval ac_cv_prog_make_${ac_make}_set=yes
1515 eval ac_cv_prog_make_${ac_make}_set=no
1519 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1520 echo "$as_me:$LINENO: result: yes" >&5
1521 echo "${ECHO_T}yes" >&6
1524 echo "$as_me:$LINENO: result: no" >&5
1525 echo "${ECHO_T}no" >&6
1526 SET_MAKE="MAKE=${MAKE-make}"
1529 rm -rf .tst 2>/dev/null
1530 mkdir .tst 2>/dev/null
1531 if test -d .tst; then
1536 rmdir .tst 2>/dev/null
1538 # test to see if srcdir already configured
1539 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1540 test -f $srcdir/config.status; then
1541 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1542 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1543 { (exit 1); exit 1; }; }
1546 # test whether we have cygpath
1547 if test -z "$CYGPATH_W"; then
1548 if (cygpath --version) >/dev/null 2>/dev/null; then
1549 CYGPATH_W='cygpath -w'
1556 # Define the identity of the package.
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE "$PACKAGE"
1566 cat >>confdefs.h <<_ACEOF
1567 #define VERSION "$VERSION"
1570 # Some tools Automake needs.
1572 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1575 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1578 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1581 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1584 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1587 AMTAR=${AMTAR-"${am_missing_run}tar"}
1589 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1591 # Installed binaries are usually stripped using `strip' when the user
1592 # run `make install-strip'. However `strip' might not be the right
1593 # tool to use in cross-compilation environments, therefore Automake
1594 # will honor the `STRIP' environment variable to overrule this program.
1595 if test "$cross_compiling" != no; then
1596 if test -n "$ac_tool_prefix"; then
1597 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1598 set dummy ${ac_tool_prefix}strip; ac_word=$2
1599 echo "$as_me:$LINENO: checking for $ac_word" >&5
1600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1601 if test "${ac_cv_prog_STRIP+set}" = set; then
1602 echo $ECHO_N "(cached) $ECHO_C" >&6
1604 if test -n "$STRIP"; then
1605 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 test -z "$as_dir" && as_dir=.
1612 for ac_exec_ext in '' $ac_executable_extensions; do
1613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1614 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 STRIP=$ac_cv_prog_STRIP
1624 if test -n "$STRIP"; then
1625 echo "$as_me:$LINENO: result: $STRIP" >&5
1626 echo "${ECHO_T}$STRIP" >&6
1628 echo "$as_me:$LINENO: result: no" >&5
1629 echo "${ECHO_T}no" >&6
1633 if test -z "$ac_cv_prog_STRIP"; then
1635 # Extract the first word of "strip", so it can be a program name with args.
1636 set dummy strip; ac_word=$2
1637 echo "$as_me:$LINENO: checking for $ac_word" >&5
1638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1639 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1640 echo $ECHO_N "(cached) $ECHO_C" >&6
1642 if test -n "$ac_ct_STRIP"; then
1643 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1649 test -z "$as_dir" && as_dir=.
1650 for ac_exec_ext in '' $ac_executable_extensions; do
1651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1652 ac_cv_prog_ac_ct_STRIP="strip"
1653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1659 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1662 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1663 if test -n "$ac_ct_STRIP"; then
1664 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1665 echo "${ECHO_T}$ac_ct_STRIP" >&6
1667 echo "$as_me:$LINENO: result: no" >&5
1668 echo "${ECHO_T}no" >&6
1673 STRIP="$ac_cv_prog_STRIP"
1677 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1679 # We need awk for the "check" target. The system "awk" is bad on
1684 ac_config_headers="$ac_config_headers config.h"
1686 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1687 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1688 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1689 if test "${enable_maintainer_mode+set}" = set; then
1690 enableval="$enable_maintainer_mode"
1691 USE_MAINTAINER_MODE=$enableval
1693 USE_MAINTAINER_MODE=no
1695 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1696 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1699 if test $USE_MAINTAINER_MODE = yes; then
1700 MAINTAINER_MODE_TRUE=
1701 MAINTAINER_MODE_FALSE='#'
1703 MAINTAINER_MODE_TRUE='#'
1704 MAINTAINER_MODE_FALSE=
1707 MAINT=$MAINTAINER_MODE_TRUE
1711 echo "$as_me:$LINENO: checking for builtin ELF support" >&5
1712 echo $ECHO_N "checking for builtin ELF support... $ECHO_C" >&6
1713 # Check whether --enable-elf or --disable-elf was given.
1714 if test "${enable_elf+set}" = set; then
1715 enableval="$enable_elf"
1716 if test "${enableval}" = yes; then
1717 echo "$as_me:$LINENO: result: yes" >&5
1718 echo "${ECHO_T}yes" >&6
1719 cat >>confdefs.h <<\_ACEOF
1720 #define BUILTIN_ELF 1
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1730 echo "$as_me:$LINENO: result: yes" >&5
1731 echo "${ECHO_T}yes" >&6
1732 cat >>confdefs.h <<\_ACEOF
1733 #define BUILTIN_ELF 1
1739 echo "$as_me:$LINENO: checking for ELF core file support" >&5
1740 echo $ECHO_N "checking for ELF core file support... $ECHO_C" >&6
1741 # Check whether --enable-elf-core or --disable-elf-core was given.
1742 if test "${enable_elf_core+set}" = set; then
1743 enableval="$enable_elf_core"
1744 if test "${enableval}" = yes; then
1745 echo "$as_me:$LINENO: result: yes" >&5
1746 echo "${ECHO_T}yes" >&6
1747 cat >>confdefs.h <<\_ACEOF
1752 echo "$as_me:$LINENO: result: no" >&5
1753 echo "${ECHO_T}no" >&6
1758 echo "$as_me:$LINENO: result: yes" >&5
1759 echo "${ECHO_T}yes" >&6
1760 cat >>confdefs.h <<\_ACEOF
1767 echo "$as_me:$LINENO: checking for file formats in man section 5" >&5
1768 echo $ECHO_N "checking for file formats in man section 5... $ECHO_C" >&6
1769 # Check whether --enable-fsect-man5 or --disable-fsect-man5 was given.
1770 if test "${enable_fsect_man5+set}" = set; then
1771 enableval="$enable_fsect_man5"
1772 if test "${enableval}" = yes; then
1773 echo "$as_me:$LINENO: result: yes" >&5
1774 echo "${ECHO_T}yes" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1783 # disable by default
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1792 if test x$fsect = x5; then
1802 ac_cpp='$CPP $CPPFLAGS'
1803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1806 if test -n "$ac_tool_prefix"; then
1807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1808 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1809 echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1811 if test "${ac_cv_prog_CC+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 if test -n "$CC"; then
1815 ac_cv_prog_CC="$CC" # Let the user override the test.
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1834 if test -n "$CC"; then
1835 echo "$as_me:$LINENO: result: $CC" >&5
1836 echo "${ECHO_T}$CC" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1843 if test -z "$ac_cv_prog_CC"; then
1845 # Extract the first word of "gcc", so it can be a program name with args.
1846 set dummy gcc; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 if test -n "$ac_ct_CC"; then
1853 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_ac_ct_CC="gcc"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1872 if test -n "$ac_ct_CC"; then
1873 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1874 echo "${ECHO_T}$ac_ct_CC" >&6
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1885 if test -z "$CC"; then
1886 if test -n "$ac_tool_prefix"; then
1887 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1888 set dummy ${ac_tool_prefix}cc; ac_word=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_CC+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 if test -n "$CC"; then
1895 ac_cv_prog_CC="$CC" # Let the user override the test.
1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1901 test -z "$as_dir" && as_dir=.
1902 for ac_exec_ext in '' $ac_executable_extensions; do
1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904 ac_cv_prog_CC="${ac_tool_prefix}cc"
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914 if test -n "$CC"; then
1915 echo "$as_me:$LINENO: result: $CC" >&5
1916 echo "${ECHO_T}$CC" >&6
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1923 if test -z "$ac_cv_prog_CC"; then
1925 # Extract the first word of "cc", so it can be a program name with args.
1926 set dummy cc; ac_word=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$ac_ct_CC"; then
1933 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_ac_ct_CC="cc"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1952 if test -n "$ac_ct_CC"; then
1953 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1954 echo "${ECHO_T}$ac_ct_CC" >&6
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1966 if test -z "$CC"; then
1967 # Extract the first word of "cc", so it can be a program name with args.
1968 set dummy cc; ac_word=$2
1969 echo "$as_me:$LINENO: checking for $ac_word" >&5
1970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1971 if test "${ac_cv_prog_CC+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 if test -n "$CC"; then
1975 ac_cv_prog_CC="$CC" # Let the user override the test.
1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 test -z "$as_dir" && as_dir=.
1983 for ac_exec_ext in '' $ac_executable_extensions; do
1984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1985 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1986 ac_prog_rejected=yes
1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 if test $ac_prog_rejected = yes; then
1997 # We found a bogon in the path, so make sure we never use it.
1998 set dummy $ac_cv_prog_CC
2000 if test $# != 0; then
2001 # We chose a different compiler from the bogus one.
2002 # However, it has the same basename, so the bogon will be chosen
2003 # first if we set CC to just the basename; use the full file name.
2005 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2011 if test -n "$CC"; then
2012 echo "$as_me:$LINENO: result: $CC" >&5
2013 echo "${ECHO_T}$CC" >&6
2015 echo "$as_me:$LINENO: result: no" >&5
2016 echo "${ECHO_T}no" >&6
2020 if test -z "$CC"; then
2021 if test -n "$ac_tool_prefix"; then
2024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2025 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2026 echo "$as_me:$LINENO: checking for $ac_word" >&5
2027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2028 if test "${ac_cv_prog_CC+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 if test -n "$CC"; then
2032 ac_cv_prog_CC="$CC" # Let the user override the test.
2034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2038 test -z "$as_dir" && as_dir=.
2039 for ac_exec_ext in '' $ac_executable_extensions; do
2040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2041 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 if test -n "$CC"; then
2052 echo "$as_me:$LINENO: result: $CC" >&5
2053 echo "${ECHO_T}$CC" >&6
2055 echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6
2059 test -n "$CC" && break
2062 if test -z "$CC"; then
2066 # Extract the first word of "$ac_prog", so it can be a program name with args.
2067 set dummy $ac_prog; ac_word=$2
2068 echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 if test -n "$ac_ct_CC"; then
2074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083 ac_cv_prog_ac_ct_CC="$ac_prog"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2093 if test -n "$ac_ct_CC"; then
2094 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2095 echo "${ECHO_T}$ac_ct_CC" >&6
2097 echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6
2101 test -n "$ac_ct_CC" && break
2110 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2111 See \`config.log' for more details." >&5
2112 echo "$as_me: error: no acceptable C compiler found in \$PATH
2113 See \`config.log' for more details." >&2;}
2114 { (exit 1); exit 1; }; }
2116 # Provide some information about the compiler.
2117 echo "$as_me:$LINENO:" \
2118 "checking for C compiler version" >&5
2119 ac_compiler=`set X $ac_compile; echo $2`
2120 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2121 (eval $ac_compiler --version </dev/null >&5) 2>&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }
2125 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2126 (eval $ac_compiler -v </dev/null >&5) 2>&5
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }
2130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2131 (eval $ac_compiler -V </dev/null >&5) 2>&5
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134 (exit $ac_status); }
2136 cat >conftest.$ac_ext <<_ACEOF
2137 #line $LINENO "configure"
2140 cat confdefs.h >>conftest.$ac_ext
2141 cat >>conftest.$ac_ext <<_ACEOF
2142 /* end confdefs.h. */
2152 ac_clean_files_save=$ac_clean_files
2153 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2154 # Try to create an executable without -o first, disregard a.out.
2155 # It will help us diagnose broken compilers, and finding out an intuition
2157 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2158 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2159 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2160 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2161 (eval $ac_link_default) 2>&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; then
2165 # Find the output, starting from the most likely. This scheme is
2166 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2169 # Be careful to initialize this variable, since it used to be cached.
2170 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2172 # b.out is created by i960 compilers.
2173 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2175 test -f "$ac_file" || continue
2177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2180 # This is the source file.
2183 # We found the default executable, but exeext='' is most
2187 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2188 # FIXME: I believe we export ac_cv_exeext for Libtool,
2189 # but it would be cool to find out if it's true. Does anybody
2190 # maintain Libtool? --akim.
2198 echo "$as_me: failed program was:" >&5
2199 sed 's/^/| /' conftest.$ac_ext >&5
2201 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2202 See \`config.log' for more details." >&5
2203 echo "$as_me: error: C compiler cannot create executables
2204 See \`config.log' for more details." >&2;}
2205 { (exit 77); exit 77; }; }
2208 ac_exeext=$ac_cv_exeext
2209 echo "$as_me:$LINENO: result: $ac_file" >&5
2210 echo "${ECHO_T}$ac_file" >&6
2212 # Check the compiler produces executables we can run. If not, either
2213 # the compiler is broken, or we cross compile.
2214 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2215 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2216 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2217 # If not cross compiling, check that we can run a simple program.
2218 if test "$cross_compiling" != yes; then
2219 if { ac_try='./$ac_file'
2220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); }; }; then
2227 if test "$cross_compiling" = maybe; then
2230 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2231 If you meant to cross compile, use \`--host'.
2232 See \`config.log' for more details." >&5
2233 echo "$as_me: error: cannot run C compiled programs.
2234 If you meant to cross compile, use \`--host'.
2235 See \`config.log' for more details." >&2;}
2236 { (exit 1); exit 1; }; }
2240 echo "$as_me:$LINENO: result: yes" >&5
2241 echo "${ECHO_T}yes" >&6
2243 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2244 ac_clean_files=$ac_clean_files_save
2245 # Check the compiler produces executables we can run. If not, either
2246 # the compiler is broken, or we cross compile.
2247 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2248 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2249 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2250 echo "${ECHO_T}$cross_compiling" >&6
2252 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2253 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2255 (eval $ac_link) 2>&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }; then
2259 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2260 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2261 # work properly (i.e., refer to `conftest.exe'), while it won't with
2263 for ac_file in conftest.exe conftest conftest.*; do
2264 test -f "$ac_file" || continue
2266 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2267 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2274 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2275 See \`config.log' for more details." >&5
2276 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2277 See \`config.log' for more details." >&2;}
2278 { (exit 1); exit 1; }; }
2281 rm -f conftest$ac_cv_exeext
2282 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2283 echo "${ECHO_T}$ac_cv_exeext" >&6
2285 rm -f conftest.$ac_ext
2286 EXEEXT=$ac_cv_exeext
2288 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2289 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2290 if test "${ac_cv_objext+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 cat >conftest.$ac_ext <<_ACEOF
2294 #line $LINENO "configure"
2297 cat confdefs.h >>conftest.$ac_ext
2298 cat >>conftest.$ac_ext <<_ACEOF
2299 /* end confdefs.h. */
2309 rm -f conftest.o conftest.obj
2310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311 (eval $ac_compile) 2>&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); }; then
2315 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2318 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2323 echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2326 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2327 See \`config.log' for more details." >&5
2328 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2329 See \`config.log' for more details." >&2;}
2330 { (exit 1); exit 1; }; }
2333 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2335 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2336 echo "${ECHO_T}$ac_cv_objext" >&6
2337 OBJEXT=$ac_cv_objext
2339 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2340 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2341 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 cat >conftest.$ac_ext <<_ACEOF
2345 #line $LINENO "configure"
2348 cat confdefs.h >>conftest.$ac_ext
2349 cat >>conftest.$ac_ext <<_ACEOF
2350 /* end confdefs.h. */
2363 rm -f conftest.$ac_objext
2364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2365 (eval $ac_compile) 2>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); } &&
2369 { ac_try='test -s conftest.$ac_objext'
2370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; }; then
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.$ac_ext >&5
2382 rm -f conftest.$ac_objext conftest.$ac_ext
2383 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2386 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2387 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2388 GCC=`test $ac_compiler_gnu = yes && echo yes`
2389 ac_test_CFLAGS=${CFLAGS+set}
2390 ac_save_CFLAGS=$CFLAGS
2392 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2393 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2394 if test "${ac_cv_prog_cc_g+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 cat >conftest.$ac_ext <<_ACEOF
2398 #line $LINENO "configure"
2401 cat confdefs.h >>conftest.$ac_ext
2402 cat >>conftest.$ac_ext <<_ACEOF
2403 /* end confdefs.h. */
2413 rm -f conftest.$ac_objext
2414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2415 (eval $ac_compile) 2>&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); } &&
2419 { ac_try='test -s conftest.$ac_objext'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; }; then
2427 echo "$as_me: failed program was:" >&5
2428 sed 's/^/| /' conftest.$ac_ext >&5
2432 rm -f conftest.$ac_objext conftest.$ac_ext
2434 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2435 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2436 if test "$ac_test_CFLAGS" = set; then
2437 CFLAGS=$ac_save_CFLAGS
2438 elif test $ac_cv_prog_cc_g = yes; then
2439 if test "$GCC" = yes; then
2445 if test "$GCC" = yes; then
2451 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2452 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2453 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2456 ac_cv_prog_cc_stdc=no
2458 cat >conftest.$ac_ext <<_ACEOF
2459 #line $LINENO "configure"
2462 cat confdefs.h >>conftest.$ac_ext
2463 cat >>conftest.$ac_ext <<_ACEOF
2464 /* end confdefs.h. */
2467 #include <sys/types.h>
2468 #include <sys/stat.h>
2469 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2470 struct buf { int x; };
2471 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2472 static char *e (p, i)
2478 static char *f (char * (*g) (char **, int), char **p, ...)
2483 s = g (p, va_arg (v,int));
2487 int test (int i, double x);
2488 struct s1 {int (*f) (int a);};
2489 struct s2 {int (*f) (double a);};
2490 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2496 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2501 # Don't try gcc -ansi; that turns off useful extensions and
2502 # breaks some systems' header files.
2503 # AIX -qlanglvl=ansi
2504 # Ultrix and OSF/1 -std1
2505 # HP-UX 10.20 and later -Ae
2506 # HP-UX older versions -Aa -D_HPUX_SOURCE
2507 # SVR4 -Xc -D__EXTENSIONS__
2508 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2510 CC="$ac_save_CC $ac_arg"
2511 rm -f conftest.$ac_objext
2512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2513 (eval $ac_compile) 2>&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); } &&
2517 { ac_try='test -s conftest.$ac_objext'
2518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }; }; then
2523 ac_cv_prog_cc_stdc=$ac_arg
2526 echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.$ac_ext >&5
2530 rm -f conftest.$ac_objext
2532 rm -f conftest.$ac_ext conftest.$ac_objext
2537 case "x$ac_cv_prog_cc_stdc" in
2539 echo "$as_me:$LINENO: result: none needed" >&5
2540 echo "${ECHO_T}none needed" >&6 ;;
2542 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2543 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2544 CC="$CC $ac_cv_prog_cc_stdc" ;;
2547 # Some people use a C++ compiler to compile C. Since we use `exit',
2548 # in C++ we need to declare it. In case someone uses the same compiler
2549 # for both compiling C and C++ we need to have the C++ compiler decide
2550 # the declaration of exit, since it's the most demanding environment.
2551 cat >conftest.$ac_ext <<_ACEOF
2556 rm -f conftest.$ac_objext
2557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2558 (eval $ac_compile) 2>&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); } &&
2562 { ac_try='test -s conftest.$ac_objext'
2563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); }; }; then
2568 for ac_declaration in \
2570 '#include <stdlib.h>' \
2571 'extern "C" void std::exit (int) throw (); using std::exit;' \
2572 'extern "C" void std::exit (int); using std::exit;' \
2573 'extern "C" void exit (int) throw ();' \
2574 'extern "C" void exit (int);' \
2577 cat >conftest.$ac_ext <<_ACEOF
2578 #line $LINENO "configure"
2581 cat confdefs.h >>conftest.$ac_ext
2582 cat >>conftest.$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2594 rm -f conftest.$ac_objext
2595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596 (eval $ac_compile) 2>&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); } &&
2600 { ac_try='test -s conftest.$ac_objext'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; }; then
2608 echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2613 rm -f conftest.$ac_objext conftest.$ac_ext
2614 cat >conftest.$ac_ext <<_ACEOF
2615 #line $LINENO "configure"
2618 cat confdefs.h >>conftest.$ac_ext
2619 cat >>conftest.$ac_ext <<_ACEOF
2620 /* end confdefs.h. */
2630 rm -f conftest.$ac_objext
2631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2632 (eval $ac_compile) 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); } &&
2636 { ac_try='test -s conftest.$ac_objext'
2637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }; }; then
2644 echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2648 rm -f conftest.$ac_objext conftest.$ac_ext
2651 if test -n "$ac_declaration"; then
2652 echo '#ifdef __cplusplus' >>confdefs.h
2653 echo $ac_declaration >>confdefs.h
2654 echo '#endif' >>confdefs.h
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.$ac_ext >&5
2662 rm -f conftest.$ac_objext conftest.$ac_ext
2664 ac_cpp='$CPP $CPPFLAGS'
2665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2668 DEPDIR="${am__leading_dot}deps"
2670 ac_config_commands="$ac_config_commands depfiles"
2673 am_make=${MAKE-make}
2674 cat > confinc << 'END'
2679 # If we don't find an include directive, just comment out the code.
2680 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2681 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2685 # First try GNU make style include.
2686 echo "include confinc" > confmf
2687 # We grep out `Entering directory' and `Leaving directory'
2688 # messages which can occur if `w' ends up in MAKEFLAGS.
2689 # In particular we don't look at `^make:' because GNU make might
2690 # be invoked under some other name (usually "gmake"), in which
2691 # case it prints its new name instead of `make'.
2692 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2697 # Now try BSD make style include.
2698 if test "$am__include" = "#"; then
2699 echo '.include "confinc"' > confmf
2700 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2701 am__include=.include
2708 echo "$as_me:$LINENO: result: $_am_result" >&5
2709 echo "${ECHO_T}$_am_result" >&6
2710 rm -f confinc confmf
2712 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2713 if test "${enable_dependency_tracking+set}" = set; then
2714 enableval="$enable_dependency_tracking"
2717 if test "x$enable_dependency_tracking" != xno; then
2718 am_depcomp="$ac_aux_dir/depcomp"
2723 if test "x$enable_dependency_tracking" != xno; then
2734 depcc="$CC" am_compiler_list=
2736 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2737 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2738 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
2741 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2742 # We make a subdir and do the tests there. Otherwise we can end up
2743 # making bogus files that we don't know about and never remove. For
2744 # instance it was reported that on HP-UX the gcc test will end up
2745 # making a dummy file named `D' -- because `-MD' means `put the output
2748 # Copy depcomp to subdir because otherwise we won't find it if we're
2749 # using a relative directory.
2750 cp "$am_depcomp" conftest.dir
2752 # We will build objects and dependencies in a subdirectory because
2753 # it helps to detect inapplicable dependency modes. For instance
2754 # both Tru64's cc and ICC support -MD to output dependencies as a
2755 # side effect of compilation, but ICC will put the dependencies in
2756 # the current directory while Tru64 will put them in the object
2760 am_cv_CC_dependencies_compiler_type=none
2761 if test "$am_compiler_list" = ""; then
2762 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2764 for depmode in $am_compiler_list; do
2765 # Setup a source with many dependencies, because some compilers
2766 # like to wrap large dependency lists on column 80 (with \), and
2767 # we should not choose a depcomp mode which is confused by this.
2769 # We need to recreate these files for each test, as the compiler may
2770 # overwrite some of them when testing with obscure command lines.
2771 # This happens at least with the AIX C compiler.
2773 for i in 1 2 3 4 5 6; do
2774 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2777 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2781 # after this tag, mechanisms are not by side-effect, so they'll
2782 # only be used when explicitly requested
2783 if test "x$enable_dependency_tracking" = xyes; then
2791 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2792 # mode. It turns out that the SunPro C++ compiler does not properly
2793 # handle `-M -o', and we need to detect this.
2794 if depmode=$depmode \
2795 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2796 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2797 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2798 >/dev/null 2>conftest.err &&
2799 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2800 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2801 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2802 # icc doesn't choke on unknown options, it will just issue warnings
2803 # (even with -Werror). So we grep stderr for any message
2804 # that says an option was ignored.
2805 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2806 am_cv_CC_dependencies_compiler_type=$depmode
2815 am_cv_CC_dependencies_compiler_type=none
2819 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2820 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2821 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2826 test "x$enable_dependency_tracking" != xno \
2827 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2829 am__fastdepCC_FALSE='#'
2831 am__fastdepCC_TRUE='#'
2832 am__fastdepCC_FALSE=
2836 # Find a good install program. We prefer a C program (faster),
2837 # so one script is as good as another. But avoid the broken or
2838 # incompatible versions:
2839 # SysV /etc/install, /usr/sbin/install
2840 # SunOS /usr/etc/install
2841 # IRIX /sbin/install
2843 # AmigaOS /C/install, which installs bootblocks on floppy discs
2844 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2845 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2846 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2847 # ./install, which can be erroneously created by make from ./install.sh.
2848 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2849 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2850 if test -z "$INSTALL"; then
2851 if test "${ac_cv_path_install+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858 test -z "$as_dir" && as_dir=.
2859 # Account for people who put trailing slashes in PATH elements.
2861 ./ | .// | /cC/* | \
2862 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2865 # OSF1 and SCO ODT 3.0 have their own names for install.
2866 # Don't use installbsd from OSF since it installs stuff as root
2868 for ac_prog in ginstall scoinst install; do
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2871 if test $ac_prog = install &&
2872 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2873 # AIX install. It has an incompatible calling convention.
2875 elif test $ac_prog = install &&
2876 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2877 # program-specific install script used by HP pwplus--don't use.
2880 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2892 if test "${ac_cv_path_install+set}" = set; then
2893 INSTALL=$ac_cv_path_install
2895 # As a last resort, use the slow shell script. We don't cache a
2896 # path for INSTALL within a source directory, because that will
2897 # break other packages using the cache if that directory is
2898 # removed, or if the path is relative.
2899 INSTALL=$ac_install_sh
2902 echo "$as_me:$LINENO: result: $INSTALL" >&5
2903 echo "${ECHO_T}$INSTALL" >&6
2905 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2906 # It thinks the first close brace ends the variable substitution.
2907 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2909 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2911 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2913 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2914 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2916 if test "$LN_S" = "ln -s"; then
2917 echo "$as_me:$LINENO: result: yes" >&5
2918 echo "${ECHO_T}yes" >&6
2920 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2921 echo "${ECHO_T}no, using $LN_S" >&6
2924 # Check whether --enable-shared or --disable-shared was given.
2925 if test "${enable_shared+set}" = set; then
2926 enableval="$enable_shared"
2927 p=${PACKAGE-default}
2929 yes) enable_shared=yes ;;
2930 no) enable_shared=no ;;
2933 # Look at the argument we got. We use all the common list separators.
2934 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2935 for pkg in $enableval; do
2936 if test "X$pkg" = "X$p"; then
2946 # Check whether --enable-static or --disable-static was given.
2947 if test "${enable_static+set}" = set; then
2948 enableval="$enable_static"
2949 p=${PACKAGE-default}
2951 yes) enable_static=yes ;;
2952 no) enable_static=no ;;
2955 # Look at the argument we got. We use all the common list separators.
2956 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2957 for pkg in $enableval; do
2958 if test "X$pkg" = "X$p"; then
2968 # Check whether --enable-fast-install or --disable-fast-install was given.
2969 if test "${enable_fast_install+set}" = set; then
2970 enableval="$enable_fast_install"
2971 p=${PACKAGE-default}
2973 yes) enable_fast_install=yes ;;
2974 no) enable_fast_install=no ;;
2976 enable_fast_install=no
2977 # Look at the argument we got. We use all the common list separators.
2978 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2979 for pkg in $enableval; do
2980 if test "X$pkg" = "X$p"; then
2981 enable_fast_install=yes
2988 enable_fast_install=yes
2990 # Make sure we can run config.sub.
2991 $ac_config_sub sun4 >/dev/null 2>&1 ||
2992 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2993 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2994 { (exit 1); exit 1; }; }
2996 echo "$as_me:$LINENO: checking build system type" >&5
2997 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2998 if test "${ac_cv_build+set}" = set; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 ac_cv_build_alias=$build_alias
3002 test -z "$ac_cv_build_alias" &&
3003 ac_cv_build_alias=`$ac_config_guess`
3004 test -z "$ac_cv_build_alias" &&
3005 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3006 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3007 { (exit 1); exit 1; }; }
3008 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3009 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3010 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3011 { (exit 1); exit 1; }; }
3014 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3015 echo "${ECHO_T}$ac_cv_build" >&6
3017 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3018 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3019 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3022 echo "$as_me:$LINENO: checking host system type" >&5
3023 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3024 if test "${ac_cv_host+set}" = set; then
3025 echo $ECHO_N "(cached) $ECHO_C" >&6
3027 ac_cv_host_alias=$host_alias
3028 test -z "$ac_cv_host_alias" &&
3029 ac_cv_host_alias=$ac_cv_build_alias
3030 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3031 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3032 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3033 { (exit 1); exit 1; }; }
3036 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3037 echo "${ECHO_T}$ac_cv_host" >&6
3039 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3040 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3041 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3045 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3046 if test "${with_gnu_ld+set}" = set; then
3047 withval="$with_gnu_ld"
3048 test "$withval" = no || with_gnu_ld=yes
3053 if test "$GCC" = yes; then
3054 # Check if gcc -print-prog-name=ld gives a path.
3055 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3056 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3059 # gcc leaves a trailing carriage return which upsets mingw
3060 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3062 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3065 # Accept absolute paths.
3066 [\\/]* | [A-Za-z]:[\\/]*)
3067 re_direlt='/[^/][^/]*/\.\./'
3068 # Canonicalize the path of ld
3069 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3070 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3071 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3073 test -z "$LD" && LD="$ac_prog"
3076 # If it fails, then pretend we aren't using GCC.
3080 # If it is relative, then search for the first ld in PATH.
3084 elif test "$with_gnu_ld" = yes; then
3085 echo "$as_me:$LINENO: checking for GNU ld" >&5
3086 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3088 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3089 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3091 if test "${lt_cv_path_LD+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3094 if test -z "$LD"; then
3095 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3096 for ac_dir in $PATH; do
3097 test -z "$ac_dir" && ac_dir=.
3098 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3099 lt_cv_path_LD="$ac_dir/$ac_prog"
3100 # Check to see if the program is GNU ld. I'd rather use --version,
3101 # but apparently some GNU ld's only accept -v.
3102 # Break only if it was the GNU/non-GNU ld that we prefer.
3103 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3104 test "$with_gnu_ld" != no && break
3106 test "$with_gnu_ld" != yes && break
3112 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3117 if test -n "$LD"; then
3118 echo "$as_me:$LINENO: result: $LD" >&5
3119 echo "${ECHO_T}$LD" >&6
3121 echo "$as_me:$LINENO: result: no" >&5
3122 echo "${ECHO_T}no" >&6
3124 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3125 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3126 { (exit 1); exit 1; }; }
3127 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3128 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3129 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3130 echo $ECHO_N "(cached) $ECHO_C" >&6
3132 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3133 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3134 lt_cv_prog_gnu_ld=yes
3136 lt_cv_prog_gnu_ld=no
3139 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3140 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3141 with_gnu_ld=$lt_cv_prog_gnu_ld
3144 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3145 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3146 if test "${lt_cv_ld_reload_flag+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 lt_cv_ld_reload_flag='-r'
3151 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3152 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3153 reload_flag=$lt_cv_ld_reload_flag
3154 test -n "$reload_flag" && reload_flag=" $reload_flag"
3156 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3157 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3158 if test "${lt_cv_path_NM+set}" = set; then
3159 echo $ECHO_N "(cached) $ECHO_C" >&6
3161 if test -n "$NM"; then
3162 # Let the user override the test.
3165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3166 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3167 test -z "$ac_dir" && ac_dir=.
3168 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3169 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3170 # Check to see if the nm accepts a BSD-compat flag.
3171 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3172 # nm: unknown option "B" ignored
3173 # Tru64's nm complains that /dev/null is an invalid object file
3174 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3175 lt_cv_path_NM="$tmp_nm -B"
3177 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3178 lt_cv_path_NM="$tmp_nm -p"
3181 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3182 continue # so that we can try to find one that supports BSD flags
3187 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3192 echo "$as_me:$LINENO: result: $NM" >&5
3193 echo "${ECHO_T}$NM" >&6
3195 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3196 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3197 if test "${lt_cv_deplibs_check_method+set}" = set; then
3198 echo $ECHO_N "(cached) $ECHO_C" >&6
3200 lt_cv_file_magic_cmd='$MAGIC_CMD'
3201 lt_cv_file_magic_test_file=
3202 lt_cv_deplibs_check_method='unknown'
3203 # Need to set the preceding variable on all platforms that support
3204 # interlibrary dependencies.
3205 # 'none' -- dependencies not supported.
3206 # `unknown' -- same as none, but documents that we really don't know.
3207 # 'pass_all' -- all dependencies passed with no checks.
3208 # 'test_compile' -- check by making test program.
3209 # 'file_magic [regex]' -- check by looking for files in library path
3210 # which responds to the $file_magic_cmd with a given egrep regex.
3211 # If you have `file' or equivalent on your system and you're not sure
3212 # whether `pass_all' will *always* work, you probably want this one.
3216 lt_cv_deplibs_check_method=pass_all
3220 lt_cv_deplibs_check_method=pass_all
3224 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3225 lt_cv_file_magic_cmd='/usr/bin/file -L'
3226 lt_cv_file_magic_test_file=/shlib/libc.so
3229 cygwin* | mingw* |pw32*)
3230 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3231 lt_cv_file_magic_cmd='$OBJDUMP -f'
3234 darwin* | rhapsody*)
3235 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3236 lt_cv_file_magic_cmd='/usr/bin/file -L'
3238 rhapsody* | darwin1.012)
3239 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3242 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3248 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3251 # Not sure whether the presence of OpenBSD here was a mistake.
3252 # Let's accept both of them until this is cleared up.
3253 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3254 lt_cv_file_magic_cmd=/usr/bin/file
3255 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3259 lt_cv_deplibs_check_method=pass_all
3264 lt_cv_deplibs_check_method=pass_all
3268 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3269 lt_cv_file_magic_cmd=/usr/bin/file
3270 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3276 # this will be overridden with pass_all, but let us keep it just in case
3277 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3281 *-32|*"-32 ") libmagic=32-bit;;
3282 *-n32|*"-n32 ") libmagic=N32;;
3283 *-64|*"-64 ") libmagic=64-bit;;
3284 *) libmagic=never-match;;
3286 # this will be overridden with pass_all, but let us keep it just in case
3287 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3290 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3291 lt_cv_deplibs_check_method=pass_all
3294 # This must be Linux ELF.
3297 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3298 lt_cv_deplibs_check_method=pass_all ;;
3300 # glibc up to 2.1.1 does not perform some relocations on ARM
3301 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3303 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3307 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3308 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3310 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3315 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3316 lt_cv_file_magic_cmd=/usr/bin/file
3317 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3320 osf3* | osf4* | osf5*)
3321 # this will be overridden with pass_all, but let us keep it just in case
3322 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3323 lt_cv_file_magic_test_file=/shlib/libc.so
3324 lt_cv_deplibs_check_method=pass_all
3328 lt_cv_deplibs_check_method=pass_all
3332 lt_cv_deplibs_check_method=pass_all
3333 lt_cv_file_magic_test_file=/lib/libc.so
3336 sysv5uw[78]* | sysv4*uw2*)
3337 lt_cv_deplibs_check_method=pass_all
3340 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3341 case $host_vendor in
3343 lt_cv_deplibs_check_method=pass_all
3346 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3347 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3354 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3355 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3356 file_magic_cmd=$lt_cv_file_magic_cmd
3357 deplibs_check_method=$lt_cv_deplibs_check_method
3363 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3365 # Only perform the check for file, if the check method requires it
3366 case $deplibs_check_method in
3368 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3369 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3370 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3371 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3379 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3382 ac_save_MAGIC_CMD="$MAGIC_CMD"
3383 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3384 ac_dummy="/usr/bin:$PATH"
3385 for ac_dir in $ac_dummy; do
3386 test -z "$ac_dir" && ac_dir=.
3387 if test -f $ac_dir/${ac_tool_prefix}file; then
3388 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3389 if test -n "$file_magic_test_file"; then
3390 case $deplibs_check_method in
3392 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3393 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3394 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3395 egrep "$file_magic_regex" > /dev/null; then
3400 *** Warning: the command libtool uses to detect shared libraries,
3401 *** $file_magic_cmd, produces output that libtool cannot recognize.
3402 *** The result is that libtool may fail to recognize shared libraries
3403 *** as such. This will affect the creation of libtool libraries that
3404 *** depend on shared libraries, but programs linked with such libtool
3405 *** libraries will work regardless of this problem. Nevertheless, you
3406 *** may want to report the problem to your system manager and/or to
3407 *** bug-libtool@gnu.org
3417 MAGIC_CMD="$ac_save_MAGIC_CMD"
3422 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3423 if test -n "$MAGIC_CMD"; then
3424 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3425 echo "${ECHO_T}$MAGIC_CMD" >&6
3427 echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3431 if test -z "$lt_cv_path_MAGIC_CMD"; then
3432 if test -n "$ac_tool_prefix"; then
3433 echo "$as_me:$LINENO: checking for file" >&5
3434 echo $ECHO_N "checking for file... $ECHO_C" >&6
3435 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3440 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3443 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3446 ac_save_MAGIC_CMD="$MAGIC_CMD"
3447 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3448 ac_dummy="/usr/bin:$PATH"
3449 for ac_dir in $ac_dummy; do
3450 test -z "$ac_dir" && ac_dir=.
3451 if test -f $ac_dir/file; then
3452 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3453 if test -n "$file_magic_test_file"; then
3454 case $deplibs_check_method in
3456 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3457 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3458 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3459 egrep "$file_magic_regex" > /dev/null; then
3464 *** Warning: the command libtool uses to detect shared libraries,
3465 *** $file_magic_cmd, produces output that libtool cannot recognize.
3466 *** The result is that libtool may fail to recognize shared libraries
3467 *** as such. This will affect the creation of libtool libraries that
3468 *** depend on shared libraries, but programs linked with such libtool
3469 *** libraries will work regardless of this problem. Nevertheless, you
3470 *** may want to report the problem to your system manager and/or to
3471 *** bug-libtool@gnu.org
3481 MAGIC_CMD="$ac_save_MAGIC_CMD"
3486 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3487 if test -n "$MAGIC_CMD"; then
3488 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3489 echo "${ECHO_T}$MAGIC_CMD" >&6
3491 echo "$as_me:$LINENO: result: no" >&5
3492 echo "${ECHO_T}no" >&6
3504 if test -n "$ac_tool_prefix"; then
3505 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3506 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3507 echo "$as_me:$LINENO: checking for $ac_word" >&5
3508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3509 if test "${ac_cv_prog_RANLIB+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 if test -n "$RANLIB"; then
3513 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3519 test -z "$as_dir" && as_dir=.
3520 for ac_exec_ext in '' $ac_executable_extensions; do
3521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3522 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 RANLIB=$ac_cv_prog_RANLIB
3532 if test -n "$RANLIB"; then
3533 echo "$as_me:$LINENO: result: $RANLIB" >&5
3534 echo "${ECHO_T}$RANLIB" >&6
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3541 if test -z "$ac_cv_prog_RANLIB"; then
3542 ac_ct_RANLIB=$RANLIB
3543 # Extract the first word of "ranlib", so it can be a program name with args.
3544 set dummy ranlib; ac_word=$2
3545 echo "$as_me:$LINENO: checking for $ac_word" >&5
3546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3547 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3548 echo $ECHO_N "(cached) $ECHO_C" >&6
3550 if test -n "$ac_ct_RANLIB"; then
3551 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 test -z "$as_dir" && as_dir=.
3558 for ac_exec_ext in '' $ac_executable_extensions; do
3559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3560 ac_cv_prog_ac_ct_RANLIB="ranlib"
3561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3570 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3571 if test -n "$ac_ct_RANLIB"; then
3572 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3573 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3575 echo "$as_me:$LINENO: result: no" >&5
3576 echo "${ECHO_T}no" >&6
3579 RANLIB=$ac_ct_RANLIB
3581 RANLIB="$ac_cv_prog_RANLIB"
3584 if test -n "$ac_tool_prefix"; then
3585 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3586 set dummy ${ac_tool_prefix}strip; ac_word=$2
3587 echo "$as_me:$LINENO: checking for $ac_word" >&5
3588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3589 if test "${ac_cv_prog_STRIP+set}" = set; then
3590 echo $ECHO_N "(cached) $ECHO_C" >&6
3592 if test -n "$STRIP"; then
3593 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3599 test -z "$as_dir" && as_dir=.
3600 for ac_exec_ext in '' $ac_executable_extensions; do
3601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3602 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3611 STRIP=$ac_cv_prog_STRIP
3612 if test -n "$STRIP"; then
3613 echo "$as_me:$LINENO: result: $STRIP" >&5
3614 echo "${ECHO_T}$STRIP" >&6
3616 echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6
3621 if test -z "$ac_cv_prog_STRIP"; then
3623 # Extract the first word of "strip", so it can be a program name with args.
3624 set dummy strip; ac_word=$2
3625 echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3627 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
3630 if test -n "$ac_ct_STRIP"; then
3631 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3640 ac_cv_prog_ac_ct_STRIP="strip"
3641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3650 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3651 if test -n "$ac_ct_STRIP"; then
3652 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3653 echo "${ECHO_T}$ac_ct_STRIP" >&6
3655 echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6
3661 STRIP="$ac_cv_prog_STRIP"
3665 # Check for any special flags to pass to ltconfig.
3666 libtool_flags="--cache-file=$cache_file"
3667 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
3668 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
3669 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
3670 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
3671 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
3674 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3675 if test "${enable_libtool_lock+set}" = set; then
3676 enableval="$enable_libtool_lock"
3679 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
3680 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
3683 # Check whether --with-pic or --without-pic was given.
3684 if test "${with_pic+set}" = set; then
3690 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
3691 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
3693 # Some flags need to be propagated to the compiler or linker for good
3697 # Find out which ABI we are using.
3698 echo '#line 3698 "configure"' > conftest.$ac_ext
3699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3700 (eval $ac_compile) 2>&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; then
3704 case `/usr/bin/file conftest.$ac_objext` in
3720 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3721 SAVE_CFLAGS="$CFLAGS"
3722 CFLAGS="$CFLAGS -belf"
3723 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3724 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3725 if test "${lt_cv_cc_needs_belf+set}" = set; then
3726 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 ac_cpp='$CPP $CPPFLAGS'
3732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736 cat >conftest.$ac_ext <<_ACEOF
3737 #line $LINENO "configure"
3740 cat confdefs.h >>conftest.$ac_ext
3741 cat >>conftest.$ac_ext <<_ACEOF
3742 /* end confdefs.h. */
3752 rm -f conftest.$ac_objext conftest$ac_exeext
3753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3754 (eval $ac_link) 2>&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); } &&
3758 { ac_try='test -s conftest$ac_exeext'
3759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); }; }; then
3764 lt_cv_cc_needs_belf=yes
3766 echo "$as_me: failed program was:" >&5
3767 sed 's/^/| /' conftest.$ac_ext >&5
3769 lt_cv_cc_needs_belf=no
3771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3773 ac_cpp='$CPP $CPPFLAGS'
3774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3779 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3780 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3781 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3782 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3783 CFLAGS="$SAVE_CFLAGS"
3791 # Save cache, so that ltconfig can load it
3792 cat >confcache <<\_ACEOF
3793 # This file is a shell script that caches the results of configure
3794 # tests run on this system so they can be shared between configure
3795 # scripts and configure runs, see configure's option --config-cache.
3796 # It is not useful on other systems. If it contains results you don't
3797 # want to keep, you may remove or edit it.
3799 # config.status only pays attention to the cache file if you give it
3800 # the --recheck option to rerun configure.
3802 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3803 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3808 # The following way of writing the cache mishandles newlines in values,
3809 # but we know of no workaround that is simple, portable, and efficient.
3810 # So, don't put newlines in cache variables' values.
3811 # Ultrix sh set writes to stderr and can't be redirected directly,
3812 # and sets the high bit in the cache file unless we assign to the vars.
3815 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3817 # `set' does not quote correctly, so add quotes (double-quote
3818 # substitution turns \\\\ into \\, and sed turns \\ into \).
3821 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3824 # `set' quotes correctly as required by POSIX, so do not add quotes.
3826 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3833 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3835 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3837 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3838 if test -w $cache_file; then
3839 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3840 cat confcache >$cache_file
3842 echo "not updating unwritable cache $cache_file"
3847 # Actually configure libtool. ac_aux_dir is where install-sh is found.
3848 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
3849 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
3850 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
3851 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
3852 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
3853 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
3854 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
3855 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
3856 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
3857 echo "$as_me: error: libtool configure failed" >&2;}
3858 { (exit 1); exit 1; }; }
3860 # Reload cache, that may have been modified by ltconfig
3861 if test -r "$cache_file"; then
3862 # Some versions of bash will fail to source /dev/null (special
3863 # files actually), so we avoid doing that.
3864 if test -f "$cache_file"; then
3865 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3866 echo "$as_me: loading cache $cache_file" >&6;}
3868 [\\/]* | ?:[\\/]* ) . $cache_file;;
3869 *) . ./$cache_file;;
3873 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
3874 echo "$as_me: creating cache $cache_file" >&6;}
3879 # This can be used to rebuild libtool when needed
3880 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
3882 # Always use our own libtool.
3883 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
3885 # Redirect the config.log output again, so that the ltconfig log is not
3886 # clobbered by the next message.
3887 exec 5>>./config.log
3896 ac_cpp='$CPP $CPPFLAGS'
3897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3900 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3901 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3902 # On Suns, sometimes $CPP names a directory.
3903 if test -n "$CPP" && test -d "$CPP"; then
3906 if test -z "$CPP"; then
3907 if test "${ac_cv_prog_CPP+set}" = set; then
3908 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 # Double quotes because CPP needs to be expanded
3911 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3914 for ac_c_preproc_warn_flag in '' yes
3916 # Use a header file that comes with gcc, so configuring glibc
3917 # with a fresh cross-compiler works.
3918 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3919 # <limits.h> exists even on freestanding compilers.
3920 # On the NeXT, cc -E runs the code through the compiler's parser,
3921 # not just through cpp. "Syntax error" is here to catch this case.
3922 cat >conftest.$ac_ext <<_ACEOF
3923 #line $LINENO "configure"
3926 cat confdefs.h >>conftest.$ac_ext
3927 cat >>conftest.$ac_ext <<_ACEOF
3928 /* end confdefs.h. */
3930 # include <limits.h>
3932 # include <assert.h>
3936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3939 grep -v '^ *+' conftest.er1 >conftest.err
3941 cat conftest.err >&5
3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943 (exit $ac_status); } >/dev/null; then
3944 if test -s conftest.err; then
3945 ac_cpp_err=$ac_c_preproc_warn_flag
3952 if test -z "$ac_cpp_err"; then
3955 echo "$as_me: failed program was:" >&5
3956 sed 's/^/| /' conftest.$ac_ext >&5
3958 # Broken: fails on valid input.
3961 rm -f conftest.err conftest.$ac_ext
3963 # OK, works on sane cases. Now check whether non-existent headers
3964 # can be detected and how.
3965 cat >conftest.$ac_ext <<_ACEOF
3966 #line $LINENO "configure"
3969 cat confdefs.h >>conftest.$ac_ext
3970 cat >>conftest.$ac_ext <<_ACEOF
3971 /* end confdefs.h. */
3972 #include <ac_nonexistent.h>
3974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3977 grep -v '^ *+' conftest.er1 >conftest.err
3979 cat conftest.err >&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); } >/dev/null; then
3982 if test -s conftest.err; then
3983 ac_cpp_err=$ac_c_preproc_warn_flag
3990 if test -z "$ac_cpp_err"; then
3991 # Broken: success on invalid input.
3994 echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.$ac_ext >&5
3997 # Passes both tests.
4001 rm -f conftest.err conftest.$ac_ext
4004 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4005 rm -f conftest.err conftest.$ac_ext
4006 if $ac_preproc_ok; then
4018 echo "$as_me:$LINENO: result: $CPP" >&5
4019 echo "${ECHO_T}$CPP" >&6
4021 for ac_c_preproc_warn_flag in '' yes
4023 # Use a header file that comes with gcc, so configuring glibc
4024 # with a fresh cross-compiler works.
4025 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4026 # <limits.h> exists even on freestanding compilers.
4027 # On the NeXT, cc -E runs the code through the compiler's parser,
4028 # not just through cpp. "Syntax error" is here to catch this case.
4029 cat >conftest.$ac_ext <<_ACEOF
4030 #line $LINENO "configure"
4033 cat confdefs.h >>conftest.$ac_ext
4034 cat >>conftest.$ac_ext <<_ACEOF
4035 /* end confdefs.h. */
4037 # include <limits.h>
4039 # include <assert.h>
4043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4046 grep -v '^ *+' conftest.er1 >conftest.err
4048 cat conftest.err >&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } >/dev/null; then
4051 if test -s conftest.err; then
4052 ac_cpp_err=$ac_c_preproc_warn_flag
4059 if test -z "$ac_cpp_err"; then
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.$ac_ext >&5
4065 # Broken: fails on valid input.
4068 rm -f conftest.err conftest.$ac_ext
4070 # OK, works on sane cases. Now check whether non-existent headers
4071 # can be detected and how.
4072 cat >conftest.$ac_ext <<_ACEOF
4073 #line $LINENO "configure"
4076 cat confdefs.h >>conftest.$ac_ext
4077 cat >>conftest.$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4079 #include <ac_nonexistent.h>
4081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4084 grep -v '^ *+' conftest.er1 >conftest.err
4086 cat conftest.err >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); } >/dev/null; then
4089 if test -s conftest.err; then
4090 ac_cpp_err=$ac_c_preproc_warn_flag
4097 if test -z "$ac_cpp_err"; then
4098 # Broken: success on invalid input.
4101 echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.$ac_ext >&5
4104 # Passes both tests.
4108 rm -f conftest.err conftest.$ac_ext
4111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4112 rm -f conftest.err conftest.$ac_ext
4113 if $ac_preproc_ok; then
4116 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4117 See \`config.log' for more details." >&5
4118 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4119 See \`config.log' for more details." >&2;}
4120 { (exit 1); exit 1; }; }
4124 ac_cpp='$CPP $CPPFLAGS'
4125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4130 echo "$as_me:$LINENO: checking for egrep" >&5
4131 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4132 if test "${ac_cv_prog_egrep+set}" = set; then
4133 echo $ECHO_N "(cached) $ECHO_C" >&6
4135 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4136 then ac_cv_prog_egrep='grep -E'
4137 else ac_cv_prog_egrep='egrep'
4140 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4141 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4142 EGREP=$ac_cv_prog_egrep
4145 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4146 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4147 if test "${ac_cv_header_stdc+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 cat >conftest.$ac_ext <<_ACEOF
4151 #line $LINENO "configure"
4154 cat confdefs.h >>conftest.$ac_ext
4155 cat >>conftest.$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4170 rm -f conftest.$ac_objext
4171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4172 (eval $ac_compile) 2>&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); } &&
4176 { ac_try='test -s conftest.$ac_objext'
4177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); }; }; then
4182 ac_cv_header_stdc=yes
4184 echo "$as_me: failed program was:" >&5
4185 sed 's/^/| /' conftest.$ac_ext >&5
4187 ac_cv_header_stdc=no
4189 rm -f conftest.$ac_objext conftest.$ac_ext
4191 if test $ac_cv_header_stdc = yes; then
4192 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4193 cat >conftest.$ac_ext <<_ACEOF
4194 #line $LINENO "configure"
4197 cat confdefs.h >>conftest.$ac_ext
4198 cat >>conftest.$ac_ext <<_ACEOF
4199 /* end confdefs.h. */
4203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4204 $EGREP "memchr" >/dev/null 2>&1; then
4207 ac_cv_header_stdc=no
4213 if test $ac_cv_header_stdc = yes; then
4214 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4215 cat >conftest.$ac_ext <<_ACEOF
4216 #line $LINENO "configure"
4219 cat confdefs.h >>conftest.$ac_ext
4220 cat >>conftest.$ac_ext <<_ACEOF
4221 /* end confdefs.h. */
4225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4226 $EGREP "free" >/dev/null 2>&1; then
4229 ac_cv_header_stdc=no
4235 if test $ac_cv_header_stdc = yes; then
4236 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4237 if test "$cross_compiling" = yes; then
4240 cat >conftest.$ac_ext <<_ACEOF
4241 #line $LINENO "configure"
4244 cat confdefs.h >>conftest.$ac_ext
4245 cat >>conftest.$ac_ext <<_ACEOF
4246 /* end confdefs.h. */
4248 #if ((' ' & 0x0FF) == 0x020)
4249 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4250 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4252 # define ISLOWER(c) \
4253 (('a' <= (c) && (c) <= 'i') \
4254 || ('j' <= (c) && (c) <= 'r') \
4255 || ('s' <= (c) && (c) <= 'z'))
4256 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4259 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4264 for (i = 0; i < 256; i++)
4265 if (XOR (islower (i), ISLOWER (i))
4266 || toupper (i) != TOUPPER (i))
4271 rm -f conftest$ac_exeext
4272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4273 (eval $ac_link) 2>&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); }; }; then
4284 echo "$as_me: program exited with status $ac_status" >&5
4285 echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4289 ac_cv_header_stdc=no
4291 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4295 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4296 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4297 if test $ac_cv_header_stdc = yes; then
4299 cat >>confdefs.h <<\_ACEOF
4300 #define STDC_HEADERS 1
4305 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4315 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4316 inttypes.h stdint.h unistd.h
4318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4319 echo "$as_me:$LINENO: checking for $ac_header" >&5
4320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4322 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 cat >conftest.$ac_ext <<_ACEOF
4325 #line $LINENO "configure"
4328 cat confdefs.h >>conftest.$ac_ext
4329 cat >>conftest.$ac_ext <<_ACEOF
4330 /* end confdefs.h. */
4331 $ac_includes_default
4333 #include <$ac_header>
4335 rm -f conftest.$ac_objext
4336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4337 (eval $ac_compile) 2>&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); } &&
4341 { ac_try='test -s conftest.$ac_objext'
4342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; }; then
4347 eval "$as_ac_Header=yes"
4349 echo "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.$ac_ext >&5
4352 eval "$as_ac_Header=no"
4354 rm -f conftest.$ac_objext conftest.$ac_ext
4356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4358 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4359 cat >>confdefs.h <<_ACEOF
4360 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4368 echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
4369 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6
4370 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
4371 echo $ECHO_N "(cached) $ECHO_C" >&6
4373 cat >conftest.$ac_ext <<_ACEOF
4374 #line $LINENO "configure"
4377 cat confdefs.h >>conftest.$ac_ext
4378 cat >>conftest.$ac_ext <<_ACEOF
4379 /* end confdefs.h. */
4380 #include <sys/types.h>
4384 return makedev(0, 0);
4389 rm -f conftest.$ac_objext conftest$ac_exeext
4390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4391 (eval $ac_link) 2>&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); } &&
4395 { ac_try='test -s conftest$ac_exeext'
4396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; }; then
4401 ac_cv_header_sys_types_h_makedev=yes
4403 echo "$as_me: failed program was:" >&5
4404 sed 's/^/| /' conftest.$ac_ext >&5
4406 ac_cv_header_sys_types_h_makedev=no
4408 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4411 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
4412 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6
4414 if test $ac_cv_header_sys_types_h_makedev = no; then
4415 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4416 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
4417 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
4418 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4419 echo $ECHO_N "(cached) $ECHO_C" >&6
4421 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
4422 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
4424 # Is the header compilable?
4425 echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
4426 echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6
4427 cat >conftest.$ac_ext <<_ACEOF
4428 #line $LINENO "configure"
4431 cat confdefs.h >>conftest.$ac_ext
4432 cat >>conftest.$ac_ext <<_ACEOF
4433 /* end confdefs.h. */
4434 $ac_includes_default
4435 #include <sys/mkdev.h>
4437 rm -f conftest.$ac_objext
4438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4439 (eval $ac_compile) 2>&5
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); } &&
4443 { ac_try='test -s conftest.$ac_objext'
4444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); }; }; then
4449 ac_header_compiler=yes
4451 echo "$as_me: failed program was:" >&5
4452 sed 's/^/| /' conftest.$ac_ext >&5
4454 ac_header_compiler=no
4456 rm -f conftest.$ac_objext conftest.$ac_ext
4457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4458 echo "${ECHO_T}$ac_header_compiler" >&6
4460 # Is the header present?
4461 echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
4462 echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6
4463 cat >conftest.$ac_ext <<_ACEOF
4464 #line $LINENO "configure"
4467 cat confdefs.h >>conftest.$ac_ext
4468 cat >>conftest.$ac_ext <<_ACEOF
4469 /* end confdefs.h. */
4470 #include <sys/mkdev.h>
4472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4473 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4475 grep -v '^ *+' conftest.er1 >conftest.err
4477 cat conftest.err >&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); } >/dev/null; then
4480 if test -s conftest.err; then
4481 ac_cpp_err=$ac_c_preproc_warn_flag
4488 if test -z "$ac_cpp_err"; then
4489 ac_header_preproc=yes
4491 echo "$as_me: failed program was:" >&5
4492 sed 's/^/| /' conftest.$ac_ext >&5
4494 ac_header_preproc=no
4496 rm -f conftest.err conftest.$ac_ext
4497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4498 echo "${ECHO_T}$ac_header_preproc" >&6
4500 # So? What about this header?
4501 case $ac_header_compiler:$ac_header_preproc in
4503 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
4504 echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4505 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
4506 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
4509 ## ------------------------------------ ##
4510 ## Report this to bug-autoconf@gnu.org. ##
4511 ## ------------------------------------ ##
4514 sed "s/^/$as_me: WARNING: /" >&2
4517 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
4518 echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
4519 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5
4520 echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;}
4521 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
4522 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
4525 ## ------------------------------------ ##
4526 ## Report this to bug-autoconf@gnu.org. ##
4527 ## ------------------------------------ ##
4530 sed "s/^/$as_me: WARNING: /" >&2
4533 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
4534 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
4535 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4536 echo $ECHO_N "(cached) $ECHO_C" >&6
4538 ac_cv_header_sys_mkdev_h=$ac_header_preproc
4540 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
4541 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
4544 if test $ac_cv_header_sys_mkdev_h = yes; then
4546 cat >>confdefs.h <<\_ACEOF
4547 #define MAJOR_IN_MKDEV 1
4554 if test $ac_cv_header_sys_mkdev_h = no; then
4555 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4556 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
4557 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
4558 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4561 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
4562 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
4564 # Is the header compilable?
4565 echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
4566 echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6
4567 cat >conftest.$ac_ext <<_ACEOF
4568 #line $LINENO "configure"
4571 cat confdefs.h >>conftest.$ac_ext
4572 cat >>conftest.$ac_ext <<_ACEOF
4573 /* end confdefs.h. */
4574 $ac_includes_default
4575 #include <sys/sysmacros.h>
4577 rm -f conftest.$ac_objext
4578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4579 (eval $ac_compile) 2>&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); } &&
4583 { ac_try='test -s conftest.$ac_objext'
4584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); }; }; then
4589 ac_header_compiler=yes
4591 echo "$as_me: failed program was:" >&5
4592 sed 's/^/| /' conftest.$ac_ext >&5
4594 ac_header_compiler=no
4596 rm -f conftest.$ac_objext conftest.$ac_ext
4597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4598 echo "${ECHO_T}$ac_header_compiler" >&6
4600 # Is the header present?
4601 echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
4602 echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6
4603 cat >conftest.$ac_ext <<_ACEOF
4604 #line $LINENO "configure"
4607 cat confdefs.h >>conftest.$ac_ext
4608 cat >>conftest.$ac_ext <<_ACEOF
4609 /* end confdefs.h. */
4610 #include <sys/sysmacros.h>
4612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4613 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4615 grep -v '^ *+' conftest.er1 >conftest.err
4617 cat conftest.err >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); } >/dev/null; then
4620 if test -s conftest.err; then
4621 ac_cpp_err=$ac_c_preproc_warn_flag
4628 if test -z "$ac_cpp_err"; then
4629 ac_header_preproc=yes
4631 echo "$as_me: failed program was:" >&5
4632 sed 's/^/| /' conftest.$ac_ext >&5
4634 ac_header_preproc=no
4636 rm -f conftest.err conftest.$ac_ext
4637 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4638 echo "${ECHO_T}$ac_header_preproc" >&6
4640 # So? What about this header?
4641 case $ac_header_compiler:$ac_header_preproc in
4643 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
4644 echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4645 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
4646 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
4649 ## ------------------------------------ ##
4650 ## Report this to bug-autoconf@gnu.org. ##
4651 ## ------------------------------------ ##
4654 sed "s/^/$as_me: WARNING: /" >&2
4657 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
4658 echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
4659 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5
4660 echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;}
4661 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
4662 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
4665 ## ------------------------------------ ##
4666 ## Report this to bug-autoconf@gnu.org. ##
4667 ## ------------------------------------ ##
4670 sed "s/^/$as_me: WARNING: /" >&2
4673 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
4674 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
4675 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4676 echo $ECHO_N "(cached) $ECHO_C" >&6
4678 ac_cv_header_sys_sysmacros_h=$ac_header_preproc
4680 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
4681 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
4684 if test $ac_cv_header_sys_sysmacros_h = yes; then
4686 cat >>confdefs.h <<\_ACEOF
4687 #define MAJOR_IN_SYSMACROS 1
4696 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4697 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4698 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 cat >conftest.$ac_ext <<_ACEOF
4702 #line $LINENO "configure"
4705 cat confdefs.h >>conftest.$ac_ext
4706 cat >>conftest.$ac_ext <<_ACEOF
4707 /* end confdefs.h. */
4708 #include <sys/types.h>
4709 #include <sys/wait.h>
4711 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4714 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4722 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4727 rm -f conftest.$ac_objext
4728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4729 (eval $ac_compile) 2>&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } &&
4733 { ac_try='test -s conftest.$ac_objext'
4734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); }; }; then
4739 ac_cv_header_sys_wait_h=yes
4741 echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.$ac_ext >&5
4744 ac_cv_header_sys_wait_h=no
4746 rm -f conftest.$ac_objext conftest.$ac_ext
4748 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4749 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4750 if test $ac_cv_header_sys_wait_h = yes; then
4752 cat >>confdefs.h <<\_ACEOF
4753 #define HAVE_SYS_WAIT_H 1
4759 for ac_header in stdint.h
4761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4763 echo "$as_me:$LINENO: checking for $ac_header" >&5
4764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4766 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4771 # Is the header compilable?
4772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4774 cat >conftest.$ac_ext <<_ACEOF
4775 #line $LINENO "configure"
4778 cat confdefs.h >>conftest.$ac_ext
4779 cat >>conftest.$ac_ext <<_ACEOF
4780 /* end confdefs.h. */
4781 $ac_includes_default
4782 #include <$ac_header>
4784 rm -f conftest.$ac_objext
4785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4786 (eval $ac_compile) 2>&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); } &&
4790 { ac_try='test -s conftest.$ac_objext'
4791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); }; }; then
4796 ac_header_compiler=yes
4798 echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4801 ac_header_compiler=no
4803 rm -f conftest.$ac_objext conftest.$ac_ext
4804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4805 echo "${ECHO_T}$ac_header_compiler" >&6
4807 # Is the header present?
4808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4810 cat >conftest.$ac_ext <<_ACEOF
4811 #line $LINENO "configure"
4814 cat confdefs.h >>conftest.$ac_ext
4815 cat >>conftest.$ac_ext <<_ACEOF
4816 /* end confdefs.h. */
4817 #include <$ac_header>
4819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4820 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4822 grep -v '^ *+' conftest.er1 >conftest.err
4824 cat conftest.err >&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); } >/dev/null; then
4827 if test -s conftest.err; then
4828 ac_cpp_err=$ac_c_preproc_warn_flag
4835 if test -z "$ac_cpp_err"; then
4836 ac_header_preproc=yes
4838 echo "$as_me: failed program was:" >&5
4839 sed 's/^/| /' conftest.$ac_ext >&5
4841 ac_header_preproc=no
4843 rm -f conftest.err conftest.$ac_ext
4844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4845 echo "${ECHO_T}$ac_header_preproc" >&6
4847 # So? What about this header?
4848 case $ac_header_compiler:$ac_header_preproc in
4850 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4856 ## ------------------------------------ ##
4857 ## Report this to bug-autoconf@gnu.org. ##
4858 ## ------------------------------------ ##
4861 sed "s/^/$as_me: WARNING: /" >&2
4864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4872 ## ------------------------------------ ##
4873 ## Report this to bug-autoconf@gnu.org. ##
4874 ## ------------------------------------ ##
4877 sed "s/^/$as_me: WARNING: /" >&2
4880 echo "$as_me:$LINENO: checking for $ac_header" >&5
4881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4885 eval "$as_ac_Header=$ac_header_preproc"
4887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4892 cat >>confdefs.h <<_ACEOF
4893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4902 for ac_header in fcntl.h locale.h
4904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4906 echo "$as_me:$LINENO: checking for $ac_header" >&5
4907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4914 # Is the header compilable?
4915 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4917 cat >conftest.$ac_ext <<_ACEOF
4918 #line $LINENO "configure"
4921 cat confdefs.h >>conftest.$ac_ext
4922 cat >>conftest.$ac_ext <<_ACEOF
4923 /* end confdefs.h. */
4924 $ac_includes_default
4925 #include <$ac_header>
4927 rm -f conftest.$ac_objext
4928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4929 (eval $ac_compile) 2>&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); } &&
4933 { ac_try='test -s conftest.$ac_objext'
4934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; }; then
4939 ac_header_compiler=yes
4941 echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4944 ac_header_compiler=no
4946 rm -f conftest.$ac_objext conftest.$ac_ext
4947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4948 echo "${ECHO_T}$ac_header_compiler" >&6
4950 # Is the header present?
4951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4953 cat >conftest.$ac_ext <<_ACEOF
4954 #line $LINENO "configure"
4957 cat confdefs.h >>conftest.$ac_ext
4958 cat >>conftest.$ac_ext <<_ACEOF
4959 /* end confdefs.h. */
4960 #include <$ac_header>
4962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4965 grep -v '^ *+' conftest.er1 >conftest.err
4967 cat conftest.err >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } >/dev/null; then
4970 if test -s conftest.err; then
4971 ac_cpp_err=$ac_c_preproc_warn_flag
4978 if test -z "$ac_cpp_err"; then
4979 ac_header_preproc=yes
4981 echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.$ac_ext >&5
4984 ac_header_preproc=no
4986 rm -f conftest.err conftest.$ac_ext
4987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4988 echo "${ECHO_T}$ac_header_preproc" >&6
4990 # So? What about this header?
4991 case $ac_header_compiler:$ac_header_preproc in
4993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4999 ## ------------------------------------ ##
5000 ## Report this to bug-autoconf@gnu.org. ##
5001 ## ------------------------------------ ##
5004 sed "s/^/$as_me: WARNING: /" >&2
5007 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5008 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5009 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5010 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5015 ## ------------------------------------ ##
5016 ## Report this to bug-autoconf@gnu.org. ##
5017 ## ------------------------------------ ##
5020 sed "s/^/$as_me: WARNING: /" >&2
5023 echo "$as_me:$LINENO: checking for $ac_header" >&5
5024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
5028 eval "$as_ac_Header=$ac_header_preproc"
5030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5035 cat >>confdefs.h <<_ACEOF
5036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5046 for ac_header in sys/mman.h sys/stat.h sys/types.h
5048 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5050 echo "$as_me:$LINENO: checking for $ac_header" >&5
5051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5053 echo $ECHO_N "(cached) $ECHO_C" >&6
5055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5058 # Is the header compilable?
5059 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5060 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5061 cat >conftest.$ac_ext <<_ACEOF
5062 #line $LINENO "configure"
5065 cat confdefs.h >>conftest.$ac_ext
5066 cat >>conftest.$ac_ext <<_ACEOF
5067 /* end confdefs.h. */
5068 $ac_includes_default
5069 #include <$ac_header>
5071 rm -f conftest.$ac_objext
5072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5073 (eval $ac_compile) 2>&5
5075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); } &&
5077 { ac_try='test -s conftest.$ac_objext'
5078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); }; }; then
5083 ac_header_compiler=yes
5085 echo "$as_me: failed program was:" >&5
5086 sed 's/^/| /' conftest.$ac_ext >&5
5088 ac_header_compiler=no
5090 rm -f conftest.$ac_objext conftest.$ac_ext
5091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5092 echo "${ECHO_T}$ac_header_compiler" >&6
5094 # Is the header present?
5095 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5097 cat >conftest.$ac_ext <<_ACEOF
5098 #line $LINENO "configure"
5101 cat confdefs.h >>conftest.$ac_ext
5102 cat >>conftest.$ac_ext <<_ACEOF
5103 /* end confdefs.h. */
5104 #include <$ac_header>
5106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5109 grep -v '^ *+' conftest.er1 >conftest.err
5111 cat conftest.err >&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); } >/dev/null; then
5114 if test -s conftest.err; then
5115 ac_cpp_err=$ac_c_preproc_warn_flag
5122 if test -z "$ac_cpp_err"; then
5123 ac_header_preproc=yes
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.$ac_ext >&5
5128 ac_header_preproc=no
5130 rm -f conftest.err conftest.$ac_ext
5131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5132 echo "${ECHO_T}$ac_header_preproc" >&6
5134 # So? What about this header?
5135 case $ac_header_compiler:$ac_header_preproc in
5137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5143 ## ------------------------------------ ##
5144 ## Report this to bug-autoconf@gnu.org. ##
5145 ## ------------------------------------ ##
5148 sed "s/^/$as_me: WARNING: /" >&2
5151 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5152 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5153 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5154 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5159 ## ------------------------------------ ##
5160 ## Report this to bug-autoconf@gnu.org. ##
5161 ## ------------------------------------ ##
5164 sed "s/^/$as_me: WARNING: /" >&2
5167 echo "$as_me:$LINENO: checking for $ac_header" >&5
5168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 eval "$as_ac_Header=$ac_header_preproc"
5174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5179 cat >>confdefs.h <<_ACEOF
5180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5189 for ac_header in stdint.h inttypes.h
5191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5193 echo "$as_me:$LINENO: checking for $ac_header" >&5
5194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5196 echo $ECHO_N "(cached) $ECHO_C" >&6
5198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5201 # Is the header compilable?
5202 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5204 cat >conftest.$ac_ext <<_ACEOF
5205 #line $LINENO "configure"
5208 cat confdefs.h >>conftest.$ac_ext
5209 cat >>conftest.$ac_ext <<_ACEOF
5210 /* end confdefs.h. */
5211 $ac_includes_default
5212 #include <$ac_header>
5214 rm -f conftest.$ac_objext
5215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5216 (eval $ac_compile) 2>&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } &&
5220 { ac_try='test -s conftest.$ac_objext'
5221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); }; }; then
5226 ac_header_compiler=yes
5228 echo "$as_me: failed program was:" >&5
5229 sed 's/^/| /' conftest.$ac_ext >&5
5231 ac_header_compiler=no
5233 rm -f conftest.$ac_objext conftest.$ac_ext
5234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5235 echo "${ECHO_T}$ac_header_compiler" >&6
5237 # Is the header present?
5238 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5240 cat >conftest.$ac_ext <<_ACEOF
5241 #line $LINENO "configure"
5244 cat confdefs.h >>conftest.$ac_ext
5245 cat >>conftest.$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5247 #include <$ac_header>
5249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5252 grep -v '^ *+' conftest.er1 >conftest.err
5254 cat conftest.err >&5
5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256 (exit $ac_status); } >/dev/null; then
5257 if test -s conftest.err; then
5258 ac_cpp_err=$ac_c_preproc_warn_flag
5265 if test -z "$ac_cpp_err"; then
5266 ac_header_preproc=yes
5268 echo "$as_me: failed program was:" >&5
5269 sed 's/^/| /' conftest.$ac_ext >&5
5271 ac_header_preproc=no
5273 rm -f conftest.err conftest.$ac_ext
5274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5275 echo "${ECHO_T}$ac_header_preproc" >&6
5277 # So? What about this header?
5278 case $ac_header_compiler:$ac_header_preproc in
5280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5286 ## ------------------------------------ ##
5287 ## Report this to bug-autoconf@gnu.org. ##
5288 ## ------------------------------------ ##
5291 sed "s/^/$as_me: WARNING: /" >&2
5294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5295 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5297 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5299 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5302 ## ------------------------------------ ##
5303 ## Report this to bug-autoconf@gnu.org. ##
5304 ## ------------------------------------ ##
5307 sed "s/^/$as_me: WARNING: /" >&2
5310 echo "$as_me:$LINENO: checking for $ac_header" >&5
5311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 eval "$as_ac_Header=$ac_header_preproc"
5317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5322 cat >>confdefs.h <<_ACEOF
5323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5331 for ac_header in unistd.h
5333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5335 echo "$as_me:$LINENO: checking for $ac_header" >&5
5336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5338 echo $ECHO_N "(cached) $ECHO_C" >&6
5340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5343 # Is the header compilable?
5344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5346 cat >conftest.$ac_ext <<_ACEOF
5347 #line $LINENO "configure"
5350 cat confdefs.h >>conftest.$ac_ext
5351 cat >>conftest.$ac_ext <<_ACEOF
5352 /* end confdefs.h. */
5353 $ac_includes_default
5354 #include <$ac_header>
5356 rm -f conftest.$ac_objext
5357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5358 (eval $ac_compile) 2>&5
5360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361 (exit $ac_status); } &&
5362 { ac_try='test -s conftest.$ac_objext'
5363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367 (exit $ac_status); }; }; then
5368 ac_header_compiler=yes
5370 echo "$as_me: failed program was:" >&5
5371 sed 's/^/| /' conftest.$ac_ext >&5
5373 ac_header_compiler=no
5375 rm -f conftest.$ac_objext conftest.$ac_ext
5376 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5377 echo "${ECHO_T}$ac_header_compiler" >&6
5379 # Is the header present?
5380 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5381 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5382 cat >conftest.$ac_ext <<_ACEOF
5383 #line $LINENO "configure"
5386 cat confdefs.h >>conftest.$ac_ext
5387 cat >>conftest.$ac_ext <<_ACEOF
5388 /* end confdefs.h. */
5389 #include <$ac_header>
5391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5392 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5394 grep -v '^ *+' conftest.er1 >conftest.err
5396 cat conftest.err >&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); } >/dev/null; then
5399 if test -s conftest.err; then
5400 ac_cpp_err=$ac_c_preproc_warn_flag
5407 if test -z "$ac_cpp_err"; then
5408 ac_header_preproc=yes
5410 echo "$as_me: failed program was:" >&5
5411 sed 's/^/| /' conftest.$ac_ext >&5
5413 ac_header_preproc=no
5415 rm -f conftest.err conftest.$ac_ext
5416 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5417 echo "${ECHO_T}$ac_header_preproc" >&6
5419 # So? What about this header?
5420 case $ac_header_compiler:$ac_header_preproc in
5422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5428 ## ------------------------------------ ##
5429 ## Report this to bug-autoconf@gnu.org. ##
5430 ## ------------------------------------ ##
5433 sed "s/^/$as_me: WARNING: /" >&2
5436 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5438 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5439 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5444 ## ------------------------------------ ##
5445 ## Report this to bug-autoconf@gnu.org. ##
5446 ## ------------------------------------ ##
5449 sed "s/^/$as_me: WARNING: /" >&2
5452 echo "$as_me:$LINENO: checking for $ac_header" >&5
5453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5455 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 eval "$as_ac_Header=$ac_header_preproc"
5459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5464 cat >>confdefs.h <<_ACEOF
5465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5473 for ac_header in getopt.h
5475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5477 echo "$as_me:$LINENO: checking for $ac_header" >&5
5478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5480 echo $ECHO_N "(cached) $ECHO_C" >&6
5482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5485 # Is the header compilable?
5486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5488 cat >conftest.$ac_ext <<_ACEOF
5489 #line $LINENO "configure"
5492 cat confdefs.h >>conftest.$ac_ext
5493 cat >>conftest.$ac_ext <<_ACEOF
5494 /* end confdefs.h. */
5495 $ac_includes_default
5496 #include <$ac_header>
5498 rm -f conftest.$ac_objext
5499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5500 (eval $ac_compile) 2>&5
5502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); } &&
5504 { ac_try='test -s conftest.$ac_objext'
5505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509 (exit $ac_status); }; }; then
5510 ac_header_compiler=yes
5512 echo "$as_me: failed program was:" >&5
5513 sed 's/^/| /' conftest.$ac_ext >&5
5515 ac_header_compiler=no
5517 rm -f conftest.$ac_objext conftest.$ac_ext
5518 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5519 echo "${ECHO_T}$ac_header_compiler" >&6
5521 # Is the header present?
5522 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5524 cat >conftest.$ac_ext <<_ACEOF
5525 #line $LINENO "configure"
5528 cat confdefs.h >>conftest.$ac_ext
5529 cat >>conftest.$ac_ext <<_ACEOF
5530 /* end confdefs.h. */
5531 #include <$ac_header>
5533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5534 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5536 grep -v '^ *+' conftest.er1 >conftest.err
5538 cat conftest.err >&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); } >/dev/null; then
5541 if test -s conftest.err; then
5542 ac_cpp_err=$ac_c_preproc_warn_flag
5549 if test -z "$ac_cpp_err"; then
5550 ac_header_preproc=yes
5552 echo "$as_me: failed program was:" >&5
5553 sed 's/^/| /' conftest.$ac_ext >&5
5555 ac_header_preproc=no
5557 rm -f conftest.err conftest.$ac_ext
5558 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5559 echo "${ECHO_T}$ac_header_preproc" >&6
5561 # So? What about this header?
5562 case $ac_header_compiler:$ac_header_preproc in
5564 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5565 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5570 ## ------------------------------------ ##
5571 ## Report this to bug-autoconf@gnu.org. ##
5572 ## ------------------------------------ ##
5575 sed "s/^/$as_me: WARNING: /" >&2
5578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5583 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5586 ## ------------------------------------ ##
5587 ## Report this to bug-autoconf@gnu.org. ##
5588 ## ------------------------------------ ##
5591 sed "s/^/$as_me: WARNING: /" >&2
5594 echo "$as_me:$LINENO: checking for $ac_header" >&5
5595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5597 echo $ECHO_N "(cached) $ECHO_C" >&6
5599 eval "$as_ac_Header=$ac_header_preproc"
5601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5606 cat >>confdefs.h <<_ACEOF
5607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5615 for ac_header in locale.h
5617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5619 echo "$as_me:$LINENO: checking for $ac_header" >&5
5620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5622 echo $ECHO_N "(cached) $ECHO_C" >&6
5624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5627 # Is the header compilable?
5628 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5630 cat >conftest.$ac_ext <<_ACEOF
5631 #line $LINENO "configure"
5634 cat confdefs.h >>conftest.$ac_ext
5635 cat >>conftest.$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5637 $ac_includes_default
5638 #include <$ac_header>
5640 rm -f conftest.$ac_objext
5641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5642 (eval $ac_compile) 2>&5
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); } &&
5646 { ac_try='test -s conftest.$ac_objext'
5647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; }; then
5652 ac_header_compiler=yes
5654 echo "$as_me: failed program was:" >&5
5655 sed 's/^/| /' conftest.$ac_ext >&5
5657 ac_header_compiler=no
5659 rm -f conftest.$ac_objext conftest.$ac_ext
5660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5661 echo "${ECHO_T}$ac_header_compiler" >&6
5663 # Is the header present?
5664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5666 cat >conftest.$ac_ext <<_ACEOF
5667 #line $LINENO "configure"
5670 cat confdefs.h >>conftest.$ac_ext
5671 cat >>conftest.$ac_ext <<_ACEOF
5672 /* end confdefs.h. */
5673 #include <$ac_header>
5675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5678 grep -v '^ *+' conftest.er1 >conftest.err
5680 cat conftest.err >&5
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); } >/dev/null; then
5683 if test -s conftest.err; then
5684 ac_cpp_err=$ac_c_preproc_warn_flag
5691 if test -z "$ac_cpp_err"; then
5692 ac_header_preproc=yes
5694 echo "$as_me: failed program was:" >&5
5695 sed 's/^/| /' conftest.$ac_ext >&5
5697 ac_header_preproc=no
5699 rm -f conftest.err conftest.$ac_ext
5700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5701 echo "${ECHO_T}$ac_header_preproc" >&6
5703 # So? What about this header?
5704 case $ac_header_compiler:$ac_header_preproc in
5706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5712 ## ------------------------------------ ##
5713 ## Report this to bug-autoconf@gnu.org. ##
5714 ## ------------------------------------ ##
5717 sed "s/^/$as_me: WARNING: /" >&2
5720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5728 ## ------------------------------------ ##
5729 ## Report this to bug-autoconf@gnu.org. ##
5730 ## ------------------------------------ ##
5733 sed "s/^/$as_me: WARNING: /" >&2
5736 echo "$as_me:$LINENO: checking for $ac_header" >&5
5737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5739 echo $ECHO_N "(cached) $ECHO_C" >&6
5741 eval "$as_ac_Header=$ac_header_preproc"
5743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5748 cat >>confdefs.h <<_ACEOF
5749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5757 for ac_header in utime.h
5759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5761 echo "$as_me:$LINENO: checking for $ac_header" >&5
5762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5769 # Is the header compilable?
5770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5772 cat >conftest.$ac_ext <<_ACEOF
5773 #line $LINENO "configure"
5776 cat confdefs.h >>conftest.$ac_ext
5777 cat >>conftest.$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5779 $ac_includes_default
5780 #include <$ac_header>
5782 rm -f conftest.$ac_objext
5783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5784 (eval $ac_compile) 2>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } &&
5788 { ac_try='test -s conftest.$ac_objext'
5789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); }; }; then
5794 ac_header_compiler=yes
5796 echo "$as_me: failed program was:" >&5
5797 sed 's/^/| /' conftest.$ac_ext >&5
5799 ac_header_compiler=no
5801 rm -f conftest.$ac_objext conftest.$ac_ext
5802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5803 echo "${ECHO_T}$ac_header_compiler" >&6
5805 # Is the header present?
5806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5808 cat >conftest.$ac_ext <<_ACEOF
5809 #line $LINENO "configure"
5812 cat confdefs.h >>conftest.$ac_ext
5813 cat >>conftest.$ac_ext <<_ACEOF
5814 /* end confdefs.h. */
5815 #include <$ac_header>
5817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5818 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5820 grep -v '^ *+' conftest.er1 >conftest.err
5822 cat conftest.err >&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); } >/dev/null; then
5825 if test -s conftest.err; then
5826 ac_cpp_err=$ac_c_preproc_warn_flag
5833 if test -z "$ac_cpp_err"; then
5834 ac_header_preproc=yes
5836 echo "$as_me: failed program was:" >&5
5837 sed 's/^/| /' conftest.$ac_ext >&5
5839 ac_header_preproc=no
5841 rm -f conftest.err conftest.$ac_ext
5842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5843 echo "${ECHO_T}$ac_header_preproc" >&6
5845 # So? What about this header?
5846 case $ac_header_compiler:$ac_header_preproc in
5848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5854 ## ------------------------------------ ##
5855 ## Report this to bug-autoconf@gnu.org. ##
5856 ## ------------------------------------ ##
5859 sed "s/^/$as_me: WARNING: /" >&2
5862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5864 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5870 ## ------------------------------------ ##
5871 ## Report this to bug-autoconf@gnu.org. ##
5872 ## ------------------------------------ ##
5875 sed "s/^/$as_me: WARNING: /" >&2
5878 echo "$as_me:$LINENO: checking for $ac_header" >&5
5879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5881 echo $ECHO_N "(cached) $ECHO_C" >&6
5883 eval "$as_ac_Header=$ac_header_preproc"
5885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5890 cat >>confdefs.h <<_ACEOF
5891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5899 for ac_header in sys/utime.h
5901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5903 echo "$as_me:$LINENO: checking for $ac_header" >&5
5904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5906 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5911 # Is the header compilable?
5912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5914 cat >conftest.$ac_ext <<_ACEOF
5915 #line $LINENO "configure"
5918 cat confdefs.h >>conftest.$ac_ext
5919 cat >>conftest.$ac_ext <<_ACEOF
5920 /* end confdefs.h. */
5921 $ac_includes_default
5922 #include <$ac_header>
5924 rm -f conftest.$ac_objext
5925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5926 (eval $ac_compile) 2>&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } &&
5930 { ac_try='test -s conftest.$ac_objext'
5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); }; }; then
5936 ac_header_compiler=yes
5938 echo "$as_me: failed program was:" >&5
5939 sed 's/^/| /' conftest.$ac_ext >&5
5941 ac_header_compiler=no
5943 rm -f conftest.$ac_objext conftest.$ac_ext
5944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5945 echo "${ECHO_T}$ac_header_compiler" >&6
5947 # Is the header present?
5948 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5950 cat >conftest.$ac_ext <<_ACEOF
5951 #line $LINENO "configure"
5954 cat confdefs.h >>conftest.$ac_ext
5955 cat >>conftest.$ac_ext <<_ACEOF
5956 /* end confdefs.h. */
5957 #include <$ac_header>
5959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5962 grep -v '^ *+' conftest.er1 >conftest.err
5964 cat conftest.err >&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); } >/dev/null; then
5967 if test -s conftest.err; then
5968 ac_cpp_err=$ac_c_preproc_warn_flag
5975 if test -z "$ac_cpp_err"; then
5976 ac_header_preproc=yes
5978 echo "$as_me: failed program was:" >&5
5979 sed 's/^/| /' conftest.$ac_ext >&5
5981 ac_header_preproc=no
5983 rm -f conftest.err conftest.$ac_ext
5984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5985 echo "${ECHO_T}$ac_header_preproc" >&6
5987 # So? What about this header?
5988 case $ac_header_compiler:$ac_header_preproc in
5990 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5993 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5996 ## ------------------------------------ ##
5997 ## Report this to bug-autoconf@gnu.org. ##
5998 ## ------------------------------------ ##
6001 sed "s/^/$as_me: WARNING: /" >&2
6004 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6005 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6006 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6007 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6012 ## ------------------------------------ ##
6013 ## Report this to bug-autoconf@gnu.org. ##
6014 ## ------------------------------------ ##
6017 sed "s/^/$as_me: WARNING: /" >&2
6020 echo "$as_me:$LINENO: checking for $ac_header" >&5
6021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6025 eval "$as_ac_Header=$ac_header_preproc"
6027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6032 cat >>confdefs.h <<_ACEOF
6033 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6041 for ac_header in wchar.h
6043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6045 echo "$as_me:$LINENO: checking for $ac_header" >&5
6046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6048 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6053 # Is the header compilable?
6054 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6055 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6056 cat >conftest.$ac_ext <<_ACEOF
6057 #line $LINENO "configure"
6060 cat confdefs.h >>conftest.$ac_ext
6061 cat >>conftest.$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6063 $ac_includes_default
6064 #include <$ac_header>
6066 rm -f conftest.$ac_objext
6067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6068 (eval $ac_compile) 2>&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); } &&
6072 { ac_try='test -s conftest.$ac_objext'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; }; then
6078 ac_header_compiler=yes
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.$ac_ext >&5
6083 ac_header_compiler=no
6085 rm -f conftest.$ac_objext conftest.$ac_ext
6086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6087 echo "${ECHO_T}$ac_header_compiler" >&6
6089 # Is the header present?
6090 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6092 cat >conftest.$ac_ext <<_ACEOF
6093 #line $LINENO "configure"
6096 cat confdefs.h >>conftest.$ac_ext
6097 cat >>conftest.$ac_ext <<_ACEOF
6098 /* end confdefs.h. */
6099 #include <$ac_header>
6101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6104 grep -v '^ *+' conftest.er1 >conftest.err
6106 cat conftest.err >&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); } >/dev/null; then
6109 if test -s conftest.err; then
6110 ac_cpp_err=$ac_c_preproc_warn_flag
6117 if test -z "$ac_cpp_err"; then
6118 ac_header_preproc=yes
6120 echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.$ac_ext >&5
6123 ac_header_preproc=no
6125 rm -f conftest.err conftest.$ac_ext
6126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6127 echo "${ECHO_T}$ac_header_preproc" >&6
6129 # So? What about this header?
6130 case $ac_header_compiler:$ac_header_preproc in
6132 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6133 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6138 ## ------------------------------------ ##
6139 ## Report this to bug-autoconf@gnu.org. ##
6140 ## ------------------------------------ ##
6143 sed "s/^/$as_me: WARNING: /" >&2
6146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6154 ## ------------------------------------ ##
6155 ## Report this to bug-autoconf@gnu.org. ##
6156 ## ------------------------------------ ##
6159 sed "s/^/$as_me: WARNING: /" >&2
6162 echo "$as_me:$LINENO: checking for $ac_header" >&5
6163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6165 echo $ECHO_N "(cached) $ECHO_C" >&6
6167 eval "$as_ac_Header=$ac_header_preproc"
6169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6174 cat >>confdefs.h <<_ACEOF
6175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6183 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6184 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6185 if test "${ac_cv_c_const+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 cat >conftest.$ac_ext <<_ACEOF
6189 #line $LINENO "configure"
6192 cat confdefs.h >>conftest.$ac_ext
6193 cat >>conftest.$ac_ext <<_ACEOF
6194 /* end confdefs.h. */
6199 /* FIXME: Include the comments suggested by Paul. */
6201 /* Ultrix mips cc rejects this. */
6202 typedef int charset[2];
6204 /* SunOS 4.1.1 cc rejects this. */
6205 char const *const *ccp;
6207 /* NEC SVR4.0.2 mips cc rejects this. */
6208 struct point {int x, y;};
6209 static struct point const zero = {0,0};
6210 /* AIX XL C 1.02.0.0 rejects this.
6211 It does not let you subtract one const X* pointer from another in
6212 an arm of an if-expression whose if-part is not a constant
6214 const char *g = "string";
6215 ccp = &g + (g ? g-g : 0);
6216 /* HPUX 7.0 cc rejects these. */
6219 ccp = (char const *const *) p;
6220 { /* SCO 3.2v4 cc rejects this. */
6222 char const *s = 0 ? (char *) 0 : (char const *) 0;
6226 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6228 const int *foo = &x[0];
6231 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6232 typedef const int *iptr;
6236 { /* AIX XL C 1.02.0.0 rejects this saying
6237 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6238 struct s { int j; const int *ap[3]; };
6239 struct s *b; b->j = 5;
6241 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6250 rm -f conftest.$ac_objext
6251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6252 (eval $ac_compile) 2>&5
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); } &&
6256 { ac_try='test -s conftest.$ac_objext'
6257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); }; }; then
6264 echo "$as_me: failed program was:" >&5
6265 sed 's/^/| /' conftest.$ac_ext >&5
6269 rm -f conftest.$ac_objext conftest.$ac_ext
6271 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6272 echo "${ECHO_T}$ac_cv_c_const" >&6
6273 if test $ac_cv_c_const = no; then
6275 cat >>confdefs.h <<\_ACEOF
6281 echo "$as_me:$LINENO: checking for off_t" >&5
6282 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6283 if test "${ac_cv_type_off_t+set}" = set; then
6284 echo $ECHO_N "(cached) $ECHO_C" >&6
6286 cat >conftest.$ac_ext <<_ACEOF
6287 #line $LINENO "configure"
6290 cat confdefs.h >>conftest.$ac_ext
6291 cat >>conftest.$ac_ext <<_ACEOF
6292 /* end confdefs.h. */
6293 $ac_includes_default
6305 rm -f conftest.$ac_objext
6306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6307 (eval $ac_compile) 2>&5
6309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310 (exit $ac_status); } &&
6311 { ac_try='test -s conftest.$ac_objext'
6312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 (exit $ac_status); }; }; then
6317 ac_cv_type_off_t=yes
6319 echo "$as_me: failed program was:" >&5
6320 sed 's/^/| /' conftest.$ac_ext >&5
6324 rm -f conftest.$ac_objext conftest.$ac_ext
6326 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6327 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6328 if test $ac_cv_type_off_t = yes; then
6332 cat >>confdefs.h <<_ACEOF
6338 echo "$as_me:$LINENO: checking for size_t" >&5
6339 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6340 if test "${ac_cv_type_size_t+set}" = set; then
6341 echo $ECHO_N "(cached) $ECHO_C" >&6
6343 cat >conftest.$ac_ext <<_ACEOF
6344 #line $LINENO "configure"
6347 cat confdefs.h >>conftest.$ac_ext
6348 cat >>conftest.$ac_ext <<_ACEOF
6349 /* end confdefs.h. */
6350 $ac_includes_default
6356 if (sizeof (size_t))
6362 rm -f conftest.$ac_objext
6363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6364 (eval $ac_compile) 2>&5
6366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6367 (exit $ac_status); } &&
6368 { ac_try='test -s conftest.$ac_objext'
6369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373 (exit $ac_status); }; }; then
6374 ac_cv_type_size_t=yes
6376 echo "$as_me: failed program was:" >&5
6377 sed 's/^/| /' conftest.$ac_ext >&5
6379 ac_cv_type_size_t=no
6381 rm -f conftest.$ac_objext conftest.$ac_ext
6383 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6384 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6385 if test $ac_cv_type_size_t = yes; then
6389 cat >>confdefs.h <<_ACEOF
6390 #define size_t unsigned
6396 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6397 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6398 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6399 echo $ECHO_N "(cached) $ECHO_C" >&6
6401 cat >conftest.$ac_ext <<_ACEOF
6402 #line $LINENO "configure"
6405 cat confdefs.h >>conftest.$ac_ext
6406 cat >>conftest.$ac_ext <<_ACEOF
6407 /* end confdefs.h. */
6408 $ac_includes_default
6412 static struct stat ac_aggr;
6413 if (ac_aggr.st_rdev)
6419 rm -f conftest.$ac_objext
6420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6421 (eval $ac_compile) 2>&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); } &&
6425 { ac_try='test -s conftest.$ac_objext'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; }; then
6431 ac_cv_member_struct_stat_st_rdev=yes
6433 echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.$ac_ext >&5
6436 cat >conftest.$ac_ext <<_ACEOF
6437 #line $LINENO "configure"
6440 cat confdefs.h >>conftest.$ac_ext
6441 cat >>conftest.$ac_ext <<_ACEOF
6442 /* end confdefs.h. */
6443 $ac_includes_default
6447 static struct stat ac_aggr;
6448 if (sizeof ac_aggr.st_rdev)
6454 rm -f conftest.$ac_objext
6455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6456 (eval $ac_compile) 2>&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); } &&
6460 { ac_try='test -s conftest.$ac_objext'
6461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); }; }; then
6466 ac_cv_member_struct_stat_st_rdev=yes
6468 echo "$as_me: failed program was:" >&5
6469 sed 's/^/| /' conftest.$ac_ext >&5
6471 ac_cv_member_struct_stat_st_rdev=no
6473 rm -f conftest.$ac_objext conftest.$ac_ext
6475 rm -f conftest.$ac_objext conftest.$ac_ext
6477 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6478 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
6479 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6481 cat >>confdefs.h <<_ACEOF
6482 #define HAVE_STRUCT_STAT_ST_RDEV 1
6486 cat >>confdefs.h <<\_ACEOF
6487 #define HAVE_ST_RDEV 1
6493 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6494 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6495 if test "${ac_cv_struct_tm+set}" = set; then
6496 echo $ECHO_N "(cached) $ECHO_C" >&6
6498 cat >conftest.$ac_ext <<_ACEOF
6499 #line $LINENO "configure"
6502 cat confdefs.h >>conftest.$ac_ext
6503 cat >>conftest.$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6505 #include <sys/types.h>
6511 struct tm *tp; tp->tm_sec;
6516 rm -f conftest.$ac_objext
6517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6518 (eval $ac_compile) 2>&5
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); } &&
6522 { ac_try='test -s conftest.$ac_objext'
6523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); }; }; then
6528 ac_cv_struct_tm=time.h
6530 echo "$as_me: failed program was:" >&5
6531 sed 's/^/| /' conftest.$ac_ext >&5
6533 ac_cv_struct_tm=sys/time.h
6535 rm -f conftest.$ac_objext conftest.$ac_ext
6537 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6538 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6539 if test $ac_cv_struct_tm = sys/time.h; then
6541 cat >>confdefs.h <<\_ACEOF
6542 #define TM_IN_SYS_TIME 1
6547 echo "$as_me:$LINENO: checking for tm_zone in struct tm" >&5
6548 echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
6549 if test "${ac_cv_struct_tm_zone+set}" = set; then
6550 echo $ECHO_N "(cached) $ECHO_C" >&6
6552 cat >conftest.$ac_ext <<_ACEOF
6553 #line $LINENO "configure"
6556 cat confdefs.h >>conftest.$ac_ext
6557 cat >>conftest.$ac_ext <<_ACEOF
6558 /* end confdefs.h. */
6559 #include <sys/types.h>
6560 #include <$ac_cv_struct_tm>
6564 struct tm tm; tm.tm_zone;
6569 rm -f conftest.$ac_objext
6570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6571 (eval $ac_compile) 2>&5
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); } &&
6575 { ac_try='test -s conftest.$ac_objext'
6576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); }; }; then
6581 ac_cv_struct_tm_zone=yes
6583 echo "$as_me: failed program was:" >&5
6584 sed 's/^/| /' conftest.$ac_ext >&5
6586 ac_cv_struct_tm_zone=no
6588 rm -f conftest.$ac_objext conftest.$ac_ext
6590 echo "$as_me:$LINENO: result: $ac_cv_struct_tm_zone" >&5
6591 echo "${ECHO_T}$ac_cv_struct_tm_zone" >&6
6592 if test "$ac_cv_struct_tm_zone" = yes; then
6594 cat >>confdefs.h <<\_ACEOF
6595 #define HAVE_TM_ZONE 1
6599 echo "$as_me:$LINENO: checking for tzname" >&5
6600 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6601 if test "${ac_cv_var_tzname+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6604 cat >conftest.$ac_ext <<_ACEOF
6605 #line $LINENO "configure"
6608 cat confdefs.h >>conftest.$ac_ext
6609 cat >>conftest.$ac_ext <<_ACEOF
6610 /* end confdefs.h. */
6612 #ifndef tzname /* For SGI. */
6613 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6623 rm -f conftest.$ac_objext conftest$ac_exeext
6624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6625 (eval $ac_link) 2>&5
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); } &&
6629 { ac_try='test -s conftest$ac_exeext'
6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); }; }; then
6635 ac_cv_var_tzname=yes
6637 echo "$as_me: failed program was:" >&5
6638 sed 's/^/| /' conftest.$ac_ext >&5
6642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6644 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6645 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6646 if test $ac_cv_var_tzname = yes; then
6648 cat >>confdefs.h <<\_ACEOF
6649 #define HAVE_TZNAME 1
6654 echo "$as_me:$LINENO: checking for tm_isdst in struct tm" >&5
6655 echo $ECHO_N "checking for tm_isdst in struct tm... $ECHO_C" >&6
6656 if test "${ac_cv_struct_tm_isdst+set}" = set; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6659 cat >conftest.$ac_ext <<_ACEOF
6660 #line $LINENO "configure"
6663 cat confdefs.h >>conftest.$ac_ext
6664 cat >>conftest.$ac_ext <<_ACEOF
6665 /* end confdefs.h. */
6666 #include <sys/types.h>
6667 #include <$ac_cv_struct_tm>
6671 struct tm tm; tm.tm_isdst;
6676 rm -f conftest.$ac_objext
6677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6678 (eval $ac_compile) 2>&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } &&
6682 { ac_try='test -s conftest.$ac_objext'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; }; then
6688 ac_cv_struct_tm_isdst=yes
6690 echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.$ac_ext >&5
6693 ac_cv_struct_tm_isdst=no
6695 rm -f conftest.$ac_objext conftest.$ac_ext
6697 echo "$as_me:$LINENO: result: $ac_cv_struct_tm_isdst" >&5
6698 echo "${ECHO_T}$ac_cv_struct_tm_isdst" >&6
6699 if test "$ac_cv_struct_tm_isdst" = yes; then
6700 cat >>confdefs.h <<\_ACEOF
6701 #define HAVE_TM_ISDST 1
6705 echo "$as_me:$LINENO: checking for daylight" >&5
6706 echo $ECHO_N "checking for daylight... $ECHO_C" >&6
6707 if test "${ac_cv_var_daylight+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6710 cat >conftest.$ac_ext <<_ACEOF
6711 #line $LINENO "configure"
6714 cat confdefs.h >>conftest.$ac_ext
6715 cat >>conftest.$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6718 #ifndef daylight /* In case IRIX #defines this, too */
6719 extern int daylight;
6729 rm -f conftest.$ac_objext conftest$ac_exeext
6730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6731 (eval $ac_link) 2>&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } &&
6735 { ac_try='test -s conftest$ac_exeext'
6736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); }; }; then
6741 ac_cv_var_daylight=yes
6743 echo "$as_me: failed program was:" >&5
6744 sed 's/^/| /' conftest.$ac_ext >&5
6746 ac_cv_var_daylight=no
6748 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6750 echo "$as_me:$LINENO: result: $ac_cv_var_daylight" >&5
6751 echo "${ECHO_T}$ac_cv_var_daylight" >&6
6752 if test $ac_cv_var_daylight = yes; then
6753 cat >>confdefs.h <<\_ACEOF
6754 #define HAVE_DAYLIGHT 1
6760 # Check whether --enable-largefile or --disable-largefile was given.
6761 if test "${enable_largefile+set}" = set; then
6762 enableval="$enable_largefile"
6765 if test "$enable_largefile" != no; then
6767 echo "$as_me:$LINENO: checking for special C compiler options needed for large files=
6769 echo $ECHO_N "checking for special C compiler options needed for large files=
6771 if test "${ac_cv_sys_largefile_CC+set}" = set; then
6772 echo $ECHO_N "(cached) $ECHO_C" >&6
6774 ac_cv_sys_largefile_CC=no
6775 if test "$GCC" != yes; then
6776 # IRIX 6.2 and later do not support large files by default,
6777 # so use the C compiler's -n32 option if that helps.
6778 cat >conftest.$ac_ext <<_ACEOF
6779 #line $LINENO "configure"
6782 cat confdefs.h >>conftest.$ac_ext
6783 cat >>conftest.$ac_ext <<_ACEOF
6784 /* end confdefs.h. */
6785 #include <sys/types.h>
6786 /* Check that off_t can represent 2**63 - 1 correctly.
6787 We can't simply "#define LARGE_OFF_T 9223372036854775807",
6788 since some C++ compilers masquerading as C compilers
6789 incorrectly reject 9223372036854775807. */
6790 # define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6791 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6792 && LARGE_OFF_T % 2147483647 == 1)
6803 rm -f conftest.$ac_objext
6804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6805 (eval $ac_compile) 2>&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); } &&
6809 { ac_try='test -s conftest.$ac_objext'
6810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); }; }; then
6817 echo "$as_me: failed program was:" >&5
6818 sed 's/^/| /' conftest.$ac_ext >&5
6822 cat >conftest.$ac_ext <<_ACEOF
6823 #line $LINENO "configure"
6826 cat confdefs.h >>conftest.$ac_ext
6827 cat >>conftest.$ac_ext <<_ACEOF
6828 /* end confdefs.h. */
6829 #include <sys/types.h>
6830 /* Check that off_t can represent 2**63 - 1 correctly.
6831 We can't simply "#define LARGE_OFF_T 9223372036854775807",
6832 since some C++ compilers masquerading as C compilers
6833 incorrectly reject 9223372036854775807. */
6834 # define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6835 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6836 && LARGE_OFF_T % 2147483647 == 1)
6847 rm -f conftest.$ac_objext
6848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6849 (eval $ac_compile) 2>&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } &&
6853 { ac_try='test -s conftest.$ac_objext'
6854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); }; }; then
6859 ac_cv_sys_largefile_CC=' -n32'
6861 echo "$as_me: failed program was:" >&5
6862 sed 's/^/| /' conftest.$ac_ext >&5
6865 rm -f conftest.$ac_objext conftest.$ac_ext
6868 rm -f conftest.$ac_objext conftest.$ac_ext
6871 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
6872 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
6873 if test "$ac_cv_sys_largefile_CC" != no; then
6874 CC="$CC$ac_cv_sys_largefile_CC"
6877 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6878 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
6879 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
6880 echo $ECHO_N "(cached) $ECHO_C" >&6
6882 ac_cv_sys_file_offset_bits=no
6883 cat >conftest.$ac_ext <<_ACEOF
6884 #line $LINENO "configure"
6887 cat confdefs.h >>conftest.$ac_ext
6888 cat >>conftest.$ac_ext <<_ACEOF
6889 /* end confdefs.h. */
6890 #include <sys/types.h>
6891 /* Check that off_t can represent 2**63 - 1 correctly.
6892 We can't simply "#define LARGE_OFF_T 9223372036854775807",
6893 since some C++ compilers masquerading as C compilers
6894 incorrectly reject 9223372036854775807. */
6895 # define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6896 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6897 && LARGE_OFF_T % 2147483647 == 1)
6908 rm -f conftest.$ac_objext
6909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6910 (eval $ac_compile) 2>&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); } &&
6914 { ac_try='test -s conftest.$ac_objext'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; }; then
6922 echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.$ac_ext >&5
6925 cat >conftest.$ac_ext <<_ACEOF
6926 #line $LINENO "configure"
6929 cat confdefs.h >>conftest.$ac_ext
6930 cat >>conftest.$ac_ext <<_ACEOF
6931 /* end confdefs.h. */
6932 #define _FILE_OFFSET_BITS 64
6933 #include <sys/types.h>
6934 /* Check that off_t can represent 2**63 - 1 correctly.
6935 We can't simply "#define LARGE_OFF_T 9223372036854775807",
6936 since some C++ compilers masquerading as C compilers
6937 incorrectly reject 9223372036854775807. */
6938 # define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6939 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6940 && LARGE_OFF_T % 2147483647 == 1)
6952 rm -f conftest.$ac_objext
6953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6954 (eval $ac_compile) 2>&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); } &&
6958 { ac_try='test -s conftest.$ac_objext'
6959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); }; }; then
6964 ac_cv_sys_file_offset_bits=64
6966 echo "$as_me: failed program was:" >&5
6967 sed 's/^/| /' conftest.$ac_ext >&5
6970 rm -f conftest.$ac_objext conftest.$ac_ext
6972 rm -f conftest.$ac_objext conftest.$ac_ext
6974 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
6975 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
6976 if test "$ac_cv_sys_file_offset_bits" != no; then
6978 cat >>confdefs.h <<_ACEOF
6979 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6983 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
6984 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
6985 if test "${ac_cv_sys_large_files+set}" = set; then
6986 echo $ECHO_N "(cached) $ECHO_C" >&6
6988 ac_cv_sys_large_files=no
6989 cat >conftest.$ac_ext <<_ACEOF
6990 #line $LINENO "configure"
6993 cat confdefs.h >>conftest.$ac_ext
6994 cat >>conftest.$ac_ext <<_ACEOF
6995 /* end confdefs.h. */
6996 #include <sys/types.h>
6997 /* Check that off_t can represent 2**63 - 1 correctly.
6998 We can't simply "#define LARGE_OFF_T 9223372036854775807",
6999 since some C++ compilers masquerading as C compilers
7000 incorrectly reject 9223372036854775807. */
7001 # define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7002 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7003 && LARGE_OFF_T % 2147483647 == 1)
7014 rm -f conftest.$ac_objext
7015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7016 (eval $ac_compile) 2>&5
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); } &&
7020 { ac_try='test -s conftest.$ac_objext'
7021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025 (exit $ac_status); }; }; then
7028 echo "$as_me: failed program was:" >&5
7029 sed 's/^/| /' conftest.$ac_ext >&5
7031 cat >conftest.$ac_ext <<_ACEOF
7032 #line $LINENO "configure"
7035 cat confdefs.h >>conftest.$ac_ext
7036 cat >>conftest.$ac_ext <<_ACEOF
7037 /* end confdefs.h. */
7038 #define _LARGE_FILES 1
7039 #include <sys/types.h>
7040 /* Check that off_t can represent 2**63 - 1 correctly.
7041 We can't simply "#define LARGE_OFF_T 9223372036854775807",
7042 since some C++ compilers masquerading as C compilers
7043 incorrectly reject 9223372036854775807. */
7044 # define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7046 && LARGE_OFF_T % 2147483647 == 1)
7058 rm -f conftest.$ac_objext
7059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7060 (eval $ac_compile) 2>&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); } &&
7064 { ac_try='test -s conftest.$ac_objext'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; }; then
7070 ac_cv_sys_large_files=1
7072 echo "$as_me: failed program was:" >&5
7073 sed 's/^/| /' conftest.$ac_ext >&5
7076 rm -f conftest.$ac_objext conftest.$ac_ext
7078 rm -f conftest.$ac_objext conftest.$ac_ext
7080 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
7081 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
7082 if test "$ac_cv_sys_large_files" != no; then
7084 cat >>confdefs.h <<_ACEOF
7085 #define _LARGE_FILES $ac_cv_sys_large_files
7093 for ac_header in stdlib.h
7095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7097 echo "$as_me:$LINENO: checking for $ac_header" >&5
7098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7100 echo $ECHO_N "(cached) $ECHO_C" >&6
7102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7105 # Is the header compilable?
7106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7108 cat >conftest.$ac_ext <<_ACEOF
7109 #line $LINENO "configure"
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7115 $ac_includes_default
7116 #include <$ac_header>
7118 rm -f conftest.$ac_objext
7119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7120 (eval $ac_compile) 2>&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } &&
7124 { ac_try='test -s conftest.$ac_objext'
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }; }; then
7130 ac_header_compiler=yes
7132 echo "$as_me: failed program was:" >&5
7133 sed 's/^/| /' conftest.$ac_ext >&5
7135 ac_header_compiler=no
7137 rm -f conftest.$ac_objext conftest.$ac_ext
7138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7139 echo "${ECHO_T}$ac_header_compiler" >&6
7141 # Is the header present?
7142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7144 cat >conftest.$ac_ext <<_ACEOF
7145 #line $LINENO "configure"
7148 cat confdefs.h >>conftest.$ac_ext
7149 cat >>conftest.$ac_ext <<_ACEOF
7150 /* end confdefs.h. */
7151 #include <$ac_header>
7153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7156 grep -v '^ *+' conftest.er1 >conftest.err
7158 cat conftest.err >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); } >/dev/null; then
7161 if test -s conftest.err; then
7162 ac_cpp_err=$ac_c_preproc_warn_flag
7169 if test -z "$ac_cpp_err"; then
7170 ac_header_preproc=yes
7172 echo "$as_me: failed program was:" >&5
7173 sed 's/^/| /' conftest.$ac_ext >&5
7175 ac_header_preproc=no
7177 rm -f conftest.err conftest.$ac_ext
7178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7179 echo "${ECHO_T}$ac_header_preproc" >&6
7181 # So? What about this header?
7182 case $ac_header_compiler:$ac_header_preproc in
7184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7190 ## ------------------------------------ ##
7191 ## Report this to bug-autoconf@gnu.org. ##
7192 ## ------------------------------------ ##
7195 sed "s/^/$as_me: WARNING: /" >&2
7198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7206 ## ------------------------------------ ##
7207 ## Report this to bug-autoconf@gnu.org. ##
7208 ## ------------------------------------ ##
7211 sed "s/^/$as_me: WARNING: /" >&2
7214 echo "$as_me:$LINENO: checking for $ac_header" >&5
7215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7217 echo $ECHO_N "(cached) $ECHO_C" >&6
7219 eval "$as_ac_Header=$ac_header_preproc"
7221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7226 cat >>confdefs.h <<_ACEOF
7227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7235 echo "$as_me:$LINENO: checking for mbstate_t" >&5
7236 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
7237 if test "${ac_cv_type_mbstate_t+set}" = set; then
7238 echo $ECHO_N "(cached) $ECHO_C" >&6
7240 cat >conftest.$ac_ext <<_ACEOF
7241 #line $LINENO "configure"
7244 cat confdefs.h >>conftest.$ac_ext
7245 cat >>conftest.$ac_ext <<_ACEOF
7246 /* end confdefs.h. */
7249 # include <stdlib.h>
7255 mbstate_t x; return sizeof x;
7260 rm -f conftest.$ac_objext
7261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7262 (eval $ac_compile) 2>&5
7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); } &&
7266 { ac_try='test -s conftest.$ac_objext'
7267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); }; }; then
7272 ac_cv_type_mbstate_t=yes
7274 echo "$as_me: failed program was:" >&5
7275 sed 's/^/| /' conftest.$ac_ext >&5
7277 ac_cv_type_mbstate_t=no
7279 rm -f conftest.$ac_objext conftest.$ac_ext
7281 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
7282 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
7283 if test $ac_cv_type_mbstate_t = no; then
7285 cat >>confdefs.h <<\_ACEOF
7286 #define mbstate_t int
7291 echo "$as_me:$LINENO: checking for uint8_t" >&5
7292 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
7293 if test "${ac_cv_type_uint8_t+set}" = set; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 cat >conftest.$ac_ext <<_ACEOF
7297 #line $LINENO "configure"
7300 cat confdefs.h >>conftest.$ac_ext
7301 cat >>conftest.$ac_ext <<_ACEOF
7302 /* end confdefs.h. */
7306 #include <sys/types.h>
7312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7313 $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
7314 ac_cv_type_uint8_t=yes
7316 ac_cv_type_uint8_t=no
7321 echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
7322 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
7323 if test $ac_cv_type_uint8_t = no; then
7324 cat >>confdefs.h <<\_ACEOF
7325 #define uint8_t unsigned char
7330 echo "$as_me:$LINENO: checking for uint16_t" >&5
7331 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
7332 if test "${ac_cv_type_uint16_t+set}" = set; then
7333 echo $ECHO_N "(cached) $ECHO_C" >&6
7335 cat >conftest.$ac_ext <<_ACEOF
7336 #line $LINENO "configure"
7339 cat confdefs.h >>conftest.$ac_ext
7340 cat >>conftest.$ac_ext <<_ACEOF
7341 /* end confdefs.h. */
7345 #include <sys/types.h>
7351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7352 $EGREP "(^|[^a-zA-Z_0-9])uint16_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
7353 ac_cv_type_uint16_t=yes
7355 ac_cv_type_uint16_t=no
7360 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
7361 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
7362 if test $ac_cv_type_uint16_t = no; then
7363 cat >>confdefs.h <<\_ACEOF
7364 #define uint16_t unsigned short
7369 echo "$as_me:$LINENO: checking for uint32_t" >&5
7370 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7371 if test "${ac_cv_type_uint32_t+set}" = set; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 cat >conftest.$ac_ext <<_ACEOF
7375 #line $LINENO "configure"
7378 cat confdefs.h >>conftest.$ac_ext
7379 cat >>conftest.$ac_ext <<_ACEOF
7380 /* end confdefs.h. */
7384 #include <sys/types.h>
7390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7391 $EGREP "(^|[^a-zA-Z_0-9])uint32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
7392 ac_cv_type_uint32_t=yes
7394 ac_cv_type_uint32_t=no
7399 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7400 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7401 if test $ac_cv_type_uint32_t = no; then
7402 cat >>confdefs.h <<\_ACEOF
7403 #define uint32_t unsigned int
7408 echo "$as_me:$LINENO: checking for int32_t" >&5
7409 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
7410 if test "${ac_cv_type_int32_t+set}" = set; then
7411 echo $ECHO_N "(cached) $ECHO_C" >&6
7413 cat >conftest.$ac_ext <<_ACEOF
7414 #line $LINENO "configure"
7417 cat confdefs.h >>conftest.$ac_ext
7418 cat >>conftest.$ac_ext <<_ACEOF
7419 /* end confdefs.h. */
7423 #include <sys/types.h>
7429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7430 $EGREP "(^|[^a-zA-Z_0-9])int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
7431 ac_cv_type_int32_t=yes
7433 ac_cv_type_int32_t=no
7438 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
7439 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
7440 if test $ac_cv_type_int32_t = no; then
7441 cat >>confdefs.h <<\_ACEOF
7447 echo "$as_me:$LINENO: checking for long long" >&5
7448 echo $ECHO_N "checking for long long... $ECHO_C" >&6
7449 if test "${ac_cv_c_long_long+set}" = set; then
7450 echo $ECHO_N "(cached) $ECHO_C" >&6
7452 if test "$GCC" = yes; then
7453 ac_cv_c_long_long=yes
7455 if test "$cross_compiling" = yes; then
7456 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7457 See \`config.log' for more details." >&5
7458 echo "$as_me: error: cannot run test program while cross compiling
7459 See \`config.log' for more details." >&2;}
7460 { (exit 1); exit 1; }; }
7462 cat >conftest.$ac_ext <<_ACEOF
7463 #line $LINENO "configure"
7466 cat confdefs.h >>conftest.$ac_ext
7467 cat >>conftest.$ac_ext <<_ACEOF
7468 /* end confdefs.h. */
7471 exit(sizeof(long long) < sizeof(long)); }
7473 rm -f conftest$ac_exeext
7474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7475 (eval $ac_link) 2>&5
7477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); }; }; then
7484 ac_cv_c_long_long=yes
7486 echo "$as_me: program exited with status $ac_status" >&5
7487 echo "$as_me: failed program was:" >&5
7488 sed 's/^/| /' conftest.$ac_ext >&5
7491 ac_cv_c_long_long=no
7493 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7497 echo "$as_me:$LINENO: result: $ac_cv_c_long_long" >&5
7498 echo "${ECHO_T}$ac_cv_c_long_long" >&6
7499 if test $ac_cv_c_long_long = yes; then
7500 cat >>confdefs.h <<\_ACEOF
7501 #define HAVE_LONG_LONG 1
7506 if test $ac_cv_c_long_long = yes; then
7507 long64='unsigned long long';
7509 long64='unsigned long';
7511 echo "$as_me:$LINENO: checking for uint64_t" >&5
7512 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7513 if test "${ac_cv_type_uint64_t+set}" = set; then
7514 echo $ECHO_N "(cached) $ECHO_C" >&6
7516 cat >conftest.$ac_ext <<_ACEOF
7517 #line $LINENO "configure"
7520 cat confdefs.h >>conftest.$ac_ext
7521 cat >>conftest.$ac_ext <<_ACEOF
7522 /* end confdefs.h. */
7526 #include <sys/types.h>
7532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7533 $EGREP "(^|[^a-zA-Z_0-9])uint64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
7534 eval "ac_cv_type_uint64_t=yes"
7536 eval "ac_cv_type_uint64_t=no"
7541 if eval "test \"`echo '$ac_cv_type_'uint64_t`\" = yes"; then
7542 echo "$as_me:$LINENO: result: yes" >&5
7543 echo "${ECHO_T}yes" >&6
7545 echo "$as_me:$LINENO: result: no" >&5
7546 echo "${ECHO_T}no" >&6
7547 cat >>confdefs.h <<_ACEOF
7548 #define uint64_t $long64
7554 echo "$as_me:$LINENO: checking size of uint8_t" >&5
7555 echo $ECHO_N "checking size of uint8_t... $ECHO_C" >&6
7556 if test "${ac_cv_sizeof_uint8_t+set}" = set; then
7557 echo $ECHO_N "(cached) $ECHO_C" >&6
7559 if test "$cross_compiling" = yes; then
7560 ac_cv_sizeof_uint8_t=0
7562 cat >conftest.$ac_ext <<_ACEOF
7563 #line $LINENO "configure"
7566 cat confdefs.h >>conftest.$ac_ext
7567 cat >>conftest.$ac_ext <<_ACEOF
7568 /* end confdefs.h. */
7572 #include <sys/types.h>
7580 FILE *f=fopen("conftestval", "w");
7582 fprintf(f, "%d\n", sizeof(uint8_t));
7586 rm -f conftest$ac_exeext
7587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7588 (eval $ac_link) 2>&5
7590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); }; }; then
7597 ac_cv_sizeof_uint8_t=`cat conftestval`
7599 echo "$as_me: program exited with status $ac_status" >&5
7600 echo "$as_me: failed program was:" >&5
7601 sed 's/^/| /' conftest.$ac_ext >&5
7604 ac_cv_sizeof_uint8_t=0
7606 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7609 echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint8_t" >&5
7610 echo "${ECHO_T}$ac_cv_sizeof_uint8_t" >&6
7611 cat >>confdefs.h <<_ACEOF
7612 #define SIZEOF_UINT8_T $ac_cv_sizeof_uint8_t
7617 echo "$as_me:$LINENO: checking size of uint16_t" >&5
7618 echo $ECHO_N "checking size of uint16_t... $ECHO_C" >&6
7619 if test "${ac_cv_sizeof_uint16_t+set}" = set; then
7620 echo $ECHO_N "(cached) $ECHO_C" >&6
7622 if test "$cross_compiling" = yes; then
7623 ac_cv_sizeof_uint16_t=0
7625 cat >conftest.$ac_ext <<_ACEOF
7626 #line $LINENO "configure"
7629 cat confdefs.h >>conftest.$ac_ext
7630 cat >>conftest.$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7635 #include <sys/types.h>
7643 FILE *f=fopen("conftestval", "w");
7645 fprintf(f, "%d\n", sizeof(uint16_t));
7649 rm -f conftest$ac_exeext
7650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7651 (eval $ac_link) 2>&5
7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7659 (exit $ac_status); }; }; then
7660 ac_cv_sizeof_uint16_t=`cat conftestval`
7662 echo "$as_me: program exited with status $ac_status" >&5
7663 echo "$as_me: failed program was:" >&5
7664 sed 's/^/| /' conftest.$ac_ext >&5
7667 ac_cv_sizeof_uint16_t=0
7669 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7672 echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint16_t" >&5
7673 echo "${ECHO_T}$ac_cv_sizeof_uint16_t" >&6
7674 cat >>confdefs.h <<_ACEOF
7675 #define SIZEOF_UINT16_T $ac_cv_sizeof_uint16_t
7680 echo "$as_me:$LINENO: checking size of uint32_t" >&5
7681 echo $ECHO_N "checking size of uint32_t... $ECHO_C" >&6
7682 if test "${ac_cv_sizeof_uint32_t+set}" = set; then
7683 echo $ECHO_N "(cached) $ECHO_C" >&6
7685 if test "$cross_compiling" = yes; then
7686 ac_cv_sizeof_uint32_t=0
7688 cat >conftest.$ac_ext <<_ACEOF
7689 #line $LINENO "configure"
7692 cat confdefs.h >>conftest.$ac_ext
7693 cat >>conftest.$ac_ext <<_ACEOF
7694 /* end confdefs.h. */
7698 #include <sys/types.h>
7706 FILE *f=fopen("conftestval", "w");
7708 fprintf(f, "%d\n", sizeof(uint32_t));
7712 rm -f conftest$ac_exeext
7713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7714 (eval $ac_link) 2>&5
7716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); }; }; then
7723 ac_cv_sizeof_uint32_t=`cat conftestval`
7725 echo "$as_me: program exited with status $ac_status" >&5
7726 echo "$as_me: failed program was:" >&5
7727 sed 's/^/| /' conftest.$ac_ext >&5
7730 ac_cv_sizeof_uint32_t=0
7732 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7735 echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint32_t" >&5
7736 echo "${ECHO_T}$ac_cv_sizeof_uint32_t" >&6
7737 cat >>confdefs.h <<_ACEOF
7738 #define SIZEOF_UINT32_T $ac_cv_sizeof_uint32_t
7743 echo "$as_me:$LINENO: checking size of uint64_t" >&5
7744 echo $ECHO_N "checking size of uint64_t... $ECHO_C" >&6
7745 if test "${ac_cv_sizeof_uint64_t+set}" = set; then
7746 echo $ECHO_N "(cached) $ECHO_C" >&6
7748 if test "$cross_compiling" = yes; then
7749 ac_cv_sizeof_uint64_t=0
7751 cat >conftest.$ac_ext <<_ACEOF
7752 #line $LINENO "configure"
7755 cat confdefs.h >>conftest.$ac_ext
7756 cat >>conftest.$ac_ext <<_ACEOF
7757 /* end confdefs.h. */
7761 #include <sys/types.h>
7769 FILE *f=fopen("conftestval", "w");
7771 fprintf(f, "%d\n", sizeof(uint64_t));
7775 rm -f conftest$ac_exeext
7776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7777 (eval $ac_link) 2>&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785 (exit $ac_status); }; }; then
7786 ac_cv_sizeof_uint64_t=`cat conftestval`
7788 echo "$as_me: program exited with status $ac_status" >&5
7789 echo "$as_me: failed program was:" >&5
7790 sed 's/^/| /' conftest.$ac_ext >&5
7793 ac_cv_sizeof_uint64_t=0
7795 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7798 echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint64_t" >&5
7799 echo "${ECHO_T}$ac_cv_sizeof_uint64_t" >&6
7800 cat >>confdefs.h <<_ACEOF
7801 #define SIZEOF_UINT64_T $ac_cv_sizeof_uint64_t
7816 for ac_func in mmap strerror strtoul mbrtowc mkstemp getopt_long utimes utime wcwidth
7818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7819 echo "$as_me:$LINENO: checking for $ac_func" >&5
7820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7821 if eval "test \"\${$as_ac_var+set}\" = set"; then
7822 echo $ECHO_N "(cached) $ECHO_C" >&6
7824 cat >conftest.$ac_ext <<_ACEOF
7825 #line $LINENO "configure"
7828 cat confdefs.h >>conftest.$ac_ext
7829 cat >>conftest.$ac_ext <<_ACEOF
7830 /* end confdefs.h. */
7831 /* System header to define __stub macros and hopefully few prototypes,
7832 which can conflict with char $ac_func (); below.
7833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7834 <limits.h> exists even on freestanding compilers. */
7836 # include <limits.h>
7838 # include <assert.h>
7840 /* Override any gcc2 internal prototype to avoid an error. */
7845 /* We use char because int might match the return type of a gcc2
7846 builtin and then its argument prototype would still apply. */
7848 /* The GNU C library defines this for functions which it implements
7849 to always fail with ENOSYS. Some functions are actually named
7850 something starting with __ and the normal name is an alias. */
7851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7854 char (*f) () = $ac_func;
7863 return f != $ac_func;
7868 rm -f conftest.$ac_objext conftest$ac_exeext
7869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7870 (eval $ac_link) 2>&5
7872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873 (exit $ac_status); } &&
7874 { ac_try='test -s conftest$ac_exeext'
7875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879 (exit $ac_status); }; }; then
7880 eval "$as_ac_var=yes"
7882 echo "$as_me: failed program was:" >&5
7883 sed 's/^/| /' conftest.$ac_ext >&5
7885 eval "$as_ac_var=no"
7887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7891 if test `eval echo '${'$as_ac_var'}'` = yes; then
7892 cat >>confdefs.h <<_ACEOF
7893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7901 echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
7902 echo $ECHO_N "checking for gzopen in -lz... $ECHO_C" >&6
7903 if test "${ac_cv_lib_z_gzopen+set}" = set; then
7904 echo $ECHO_N "(cached) $ECHO_C" >&6
7906 ac_check_lib_save_LIBS=$LIBS
7908 cat >conftest.$ac_ext <<_ACEOF
7909 #line $LINENO "configure"
7912 cat confdefs.h >>conftest.$ac_ext
7913 cat >>conftest.$ac_ext <<_ACEOF
7914 /* end confdefs.h. */
7916 /* Override any gcc2 internal prototype to avoid an error. */
7920 /* We use char because int might match the return type of a gcc2
7921 builtin and then its argument prototype would still apply. */
7931 rm -f conftest.$ac_objext conftest$ac_exeext
7932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7933 (eval $ac_link) 2>&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); } &&
7937 { ac_try='test -s conftest$ac_exeext'
7938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); }; }; then
7943 ac_cv_lib_z_gzopen=yes
7945 echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.$ac_ext >&5
7948 ac_cv_lib_z_gzopen=no
7950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7951 LIBS=$ac_check_lib_save_LIBS
7953 echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
7954 echo "${ECHO_T}$ac_cv_lib_z_gzopen" >&6
7955 if test $ac_cv_lib_z_gzopen = yes; then
7956 cat >>confdefs.h <<_ACEOF
7965 ac_config_files="$ac_config_files Makefile src/Makefile magic/Makefile doc/Makefile"
7966 cat >confcache <<\_ACEOF
7967 # This file is a shell script that caches the results of configure
7968 # tests run on this system so they can be shared between configure
7969 # scripts and configure runs, see configure's option --config-cache.
7970 # It is not useful on other systems. If it contains results you don't
7971 # want to keep, you may remove or edit it.
7973 # config.status only pays attention to the cache file if you give it
7974 # the --recheck option to rerun configure.
7976 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7977 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7982 # The following way of writing the cache mishandles newlines in values,
7983 # but we know of no workaround that is simple, portable, and efficient.
7984 # So, don't put newlines in cache variables' values.
7985 # Ultrix sh set writes to stderr and can't be redirected directly,
7986 # and sets the high bit in the cache file unless we assign to the vars.
7989 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7991 # `set' does not quote correctly, so add quotes (double-quote
7992 # substitution turns \\\\ into \\, and sed turns \\ into \).
7995 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7998 # `set' quotes correctly as required by POSIX, so do not add quotes.
8000 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8007 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8009 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8011 if diff $cache_file confcache >/dev/null 2>&1; then :; else
8012 if test -w $cache_file; then
8013 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8014 cat confcache >$cache_file
8016 echo "not updating unwritable cache $cache_file"
8021 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8022 # Let make expand exec_prefix.
8023 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8025 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8026 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8027 # trailing colons and then remove the whole line if VPATH becomes empty
8028 # (actually we leave an empty line to preserve line numbers).
8029 if test "x$srcdir" = x.; then
8030 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8031 s/:*\$(srcdir):*/:/;
8032 s/:*\${srcdir}:*/:/;
8034 s/^\([^=]*=[ ]*\):*/\1/;
8040 DEFS=-DHAVE_CONFIG_H
8044 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8045 # 1. Remove the extension, and $U if already installed.
8046 ac_i=`echo "$ac_i" |
8047 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8049 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8050 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8054 LTLIBOBJS=$ac_ltlibobjs
8057 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8058 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8059 Usually this means the macro was only invoked conditionally." >&5
8060 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8061 Usually this means the macro was only invoked conditionally." >&2;}
8062 { (exit 1); exit 1; }; }
8064 if test -z "${FSECT5_TRUE}" && test -z "${FSECT5_FALSE}"; then
8065 { { echo "$as_me:$LINENO: error: conditional \"FSECT5\" was never defined.
8066 Usually this means the macro was only invoked conditionally." >&5
8067 echo "$as_me: error: conditional \"FSECT5\" was never defined.
8068 Usually this means the macro was only invoked conditionally." >&2;}
8069 { (exit 1); exit 1; }; }
8071 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8072 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8073 Usually this means the macro was only invoked conditionally." >&5
8074 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8075 Usually this means the macro was only invoked conditionally." >&2;}
8076 { (exit 1); exit 1; }; }
8078 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8079 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8080 Usually this means the macro was only invoked conditionally." >&5
8081 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8082 Usually this means the macro was only invoked conditionally." >&2;}
8083 { (exit 1); exit 1; }; }
8086 : ${CONFIG_STATUS=./config.status}
8087 ac_clean_files_save=$ac_clean_files
8088 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8089 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8090 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8091 cat >$CONFIG_STATUS <<_ACEOF
8093 # Generated by $as_me.
8094 # Run this file to recreate the current configuration.
8095 # Compiler output produced by configure, useful for debugging
8096 # configure, is in config.log if it exists.
8101 SHELL=\${CONFIG_SHELL-$SHELL}
8104 cat >>$CONFIG_STATUS <<\_ACEOF
8105 ## --------------------- ##
8106 ## M4sh Initialization. ##
8107 ## --------------------- ##
8109 # Be Bourne compatible
8110 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8113 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8114 # is contrary to our usage. Disable this feature.
8115 alias -g '${1+"$@"}'='"$@"'
8116 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8120 # Support unset when possible.
8121 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
8128 # Work around bugs in pre-3.0 UWIN ksh.
8129 $as_unset ENV MAIL MAILPATH
8136 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8137 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8138 LC_TELEPHONE LC_TIME
8140 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
8141 eval $as_var=C; export $as_var
8147 # Required to use basename.
8148 if expr a : '\(a\)' >/dev/null 2>&1; then
8154 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8155 as_basename=basename
8161 # Name of the executable.
8162 as_me=`$as_basename "$0" ||
8163 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8164 X"$0" : 'X\(//\)$' \| \
8165 X"$0" : 'X\(/\)$' \| \
8166 . : '\(.\)' 2>/dev/null ||
8168 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8169 /^X\/\(\/\/\)$/{ s//\1/; q; }
8170 /^X\/\(\/\).*/{ s//\1/; q; }
8174 # PATH needs CR, and LINENO needs CR and PATH.
8175 # Avoid depending upon Character Ranges.
8176 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8177 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8178 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8179 as_cr_digits='0123456789'
8180 as_cr_alnum=$as_cr_Letters$as_cr_digits
8182 # The user is always right.
8183 if test "${PATH_SEPARATOR+set}" != set; then
8184 echo "#! /bin/sh" >conf$$.sh
8185 echo "exit 0" >>conf$$.sh
8187 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8198 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8199 test "x$as_lineno_1" != "x$as_lineno_2" &&
8200 test "x$as_lineno_3" = "x$as_lineno_2" || {
8201 # Find who we are. Look in the path if we contain no path at all
8204 *[\\/]* ) as_myself=$0 ;;
8205 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209 test -z "$as_dir" && as_dir=.
8210 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8215 # We did not find ourselves, most probably we were run as `sh COMMAND'
8216 # in which case we are not to be found in the path.
8217 if test "x$as_myself" = x; then
8220 if test ! -f "$as_myself"; then
8221 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8222 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8223 { (exit 1); exit 1; }; }
8225 case $CONFIG_SHELL in
8227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8228 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8231 test -z "$as_dir" && as_dir=.
8232 for as_base in sh bash ksh sh5; do
8235 if ("$as_dir/$as_base" -c '
8238 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8239 test "x$as_lineno_1" != "x$as_lineno_2" &&
8240 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
8241 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8242 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8243 CONFIG_SHELL=$as_dir/$as_base
8245 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8253 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8254 # uniformly replaced by the line number. The first 'sed' inserts a
8255 # line-number line before each line; the second 'sed' does the real
8256 # work. The second script uses 'N' to pair each line-number line
8257 # with the numbered line, and appends trailing '-' during
8258 # substitution so that $LINENO is not a special case at line end.
8259 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8260 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8261 sed '=' <$as_myself |
8266 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8269 s,^['$as_cr_digits']*\n,,
8271 chmod +x $as_me.lineno ||
8272 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8273 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8274 { (exit 1); exit 1; }; }
8276 # Don't try to exec as it changes $[0], causing all sort of problems
8277 # (the dirname of $[0] is not the place where we might find the
8278 # original and so on. Autoconf is especially sensible to this).
8280 # Exit status is that of the last command.
8285 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8286 *c*,-n*) ECHO_N= ECHO_C='
8288 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8289 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
8292 if expr a : '\(a\)' >/dev/null 2>&1; then
8298 rm -f conf$$ conf$$.exe conf$$.file
8300 if ln -s conf$$.file conf$$ 2>/dev/null; then
8301 # We could just check for DJGPP; but this test a) works b) is more generic
8302 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8303 if test -f conf$$.exe; then
8304 # Don't use ln at all; we don't have any links
8309 elif ln conf$$.file conf$$ 2>/dev/null; then
8314 rm -f conf$$ conf$$.exe conf$$.file
8316 if mkdir -p . 2>/dev/null; then
8322 as_executable_p="test -f"
8324 # Sed expression to map a string onto a valid CPP name.
8325 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
8327 # Sed expression to map a string onto a valid variable name.
8328 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
8332 # We need space, tab and new line, in precisely that order.
8342 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8343 # report actual input values of CONFIG_FILES etc. instead of their
8344 # values after options handling. Logging --version etc. is OK.
8348 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8349 ## Running $as_me. ##
8354 This file was extended by $as_me, which was
8355 generated by GNU Autoconf 2.57. Invocation command line was
8357 CONFIG_FILES = $CONFIG_FILES
8358 CONFIG_HEADERS = $CONFIG_HEADERS
8359 CONFIG_LINKS = $CONFIG_LINKS
8360 CONFIG_COMMANDS = $CONFIG_COMMANDS
8364 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8368 # Files that config.status was made for.
8369 if test -n "$ac_config_files"; then
8370 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8373 if test -n "$ac_config_headers"; then
8374 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8377 if test -n "$ac_config_links"; then
8378 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8381 if test -n "$ac_config_commands"; then
8382 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8385 cat >>$CONFIG_STATUS <<\_ACEOF
8388 \`$as_me' instantiates files from templates according to the
8389 current configuration.
8391 Usage: $0 [OPTIONS] [FILE]...
8393 -h, --help print this help, then exit
8394 -V, --version print version number, then exit
8395 -q, --quiet do not print progress messages
8396 -d, --debug don't remove temporary files
8397 --recheck update $as_me by reconfiguring in the same conditions
8398 --file=FILE[:TEMPLATE]
8399 instantiate the configuration file FILE
8400 --header=FILE[:TEMPLATE]
8401 instantiate the configuration header FILE
8403 Configuration files:
8406 Configuration headers:
8409 Configuration commands:
8412 Report bugs to <bug-autoconf@gnu.org>."
8415 cat >>$CONFIG_STATUS <<_ACEOF
8418 configured by $0, generated by GNU Autoconf 2.57,
8419 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8421 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8422 Free Software Foundation, Inc.
8423 This config.status script is free software; the Free Software Foundation
8424 gives unlimited permission to copy, distribute and modify it."
8429 cat >>$CONFIG_STATUS <<\_ACEOF
8430 # If no file are specified by the user, then we need to provide default
8431 # value. By we need to know if files were specified by the user.
8437 ac_option=`expr "x$1" : 'x\([^=]*\)='`
8438 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8446 *) # This is not an option, so the user has probably given explicit
8449 ac_need_defaults=false;;
8453 # Handling of the options.
8455 cat >>$CONFIG_STATUS <<\_ACEOF
8456 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8458 --version | --vers* | -V )
8459 echo "$ac_cs_version"; exit 0 ;;
8461 # Conflict between --help and --header
8462 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8463 Try \`$0 --help' for more information." >&5
8464 echo "$as_me: error: ambiguous option: $1
8465 Try \`$0 --help' for more information." >&2;}
8466 { (exit 1); exit 1; }; };;
8467 --help | --hel | -h )
8468 echo "$ac_cs_usage"; exit 0 ;;
8469 --debug | --d* | -d )
8471 --file | --fil | --fi | --f )
8473 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8474 ac_need_defaults=false;;
8475 --header | --heade | --head | --hea )
8477 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8478 ac_need_defaults=false;;
8479 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8480 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8484 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8485 Try \`$0 --help' for more information." >&5
8486 echo "$as_me: error: unrecognized option: $1
8487 Try \`$0 --help' for more information." >&2;}
8488 { (exit 1); exit 1; }; } ;;
8490 *) ac_config_targets="$ac_config_targets $1" ;;
8496 ac_configure_extra_args=
8498 if $ac_cs_silent; then
8500 ac_configure_extra_args="$ac_configure_extra_args --silent"
8504 cat >>$CONFIG_STATUS <<_ACEOF
8505 if \$ac_cs_recheck; then
8506 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8507 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8512 cat >>$CONFIG_STATUS <<_ACEOF
8514 # INIT-COMMANDS section.
8517 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8523 cat >>$CONFIG_STATUS <<\_ACEOF
8524 for ac_config_target in $ac_config_targets
8526 case "$ac_config_target" in
8527 # Handling of arguments.
8528 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8529 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8530 "magic/Makefile" ) CONFIG_FILES="$CONFIG_FILES magic/Makefile" ;;
8531 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8532 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8533 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8534 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8535 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8536 { (exit 1); exit 1; }; };;
8540 # If the user did not use the arguments to specify the items to instantiate,
8541 # then the envvar interface is used. Set only those that are not.
8542 # We use the long form for the default assignment because of an extremely
8543 # bizarre bug on SunOS 4.1.3.
8544 if $ac_need_defaults; then
8545 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8546 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8547 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8550 # Have a temporary directory for convenience. Make it in the build tree
8551 # simply because there is no reason to put it here, and in addition,
8552 # creating and moving files from /tmp can sometimes cause problems.
8553 # Create a temporary directory, and hook for its removal unless debugging.
8556 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8557 trap '{ (exit 1); exit 1; }' 1 2 13 15
8560 # Create a (secure) tmp directory for tmp files.
8563 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8564 test -n "$tmp" && test -d "$tmp"
8567 tmp=./confstat$$-$RANDOM
8568 (umask 077 && mkdir $tmp)
8571 echo "$me: cannot create a temporary directory in ." >&2
8572 { (exit 1); exit 1; }
8577 cat >>$CONFIG_STATUS <<_ACEOF
8580 # CONFIG_FILES section.
8583 # No need to generate the scripts if there are no CONFIG_FILES.
8584 # This happens for instance when ./config.status config.h
8585 if test -n "\$CONFIG_FILES"; then
8586 # Protect against being on the right side of a sed subst in config.status.
8587 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8588 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8589 s,@SHELL@,$SHELL,;t t
8590 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8591 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8592 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8593 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8594 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8595 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8596 s,@exec_prefix@,$exec_prefix,;t t
8597 s,@prefix@,$prefix,;t t
8598 s,@program_transform_name@,$program_transform_name,;t t
8599 s,@bindir@,$bindir,;t t
8600 s,@sbindir@,$sbindir,;t t
8601 s,@libexecdir@,$libexecdir,;t t
8602 s,@datadir@,$datadir,;t t
8603 s,@sysconfdir@,$sysconfdir,;t t
8604 s,@sharedstatedir@,$sharedstatedir,;t t
8605 s,@localstatedir@,$localstatedir,;t t
8606 s,@libdir@,$libdir,;t t
8607 s,@includedir@,$includedir,;t t
8608 s,@oldincludedir@,$oldincludedir,;t t
8609 s,@infodir@,$infodir,;t t
8610 s,@mandir@,$mandir,;t t
8611 s,@build_alias@,$build_alias,;t t
8612 s,@host_alias@,$host_alias,;t t
8613 s,@target_alias@,$target_alias,;t t
8615 s,@ECHO_C@,$ECHO_C,;t t
8616 s,@ECHO_N@,$ECHO_N,;t t
8617 s,@ECHO_T@,$ECHO_T,;t t
8619 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8620 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8621 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8622 s,@CYGPATH_W@,$CYGPATH_W,;t t
8623 s,@PACKAGE@,$PACKAGE,;t t
8624 s,@VERSION@,$VERSION,;t t
8625 s,@ACLOCAL@,$ACLOCAL,;t t
8626 s,@AUTOCONF@,$AUTOCONF,;t t
8627 s,@AUTOMAKE@,$AUTOMAKE,;t t
8628 s,@AUTOHEADER@,$AUTOHEADER,;t t
8629 s,@MAKEINFO@,$MAKEINFO,;t t
8630 s,@AMTAR@,$AMTAR,;t t
8631 s,@install_sh@,$install_sh,;t t
8632 s,@STRIP@,$STRIP,;t t
8633 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8634 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8636 s,@SET_MAKE@,$SET_MAKE,;t t
8637 s,@am__leading_dot@,$am__leading_dot,;t t
8638 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8639 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8640 s,@MAINT@,$MAINT,;t t
8641 s,@fsect@,$fsect,;t t
8642 s,@FSECT5_TRUE@,$FSECT5_TRUE,;t t
8643 s,@FSECT5_FALSE@,$FSECT5_FALSE,;t t
8645 s,@CFLAGS@,$CFLAGS,;t t
8646 s,@LDFLAGS@,$LDFLAGS,;t t
8647 s,@CPPFLAGS@,$CPPFLAGS,;t t
8648 s,@ac_ct_CC@,$ac_ct_CC,;t t
8649 s,@EXEEXT@,$EXEEXT,;t t
8650 s,@OBJEXT@,$OBJEXT,;t t
8651 s,@DEPDIR@,$DEPDIR,;t t
8652 s,@am__include@,$am__include,;t t
8653 s,@am__quote@,$am__quote,;t t
8654 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8655 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8656 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8657 s,@CCDEPMODE@,$CCDEPMODE,;t t
8658 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8659 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8661 s,@build@,$build,;t t
8662 s,@build_cpu@,$build_cpu,;t t
8663 s,@build_vendor@,$build_vendor,;t t
8664 s,@build_os@,$build_os,;t t
8666 s,@host_cpu@,$host_cpu,;t t
8667 s,@host_vendor@,$host_vendor,;t t
8668 s,@host_os@,$host_os,;t t
8669 s,@RANLIB@,$RANLIB,;t t
8670 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8671 s,@LIBTOOL@,$LIBTOOL,;t t
8673 s,@EGREP@,$EGREP,;t t
8674 s,@LIBOBJS@,$LIBOBJS,;t t
8675 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8680 cat >>$CONFIG_STATUS <<\_ACEOF
8681 # Split the substitutions into bite-sized pieces for seds with
8682 # small command number limits, like on Digital OSF/1 and HP-UX.
8684 ac_sed_frag=1 # Number of current file.
8685 ac_beg=1 # First line for current file.
8686 ac_end=$ac_max_sed_lines # Line after last line for current file.
8689 while $ac_more_lines; do
8690 if test $ac_beg -gt 1; then
8691 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8693 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8695 if test ! -s $tmp/subs.frag; then
8698 # The purpose of the label and of the branching condition is to
8699 # speed up the sed processing (if there are no `@' at all, there
8700 # is no need to browse any of the substitutions).
8701 # These are the two extra sed commands mentioned above.
8703 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8704 if test -z "$ac_sed_cmds"; then
8705 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8707 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8709 ac_sed_frag=`expr $ac_sed_frag + 1`
8711 ac_end=`expr $ac_end + $ac_max_sed_lines`
8714 if test -z "$ac_sed_cmds"; then
8717 fi # test -n "$CONFIG_FILES"
8720 cat >>$CONFIG_STATUS <<\_ACEOF
8721 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8722 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8724 - | *:- | *:-:* ) # input from stdin
8726 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8727 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8728 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8729 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8730 * ) ac_file_in=$ac_file.in ;;
8733 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8734 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8735 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8736 X"$ac_file" : 'X\(//\)[^/]' \| \
8737 X"$ac_file" : 'X\(//\)$' \| \
8738 X"$ac_file" : 'X\(/\)' \| \
8739 . : '\(.\)' 2>/dev/null ||
8741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8742 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8743 /^X\(\/\/\)$/{ s//\1/; q; }
8744 /^X\(\/\).*/{ s//\1/; q; }
8746 { if $as_mkdir_p; then
8751 while test ! -d "$as_dir"; do
8752 as_dirs="$as_dir $as_dirs"
8753 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8754 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8755 X"$as_dir" : 'X\(//\)[^/]' \| \
8756 X"$as_dir" : 'X\(//\)$' \| \
8757 X"$as_dir" : 'X\(/\)' \| \
8758 . : '\(.\)' 2>/dev/null ||
8760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8761 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8762 /^X\(\/\/\)$/{ s//\1/; q; }
8763 /^X\(\/\).*/{ s//\1/; q; }
8766 test ! -n "$as_dirs" || mkdir $as_dirs
8767 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8768 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8769 { (exit 1); exit 1; }; }; }
8773 if test "$ac_dir" != .; then
8774 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8775 # A "../" for each directory in $ac_dir_suffix.
8776 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8778 ac_dir_suffix= ac_top_builddir=
8782 .) # No --srcdir option. We are building in place.
8784 if test -z "$ac_top_builddir"; then
8787 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8789 [\\/]* | ?:[\\/]* ) # Absolute path.
8790 ac_srcdir=$srcdir$ac_dir_suffix;
8791 ac_top_srcdir=$srcdir ;;
8793 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8794 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8796 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8798 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8799 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8800 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8801 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
8805 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8806 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8809 if test x"$ac_file" != x-; then
8810 { echo "$as_me:$LINENO: creating $ac_file" >&5
8811 echo "$as_me: creating $ac_file" >&6;}
8814 # Let's still pretend it is `configure' which instantiates (i.e., don't
8815 # use $as_me), people would be surprised to read:
8816 # /* config.h. Generated by config.status. */
8817 if test x"$ac_file" = x-; then
8820 configure_input="$ac_file. "
8822 configure_input=$configure_input"Generated from `echo $ac_file_in |
8823 sed 's,.*/,,'` by configure."
8825 # First look for the input files in the build tree, otherwise in the
8827 ac_file_inputs=`IFS=:
8828 for f in $ac_file_in; do
8830 -) echo $tmp/stdin ;;
8832 # Absolute (can't be DOS-style, as IFS=:)
8833 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8834 echo "$as_me: error: cannot find input file: $f" >&2;}
8835 { (exit 1); exit 1; }; }
8838 if test -f "$f"; then
8841 elif test -f "$srcdir/$f"; then
8846 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8847 echo "$as_me: error: cannot find input file: $f" >&2;}
8848 { (exit 1); exit 1; }; }
8851 done` || { (exit 1); exit 1; }
8853 cat >>$CONFIG_STATUS <<_ACEOF
8857 cat >>$CONFIG_STATUS <<\_ACEOF
8859 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8860 s,@configure_input@,$configure_input,;t t
8861 s,@srcdir@,$ac_srcdir,;t t
8862 s,@abs_srcdir@,$ac_abs_srcdir,;t t
8863 s,@top_srcdir@,$ac_top_srcdir,;t t
8864 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8865 s,@builddir@,$ac_builddir,;t t
8866 s,@abs_builddir@,$ac_abs_builddir,;t t
8867 s,@top_builddir@,$ac_top_builddir,;t t
8868 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8869 s,@INSTALL@,$ac_INSTALL,;t t
8870 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8872 if test x"$ac_file" != x-; then
8873 mv $tmp/out $ac_file
8881 cat >>$CONFIG_STATUS <<\_ACEOF
8884 # CONFIG_HEADER section.
8887 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8888 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8890 # ac_d sets the value in "#define NAME VALUE" lines.
8891 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8892 ac_dB='[ ].*$,\1#\2'
8895 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8896 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8897 ac_uB='$,\1#\2define\3'
8901 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8902 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8904 - | *:- | *:-:* ) # input from stdin
8906 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8907 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8908 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8909 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8910 * ) ac_file_in=$ac_file.in ;;
8913 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8914 echo "$as_me: creating $ac_file" >&6;}
8916 # First look for the input files in the build tree, otherwise in the
8918 ac_file_inputs=`IFS=:
8919 for f in $ac_file_in; do
8921 -) echo $tmp/stdin ;;
8923 # Absolute (can't be DOS-style, as IFS=:)
8924 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8925 echo "$as_me: error: cannot find input file: $f" >&2;}
8926 { (exit 1); exit 1; }; }
8929 if test -f "$f"; then
8932 elif test -f "$srcdir/$f"; then
8937 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8938 echo "$as_me: error: cannot find input file: $f" >&2;}
8939 { (exit 1); exit 1; }; }
8942 done` || { (exit 1); exit 1; }
8943 # Remove the trailing spaces.
8944 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8948 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8949 # `conftest.undefs', that substitutes the proper values into
8950 # config.h.in to produce config.h. The first handles `#define'
8951 # templates, and the second `#undef' templates.
8952 # And first: Protect against being on the right side of a sed subst in
8953 # config.status. Protect against being in an unquoted here document
8955 rm -f conftest.defines conftest.undefs
8956 # Using a here document instead of a string reduces the quoting nightmare.
8957 # Putting comments in sed scripts is not portable.
8959 # `end' is used to avoid that the second main sed command (meant for
8960 # 0-ary CPP macros) applies to n-ary macro definitions.
8961 # See the Autoconf documentation for `clear'.
8962 cat >confdef2sed.sed <<\_ACEOF
8967 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8969 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8972 # If some macros were called several times there might be several times
8973 # the same #defines, which is useless. Nevertheless, we may not want to
8974 # sort them, since we want the *last* AC-DEFINE to be honored.
8975 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8976 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8977 rm -f confdef2sed.sed
8979 # This sed command replaces #undef with comments. This is necessary, for
8980 # example, in the case of _POSIX_SOURCE, which is predefined and required
8981 # on some systems where configure will not decide to define it.
8982 cat >>conftest.undefs <<\_ACEOF
8983 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8986 # Break up conftest.defines because some shells have a limit on the size
8987 # of here documents, and old seds have small limits too (100 cmds).
8988 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8989 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8990 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8991 echo ' :' >>$CONFIG_STATUS
8993 while grep . conftest.defines >/dev/null
8995 # Write a limited-size here document to $tmp/defines.sed.
8996 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8997 # Speed up: don't consider the non `#define' lines.
8998 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8999 # Work around the forget-to-reset-the-flag bug.
9000 echo 't clr' >>$CONFIG_STATUS
9001 echo ': clr' >>$CONFIG_STATUS
9002 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9004 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9008 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9009 rm -f conftest.defines
9010 mv conftest.tail conftest.defines
9012 rm -f conftest.defines
9013 echo ' fi # grep' >>$CONFIG_STATUS
9014 echo >>$CONFIG_STATUS
9016 # Break up conftest.undefs because some shells have a limit on the size
9017 # of here documents, and old seds have small limits too (100 cmds).
9018 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9020 while grep . conftest.undefs >/dev/null
9022 # Write a limited-size here document to $tmp/undefs.sed.
9023 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9024 # Speed up: don't consider the non `#undef'
9025 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9026 # Work around the forget-to-reset-the-flag bug.
9027 echo 't clr' >>$CONFIG_STATUS
9028 echo ': clr' >>$CONFIG_STATUS
9029 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9031 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9035 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9036 rm -f conftest.undefs
9037 mv conftest.tail conftest.undefs
9039 rm -f conftest.undefs
9041 cat >>$CONFIG_STATUS <<\_ACEOF
9042 # Let's still pretend it is `configure' which instantiates (i.e., don't
9043 # use $as_me), people would be surprised to read:
9044 # /* config.h. Generated by config.status. */
9045 if test x"$ac_file" = x-; then
9046 echo "/* Generated by configure. */" >$tmp/config.h
9048 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9050 cat $tmp/in >>$tmp/config.h
9052 if test x"$ac_file" != x-; then
9053 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9054 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9055 echo "$as_me: $ac_file is unchanged" >&6;}
9057 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9058 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9059 X"$ac_file" : 'X\(//\)[^/]' \| \
9060 X"$ac_file" : 'X\(//\)$' \| \
9061 X"$ac_file" : 'X\(/\)' \| \
9062 . : '\(.\)' 2>/dev/null ||
9064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9065 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9066 /^X\(\/\/\)$/{ s//\1/; q; }
9067 /^X\(\/\).*/{ s//\1/; q; }
9069 { if $as_mkdir_p; then
9074 while test ! -d "$as_dir"; do
9075 as_dirs="$as_dir $as_dirs"
9076 as_dir=`(dirname "$as_dir") 2>/dev/null ||
9077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9078 X"$as_dir" : 'X\(//\)[^/]' \| \
9079 X"$as_dir" : 'X\(//\)$' \| \
9080 X"$as_dir" : 'X\(/\)' \| \
9081 . : '\(.\)' 2>/dev/null ||
9083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9084 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9085 /^X\(\/\/\)$/{ s//\1/; q; }
9086 /^X\(\/\).*/{ s//\1/; q; }
9089 test ! -n "$as_dirs" || mkdir $as_dirs
9090 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9091 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9092 { (exit 1); exit 1; }; }; }
9095 mv $tmp/config.h $ac_file
9101 # Compute $ac_file's index in $config_headers.
9103 for _am_header in $config_headers :; do
9105 $ac_file | $ac_file:* )
9108 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9111 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9112 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9113 X$ac_file : 'X\(//\)[^/]' \| \
9114 X$ac_file : 'X\(//\)$' \| \
9115 X$ac_file : 'X\(/\)' \| \
9116 . : '\(.\)' 2>/dev/null ||
9118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9119 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9120 /^X\(\/\/\)$/{ s//\1/; q; }
9121 /^X\(\/\).*/{ s//\1/; q; }
9122 s/.*/./; q'`/stamp-h$_am_stamp_count
9125 cat >>$CONFIG_STATUS <<\_ACEOF
9128 # CONFIG_COMMANDS section.
9130 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9131 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9132 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9133 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9134 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9135 X"$ac_dest" : 'X\(//\)[^/]' \| \
9136 X"$ac_dest" : 'X\(//\)$' \| \
9137 X"$ac_dest" : 'X\(/\)' \| \
9138 . : '\(.\)' 2>/dev/null ||
9140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9141 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9142 /^X\(\/\/\)$/{ s//\1/; q; }
9143 /^X\(\/\).*/{ s//\1/; q; }
9147 if test "$ac_dir" != .; then
9148 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9149 # A "../" for each directory in $ac_dir_suffix.
9150 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9152 ac_dir_suffix= ac_top_builddir=
9156 .) # No --srcdir option. We are building in place.
9158 if test -z "$ac_top_builddir"; then
9161 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9163 [\\/]* | ?:[\\/]* ) # Absolute path.
9164 ac_srcdir=$srcdir$ac_dir_suffix;
9165 ac_top_srcdir=$srcdir ;;
9167 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9168 ac_top_srcdir=$ac_top_builddir$srcdir ;;
9170 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9172 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
9173 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
9174 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9175 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9178 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9179 echo "$as_me: executing $ac_dest commands" >&6;}
9181 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9182 # Strip MF so we end up with the name of the file.
9183 mf=`echo "$mf" | sed -e 's/:.*$//'`
9184 # Check whether this is an Automake generated Makefile or not.
9185 # We used to match only the files named `Makefile.in', but
9186 # some people rename them; so instead we look at the file content.
9187 # Grep'ing the first line is not enough: some people post-process
9188 # each Makefile.in and add a new line on top of each file to say so.
9189 # So let's grep whole file.
9190 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9191 dirpart=`(dirname "$mf") 2>/dev/null ||
9192 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9193 X"$mf" : 'X\(//\)[^/]' \| \
9194 X"$mf" : 'X\(//\)$' \| \
9195 X"$mf" : 'X\(/\)' \| \
9196 . : '\(.\)' 2>/dev/null ||
9198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9200 /^X\(\/\/\)$/{ s//\1/; q; }
9201 /^X\(\/\).*/{ s//\1/; q; }
9206 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
9207 # Extract the definition of DEP_FILES from the Makefile without
9209 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
9210 test -z "$DEPDIR" && continue
9211 # When using ansi2knr, U may be empty or an underscore; expand it
9212 U=`sed -n -e '/^U = / s///p' < "$mf"`
9213 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
9214 # We invoke sed twice because it is the simplest approach to
9215 # changing $(DEPDIR) to its actual value in the expansion.
9216 for file in `sed -n -e '
9217 /^DEP_FILES = .*\\\\$/ {
9226 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9227 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9228 # Make sure the directory exists.
9229 test -f "$dirpart/$file" && continue
9230 fdir=`(dirname "$file") 2>/dev/null ||
9231 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9232 X"$file" : 'X\(//\)[^/]' \| \
9233 X"$file" : 'X\(//\)$' \| \
9234 X"$file" : 'X\(/\)' \| \
9235 . : '\(.\)' 2>/dev/null ||
9237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9238 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9239 /^X\(\/\/\)$/{ s//\1/; q; }
9240 /^X\(\/\).*/{ s//\1/; q; }
9242 { if $as_mkdir_p; then
9243 mkdir -p $dirpart/$fdir
9245 as_dir=$dirpart/$fdir
9247 while test ! -d "$as_dir"; do
9248 as_dirs="$as_dir $as_dirs"
9249 as_dir=`(dirname "$as_dir") 2>/dev/null ||
9250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9251 X"$as_dir" : 'X\(//\)[^/]' \| \
9252 X"$as_dir" : 'X\(//\)$' \| \
9253 X"$as_dir" : 'X\(/\)' \| \
9254 . : '\(.\)' 2>/dev/null ||
9256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9257 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9258 /^X\(\/\/\)$/{ s//\1/; q; }
9259 /^X\(\/\).*/{ s//\1/; q; }
9262 test ! -n "$as_dirs" || mkdir $as_dirs
9263 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9264 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9265 { (exit 1); exit 1; }; }; }
9267 # echo "creating $dirpart/$file"
9268 echo '# dummy' > "$dirpart/$file"
9276 cat >>$CONFIG_STATUS <<\_ACEOF
9278 { (exit 0); exit 0; }
9280 chmod +x $CONFIG_STATUS
9281 ac_clean_files=$ac_clean_files_save
9284 # configure is writing to config.log, and then calls config.status.
9285 # config.status does its own redirection, appending to config.log.
9286 # Unfortunately, on DOS this fails, as config.log is still kept open
9287 # by configure, so config.status won't be able to write to it; its
9288 # output is simply discarded. So we exec the FD to /dev/null,
9289 # effectively closing config.log, so it can be properly (re)opened and
9290 # appended to by config.status. When coming back to configure, we
9291 # need to make the FD available again.
9292 if test "$no_create" != yes; then
9294 ac_config_status_args=
9295 test "$silent" = yes &&
9296 ac_config_status_args="$ac_config_status_args --quiet"
9298 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9300 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9301 # would make configure fail if this is the last instruction.
9302 $ac_cs_success || { (exit 1); exit 1; }