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 NOINSTGOB_TRUE NOINSTGOB_FALSE SUBDIRS 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
1720 if test -f ../NOINST_GOB; then
1729 if test -f ../NOINST_GOB ; then
1730 echo "$as_me:$LINENO: result: *** NOT Going to install GOB ***" >&5
1731 echo "${ECHO_T}*** NOT Going to install GOB ***" >&6
1732 SUBDIRS="src examples"
1734 SUBDIRS="src examples doc"
1738 DEPDIR="${am__leading_dot}deps"
1740 ac_config_commands="$ac_config_commands depfiles"
1743 am_make=${MAKE-make}
1744 cat > confinc << 'END'
1749 # If we don't find an include directive, just comment out the code.
1750 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1751 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1755 # First try GNU make style include.
1756 echo "include confinc" > confmf
1757 # We grep out `Entering directory' and `Leaving directory'
1758 # messages which can occur if `w' ends up in MAKEFLAGS.
1759 # In particular we don't look at `^make:' because GNU make might
1760 # be invoked under some other name (usually "gmake"), in which
1761 # case it prints its new name instead of `make'.
1762 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1767 # Now try BSD make style include.
1768 if test "$am__include" = "#"; then
1769 echo '.include "confinc"' > confmf
1770 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1771 am__include=.include
1778 echo "$as_me:$LINENO: result: $_am_result" >&5
1779 echo "${ECHO_T}$_am_result" >&6
1780 rm -f confinc confmf
1782 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1783 if test "${enable_dependency_tracking+set}" = set; then
1784 enableval="$enable_dependency_tracking"
1787 if test "x$enable_dependency_tracking" != xno; then
1788 am_depcomp="$ac_aux_dir/depcomp"
1793 if test "x$enable_dependency_tracking" != xno; then
1804 ac_cpp='$CPP $CPPFLAGS'
1805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1808 if test -n "$ac_tool_prefix"; then
1809 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1810 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1811 echo "$as_me:$LINENO: checking for $ac_word" >&5
1812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1813 if test "${ac_cv_prog_CC+set}" = set; then
1814 echo $ECHO_N "(cached) $ECHO_C" >&6
1816 if test -n "$CC"; then
1817 ac_cv_prog_CC="$CC" # Let the user override the test.
1819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1823 test -z "$as_dir" && as_dir=.
1824 for ac_exec_ext in '' $ac_executable_extensions; do
1825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1826 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1836 if test -n "$CC"; then
1837 echo "$as_me:$LINENO: result: $CC" >&5
1838 echo "${ECHO_T}$CC" >&6
1840 echo "$as_me:$LINENO: result: no" >&5
1841 echo "${ECHO_T}no" >&6
1845 if test -z "$ac_cv_prog_CC"; then
1847 # Extract the first word of "gcc", so it can be a program name with args.
1848 set dummy gcc; ac_word=$2
1849 echo "$as_me:$LINENO: checking for $ac_word" >&5
1850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 if test -n "$ac_ct_CC"; then
1855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861 test -z "$as_dir" && as_dir=.
1862 for ac_exec_ext in '' $ac_executable_extensions; do
1863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1864 ac_cv_prog_ac_ct_CC="gcc"
1865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1873 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1874 if test -n "$ac_ct_CC"; then
1875 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1876 echo "${ECHO_T}$ac_ct_CC" >&6
1878 echo "$as_me:$LINENO: result: no" >&5
1879 echo "${ECHO_T}no" >&6
1887 if test -z "$CC"; then
1888 if test -n "$ac_tool_prefix"; then
1889 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}cc; ac_word=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_CC+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 if test -n "$CC"; then
1897 ac_cv_prog_CC="$CC" # Let the user override the test.
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906 ac_cv_prog_CC="${ac_tool_prefix}cc"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916 if test -n "$CC"; then
1917 echo "$as_me:$LINENO: result: $CC" >&5
1918 echo "${ECHO_T}$CC" >&6
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1925 if test -z "$ac_cv_prog_CC"; then
1927 # Extract the first word of "cc", so it can be a program name with args.
1928 set dummy cc; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 if test -n "$ac_ct_CC"; then
1935 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_ac_ct_CC="cc"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1954 if test -n "$ac_ct_CC"; then
1955 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1956 echo "${ECHO_T}$ac_ct_CC" >&6
1958 echo "$as_me:$LINENO: result: no" >&5
1959 echo "${ECHO_T}no" >&6
1968 if test -z "$CC"; then
1969 # Extract the first word of "cc", so it can be a program name with args.
1970 set dummy cc; ac_word=$2
1971 echo "$as_me:$LINENO: checking for $ac_word" >&5
1972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1973 if test "${ac_cv_prog_CC+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 if test -n "$CC"; then
1977 ac_cv_prog_CC="$CC" # Let the user override the test.
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984 test -z "$as_dir" && as_dir=.
1985 for ac_exec_ext in '' $ac_executable_extensions; do
1986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1987 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1988 ac_prog_rejected=yes
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1998 if test $ac_prog_rejected = yes; then
1999 # We found a bogon in the path, so make sure we never use it.
2000 set dummy $ac_cv_prog_CC
2002 if test $# != 0; then
2003 # We chose a different compiler from the bogus one.
2004 # However, it has the same basename, so the bogon will be chosen
2005 # first if we set CC to just the basename; use the full file name.
2007 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2013 if test -n "$CC"; then
2014 echo "$as_me:$LINENO: result: $CC" >&5
2015 echo "${ECHO_T}$CC" >&6
2017 echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6
2022 if test -z "$CC"; then
2023 if test -n "$ac_tool_prefix"; then
2026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2027 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2028 echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2030 if test "${ac_cv_prog_CC+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 if test -n "$CC"; then
2034 ac_cv_prog_CC="$CC" # Let the user override the test.
2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 test -z "$as_dir" && as_dir=.
2041 for ac_exec_ext in '' $ac_executable_extensions; do
2042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2043 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053 if test -n "$CC"; then
2054 echo "$as_me:$LINENO: result: $CC" >&5
2055 echo "${ECHO_T}$CC" >&6
2057 echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6
2061 test -n "$CC" && break
2064 if test -z "$CC"; then
2068 # Extract the first word of "$ac_prog", so it can be a program name with args.
2069 set dummy $ac_prog; ac_word=$2
2070 echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 if test -n "$ac_ct_CC"; then
2076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2085 ac_cv_prog_ac_ct_CC="$ac_prog"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2095 if test -n "$ac_ct_CC"; then
2096 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2097 echo "${ECHO_T}$ac_ct_CC" >&6
2099 echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6
2103 test -n "$ac_ct_CC" && break
2112 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2113 See \`config.log' for more details." >&5
2114 echo "$as_me: error: no acceptable C compiler found in \$PATH
2115 See \`config.log' for more details." >&2;}
2116 { (exit 1); exit 1; }; }
2118 # Provide some information about the compiler.
2119 echo "$as_me:$LINENO:" \
2120 "checking for C compiler version" >&5
2121 ac_compiler=`set X $ac_compile; echo $2`
2122 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2123 (eval $ac_compiler --version </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); }
2132 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2133 (eval $ac_compiler -V </dev/null >&5) 2>&5
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }
2138 cat >conftest.$ac_ext <<_ACEOF
2141 cat confdefs.h >>conftest.$ac_ext
2142 cat >>conftest.$ac_ext <<_ACEOF
2143 /* end confdefs.h. */
2153 ac_clean_files_save=$ac_clean_files
2154 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2155 # Try to create an executable without -o first, disregard a.out.
2156 # It will help us diagnose broken compilers, and finding out an intuition
2158 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2159 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2160 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2161 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2162 (eval $ac_link_default) 2>&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); }; then
2166 # Find the output, starting from the most likely. This scheme is
2167 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2170 # Be careful to initialize this variable, since it used to be cached.
2171 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2173 # b.out is created by i960 compilers.
2174 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2176 test -f "$ac_file" || continue
2178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2181 # This is the source file.
2184 # We found the default executable, but exeext='' is most
2188 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2189 # FIXME: I believe we export ac_cv_exeext for Libtool,
2190 # but it would be cool to find out if it's true. Does anybody
2191 # maintain Libtool? --akim.
2199 echo "$as_me: failed program was:" >&5
2200 sed 's/^/| /' conftest.$ac_ext >&5
2202 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2203 See \`config.log' for more details." >&5
2204 echo "$as_me: error: C compiler cannot create executables
2205 See \`config.log' for more details." >&2;}
2206 { (exit 77); exit 77; }; }
2209 ac_exeext=$ac_cv_exeext
2210 echo "$as_me:$LINENO: result: $ac_file" >&5
2211 echo "${ECHO_T}$ac_file" >&6
2213 # Check the compiler produces executables we can run. If not, either
2214 # the compiler is broken, or we cross compile.
2215 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2216 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2217 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2218 # If not cross compiling, check that we can run a simple program.
2219 if test "$cross_compiling" != yes; then
2220 if { ac_try='./$ac_file'
2221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; }; then
2228 if test "$cross_compiling" = maybe; then
2231 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2232 If you meant to cross compile, use \`--host'.
2233 See \`config.log' for more details." >&5
2234 echo "$as_me: error: cannot run C compiled programs.
2235 If you meant to cross compile, use \`--host'.
2236 See \`config.log' for more details." >&2;}
2237 { (exit 1); exit 1; }; }
2241 echo "$as_me:$LINENO: result: yes" >&5
2242 echo "${ECHO_T}yes" >&6
2244 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2245 ac_clean_files=$ac_clean_files_save
2246 # Check the compiler produces executables we can run. If not, either
2247 # the compiler is broken, or we cross compile.
2248 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2249 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2250 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2251 echo "${ECHO_T}$cross_compiling" >&6
2253 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2254 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2256 (eval $ac_link) 2>&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; then
2260 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2261 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2262 # work properly (i.e., refer to `conftest.exe'), while it won't with
2264 for ac_file in conftest.exe conftest conftest.*; do
2265 test -f "$ac_file" || continue
2267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2268 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2275 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2276 See \`config.log' for more details." >&5
2277 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2278 See \`config.log' for more details." >&2;}
2279 { (exit 1); exit 1; }; }
2282 rm -f conftest$ac_cv_exeext
2283 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2284 echo "${ECHO_T}$ac_cv_exeext" >&6
2286 rm -f conftest.$ac_ext
2287 EXEEXT=$ac_cv_exeext
2289 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2290 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2291 if test "${ac_cv_objext+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2294 cat >conftest.$ac_ext <<_ACEOF
2297 cat confdefs.h >>conftest.$ac_ext
2298 cat >>conftest.$ac_ext <<_ACEOF
2299 /* end confdefs.h. */
2309 rm -f conftest.o conftest.obj
2310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311 (eval $ac_compile) 2>&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); }; then
2315 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2318 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2323 echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2326 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2327 See \`config.log' for more details." >&5
2328 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2329 See \`config.log' for more details." >&2;}
2330 { (exit 1); exit 1; }; }
2333 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2335 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2336 echo "${ECHO_T}$ac_cv_objext" >&6
2337 OBJEXT=$ac_cv_objext
2339 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2340 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2341 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 cat >conftest.$ac_ext <<_ACEOF
2347 cat confdefs.h >>conftest.$ac_ext
2348 cat >>conftest.$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2362 rm -f conftest.$ac_objext
2363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2364 (eval $ac_compile) 2>conftest.er1
2366 grep -v '^ *+' conftest.er1 >conftest.err
2368 cat conftest.err >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); } &&
2371 { ac_try='test -z "$ac_c_werror_flag"
2372 || test ! -s conftest.err'
2373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); }; } &&
2378 { ac_try='test -s conftest.$ac_objext'
2379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }; }; then
2386 echo "$as_me: failed program was:" >&5
2387 sed 's/^/| /' conftest.$ac_ext >&5
2391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2392 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2395 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2396 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2397 GCC=`test $ac_compiler_gnu = yes && echo yes`
2398 ac_test_CFLAGS=${CFLAGS+set}
2399 ac_save_CFLAGS=$CFLAGS
2401 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2402 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2403 if test "${ac_cv_prog_cc_g+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 cat >conftest.$ac_ext <<_ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2421 rm -f conftest.$ac_objext
2422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2423 (eval $ac_compile) 2>conftest.er1
2425 grep -v '^ *+' conftest.er1 >conftest.err
2427 cat conftest.err >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); } &&
2430 { ac_try='test -z "$ac_c_werror_flag"
2431 || test ! -s conftest.err'
2432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; } &&
2437 { ac_try='test -s conftest.$ac_objext'
2438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; }; then
2445 echo "$as_me: failed program was:" >&5
2446 sed 's/^/| /' conftest.$ac_ext >&5
2450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2452 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2453 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2454 if test "$ac_test_CFLAGS" = set; then
2455 CFLAGS=$ac_save_CFLAGS
2456 elif test $ac_cv_prog_cc_g = yes; then
2457 if test "$GCC" = yes; then
2463 if test "$GCC" = yes; then
2469 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2470 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2471 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2474 ac_cv_prog_cc_stdc=no
2476 cat >conftest.$ac_ext <<_ACEOF
2479 cat confdefs.h >>conftest.$ac_ext
2480 cat >>conftest.$ac_ext <<_ACEOF
2481 /* end confdefs.h. */
2484 #include <sys/types.h>
2485 #include <sys/stat.h>
2486 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2487 struct buf { int x; };
2488 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2489 static char *e (p, i)
2495 static char *f (char * (*g) (char **, int), char **p, ...)
2500 s = g (p, va_arg (v,int));
2505 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2506 function prototypes and stuff, but not '\xHH' hex character constants.
2507 These don't provoke an error unfortunately, instead are silently treated
2508 as 'x'. The following induces an error, until -std1 is added to get
2509 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2510 array size at least. It's necessary to write '\x00'==0 to get something
2511 that's true only with -std1. */
2512 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2514 int test (int i, double x);
2515 struct s1 {int (*f) (int a);};
2516 struct s2 {int (*f) (double a);};
2517 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2523 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2528 # Don't try gcc -ansi; that turns off useful extensions and
2529 # breaks some systems' header files.
2530 # AIX -qlanglvl=ansi
2531 # Ultrix and OSF/1 -std1
2532 # HP-UX 10.20 and later -Ae
2533 # HP-UX older versions -Aa -D_HPUX_SOURCE
2534 # SVR4 -Xc -D__EXTENSIONS__
2535 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2537 CC="$ac_save_CC $ac_arg"
2538 rm -f conftest.$ac_objext
2539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2540 (eval $ac_compile) 2>conftest.er1
2542 grep -v '^ *+' conftest.er1 >conftest.err
2544 cat conftest.err >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); } &&
2547 { ac_try='test -z "$ac_c_werror_flag"
2548 || test ! -s conftest.err'
2549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; } &&
2554 { ac_try='test -s conftest.$ac_objext'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; }; then
2560 ac_cv_prog_cc_stdc=$ac_arg
2563 echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.$ac_ext >&5
2567 rm -f conftest.err conftest.$ac_objext
2569 rm -f conftest.$ac_ext conftest.$ac_objext
2574 case "x$ac_cv_prog_cc_stdc" in
2576 echo "$as_me:$LINENO: result: none needed" >&5
2577 echo "${ECHO_T}none needed" >&6 ;;
2579 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2580 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2581 CC="$CC $ac_cv_prog_cc_stdc" ;;
2584 # Some people use a C++ compiler to compile C. Since we use `exit',
2585 # in C++ we need to declare it. In case someone uses the same compiler
2586 # for both compiling C and C++ we need to have the C++ compiler decide
2587 # the declaration of exit, since it's the most demanding environment.
2588 cat >conftest.$ac_ext <<_ACEOF
2593 rm -f conftest.$ac_objext
2594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595 (eval $ac_compile) 2>conftest.er1
2597 grep -v '^ *+' conftest.er1 >conftest.err
2599 cat conftest.err >&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } &&
2602 { ac_try='test -z "$ac_c_werror_flag"
2603 || test ! -s conftest.err'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; } &&
2609 { ac_try='test -s conftest.$ac_objext'
2610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); }; }; then
2615 for ac_declaration in \
2617 'extern "C" void std::exit (int) throw (); using std::exit;' \
2618 'extern "C" void std::exit (int); using std::exit;' \
2619 'extern "C" void exit (int) throw ();' \
2620 'extern "C" void exit (int);' \
2623 cat >conftest.$ac_ext <<_ACEOF
2626 cat confdefs.h >>conftest.$ac_ext
2627 cat >>conftest.$ac_ext <<_ACEOF
2628 /* end confdefs.h. */
2639 rm -f conftest.$ac_objext
2640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2641 (eval $ac_compile) 2>conftest.er1
2643 grep -v '^ *+' conftest.er1 >conftest.err
2645 cat conftest.err >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } &&
2648 { ac_try='test -z "$ac_c_werror_flag"
2649 || test ! -s conftest.err'
2650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; } &&
2655 { ac_try='test -s conftest.$ac_objext'
2656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; }; then
2663 echo "$as_me: failed program was:" >&5
2664 sed 's/^/| /' conftest.$ac_ext >&5
2668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2669 cat >conftest.$ac_ext <<_ACEOF
2672 cat confdefs.h >>conftest.$ac_ext
2673 cat >>conftest.$ac_ext <<_ACEOF
2674 /* end confdefs.h. */
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>conftest.er1
2688 grep -v '^ *+' conftest.er1 >conftest.err
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try='test -z "$ac_c_werror_flag"
2694 || test ! -s conftest.err'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; } &&
2700 { ac_try='test -s conftest.$ac_objext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2715 if test -n "$ac_declaration"; then
2716 echo '#ifdef __cplusplus' >>confdefs.h
2717 echo $ac_declaration >>confdefs.h
2718 echo '#endif' >>confdefs.h
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.$ac_ext >&5
2726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2728 ac_cpp='$CPP $CPPFLAGS'
2729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2733 depcc="$CC" am_compiler_list=
2735 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2736 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2737 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2741 # We make a subdir and do the tests there. Otherwise we can end up
2742 # making bogus files that we don't know about and never remove. For
2743 # instance it was reported that on HP-UX the gcc test will end up
2744 # making a dummy file named `D' -- because `-MD' means `put the output
2747 # Copy depcomp to subdir because otherwise we won't find it if we're
2748 # using a relative directory.
2749 cp "$am_depcomp" conftest.dir
2751 # We will build objects and dependencies in a subdirectory because
2752 # it helps to detect inapplicable dependency modes. For instance
2753 # both Tru64's cc and ICC support -MD to output dependencies as a
2754 # side effect of compilation, but ICC will put the dependencies in
2755 # the current directory while Tru64 will put them in the object
2759 am_cv_CC_dependencies_compiler_type=none
2760 if test "$am_compiler_list" = ""; then
2761 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2763 for depmode in $am_compiler_list; do
2764 # Setup a source with many dependencies, because some compilers
2765 # like to wrap large dependency lists on column 80 (with \), and
2766 # we should not choose a depcomp mode which is confused by this.
2768 # We need to recreate these files for each test, as the compiler may
2769 # overwrite some of them when testing with obscure command lines.
2770 # This happens at least with the AIX C compiler.
2772 for i in 1 2 3 4 5 6; do
2773 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2774 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2775 # Solaris 8's {/usr,}/bin/sh.
2776 touch sub/conftst$i.h
2778 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2782 # after this tag, mechanisms are not by side-effect, so they'll
2783 # only be used when explicitly requested
2784 if test "x$enable_dependency_tracking" = xyes; then
2792 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2793 # mode. It turns out that the SunPro C++ compiler does not properly
2794 # handle `-M -o', and we need to detect this.
2795 if depmode=$depmode \
2796 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2797 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2798 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2799 >/dev/null 2>conftest.err &&
2800 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2801 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2802 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2803 # icc doesn't choke on unknown options, it will just issue warnings
2804 # or remarks (even with -Werror). So we grep stderr for any message
2805 # that says an option was ignored or not supported.
2806 # When given -MP, icc 7.0 and 7.1 complain thusly:
2807 # icc: Command line warning: ignoring option '-M'; no argument required
2808 # The diagnosis changed in icc 8.0:
2809 # icc: Command line remark: option '-MP' not supported
2810 if (grep 'ignoring option' conftest.err ||
2811 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2812 am_cv_CC_dependencies_compiler_type=$depmode
2821 am_cv_CC_dependencies_compiler_type=none
2825 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2826 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2827 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2832 test "x$enable_dependency_tracking" != xno \
2833 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2835 am__fastdepCC_FALSE='#'
2837 am__fastdepCC_TRUE='#'
2838 am__fastdepCC_FALSE=
2843 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2844 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2845 if test "${ac_cv_search_strerror+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2848 ac_func_search_save_LIBS=$LIBS
2849 ac_cv_search_strerror=no
2850 cat >conftest.$ac_ext <<_ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2857 /* Override any gcc2 internal prototype to avoid an error. */
2861 /* We use char because int might match the return type of a gcc2
2862 builtin and then its argument prototype would still apply. */
2872 rm -f conftest.$ac_objext conftest$ac_exeext
2873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2874 (eval $ac_link) 2>conftest.er1
2876 grep -v '^ *+' conftest.er1 >conftest.err
2878 cat conftest.err >&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } &&
2881 { ac_try='test -z "$ac_c_werror_flag"
2882 || test ! -s conftest.err'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; } &&
2888 { ac_try='test -s conftest$ac_exeext'
2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; }; then
2894 ac_cv_search_strerror="none required"
2896 echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2900 rm -f conftest.err conftest.$ac_objext \
2901 conftest$ac_exeext conftest.$ac_ext
2902 if test "$ac_cv_search_strerror" = no; then
2903 for ac_lib in cposix; do
2904 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2905 cat >conftest.$ac_ext <<_ACEOF
2908 cat confdefs.h >>conftest.$ac_ext
2909 cat >>conftest.$ac_ext <<_ACEOF
2910 /* end confdefs.h. */
2912 /* Override any gcc2 internal prototype to avoid an error. */
2916 /* We use char because int might match the return type of a gcc2
2917 builtin and then its argument prototype would still apply. */
2927 rm -f conftest.$ac_objext conftest$ac_exeext
2928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2929 (eval $ac_link) 2>conftest.er1
2931 grep -v '^ *+' conftest.er1 >conftest.err
2933 cat conftest.err >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); } &&
2936 { ac_try='test -z "$ac_c_werror_flag"
2937 || test ! -s conftest.err'
2938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); }; } &&
2943 { ac_try='test -s conftest$ac_exeext'
2944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); }; }; then
2949 ac_cv_search_strerror="-l$ac_lib"
2952 echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2956 rm -f conftest.err conftest.$ac_objext \
2957 conftest$ac_exeext conftest.$ac_ext
2960 LIBS=$ac_func_search_save_LIBS
2962 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2963 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2964 if test "$ac_cv_search_strerror" != no; then
2965 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2970 ac_cpp='$CPP $CPPFLAGS'
2971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2974 if test -n "$ac_tool_prefix"; then
2975 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2976 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2977 echo "$as_me:$LINENO: checking for $ac_word" >&5
2978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2979 if test "${ac_cv_prog_CC+set}" = set; then
2980 echo $ECHO_N "(cached) $ECHO_C" >&6
2982 if test -n "$CC"; then
2983 ac_cv_prog_CC="$CC" # Let the user override the test.
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir=.
2990 for ac_exec_ext in '' $ac_executable_extensions; do
2991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2992 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 if test -n "$CC"; then
3003 echo "$as_me:$LINENO: result: $CC" >&5
3004 echo "${ECHO_T}$CC" >&6
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3011 if test -z "$ac_cv_prog_CC"; then
3013 # Extract the first word of "gcc", so it can be a program name with args.
3014 set dummy gcc; ac_word=$2
3015 echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3017 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 if test -n "$ac_ct_CC"; then
3021 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3030 ac_cv_prog_ac_ct_CC="gcc"
3031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3040 if test -n "$ac_ct_CC"; then
3041 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3042 echo "${ECHO_T}$ac_ct_CC" >&6
3044 echo "$as_me:$LINENO: result: no" >&5
3045 echo "${ECHO_T}no" >&6
3053 if test -z "$CC"; then
3054 if test -n "$ac_tool_prefix"; then
3055 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3056 set dummy ${ac_tool_prefix}cc; ac_word=$2
3057 echo "$as_me:$LINENO: checking for $ac_word" >&5
3058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3059 if test "${ac_cv_prog_CC+set}" = set; then
3060 echo $ECHO_N "(cached) $ECHO_C" >&6
3062 if test -n "$CC"; then
3063 ac_cv_prog_CC="$CC" # Let the user override the test.
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir=.
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3072 ac_cv_prog_CC="${ac_tool_prefix}cc"
3073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 if test -n "$CC"; then
3083 echo "$as_me:$LINENO: result: $CC" >&5
3084 echo "${ECHO_T}$CC" >&6
3086 echo "$as_me:$LINENO: result: no" >&5
3087 echo "${ECHO_T}no" >&6
3091 if test -z "$ac_cv_prog_CC"; then
3093 # Extract the first word of "cc", so it can be a program name with args.
3094 set dummy cc; ac_word=$2
3095 echo "$as_me:$LINENO: checking for $ac_word" >&5
3096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3097 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3098 echo $ECHO_N "(cached) $ECHO_C" >&6
3100 if test -n "$ac_ct_CC"; then
3101 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107 test -z "$as_dir" && as_dir=.
3108 for ac_exec_ext in '' $ac_executable_extensions; do
3109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3110 ac_cv_prog_ac_ct_CC="cc"
3111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3119 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3120 if test -n "$ac_ct_CC"; then
3121 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3122 echo "${ECHO_T}$ac_ct_CC" >&6
3124 echo "$as_me:$LINENO: result: no" >&5
3125 echo "${ECHO_T}no" >&6
3134 if test -z "$CC"; then
3135 # Extract the first word of "cc", so it can be a program name with args.
3136 set dummy cc; ac_word=$2
3137 echo "$as_me:$LINENO: checking for $ac_word" >&5
3138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3139 if test "${ac_cv_prog_CC+set}" = set; then
3140 echo $ECHO_N "(cached) $ECHO_C" >&6
3142 if test -n "$CC"; then
3143 ac_cv_prog_CC="$CC" # Let the user override the test.
3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 test -z "$as_dir" && as_dir=.
3151 for ac_exec_ext in '' $ac_executable_extensions; do
3152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3153 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3154 ac_prog_rejected=yes
3158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 if test $ac_prog_rejected = yes; then
3165 # We found a bogon in the path, so make sure we never use it.
3166 set dummy $ac_cv_prog_CC
3168 if test $# != 0; then
3169 # We chose a different compiler from the bogus one.
3170 # However, it has the same basename, so the bogon will be chosen
3171 # first if we set CC to just the basename; use the full file name.
3173 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3179 if test -n "$CC"; then
3180 echo "$as_me:$LINENO: result: $CC" >&5
3181 echo "${ECHO_T}$CC" >&6
3183 echo "$as_me:$LINENO: result: no" >&5
3184 echo "${ECHO_T}no" >&6
3188 if test -z "$CC"; then
3189 if test -n "$ac_tool_prefix"; then
3192 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3193 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3194 echo "$as_me:$LINENO: checking for $ac_word" >&5
3195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3196 if test "${ac_cv_prog_CC+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3199 if test -n "$CC"; then
3200 ac_cv_prog_CC="$CC" # Let the user override the test.
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 test -z "$as_dir" && as_dir=.
3207 for ac_exec_ext in '' $ac_executable_extensions; do
3208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3209 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3219 if test -n "$CC"; then
3220 echo "$as_me:$LINENO: result: $CC" >&5
3221 echo "${ECHO_T}$CC" >&6
3223 echo "$as_me:$LINENO: result: no" >&5
3224 echo "${ECHO_T}no" >&6
3227 test -n "$CC" && break
3230 if test -z "$CC"; then
3234 # Extract the first word of "$ac_prog", so it can be a program name with args.
3235 set dummy $ac_prog; ac_word=$2
3236 echo "$as_me:$LINENO: checking for $ac_word" >&5
3237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3238 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3239 echo $ECHO_N "(cached) $ECHO_C" >&6
3241 if test -n "$ac_ct_CC"; then
3242 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3248 test -z "$as_dir" && as_dir=.
3249 for ac_exec_ext in '' $ac_executable_extensions; do
3250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3251 ac_cv_prog_ac_ct_CC="$ac_prog"
3252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3260 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3261 if test -n "$ac_ct_CC"; then
3262 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3263 echo "${ECHO_T}$ac_ct_CC" >&6
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3269 test -n "$ac_ct_CC" && break
3278 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3279 See \`config.log' for more details." >&5
3280 echo "$as_me: error: no acceptable C compiler found in \$PATH
3281 See \`config.log' for more details." >&2;}
3282 { (exit 1); exit 1; }; }
3284 # Provide some information about the compiler.
3285 echo "$as_me:$LINENO:" \
3286 "checking for C compiler version" >&5
3287 ac_compiler=`set X $ac_compile; echo $2`
3288 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3289 (eval $ac_compiler --version </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); }
3298 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3299 (eval $ac_compiler -V </dev/null >&5) 2>&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); }
3304 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3305 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3306 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3309 cat >conftest.$ac_ext <<_ACEOF
3312 cat confdefs.h >>conftest.$ac_ext
3313 cat >>conftest.$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3327 rm -f conftest.$ac_objext
3328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3329 (eval $ac_compile) 2>conftest.er1
3331 grep -v '^ *+' conftest.er1 >conftest.err
3333 cat conftest.err >&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); } &&
3336 { ac_try='test -z "$ac_c_werror_flag"
3337 || test ! -s conftest.err'
3338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); }; } &&
3343 { ac_try='test -s conftest.$ac_objext'
3344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); }; }; then
3351 echo "$as_me: failed program was:" >&5
3352 sed 's/^/| /' conftest.$ac_ext >&5
3356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3357 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3360 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3361 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3362 GCC=`test $ac_compiler_gnu = yes && echo yes`
3363 ac_test_CFLAGS=${CFLAGS+set}
3364 ac_save_CFLAGS=$CFLAGS
3366 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3367 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3368 if test "${ac_cv_prog_cc_g+set}" = set; then
3369 echo $ECHO_N "(cached) $ECHO_C" >&6
3371 cat >conftest.$ac_ext <<_ACEOF
3374 cat confdefs.h >>conftest.$ac_ext
3375 cat >>conftest.$ac_ext <<_ACEOF
3376 /* end confdefs.h. */
3386 rm -f conftest.$ac_objext
3387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3388 (eval $ac_compile) 2>conftest.er1
3390 grep -v '^ *+' conftest.er1 >conftest.err
3392 cat conftest.err >&5
3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394 (exit $ac_status); } &&
3395 { ac_try='test -z "$ac_c_werror_flag"
3396 || test ! -s conftest.err'
3397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); }; } &&
3402 { ac_try='test -s conftest.$ac_objext'
3403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); }; }; then
3410 echo "$as_me: failed program was:" >&5
3411 sed 's/^/| /' conftest.$ac_ext >&5
3415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3417 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3418 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3419 if test "$ac_test_CFLAGS" = set; then
3420 CFLAGS=$ac_save_CFLAGS
3421 elif test $ac_cv_prog_cc_g = yes; then
3422 if test "$GCC" = yes; then
3428 if test "$GCC" = yes; then
3434 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3435 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3436 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3437 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 ac_cv_prog_cc_stdc=no
3441 cat >conftest.$ac_ext <<_ACEOF
3444 cat confdefs.h >>conftest.$ac_ext
3445 cat >>conftest.$ac_ext <<_ACEOF
3446 /* end confdefs.h. */
3449 #include <sys/types.h>
3450 #include <sys/stat.h>
3451 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3452 struct buf { int x; };
3453 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3454 static char *e (p, i)
3460 static char *f (char * (*g) (char **, int), char **p, ...)
3465 s = g (p, va_arg (v,int));
3470 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3471 function prototypes and stuff, but not '\xHH' hex character constants.
3472 These don't provoke an error unfortunately, instead are silently treated
3473 as 'x'. The following induces an error, until -std1 is added to get
3474 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3475 array size at least. It's necessary to write '\x00'==0 to get something
3476 that's true only with -std1. */
3477 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3479 int test (int i, double x);
3480 struct s1 {int (*f) (int a);};
3481 struct s2 {int (*f) (double a);};
3482 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3488 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3493 # Don't try gcc -ansi; that turns off useful extensions and
3494 # breaks some systems' header files.
3495 # AIX -qlanglvl=ansi
3496 # Ultrix and OSF/1 -std1
3497 # HP-UX 10.20 and later -Ae
3498 # HP-UX older versions -Aa -D_HPUX_SOURCE
3499 # SVR4 -Xc -D__EXTENSIONS__
3500 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3502 CC="$ac_save_CC $ac_arg"
3503 rm -f conftest.$ac_objext
3504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3505 (eval $ac_compile) 2>conftest.er1
3507 grep -v '^ *+' conftest.er1 >conftest.err
3509 cat conftest.err >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } &&
3512 { ac_try='test -z "$ac_c_werror_flag"
3513 || test ! -s conftest.err'
3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); }; } &&
3519 { ac_try='test -s conftest.$ac_objext'
3520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); }; }; then
3525 ac_cv_prog_cc_stdc=$ac_arg
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3532 rm -f conftest.err conftest.$ac_objext
3534 rm -f conftest.$ac_ext conftest.$ac_objext
3539 case "x$ac_cv_prog_cc_stdc" in
3541 echo "$as_me:$LINENO: result: none needed" >&5
3542 echo "${ECHO_T}none needed" >&6 ;;
3544 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3545 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3546 CC="$CC $ac_cv_prog_cc_stdc" ;;
3549 # Some people use a C++ compiler to compile C. Since we use `exit',
3550 # in C++ we need to declare it. In case someone uses the same compiler
3551 # for both compiling C and C++ we need to have the C++ compiler decide
3552 # the declaration of exit, since it's the most demanding environment.
3553 cat >conftest.$ac_ext <<_ACEOF
3558 rm -f conftest.$ac_objext
3559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3560 (eval $ac_compile) 2>conftest.er1
3562 grep -v '^ *+' conftest.er1 >conftest.err
3564 cat conftest.err >&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); } &&
3567 { ac_try='test -z "$ac_c_werror_flag"
3568 || test ! -s conftest.err'
3569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); }; } &&
3574 { ac_try='test -s conftest.$ac_objext'
3575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); }; }; then
3580 for ac_declaration in \
3582 'extern "C" void std::exit (int) throw (); using std::exit;' \
3583 'extern "C" void std::exit (int); using std::exit;' \
3584 'extern "C" void exit (int) throw ();' \
3585 'extern "C" void exit (int);' \
3588 cat >conftest.$ac_ext <<_ACEOF
3591 cat confdefs.h >>conftest.$ac_ext
3592 cat >>conftest.$ac_ext <<_ACEOF
3593 /* end confdefs.h. */
3604 rm -f conftest.$ac_objext
3605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3606 (eval $ac_compile) 2>conftest.er1
3608 grep -v '^ *+' conftest.er1 >conftest.err
3610 cat conftest.err >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } &&
3613 { ac_try='test -z "$ac_c_werror_flag"
3614 || test ! -s conftest.err'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; } &&
3620 { ac_try='test -s conftest.$ac_objext'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; }; then
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.$ac_ext >&5
3633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3634 cat >conftest.$ac_ext <<_ACEOF
3637 cat confdefs.h >>conftest.$ac_ext
3638 cat >>conftest.$ac_ext <<_ACEOF
3639 /* end confdefs.h. */
3649 rm -f conftest.$ac_objext
3650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3651 (eval $ac_compile) 2>conftest.er1
3653 grep -v '^ *+' conftest.er1 >conftest.err
3655 cat conftest.err >&5
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); } &&
3658 { ac_try='test -z "$ac_c_werror_flag"
3659 || test ! -s conftest.err'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; } &&
3665 { ac_try='test -s conftest.$ac_objext'
3666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); }; }; then
3673 echo "$as_me: failed program was:" >&5
3674 sed 's/^/| /' conftest.$ac_ext >&5
3677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3680 if test -n "$ac_declaration"; then
3681 echo '#ifdef __cplusplus' >>confdefs.h
3682 echo $ac_declaration >>confdefs.h
3683 echo '#endif' >>confdefs.h
3687 echo "$as_me: failed program was:" >&5
3688 sed 's/^/| /' conftest.$ac_ext >&5
3691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3693 ac_cpp='$CPP $CPPFLAGS'
3694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3698 depcc="$CC" am_compiler_list=
3700 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3701 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3702 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3703 echo $ECHO_N "(cached) $ECHO_C" >&6
3705 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3706 # We make a subdir and do the tests there. Otherwise we can end up
3707 # making bogus files that we don't know about and never remove. For
3708 # instance it was reported that on HP-UX the gcc test will end up
3709 # making a dummy file named `D' -- because `-MD' means `put the output
3712 # Copy depcomp to subdir because otherwise we won't find it if we're
3713 # using a relative directory.
3714 cp "$am_depcomp" conftest.dir
3716 # We will build objects and dependencies in a subdirectory because
3717 # it helps to detect inapplicable dependency modes. For instance
3718 # both Tru64's cc and ICC support -MD to output dependencies as a
3719 # side effect of compilation, but ICC will put the dependencies in
3720 # the current directory while Tru64 will put them in the object
3724 am_cv_CC_dependencies_compiler_type=none
3725 if test "$am_compiler_list" = ""; then
3726 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3728 for depmode in $am_compiler_list; do
3729 # Setup a source with many dependencies, because some compilers
3730 # like to wrap large dependency lists on column 80 (with \), and
3731 # we should not choose a depcomp mode which is confused by this.
3733 # We need to recreate these files for each test, as the compiler may
3734 # overwrite some of them when testing with obscure command lines.
3735 # This happens at least with the AIX C compiler.
3737 for i in 1 2 3 4 5 6; do
3738 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3739 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3740 # Solaris 8's {/usr,}/bin/sh.
3741 touch sub/conftst$i.h
3743 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3747 # after this tag, mechanisms are not by side-effect, so they'll
3748 # only be used when explicitly requested
3749 if test "x$enable_dependency_tracking" = xyes; then
3757 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3758 # mode. It turns out that the SunPro C++ compiler does not properly
3759 # handle `-M -o', and we need to detect this.
3760 if depmode=$depmode \
3761 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3762 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3763 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3764 >/dev/null 2>conftest.err &&
3765 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3766 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3767 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3768 # icc doesn't choke on unknown options, it will just issue warnings
3769 # or remarks (even with -Werror). So we grep stderr for any message
3770 # that says an option was ignored or not supported.
3771 # When given -MP, icc 7.0 and 7.1 complain thusly:
3772 # icc: Command line warning: ignoring option '-M'; no argument required
3773 # The diagnosis changed in icc 8.0:
3774 # icc: Command line remark: option '-MP' not supported
3775 if (grep 'ignoring option' conftest.err ||
3776 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3777 am_cv_CC_dependencies_compiler_type=$depmode
3786 am_cv_CC_dependencies_compiler_type=none
3790 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3791 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3792 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3797 test "x$enable_dependency_tracking" != xno \
3798 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3800 am__fastdepCC_FALSE='#'
3802 am__fastdepCC_TRUE='#'
3803 am__fastdepCC_FALSE=
3808 ac_cpp='$CPP $CPPFLAGS'
3809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3812 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3813 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3814 # On Suns, sometimes $CPP names a directory.
3815 if test -n "$CPP" && test -d "$CPP"; then
3818 if test -z "$CPP"; then
3819 if test "${ac_cv_prog_CPP+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 # Double quotes because CPP needs to be expanded
3823 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3826 for ac_c_preproc_warn_flag in '' yes
3828 # Use a header file that comes with gcc, so configuring glibc
3829 # with a fresh cross-compiler works.
3830 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3831 # <limits.h> exists even on freestanding compilers.
3832 # On the NeXT, cc -E runs the code through the compiler's parser,
3833 # not just through cpp. "Syntax error" is here to catch this case.
3834 cat >conftest.$ac_ext <<_ACEOF
3837 cat confdefs.h >>conftest.$ac_ext
3838 cat >>conftest.$ac_ext <<_ACEOF
3839 /* end confdefs.h. */
3841 # include <limits.h>
3843 # include <assert.h>
3847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3850 grep -v '^ *+' conftest.er1 >conftest.err
3852 cat conftest.err >&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } >/dev/null; then
3855 if test -s conftest.err; then
3856 ac_cpp_err=$ac_c_preproc_warn_flag
3857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3864 if test -z "$ac_cpp_err"; then
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3870 # Broken: fails on valid input.
3873 rm -f conftest.err conftest.$ac_ext
3875 # OK, works on sane cases. Now check whether non-existent headers
3876 # can be detected and how.
3877 cat >conftest.$ac_ext <<_ACEOF
3880 cat confdefs.h >>conftest.$ac_ext
3881 cat >>conftest.$ac_ext <<_ACEOF
3882 /* end confdefs.h. */
3883 #include <ac_nonexistent.h>
3885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3886 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3888 grep -v '^ *+' conftest.er1 >conftest.err
3890 cat conftest.err >&5
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); } >/dev/null; then
3893 if test -s conftest.err; then
3894 ac_cpp_err=$ac_c_preproc_warn_flag
3895 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3902 if test -z "$ac_cpp_err"; then
3903 # Broken: success on invalid input.
3906 echo "$as_me: failed program was:" >&5
3907 sed 's/^/| /' conftest.$ac_ext >&5
3909 # Passes both tests.
3913 rm -f conftest.err conftest.$ac_ext
3916 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3917 rm -f conftest.err conftest.$ac_ext
3918 if $ac_preproc_ok; then
3930 echo "$as_me:$LINENO: result: $CPP" >&5
3931 echo "${ECHO_T}$CPP" >&6
3933 for ac_c_preproc_warn_flag in '' yes
3935 # Use a header file that comes with gcc, so configuring glibc
3936 # with a fresh cross-compiler works.
3937 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3938 # <limits.h> exists even on freestanding compilers.
3939 # On the NeXT, cc -E runs the code through the compiler's parser,
3940 # not just through cpp. "Syntax error" is here to catch this case.
3941 cat >conftest.$ac_ext <<_ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3948 # include <limits.h>
3950 # include <assert.h>
3954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3955 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3957 grep -v '^ *+' conftest.er1 >conftest.err
3959 cat conftest.err >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); } >/dev/null; then
3962 if test -s conftest.err; then
3963 ac_cpp_err=$ac_c_preproc_warn_flag
3964 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3971 if test -z "$ac_cpp_err"; then
3974 echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.$ac_ext >&5
3977 # Broken: fails on valid input.
3980 rm -f conftest.err conftest.$ac_ext
3982 # OK, works on sane cases. Now check whether non-existent headers
3983 # can be detected and how.
3984 cat >conftest.$ac_ext <<_ACEOF
3987 cat confdefs.h >>conftest.$ac_ext
3988 cat >>conftest.$ac_ext <<_ACEOF
3989 /* end confdefs.h. */
3990 #include <ac_nonexistent.h>
3992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3993 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3995 grep -v '^ *+' conftest.er1 >conftest.err
3997 cat conftest.err >&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); } >/dev/null; then
4000 if test -s conftest.err; then
4001 ac_cpp_err=$ac_c_preproc_warn_flag
4002 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4009 if test -z "$ac_cpp_err"; then
4010 # Broken: success on invalid input.
4013 echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.$ac_ext >&5
4016 # Passes both tests.
4020 rm -f conftest.err conftest.$ac_ext
4023 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4024 rm -f conftest.err conftest.$ac_ext
4025 if $ac_preproc_ok; then
4028 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4029 See \`config.log' for more details." >&5
4030 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4031 See \`config.log' for more details." >&2;}
4032 { (exit 1); exit 1; }; }
4036 ac_cpp='$CPP $CPPFLAGS'
4037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4042 echo "$as_me:$LINENO: checking for egrep" >&5
4043 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4044 if test "${ac_cv_prog_egrep+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4048 then ac_cv_prog_egrep='grep -E'
4049 else ac_cv_prog_egrep='egrep'
4052 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4053 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4054 EGREP=$ac_cv_prog_egrep
4057 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4058 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4059 if test "${ac_cv_header_stdc+set}" = set; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 cat >conftest.$ac_ext <<_ACEOF
4065 cat confdefs.h >>conftest.$ac_ext
4066 cat >>conftest.$ac_ext <<_ACEOF
4067 /* end confdefs.h. */
4081 rm -f conftest.$ac_objext
4082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4083 (eval $ac_compile) 2>conftest.er1
4085 grep -v '^ *+' conftest.er1 >conftest.err
4087 cat conftest.err >&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } &&
4090 { ac_try='test -z "$ac_c_werror_flag"
4091 || test ! -s conftest.err'
4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }; } &&
4097 { ac_try='test -s conftest.$ac_objext'
4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); }; }; then
4103 ac_cv_header_stdc=yes
4105 echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 ac_cv_header_stdc=no
4110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4112 if test $ac_cv_header_stdc = yes; then
4113 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4114 cat >conftest.$ac_ext <<_ACEOF
4117 cat confdefs.h >>conftest.$ac_ext
4118 cat >>conftest.$ac_ext <<_ACEOF
4119 /* end confdefs.h. */
4123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4124 $EGREP "memchr" >/dev/null 2>&1; then
4127 ac_cv_header_stdc=no
4133 if test $ac_cv_header_stdc = yes; then
4134 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4135 cat >conftest.$ac_ext <<_ACEOF
4138 cat confdefs.h >>conftest.$ac_ext
4139 cat >>conftest.$ac_ext <<_ACEOF
4140 /* end confdefs.h. */
4144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4145 $EGREP "free" >/dev/null 2>&1; then
4148 ac_cv_header_stdc=no
4154 if test $ac_cv_header_stdc = yes; then
4155 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4156 if test "$cross_compiling" = yes; then
4159 cat >conftest.$ac_ext <<_ACEOF
4162 cat confdefs.h >>conftest.$ac_ext
4163 cat >>conftest.$ac_ext <<_ACEOF
4164 /* end confdefs.h. */
4166 #if ((' ' & 0x0FF) == 0x020)
4167 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4168 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4170 # define ISLOWER(c) \
4171 (('a' <= (c) && (c) <= 'i') \
4172 || ('j' <= (c) && (c) <= 'r') \
4173 || ('s' <= (c) && (c) <= 'z'))
4174 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4177 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4182 for (i = 0; i < 256; i++)
4183 if (XOR (islower (i), ISLOWER (i))
4184 || toupper (i) != TOUPPER (i))
4189 rm -f conftest$ac_exeext
4190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4191 (eval $ac_link) 2>&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4202 echo "$as_me: program exited with status $ac_status" >&5
4203 echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.$ac_ext >&5
4207 ac_cv_header_stdc=no
4209 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4213 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4214 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4215 if test $ac_cv_header_stdc = yes; then
4217 cat >>confdefs.h <<\_ACEOF
4218 #define STDC_HEADERS 1
4223 for ac_prog in 'bison -y' byacc
4225 # Extract the first word of "$ac_prog", so it can be a program name with args.
4226 set dummy $ac_prog; ac_word=$2
4227 echo "$as_me:$LINENO: checking for $ac_word" >&5
4228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4229 if test "${ac_cv_prog_YACC+set}" = set; then
4230 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 if test -n "$YACC"; then
4233 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4239 test -z "$as_dir" && as_dir=.
4240 for ac_exec_ext in '' $ac_executable_extensions; do
4241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4242 ac_cv_prog_YACC="$ac_prog"
4243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 YACC=$ac_cv_prog_YACC
4252 if test -n "$YACC"; then
4253 echo "$as_me:$LINENO: result: $YACC" >&5
4254 echo "${ECHO_T}$YACC" >&6
4256 echo "$as_me:$LINENO: result: no" >&5
4257 echo "${ECHO_T}no" >&6
4260 test -n "$YACC" && break
4262 test -n "$YACC" || YACC="yacc"
4264 for ac_prog in flex lex
4266 # Extract the first word of "$ac_prog", so it can be a program name with args.
4267 set dummy $ac_prog; ac_word=$2
4268 echo "$as_me:$LINENO: checking for $ac_word" >&5
4269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4270 if test "${ac_cv_prog_LEX+set}" = set; then
4271 echo $ECHO_N "(cached) $ECHO_C" >&6
4273 if test -n "$LEX"; then
4274 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 test -z "$as_dir" && as_dir=.
4281 for ac_exec_ext in '' $ac_executable_extensions; do
4282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4283 ac_cv_prog_LEX="$ac_prog"
4284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4293 if test -n "$LEX"; then
4294 echo "$as_me:$LINENO: result: $LEX" >&5
4295 echo "${ECHO_T}$LEX" >&6
4297 echo "$as_me:$LINENO: result: no" >&5
4298 echo "${ECHO_T}no" >&6
4301 test -n "$LEX" && break
4303 test -n "$LEX" || LEX=":"
4305 if test -z "$LEXLIB"
4307 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4308 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4309 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 ac_check_lib_save_LIBS=$LIBS
4314 cat >conftest.$ac_ext <<_ACEOF
4317 cat confdefs.h >>conftest.$ac_ext
4318 cat >>conftest.$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4321 /* Override any gcc2 internal prototype to avoid an error. */
4325 /* We use char because int might match the return type of a gcc2
4326 builtin and then its argument prototype would still apply. */
4336 rm -f conftest.$ac_objext conftest$ac_exeext
4337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4338 (eval $ac_link) 2>conftest.er1
4340 grep -v '^ *+' conftest.er1 >conftest.err
4342 cat conftest.err >&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); } &&
4345 { ac_try='test -z "$ac_c_werror_flag"
4346 || test ! -s conftest.err'
4347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); }; } &&
4352 { ac_try='test -s conftest$ac_exeext'
4353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); }; }; then
4358 ac_cv_lib_fl_yywrap=yes
4360 echo "$as_me: failed program was:" >&5
4361 sed 's/^/| /' conftest.$ac_ext >&5
4363 ac_cv_lib_fl_yywrap=no
4365 rm -f conftest.err conftest.$ac_objext \
4366 conftest$ac_exeext conftest.$ac_ext
4367 LIBS=$ac_check_lib_save_LIBS
4369 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4370 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4371 if test $ac_cv_lib_fl_yywrap = yes; then
4374 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4375 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4376 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4377 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 ac_check_lib_save_LIBS=$LIBS
4381 cat >conftest.$ac_ext <<_ACEOF
4384 cat confdefs.h >>conftest.$ac_ext
4385 cat >>conftest.$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4388 /* Override any gcc2 internal prototype to avoid an error. */
4392 /* We use char because int might match the return type of a gcc2
4393 builtin and then its argument prototype would still apply. */
4403 rm -f conftest.$ac_objext conftest$ac_exeext
4404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4405 (eval $ac_link) 2>conftest.er1
4407 grep -v '^ *+' conftest.er1 >conftest.err
4409 cat conftest.err >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); } &&
4412 { ac_try='test -z "$ac_c_werror_flag"
4413 || test ! -s conftest.err'
4414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; } &&
4419 { ac_try='test -s conftest$ac_exeext'
4420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }; }; then
4425 ac_cv_lib_l_yywrap=yes
4427 echo "$as_me: failed program was:" >&5
4428 sed 's/^/| /' conftest.$ac_ext >&5
4430 ac_cv_lib_l_yywrap=no
4432 rm -f conftest.err conftest.$ac_objext \
4433 conftest$ac_exeext conftest.$ac_ext
4434 LIBS=$ac_check_lib_save_LIBS
4436 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4437 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4438 if test $ac_cv_lib_l_yywrap = yes; then
4446 if test "x$LEX" != "x:"; then
4447 echo "$as_me:$LINENO: checking lex output file root" >&5
4448 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4449 if test "${ac_cv_prog_lex_root+set}" = set; then
4450 echo $ECHO_N "(cached) $ECHO_C" >&6
4452 # The minimal lex program is just a single line: %%. But some broken lexes
4453 # (Solaris, I think it was) want two %% lines, so accommodate them.
4454 cat >conftest.l <<_ACEOF
4458 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4459 (eval $LEX conftest.l) 2>&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }
4463 if test -f lex.yy.c; then
4464 ac_cv_prog_lex_root=lex.yy
4465 elif test -f lexyy.c; then
4466 ac_cv_prog_lex_root=lexyy
4468 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4469 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4470 { (exit 1); exit 1; }; }
4473 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4474 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4476 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4478 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4479 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4480 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 # POSIX says lex can declare yytext either as a pointer or an array; the
4484 # default is implementation-dependent. Figure out which it is, since
4485 # not all implementations provide the %pointer and %array declarations.
4486 ac_cv_prog_lex_yytext_pointer=no
4487 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4489 LIBS="$LIBS $LEXLIB"
4490 cat >conftest.$ac_ext <<_ACEOF
4491 `cat $LEX_OUTPUT_ROOT.c`
4493 rm -f conftest.$ac_objext conftest$ac_exeext
4494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4495 (eval $ac_link) 2>conftest.er1
4497 grep -v '^ *+' conftest.er1 >conftest.err
4499 cat conftest.err >&5
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); } &&
4502 { ac_try='test -z "$ac_c_werror_flag"
4503 || test ! -s conftest.err'
4504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508 (exit $ac_status); }; } &&
4509 { ac_try='test -s conftest$ac_exeext'
4510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); }; }; then
4515 ac_cv_prog_lex_yytext_pointer=yes
4517 echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.$ac_ext >&5
4521 rm -f conftest.err conftest.$ac_objext \
4522 conftest$ac_exeext conftest.$ac_ext
4524 rm -f "${LEX_OUTPUT_ROOT}.c"
4527 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4528 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4529 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4531 cat >>confdefs.h <<\_ACEOF
4532 #define YYTEXT_POINTER 1
4538 if test "$LEX" = :; then
4539 LEX=${am_missing_run}flex
4541 # Find a good install program. We prefer a C program (faster),
4542 # so one script is as good as another. But avoid the broken or
4543 # incompatible versions:
4544 # SysV /etc/install, /usr/sbin/install
4545 # SunOS /usr/etc/install
4546 # IRIX /sbin/install
4548 # AmigaOS /C/install, which installs bootblocks on floppy discs
4549 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4550 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4551 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4552 # OS/2's system install, which has a completely different semantic
4553 # ./install, which can be erroneously created by make from ./install.sh.
4554 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4555 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4556 if test -z "$INSTALL"; then
4557 if test "${ac_cv_path_install+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4564 test -z "$as_dir" && as_dir=.
4565 # Account for people who put trailing slashes in PATH elements.
4567 ./ | .// | /cC/* | \
4568 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4569 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4572 # OSF1 and SCO ODT 3.0 have their own names for install.
4573 # Don't use installbsd from OSF since it installs stuff as root
4575 for ac_prog in ginstall scoinst install; do
4576 for ac_exec_ext in '' $ac_executable_extensions; do
4577 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4578 if test $ac_prog = install &&
4579 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4580 # AIX install. It has an incompatible calling convention.
4582 elif test $ac_prog = install &&
4583 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4584 # program-specific install script used by HP pwplus--don't use.
4587 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4599 if test "${ac_cv_path_install+set}" = set; then
4600 INSTALL=$ac_cv_path_install
4602 # As a last resort, use the slow shell script. We don't cache a
4603 # path for INSTALL within a source directory, because that will
4604 # break other packages using the cache if that directory is
4605 # removed, or if the path is relative.
4606 INSTALL=$ac_install_sh
4609 echo "$as_me:$LINENO: result: $INSTALL" >&5
4610 echo "${ECHO_T}$INSTALL" >&6
4612 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4613 # It thinks the first close brace ends the variable substitution.
4614 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4616 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4618 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4621 ac_cpp='$CPP $CPPFLAGS'
4622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4625 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4626 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4627 # On Suns, sometimes $CPP names a directory.
4628 if test -n "$CPP" && test -d "$CPP"; then
4631 if test -z "$CPP"; then
4632 if test "${ac_cv_prog_CPP+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 # Double quotes because CPP needs to be expanded
4636 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4639 for ac_c_preproc_warn_flag in '' yes
4641 # Use a header file that comes with gcc, so configuring glibc
4642 # with a fresh cross-compiler works.
4643 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4644 # <limits.h> exists even on freestanding compilers.
4645 # On the NeXT, cc -E runs the code through the compiler's parser,
4646 # not just through cpp. "Syntax error" is here to catch this case.
4647 cat >conftest.$ac_ext <<_ACEOF
4650 cat confdefs.h >>conftest.$ac_ext
4651 cat >>conftest.$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4654 # include <limits.h>
4656 # include <assert.h>
4660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4663 grep -v '^ *+' conftest.er1 >conftest.err
4665 cat conftest.err >&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); } >/dev/null; then
4668 if test -s conftest.err; then
4669 ac_cpp_err=$ac_c_preproc_warn_flag
4670 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4677 if test -z "$ac_cpp_err"; then
4680 echo "$as_me: failed program was:" >&5
4681 sed 's/^/| /' conftest.$ac_ext >&5
4683 # Broken: fails on valid input.
4686 rm -f conftest.err conftest.$ac_ext
4688 # OK, works on sane cases. Now check whether non-existent headers
4689 # can be detected and how.
4690 cat >conftest.$ac_ext <<_ACEOF
4693 cat confdefs.h >>conftest.$ac_ext
4694 cat >>conftest.$ac_ext <<_ACEOF
4695 /* end confdefs.h. */
4696 #include <ac_nonexistent.h>
4698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4699 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4701 grep -v '^ *+' conftest.er1 >conftest.err
4703 cat conftest.err >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } >/dev/null; then
4706 if test -s conftest.err; then
4707 ac_cpp_err=$ac_c_preproc_warn_flag
4708 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4715 if test -z "$ac_cpp_err"; then
4716 # Broken: success on invalid input.
4719 echo "$as_me: failed program was:" >&5
4720 sed 's/^/| /' conftest.$ac_ext >&5
4722 # Passes both tests.
4726 rm -f conftest.err conftest.$ac_ext
4729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4730 rm -f conftest.err conftest.$ac_ext
4731 if $ac_preproc_ok; then
4743 echo "$as_me:$LINENO: result: $CPP" >&5
4744 echo "${ECHO_T}$CPP" >&6
4746 for ac_c_preproc_warn_flag in '' yes
4748 # Use a header file that comes with gcc, so configuring glibc
4749 # with a fresh cross-compiler works.
4750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4751 # <limits.h> exists even on freestanding compilers.
4752 # On the NeXT, cc -E runs the code through the compiler's parser,
4753 # not just through cpp. "Syntax error" is here to catch this case.
4754 cat >conftest.$ac_ext <<_ACEOF
4757 cat confdefs.h >>conftest.$ac_ext
4758 cat >>conftest.$ac_ext <<_ACEOF
4759 /* end confdefs.h. */
4761 # include <limits.h>
4763 # include <assert.h>
4767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4770 grep -v '^ *+' conftest.er1 >conftest.err
4772 cat conftest.err >&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); } >/dev/null; then
4775 if test -s conftest.err; then
4776 ac_cpp_err=$ac_c_preproc_warn_flag
4777 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4784 if test -z "$ac_cpp_err"; then
4787 echo "$as_me: failed program was:" >&5
4788 sed 's/^/| /' conftest.$ac_ext >&5
4790 # Broken: fails on valid input.
4793 rm -f conftest.err conftest.$ac_ext
4795 # OK, works on sane cases. Now check whether non-existent headers
4796 # can be detected and how.
4797 cat >conftest.$ac_ext <<_ACEOF
4800 cat confdefs.h >>conftest.$ac_ext
4801 cat >>conftest.$ac_ext <<_ACEOF
4802 /* end confdefs.h. */
4803 #include <ac_nonexistent.h>
4805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4808 grep -v '^ *+' conftest.er1 >conftest.err
4810 cat conftest.err >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); } >/dev/null; then
4813 if test -s conftest.err; then
4814 ac_cpp_err=$ac_c_preproc_warn_flag
4815 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4822 if test -z "$ac_cpp_err"; then
4823 # Broken: success on invalid input.
4826 echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.$ac_ext >&5
4829 # Passes both tests.
4833 rm -f conftest.err conftest.$ac_ext
4836 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4837 rm -f conftest.err conftest.$ac_ext
4838 if $ac_preproc_ok; then
4841 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4842 See \`config.log' for more details." >&5
4843 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4844 See \`config.log' for more details." >&2;}
4845 { (exit 1); exit 1; }; }
4849 ac_cpp='$CPP $CPPFLAGS'
4850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4854 # Extract the first word of "rm", so it can be a program name with args.
4855 set dummy rm; ac_word=$2
4856 echo "$as_me:$LINENO: checking for $ac_word" >&5
4857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4858 if test "${ac_cv_path_RM+set}" = set; then
4859 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir=.
4871 for ac_exec_ext in '' $ac_executable_extensions; do
4872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4873 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4886 if test -n "$RM"; then
4887 echo "$as_me:$LINENO: result: $RM" >&5
4888 echo "${ECHO_T}$RM" >&6
4890 echo "$as_me:$LINENO: result: no" >&5
4891 echo "${ECHO_T}no" >&6
4894 # Extract the first word of "mv", so it can be a program name with args.
4895 set dummy mv; ac_word=$2
4896 echo "$as_me:$LINENO: checking for $ac_word" >&5
4897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4898 if test "${ac_cv_path_MV+set}" = set; then
4899 echo $ECHO_N "(cached) $ECHO_C" >&6
4903 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4920 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4926 if test -n "$MV"; then
4927 echo "$as_me:$LINENO: result: $MV" >&5
4928 echo "${ECHO_T}$MV" >&6
4930 echo "$as_me:$LINENO: result: no" >&5
4931 echo "${ECHO_T}no" >&6
4934 # Extract the first word of "tar", so it can be a program name with args.
4935 set dummy tar; ac_word=$2
4936 echo "$as_me:$LINENO: checking for $ac_word" >&5
4937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4938 if test "${ac_cv_path_TAR+set}" = set; then
4939 echo $ECHO_N "(cached) $ECHO_C" >&6
4943 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4953 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
4966 if test -n "$TAR"; then
4967 echo "$as_me:$LINENO: result: $TAR" >&5
4968 echo "${ECHO_T}$TAR" >&6
4970 echo "$as_me:$LINENO: result: no" >&5
4971 echo "${ECHO_T}no" >&6
4977 if test -z "$PKG_CONFIG"; then
4978 # Extract the first word of "pkg-config", so it can be a program name with args.
4979 set dummy pkg-config; ac_word=$2
4980 echo "$as_me:$LINENO: checking for $ac_word" >&5
4981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4982 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4983 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir=.
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5008 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5010 if test -n "$PKG_CONFIG"; then
5011 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5012 echo "${ECHO_T}$PKG_CONFIG" >&6
5014 echo "$as_me:$LINENO: result: no" >&5
5015 echo "${ECHO_T}no" >&6
5020 if test "$PKG_CONFIG" = "no" ; then
5021 echo "*** The pkg-config script could not be found. Make sure it is"
5022 echo "*** in your path, or set the PKG_CONFIG environment variable"
5023 echo "*** to the full path to pkg-config."
5024 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
5026 PKG_CONFIG_MIN_VERSION=0.9.0
5027 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
5028 echo "$as_me:$LINENO: checking for glib-2.0 >= $GLIB_REQUIRED" >&5
5029 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED... $ECHO_C" >&6
5031 if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED" ; then
5032 echo "$as_me:$LINENO: result: yes" >&5
5033 echo "${ECHO_T}yes" >&6
5036 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
5037 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
5038 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED"`
5039 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
5040 echo "${ECHO_T}$GLIB_CFLAGS" >&6
5042 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
5043 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
5044 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED"`
5045 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
5046 echo "${ECHO_T}$GLIB_LIBS" >&6
5050 ## If we have a custom action on failure, don't print errors, but
5051 ## do set a variable so people can do so.
5052 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
5053 echo $GLIB_PKG_ERRORS
5059 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
5060 echo "*** See http://www.freedesktop.org/software/pkgconfig"
5064 if test $succeeded = yes; then
5067 { { 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
5068 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;}
5069 { (exit 1); exit 1; }; }
5082 ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
5083 cat >confcache <<\_ACEOF
5084 # This file is a shell script that caches the results of configure
5085 # tests run on this system so they can be shared between configure
5086 # scripts and configure runs, see configure's option --config-cache.
5087 # It is not useful on other systems. If it contains results you don't
5088 # want to keep, you may remove or edit it.
5090 # config.status only pays attention to the cache file if you give it
5091 # the --recheck option to rerun configure.
5093 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5094 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5099 # The following way of writing the cache mishandles newlines in values,
5100 # but we know of no workaround that is simple, portable, and efficient.
5101 # So, don't put newlines in cache variables' values.
5102 # Ultrix sh set writes to stderr and can't be redirected directly,
5103 # and sets the high bit in the cache file unless we assign to the vars.
5106 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5108 # `set' does not quote correctly, so add quotes (double-quote
5109 # substitution turns \\\\ into \\, and sed turns \\ into \).
5112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5115 # `set' quotes correctly as required by POSIX, so do not add quotes.
5117 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5124 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5126 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5128 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5129 if test -w $cache_file; then
5130 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5131 cat confcache >$cache_file
5133 echo "not updating unwritable cache $cache_file"
5138 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5139 # Let make expand exec_prefix.
5140 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5142 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5143 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5144 # trailing colons and then remove the whole line if VPATH becomes empty
5145 # (actually we leave an empty line to preserve line numbers).
5146 if test "x$srcdir" = x.; then
5147 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5148 s/:*\$(srcdir):*/:/;
5149 s/:*\${srcdir}:*/:/;
5151 s/^\([^=]*=[ ]*\):*/\1/;
5157 DEFS=-DHAVE_CONFIG_H
5161 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5162 # 1. Remove the extension, and $U if already installed.
5163 ac_i=`echo "$ac_i" |
5164 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5166 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5167 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5171 LTLIBOBJS=$ac_ltlibobjs
5174 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5175 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5176 Usually this means the macro was only invoked conditionally." >&5
5177 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5178 Usually this means the macro was only invoked conditionally." >&2;}
5179 { (exit 1); exit 1; }; }
5181 if test -z "${NOINSTGOB_TRUE}" && test -z "${NOINSTGOB_FALSE}"; then
5182 { { echo "$as_me:$LINENO: error: conditional \"NOINSTGOB\" was never defined.
5183 Usually this means the macro was only invoked conditionally." >&5
5184 echo "$as_me: error: conditional \"NOINSTGOB\" was never defined.
5185 Usually this means the macro was only invoked conditionally." >&2;}
5186 { (exit 1); exit 1; }; }
5188 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5189 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5190 Usually this means the macro was only invoked conditionally." >&5
5191 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5192 Usually this means the macro was only invoked conditionally." >&2;}
5193 { (exit 1); exit 1; }; }
5195 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5196 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5197 Usually this means the macro was only invoked conditionally." >&5
5198 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5199 Usually this means the macro was only invoked conditionally." >&2;}
5200 { (exit 1); exit 1; }; }
5202 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5203 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5204 Usually this means the macro was only invoked conditionally." >&5
5205 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5206 Usually this means the macro was only invoked conditionally." >&2;}
5207 { (exit 1); exit 1; }; }
5210 : ${CONFIG_STATUS=./config.status}
5211 ac_clean_files_save=$ac_clean_files
5212 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5213 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5214 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5215 cat >$CONFIG_STATUS <<_ACEOF
5217 # Generated by $as_me.
5218 # Run this file to recreate the current configuration.
5219 # Compiler output produced by configure, useful for debugging
5220 # configure, is in config.log if it exists.
5225 SHELL=\${CONFIG_SHELL-$SHELL}
5228 cat >>$CONFIG_STATUS <<\_ACEOF
5229 ## --------------------- ##
5230 ## M4sh Initialization. ##
5231 ## --------------------- ##
5233 # Be Bourne compatible
5234 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5237 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5238 # is contrary to our usage. Disable this feature.
5239 alias -g '${1+"$@"}'='"$@"'
5240 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5243 DUALCASE=1; export DUALCASE # for MKS sh
5245 # Support unset when possible.
5246 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5253 # Work around bugs in pre-3.0 UWIN ksh.
5254 $as_unset ENV MAIL MAILPATH
5261 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5262 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5263 LC_TELEPHONE LC_TIME
5265 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5266 eval $as_var=C; export $as_var
5272 # Required to use basename.
5273 if expr a : '\(a\)' >/dev/null 2>&1; then
5279 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5280 as_basename=basename
5286 # Name of the executable.
5287 as_me=`$as_basename "$0" ||
5288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5289 X"$0" : 'X\(//\)$' \| \
5290 X"$0" : 'X\(/\)$' \| \
5291 . : '\(.\)' 2>/dev/null ||
5293 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5294 /^X\/\(\/\/\)$/{ s//\1/; q; }
5295 /^X\/\(\/\).*/{ s//\1/; q; }
5299 # PATH needs CR, and LINENO needs CR and PATH.
5300 # Avoid depending upon Character Ranges.
5301 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5302 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5303 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5304 as_cr_digits='0123456789'
5305 as_cr_alnum=$as_cr_Letters$as_cr_digits
5307 # The user is always right.
5308 if test "${PATH_SEPARATOR+set}" != set; then
5309 echo "#! /bin/sh" >conf$$.sh
5310 echo "exit 0" >>conf$$.sh
5312 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5323 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5324 test "x$as_lineno_1" != "x$as_lineno_2" &&
5325 test "x$as_lineno_3" = "x$as_lineno_2" || {
5326 # Find who we are. Look in the path if we contain no path at all
5329 *[\\/]* ) as_myself=$0 ;;
5330 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 test -z "$as_dir" && as_dir=.
5335 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5340 # We did not find ourselves, most probably we were run as `sh COMMAND'
5341 # in which case we are not to be found in the path.
5342 if test "x$as_myself" = x; then
5345 if test ! -f "$as_myself"; then
5346 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5347 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5348 { (exit 1); exit 1; }; }
5350 case $CONFIG_SHELL in
5352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5356 test -z "$as_dir" && as_dir=.
5357 for as_base in sh bash ksh sh5; do
5360 if ("$as_dir/$as_base" -c '
5363 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5364 test "x$as_lineno_1" != "x$as_lineno_2" &&
5365 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5366 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5367 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5368 CONFIG_SHELL=$as_dir/$as_base
5370 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5378 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5379 # uniformly replaced by the line number. The first 'sed' inserts a
5380 # line-number line before each line; the second 'sed' does the real
5381 # work. The second script uses 'N' to pair each line-number line
5382 # with the numbered line, and appends trailing '-' during
5383 # substitution so that $LINENO is not a special case at line end.
5384 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5385 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5386 sed '=' <$as_myself |
5391 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5394 s,^['$as_cr_digits']*\n,,
5396 chmod +x $as_me.lineno ||
5397 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5398 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5399 { (exit 1); exit 1; }; }
5401 # Don't try to exec as it changes $[0], causing all sort of problems
5402 # (the dirname of $[0] is not the place where we might find the
5403 # original and so on. Autoconf is especially sensible to this).
5405 # Exit status is that of the last command.
5410 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5411 *c*,-n*) ECHO_N= ECHO_C='
5413 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5414 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5417 if expr a : '\(a\)' >/dev/null 2>&1; then
5423 rm -f conf$$ conf$$.exe conf$$.file
5425 if ln -s conf$$.file conf$$ 2>/dev/null; then
5426 # We could just check for DJGPP; but this test a) works b) is more generic
5427 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5428 if test -f conf$$.exe; then
5429 # Don't use ln at all; we don't have any links
5434 elif ln conf$$.file conf$$ 2>/dev/null; then
5439 rm -f conf$$ conf$$.exe conf$$.file
5441 if mkdir -p . 2>/dev/null; then
5444 test -d ./-p && rmdir ./-p
5448 as_executable_p="test -f"
5450 # Sed expression to map a string onto a valid CPP name.
5451 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5453 # Sed expression to map a string onto a valid variable name.
5454 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5458 # We need space, tab and new line, in precisely that order.
5468 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5469 # report actual input values of CONFIG_FILES etc. instead of their
5470 # values after options handling. Logging --version etc. is OK.
5474 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5475 ## Running $as_me. ##
5480 This file was extended by $as_me, which was
5481 generated by GNU Autoconf 2.59. Invocation command line was
5483 CONFIG_FILES = $CONFIG_FILES
5484 CONFIG_HEADERS = $CONFIG_HEADERS
5485 CONFIG_LINKS = $CONFIG_LINKS
5486 CONFIG_COMMANDS = $CONFIG_COMMANDS
5490 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5494 # Files that config.status was made for.
5495 if test -n "$ac_config_files"; then
5496 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5499 if test -n "$ac_config_headers"; then
5500 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5503 if test -n "$ac_config_links"; then
5504 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5507 if test -n "$ac_config_commands"; then
5508 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5511 cat >>$CONFIG_STATUS <<\_ACEOF
5514 \`$as_me' instantiates files from templates according to the
5515 current configuration.
5517 Usage: $0 [OPTIONS] [FILE]...
5519 -h, --help print this help, then exit
5520 -V, --version print version number, then exit
5521 -q, --quiet do not print progress messages
5522 -d, --debug don't remove temporary files
5523 --recheck update $as_me by reconfiguring in the same conditions
5524 --file=FILE[:TEMPLATE]
5525 instantiate the configuration file FILE
5526 --header=FILE[:TEMPLATE]
5527 instantiate the configuration header FILE
5529 Configuration files:
5532 Configuration headers:
5535 Configuration commands:
5538 Report bugs to <bug-autoconf@gnu.org>."
5541 cat >>$CONFIG_STATUS <<_ACEOF
5544 configured by $0, generated by GNU Autoconf 2.59,
5545 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5547 Copyright (C) 2003 Free Software Foundation, Inc.
5548 This config.status script is free software; the Free Software Foundation
5549 gives unlimited permission to copy, distribute and modify it."
5554 cat >>$CONFIG_STATUS <<\_ACEOF
5555 # If no file are specified by the user, then we need to provide default
5556 # value. By we need to know if files were specified by the user.
5562 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5563 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5571 *) # This is not an option, so the user has probably given explicit
5574 ac_need_defaults=false;;
5578 # Handling of the options.
5580 cat >>$CONFIG_STATUS <<\_ACEOF
5581 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5583 --version | --vers* | -V )
5584 echo "$ac_cs_version"; exit 0 ;;
5586 # Conflict between --help and --header
5587 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5588 Try \`$0 --help' for more information." >&5
5589 echo "$as_me: error: ambiguous option: $1
5590 Try \`$0 --help' for more information." >&2;}
5591 { (exit 1); exit 1; }; };;
5592 --help | --hel | -h )
5593 echo "$ac_cs_usage"; exit 0 ;;
5594 --debug | --d* | -d )
5596 --file | --fil | --fi | --f )
5598 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5599 ac_need_defaults=false;;
5600 --header | --heade | --head | --hea )
5602 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5603 ac_need_defaults=false;;
5604 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5605 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5609 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5610 Try \`$0 --help' for more information." >&5
5611 echo "$as_me: error: unrecognized option: $1
5612 Try \`$0 --help' for more information." >&2;}
5613 { (exit 1); exit 1; }; } ;;
5615 *) ac_config_targets="$ac_config_targets $1" ;;
5621 ac_configure_extra_args=
5623 if $ac_cs_silent; then
5625 ac_configure_extra_args="$ac_configure_extra_args --silent"
5629 cat >>$CONFIG_STATUS <<_ACEOF
5630 if \$ac_cs_recheck; then
5631 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5632 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5637 cat >>$CONFIG_STATUS <<_ACEOF
5639 # INIT-COMMANDS section.
5642 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5648 cat >>$CONFIG_STATUS <<\_ACEOF
5649 for ac_config_target in $ac_config_targets
5651 case "$ac_config_target" in
5652 # Handling of arguments.
5653 "gob2.spec" ) CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
5654 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5655 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5656 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5657 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
5658 "doc/gob2.1" ) CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
5659 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5660 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5661 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5662 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5663 { (exit 1); exit 1; }; };;
5667 # If the user did not use the arguments to specify the items to instantiate,
5668 # then the envvar interface is used. Set only those that are not.
5669 # We use the long form for the default assignment because of an extremely
5670 # bizarre bug on SunOS 4.1.3.
5671 if $ac_need_defaults; then
5672 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5673 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5674 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5677 # Have a temporary directory for convenience. Make it in the build tree
5678 # simply because there is no reason to put it here, and in addition,
5679 # creating and moving files from /tmp can sometimes cause problems.
5680 # Create a temporary directory, and hook for its removal unless debugging.
5683 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5684 trap '{ (exit 1); exit 1; }' 1 2 13 15
5687 # Create a (secure) tmp directory for tmp files.
5690 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5691 test -n "$tmp" && test -d "$tmp"
5694 tmp=./confstat$$-$RANDOM
5695 (umask 077 && mkdir $tmp)
5698 echo "$me: cannot create a temporary directory in ." >&2
5699 { (exit 1); exit 1; }
5704 cat >>$CONFIG_STATUS <<_ACEOF
5707 # CONFIG_FILES section.
5710 # No need to generate the scripts if there are no CONFIG_FILES.
5711 # This happens for instance when ./config.status config.h
5712 if test -n "\$CONFIG_FILES"; then
5713 # Protect against being on the right side of a sed subst in config.status.
5714 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5715 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5716 s,@SHELL@,$SHELL,;t t
5717 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5718 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5719 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5720 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5721 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5722 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5723 s,@exec_prefix@,$exec_prefix,;t t
5724 s,@prefix@,$prefix,;t t
5725 s,@program_transform_name@,$program_transform_name,;t t
5726 s,@bindir@,$bindir,;t t
5727 s,@sbindir@,$sbindir,;t t
5728 s,@libexecdir@,$libexecdir,;t t
5729 s,@datadir@,$datadir,;t t
5730 s,@sysconfdir@,$sysconfdir,;t t
5731 s,@sharedstatedir@,$sharedstatedir,;t t
5732 s,@localstatedir@,$localstatedir,;t t
5733 s,@libdir@,$libdir,;t t
5734 s,@includedir@,$includedir,;t t
5735 s,@oldincludedir@,$oldincludedir,;t t
5736 s,@infodir@,$infodir,;t t
5737 s,@mandir@,$mandir,;t t
5738 s,@build_alias@,$build_alias,;t t
5739 s,@host_alias@,$host_alias,;t t
5740 s,@target_alias@,$target_alias,;t t
5742 s,@ECHO_C@,$ECHO_C,;t t
5743 s,@ECHO_N@,$ECHO_N,;t t
5744 s,@ECHO_T@,$ECHO_T,;t t
5746 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5747 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5748 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5749 s,@CYGPATH_W@,$CYGPATH_W,;t t
5750 s,@PACKAGE@,$PACKAGE,;t t
5751 s,@VERSION@,$VERSION,;t t
5752 s,@ACLOCAL@,$ACLOCAL,;t t
5753 s,@AUTOCONF@,$AUTOCONF,;t t
5754 s,@AUTOMAKE@,$AUTOMAKE,;t t
5755 s,@AUTOHEADER@,$AUTOHEADER,;t t
5756 s,@MAKEINFO@,$MAKEINFO,;t t
5757 s,@AMTAR@,$AMTAR,;t t
5758 s,@install_sh@,$install_sh,;t t
5759 s,@STRIP@,$STRIP,;t t
5760 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5761 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5762 s,@mkdir_p@,$mkdir_p,;t t
5764 s,@SET_MAKE@,$SET_MAKE,;t t
5765 s,@am__leading_dot@,$am__leading_dot,;t t
5766 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5767 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5768 s,@MAINT@,$MAINT,;t t
5769 s,@NOINSTGOB_TRUE@,$NOINSTGOB_TRUE,;t t
5770 s,@NOINSTGOB_FALSE@,$NOINSTGOB_FALSE,;t t
5771 s,@SUBDIRS@,$SUBDIRS,;t t
5773 s,@CFLAGS@,$CFLAGS,;t t
5774 s,@LDFLAGS@,$LDFLAGS,;t t
5775 s,@CPPFLAGS@,$CPPFLAGS,;t t
5776 s,@ac_ct_CC@,$ac_ct_CC,;t t
5777 s,@EXEEXT@,$EXEEXT,;t t
5778 s,@OBJEXT@,$OBJEXT,;t t
5779 s,@DEPDIR@,$DEPDIR,;t t
5780 s,@am__include@,$am__include,;t t
5781 s,@am__quote@,$am__quote,;t t
5782 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5783 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5784 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5785 s,@CCDEPMODE@,$CCDEPMODE,;t t
5786 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5787 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5789 s,@EGREP@,$EGREP,;t t
5792 s,@LEXLIB@,$LEXLIB,;t t
5793 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
5797 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5798 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
5799 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
5800 s,@YFLAGS@,$YFLAGS,;t t
5801 s,@LIBOBJS@,$LIBOBJS,;t t
5802 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5807 cat >>$CONFIG_STATUS <<\_ACEOF
5808 # Split the substitutions into bite-sized pieces for seds with
5809 # small command number limits, like on Digital OSF/1 and HP-UX.
5811 ac_sed_frag=1 # Number of current file.
5812 ac_beg=1 # First line for current file.
5813 ac_end=$ac_max_sed_lines # Line after last line for current file.
5816 while $ac_more_lines; do
5817 if test $ac_beg -gt 1; then
5818 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5820 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5822 if test ! -s $tmp/subs.frag; then
5825 # The purpose of the label and of the branching condition is to
5826 # speed up the sed processing (if there are no `@' at all, there
5827 # is no need to browse any of the substitutions).
5828 # These are the two extra sed commands mentioned above.
5830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5831 if test -z "$ac_sed_cmds"; then
5832 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5834 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5836 ac_sed_frag=`expr $ac_sed_frag + 1`
5838 ac_end=`expr $ac_end + $ac_max_sed_lines`
5841 if test -z "$ac_sed_cmds"; then
5844 fi # test -n "$CONFIG_FILES"
5847 cat >>$CONFIG_STATUS <<\_ACEOF
5848 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5849 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5851 - | *:- | *:-:* ) # input from stdin
5853 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5854 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5855 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5856 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5857 * ) ac_file_in=$ac_file.in ;;
5860 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5861 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5862 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5863 X"$ac_file" : 'X\(//\)[^/]' \| \
5864 X"$ac_file" : 'X\(//\)$' \| \
5865 X"$ac_file" : 'X\(/\)' \| \
5866 . : '\(.\)' 2>/dev/null ||
5868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5870 /^X\(\/\/\)$/{ s//\1/; q; }
5871 /^X\(\/\).*/{ s//\1/; q; }
5873 { if $as_mkdir_p; then
5878 while test ! -d "$as_dir"; do
5879 as_dirs="$as_dir $as_dirs"
5880 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5882 X"$as_dir" : 'X\(//\)[^/]' \| \
5883 X"$as_dir" : 'X\(//\)$' \| \
5884 X"$as_dir" : 'X\(/\)' \| \
5885 . : '\(.\)' 2>/dev/null ||
5887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5889 /^X\(\/\/\)$/{ s//\1/; q; }
5890 /^X\(\/\).*/{ s//\1/; q; }
5893 test ! -n "$as_dirs" || mkdir $as_dirs
5894 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5895 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5896 { (exit 1); exit 1; }; }; }
5900 if test "$ac_dir" != .; then
5901 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5902 # A "../" for each directory in $ac_dir_suffix.
5903 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5905 ac_dir_suffix= ac_top_builddir=
5909 .) # No --srcdir option. We are building in place.
5911 if test -z "$ac_top_builddir"; then
5914 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5916 [\\/]* | ?:[\\/]* ) # Absolute path.
5917 ac_srcdir=$srcdir$ac_dir_suffix;
5918 ac_top_srcdir=$srcdir ;;
5920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5924 # Do not use `cd foo && pwd` to compute absolute paths, because
5925 # the directories may not exist.
5927 .) ac_abs_builddir="$ac_dir";;
5930 .) ac_abs_builddir=`pwd`;;
5931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5935 case $ac_abs_builddir in
5936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5938 case ${ac_top_builddir}. in
5939 .) ac_abs_top_builddir=$ac_abs_builddir;;
5940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5944 case $ac_abs_builddir in
5945 .) ac_abs_srcdir=$ac_srcdir;;
5948 .) ac_abs_srcdir=$ac_abs_builddir;;
5949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5953 case $ac_abs_builddir in
5954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5956 case $ac_top_srcdir in
5957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5965 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5966 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5969 if test x"$ac_file" != x-; then
5970 { echo "$as_me:$LINENO: creating $ac_file" >&5
5971 echo "$as_me: creating $ac_file" >&6;}
5974 # Let's still pretend it is `configure' which instantiates (i.e., don't
5975 # use $as_me), people would be surprised to read:
5976 # /* config.h. Generated by config.status. */
5977 if test x"$ac_file" = x-; then
5980 configure_input="$ac_file. "
5982 configure_input=$configure_input"Generated from `echo $ac_file_in |
5983 sed 's,.*/,,'` by configure."
5985 # First look for the input files in the build tree, otherwise in the
5987 ac_file_inputs=`IFS=:
5988 for f in $ac_file_in; do
5990 -) echo $tmp/stdin ;;
5992 # Absolute (can't be DOS-style, as IFS=:)
5993 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5994 echo "$as_me: error: cannot find input file: $f" >&2;}
5995 { (exit 1); exit 1; }; }
5998 if test -f "$f"; then
6001 elif test -f "$srcdir/$f"; then
6006 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6007 echo "$as_me: error: cannot find input file: $f" >&2;}
6008 { (exit 1); exit 1; }; }
6011 done` || { (exit 1); exit 1; }
6013 cat >>$CONFIG_STATUS <<_ACEOF
6017 cat >>$CONFIG_STATUS <<\_ACEOF
6019 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6020 s,@configure_input@,$configure_input,;t t
6021 s,@srcdir@,$ac_srcdir,;t t
6022 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6023 s,@top_srcdir@,$ac_top_srcdir,;t t
6024 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6025 s,@builddir@,$ac_builddir,;t t
6026 s,@abs_builddir@,$ac_abs_builddir,;t t
6027 s,@top_builddir@,$ac_top_builddir,;t t
6028 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6029 s,@INSTALL@,$ac_INSTALL,;t t
6030 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6032 if test x"$ac_file" != x-; then
6033 mv $tmp/out $ac_file
6041 cat >>$CONFIG_STATUS <<\_ACEOF
6044 # CONFIG_HEADER section.
6047 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6048 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6050 # ac_d sets the value in "#define NAME VALUE" lines.
6051 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6052 ac_dB='[ ].*$,\1#\2'
6055 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6056 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6057 ac_uB='$,\1#\2define\3'
6061 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6062 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6064 - | *:- | *:-:* ) # input from stdin
6066 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6067 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6068 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6069 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6070 * ) ac_file_in=$ac_file.in ;;
6073 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6074 echo "$as_me: creating $ac_file" >&6;}
6076 # First look for the input files in the build tree, otherwise in the
6078 ac_file_inputs=`IFS=:
6079 for f in $ac_file_in; do
6081 -) echo $tmp/stdin ;;
6083 # Absolute (can't be DOS-style, as IFS=:)
6084 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6085 echo "$as_me: error: cannot find input file: $f" >&2;}
6086 { (exit 1); exit 1; }; }
6087 # Do quote $f, to prevent DOS paths from being IFS'd.
6090 if test -f "$f"; then
6093 elif test -f "$srcdir/$f"; then
6098 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6099 echo "$as_me: error: cannot find input file: $f" >&2;}
6100 { (exit 1); exit 1; }; }
6103 done` || { (exit 1); exit 1; }
6104 # Remove the trailing spaces.
6105 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6109 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6110 # `conftest.undefs', that substitutes the proper values into
6111 # config.h.in to produce config.h. The first handles `#define'
6112 # templates, and the second `#undef' templates.
6113 # And first: Protect against being on the right side of a sed subst in
6114 # config.status. Protect against being in an unquoted here document
6116 rm -f conftest.defines conftest.undefs
6117 # Using a here document instead of a string reduces the quoting nightmare.
6118 # Putting comments in sed scripts is not portable.
6120 # `end' is used to avoid that the second main sed command (meant for
6121 # 0-ary CPP macros) applies to n-ary macro definitions.
6122 # See the Autoconf documentation for `clear'.
6123 cat >confdef2sed.sed <<\_ACEOF
6128 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6130 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6133 # If some macros were called several times there might be several times
6134 # the same #defines, which is useless. Nevertheless, we may not want to
6135 # sort them, since we want the *last* AC-DEFINE to be honored.
6136 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6137 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6138 rm -f confdef2sed.sed
6140 # This sed command replaces #undef with comments. This is necessary, for
6141 # example, in the case of _POSIX_SOURCE, which is predefined and required
6142 # on some systems where configure will not decide to define it.
6143 cat >>conftest.undefs <<\_ACEOF
6144 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6147 # Break up conftest.defines because some shells have a limit on the size
6148 # of here documents, and old seds have small limits too (100 cmds).
6149 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6150 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6151 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6152 echo ' :' >>$CONFIG_STATUS
6154 while grep . conftest.defines >/dev/null
6156 # Write a limited-size here document to $tmp/defines.sed.
6157 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6158 # Speed up: don't consider the non `#define' lines.
6159 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6160 # Work around the forget-to-reset-the-flag bug.
6161 echo 't clr' >>$CONFIG_STATUS
6162 echo ': clr' >>$CONFIG_STATUS
6163 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6165 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6169 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6170 rm -f conftest.defines
6171 mv conftest.tail conftest.defines
6173 rm -f conftest.defines
6174 echo ' fi # grep' >>$CONFIG_STATUS
6175 echo >>$CONFIG_STATUS
6177 # Break up conftest.undefs because some shells have a limit on the size
6178 # of here documents, and old seds have small limits too (100 cmds).
6179 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6181 while grep . conftest.undefs >/dev/null
6183 # Write a limited-size here document to $tmp/undefs.sed.
6184 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6185 # Speed up: don't consider the non `#undef'
6186 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6187 # Work around the forget-to-reset-the-flag bug.
6188 echo 't clr' >>$CONFIG_STATUS
6189 echo ': clr' >>$CONFIG_STATUS
6190 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6192 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6196 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6197 rm -f conftest.undefs
6198 mv conftest.tail conftest.undefs
6200 rm -f conftest.undefs
6202 cat >>$CONFIG_STATUS <<\_ACEOF
6203 # Let's still pretend it is `configure' which instantiates (i.e., don't
6204 # use $as_me), people would be surprised to read:
6205 # /* config.h. Generated by config.status. */
6206 if test x"$ac_file" = x-; then
6207 echo "/* Generated by configure. */" >$tmp/config.h
6209 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6211 cat $tmp/in >>$tmp/config.h
6213 if test x"$ac_file" != x-; then
6214 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6215 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6216 echo "$as_me: $ac_file is unchanged" >&6;}
6218 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6219 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6220 X"$ac_file" : 'X\(//\)[^/]' \| \
6221 X"$ac_file" : 'X\(//\)$' \| \
6222 X"$ac_file" : 'X\(/\)' \| \
6223 . : '\(.\)' 2>/dev/null ||
6225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6226 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6227 /^X\(\/\/\)$/{ s//\1/; q; }
6228 /^X\(\/\).*/{ s//\1/; q; }
6230 { if $as_mkdir_p; then
6235 while test ! -d "$as_dir"; do
6236 as_dirs="$as_dir $as_dirs"
6237 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6238 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6239 X"$as_dir" : 'X\(//\)[^/]' \| \
6240 X"$as_dir" : 'X\(//\)$' \| \
6241 X"$as_dir" : 'X\(/\)' \| \
6242 . : '\(.\)' 2>/dev/null ||
6244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6246 /^X\(\/\/\)$/{ s//\1/; q; }
6247 /^X\(\/\).*/{ s//\1/; q; }
6250 test ! -n "$as_dirs" || mkdir $as_dirs
6251 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6252 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6253 { (exit 1); exit 1; }; }; }
6256 mv $tmp/config.h $ac_file
6262 # Compute $ac_file's index in $config_headers.
6264 for _am_header in $config_headers :; do
6266 $ac_file | $ac_file:* )
6269 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6272 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6273 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6274 X$ac_file : 'X\(//\)[^/]' \| \
6275 X$ac_file : 'X\(//\)$' \| \
6276 X$ac_file : 'X\(/\)' \| \
6277 . : '\(.\)' 2>/dev/null ||
6279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6280 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6281 /^X\(\/\/\)$/{ s//\1/; q; }
6282 /^X\(\/\).*/{ s//\1/; q; }
6283 s/.*/./; q'`/stamp-h$_am_stamp_count
6286 cat >>$CONFIG_STATUS <<\_ACEOF
6289 # CONFIG_COMMANDS section.
6291 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6292 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6293 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6294 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6295 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6296 X"$ac_dest" : 'X\(//\)[^/]' \| \
6297 X"$ac_dest" : 'X\(//\)$' \| \
6298 X"$ac_dest" : 'X\(/\)' \| \
6299 . : '\(.\)' 2>/dev/null ||
6301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6302 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6303 /^X\(\/\/\)$/{ s//\1/; q; }
6304 /^X\(\/\).*/{ s//\1/; q; }
6306 { if $as_mkdir_p; then
6311 while test ! -d "$as_dir"; do
6312 as_dirs="$as_dir $as_dirs"
6313 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6315 X"$as_dir" : 'X\(//\)[^/]' \| \
6316 X"$as_dir" : 'X\(//\)$' \| \
6317 X"$as_dir" : 'X\(/\)' \| \
6318 . : '\(.\)' 2>/dev/null ||
6320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6321 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6322 /^X\(\/\/\)$/{ s//\1/; q; }
6323 /^X\(\/\).*/{ s//\1/; q; }
6326 test ! -n "$as_dirs" || mkdir $as_dirs
6327 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6328 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6329 { (exit 1); exit 1; }; }; }
6333 if test "$ac_dir" != .; then
6334 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6335 # A "../" for each directory in $ac_dir_suffix.
6336 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6338 ac_dir_suffix= ac_top_builddir=
6342 .) # No --srcdir option. We are building in place.
6344 if test -z "$ac_top_builddir"; then
6347 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6349 [\\/]* | ?:[\\/]* ) # Absolute path.
6350 ac_srcdir=$srcdir$ac_dir_suffix;
6351 ac_top_srcdir=$srcdir ;;
6353 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6354 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6357 # Do not use `cd foo && pwd` to compute absolute paths, because
6358 # the directories may not exist.
6360 .) ac_abs_builddir="$ac_dir";;
6363 .) ac_abs_builddir=`pwd`;;
6364 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6365 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6368 case $ac_abs_builddir in
6369 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6371 case ${ac_top_builddir}. in
6372 .) ac_abs_top_builddir=$ac_abs_builddir;;
6373 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6374 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6377 case $ac_abs_builddir in
6378 .) ac_abs_srcdir=$ac_srcdir;;
6381 .) ac_abs_srcdir=$ac_abs_builddir;;
6382 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6383 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6386 case $ac_abs_builddir in
6387 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6389 case $ac_top_srcdir in
6390 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6391 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6392 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6397 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6398 echo "$as_me: executing $ac_dest commands" >&6;}
6400 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6401 # Strip MF so we end up with the name of the file.
6402 mf=`echo "$mf" | sed -e 's/:.*$//'`
6403 # Check whether this is an Automake generated Makefile or not.
6404 # We used to match only the files named `Makefile.in', but
6405 # some people rename them; so instead we look at the file content.
6406 # Grep'ing the first line is not enough: some people post-process
6407 # each Makefile.in and add a new line on top of each file to say so.
6408 # So let's grep whole file.
6409 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6410 dirpart=`(dirname "$mf") 2>/dev/null ||
6411 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6412 X"$mf" : 'X\(//\)[^/]' \| \
6413 X"$mf" : 'X\(//\)$' \| \
6414 X"$mf" : 'X\(/\)' \| \
6415 . : '\(.\)' 2>/dev/null ||
6417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6419 /^X\(\/\/\)$/{ s//\1/; q; }
6420 /^X\(\/\).*/{ s//\1/; q; }
6425 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6426 # Extract the definition of DEP_FILES from the Makefile without
6428 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6429 test -z "$DEPDIR" && continue
6430 # When using ansi2knr, U may be empty or an underscore; expand it
6431 U=`sed -n 's/^U = //p' < "$mf"`
6432 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6433 # We invoke sed twice because it is the simplest approach to
6434 # changing $(DEPDIR) to its actual value in the expansion.
6435 for file in `sed -n '
6436 /^DEP_FILES = .*\\\\$/ {
6445 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6446 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6447 # Make sure the directory exists.
6448 test -f "$dirpart/$file" && continue
6449 fdir=`(dirname "$file") 2>/dev/null ||
6450 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6451 X"$file" : 'X\(//\)[^/]' \| \
6452 X"$file" : 'X\(//\)$' \| \
6453 X"$file" : 'X\(/\)' \| \
6454 . : '\(.\)' 2>/dev/null ||
6456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6458 /^X\(\/\/\)$/{ s//\1/; q; }
6459 /^X\(\/\).*/{ s//\1/; q; }
6461 { if $as_mkdir_p; then
6462 mkdir -p $dirpart/$fdir
6464 as_dir=$dirpart/$fdir
6466 while test ! -d "$as_dir"; do
6467 as_dirs="$as_dir $as_dirs"
6468 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6469 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6470 X"$as_dir" : 'X\(//\)[^/]' \| \
6471 X"$as_dir" : 'X\(//\)$' \| \
6472 X"$as_dir" : 'X\(/\)' \| \
6473 . : '\(.\)' 2>/dev/null ||
6475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6477 /^X\(\/\/\)$/{ s//\1/; q; }
6478 /^X\(\/\).*/{ s//\1/; q; }
6481 test ! -n "$as_dirs" || mkdir $as_dirs
6482 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6483 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6484 { (exit 1); exit 1; }; }; }
6486 # echo "creating $dirpart/$file"
6487 echo '# dummy' > "$dirpart/$file"
6495 cat >>$CONFIG_STATUS <<\_ACEOF
6497 { (exit 0); exit 0; }
6499 chmod +x $CONFIG_STATUS
6500 ac_clean_files=$ac_clean_files_save
6503 # configure is writing to config.log, and then calls config.status.
6504 # config.status does its own redirection, appending to config.log.
6505 # Unfortunately, on DOS this fails, as config.log is still kept open
6506 # by configure, so config.status won't be able to write to it; its
6507 # output is simply discarded. So we exec the FD to /dev/null,
6508 # effectively closing config.log, so it can be properly (re)opened and
6509 # appended to by config.status. When coming back to configure, we
6510 # need to make the FD available again.
6511 if test "$no_create" != yes; then
6513 ac_config_status_args=
6514 test "$silent" = yes &&
6515 ac_config_status_args="$ac_config_status_args --quiet"
6517 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6519 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6520 # would make configure fail if this is the last instruction.
6521 $ac_cs_success || { (exit 1); exit 1; }