2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="src/treefuncs.h"
275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT SUBDIRS DOINSTGOB NOINSTGOB 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 CPP EGREP YACC LEX LEXLIB LEX_OUTPUT_ROOT RM MV TAR PKG_CONFIG GLIB_CFLAGS GLIB_LIBS YFLAGS LIBOBJS LTLIBOBJS'
278 # Initialize some variables set by options.
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name=s,x,x,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
350 cache_file=config.cache ;;
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 datadir=$ac_optarg ;;
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
393 -help | --help | --hel | --he | -h)
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
417 -libdir | --libdir | --libdi | --libd)
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444 # Obsolete; use --without-fp.
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 sbindir=$ac_optarg ;;
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 sharedstatedir=$ac_optarg ;;
521 -site | --site | --sit)
523 -site=* | --site=* | --sit=*)
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 -version | --version | --versio | --versi | --vers | -V)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
624 eval ac_val=$`echo $ac_var`
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val=$`echo $ac_var`
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665 test "$silent" = yes && exec 6>/dev/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CC_set=${CC+set}
718 ac_cv_env_CC_set=${CC+set}
719 ac_cv_env_CC_value=$CC
720 ac_env_CFLAGS_set=${CFLAGS+set}
721 ac_env_CFLAGS_value=$CFLAGS
722 ac_cv_env_CFLAGS_set=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value=$CFLAGS
724 ac_env_LDFLAGS_set=${LDFLAGS+set}
725 ac_env_LDFLAGS_value=$LDFLAGS
726 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value=$LDFLAGS
728 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732 ac_env_CPP_set=${CPP+set}
733 ac_env_CPP_value=$CPP
734 ac_cv_env_CPP_set=${CPP+set}
735 ac_cv_env_CPP_value=$CPP
738 # Report the --help message.
740 if test "$ac_init_help" = "long"; then
741 # Omit some internal or obsolete options to make the list less imposing.
742 # This message is too long to be a string in the A/UX 3.1 sh.
744 \`configure' configures this package to adapt to many kinds of systems.
746 Usage: $0 [OPTION]... [VAR=VALUE]...
748 To assign environment variables (e.g., CC, CFLAGS...), specify them as
749 VAR=VALUE. See below for descriptions of some of the useful variables.
751 Defaults for the options are specified in brackets.
754 -h, --help display this help and exit
755 --help=short display options specific to this package
756 --help=recursive display the short help of all the included packages
757 -V, --version display version information and exit
758 -q, --quiet, --silent do not print \`checking...' messages
759 --cache-file=FILE cache test results in FILE [disabled]
760 -C, --config-cache alias for \`--cache-file=config.cache'
761 -n, --no-create do not create output files
762 --srcdir=DIR find the sources in DIR [configure dir or \`..']
767 Installation directories:
768 --prefix=PREFIX install architecture-independent files in PREFIX
770 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
773 By default, \`make install' will install all the files in
774 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
775 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
776 for instance \`--prefix=\$HOME'.
778 For better control, use the options below.
780 Fine tuning of the installation directories:
781 --bindir=DIR user executables [EPREFIX/bin]
782 --sbindir=DIR system admin executables [EPREFIX/sbin]
783 --libexecdir=DIR program executables [EPREFIX/libexec]
784 --datadir=DIR read-only architecture-independent data [PREFIX/share]
785 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
786 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
787 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
788 --libdir=DIR object code libraries [EPREFIX/lib]
789 --includedir=DIR C header files [PREFIX/include]
790 --oldincludedir=DIR C header files for non-gcc [/usr/include]
791 --infodir=DIR info documentation [PREFIX/info]
792 --mandir=DIR man documentation [PREFIX/man]
798 --program-prefix=PREFIX prepend PREFIX to installed program names
799 --program-suffix=SUFFIX append SUFFIX to installed program names
800 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
804 if test -n "$ac_init_help"; then
809 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
810 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
811 --enable-maintainer-mode enable make rules and dependencies not useful
812 (and sometimes confusing) to the casual installer
813 --disable-dependency-tracking speeds up one-time build
814 --enable-dependency-tracking do not reject slow dependency extractors
816 Some influential environment variables:
817 CC C compiler command
818 CFLAGS C compiler flags
819 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
820 nonstandard directory <lib dir>
821 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
822 headers in a nonstandard directory <include dir>
825 Use these variables to override the choices made by `configure' or to help
826 it to find libraries and programs with nonstandard names/locations.
831 if test "$ac_init_help" = "recursive"; then
832 # If there are subdirs, report their specific --help.
834 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
835 test -d $ac_dir || continue
838 if test "$ac_dir" != .; then
839 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
840 # A "../" for each directory in $ac_dir_suffix.
841 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
843 ac_dir_suffix= ac_top_builddir=
847 .) # No --srcdir option. We are building in place.
849 if test -z "$ac_top_builddir"; then
852 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
854 [\\/]* | ?:[\\/]* ) # Absolute path.
855 ac_srcdir=$srcdir$ac_dir_suffix;
856 ac_top_srcdir=$srcdir ;;
858 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
859 ac_top_srcdir=$ac_top_builddir$srcdir ;;
862 # Do not use `cd foo && pwd` to compute absolute paths, because
863 # the directories may not exist.
865 .) ac_abs_builddir="$ac_dir";;
868 .) ac_abs_builddir=`pwd`;;
869 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
870 *) ac_abs_builddir=`pwd`/"$ac_dir";;
873 case $ac_abs_builddir in
874 .) ac_abs_top_builddir=${ac_top_builddir}.;;
876 case ${ac_top_builddir}. in
877 .) ac_abs_top_builddir=$ac_abs_builddir;;
878 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
879 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
882 case $ac_abs_builddir in
883 .) ac_abs_srcdir=$ac_srcdir;;
886 .) ac_abs_srcdir=$ac_abs_builddir;;
887 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
888 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
891 case $ac_abs_builddir in
892 .) ac_abs_top_srcdir=$ac_top_srcdir;;
894 case $ac_top_srcdir in
895 .) ac_abs_top_srcdir=$ac_abs_builddir;;
896 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
897 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
902 # Check for guested configure; otherwise get Cygnus style configure.
903 if test -f $ac_srcdir/configure.gnu; then
905 $SHELL $ac_srcdir/configure.gnu --help=recursive
906 elif test -f $ac_srcdir/configure; then
908 $SHELL $ac_srcdir/configure --help=recursive
909 elif test -f $ac_srcdir/configure.ac ||
910 test -f $ac_srcdir/configure.in; then
914 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
920 test -n "$ac_init_help" && exit 0
921 if $ac_init_version; then
924 Copyright (C) 2003 Free Software Foundation, Inc.
925 This configure script is free software; the Free Software Foundation
926 gives unlimited permission to copy, distribute and modify it.
932 This file contains any messages produced by compilers while
933 running configure, to aid debugging if configure makes a mistake.
935 It was created by $as_me, which was
936 generated by GNU Autoconf 2.59. Invocation command line was
947 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
948 uname -m = `(uname -m) 2>/dev/null || echo unknown`
949 uname -r = `(uname -r) 2>/dev/null || echo unknown`
950 uname -s = `(uname -s) 2>/dev/null || echo unknown`
951 uname -v = `(uname -v) 2>/dev/null || echo unknown`
953 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
954 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
956 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
957 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
958 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
959 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
960 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
961 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
962 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
970 test -z "$as_dir" && as_dir=.
986 # Keep a trace of the command line.
987 # Strip out --no-create and --no-recursion so they do not pile up.
988 # Strip out --silent because we don't want to record it for future runs.
989 # Also quote any args containing shell meta-characters.
990 # Make two passes to allow for proper duplicate-argument suppression.
995 ac_must_keep_next=false
1001 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1003 | -silent | --silent | --silen | --sile | --sil)
1005 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1006 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1009 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1011 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1012 if test $ac_must_keep_next = true; then
1013 ac_must_keep_next=false # Got value, back to normal.
1016 *=* | --config-cache | -C | -disable-* | --disable-* \
1017 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1018 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1019 | -with-* | --with-* | -without-* | --without-* | --x)
1020 case "$ac_configure_args0 " in
1021 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1024 -* ) ac_must_keep_next=true ;;
1027 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1028 # Get rid of the leading space.
1034 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1035 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1037 # When interrupted or exit'd, cleanup temporary files, and complete
1038 # config.log. We remove comments because anyway the quotes in there
1039 # would cause problems or look ugly.
1040 # WARNING: Be sure not to use single quotes in there, as some shells,
1041 # such as our DU 5.0 friend, will then `close' the trap.
1042 trap 'exit_status=$?
1043 # Save into config.log some information that might help in debugging.
1048 ## ---------------- ##
1049 ## Cache variables. ##
1050 ## ---------------- ##
1053 # The following way of writing the cache mishandles newlines in values,
1056 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1059 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1064 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1071 ## ----------------- ##
1072 ## Output variables. ##
1073 ## ----------------- ##
1076 for ac_var in $ac_subst_vars
1078 eval ac_val=$`echo $ac_var`
1079 echo "$ac_var='"'"'$ac_val'"'"'"
1083 if test -n "$ac_subst_files"; then
1090 for ac_var in $ac_subst_files
1092 eval ac_val=$`echo $ac_var`
1093 echo "$ac_var='"'"'$ac_val'"'"'"
1098 if test -s confdefs.h; then
1105 sed "/^$/d" confdefs.h | sort
1108 test "$ac_signal" != 0 &&
1109 echo "$as_me: caught signal $ac_signal"
1110 echo "$as_me: exit $exit_status"
1112 rm -f core *.core &&
1113 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1116 for ac_signal in 1 2 13 15; do
1117 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1121 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1122 rm -rf conftest* confdefs.h
1123 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1126 # Predefined preprocessor variables.
1128 cat >>confdefs.h <<_ACEOF
1129 #define PACKAGE_NAME "$PACKAGE_NAME"
1133 cat >>confdefs.h <<_ACEOF
1134 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1138 cat >>confdefs.h <<_ACEOF
1139 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1143 cat >>confdefs.h <<_ACEOF
1144 #define PACKAGE_STRING "$PACKAGE_STRING"
1148 cat >>confdefs.h <<_ACEOF
1149 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1153 # Let the site file select an alternate cache file if it wants to.
1154 # Prefer explicitly selected file to automatically selected ones.
1155 if test -z "$CONFIG_SITE"; then
1156 if test "x$prefix" != xNONE; then
1157 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1159 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1162 for ac_site_file in $CONFIG_SITE; do
1163 if test -r "$ac_site_file"; then
1164 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1165 echo "$as_me: loading site script $ac_site_file" >&6;}
1166 sed 's/^/| /' "$ac_site_file" >&5
1171 if test -r "$cache_file"; then
1172 # Some versions of bash will fail to source /dev/null (special
1173 # files actually), so we avoid doing that.
1174 if test -f "$cache_file"; then
1175 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1176 echo "$as_me: loading cache $cache_file" >&6;}
1178 [\\/]* | ?:[\\/]* ) . $cache_file;;
1179 *) . ./$cache_file;;
1183 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1184 echo "$as_me: creating cache $cache_file" >&6;}
1188 # Check that the precious variables saved in the cache have kept the same
1190 ac_cache_corrupted=false
1191 for ac_var in `(set) 2>&1 |
1192 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1193 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1194 eval ac_new_set=\$ac_env_${ac_var}_set
1195 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1196 eval ac_new_val="\$ac_env_${ac_var}_value"
1197 case $ac_old_set,$ac_new_set in
1199 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1200 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1201 ac_cache_corrupted=: ;;
1203 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1204 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1205 ac_cache_corrupted=: ;;
1208 if test "x$ac_old_val" != "x$ac_new_val"; then
1209 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1210 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1211 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1212 echo "$as_me: former value: $ac_old_val" >&2;}
1213 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1214 echo "$as_me: current value: $ac_new_val" >&2;}
1215 ac_cache_corrupted=:
1218 # Pass precious variables to config.status.
1219 if test "$ac_new_set" = set; then
1221 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 *) ac_arg=$ac_var=$ac_new_val ;;
1225 case " $ac_configure_args " in
1226 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1227 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1231 if $ac_cache_corrupted; then
1232 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1233 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1234 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1235 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1236 { (exit 1); exit 1; }; }
1240 ac_cpp='$CPP $CPPFLAGS'
1241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1263 ac_config_headers="$ac_config_headers config.h"
1265 am__api_version="1.8"
1267 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1268 if test -f $ac_dir/install-sh; then
1270 ac_install_sh="$ac_aux_dir/install-sh -c"
1272 elif test -f $ac_dir/install.sh; then
1274 ac_install_sh="$ac_aux_dir/install.sh -c"
1276 elif test -f $ac_dir/shtool; then
1278 ac_install_sh="$ac_aux_dir/shtool install -c"
1282 if test -z "$ac_aux_dir"; then
1283 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1284 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1285 { (exit 1); exit 1; }; }
1287 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1288 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1289 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1291 # Find a good install program. We prefer a C program (faster),
1292 # so one script is as good as another. But avoid the broken or
1293 # incompatible versions:
1294 # SysV /etc/install, /usr/sbin/install
1295 # SunOS /usr/etc/install
1296 # IRIX /sbin/install
1298 # AmigaOS /C/install, which installs bootblocks on floppy discs
1299 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1300 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1301 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1302 # OS/2's system install, which has a completely different semantic
1303 # ./install, which can be erroneously created by make from ./install.sh.
1304 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1305 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1306 if test -z "$INSTALL"; then
1307 if test "${ac_cv_path_install+set}" = set; then
1308 echo $ECHO_N "(cached) $ECHO_C" >&6
1310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1314 test -z "$as_dir" && as_dir=.
1315 # Account for people who put trailing slashes in PATH elements.
1317 ./ | .// | /cC/* | \
1318 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1319 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1322 # OSF1 and SCO ODT 3.0 have their own names for install.
1323 # Don't use installbsd from OSF since it installs stuff as root
1325 for ac_prog in ginstall scoinst install; do
1326 for ac_exec_ext in '' $ac_executable_extensions; do
1327 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1328 if test $ac_prog = install &&
1329 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1330 # AIX install. It has an incompatible calling convention.
1332 elif test $ac_prog = install &&
1333 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1334 # program-specific install script used by HP pwplus--don't use.
1337 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1349 if test "${ac_cv_path_install+set}" = set; then
1350 INSTALL=$ac_cv_path_install
1352 # As a last resort, use the slow shell script. We don't cache a
1353 # path for INSTALL within a source directory, because that will
1354 # break other packages using the cache if that directory is
1355 # removed, or if the path is relative.
1356 INSTALL=$ac_install_sh
1359 echo "$as_me:$LINENO: result: $INSTALL" >&5
1360 echo "${ECHO_T}$INSTALL" >&6
1362 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1363 # It thinks the first close brace ends the variable substitution.
1364 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1366 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1368 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1370 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1371 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1374 echo timestamp > conftest.file
1375 # Do `set' in a subshell so we don't clobber the current shell's
1376 # arguments. Must try -L first in case configure is actually a
1377 # symlink; some systems play weird games with the mod time of symlinks
1378 # (eg FreeBSD returns the mod time of the symlink's containing
1381 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1382 if test "$*" = "X"; then
1384 set X `ls -t $srcdir/configure conftest.file`
1387 if test "$*" != "X $srcdir/configure conftest.file" \
1388 && test "$*" != "X conftest.file $srcdir/configure"; then
1390 # If neither matched, then we have a broken ls. This can happen
1391 # if, for instance, CONFIG_SHELL is bash and it inherits a
1392 # broken ls alias from the environment. This has actually
1393 # happened. Such a system could not be considered "sane".
1394 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1395 alias in your environment" >&5
1396 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1397 alias in your environment" >&2;}
1398 { (exit 1); exit 1; }; }
1401 test "$2" = conftest.file
1407 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1408 Check your system clock" >&5
1409 echo "$as_me: error: newly created file is older than distributed files!
1410 Check your system clock" >&2;}
1411 { (exit 1); exit 1; }; }
1413 echo "$as_me:$LINENO: result: yes" >&5
1414 echo "${ECHO_T}yes" >&6
1415 test "$program_prefix" != NONE &&
1416 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1417 # Use a double $ so make ignores it.
1418 test "$program_suffix" != NONE &&
1419 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1420 # Double any \ or $. echo might interpret backslashes.
1421 # By default was `s,x,x', remove it if useless.
1422 cat <<\_ACEOF >conftest.sed
1423 s/[\\$]/&&/g;s/;s,x,x,$//
1425 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1428 # expand $ac_aux_dir to an absolute path
1429 am_aux_dir=`cd $ac_aux_dir && pwd`
1431 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1432 # Use eval to expand $SHELL
1433 if eval "$MISSING --run true"; then
1434 am_missing_run="$MISSING --run "
1437 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1438 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1441 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1442 # Keeping the `.' argument allows $(mkdir_p) to be used without
1443 # argument. Indeed, we sometimes output rules like
1444 # $(mkdir_p) $(somedir)
1445 # where $(somedir) is conditionally defined.
1446 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1447 # expensive solution, as it forces Make to start a sub-shell.)
1448 mkdir_p='mkdir -p -- .'
1450 # On NextStep and OpenStep, the `mkdir' command does not
1451 # recognize any option. It will interpret all options as
1452 # directories to create, and then abort because `.' already
1454 for d in ./-p ./--version;
1456 test -d $d && rmdir $d
1458 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1459 if test -f "$ac_aux_dir/mkinstalldirs"; then
1460 mkdir_p='$(mkinstalldirs)'
1462 mkdir_p='$(install_sh) -d'
1466 for ac_prog in gawk mawk nawk awk
1468 # Extract the first word of "$ac_prog", so it can be a program name with args.
1469 set dummy $ac_prog; ac_word=$2
1470 echo "$as_me:$LINENO: checking for $ac_word" >&5
1471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1472 if test "${ac_cv_prog_AWK+set}" = set; then
1473 echo $ECHO_N "(cached) $ECHO_C" >&6
1475 if test -n "$AWK"; then
1476 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1482 test -z "$as_dir" && as_dir=.
1483 for ac_exec_ext in '' $ac_executable_extensions; do
1484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1485 ac_cv_prog_AWK="$ac_prog"
1486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1495 if test -n "$AWK"; then
1496 echo "$as_me:$LINENO: result: $AWK" >&5
1497 echo "${ECHO_T}$AWK" >&6
1499 echo "$as_me:$LINENO: result: no" >&5
1500 echo "${ECHO_T}no" >&6
1503 test -n "$AWK" && break
1506 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1507 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1508 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1509 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1510 echo $ECHO_N "(cached) $ECHO_C" >&6
1512 cat >conftest.make <<\_ACEOF
1514 @echo 'ac_maketemp="$(MAKE)"'
1516 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1517 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1518 if test -n "$ac_maketemp"; then
1519 eval ac_cv_prog_make_${ac_make}_set=yes
1521 eval ac_cv_prog_make_${ac_make}_set=no
1525 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1526 echo "$as_me:$LINENO: result: yes" >&5
1527 echo "${ECHO_T}yes" >&6
1530 echo "$as_me:$LINENO: result: no" >&5
1531 echo "${ECHO_T}no" >&6
1532 SET_MAKE="MAKE=${MAKE-make}"
1535 rm -rf .tst 2>/dev/null
1536 mkdir .tst 2>/dev/null
1537 if test -d .tst; then
1542 rmdir .tst 2>/dev/null
1544 # test to see if srcdir already configured
1545 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1546 test -f $srcdir/config.status; then
1547 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1548 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1549 { (exit 1); exit 1; }; }
1552 # test whether we have cygpath
1553 if test -z "$CYGPATH_W"; then
1554 if (cygpath --version) >/dev/null 2>/dev/null; then
1555 CYGPATH_W='cygpath -w'
1562 # Define the identity of the package.
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE "$PACKAGE"
1572 cat >>confdefs.h <<_ACEOF
1573 #define VERSION "$VERSION"
1576 # Some tools Automake needs.
1578 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1581 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1584 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1587 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1590 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1593 AMTAR=${AMTAR-"${am_missing_run}tar"}
1595 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1597 # Installed binaries are usually stripped using `strip' when the user
1598 # run `make install-strip'. However `strip' might not be the right
1599 # tool to use in cross-compilation environments, therefore Automake
1600 # will honor the `STRIP' environment variable to overrule this program.
1601 if test "$cross_compiling" != no; then
1602 if test -n "$ac_tool_prefix"; then
1603 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1604 set dummy ${ac_tool_prefix}strip; ac_word=$2
1605 echo "$as_me:$LINENO: checking for $ac_word" >&5
1606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1607 if test "${ac_cv_prog_STRIP+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 if test -n "$STRIP"; then
1611 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1617 test -z "$as_dir" && as_dir=.
1618 for ac_exec_ext in '' $ac_executable_extensions; do
1619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1620 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1629 STRIP=$ac_cv_prog_STRIP
1630 if test -n "$STRIP"; then
1631 echo "$as_me:$LINENO: result: $STRIP" >&5
1632 echo "${ECHO_T}$STRIP" >&6
1634 echo "$as_me:$LINENO: result: no" >&5
1635 echo "${ECHO_T}no" >&6
1639 if test -z "$ac_cv_prog_STRIP"; then
1641 # Extract the first word of "strip", so it can be a program name with args.
1642 set dummy strip; ac_word=$2
1643 echo "$as_me:$LINENO: checking for $ac_word" >&5
1644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1645 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1646 echo $ECHO_N "(cached) $ECHO_C" >&6
1648 if test -n "$ac_ct_STRIP"; then
1649 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1655 test -z "$as_dir" && as_dir=.
1656 for ac_exec_ext in '' $ac_executable_extensions; do
1657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1658 ac_cv_prog_ac_ct_STRIP="strip"
1659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1665 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1668 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1669 if test -n "$ac_ct_STRIP"; then
1670 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1671 echo "${ECHO_T}$ac_ct_STRIP" >&6
1673 echo "$as_me:$LINENO: result: no" >&5
1674 echo "${ECHO_T}no" >&6
1679 STRIP="$ac_cv_prog_STRIP"
1683 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1685 # We need awk for the "check" target. The system "awk" is bad on
1690 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1691 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1692 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1693 if test "${enable_maintainer_mode+set}" = set; then
1694 enableval="$enable_maintainer_mode"
1695 USE_MAINTAINER_MODE=$enableval
1697 USE_MAINTAINER_MODE=no
1699 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1700 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1703 if test $USE_MAINTAINER_MODE = yes; then
1704 MAINTAINER_MODE_TRUE=
1705 MAINTAINER_MODE_FALSE='#'
1707 MAINTAINER_MODE_TRUE='#'
1708 MAINTAINER_MODE_FALSE=
1711 MAINT=$MAINTAINER_MODE_TRUE
1717 if test -f ../NOINST_GOB ; then
1720 echo "$as_me:$LINENO: result: *** NOT Going to install GOB ***" >&5
1721 echo "${ECHO_T}*** NOT Going to install GOB ***" >&6
1722 SUBDIRS="src examples"
1727 SUBDIRS="src examples doc"
1733 DEPDIR="${am__leading_dot}deps"
1735 ac_config_commands="$ac_config_commands depfiles"
1738 am_make=${MAKE-make}
1739 cat > confinc << 'END'
1744 # If we don't find an include directive, just comment out the code.
1745 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1746 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1750 # First try GNU make style include.
1751 echo "include confinc" > confmf
1752 # We grep out `Entering directory' and `Leaving directory'
1753 # messages which can occur if `w' ends up in MAKEFLAGS.
1754 # In particular we don't look at `^make:' because GNU make might
1755 # be invoked under some other name (usually "gmake"), in which
1756 # case it prints its new name instead of `make'.
1757 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1762 # Now try BSD make style include.
1763 if test "$am__include" = "#"; then
1764 echo '.include "confinc"' > confmf
1765 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1766 am__include=.include
1773 echo "$as_me:$LINENO: result: $_am_result" >&5
1774 echo "${ECHO_T}$_am_result" >&6
1775 rm -f confinc confmf
1777 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1778 if test "${enable_dependency_tracking+set}" = set; then
1779 enableval="$enable_dependency_tracking"
1782 if test "x$enable_dependency_tracking" != xno; then
1783 am_depcomp="$ac_aux_dir/depcomp"
1788 if test "x$enable_dependency_tracking" != xno; then
1799 ac_cpp='$CPP $CPPFLAGS'
1800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1803 if test -n "$ac_tool_prefix"; then
1804 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1805 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1806 echo "$as_me:$LINENO: checking for $ac_word" >&5
1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808 if test "${ac_cv_prog_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1811 if test -n "$CC"; then
1812 ac_cv_prog_CC="$CC" # Let the user override the test.
1814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 test -z "$as_dir" && as_dir=.
1819 for ac_exec_ext in '' $ac_executable_extensions; do
1820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1821 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1831 if test -n "$CC"; then
1832 echo "$as_me:$LINENO: result: $CC" >&5
1833 echo "${ECHO_T}$CC" >&6
1835 echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6
1840 if test -z "$ac_cv_prog_CC"; then
1842 # Extract the first word of "gcc", so it can be a program name with args.
1843 set dummy gcc; ac_word=$2
1844 echo "$as_me:$LINENO: checking for $ac_word" >&5
1845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1846 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1847 echo $ECHO_N "(cached) $ECHO_C" >&6
1849 if test -n "$ac_ct_CC"; then
1850 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir=.
1857 for ac_exec_ext in '' $ac_executable_extensions; do
1858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859 ac_cv_prog_ac_ct_CC="gcc"
1860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1868 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1869 if test -n "$ac_ct_CC"; then
1870 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1871 echo "${ECHO_T}$ac_ct_CC" >&6
1873 echo "$as_me:$LINENO: result: no" >&5
1874 echo "${ECHO_T}no" >&6
1882 if test -z "$CC"; then
1883 if test -n "$ac_tool_prefix"; then
1884 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1885 set dummy ${ac_tool_prefix}cc; ac_word=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_CC+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 if test -n "$CC"; then
1892 ac_cv_prog_CC="$CC" # Let the user override the test.
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1898 test -z "$as_dir" && as_dir=.
1899 for ac_exec_ext in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_CC="${ac_tool_prefix}cc"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911 if test -n "$CC"; then
1912 echo "$as_me:$LINENO: result: $CC" >&5
1913 echo "${ECHO_T}$CC" >&6
1915 echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1920 if test -z "$ac_cv_prog_CC"; then
1922 # Extract the first word of "cc", so it can be a program name with args.
1923 set dummy cc; ac_word=$2
1924 echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1926 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test -n "$ac_ct_CC"; then
1930 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 test -z "$as_dir" && as_dir=.
1937 for ac_exec_ext in '' $ac_executable_extensions; do
1938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939 ac_cv_prog_ac_ct_CC="cc"
1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1949 if test -n "$ac_ct_CC"; then
1950 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1951 echo "${ECHO_T}$ac_ct_CC" >&6
1953 echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6
1963 if test -z "$CC"; then
1964 # Extract the first word of "cc", so it can be a program name with args.
1965 set dummy cc; ac_word=$2
1966 echo "$as_me:$LINENO: checking for $ac_word" >&5
1967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1968 if test "${ac_cv_prog_CC+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 if test -n "$CC"; then
1972 ac_cv_prog_CC="$CC" # Let the user override the test.
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 test -z "$as_dir" && as_dir=.
1980 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1983 ac_prog_rejected=yes
1987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 if test $ac_prog_rejected = yes; then
1994 # We found a bogon in the path, so make sure we never use it.
1995 set dummy $ac_cv_prog_CC
1997 if test $# != 0; then
1998 # We chose a different compiler from the bogus one.
1999 # However, it has the same basename, so the bogon will be chosen
2000 # first if we set CC to just the basename; use the full file name.
2002 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2008 if test -n "$CC"; then
2009 echo "$as_me:$LINENO: result: $CC" >&5
2010 echo "${ECHO_T}$CC" >&6
2012 echo "$as_me:$LINENO: result: no" >&5
2013 echo "${ECHO_T}no" >&6
2017 if test -z "$CC"; then
2018 if test -n "$ac_tool_prefix"; then
2021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2022 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2023 echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025 if test "${ac_cv_prog_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 if test -n "$CC"; then
2029 ac_cv_prog_CC="$CC" # Let the user override the test.
2031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2035 test -z "$as_dir" && as_dir=.
2036 for ac_exec_ext in '' $ac_executable_extensions; do
2037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 if test -n "$CC"; then
2049 echo "$as_me:$LINENO: result: $CC" >&5
2050 echo "${ECHO_T}$CC" >&6
2052 echo "$as_me:$LINENO: result: no" >&5
2053 echo "${ECHO_T}no" >&6
2056 test -n "$CC" && break
2059 if test -z "$CC"; then
2063 # Extract the first word of "$ac_prog", so it can be a program name with args.
2064 set dummy $ac_prog; ac_word=$2
2065 echo "$as_me:$LINENO: checking for $ac_word" >&5
2066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2067 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2068 echo $ECHO_N "(cached) $ECHO_C" >&6
2070 if test -n "$ac_ct_CC"; then
2071 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 test -z "$as_dir" && as_dir=.
2078 for ac_exec_ext in '' $ac_executable_extensions; do
2079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2080 ac_cv_prog_ac_ct_CC="$ac_prog"
2081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2089 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2090 if test -n "$ac_ct_CC"; then
2091 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2092 echo "${ECHO_T}$ac_ct_CC" >&6
2094 echo "$as_me:$LINENO: result: no" >&5
2095 echo "${ECHO_T}no" >&6
2098 test -n "$ac_ct_CC" && break
2107 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2108 See \`config.log' for more details." >&5
2109 echo "$as_me: error: no acceptable C compiler found in \$PATH
2110 See \`config.log' for more details." >&2;}
2111 { (exit 1); exit 1; }; }
2113 # Provide some information about the compiler.
2114 echo "$as_me:$LINENO:" \
2115 "checking for C compiler version" >&5
2116 ac_compiler=`set X $ac_compile; echo $2`
2117 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2118 (eval $ac_compiler --version </dev/null >&5) 2>&5
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); }
2122 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2123 (eval $ac_compiler -v </dev/null >&5) 2>&5
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); }
2127 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2128 (eval $ac_compiler -V </dev/null >&5) 2>&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }
2133 cat >conftest.$ac_ext <<_ACEOF
2136 cat confdefs.h >>conftest.$ac_ext
2137 cat >>conftest.$ac_ext <<_ACEOF
2138 /* end confdefs.h. */
2148 ac_clean_files_save=$ac_clean_files
2149 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2150 # Try to create an executable without -o first, disregard a.out.
2151 # It will help us diagnose broken compilers, and finding out an intuition
2153 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2154 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2155 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2156 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2157 (eval $ac_link_default) 2>&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; then
2161 # Find the output, starting from the most likely. This scheme is
2162 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2165 # Be careful to initialize this variable, since it used to be cached.
2166 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2168 # b.out is created by i960 compilers.
2169 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2171 test -f "$ac_file" || continue
2173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2176 # This is the source file.
2179 # We found the default executable, but exeext='' is most
2183 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2184 # FIXME: I believe we export ac_cv_exeext for Libtool,
2185 # but it would be cool to find out if it's true. Does anybody
2186 # maintain Libtool? --akim.
2194 echo "$as_me: failed program was:" >&5
2195 sed 's/^/| /' conftest.$ac_ext >&5
2197 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2198 See \`config.log' for more details." >&5
2199 echo "$as_me: error: C compiler cannot create executables
2200 See \`config.log' for more details." >&2;}
2201 { (exit 77); exit 77; }; }
2204 ac_exeext=$ac_cv_exeext
2205 echo "$as_me:$LINENO: result: $ac_file" >&5
2206 echo "${ECHO_T}$ac_file" >&6
2208 # Check the compiler produces executables we can run. If not, either
2209 # the compiler is broken, or we cross compile.
2210 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2211 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2212 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2213 # If not cross compiling, check that we can run a simple program.
2214 if test "$cross_compiling" != yes; then
2215 if { ac_try='./$ac_file'
2216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; }; then
2223 if test "$cross_compiling" = maybe; then
2226 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2227 If you meant to cross compile, use \`--host'.
2228 See \`config.log' for more details." >&5
2229 echo "$as_me: error: cannot run C compiled programs.
2230 If you meant to cross compile, use \`--host'.
2231 See \`config.log' for more details." >&2;}
2232 { (exit 1); exit 1; }; }
2236 echo "$as_me:$LINENO: result: yes" >&5
2237 echo "${ECHO_T}yes" >&6
2239 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2240 ac_clean_files=$ac_clean_files_save
2241 # Check the compiler produces executables we can run. If not, either
2242 # the compiler is broken, or we cross compile.
2243 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2244 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2245 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2246 echo "${ECHO_T}$cross_compiling" >&6
2248 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2249 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2251 (eval $ac_link) 2>&5
2253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254 (exit $ac_status); }; then
2255 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2256 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2257 # work properly (i.e., refer to `conftest.exe'), while it won't with
2259 for ac_file in conftest.exe conftest conftest.*; do
2260 test -f "$ac_file" || continue
2262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2263 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2270 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2271 See \`config.log' for more details." >&5
2272 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2273 See \`config.log' for more details." >&2;}
2274 { (exit 1); exit 1; }; }
2277 rm -f conftest$ac_cv_exeext
2278 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2279 echo "${ECHO_T}$ac_cv_exeext" >&6
2281 rm -f conftest.$ac_ext
2282 EXEEXT=$ac_cv_exeext
2284 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2285 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2286 if test "${ac_cv_objext+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 cat >conftest.$ac_ext <<_ACEOF
2292 cat confdefs.h >>conftest.$ac_ext
2293 cat >>conftest.$ac_ext <<_ACEOF
2294 /* end confdefs.h. */
2304 rm -f conftest.o conftest.obj
2305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2306 (eval $ac_compile) 2>&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; then
2310 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2313 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2318 echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2321 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2322 See \`config.log' for more details." >&5
2323 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2324 See \`config.log' for more details." >&2;}
2325 { (exit 1); exit 1; }; }
2328 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2330 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2331 echo "${ECHO_T}$ac_cv_objext" >&6
2332 OBJEXT=$ac_cv_objext
2334 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2335 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2336 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 cat >conftest.$ac_ext <<_ACEOF
2342 cat confdefs.h >>conftest.$ac_ext
2343 cat >>conftest.$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2357 rm -f conftest.$ac_objext
2358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2359 (eval $ac_compile) 2>conftest.er1
2361 grep -v '^ *+' conftest.er1 >conftest.err
2363 cat conftest.err >&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); } &&
2366 { ac_try='test -z "$ac_c_werror_flag"
2367 || test ! -s conftest.err'
2368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; } &&
2373 { ac_try='test -s conftest.$ac_objext'
2374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }; }; then
2381 echo "$as_me: failed program was:" >&5
2382 sed 's/^/| /' conftest.$ac_ext >&5
2386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2387 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2390 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2391 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2392 GCC=`test $ac_compiler_gnu = yes && echo yes`
2393 ac_test_CFLAGS=${CFLAGS+set}
2394 ac_save_CFLAGS=$CFLAGS
2396 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2397 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2398 if test "${ac_cv_prog_cc_g+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 cat >conftest.$ac_ext <<_ACEOF
2404 cat confdefs.h >>conftest.$ac_ext
2405 cat >>conftest.$ac_ext <<_ACEOF
2406 /* end confdefs.h. */
2416 rm -f conftest.$ac_objext
2417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2418 (eval $ac_compile) 2>conftest.er1
2420 grep -v '^ *+' conftest.er1 >conftest.err
2422 cat conftest.err >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); } &&
2425 { ac_try='test -z "$ac_c_werror_flag"
2426 || test ! -s conftest.err'
2427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); }; } &&
2432 { ac_try='test -s conftest.$ac_objext'
2433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; }; then
2440 echo "$as_me: failed program was:" >&5
2441 sed 's/^/| /' conftest.$ac_ext >&5
2445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2447 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2448 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2449 if test "$ac_test_CFLAGS" = set; then
2450 CFLAGS=$ac_save_CFLAGS
2451 elif test $ac_cv_prog_cc_g = yes; then
2452 if test "$GCC" = yes; then
2458 if test "$GCC" = yes; then
2464 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2465 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2466 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 ac_cv_prog_cc_stdc=no
2471 cat >conftest.$ac_ext <<_ACEOF
2474 cat confdefs.h >>conftest.$ac_ext
2475 cat >>conftest.$ac_ext <<_ACEOF
2476 /* end confdefs.h. */
2479 #include <sys/types.h>
2480 #include <sys/stat.h>
2481 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2482 struct buf { int x; };
2483 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2484 static char *e (p, i)
2490 static char *f (char * (*g) (char **, int), char **p, ...)
2495 s = g (p, va_arg (v,int));
2500 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2501 function prototypes and stuff, but not '\xHH' hex character constants.
2502 These don't provoke an error unfortunately, instead are silently treated
2503 as 'x'. The following induces an error, until -std1 is added to get
2504 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2505 array size at least. It's necessary to write '\x00'==0 to get something
2506 that's true only with -std1. */
2507 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2509 int test (int i, double x);
2510 struct s1 {int (*f) (int a);};
2511 struct s2 {int (*f) (double a);};
2512 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2518 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2523 # Don't try gcc -ansi; that turns off useful extensions and
2524 # breaks some systems' header files.
2525 # AIX -qlanglvl=ansi
2526 # Ultrix and OSF/1 -std1
2527 # HP-UX 10.20 and later -Ae
2528 # HP-UX older versions -Aa -D_HPUX_SOURCE
2529 # SVR4 -Xc -D__EXTENSIONS__
2530 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2532 CC="$ac_save_CC $ac_arg"
2533 rm -f conftest.$ac_objext
2534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2535 (eval $ac_compile) 2>conftest.er1
2537 grep -v '^ *+' conftest.er1 >conftest.err
2539 cat conftest.err >&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); } &&
2542 { ac_try='test -z "$ac_c_werror_flag"
2543 || test ! -s conftest.err'
2544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; } &&
2549 { ac_try='test -s conftest.$ac_objext'
2550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }; }; then
2555 ac_cv_prog_cc_stdc=$ac_arg
2558 echo "$as_me: failed program was:" >&5
2559 sed 's/^/| /' conftest.$ac_ext >&5
2562 rm -f conftest.err conftest.$ac_objext
2564 rm -f conftest.$ac_ext conftest.$ac_objext
2569 case "x$ac_cv_prog_cc_stdc" in
2571 echo "$as_me:$LINENO: result: none needed" >&5
2572 echo "${ECHO_T}none needed" >&6 ;;
2574 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2575 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2576 CC="$CC $ac_cv_prog_cc_stdc" ;;
2579 # Some people use a C++ compiler to compile C. Since we use `exit',
2580 # in C++ we need to declare it. In case someone uses the same compiler
2581 # for both compiling C and C++ we need to have the C++ compiler decide
2582 # the declaration of exit, since it's the most demanding environment.
2583 cat >conftest.$ac_ext <<_ACEOF
2588 rm -f conftest.$ac_objext
2589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590 (eval $ac_compile) 2>conftest.er1
2592 grep -v '^ *+' conftest.er1 >conftest.err
2594 cat conftest.err >&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); } &&
2597 { ac_try='test -z "$ac_c_werror_flag"
2598 || test ! -s conftest.err'
2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; } &&
2604 { ac_try='test -s conftest.$ac_objext'
2605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }; }; then
2610 for ac_declaration in \
2612 'extern "C" void std::exit (int) throw (); using std::exit;' \
2613 'extern "C" void std::exit (int); using std::exit;' \
2614 'extern "C" void exit (int) throw ();' \
2615 'extern "C" void exit (int);' \
2618 cat >conftest.$ac_ext <<_ACEOF
2621 cat confdefs.h >>conftest.$ac_ext
2622 cat >>conftest.$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2634 rm -f conftest.$ac_objext
2635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2636 (eval $ac_compile) 2>conftest.er1
2638 grep -v '^ *+' conftest.er1 >conftest.err
2640 cat conftest.err >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } &&
2643 { ac_try='test -z "$ac_c_werror_flag"
2644 || test ! -s conftest.err'
2645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; } &&
2650 { ac_try='test -s conftest.$ac_objext'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; }; then
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.$ac_ext >&5
2663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2664 cat >conftest.$ac_ext <<_ACEOF
2667 cat confdefs.h >>conftest.$ac_ext
2668 cat >>conftest.$ac_ext <<_ACEOF
2669 /* end confdefs.h. */
2679 rm -f conftest.$ac_objext
2680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2681 (eval $ac_compile) 2>conftest.er1
2683 grep -v '^ *+' conftest.er1 >conftest.err
2685 cat conftest.err >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); } &&
2688 { ac_try='test -z "$ac_c_werror_flag"
2689 || test ! -s conftest.err'
2690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); }; } &&
2695 { ac_try='test -s conftest.$ac_objext'
2696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; }; then
2703 echo "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.$ac_ext >&5
2707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2710 if test -n "$ac_declaration"; then
2711 echo '#ifdef __cplusplus' >>confdefs.h
2712 echo $ac_declaration >>confdefs.h
2713 echo '#endif' >>confdefs.h
2717 echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.$ac_ext >&5
2721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2723 ac_cpp='$CPP $CPPFLAGS'
2724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2728 depcc="$CC" am_compiler_list=
2730 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2731 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2732 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2733 echo $ECHO_N "(cached) $ECHO_C" >&6
2735 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2736 # We make a subdir and do the tests there. Otherwise we can end up
2737 # making bogus files that we don't know about and never remove. For
2738 # instance it was reported that on HP-UX the gcc test will end up
2739 # making a dummy file named `D' -- because `-MD' means `put the output
2742 # Copy depcomp to subdir because otherwise we won't find it if we're
2743 # using a relative directory.
2744 cp "$am_depcomp" conftest.dir
2746 # We will build objects and dependencies in a subdirectory because
2747 # it helps to detect inapplicable dependency modes. For instance
2748 # both Tru64's cc and ICC support -MD to output dependencies as a
2749 # side effect of compilation, but ICC will put the dependencies in
2750 # the current directory while Tru64 will put them in the object
2754 am_cv_CC_dependencies_compiler_type=none
2755 if test "$am_compiler_list" = ""; then
2756 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2758 for depmode in $am_compiler_list; do
2759 # Setup a source with many dependencies, because some compilers
2760 # like to wrap large dependency lists on column 80 (with \), and
2761 # we should not choose a depcomp mode which is confused by this.
2763 # We need to recreate these files for each test, as the compiler may
2764 # overwrite some of them when testing with obscure command lines.
2765 # This happens at least with the AIX C compiler.
2767 for i in 1 2 3 4 5 6; do
2768 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2769 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2770 # Solaris 8's {/usr,}/bin/sh.
2771 touch sub/conftst$i.h
2773 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2777 # after this tag, mechanisms are not by side-effect, so they'll
2778 # only be used when explicitly requested
2779 if test "x$enable_dependency_tracking" = xyes; then
2787 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2788 # mode. It turns out that the SunPro C++ compiler does not properly
2789 # handle `-M -o', and we need to detect this.
2790 if depmode=$depmode \
2791 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2792 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2793 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2794 >/dev/null 2>conftest.err &&
2795 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2796 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2797 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2798 # icc doesn't choke on unknown options, it will just issue warnings
2799 # or remarks (even with -Werror). So we grep stderr for any message
2800 # that says an option was ignored or not supported.
2801 # When given -MP, icc 7.0 and 7.1 complain thusly:
2802 # icc: Command line warning: ignoring option '-M'; no argument required
2803 # The diagnosis changed in icc 8.0:
2804 # icc: Command line remark: option '-MP' not supported
2805 if (grep 'ignoring option' conftest.err ||
2806 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2807 am_cv_CC_dependencies_compiler_type=$depmode
2816 am_cv_CC_dependencies_compiler_type=none
2820 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2821 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2822 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2827 test "x$enable_dependency_tracking" != xno \
2828 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2830 am__fastdepCC_FALSE='#'
2832 am__fastdepCC_TRUE='#'
2833 am__fastdepCC_FALSE=
2838 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2839 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2840 if test "${ac_cv_search_strerror+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 ac_func_search_save_LIBS=$LIBS
2844 ac_cv_search_strerror=no
2845 cat >conftest.$ac_ext <<_ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2852 /* Override any gcc2 internal prototype to avoid an error. */
2856 /* We use char because int might match the return type of a gcc2
2857 builtin and then its argument prototype would still apply. */
2867 rm -f conftest.$ac_objext conftest$ac_exeext
2868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2869 (eval $ac_link) 2>conftest.er1
2871 grep -v '^ *+' conftest.er1 >conftest.err
2873 cat conftest.err >&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } &&
2876 { ac_try='test -z "$ac_c_werror_flag"
2877 || test ! -s conftest.err'
2878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; } &&
2883 { ac_try='test -s conftest$ac_exeext'
2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }; }; then
2889 ac_cv_search_strerror="none required"
2891 echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2895 rm -f conftest.err conftest.$ac_objext \
2896 conftest$ac_exeext conftest.$ac_ext
2897 if test "$ac_cv_search_strerror" = no; then
2898 for ac_lib in cposix; do
2899 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2900 cat >conftest.$ac_ext <<_ACEOF
2903 cat confdefs.h >>conftest.$ac_ext
2904 cat >>conftest.$ac_ext <<_ACEOF
2905 /* end confdefs.h. */
2907 /* Override any gcc2 internal prototype to avoid an error. */
2911 /* We use char because int might match the return type of a gcc2
2912 builtin and then its argument prototype would still apply. */
2922 rm -f conftest.$ac_objext conftest$ac_exeext
2923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2924 (eval $ac_link) 2>conftest.er1
2926 grep -v '^ *+' conftest.er1 >conftest.err
2928 cat conftest.err >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); } &&
2931 { ac_try='test -z "$ac_c_werror_flag"
2932 || test ! -s conftest.err'
2933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }; } &&
2938 { ac_try='test -s conftest$ac_exeext'
2939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }; }; then
2944 ac_cv_search_strerror="-l$ac_lib"
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2951 rm -f conftest.err conftest.$ac_objext \
2952 conftest$ac_exeext conftest.$ac_ext
2955 LIBS=$ac_func_search_save_LIBS
2957 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2958 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2959 if test "$ac_cv_search_strerror" != no; then
2960 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2965 ac_cpp='$CPP $CPPFLAGS'
2966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2969 if test -n "$ac_tool_prefix"; then
2970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2971 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2972 echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2974 if test "${ac_cv_prog_CC+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if test -n "$CC"; then
2978 ac_cv_prog_CC="$CC" # Let the user override the test.
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2987 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2997 if test -n "$CC"; then
2998 echo "$as_me:$LINENO: result: $CC" >&5
2999 echo "${ECHO_T}$CC" >&6
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3006 if test -z "$ac_cv_prog_CC"; then
3008 # Extract the first word of "gcc", so it can be a program name with args.
3009 set dummy gcc; ac_word=$2
3010 echo "$as_me:$LINENO: checking for $ac_word" >&5
3011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3013 echo $ECHO_N "(cached) $ECHO_C" >&6
3015 if test -n "$ac_ct_CC"; then
3016 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 test -z "$as_dir" && as_dir=.
3023 for ac_exec_ext in '' $ac_executable_extensions; do
3024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025 ac_cv_prog_ac_ct_CC="gcc"
3026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3035 if test -n "$ac_ct_CC"; then
3036 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3037 echo "${ECHO_T}$ac_ct_CC" >&6
3039 echo "$as_me:$LINENO: result: no" >&5
3040 echo "${ECHO_T}no" >&6
3048 if test -z "$CC"; then
3049 if test -n "$ac_tool_prefix"; then
3050 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3051 set dummy ${ac_tool_prefix}cc; ac_word=$2
3052 echo "$as_me:$LINENO: checking for $ac_word" >&5
3053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3054 if test "${ac_cv_prog_CC+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3057 if test -n "$CC"; then
3058 ac_cv_prog_CC="$CC" # Let the user override the test.
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir=.
3065 for ac_exec_ext in '' $ac_executable_extensions; do
3066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3067 ac_cv_prog_CC="${ac_tool_prefix}cc"
3068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3077 if test -n "$CC"; then
3078 echo "$as_me:$LINENO: result: $CC" >&5
3079 echo "${ECHO_T}$CC" >&6
3081 echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3086 if test -z "$ac_cv_prog_CC"; then
3088 # Extract the first word of "cc", so it can be a program name with args.
3089 set dummy cc; ac_word=$2
3090 echo "$as_me:$LINENO: checking for $ac_word" >&5
3091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3092 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3093 echo $ECHO_N "(cached) $ECHO_C" >&6
3095 if test -n "$ac_ct_CC"; then
3096 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3105 ac_cv_prog_ac_ct_CC="cc"
3106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3115 if test -n "$ac_ct_CC"; then
3116 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3117 echo "${ECHO_T}$ac_ct_CC" >&6
3119 echo "$as_me:$LINENO: result: no" >&5
3120 echo "${ECHO_T}no" >&6
3129 if test -z "$CC"; then
3130 # Extract the first word of "cc", so it can be a program name with args.
3131 set dummy cc; ac_word=$2
3132 echo "$as_me:$LINENO: checking for $ac_word" >&5
3133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3134 if test "${ac_cv_prog_CC+set}" = set; then
3135 echo $ECHO_N "(cached) $ECHO_C" >&6
3137 if test -n "$CC"; then
3138 ac_cv_prog_CC="$CC" # Let the user override the test.
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir=.
3146 for ac_exec_ext in '' $ac_executable_extensions; do
3147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3148 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3149 ac_prog_rejected=yes
3153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 if test $ac_prog_rejected = yes; then
3160 # We found a bogon in the path, so make sure we never use it.
3161 set dummy $ac_cv_prog_CC
3163 if test $# != 0; then
3164 # We chose a different compiler from the bogus one.
3165 # However, it has the same basename, so the bogon will be chosen
3166 # first if we set CC to just the basename; use the full file name.
3168 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3174 if test -n "$CC"; then
3175 echo "$as_me:$LINENO: result: $CC" >&5
3176 echo "${ECHO_T}$CC" >&6
3178 echo "$as_me:$LINENO: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3183 if test -z "$CC"; then
3184 if test -n "$ac_tool_prefix"; then
3187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3188 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3189 echo "$as_me:$LINENO: checking for $ac_word" >&5
3190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3191 if test "${ac_cv_prog_CC+set}" = set; then
3192 echo $ECHO_N "(cached) $ECHO_C" >&6
3194 if test -n "$CC"; then
3195 ac_cv_prog_CC="$CC" # Let the user override the test.
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir=.
3202 for ac_exec_ext in '' $ac_executable_extensions; do
3203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 if test -n "$CC"; then
3215 echo "$as_me:$LINENO: result: $CC" >&5
3216 echo "${ECHO_T}$CC" >&6
3218 echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3222 test -n "$CC" && break
3225 if test -z "$CC"; then
3229 # Extract the first word of "$ac_prog", so it can be a program name with args.
3230 set dummy $ac_prog; ac_word=$2
3231 echo "$as_me:$LINENO: checking for $ac_word" >&5
3232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3233 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3236 if test -n "$ac_ct_CC"; then
3237 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 test -z "$as_dir" && as_dir=.
3244 for ac_exec_ext in '' $ac_executable_extensions; do
3245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3246 ac_cv_prog_ac_ct_CC="$ac_prog"
3247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3255 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3256 if test -n "$ac_ct_CC"; then
3257 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3258 echo "${ECHO_T}$ac_ct_CC" >&6
3260 echo "$as_me:$LINENO: result: no" >&5
3261 echo "${ECHO_T}no" >&6
3264 test -n "$ac_ct_CC" && break
3273 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3274 See \`config.log' for more details." >&5
3275 echo "$as_me: error: no acceptable C compiler found in \$PATH
3276 See \`config.log' for more details." >&2;}
3277 { (exit 1); exit 1; }; }
3279 # Provide some information about the compiler.
3280 echo "$as_me:$LINENO:" \
3281 "checking for C compiler version" >&5
3282 ac_compiler=`set X $ac_compile; echo $2`
3283 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3284 (eval $ac_compiler --version </dev/null >&5) 2>&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); }
3288 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3289 (eval $ac_compiler -v </dev/null >&5) 2>&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); }
3293 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3294 (eval $ac_compiler -V </dev/null >&5) 2>&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); }
3299 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3300 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3301 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3302 echo $ECHO_N "(cached) $ECHO_C" >&6
3304 cat >conftest.$ac_ext <<_ACEOF
3307 cat confdefs.h >>conftest.$ac_ext
3308 cat >>conftest.$ac_ext <<_ACEOF
3309 /* end confdefs.h. */
3322 rm -f conftest.$ac_objext
3323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3324 (eval $ac_compile) 2>conftest.er1
3326 grep -v '^ *+' conftest.er1 >conftest.err
3328 cat conftest.err >&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); } &&
3331 { ac_try='test -z "$ac_c_werror_flag"
3332 || test ! -s conftest.err'
3333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); }; } &&
3338 { ac_try='test -s conftest.$ac_objext'
3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; }; then
3346 echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3352 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3355 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3356 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3357 GCC=`test $ac_compiler_gnu = yes && echo yes`
3358 ac_test_CFLAGS=${CFLAGS+set}
3359 ac_save_CFLAGS=$CFLAGS
3361 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3362 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3363 if test "${ac_cv_prog_cc_g+set}" = set; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 cat >conftest.$ac_ext <<_ACEOF
3369 cat confdefs.h >>conftest.$ac_ext
3370 cat >>conftest.$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3381 rm -f conftest.$ac_objext
3382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3383 (eval $ac_compile) 2>conftest.er1
3385 grep -v '^ *+' conftest.er1 >conftest.err
3387 cat conftest.err >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 { ac_try='test -z "$ac_c_werror_flag"
3391 || test ! -s conftest.err'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; } &&
3397 { ac_try='test -s conftest.$ac_objext'
3398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); }; }; then
3405 echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.$ac_ext >&5
3410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3412 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3413 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3414 if test "$ac_test_CFLAGS" = set; then
3415 CFLAGS=$ac_save_CFLAGS
3416 elif test $ac_cv_prog_cc_g = yes; then
3417 if test "$GCC" = yes; then
3423 if test "$GCC" = yes; then
3429 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3430 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3431 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3432 echo $ECHO_N "(cached) $ECHO_C" >&6
3434 ac_cv_prog_cc_stdc=no
3436 cat >conftest.$ac_ext <<_ACEOF
3439 cat confdefs.h >>conftest.$ac_ext
3440 cat >>conftest.$ac_ext <<_ACEOF
3441 /* end confdefs.h. */
3444 #include <sys/types.h>
3445 #include <sys/stat.h>
3446 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3447 struct buf { int x; };
3448 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3449 static char *e (p, i)
3455 static char *f (char * (*g) (char **, int), char **p, ...)
3460 s = g (p, va_arg (v,int));
3465 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3466 function prototypes and stuff, but not '\xHH' hex character constants.
3467 These don't provoke an error unfortunately, instead are silently treated
3468 as 'x'. The following induces an error, until -std1 is added to get
3469 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3470 array size at least. It's necessary to write '\x00'==0 to get something
3471 that's true only with -std1. */
3472 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3474 int test (int i, double x);
3475 struct s1 {int (*f) (int a);};
3476 struct s2 {int (*f) (double a);};
3477 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3483 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3488 # Don't try gcc -ansi; that turns off useful extensions and
3489 # breaks some systems' header files.
3490 # AIX -qlanglvl=ansi
3491 # Ultrix and OSF/1 -std1
3492 # HP-UX 10.20 and later -Ae
3493 # HP-UX older versions -Aa -D_HPUX_SOURCE
3494 # SVR4 -Xc -D__EXTENSIONS__
3495 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3497 CC="$ac_save_CC $ac_arg"
3498 rm -f conftest.$ac_objext
3499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3500 (eval $ac_compile) 2>conftest.er1
3502 grep -v '^ *+' conftest.er1 >conftest.err
3504 cat conftest.err >&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); } &&
3507 { ac_try='test -z "$ac_c_werror_flag"
3508 || test ! -s conftest.err'
3509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); }; } &&
3514 { ac_try='test -s conftest.$ac_objext'
3515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); }; }; then
3520 ac_cv_prog_cc_stdc=$ac_arg
3523 echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.$ac_ext >&5
3527 rm -f conftest.err conftest.$ac_objext
3529 rm -f conftest.$ac_ext conftest.$ac_objext
3534 case "x$ac_cv_prog_cc_stdc" in
3536 echo "$as_me:$LINENO: result: none needed" >&5
3537 echo "${ECHO_T}none needed" >&6 ;;
3539 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3540 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3541 CC="$CC $ac_cv_prog_cc_stdc" ;;
3544 # Some people use a C++ compiler to compile C. Since we use `exit',
3545 # in C++ we need to declare it. In case someone uses the same compiler
3546 # for both compiling C and C++ we need to have the C++ compiler decide
3547 # the declaration of exit, since it's the most demanding environment.
3548 cat >conftest.$ac_ext <<_ACEOF
3553 rm -f conftest.$ac_objext
3554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3555 (eval $ac_compile) 2>conftest.er1
3557 grep -v '^ *+' conftest.er1 >conftest.err
3559 cat conftest.err >&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); } &&
3562 { ac_try='test -z "$ac_c_werror_flag"
3563 || test ! -s conftest.err'
3564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); }; } &&
3569 { ac_try='test -s conftest.$ac_objext'
3570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }; }; then
3575 for ac_declaration in \
3577 'extern "C" void std::exit (int) throw (); using std::exit;' \
3578 'extern "C" void std::exit (int); using std::exit;' \
3579 'extern "C" void exit (int) throw ();' \
3580 'extern "C" void exit (int);' \
3583 cat >conftest.$ac_ext <<_ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3599 rm -f conftest.$ac_objext
3600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3601 (eval $ac_compile) 2>conftest.er1
3603 grep -v '^ *+' conftest.er1 >conftest.err
3605 cat conftest.err >&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); } &&
3608 { ac_try='test -z "$ac_c_werror_flag"
3609 || test ! -s conftest.err'
3610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); }; } &&
3615 { ac_try='test -s conftest.$ac_objext'
3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); }; }; then
3623 echo "$as_me: failed program was:" >&5
3624 sed 's/^/| /' conftest.$ac_ext >&5
3628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3629 cat >conftest.$ac_ext <<_ACEOF
3632 cat confdefs.h >>conftest.$ac_ext
3633 cat >>conftest.$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3644 rm -f conftest.$ac_objext
3645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3646 (eval $ac_compile) 2>conftest.er1
3648 grep -v '^ *+' conftest.er1 >conftest.err
3650 cat conftest.err >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } &&
3653 { ac_try='test -z "$ac_c_werror_flag"
3654 || test ! -s conftest.err'
3655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); }; } &&
3660 { ac_try='test -s conftest.$ac_objext'
3661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); }; }; then
3668 echo "$as_me: failed program was:" >&5
3669 sed 's/^/| /' conftest.$ac_ext >&5
3672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3675 if test -n "$ac_declaration"; then
3676 echo '#ifdef __cplusplus' >>confdefs.h
3677 echo $ac_declaration >>confdefs.h
3678 echo '#endif' >>confdefs.h
3682 echo "$as_me: failed program was:" >&5
3683 sed 's/^/| /' conftest.$ac_ext >&5
3686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3688 ac_cpp='$CPP $CPPFLAGS'
3689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3693 depcc="$CC" am_compiler_list=
3695 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3696 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3697 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3701 # We make a subdir and do the tests there. Otherwise we can end up
3702 # making bogus files that we don't know about and never remove. For
3703 # instance it was reported that on HP-UX the gcc test will end up
3704 # making a dummy file named `D' -- because `-MD' means `put the output
3707 # Copy depcomp to subdir because otherwise we won't find it if we're
3708 # using a relative directory.
3709 cp "$am_depcomp" conftest.dir
3711 # We will build objects and dependencies in a subdirectory because
3712 # it helps to detect inapplicable dependency modes. For instance
3713 # both Tru64's cc and ICC support -MD to output dependencies as a
3714 # side effect of compilation, but ICC will put the dependencies in
3715 # the current directory while Tru64 will put them in the object
3719 am_cv_CC_dependencies_compiler_type=none
3720 if test "$am_compiler_list" = ""; then
3721 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3723 for depmode in $am_compiler_list; do
3724 # Setup a source with many dependencies, because some compilers
3725 # like to wrap large dependency lists on column 80 (with \), and
3726 # we should not choose a depcomp mode which is confused by this.
3728 # We need to recreate these files for each test, as the compiler may
3729 # overwrite some of them when testing with obscure command lines.
3730 # This happens at least with the AIX C compiler.
3732 for i in 1 2 3 4 5 6; do
3733 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3734 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3735 # Solaris 8's {/usr,}/bin/sh.
3736 touch sub/conftst$i.h
3738 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3742 # after this tag, mechanisms are not by side-effect, so they'll
3743 # only be used when explicitly requested
3744 if test "x$enable_dependency_tracking" = xyes; then
3752 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3753 # mode. It turns out that the SunPro C++ compiler does not properly
3754 # handle `-M -o', and we need to detect this.
3755 if depmode=$depmode \
3756 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3757 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3758 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3759 >/dev/null 2>conftest.err &&
3760 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3761 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3762 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3763 # icc doesn't choke on unknown options, it will just issue warnings
3764 # or remarks (even with -Werror). So we grep stderr for any message
3765 # that says an option was ignored or not supported.
3766 # When given -MP, icc 7.0 and 7.1 complain thusly:
3767 # icc: Command line warning: ignoring option '-M'; no argument required
3768 # The diagnosis changed in icc 8.0:
3769 # icc: Command line remark: option '-MP' not supported
3770 if (grep 'ignoring option' conftest.err ||
3771 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3772 am_cv_CC_dependencies_compiler_type=$depmode
3781 am_cv_CC_dependencies_compiler_type=none
3785 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3786 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3787 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3792 test "x$enable_dependency_tracking" != xno \
3793 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3795 am__fastdepCC_FALSE='#'
3797 am__fastdepCC_TRUE='#'
3798 am__fastdepCC_FALSE=
3803 ac_cpp='$CPP $CPPFLAGS'
3804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3807 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3808 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3809 # On Suns, sometimes $CPP names a directory.
3810 if test -n "$CPP" && test -d "$CPP"; then
3813 if test -z "$CPP"; then
3814 if test "${ac_cv_prog_CPP+set}" = set; then
3815 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 # Double quotes because CPP needs to be expanded
3818 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3821 for ac_c_preproc_warn_flag in '' yes
3823 # Use a header file that comes with gcc, so configuring glibc
3824 # with a fresh cross-compiler works.
3825 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3826 # <limits.h> exists even on freestanding compilers.
3827 # On the NeXT, cc -E runs the code through the compiler's parser,
3828 # not just through cpp. "Syntax error" is here to catch this case.
3829 cat >conftest.$ac_ext <<_ACEOF
3832 cat confdefs.h >>conftest.$ac_ext
3833 cat >>conftest.$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3836 # include <limits.h>
3838 # include <assert.h>
3842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3843 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3845 grep -v '^ *+' conftest.er1 >conftest.err
3847 cat conftest.err >&5
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); } >/dev/null; then
3850 if test -s conftest.err; then
3851 ac_cpp_err=$ac_c_preproc_warn_flag
3852 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3859 if test -z "$ac_cpp_err"; then
3862 echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.$ac_ext >&5
3865 # Broken: fails on valid input.
3868 rm -f conftest.err conftest.$ac_ext
3870 # OK, works on sane cases. Now check whether non-existent headers
3871 # can be detected and how.
3872 cat >conftest.$ac_ext <<_ACEOF
3875 cat confdefs.h >>conftest.$ac_ext
3876 cat >>conftest.$ac_ext <<_ACEOF
3877 /* end confdefs.h. */
3878 #include <ac_nonexistent.h>
3880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3881 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3883 grep -v '^ *+' conftest.er1 >conftest.err
3885 cat conftest.err >&5
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); } >/dev/null; then
3888 if test -s conftest.err; then
3889 ac_cpp_err=$ac_c_preproc_warn_flag
3890 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3897 if test -z "$ac_cpp_err"; then
3898 # Broken: success on invalid input.
3901 echo "$as_me: failed program was:" >&5
3902 sed 's/^/| /' conftest.$ac_ext >&5
3904 # Passes both tests.
3908 rm -f conftest.err conftest.$ac_ext
3911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3912 rm -f conftest.err conftest.$ac_ext
3913 if $ac_preproc_ok; then
3925 echo "$as_me:$LINENO: result: $CPP" >&5
3926 echo "${ECHO_T}$CPP" >&6
3928 for ac_c_preproc_warn_flag in '' yes
3930 # Use a header file that comes with gcc, so configuring glibc
3931 # with a fresh cross-compiler works.
3932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3933 # <limits.h> exists even on freestanding compilers.
3934 # On the NeXT, cc -E runs the code through the compiler's parser,
3935 # not just through cpp. "Syntax error" is here to catch this case.
3936 cat >conftest.$ac_ext <<_ACEOF
3939 cat confdefs.h >>conftest.$ac_ext
3940 cat >>conftest.$ac_ext <<_ACEOF
3941 /* end confdefs.h. */
3943 # include <limits.h>
3945 # include <assert.h>
3949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3952 grep -v '^ *+' conftest.er1 >conftest.err
3954 cat conftest.err >&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); } >/dev/null; then
3957 if test -s conftest.err; then
3958 ac_cpp_err=$ac_c_preproc_warn_flag
3959 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3966 if test -z "$ac_cpp_err"; then
3969 echo "$as_me: failed program was:" >&5
3970 sed 's/^/| /' conftest.$ac_ext >&5
3972 # Broken: fails on valid input.
3975 rm -f conftest.err conftest.$ac_ext
3977 # OK, works on sane cases. Now check whether non-existent headers
3978 # can be detected and how.
3979 cat >conftest.$ac_ext <<_ACEOF
3982 cat confdefs.h >>conftest.$ac_ext
3983 cat >>conftest.$ac_ext <<_ACEOF
3984 /* end confdefs.h. */
3985 #include <ac_nonexistent.h>
3987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3990 grep -v '^ *+' conftest.er1 >conftest.err
3992 cat conftest.err >&5
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); } >/dev/null; then
3995 if test -s conftest.err; then
3996 ac_cpp_err=$ac_c_preproc_warn_flag
3997 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4004 if test -z "$ac_cpp_err"; then
4005 # Broken: success on invalid input.
4008 echo "$as_me: failed program was:" >&5
4009 sed 's/^/| /' conftest.$ac_ext >&5
4011 # Passes both tests.
4015 rm -f conftest.err conftest.$ac_ext
4018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4019 rm -f conftest.err conftest.$ac_ext
4020 if $ac_preproc_ok; then
4023 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4024 See \`config.log' for more details." >&5
4025 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4026 See \`config.log' for more details." >&2;}
4027 { (exit 1); exit 1; }; }
4031 ac_cpp='$CPP $CPPFLAGS'
4032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4037 echo "$as_me:$LINENO: checking for egrep" >&5
4038 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4039 if test "${ac_cv_prog_egrep+set}" = set; then
4040 echo $ECHO_N "(cached) $ECHO_C" >&6
4042 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4043 then ac_cv_prog_egrep='grep -E'
4044 else ac_cv_prog_egrep='egrep'
4047 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4048 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4049 EGREP=$ac_cv_prog_egrep
4052 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4053 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4054 if test "${ac_cv_header_stdc+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 cat >conftest.$ac_ext <<_ACEOF
4060 cat confdefs.h >>conftest.$ac_ext
4061 cat >>conftest.$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4076 rm -f conftest.$ac_objext
4077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4078 (eval $ac_compile) 2>conftest.er1
4080 grep -v '^ *+' conftest.er1 >conftest.err
4082 cat conftest.err >&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); } &&
4085 { ac_try='test -z "$ac_c_werror_flag"
4086 || test ! -s conftest.err'
4087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); }; } &&
4092 { ac_try='test -s conftest.$ac_objext'
4093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); }; }; then
4098 ac_cv_header_stdc=yes
4100 echo "$as_me: failed program was:" >&5
4101 sed 's/^/| /' conftest.$ac_ext >&5
4103 ac_cv_header_stdc=no
4105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4107 if test $ac_cv_header_stdc = yes; then
4108 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4109 cat >conftest.$ac_ext <<_ACEOF
4112 cat confdefs.h >>conftest.$ac_ext
4113 cat >>conftest.$ac_ext <<_ACEOF
4114 /* end confdefs.h. */
4118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4119 $EGREP "memchr" >/dev/null 2>&1; then
4122 ac_cv_header_stdc=no
4128 if test $ac_cv_header_stdc = yes; then
4129 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4130 cat >conftest.$ac_ext <<_ACEOF
4133 cat confdefs.h >>conftest.$ac_ext
4134 cat >>conftest.$ac_ext <<_ACEOF
4135 /* end confdefs.h. */
4139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4140 $EGREP "free" >/dev/null 2>&1; then
4143 ac_cv_header_stdc=no
4149 if test $ac_cv_header_stdc = yes; then
4150 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4151 if test "$cross_compiling" = yes; then
4154 cat >conftest.$ac_ext <<_ACEOF
4157 cat confdefs.h >>conftest.$ac_ext
4158 cat >>conftest.$ac_ext <<_ACEOF
4159 /* end confdefs.h. */
4161 #if ((' ' & 0x0FF) == 0x020)
4162 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4163 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4165 # define ISLOWER(c) \
4166 (('a' <= (c) && (c) <= 'i') \
4167 || ('j' <= (c) && (c) <= 'r') \
4168 || ('s' <= (c) && (c) <= 'z'))
4169 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4172 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4177 for (i = 0; i < 256; i++)
4178 if (XOR (islower (i), ISLOWER (i))
4179 || toupper (i) != TOUPPER (i))
4184 rm -f conftest$ac_exeext
4185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4186 (eval $ac_link) 2>&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; }; then
4197 echo "$as_me: program exited with status $ac_status" >&5
4198 echo "$as_me: failed program was:" >&5
4199 sed 's/^/| /' conftest.$ac_ext >&5
4202 ac_cv_header_stdc=no
4204 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4208 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4209 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4210 if test $ac_cv_header_stdc = yes; then
4212 cat >>confdefs.h <<\_ACEOF
4213 #define STDC_HEADERS 1
4218 for ac_prog in 'bison -y' byacc
4220 # Extract the first word of "$ac_prog", so it can be a program name with args.
4221 set dummy $ac_prog; ac_word=$2
4222 echo "$as_me:$LINENO: checking for $ac_word" >&5
4223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4224 if test "${ac_cv_prog_YACC+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4227 if test -n "$YACC"; then
4228 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 test -z "$as_dir" && as_dir=.
4235 for ac_exec_ext in '' $ac_executable_extensions; do
4236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_YACC="$ac_prog"
4238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4246 YACC=$ac_cv_prog_YACC
4247 if test -n "$YACC"; then
4248 echo "$as_me:$LINENO: result: $YACC" >&5
4249 echo "${ECHO_T}$YACC" >&6
4251 echo "$as_me:$LINENO: result: no" >&5
4252 echo "${ECHO_T}no" >&6
4255 test -n "$YACC" && break
4257 test -n "$YACC" || YACC="yacc"
4259 for ac_prog in flex lex
4261 # Extract the first word of "$ac_prog", so it can be a program name with args.
4262 set dummy $ac_prog; ac_word=$2
4263 echo "$as_me:$LINENO: checking for $ac_word" >&5
4264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4265 if test "${ac_cv_prog_LEX+set}" = set; then
4266 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 if test -n "$LEX"; then
4269 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4275 test -z "$as_dir" && as_dir=.
4276 for ac_exec_ext in '' $ac_executable_extensions; do
4277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4278 ac_cv_prog_LEX="$ac_prog"
4279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4288 if test -n "$LEX"; then
4289 echo "$as_me:$LINENO: result: $LEX" >&5
4290 echo "${ECHO_T}$LEX" >&6
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4296 test -n "$LEX" && break
4298 test -n "$LEX" || LEX=":"
4300 if test -z "$LEXLIB"
4302 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4303 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4304 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4307 ac_check_lib_save_LIBS=$LIBS
4309 cat >conftest.$ac_ext <<_ACEOF
4312 cat confdefs.h >>conftest.$ac_ext
4313 cat >>conftest.$ac_ext <<_ACEOF
4314 /* end confdefs.h. */
4316 /* Override any gcc2 internal prototype to avoid an error. */
4320 /* We use char because int might match the return type of a gcc2
4321 builtin and then its argument prototype would still apply. */
4331 rm -f conftest.$ac_objext conftest$ac_exeext
4332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4333 (eval $ac_link) 2>conftest.er1
4335 grep -v '^ *+' conftest.er1 >conftest.err
4337 cat conftest.err >&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); } &&
4340 { ac_try='test -z "$ac_c_werror_flag"
4341 || test ! -s conftest.err'
4342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; } &&
4347 { ac_try='test -s conftest$ac_exeext'
4348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352 (exit $ac_status); }; }; then
4353 ac_cv_lib_fl_yywrap=yes
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.$ac_ext >&5
4358 ac_cv_lib_fl_yywrap=no
4360 rm -f conftest.err conftest.$ac_objext \
4361 conftest$ac_exeext conftest.$ac_ext
4362 LIBS=$ac_check_lib_save_LIBS
4364 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4365 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4366 if test $ac_cv_lib_fl_yywrap = yes; then
4369 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4370 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4371 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4372 echo $ECHO_N "(cached) $ECHO_C" >&6
4374 ac_check_lib_save_LIBS=$LIBS
4376 cat >conftest.$ac_ext <<_ACEOF
4379 cat confdefs.h >>conftest.$ac_ext
4380 cat >>conftest.$ac_ext <<_ACEOF
4381 /* end confdefs.h. */
4383 /* Override any gcc2 internal prototype to avoid an error. */
4387 /* We use char because int might match the return type of a gcc2
4388 builtin and then its argument prototype would still apply. */
4398 rm -f conftest.$ac_objext conftest$ac_exeext
4399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4400 (eval $ac_link) 2>conftest.er1
4402 grep -v '^ *+' conftest.er1 >conftest.err
4404 cat conftest.err >&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); } &&
4407 { ac_try='test -z "$ac_c_werror_flag"
4408 || test ! -s conftest.err'
4409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); }; } &&
4414 { ac_try='test -s conftest$ac_exeext'
4415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; }; then
4420 ac_cv_lib_l_yywrap=yes
4422 echo "$as_me: failed program was:" >&5
4423 sed 's/^/| /' conftest.$ac_ext >&5
4425 ac_cv_lib_l_yywrap=no
4427 rm -f conftest.err conftest.$ac_objext \
4428 conftest$ac_exeext conftest.$ac_ext
4429 LIBS=$ac_check_lib_save_LIBS
4431 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4432 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4433 if test $ac_cv_lib_l_yywrap = yes; then
4441 if test "x$LEX" != "x:"; then
4442 echo "$as_me:$LINENO: checking lex output file root" >&5
4443 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4444 if test "${ac_cv_prog_lex_root+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 # The minimal lex program is just a single line: %%. But some broken lexes
4448 # (Solaris, I think it was) want two %% lines, so accommodate them.
4449 cat >conftest.l <<_ACEOF
4453 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4454 (eval $LEX conftest.l) 2>&5
4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457 (exit $ac_status); }
4458 if test -f lex.yy.c; then
4459 ac_cv_prog_lex_root=lex.yy
4460 elif test -f lexyy.c; then
4461 ac_cv_prog_lex_root=lexyy
4463 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4464 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4465 { (exit 1); exit 1; }; }
4468 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4469 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4471 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4473 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4474 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4475 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4476 echo $ECHO_N "(cached) $ECHO_C" >&6
4478 # POSIX says lex can declare yytext either as a pointer or an array; the
4479 # default is implementation-dependent. Figure out which it is, since
4480 # not all implementations provide the %pointer and %array declarations.
4481 ac_cv_prog_lex_yytext_pointer=no
4482 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4484 LIBS="$LIBS $LEXLIB"
4485 cat >conftest.$ac_ext <<_ACEOF
4486 `cat $LEX_OUTPUT_ROOT.c`
4488 rm -f conftest.$ac_objext conftest$ac_exeext
4489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4490 (eval $ac_link) 2>conftest.er1
4492 grep -v '^ *+' conftest.er1 >conftest.err
4494 cat conftest.err >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); } &&
4497 { ac_try='test -z "$ac_c_werror_flag"
4498 || test ! -s conftest.err'
4499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; } &&
4504 { ac_try='test -s conftest$ac_exeext'
4505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); }; }; then
4510 ac_cv_prog_lex_yytext_pointer=yes
4512 echo "$as_me: failed program was:" >&5
4513 sed 's/^/| /' conftest.$ac_ext >&5
4516 rm -f conftest.err conftest.$ac_objext \
4517 conftest$ac_exeext conftest.$ac_ext
4519 rm -f "${LEX_OUTPUT_ROOT}.c"
4522 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4523 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4524 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4526 cat >>confdefs.h <<\_ACEOF
4527 #define YYTEXT_POINTER 1
4533 if test "$LEX" = :; then
4534 LEX=${am_missing_run}flex
4536 # Find a good install program. We prefer a C program (faster),
4537 # so one script is as good as another. But avoid the broken or
4538 # incompatible versions:
4539 # SysV /etc/install, /usr/sbin/install
4540 # SunOS /usr/etc/install
4541 # IRIX /sbin/install
4543 # AmigaOS /C/install, which installs bootblocks on floppy discs
4544 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4545 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4546 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4547 # OS/2's system install, which has a completely different semantic
4548 # ./install, which can be erroneously created by make from ./install.sh.
4549 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4550 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4551 if test -z "$INSTALL"; then
4552 if test "${ac_cv_path_install+set}" = set; then
4553 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4559 test -z "$as_dir" && as_dir=.
4560 # Account for people who put trailing slashes in PATH elements.
4562 ./ | .// | /cC/* | \
4563 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4564 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4567 # OSF1 and SCO ODT 3.0 have their own names for install.
4568 # Don't use installbsd from OSF since it installs stuff as root
4570 for ac_prog in ginstall scoinst install; do
4571 for ac_exec_ext in '' $ac_executable_extensions; do
4572 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4573 if test $ac_prog = install &&
4574 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4575 # AIX install. It has an incompatible calling convention.
4577 elif test $ac_prog = install &&
4578 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4579 # program-specific install script used by HP pwplus--don't use.
4582 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4594 if test "${ac_cv_path_install+set}" = set; then
4595 INSTALL=$ac_cv_path_install
4597 # As a last resort, use the slow shell script. We don't cache a
4598 # path for INSTALL within a source directory, because that will
4599 # break other packages using the cache if that directory is
4600 # removed, or if the path is relative.
4601 INSTALL=$ac_install_sh
4604 echo "$as_me:$LINENO: result: $INSTALL" >&5
4605 echo "${ECHO_T}$INSTALL" >&6
4607 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4608 # It thinks the first close brace ends the variable substitution.
4609 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4611 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4613 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4616 ac_cpp='$CPP $CPPFLAGS'
4617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4620 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4621 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4622 # On Suns, sometimes $CPP names a directory.
4623 if test -n "$CPP" && test -d "$CPP"; then
4626 if test -z "$CPP"; then
4627 if test "${ac_cv_prog_CPP+set}" = set; then
4628 echo $ECHO_N "(cached) $ECHO_C" >&6
4630 # Double quotes because CPP needs to be expanded
4631 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4634 for ac_c_preproc_warn_flag in '' yes
4636 # Use a header file that comes with gcc, so configuring glibc
4637 # with a fresh cross-compiler works.
4638 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4639 # <limits.h> exists even on freestanding compilers.
4640 # On the NeXT, cc -E runs the code through the compiler's parser,
4641 # not just through cpp. "Syntax error" is here to catch this case.
4642 cat >conftest.$ac_ext <<_ACEOF
4645 cat confdefs.h >>conftest.$ac_ext
4646 cat >>conftest.$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4649 # include <limits.h>
4651 # include <assert.h>
4655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4658 grep -v '^ *+' conftest.er1 >conftest.err
4660 cat conftest.err >&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); } >/dev/null; then
4663 if test -s conftest.err; then
4664 ac_cpp_err=$ac_c_preproc_warn_flag
4665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4672 if test -z "$ac_cpp_err"; then
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4678 # Broken: fails on valid input.
4681 rm -f conftest.err conftest.$ac_ext
4683 # OK, works on sane cases. Now check whether non-existent headers
4684 # can be detected and how.
4685 cat >conftest.$ac_ext <<_ACEOF
4688 cat confdefs.h >>conftest.$ac_ext
4689 cat >>conftest.$ac_ext <<_ACEOF
4690 /* end confdefs.h. */
4691 #include <ac_nonexistent.h>
4693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4696 grep -v '^ *+' conftest.er1 >conftest.err
4698 cat conftest.err >&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); } >/dev/null; then
4701 if test -s conftest.err; then
4702 ac_cpp_err=$ac_c_preproc_warn_flag
4703 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4710 if test -z "$ac_cpp_err"; then
4711 # Broken: success on invalid input.
4714 echo "$as_me: failed program was:" >&5
4715 sed 's/^/| /' conftest.$ac_ext >&5
4717 # Passes both tests.
4721 rm -f conftest.err conftest.$ac_ext
4724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4725 rm -f conftest.err conftest.$ac_ext
4726 if $ac_preproc_ok; then
4738 echo "$as_me:$LINENO: result: $CPP" >&5
4739 echo "${ECHO_T}$CPP" >&6
4741 for ac_c_preproc_warn_flag in '' yes
4743 # Use a header file that comes with gcc, so configuring glibc
4744 # with a fresh cross-compiler works.
4745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4746 # <limits.h> exists even on freestanding compilers.
4747 # On the NeXT, cc -E runs the code through the compiler's parser,
4748 # not just through cpp. "Syntax error" is here to catch this case.
4749 cat >conftest.$ac_ext <<_ACEOF
4752 cat confdefs.h >>conftest.$ac_ext
4753 cat >>conftest.$ac_ext <<_ACEOF
4754 /* end confdefs.h. */
4756 # include <limits.h>
4758 # include <assert.h>
4762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4765 grep -v '^ *+' conftest.er1 >conftest.err
4767 cat conftest.err >&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); } >/dev/null; then
4770 if test -s conftest.err; then
4771 ac_cpp_err=$ac_c_preproc_warn_flag
4772 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4779 if test -z "$ac_cpp_err"; then
4782 echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.$ac_ext >&5
4785 # Broken: fails on valid input.
4788 rm -f conftest.err conftest.$ac_ext
4790 # OK, works on sane cases. Now check whether non-existent headers
4791 # can be detected and how.
4792 cat >conftest.$ac_ext <<_ACEOF
4795 cat confdefs.h >>conftest.$ac_ext
4796 cat >>conftest.$ac_ext <<_ACEOF
4797 /* end confdefs.h. */
4798 #include <ac_nonexistent.h>
4800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4803 grep -v '^ *+' conftest.er1 >conftest.err
4805 cat conftest.err >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); } >/dev/null; then
4808 if test -s conftest.err; then
4809 ac_cpp_err=$ac_c_preproc_warn_flag
4810 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4817 if test -z "$ac_cpp_err"; then
4818 # Broken: success on invalid input.
4821 echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.$ac_ext >&5
4824 # Passes both tests.
4828 rm -f conftest.err conftest.$ac_ext
4831 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4832 rm -f conftest.err conftest.$ac_ext
4833 if $ac_preproc_ok; then
4836 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4837 See \`config.log' for more details." >&5
4838 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4839 See \`config.log' for more details." >&2;}
4840 { (exit 1); exit 1; }; }
4844 ac_cpp='$CPP $CPPFLAGS'
4845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4849 # Extract the first word of "rm", so it can be a program name with args.
4850 set dummy rm; ac_word=$2
4851 echo "$as_me:$LINENO: checking for $ac_word" >&5
4852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4853 if test "${ac_cv_path_RM+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4865 test -z "$as_dir" && as_dir=.
4866 for ac_exec_ext in '' $ac_executable_extensions; do
4867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4868 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4875 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4881 if test -n "$RM"; then
4882 echo "$as_me:$LINENO: result: $RM" >&5
4883 echo "${ECHO_T}$RM" >&6
4885 echo "$as_me:$LINENO: result: no" >&5
4886 echo "${ECHO_T}no" >&6
4889 # Extract the first word of "mv", so it can be a program name with args.
4890 set dummy mv; ac_word=$2
4891 echo "$as_me:$LINENO: checking for $ac_word" >&5
4892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4893 if test "${ac_cv_path_MV+set}" = set; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4898 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 test -z "$as_dir" && as_dir=.
4906 for ac_exec_ext in '' $ac_executable_extensions; do
4907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4908 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4921 if test -n "$MV"; then
4922 echo "$as_me:$LINENO: result: $MV" >&5
4923 echo "${ECHO_T}$MV" >&6
4925 echo "$as_me:$LINENO: result: no" >&5
4926 echo "${ECHO_T}no" >&6
4929 # Extract the first word of "tar", so it can be a program name with args.
4930 set dummy tar; ac_word=$2
4931 echo "$as_me:$LINENO: checking for $ac_word" >&5
4932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4933 if test "${ac_cv_path_TAR+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4938 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir=.
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4948 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
4961 if test -n "$TAR"; then
4962 echo "$as_me:$LINENO: result: $TAR" >&5
4963 echo "${ECHO_T}$TAR" >&6
4965 echo "$as_me:$LINENO: result: no" >&5
4966 echo "${ECHO_T}no" >&6
4972 if test -z "$PKG_CONFIG"; then
4973 # Extract the first word of "pkg-config", so it can be a program name with args.
4974 set dummy pkg-config; ac_word=$2
4975 echo "$as_me:$LINENO: checking for $ac_word" >&5
4976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4977 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4978 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir=.
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4992 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4999 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5003 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5005 if test -n "$PKG_CONFIG"; then
5006 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5007 echo "${ECHO_T}$PKG_CONFIG" >&6
5009 echo "$as_me:$LINENO: result: no" >&5
5010 echo "${ECHO_T}no" >&6
5015 if test "$PKG_CONFIG" = "no" ; then
5016 echo "*** The pkg-config script could not be found. Make sure it is"
5017 echo "*** in your path, or set the PKG_CONFIG environment variable"
5018 echo "*** to the full path to pkg-config."
5019 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
5021 PKG_CONFIG_MIN_VERSION=0.9.0
5022 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5023 echo "$as_me:$LINENO: checking for glib-2.0 >= $GLIB_REQUIRED" >&5
5024 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED... $ECHO_C" >&6
5026 if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED" ; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5031 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
5032 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
5033 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED"`
5034 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
5035 echo "${ECHO_T}$GLIB_CFLAGS" >&6
5037 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
5038 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
5039 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED"`
5040 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
5041 echo "${ECHO_T}$GLIB_LIBS" >&6
5045 ## If we have a custom action on failure, don't print errors, but
5046 ## do set a variable so people can do so.
5047 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
5048 echo $GLIB_PKG_ERRORS
5054 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
5055 echo "*** See http://www.freedesktop.org/software/pkgconfig"
5059 if test $succeeded = yes; then
5062 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
5063 echo "$as_me: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
5064 { (exit 1); exit 1; }; }
5077 ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
5078 cat >confcache <<\_ACEOF
5079 # This file is a shell script that caches the results of configure
5080 # tests run on this system so they can be shared between configure
5081 # scripts and configure runs, see configure's option --config-cache.
5082 # It is not useful on other systems. If it contains results you don't
5083 # want to keep, you may remove or edit it.
5085 # config.status only pays attention to the cache file if you give it
5086 # the --recheck option to rerun configure.
5088 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5089 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5094 # The following way of writing the cache mishandles newlines in values,
5095 # but we know of no workaround that is simple, portable, and efficient.
5096 # So, don't put newlines in cache variables' values.
5097 # Ultrix sh set writes to stderr and can't be redirected directly,
5098 # and sets the high bit in the cache file unless we assign to the vars.
5101 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5103 # `set' does not quote correctly, so add quotes (double-quote
5104 # substitution turns \\\\ into \\, and sed turns \\ into \).
5107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5110 # `set' quotes correctly as required by POSIX, so do not add quotes.
5112 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5119 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5121 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5123 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5124 if test -w $cache_file; then
5125 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5126 cat confcache >$cache_file
5128 echo "not updating unwritable cache $cache_file"
5133 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5134 # Let make expand exec_prefix.
5135 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5137 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5138 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5139 # trailing colons and then remove the whole line if VPATH becomes empty
5140 # (actually we leave an empty line to preserve line numbers).
5141 if test "x$srcdir" = x.; then
5142 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5143 s/:*\$(srcdir):*/:/;
5144 s/:*\${srcdir}:*/:/;
5146 s/^\([^=]*=[ ]*\):*/\1/;
5152 DEFS=-DHAVE_CONFIG_H
5156 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5157 # 1. Remove the extension, and $U if already installed.
5158 ac_i=`echo "$ac_i" |
5159 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5161 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5162 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5166 LTLIBOBJS=$ac_ltlibobjs
5169 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5170 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5171 Usually this means the macro was only invoked conditionally." >&5
5172 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5173 Usually this means the macro was only invoked conditionally." >&2;}
5174 { (exit 1); exit 1; }; }
5176 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5177 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5178 Usually this means the macro was only invoked conditionally." >&5
5179 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5180 Usually this means the macro was only invoked conditionally." >&2;}
5181 { (exit 1); exit 1; }; }
5183 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5184 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5185 Usually this means the macro was only invoked conditionally." >&5
5186 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5187 Usually this means the macro was only invoked conditionally." >&2;}
5188 { (exit 1); exit 1; }; }
5190 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5191 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5192 Usually this means the macro was only invoked conditionally." >&5
5193 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5194 Usually this means the macro was only invoked conditionally." >&2;}
5195 { (exit 1); exit 1; }; }
5198 : ${CONFIG_STATUS=./config.status}
5199 ac_clean_files_save=$ac_clean_files
5200 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5201 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5202 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5203 cat >$CONFIG_STATUS <<_ACEOF
5205 # Generated by $as_me.
5206 # Run this file to recreate the current configuration.
5207 # Compiler output produced by configure, useful for debugging
5208 # configure, is in config.log if it exists.
5213 SHELL=\${CONFIG_SHELL-$SHELL}
5216 cat >>$CONFIG_STATUS <<\_ACEOF
5217 ## --------------------- ##
5218 ## M4sh Initialization. ##
5219 ## --------------------- ##
5221 # Be Bourne compatible
5222 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5225 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5226 # is contrary to our usage. Disable this feature.
5227 alias -g '${1+"$@"}'='"$@"'
5228 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5231 DUALCASE=1; export DUALCASE # for MKS sh
5233 # Support unset when possible.
5234 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5241 # Work around bugs in pre-3.0 UWIN ksh.
5242 $as_unset ENV MAIL MAILPATH
5249 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5250 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5251 LC_TELEPHONE LC_TIME
5253 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5254 eval $as_var=C; export $as_var
5260 # Required to use basename.
5261 if expr a : '\(a\)' >/dev/null 2>&1; then
5267 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5268 as_basename=basename
5274 # Name of the executable.
5275 as_me=`$as_basename "$0" ||
5276 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5277 X"$0" : 'X\(//\)$' \| \
5278 X"$0" : 'X\(/\)$' \| \
5279 . : '\(.\)' 2>/dev/null ||
5281 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5282 /^X\/\(\/\/\)$/{ s//\1/; q; }
5283 /^X\/\(\/\).*/{ s//\1/; q; }
5287 # PATH needs CR, and LINENO needs CR and PATH.
5288 # Avoid depending upon Character Ranges.
5289 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5290 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5291 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5292 as_cr_digits='0123456789'
5293 as_cr_alnum=$as_cr_Letters$as_cr_digits
5295 # The user is always right.
5296 if test "${PATH_SEPARATOR+set}" != set; then
5297 echo "#! /bin/sh" >conf$$.sh
5298 echo "exit 0" >>conf$$.sh
5300 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5311 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5312 test "x$as_lineno_1" != "x$as_lineno_2" &&
5313 test "x$as_lineno_3" = "x$as_lineno_2" || {
5314 # Find who we are. Look in the path if we contain no path at all
5317 *[\\/]* ) as_myself=$0 ;;
5318 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir=.
5323 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5328 # We did not find ourselves, most probably we were run as `sh COMMAND'
5329 # in which case we are not to be found in the path.
5330 if test "x$as_myself" = x; then
5333 if test ! -f "$as_myself"; then
5334 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5335 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5336 { (exit 1); exit 1; }; }
5338 case $CONFIG_SHELL in
5340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5341 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5344 test -z "$as_dir" && as_dir=.
5345 for as_base in sh bash ksh sh5; do
5348 if ("$as_dir/$as_base" -c '
5351 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5352 test "x$as_lineno_1" != "x$as_lineno_2" &&
5353 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5354 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5355 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5356 CONFIG_SHELL=$as_dir/$as_base
5358 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5366 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5367 # uniformly replaced by the line number. The first 'sed' inserts a
5368 # line-number line before each line; the second 'sed' does the real
5369 # work. The second script uses 'N' to pair each line-number line
5370 # with the numbered line, and appends trailing '-' during
5371 # substitution so that $LINENO is not a special case at line end.
5372 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5373 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5374 sed '=' <$as_myself |
5379 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5382 s,^['$as_cr_digits']*\n,,
5384 chmod +x $as_me.lineno ||
5385 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5386 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5387 { (exit 1); exit 1; }; }
5389 # Don't try to exec as it changes $[0], causing all sort of problems
5390 # (the dirname of $[0] is not the place where we might find the
5391 # original and so on. Autoconf is especially sensible to this).
5393 # Exit status is that of the last command.
5398 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5399 *c*,-n*) ECHO_N= ECHO_C='
5401 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5402 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5405 if expr a : '\(a\)' >/dev/null 2>&1; then
5411 rm -f conf$$ conf$$.exe conf$$.file
5413 if ln -s conf$$.file conf$$ 2>/dev/null; then
5414 # We could just check for DJGPP; but this test a) works b) is more generic
5415 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5416 if test -f conf$$.exe; then
5417 # Don't use ln at all; we don't have any links
5422 elif ln conf$$.file conf$$ 2>/dev/null; then
5427 rm -f conf$$ conf$$.exe conf$$.file
5429 if mkdir -p . 2>/dev/null; then
5432 test -d ./-p && rmdir ./-p
5436 as_executable_p="test -f"
5438 # Sed expression to map a string onto a valid CPP name.
5439 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5441 # Sed expression to map a string onto a valid variable name.
5442 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5446 # We need space, tab and new line, in precisely that order.
5456 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5457 # report actual input values of CONFIG_FILES etc. instead of their
5458 # values after options handling. Logging --version etc. is OK.
5462 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5463 ## Running $as_me. ##
5468 This file was extended by $as_me, which was
5469 generated by GNU Autoconf 2.59. Invocation command line was
5471 CONFIG_FILES = $CONFIG_FILES
5472 CONFIG_HEADERS = $CONFIG_HEADERS
5473 CONFIG_LINKS = $CONFIG_LINKS
5474 CONFIG_COMMANDS = $CONFIG_COMMANDS
5478 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5482 # Files that config.status was made for.
5483 if test -n "$ac_config_files"; then
5484 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5487 if test -n "$ac_config_headers"; then
5488 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5491 if test -n "$ac_config_links"; then
5492 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5495 if test -n "$ac_config_commands"; then
5496 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5499 cat >>$CONFIG_STATUS <<\_ACEOF
5502 \`$as_me' instantiates files from templates according to the
5503 current configuration.
5505 Usage: $0 [OPTIONS] [FILE]...
5507 -h, --help print this help, then exit
5508 -V, --version print version number, then exit
5509 -q, --quiet do not print progress messages
5510 -d, --debug don't remove temporary files
5511 --recheck update $as_me by reconfiguring in the same conditions
5512 --file=FILE[:TEMPLATE]
5513 instantiate the configuration file FILE
5514 --header=FILE[:TEMPLATE]
5515 instantiate the configuration header FILE
5517 Configuration files:
5520 Configuration headers:
5523 Configuration commands:
5526 Report bugs to <bug-autoconf@gnu.org>."
5529 cat >>$CONFIG_STATUS <<_ACEOF
5532 configured by $0, generated by GNU Autoconf 2.59,
5533 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5535 Copyright (C) 2003 Free Software Foundation, Inc.
5536 This config.status script is free software; the Free Software Foundation
5537 gives unlimited permission to copy, distribute and modify it."
5542 cat >>$CONFIG_STATUS <<\_ACEOF
5543 # If no file are specified by the user, then we need to provide default
5544 # value. By we need to know if files were specified by the user.
5550 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5551 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5559 *) # This is not an option, so the user has probably given explicit
5562 ac_need_defaults=false;;
5566 # Handling of the options.
5568 cat >>$CONFIG_STATUS <<\_ACEOF
5569 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5571 --version | --vers* | -V )
5572 echo "$ac_cs_version"; exit 0 ;;
5574 # Conflict between --help and --header
5575 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5576 Try \`$0 --help' for more information." >&5
5577 echo "$as_me: error: ambiguous option: $1
5578 Try \`$0 --help' for more information." >&2;}
5579 { (exit 1); exit 1; }; };;
5580 --help | --hel | -h )
5581 echo "$ac_cs_usage"; exit 0 ;;
5582 --debug | --d* | -d )
5584 --file | --fil | --fi | --f )
5586 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5587 ac_need_defaults=false;;
5588 --header | --heade | --head | --hea )
5590 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5591 ac_need_defaults=false;;
5592 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5593 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5597 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5598 Try \`$0 --help' for more information." >&5
5599 echo "$as_me: error: unrecognized option: $1
5600 Try \`$0 --help' for more information." >&2;}
5601 { (exit 1); exit 1; }; } ;;
5603 *) ac_config_targets="$ac_config_targets $1" ;;
5609 ac_configure_extra_args=
5611 if $ac_cs_silent; then
5613 ac_configure_extra_args="$ac_configure_extra_args --silent"
5617 cat >>$CONFIG_STATUS <<_ACEOF
5618 if \$ac_cs_recheck; then
5619 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5620 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5625 cat >>$CONFIG_STATUS <<_ACEOF
5627 # INIT-COMMANDS section.
5630 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5636 cat >>$CONFIG_STATUS <<\_ACEOF
5637 for ac_config_target in $ac_config_targets
5639 case "$ac_config_target" in
5640 # Handling of arguments.
5641 "gob2.spec" ) CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
5642 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5643 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5644 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5645 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
5646 "doc/gob2.1" ) CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
5647 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5648 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5649 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5650 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5651 { (exit 1); exit 1; }; };;
5655 # If the user did not use the arguments to specify the items to instantiate,
5656 # then the envvar interface is used. Set only those that are not.
5657 # We use the long form for the default assignment because of an extremely
5658 # bizarre bug on SunOS 4.1.3.
5659 if $ac_need_defaults; then
5660 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5661 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5662 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5665 # Have a temporary directory for convenience. Make it in the build tree
5666 # simply because there is no reason to put it here, and in addition,
5667 # creating and moving files from /tmp can sometimes cause problems.
5668 # Create a temporary directory, and hook for its removal unless debugging.
5671 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5672 trap '{ (exit 1); exit 1; }' 1 2 13 15
5675 # Create a (secure) tmp directory for tmp files.
5678 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5679 test -n "$tmp" && test -d "$tmp"
5682 tmp=./confstat$$-$RANDOM
5683 (umask 077 && mkdir $tmp)
5686 echo "$me: cannot create a temporary directory in ." >&2
5687 { (exit 1); exit 1; }
5692 cat >>$CONFIG_STATUS <<_ACEOF
5695 # CONFIG_FILES section.
5698 # No need to generate the scripts if there are no CONFIG_FILES.
5699 # This happens for instance when ./config.status config.h
5700 if test -n "\$CONFIG_FILES"; then
5701 # Protect against being on the right side of a sed subst in config.status.
5702 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5703 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5704 s,@SHELL@,$SHELL,;t t
5705 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5706 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5707 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5708 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5709 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5710 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5711 s,@exec_prefix@,$exec_prefix,;t t
5712 s,@prefix@,$prefix,;t t
5713 s,@program_transform_name@,$program_transform_name,;t t
5714 s,@bindir@,$bindir,;t t
5715 s,@sbindir@,$sbindir,;t t
5716 s,@libexecdir@,$libexecdir,;t t
5717 s,@datadir@,$datadir,;t t
5718 s,@sysconfdir@,$sysconfdir,;t t
5719 s,@sharedstatedir@,$sharedstatedir,;t t
5720 s,@localstatedir@,$localstatedir,;t t
5721 s,@libdir@,$libdir,;t t
5722 s,@includedir@,$includedir,;t t
5723 s,@oldincludedir@,$oldincludedir,;t t
5724 s,@infodir@,$infodir,;t t
5725 s,@mandir@,$mandir,;t t
5726 s,@build_alias@,$build_alias,;t t
5727 s,@host_alias@,$host_alias,;t t
5728 s,@target_alias@,$target_alias,;t t
5730 s,@ECHO_C@,$ECHO_C,;t t
5731 s,@ECHO_N@,$ECHO_N,;t t
5732 s,@ECHO_T@,$ECHO_T,;t t
5734 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5735 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5736 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5737 s,@CYGPATH_W@,$CYGPATH_W,;t t
5738 s,@PACKAGE@,$PACKAGE,;t t
5739 s,@VERSION@,$VERSION,;t t
5740 s,@ACLOCAL@,$ACLOCAL,;t t
5741 s,@AUTOCONF@,$AUTOCONF,;t t
5742 s,@AUTOMAKE@,$AUTOMAKE,;t t
5743 s,@AUTOHEADER@,$AUTOHEADER,;t t
5744 s,@MAKEINFO@,$MAKEINFO,;t t
5745 s,@AMTAR@,$AMTAR,;t t
5746 s,@install_sh@,$install_sh,;t t
5747 s,@STRIP@,$STRIP,;t t
5748 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5749 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5750 s,@mkdir_p@,$mkdir_p,;t t
5752 s,@SET_MAKE@,$SET_MAKE,;t t
5753 s,@am__leading_dot@,$am__leading_dot,;t t
5754 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5755 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5756 s,@MAINT@,$MAINT,;t t
5757 s,@SUBDIRS@,$SUBDIRS,;t t
5758 s,@DOINSTGOB@,$DOINSTGOB,;t t
5759 s,@NOINSTGOB@,$NOINSTGOB,;t t
5761 s,@CFLAGS@,$CFLAGS,;t t
5762 s,@LDFLAGS@,$LDFLAGS,;t t
5763 s,@CPPFLAGS@,$CPPFLAGS,;t t
5764 s,@ac_ct_CC@,$ac_ct_CC,;t t
5765 s,@EXEEXT@,$EXEEXT,;t t
5766 s,@OBJEXT@,$OBJEXT,;t t
5767 s,@DEPDIR@,$DEPDIR,;t t
5768 s,@am__include@,$am__include,;t t
5769 s,@am__quote@,$am__quote,;t t
5770 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5771 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5772 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5773 s,@CCDEPMODE@,$CCDEPMODE,;t t
5774 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5775 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5777 s,@EGREP@,$EGREP,;t t
5780 s,@LEXLIB@,$LEXLIB,;t t
5781 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
5785 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5786 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
5787 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
5788 s,@YFLAGS@,$YFLAGS,;t t
5789 s,@LIBOBJS@,$LIBOBJS,;t t
5790 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5795 cat >>$CONFIG_STATUS <<\_ACEOF
5796 # Split the substitutions into bite-sized pieces for seds with
5797 # small command number limits, like on Digital OSF/1 and HP-UX.
5799 ac_sed_frag=1 # Number of current file.
5800 ac_beg=1 # First line for current file.
5801 ac_end=$ac_max_sed_lines # Line after last line for current file.
5804 while $ac_more_lines; do
5805 if test $ac_beg -gt 1; then
5806 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5808 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5810 if test ! -s $tmp/subs.frag; then
5813 # The purpose of the label and of the branching condition is to
5814 # speed up the sed processing (if there are no `@' at all, there
5815 # is no need to browse any of the substitutions).
5816 # These are the two extra sed commands mentioned above.
5818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5819 if test -z "$ac_sed_cmds"; then
5820 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5822 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5824 ac_sed_frag=`expr $ac_sed_frag + 1`
5826 ac_end=`expr $ac_end + $ac_max_sed_lines`
5829 if test -z "$ac_sed_cmds"; then
5832 fi # test -n "$CONFIG_FILES"
5835 cat >>$CONFIG_STATUS <<\_ACEOF
5836 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5837 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5839 - | *:- | *:-:* ) # input from stdin
5841 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5842 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5843 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5844 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5845 * ) ac_file_in=$ac_file.in ;;
5848 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5849 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5850 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5851 X"$ac_file" : 'X\(//\)[^/]' \| \
5852 X"$ac_file" : 'X\(//\)$' \| \
5853 X"$ac_file" : 'X\(/\)' \| \
5854 . : '\(.\)' 2>/dev/null ||
5856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5857 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5858 /^X\(\/\/\)$/{ s//\1/; q; }
5859 /^X\(\/\).*/{ s//\1/; q; }
5861 { if $as_mkdir_p; then
5866 while test ! -d "$as_dir"; do
5867 as_dirs="$as_dir $as_dirs"
5868 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5870 X"$as_dir" : 'X\(//\)[^/]' \| \
5871 X"$as_dir" : 'X\(//\)$' \| \
5872 X"$as_dir" : 'X\(/\)' \| \
5873 . : '\(.\)' 2>/dev/null ||
5875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5876 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5877 /^X\(\/\/\)$/{ s//\1/; q; }
5878 /^X\(\/\).*/{ s//\1/; q; }
5881 test ! -n "$as_dirs" || mkdir $as_dirs
5882 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5883 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5884 { (exit 1); exit 1; }; }; }
5888 if test "$ac_dir" != .; then
5889 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5890 # A "../" for each directory in $ac_dir_suffix.
5891 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5893 ac_dir_suffix= ac_top_builddir=
5897 .) # No --srcdir option. We are building in place.
5899 if test -z "$ac_top_builddir"; then
5902 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5904 [\\/]* | ?:[\\/]* ) # Absolute path.
5905 ac_srcdir=$srcdir$ac_dir_suffix;
5906 ac_top_srcdir=$srcdir ;;
5908 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5909 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5912 # Do not use `cd foo && pwd` to compute absolute paths, because
5913 # the directories may not exist.
5915 .) ac_abs_builddir="$ac_dir";;
5918 .) ac_abs_builddir=`pwd`;;
5919 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5920 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5923 case $ac_abs_builddir in
5924 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5926 case ${ac_top_builddir}. in
5927 .) ac_abs_top_builddir=$ac_abs_builddir;;
5928 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5929 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5932 case $ac_abs_builddir in
5933 .) ac_abs_srcdir=$ac_srcdir;;
5936 .) ac_abs_srcdir=$ac_abs_builddir;;
5937 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5938 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5941 case $ac_abs_builddir in
5942 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5944 case $ac_top_srcdir in
5945 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5946 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5947 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5953 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5954 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5957 if test x"$ac_file" != x-; then
5958 { echo "$as_me:$LINENO: creating $ac_file" >&5
5959 echo "$as_me: creating $ac_file" >&6;}
5962 # Let's still pretend it is `configure' which instantiates (i.e., don't
5963 # use $as_me), people would be surprised to read:
5964 # /* config.h. Generated by config.status. */
5965 if test x"$ac_file" = x-; then
5968 configure_input="$ac_file. "
5970 configure_input=$configure_input"Generated from `echo $ac_file_in |
5971 sed 's,.*/,,'` by configure."
5973 # First look for the input files in the build tree, otherwise in the
5975 ac_file_inputs=`IFS=:
5976 for f in $ac_file_in; do
5978 -) echo $tmp/stdin ;;
5980 # Absolute (can't be DOS-style, as IFS=:)
5981 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5982 echo "$as_me: error: cannot find input file: $f" >&2;}
5983 { (exit 1); exit 1; }; }
5986 if test -f "$f"; then
5989 elif test -f "$srcdir/$f"; then
5994 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5995 echo "$as_me: error: cannot find input file: $f" >&2;}
5996 { (exit 1); exit 1; }; }
5999 done` || { (exit 1); exit 1; }
6001 cat >>$CONFIG_STATUS <<_ACEOF
6005 cat >>$CONFIG_STATUS <<\_ACEOF
6007 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6008 s,@configure_input@,$configure_input,;t t
6009 s,@srcdir@,$ac_srcdir,;t t
6010 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6011 s,@top_srcdir@,$ac_top_srcdir,;t t
6012 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6013 s,@builddir@,$ac_builddir,;t t
6014 s,@abs_builddir@,$ac_abs_builddir,;t t
6015 s,@top_builddir@,$ac_top_builddir,;t t
6016 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6017 s,@INSTALL@,$ac_INSTALL,;t t
6018 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6020 if test x"$ac_file" != x-; then
6021 mv $tmp/out $ac_file
6029 cat >>$CONFIG_STATUS <<\_ACEOF
6032 # CONFIG_HEADER section.
6035 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6036 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6038 # ac_d sets the value in "#define NAME VALUE" lines.
6039 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6040 ac_dB='[ ].*$,\1#\2'
6043 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6044 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6045 ac_uB='$,\1#\2define\3'
6049 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6050 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6052 - | *:- | *:-:* ) # input from stdin
6054 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6055 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6056 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6057 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6058 * ) ac_file_in=$ac_file.in ;;
6061 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6062 echo "$as_me: creating $ac_file" >&6;}
6064 # First look for the input files in the build tree, otherwise in the
6066 ac_file_inputs=`IFS=:
6067 for f in $ac_file_in; do
6069 -) echo $tmp/stdin ;;
6071 # Absolute (can't be DOS-style, as IFS=:)
6072 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6073 echo "$as_me: error: cannot find input file: $f" >&2;}
6074 { (exit 1); exit 1; }; }
6075 # Do quote $f, to prevent DOS paths from being IFS'd.
6078 if test -f "$f"; then
6081 elif test -f "$srcdir/$f"; then
6086 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6087 echo "$as_me: error: cannot find input file: $f" >&2;}
6088 { (exit 1); exit 1; }; }
6091 done` || { (exit 1); exit 1; }
6092 # Remove the trailing spaces.
6093 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6097 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6098 # `conftest.undefs', that substitutes the proper values into
6099 # config.h.in to produce config.h. The first handles `#define'
6100 # templates, and the second `#undef' templates.
6101 # And first: Protect against being on the right side of a sed subst in
6102 # config.status. Protect against being in an unquoted here document
6104 rm -f conftest.defines conftest.undefs
6105 # Using a here document instead of a string reduces the quoting nightmare.
6106 # Putting comments in sed scripts is not portable.
6108 # `end' is used to avoid that the second main sed command (meant for
6109 # 0-ary CPP macros) applies to n-ary macro definitions.
6110 # See the Autoconf documentation for `clear'.
6111 cat >confdef2sed.sed <<\_ACEOF
6116 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6118 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6121 # If some macros were called several times there might be several times
6122 # the same #defines, which is useless. Nevertheless, we may not want to
6123 # sort them, since we want the *last* AC-DEFINE to be honored.
6124 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6125 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6126 rm -f confdef2sed.sed
6128 # This sed command replaces #undef with comments. This is necessary, for
6129 # example, in the case of _POSIX_SOURCE, which is predefined and required
6130 # on some systems where configure will not decide to define it.
6131 cat >>conftest.undefs <<\_ACEOF
6132 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6135 # Break up conftest.defines because some shells have a limit on the size
6136 # of here documents, and old seds have small limits too (100 cmds).
6137 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6138 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6139 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6140 echo ' :' >>$CONFIG_STATUS
6142 while grep . conftest.defines >/dev/null
6144 # Write a limited-size here document to $tmp/defines.sed.
6145 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6146 # Speed up: don't consider the non `#define' lines.
6147 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6148 # Work around the forget-to-reset-the-flag bug.
6149 echo 't clr' >>$CONFIG_STATUS
6150 echo ': clr' >>$CONFIG_STATUS
6151 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6153 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6157 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6158 rm -f conftest.defines
6159 mv conftest.tail conftest.defines
6161 rm -f conftest.defines
6162 echo ' fi # grep' >>$CONFIG_STATUS
6163 echo >>$CONFIG_STATUS
6165 # Break up conftest.undefs because some shells have a limit on the size
6166 # of here documents, and old seds have small limits too (100 cmds).
6167 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6169 while grep . conftest.undefs >/dev/null
6171 # Write a limited-size here document to $tmp/undefs.sed.
6172 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6173 # Speed up: don't consider the non `#undef'
6174 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6175 # Work around the forget-to-reset-the-flag bug.
6176 echo 't clr' >>$CONFIG_STATUS
6177 echo ': clr' >>$CONFIG_STATUS
6178 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6180 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6184 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6185 rm -f conftest.undefs
6186 mv conftest.tail conftest.undefs
6188 rm -f conftest.undefs
6190 cat >>$CONFIG_STATUS <<\_ACEOF
6191 # Let's still pretend it is `configure' which instantiates (i.e., don't
6192 # use $as_me), people would be surprised to read:
6193 # /* config.h. Generated by config.status. */
6194 if test x"$ac_file" = x-; then
6195 echo "/* Generated by configure. */" >$tmp/config.h
6197 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6199 cat $tmp/in >>$tmp/config.h
6201 if test x"$ac_file" != x-; then
6202 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6203 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6204 echo "$as_me: $ac_file is unchanged" >&6;}
6206 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6207 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6208 X"$ac_file" : 'X\(//\)[^/]' \| \
6209 X"$ac_file" : 'X\(//\)$' \| \
6210 X"$ac_file" : 'X\(/\)' \| \
6211 . : '\(.\)' 2>/dev/null ||
6213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6214 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6215 /^X\(\/\/\)$/{ s//\1/; q; }
6216 /^X\(\/\).*/{ s//\1/; q; }
6218 { if $as_mkdir_p; then
6223 while test ! -d "$as_dir"; do
6224 as_dirs="$as_dir $as_dirs"
6225 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6226 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6227 X"$as_dir" : 'X\(//\)[^/]' \| \
6228 X"$as_dir" : 'X\(//\)$' \| \
6229 X"$as_dir" : 'X\(/\)' \| \
6230 . : '\(.\)' 2>/dev/null ||
6232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6233 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6234 /^X\(\/\/\)$/{ s//\1/; q; }
6235 /^X\(\/\).*/{ s//\1/; q; }
6238 test ! -n "$as_dirs" || mkdir $as_dirs
6239 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6240 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6241 { (exit 1); exit 1; }; }; }
6244 mv $tmp/config.h $ac_file
6250 # Compute $ac_file's index in $config_headers.
6252 for _am_header in $config_headers :; do
6254 $ac_file | $ac_file:* )
6257 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6260 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6261 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6262 X$ac_file : 'X\(//\)[^/]' \| \
6263 X$ac_file : 'X\(//\)$' \| \
6264 X$ac_file : 'X\(/\)' \| \
6265 . : '\(.\)' 2>/dev/null ||
6267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6268 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6269 /^X\(\/\/\)$/{ s//\1/; q; }
6270 /^X\(\/\).*/{ s//\1/; q; }
6271 s/.*/./; q'`/stamp-h$_am_stamp_count
6274 cat >>$CONFIG_STATUS <<\_ACEOF
6277 # CONFIG_COMMANDS section.
6279 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6280 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6281 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6282 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6283 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6284 X"$ac_dest" : 'X\(//\)[^/]' \| \
6285 X"$ac_dest" : 'X\(//\)$' \| \
6286 X"$ac_dest" : 'X\(/\)' \| \
6287 . : '\(.\)' 2>/dev/null ||
6289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6290 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6291 /^X\(\/\/\)$/{ s//\1/; q; }
6292 /^X\(\/\).*/{ s//\1/; q; }
6294 { if $as_mkdir_p; then
6299 while test ! -d "$as_dir"; do
6300 as_dirs="$as_dir $as_dirs"
6301 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6303 X"$as_dir" : 'X\(//\)[^/]' \| \
6304 X"$as_dir" : 'X\(//\)$' \| \
6305 X"$as_dir" : 'X\(/\)' \| \
6306 . : '\(.\)' 2>/dev/null ||
6308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6309 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6310 /^X\(\/\/\)$/{ s//\1/; q; }
6311 /^X\(\/\).*/{ s//\1/; q; }
6314 test ! -n "$as_dirs" || mkdir $as_dirs
6315 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6316 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6317 { (exit 1); exit 1; }; }; }
6321 if test "$ac_dir" != .; then
6322 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6323 # A "../" for each directory in $ac_dir_suffix.
6324 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6326 ac_dir_suffix= ac_top_builddir=
6330 .) # No --srcdir option. We are building in place.
6332 if test -z "$ac_top_builddir"; then
6335 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6337 [\\/]* | ?:[\\/]* ) # Absolute path.
6338 ac_srcdir=$srcdir$ac_dir_suffix;
6339 ac_top_srcdir=$srcdir ;;
6341 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6342 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6345 # Do not use `cd foo && pwd` to compute absolute paths, because
6346 # the directories may not exist.
6348 .) ac_abs_builddir="$ac_dir";;
6351 .) ac_abs_builddir=`pwd`;;
6352 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6353 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6356 case $ac_abs_builddir in
6357 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6359 case ${ac_top_builddir}. in
6360 .) ac_abs_top_builddir=$ac_abs_builddir;;
6361 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6362 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6365 case $ac_abs_builddir in
6366 .) ac_abs_srcdir=$ac_srcdir;;
6369 .) ac_abs_srcdir=$ac_abs_builddir;;
6370 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6371 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6374 case $ac_abs_builddir in
6375 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6377 case $ac_top_srcdir in
6378 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6379 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6380 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6385 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6386 echo "$as_me: executing $ac_dest commands" >&6;}
6388 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6389 # Strip MF so we end up with the name of the file.
6390 mf=`echo "$mf" | sed -e 's/:.*$//'`
6391 # Check whether this is an Automake generated Makefile or not.
6392 # We used to match only the files named `Makefile.in', but
6393 # some people rename them; so instead we look at the file content.
6394 # Grep'ing the first line is not enough: some people post-process
6395 # each Makefile.in and add a new line on top of each file to say so.
6396 # So let's grep whole file.
6397 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6398 dirpart=`(dirname "$mf") 2>/dev/null ||
6399 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6400 X"$mf" : 'X\(//\)[^/]' \| \
6401 X"$mf" : 'X\(//\)$' \| \
6402 X"$mf" : 'X\(/\)' \| \
6403 . : '\(.\)' 2>/dev/null ||
6405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6406 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6407 /^X\(\/\/\)$/{ s//\1/; q; }
6408 /^X\(\/\).*/{ s//\1/; q; }
6413 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6414 # Extract the definition of DEP_FILES from the Makefile without
6416 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6417 test -z "$DEPDIR" && continue
6418 # When using ansi2knr, U may be empty or an underscore; expand it
6419 U=`sed -n 's/^U = //p' < "$mf"`
6420 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6421 # We invoke sed twice because it is the simplest approach to
6422 # changing $(DEPDIR) to its actual value in the expansion.
6423 for file in `sed -n '
6424 /^DEP_FILES = .*\\\\$/ {
6433 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6434 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6435 # Make sure the directory exists.
6436 test -f "$dirpart/$file" && continue
6437 fdir=`(dirname "$file") 2>/dev/null ||
6438 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6439 X"$file" : 'X\(//\)[^/]' \| \
6440 X"$file" : 'X\(//\)$' \| \
6441 X"$file" : 'X\(/\)' \| \
6442 . : '\(.\)' 2>/dev/null ||
6444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6445 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6446 /^X\(\/\/\)$/{ s//\1/; q; }
6447 /^X\(\/\).*/{ s//\1/; q; }
6449 { if $as_mkdir_p; then
6450 mkdir -p $dirpart/$fdir
6452 as_dir=$dirpart/$fdir
6454 while test ! -d "$as_dir"; do
6455 as_dirs="$as_dir $as_dirs"
6456 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6457 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6458 X"$as_dir" : 'X\(//\)[^/]' \| \
6459 X"$as_dir" : 'X\(//\)$' \| \
6460 X"$as_dir" : 'X\(/\)' \| \
6461 . : '\(.\)' 2>/dev/null ||
6463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6464 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6465 /^X\(\/\/\)$/{ s//\1/; q; }
6466 /^X\(\/\).*/{ s//\1/; q; }
6469 test ! -n "$as_dirs" || mkdir $as_dirs
6470 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6471 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6472 { (exit 1); exit 1; }; }; }
6474 # echo "creating $dirpart/$file"
6475 echo '# dummy' > "$dirpart/$file"
6483 cat >>$CONFIG_STATUS <<\_ACEOF
6485 { (exit 0); exit 0; }
6487 chmod +x $CONFIG_STATUS
6488 ac_clean_files=$ac_clean_files_save
6491 # configure is writing to config.log, and then calls config.status.
6492 # config.status does its own redirection, appending to config.log.
6493 # Unfortunately, on DOS this fails, as config.log is still kept open
6494 # by configure, so config.status won't be able to write to it; its
6495 # output is simply discarded. So we exec the FD to /dev/null,
6496 # effectively closing config.log, so it can be properly (re)opened and
6497 # appended to by config.status. When coming back to configure, we
6498 # need to make the FD available again.
6499 if test "$no_create" != yes; then
6501 ac_config_status_args=
6502 test "$silent" = yes &&
6503 ac_config_status_args="$ac_config_status_args --quiet"
6505 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6507 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6508 # would make configure fail if this is the last instruction.
6509 $ac_cs_success || { (exit 1); exit 1; }