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 PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT NOINSTGOB_TRUE NOINSTGOB_FALSE SUBDIRS INSTGOB NOINSTGOB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP YACC LEX LEXLIB LEX_OUTPUT_ROOT RM MV TAR PKG_CONFIG ac_pt_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
736 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
737 ac_env_PKG_CONFIG_value=$PKG_CONFIG
738 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
739 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
740 ac_env_GLIB_CFLAGS_set=${GLIB_CFLAGS+set}
741 ac_env_GLIB_CFLAGS_value=$GLIB_CFLAGS
742 ac_cv_env_GLIB_CFLAGS_set=${GLIB_CFLAGS+set}
743 ac_cv_env_GLIB_CFLAGS_value=$GLIB_CFLAGS
744 ac_env_GLIB_LIBS_set=${GLIB_LIBS+set}
745 ac_env_GLIB_LIBS_value=$GLIB_LIBS
746 ac_cv_env_GLIB_LIBS_set=${GLIB_LIBS+set}
747 ac_cv_env_GLIB_LIBS_value=$GLIB_LIBS
750 # Report the --help message.
752 if test "$ac_init_help" = "long"; then
753 # Omit some internal or obsolete options to make the list less imposing.
754 # This message is too long to be a string in the A/UX 3.1 sh.
756 \`configure' configures this package to adapt to many kinds of systems.
758 Usage: $0 [OPTION]... [VAR=VALUE]...
760 To assign environment variables (e.g., CC, CFLAGS...), specify them as
761 VAR=VALUE. See below for descriptions of some of the useful variables.
763 Defaults for the options are specified in brackets.
766 -h, --help display this help and exit
767 --help=short display options specific to this package
768 --help=recursive display the short help of all the included packages
769 -V, --version display version information and exit
770 -q, --quiet, --silent do not print \`checking...' messages
771 --cache-file=FILE cache test results in FILE [disabled]
772 -C, --config-cache alias for \`--cache-file=config.cache'
773 -n, --no-create do not create output files
774 --srcdir=DIR find the sources in DIR [configure dir or \`..']
779 Installation directories:
780 --prefix=PREFIX install architecture-independent files in PREFIX
782 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
785 By default, \`make install' will install all the files in
786 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
787 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
788 for instance \`--prefix=\$HOME'.
790 For better control, use the options below.
792 Fine tuning of the installation directories:
793 --bindir=DIR user executables [EPREFIX/bin]
794 --sbindir=DIR system admin executables [EPREFIX/sbin]
795 --libexecdir=DIR program executables [EPREFIX/libexec]
796 --datadir=DIR read-only architecture-independent data [PREFIX/share]
797 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
798 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
799 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
800 --libdir=DIR object code libraries [EPREFIX/lib]
801 --includedir=DIR C header files [PREFIX/include]
802 --oldincludedir=DIR C header files for non-gcc [/usr/include]
803 --infodir=DIR info documentation [PREFIX/info]
804 --mandir=DIR man documentation [PREFIX/man]
810 --program-prefix=PREFIX prepend PREFIX to installed program names
811 --program-suffix=SUFFIX append SUFFIX to installed program names
812 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
816 if test -n "$ac_init_help"; then
821 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
822 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
823 --enable-maintainer-mode enable make rules and dependencies not useful
824 (and sometimes confusing) to the casual installer
826 Some influential environment variables:
827 CC C compiler command
828 CFLAGS C compiler flags
829 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
830 nonstandard directory <lib dir>
831 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
832 headers in a nonstandard directory <include dir>
834 PKG_CONFIG path to pkg-config utility
835 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
836 GLIB_LIBS linker flags for GLIB, overriding pkg-config
838 Use these variables to override the choices made by `configure' or to help
839 it to find libraries and programs with nonstandard names/locations.
844 if test "$ac_init_help" = "recursive"; then
845 # If there are subdirs, report their specific --help.
847 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
848 test -d $ac_dir || continue
851 if test "$ac_dir" != .; then
852 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
853 # A "../" for each directory in $ac_dir_suffix.
854 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
856 ac_dir_suffix= ac_top_builddir=
860 .) # No --srcdir option. We are building in place.
862 if test -z "$ac_top_builddir"; then
865 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
867 [\\/]* | ?:[\\/]* ) # Absolute path.
868 ac_srcdir=$srcdir$ac_dir_suffix;
869 ac_top_srcdir=$srcdir ;;
871 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
872 ac_top_srcdir=$ac_top_builddir$srcdir ;;
875 # Do not use `cd foo && pwd` to compute absolute paths, because
876 # the directories may not exist.
878 .) ac_abs_builddir="$ac_dir";;
881 .) ac_abs_builddir=`pwd`;;
882 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
883 *) ac_abs_builddir=`pwd`/"$ac_dir";;
886 case $ac_abs_builddir in
887 .) ac_abs_top_builddir=${ac_top_builddir}.;;
889 case ${ac_top_builddir}. in
890 .) ac_abs_top_builddir=$ac_abs_builddir;;
891 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
892 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
895 case $ac_abs_builddir in
896 .) ac_abs_srcdir=$ac_srcdir;;
899 .) ac_abs_srcdir=$ac_abs_builddir;;
900 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
901 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
904 case $ac_abs_builddir in
905 .) ac_abs_top_srcdir=$ac_top_srcdir;;
907 case $ac_top_srcdir in
908 .) ac_abs_top_srcdir=$ac_abs_builddir;;
909 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
910 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
915 # Check for guested configure; otherwise get Cygnus style configure.
916 if test -f $ac_srcdir/configure.gnu; then
918 $SHELL $ac_srcdir/configure.gnu --help=recursive
919 elif test -f $ac_srcdir/configure; then
921 $SHELL $ac_srcdir/configure --help=recursive
922 elif test -f $ac_srcdir/configure.ac ||
923 test -f $ac_srcdir/configure.in; then
927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
933 test -n "$ac_init_help" && exit 0
934 if $ac_init_version; then
937 Copyright (C) 2003 Free Software Foundation, Inc.
938 This configure script is free software; the Free Software Foundation
939 gives unlimited permission to copy, distribute and modify it.
945 This file contains any messages produced by compilers while
946 running configure, to aid debugging if configure makes a mistake.
948 It was created by $as_me, which was
949 generated by GNU Autoconf 2.59. Invocation command line was
960 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
961 uname -m = `(uname -m) 2>/dev/null || echo unknown`
962 uname -r = `(uname -r) 2>/dev/null || echo unknown`
963 uname -s = `(uname -s) 2>/dev/null || echo unknown`
964 uname -v = `(uname -v) 2>/dev/null || echo unknown`
966 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
967 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
969 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
970 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
971 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
972 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
973 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
974 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
975 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
983 test -z "$as_dir" && as_dir=.
999 # Keep a trace of the command line.
1000 # Strip out --no-create and --no-recursion so they do not pile up.
1001 # Strip out --silent because we don't want to record it for future runs.
1002 # Also quote any args containing shell meta-characters.
1003 # Make two passes to allow for proper duplicate-argument suppression.
1008 ac_must_keep_next=false
1014 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1016 | -silent | --silent | --silen | --sile | --sil)
1018 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1019 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1022 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1024 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1025 if test $ac_must_keep_next = true; then
1026 ac_must_keep_next=false # Got value, back to normal.
1029 *=* | --config-cache | -C | -disable-* | --disable-* \
1030 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1031 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1032 | -with-* | --with-* | -without-* | --without-* | --x)
1033 case "$ac_configure_args0 " in
1034 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1037 -* ) ac_must_keep_next=true ;;
1040 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1041 # Get rid of the leading space.
1047 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1048 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1050 # When interrupted or exit'd, cleanup temporary files, and complete
1051 # config.log. We remove comments because anyway the quotes in there
1052 # would cause problems or look ugly.
1053 # WARNING: Be sure not to use single quotes in there, as some shells,
1054 # such as our DU 5.0 friend, will then `close' the trap.
1055 trap 'exit_status=$?
1056 # Save into config.log some information that might help in debugging.
1061 ## ---------------- ##
1062 ## Cache variables. ##
1063 ## ---------------- ##
1066 # The following way of writing the cache mishandles newlines in values,
1069 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1072 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1077 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1084 ## ----------------- ##
1085 ## Output variables. ##
1086 ## ----------------- ##
1089 for ac_var in $ac_subst_vars
1091 eval ac_val=$`echo $ac_var`
1092 echo "$ac_var='"'"'$ac_val'"'"'"
1096 if test -n "$ac_subst_files"; then
1103 for ac_var in $ac_subst_files
1105 eval ac_val=$`echo $ac_var`
1106 echo "$ac_var='"'"'$ac_val'"'"'"
1111 if test -s confdefs.h; then
1118 sed "/^$/d" confdefs.h | sort
1121 test "$ac_signal" != 0 &&
1122 echo "$as_me: caught signal $ac_signal"
1123 echo "$as_me: exit $exit_status"
1125 rm -f core *.core &&
1126 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1129 for ac_signal in 1 2 13 15; do
1130 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1134 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1135 rm -rf conftest* confdefs.h
1136 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1139 # Predefined preprocessor variables.
1141 cat >>confdefs.h <<_ACEOF
1142 #define PACKAGE_NAME "$PACKAGE_NAME"
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_STRING "$PACKAGE_STRING"
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1166 # Let the site file select an alternate cache file if it wants to.
1167 # Prefer explicitly selected file to automatically selected ones.
1168 if test -z "$CONFIG_SITE"; then
1169 if test "x$prefix" != xNONE; then
1170 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1172 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1175 for ac_site_file in $CONFIG_SITE; do
1176 if test -r "$ac_site_file"; then
1177 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1178 echo "$as_me: loading site script $ac_site_file" >&6;}
1179 sed 's/^/| /' "$ac_site_file" >&5
1184 if test -r "$cache_file"; then
1185 # Some versions of bash will fail to source /dev/null (special
1186 # files actually), so we avoid doing that.
1187 if test -f "$cache_file"; then
1188 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1189 echo "$as_me: loading cache $cache_file" >&6;}
1191 [\\/]* | ?:[\\/]* ) . $cache_file;;
1192 *) . ./$cache_file;;
1196 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1197 echo "$as_me: creating cache $cache_file" >&6;}
1201 # Check that the precious variables saved in the cache have kept the same
1203 ac_cache_corrupted=false
1204 for ac_var in `(set) 2>&1 |
1205 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1206 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1207 eval ac_new_set=\$ac_env_${ac_var}_set
1208 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1209 eval ac_new_val="\$ac_env_${ac_var}_value"
1210 case $ac_old_set,$ac_new_set in
1212 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1213 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1214 ac_cache_corrupted=: ;;
1216 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1217 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1218 ac_cache_corrupted=: ;;
1221 if test "x$ac_old_val" != "x$ac_new_val"; then
1222 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1223 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1224 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1225 echo "$as_me: former value: $ac_old_val" >&2;}
1226 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1227 echo "$as_me: current value: $ac_new_val" >&2;}
1228 ac_cache_corrupted=:
1231 # Pass precious variables to config.status.
1232 if test "$ac_new_set" = set; then
1234 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1235 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1236 *) ac_arg=$ac_var=$ac_new_val ;;
1238 case " $ac_configure_args " in
1239 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1240 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1244 if $ac_cache_corrupted; then
1245 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1246 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1247 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1248 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1249 { (exit 1); exit 1; }; }
1253 ac_cpp='$CPP $CPPFLAGS'
1254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1277 ac_config_headers="$ac_config_headers config.h"
1279 ac_config_commands="$ac_config_commands default-1"
1281 am__api_version="1.4"
1283 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1284 if test -f $ac_dir/install-sh; then
1286 ac_install_sh="$ac_aux_dir/install-sh -c"
1288 elif test -f $ac_dir/install.sh; then
1290 ac_install_sh="$ac_aux_dir/install.sh -c"
1292 elif test -f $ac_dir/shtool; then
1294 ac_install_sh="$ac_aux_dir/shtool install -c"
1298 if test -z "$ac_aux_dir"; then
1299 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1300 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1301 { (exit 1); exit 1; }; }
1303 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1304 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1305 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1307 # Find a good install program. We prefer a C program (faster),
1308 # so one script is as good as another. But avoid the broken or
1309 # incompatible versions:
1310 # SysV /etc/install, /usr/sbin/install
1311 # SunOS /usr/etc/install
1312 # IRIX /sbin/install
1314 # AmigaOS /C/install, which installs bootblocks on floppy discs
1315 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1316 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1317 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1318 # OS/2's system install, which has a completely different semantic
1319 # ./install, which can be erroneously created by make from ./install.sh.
1320 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1321 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1322 if test -z "$INSTALL"; then
1323 if test "${ac_cv_path_install+set}" = set; then
1324 echo $ECHO_N "(cached) $ECHO_C" >&6
1326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1330 test -z "$as_dir" && as_dir=.
1331 # Account for people who put trailing slashes in PATH elements.
1333 ./ | .// | /cC/* | \
1334 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1335 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1338 # OSF1 and SCO ODT 3.0 have their own names for install.
1339 # Don't use installbsd from OSF since it installs stuff as root
1341 for ac_prog in ginstall scoinst install; do
1342 for ac_exec_ext in '' $ac_executable_extensions; do
1343 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1344 if test $ac_prog = install &&
1345 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1346 # AIX install. It has an incompatible calling convention.
1348 elif test $ac_prog = install &&
1349 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1350 # program-specific install script used by HP pwplus--don't use.
1353 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1365 if test "${ac_cv_path_install+set}" = set; then
1366 INSTALL=$ac_cv_path_install
1368 # As a last resort, use the slow shell script. We don't cache a
1369 # path for INSTALL within a source directory, because that will
1370 # break other packages using the cache if that directory is
1371 # removed, or if the path is relative.
1372 INSTALL=$ac_install_sh
1375 echo "$as_me:$LINENO: result: $INSTALL" >&5
1376 echo "${ECHO_T}$INSTALL" >&6
1378 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1379 # It thinks the first close brace ends the variable substitution.
1380 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1382 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1384 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1386 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1387 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1390 echo timestamp > conftestfile
1391 # Do `set' in a subshell so we don't clobber the current shell's
1392 # arguments. Must try -L first in case configure is actually a
1393 # symlink; some systems play weird games with the mod time of symlinks
1394 # (eg FreeBSD returns the mod time of the symlink's containing
1397 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1398 if test "$*" = "X"; then
1400 set X `ls -t $srcdir/configure conftestfile`
1402 if test "$*" != "X $srcdir/configure conftestfile" \
1403 && test "$*" != "X conftestfile $srcdir/configure"; then
1405 # If neither matched, then we have a broken ls. This can happen
1406 # if, for instance, CONFIG_SHELL is bash and it inherits a
1407 # broken ls alias from the environment. This has actually
1408 # happened. Such a system could not be considered "sane".
1409 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1410 alias in your environment" >&5
1411 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1412 alias in your environment" >&2;}
1413 { (exit 1); exit 1; }; }
1416 test "$2" = conftestfile
1422 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1423 Check your system clock" >&5
1424 echo "$as_me: error: newly created file is older than distributed files!
1425 Check your system clock" >&2;}
1426 { (exit 1); exit 1; }; }
1429 echo "$as_me:$LINENO: result: yes" >&5
1430 echo "${ECHO_T}yes" >&6
1431 test "$program_prefix" != NONE &&
1432 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1433 # Use a double $ so make ignores it.
1434 test "$program_suffix" != NONE &&
1435 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1436 # Double any \ or $. echo might interpret backslashes.
1437 # By default was `s,x,x', remove it if useless.
1438 cat <<\_ACEOF >conftest.sed
1439 s/[\\$]/&&/g;s/;s,x,x,$//
1441 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1444 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1445 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1446 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1447 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1448 echo $ECHO_N "(cached) $ECHO_C" >&6
1450 cat >conftest.make <<\_ACEOF
1452 @echo 'ac_maketemp="$(MAKE)"'
1454 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1455 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1456 if test -n "$ac_maketemp"; then
1457 eval ac_cv_prog_make_${ac_make}_set=yes
1459 eval ac_cv_prog_make_${ac_make}_set=no
1463 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1464 echo "$as_me:$LINENO: result: yes" >&5
1465 echo "${ECHO_T}yes" >&6
1468 echo "$as_me:$LINENO: result: no" >&5
1469 echo "${ECHO_T}no" >&6
1470 SET_MAKE="MAKE=${MAKE-make}"
1478 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1479 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1480 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1481 { (exit 1); exit 1; }; }
1484 cat >>confdefs.h <<_ACEOF
1485 #define PACKAGE "$PACKAGE"
1489 cat >>confdefs.h <<_ACEOF
1490 #define VERSION "$VERSION"
1495 missing_dir=`cd $ac_aux_dir && pwd`
1496 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1497 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1498 # Run test in a subshell; some versions of sh will print an error if
1499 # an executable is not found, even if stderr is redirected.
1500 # Redirect stdin to placate older versions of autoconf. Sigh.
1501 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1502 ACLOCAL=aclocal-${am__api_version}
1503 echo "$as_me:$LINENO: result: found" >&5
1504 echo "${ECHO_T}found" >&6
1506 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1507 echo "$as_me:$LINENO: result: missing" >&5
1508 echo "${ECHO_T}missing" >&6
1511 echo "$as_me:$LINENO: checking for working autoconf" >&5
1512 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1513 # Run test in a subshell; some versions of sh will print an error if
1514 # an executable is not found, even if stderr is redirected.
1515 # Redirect stdin to placate older versions of autoconf. Sigh.
1516 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1518 echo "$as_me:$LINENO: result: found" >&5
1519 echo "${ECHO_T}found" >&6
1521 AUTOCONF="$missing_dir/missing autoconf"
1522 echo "$as_me:$LINENO: result: missing" >&5
1523 echo "${ECHO_T}missing" >&6
1526 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1527 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1528 # Run test in a subshell; some versions of sh will print an error if
1529 # an executable is not found, even if stderr is redirected.
1530 # Redirect stdin to placate older versions of autoconf. Sigh.
1531 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1532 AUTOMAKE=automake-${am__api_version}
1533 echo "$as_me:$LINENO: result: found" >&5
1534 echo "${ECHO_T}found" >&6
1536 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1537 echo "$as_me:$LINENO: result: missing" >&5
1538 echo "${ECHO_T}missing" >&6
1541 echo "$as_me:$LINENO: checking for working autoheader" >&5
1542 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1543 # Run test in a subshell; some versions of sh will print an error if
1544 # an executable is not found, even if stderr is redirected.
1545 # Redirect stdin to placate older versions of autoconf. Sigh.
1546 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1547 AUTOHEADER=autoheader
1548 echo "$as_me:$LINENO: result: found" >&5
1549 echo "${ECHO_T}found" >&6
1551 AUTOHEADER="$missing_dir/missing autoheader"
1552 echo "$as_me:$LINENO: result: missing" >&5
1553 echo "${ECHO_T}missing" >&6
1556 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1557 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1558 # Run test in a subshell; some versions of sh will print an error if
1559 # an executable is not found, even if stderr is redirected.
1560 # Redirect stdin to placate older versions of autoconf. Sigh.
1561 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1563 echo "$as_me:$LINENO: result: found" >&5
1564 echo "${ECHO_T}found" >&6
1566 MAKEINFO="$missing_dir/missing makeinfo"
1567 echo "$as_me:$LINENO: result: missing" >&5
1568 echo "${ECHO_T}missing" >&6
1572 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1573 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1574 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1575 if test "${enable_maintainer_mode+set}" = set; then
1576 enableval="$enable_maintainer_mode"
1577 USE_MAINTAINER_MODE=$enableval
1579 USE_MAINTAINER_MODE=no
1581 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1582 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1585 if test $USE_MAINTAINER_MODE = yes; then
1586 MAINTAINER_MODE_TRUE=
1587 MAINTAINER_MODE_FALSE='#'
1589 MAINTAINER_MODE_TRUE='#'
1590 MAINTAINER_MODE_FALSE=
1592 MAINT=$MAINTAINER_MODE_TRUE
1601 if test -f ../NOINST_GOB; then
1609 if test -f ../NOINST_GOB ; then
1610 echo "$as_me:$LINENO: result: *** NOT Going to install GOB ***" >&5
1611 echo "${ECHO_T}*** NOT Going to install GOB ***" >&6
1612 SUBDIRS="src examples"
1616 SUBDIRS="src examples doc"
1625 ac_cpp='$CPP $CPPFLAGS'
1626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1629 if test -n "$ac_tool_prefix"; then
1630 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1631 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1632 echo "$as_me:$LINENO: checking for $ac_word" >&5
1633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1634 if test "${ac_cv_prog_CC+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 if test -n "$CC"; then
1638 ac_cv_prog_CC="$CC" # Let the user override the test.
1640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1644 test -z "$as_dir" && as_dir=.
1645 for ac_exec_ext in '' $ac_executable_extensions; do
1646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1647 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1657 if test -n "$CC"; then
1658 echo "$as_me:$LINENO: result: $CC" >&5
1659 echo "${ECHO_T}$CC" >&6
1661 echo "$as_me:$LINENO: result: no" >&5
1662 echo "${ECHO_T}no" >&6
1666 if test -z "$ac_cv_prog_CC"; then
1668 # Extract the first word of "gcc", so it can be a program name with args.
1669 set dummy gcc; ac_word=$2
1670 echo "$as_me:$LINENO: checking for $ac_word" >&5
1671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1672 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 if test -n "$ac_ct_CC"; then
1676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1682 test -z "$as_dir" && as_dir=.
1683 for ac_exec_ext in '' $ac_executable_extensions; do
1684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1685 ac_cv_prog_ac_ct_CC="gcc"
1686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1695 if test -n "$ac_ct_CC"; then
1696 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1697 echo "${ECHO_T}$ac_ct_CC" >&6
1699 echo "$as_me:$LINENO: result: no" >&5
1700 echo "${ECHO_T}no" >&6
1708 if test -z "$CC"; then
1709 if test -n "$ac_tool_prefix"; then
1710 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1711 set dummy ${ac_tool_prefix}cc; ac_word=$2
1712 echo "$as_me:$LINENO: checking for $ac_word" >&5
1713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714 if test "${ac_cv_prog_CC+set}" = set; then
1715 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 if test -n "$CC"; then
1718 ac_cv_prog_CC="$CC" # Let the user override the test.
1720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1724 test -z "$as_dir" && as_dir=.
1725 for ac_exec_ext in '' $ac_executable_extensions; do
1726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1727 ac_cv_prog_CC="${ac_tool_prefix}cc"
1728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1737 if test -n "$CC"; then
1738 echo "$as_me:$LINENO: result: $CC" >&5
1739 echo "${ECHO_T}$CC" >&6
1741 echo "$as_me:$LINENO: result: no" >&5
1742 echo "${ECHO_T}no" >&6
1746 if test -z "$ac_cv_prog_CC"; then
1748 # Extract the first word of "cc", so it can be a program name with args.
1749 set dummy cc; ac_word=$2
1750 echo "$as_me:$LINENO: checking for $ac_word" >&5
1751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 if test -n "$ac_ct_CC"; then
1756 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1762 test -z "$as_dir" && as_dir=.
1763 for ac_exec_ext in '' $ac_executable_extensions; do
1764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1765 ac_cv_prog_ac_ct_CC="cc"
1766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1774 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1775 if test -n "$ac_ct_CC"; then
1776 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1777 echo "${ECHO_T}$ac_ct_CC" >&6
1779 echo "$as_me:$LINENO: result: no" >&5
1780 echo "${ECHO_T}no" >&6
1789 if test -z "$CC"; then
1790 # Extract the first word of "cc", so it can be a program name with args.
1791 set dummy cc; ac_word=$2
1792 echo "$as_me:$LINENO: checking for $ac_word" >&5
1793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1794 if test "${ac_cv_prog_CC+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 if test -n "$CC"; then
1798 ac_cv_prog_CC="$CC" # Let the user override the test.
1801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1805 test -z "$as_dir" && as_dir=.
1806 for ac_exec_ext in '' $ac_executable_extensions; do
1807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1808 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1809 ac_prog_rejected=yes
1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1819 if test $ac_prog_rejected = yes; then
1820 # We found a bogon in the path, so make sure we never use it.
1821 set dummy $ac_cv_prog_CC
1823 if test $# != 0; then
1824 # We chose a different compiler from the bogus one.
1825 # However, it has the same basename, so the bogon will be chosen
1826 # first if we set CC to just the basename; use the full file name.
1828 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1834 if test -n "$CC"; then
1835 echo "$as_me:$LINENO: result: $CC" >&5
1836 echo "${ECHO_T}$CC" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1843 if test -z "$CC"; then
1844 if test -n "$ac_tool_prefix"; then
1847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1848 set dummy $ac_tool_prefix$ac_prog; 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_CC+set}" = set; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 if test -n "$CC"; then
1855 ac_cv_prog_CC="$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_CC="$ac_tool_prefix$ac_prog"
1865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1874 if test -n "$CC"; then
1875 echo "$as_me:$LINENO: result: $CC" >&5
1876 echo "${ECHO_T}$CC" >&6
1878 echo "$as_me:$LINENO: result: no" >&5
1879 echo "${ECHO_T}no" >&6
1882 test -n "$CC" && break
1885 if test -z "$CC"; then
1889 # Extract the first word of "$ac_prog", so it can be a program name with args.
1890 set dummy $ac_prog; 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_ac_ct_CC+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 if test -n "$ac_ct_CC"; then
1897 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="$ac_prog"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1915 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1916 if test -n "$ac_ct_CC"; then
1917 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1918 echo "${ECHO_T}$ac_ct_CC" >&6
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1924 test -n "$ac_ct_CC" && break
1933 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1934 See \`config.log' for more details." >&5
1935 echo "$as_me: error: no acceptable C compiler found in \$PATH
1936 See \`config.log' for more details." >&2;}
1937 { (exit 1); exit 1; }; }
1939 # Provide some information about the compiler.
1940 echo "$as_me:$LINENO:" \
1941 "checking for C compiler version" >&5
1942 ac_compiler=`set X $ac_compile; echo $2`
1943 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1944 (eval $ac_compiler --version </dev/null >&5) 2>&5
1946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1947 (exit $ac_status); }
1948 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1949 (eval $ac_compiler -v </dev/null >&5) 2>&5
1951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952 (exit $ac_status); }
1953 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1954 (eval $ac_compiler -V </dev/null >&5) 2>&5
1956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1957 (exit $ac_status); }
1959 cat >conftest.$ac_ext <<_ACEOF
1962 cat confdefs.h >>conftest.$ac_ext
1963 cat >>conftest.$ac_ext <<_ACEOF
1964 /* end confdefs.h. */
1974 ac_clean_files_save=$ac_clean_files
1975 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1976 # Try to create an executable without -o first, disregard a.out.
1977 # It will help us diagnose broken compilers, and finding out an intuition
1979 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1980 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1981 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1982 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1983 (eval $ac_link_default) 2>&5
1985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1986 (exit $ac_status); }; then
1987 # Find the output, starting from the most likely. This scheme is
1988 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1991 # Be careful to initialize this variable, since it used to be cached.
1992 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1994 # b.out is created by i960 compilers.
1995 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1997 test -f "$ac_file" || continue
1999 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2002 # This is the source file.
2005 # We found the default executable, but exeext='' is most
2009 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2010 # FIXME: I believe we export ac_cv_exeext for Libtool,
2011 # but it would be cool to find out if it's true. Does anybody
2012 # maintain Libtool? --akim.
2020 echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2023 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2024 See \`config.log' for more details." >&5
2025 echo "$as_me: error: C compiler cannot create executables
2026 See \`config.log' for more details." >&2;}
2027 { (exit 77); exit 77; }; }
2030 ac_exeext=$ac_cv_exeext
2031 echo "$as_me:$LINENO: result: $ac_file" >&5
2032 echo "${ECHO_T}$ac_file" >&6
2034 # Check the compiler produces executables we can run. If not, either
2035 # the compiler is broken, or we cross compile.
2036 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2037 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2038 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2039 # If not cross compiling, check that we can run a simple program.
2040 if test "$cross_compiling" != yes; then
2041 if { ac_try='./$ac_file'
2042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046 (exit $ac_status); }; }; then
2049 if test "$cross_compiling" = maybe; then
2052 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2053 If you meant to cross compile, use \`--host'.
2054 See \`config.log' for more details." >&5
2055 echo "$as_me: error: cannot run C compiled programs.
2056 If you meant to cross compile, use \`--host'.
2057 See \`config.log' for more details." >&2;}
2058 { (exit 1); exit 1; }; }
2062 echo "$as_me:$LINENO: result: yes" >&5
2063 echo "${ECHO_T}yes" >&6
2065 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2066 ac_clean_files=$ac_clean_files_save
2067 # Check the compiler produces executables we can run. If not, either
2068 # the compiler is broken, or we cross compile.
2069 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2070 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2071 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2072 echo "${ECHO_T}$cross_compiling" >&6
2074 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2075 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2077 (eval $ac_link) 2>&5
2079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080 (exit $ac_status); }; then
2081 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2082 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2083 # work properly (i.e., refer to `conftest.exe'), while it won't with
2085 for ac_file in conftest.exe conftest conftest.*; do
2086 test -f "$ac_file" || continue
2088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2089 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2096 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2097 See \`config.log' for more details." >&5
2098 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2099 See \`config.log' for more details." >&2;}
2100 { (exit 1); exit 1; }; }
2103 rm -f conftest$ac_cv_exeext
2104 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2105 echo "${ECHO_T}$ac_cv_exeext" >&6
2107 rm -f conftest.$ac_ext
2108 EXEEXT=$ac_cv_exeext
2110 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2111 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2112 if test "${ac_cv_objext+set}" = set; then
2113 echo $ECHO_N "(cached) $ECHO_C" >&6
2115 cat >conftest.$ac_ext <<_ACEOF
2118 cat confdefs.h >>conftest.$ac_ext
2119 cat >>conftest.$ac_ext <<_ACEOF
2120 /* end confdefs.h. */
2130 rm -f conftest.o conftest.obj
2131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2132 (eval $ac_compile) 2>&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }; then
2136 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2139 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2144 echo "$as_me: failed program was:" >&5
2145 sed 's/^/| /' conftest.$ac_ext >&5
2147 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2148 See \`config.log' for more details." >&5
2149 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2150 See \`config.log' for more details." >&2;}
2151 { (exit 1); exit 1; }; }
2154 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2156 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2157 echo "${ECHO_T}$ac_cv_objext" >&6
2158 OBJEXT=$ac_cv_objext
2160 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2161 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2162 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 cat >conftest.$ac_ext <<_ACEOF
2168 cat confdefs.h >>conftest.$ac_ext
2169 cat >>conftest.$ac_ext <<_ACEOF
2170 /* end confdefs.h. */
2183 rm -f conftest.$ac_objext
2184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2185 (eval $ac_compile) 2>conftest.er1
2187 grep -v '^ *+' conftest.er1 >conftest.err
2189 cat conftest.err >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); } &&
2192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }; } &&
2198 { ac_try='test -s conftest.$ac_objext'
2199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203 (exit $ac_status); }; }; then
2206 echo "$as_me: failed program was:" >&5
2207 sed 's/^/| /' conftest.$ac_ext >&5
2211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2212 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2215 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2216 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2217 GCC=`test $ac_compiler_gnu = yes && echo yes`
2218 ac_test_CFLAGS=${CFLAGS+set}
2219 ac_save_CFLAGS=$CFLAGS
2221 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2222 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2223 if test "${ac_cv_prog_cc_g+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 cat >conftest.$ac_ext <<_ACEOF
2229 cat confdefs.h >>conftest.$ac_ext
2230 cat >>conftest.$ac_ext <<_ACEOF
2231 /* end confdefs.h. */
2241 rm -f conftest.$ac_objext
2242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2243 (eval $ac_compile) 2>conftest.er1
2245 grep -v '^ *+' conftest.er1 >conftest.err
2247 cat conftest.err >&5
2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249 (exit $ac_status); } &&
2250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); }; } &&
2256 { ac_try='test -s conftest.$ac_objext'
2257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); }; }; then
2264 echo "$as_me: failed program was:" >&5
2265 sed 's/^/| /' conftest.$ac_ext >&5
2269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2271 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2272 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2273 if test "$ac_test_CFLAGS" = set; then
2274 CFLAGS=$ac_save_CFLAGS
2275 elif test $ac_cv_prog_cc_g = yes; then
2276 if test "$GCC" = yes; then
2282 if test "$GCC" = yes; then
2288 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2289 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2290 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 ac_cv_prog_cc_stdc=no
2295 cat >conftest.$ac_ext <<_ACEOF
2298 cat confdefs.h >>conftest.$ac_ext
2299 cat >>conftest.$ac_ext <<_ACEOF
2300 /* end confdefs.h. */
2303 #include <sys/types.h>
2304 #include <sys/stat.h>
2305 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2306 struct buf { int x; };
2307 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2308 static char *e (p, i)
2314 static char *f (char * (*g) (char **, int), char **p, ...)
2319 s = g (p, va_arg (v,int));
2324 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2325 function prototypes and stuff, but not '\xHH' hex character constants.
2326 These don't provoke an error unfortunately, instead are silently treated
2327 as 'x'. The following induces an error, until -std1 is added to get
2328 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2329 array size at least. It's necessary to write '\x00'==0 to get something
2330 that's true only with -std1. */
2331 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2333 int test (int i, double x);
2334 struct s1 {int (*f) (int a);};
2335 struct s2 {int (*f) (double a);};
2336 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2342 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2347 # Don't try gcc -ansi; that turns off useful extensions and
2348 # breaks some systems' header files.
2349 # AIX -qlanglvl=ansi
2350 # Ultrix and OSF/1 -std1
2351 # HP-UX 10.20 and later -Ae
2352 # HP-UX older versions -Aa -D_HPUX_SOURCE
2353 # SVR4 -Xc -D__EXTENSIONS__
2354 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2356 CC="$ac_save_CC $ac_arg"
2357 rm -f conftest.$ac_objext
2358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2359 (eval $ac_compile) 2>conftest.er1
2361 grep -v '^ *+' conftest.er1 >conftest.err
2363 cat conftest.err >&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); } &&
2366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }; } &&
2372 { ac_try='test -s conftest.$ac_objext'
2373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); }; }; then
2378 ac_cv_prog_cc_stdc=$ac_arg
2381 echo "$as_me: failed program was:" >&5
2382 sed 's/^/| /' conftest.$ac_ext >&5
2385 rm -f conftest.err conftest.$ac_objext
2387 rm -f conftest.$ac_ext conftest.$ac_objext
2392 case "x$ac_cv_prog_cc_stdc" in
2394 echo "$as_me:$LINENO: result: none needed" >&5
2395 echo "${ECHO_T}none needed" >&6 ;;
2397 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2398 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2399 CC="$CC $ac_cv_prog_cc_stdc" ;;
2402 # Some people use a C++ compiler to compile C. Since we use `exit',
2403 # in C++ we need to declare it. In case someone uses the same compiler
2404 # for both compiling C and C++ we need to have the C++ compiler decide
2405 # the declaration of exit, since it's the most demanding environment.
2406 cat >conftest.$ac_ext <<_ACEOF
2411 rm -f conftest.$ac_objext
2412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2413 (eval $ac_compile) 2>conftest.er1
2415 grep -v '^ *+' conftest.er1 >conftest.err
2417 cat conftest.err >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); } &&
2420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }; } &&
2426 { ac_try='test -s conftest.$ac_objext'
2427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); }; }; then
2432 for ac_declaration in \
2434 'extern "C" void std::exit (int) throw (); using std::exit;' \
2435 'extern "C" void std::exit (int); using std::exit;' \
2436 'extern "C" void exit (int) throw ();' \
2437 'extern "C" void exit (int);' \
2440 cat >conftest.$ac_ext <<_ACEOF
2443 cat confdefs.h >>conftest.$ac_ext
2444 cat >>conftest.$ac_ext <<_ACEOF
2445 /* end confdefs.h. */
2456 rm -f conftest.$ac_objext
2457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2458 (eval $ac_compile) 2>conftest.er1
2460 grep -v '^ *+' conftest.er1 >conftest.err
2462 cat conftest.err >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); } &&
2465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }; } &&
2471 { ac_try='test -s conftest.$ac_objext'
2472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; }; then
2479 echo "$as_me: failed program was:" >&5
2480 sed 's/^/| /' conftest.$ac_ext >&5
2484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2485 cat >conftest.$ac_ext <<_ACEOF
2488 cat confdefs.h >>conftest.$ac_ext
2489 cat >>conftest.$ac_ext <<_ACEOF
2490 /* end confdefs.h. */
2500 rm -f conftest.$ac_objext
2501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2502 (eval $ac_compile) 2>conftest.er1
2504 grep -v '^ *+' conftest.er1 >conftest.err
2506 cat conftest.err >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); } &&
2509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2530 if test -n "$ac_declaration"; then
2531 echo '#ifdef __cplusplus' >>confdefs.h
2532 echo $ac_declaration >>confdefs.h
2533 echo '#endif' >>confdefs.h
2537 echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.$ac_ext >&5
2541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2543 ac_cpp='$CPP $CPPFLAGS'
2544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2550 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2551 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2552 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2553 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 ac_check_lib_save_LIBS=$LIBS
2556 LIBS="-lcposix $LIBS"
2557 cat >conftest.$ac_ext <<_ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2564 /* Override any gcc2 internal prototype to avoid an error. */
2568 /* We use char because int might match the return type of a gcc2
2569 builtin and then its argument prototype would still apply. */
2579 rm -f conftest.$ac_objext conftest$ac_exeext
2580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2581 (eval $ac_link) 2>conftest.er1
2583 grep -v '^ *+' conftest.er1 >conftest.err
2585 cat conftest.err >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); } &&
2588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; } &&
2594 { ac_try='test -s conftest$ac_exeext'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2600 ac_cv_lib_cposix_strerror=yes
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2605 ac_cv_lib_cposix_strerror=no
2607 rm -f conftest.err conftest.$ac_objext \
2608 conftest$ac_exeext conftest.$ac_ext
2609 LIBS=$ac_check_lib_save_LIBS
2611 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2612 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2613 if test $ac_cv_lib_cposix_strerror = yes; then
2614 LIBS="$LIBS -lcposix"
2620 ac_cpp='$CPP $CPPFLAGS'
2621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2624 if test -n "$ac_tool_prefix"; then
2625 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2626 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2627 echo "$as_me:$LINENO: checking for $ac_word" >&5
2628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2629 if test "${ac_cv_prog_CC+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 if test -n "$CC"; then
2633 ac_cv_prog_CC="$CC" # Let the user override the test.
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir=.
2640 for ac_exec_ext in '' $ac_executable_extensions; do
2641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2642 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2652 if test -n "$CC"; then
2653 echo "$as_me:$LINENO: result: $CC" >&5
2654 echo "${ECHO_T}$CC" >&6
2656 echo "$as_me:$LINENO: result: no" >&5
2657 echo "${ECHO_T}no" >&6
2661 if test -z "$ac_cv_prog_CC"; then
2663 # Extract the first word of "gcc", so it can be a program name with args.
2664 set dummy gcc; ac_word=$2
2665 echo "$as_me:$LINENO: checking for $ac_word" >&5
2666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 if test -n "$ac_ct_CC"; then
2671 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir=.
2678 for ac_exec_ext in '' $ac_executable_extensions; do
2679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2680 ac_cv_prog_ac_ct_CC="gcc"
2681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2690 if test -n "$ac_ct_CC"; then
2691 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2692 echo "${ECHO_T}$ac_ct_CC" >&6
2694 echo "$as_me:$LINENO: result: no" >&5
2695 echo "${ECHO_T}no" >&6
2703 if test -z "$CC"; then
2704 if test -n "$ac_tool_prefix"; then
2705 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2706 set dummy ${ac_tool_prefix}cc; ac_word=$2
2707 echo "$as_me:$LINENO: checking for $ac_word" >&5
2708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2709 if test "${ac_cv_prog_CC+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2712 if test -n "$CC"; then
2713 ac_cv_prog_CC="$CC" # Let the user override the test.
2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2719 test -z "$as_dir" && as_dir=.
2720 for ac_exec_ext in '' $ac_executable_extensions; do
2721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2722 ac_cv_prog_CC="${ac_tool_prefix}cc"
2723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 if test -n "$CC"; then
2733 echo "$as_me:$LINENO: result: $CC" >&5
2734 echo "${ECHO_T}$CC" >&6
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2741 if test -z "$ac_cv_prog_CC"; then
2743 # Extract the first word of "cc", so it can be a program name with args.
2744 set dummy cc; ac_word=$2
2745 echo "$as_me:$LINENO: checking for $ac_word" >&5
2746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2747 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 if test -n "$ac_ct_CC"; then
2751 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2757 test -z "$as_dir" && as_dir=.
2758 for ac_exec_ext in '' $ac_executable_extensions; do
2759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2760 ac_cv_prog_ac_ct_CC="cc"
2761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2770 if test -n "$ac_ct_CC"; then
2771 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2772 echo "${ECHO_T}$ac_ct_CC" >&6
2774 echo "$as_me:$LINENO: result: no" >&5
2775 echo "${ECHO_T}no" >&6
2784 if test -z "$CC"; then
2785 # Extract the first word of "cc", so it can be a program name with args.
2786 set dummy cc; ac_word=$2
2787 echo "$as_me:$LINENO: checking for $ac_word" >&5
2788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2789 if test "${ac_cv_prog_CC+set}" = set; then
2790 echo $ECHO_N "(cached) $ECHO_C" >&6
2792 if test -n "$CC"; then
2793 ac_cv_prog_CC="$CC" # Let the user override the test.
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir=.
2801 for ac_exec_ext in '' $ac_executable_extensions; do
2802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2804 ac_prog_rejected=yes
2808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2814 if test $ac_prog_rejected = yes; then
2815 # We found a bogon in the path, so make sure we never use it.
2816 set dummy $ac_cv_prog_CC
2818 if test $# != 0; then
2819 # We chose a different compiler from the bogus one.
2820 # However, it has the same basename, so the bogon will be chosen
2821 # first if we set CC to just the basename; use the full file name.
2823 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2829 if test -n "$CC"; then
2830 echo "$as_me:$LINENO: result: $CC" >&5
2831 echo "${ECHO_T}$CC" >&6
2833 echo "$as_me:$LINENO: result: no" >&5
2834 echo "${ECHO_T}no" >&6
2838 if test -z "$CC"; then
2839 if test -n "$ac_tool_prefix"; then
2842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2843 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2844 echo "$as_me:$LINENO: checking for $ac_word" >&5
2845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2846 if test "${ac_cv_prog_CC+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 if test -n "$CC"; then
2850 ac_cv_prog_CC="$CC" # Let the user override the test.
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir=.
2857 for ac_exec_ext in '' $ac_executable_extensions; do
2858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2859 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$CC"; then
2870 echo "$as_me:$LINENO: result: $CC" >&5
2871 echo "${ECHO_T}$CC" >&6
2873 echo "$as_me:$LINENO: result: no" >&5
2874 echo "${ECHO_T}no" >&6
2877 test -n "$CC" && break
2880 if test -z "$CC"; then
2884 # Extract the first word of "$ac_prog", so it can be a program name with args.
2885 set dummy $ac_prog; ac_word=$2
2886 echo "$as_me:$LINENO: checking for $ac_word" >&5
2887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2888 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2891 if test -n "$ac_ct_CC"; then
2892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2901 ac_cv_prog_ac_ct_CC="$ac_prog"
2902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2911 if test -n "$ac_ct_CC"; then
2912 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2913 echo "${ECHO_T}$ac_ct_CC" >&6
2915 echo "$as_me:$LINENO: result: no" >&5
2916 echo "${ECHO_T}no" >&6
2919 test -n "$ac_ct_CC" && break
2928 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2929 See \`config.log' for more details." >&5
2930 echo "$as_me: error: no acceptable C compiler found in \$PATH
2931 See \`config.log' for more details." >&2;}
2932 { (exit 1); exit 1; }; }
2934 # Provide some information about the compiler.
2935 echo "$as_me:$LINENO:" \
2936 "checking for C compiler version" >&5
2937 ac_compiler=`set X $ac_compile; echo $2`
2938 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2939 (eval $ac_compiler --version </dev/null >&5) 2>&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); }
2943 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2944 (eval $ac_compiler -v </dev/null >&5) 2>&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }
2948 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2949 (eval $ac_compiler -V </dev/null >&5) 2>&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }
2954 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2955 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2956 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2957 echo $ECHO_N "(cached) $ECHO_C" >&6
2959 cat >conftest.$ac_ext <<_ACEOF
2962 cat confdefs.h >>conftest.$ac_ext
2963 cat >>conftest.$ac_ext <<_ACEOF
2964 /* end confdefs.h. */
2977 rm -f conftest.$ac_objext
2978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2979 (eval $ac_compile) 2>conftest.er1
2981 grep -v '^ *+' conftest.er1 >conftest.err
2983 cat conftest.err >&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); } &&
2986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; } &&
2992 { ac_try='test -s conftest.$ac_objext'
2993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); }; }; then
3000 echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3006 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3009 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3010 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3011 GCC=`test $ac_compiler_gnu = yes && echo yes`
3012 ac_test_CFLAGS=${CFLAGS+set}
3013 ac_save_CFLAGS=$CFLAGS
3015 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3016 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3017 if test "${ac_cv_prog_cc_g+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 cat >conftest.$ac_ext <<_ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3035 rm -f conftest.$ac_objext
3036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3037 (eval $ac_compile) 2>conftest.er1
3039 grep -v '^ *+' conftest.er1 >conftest.err
3041 cat conftest.err >&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); } &&
3044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; } &&
3050 { ac_try='test -s conftest.$ac_objext'
3051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; }; then
3058 echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3065 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3066 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3067 if test "$ac_test_CFLAGS" = set; then
3068 CFLAGS=$ac_save_CFLAGS
3069 elif test $ac_cv_prog_cc_g = yes; then
3070 if test "$GCC" = yes; then
3076 if test "$GCC" = yes; then
3082 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3083 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3084 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3087 ac_cv_prog_cc_stdc=no
3089 cat >conftest.$ac_ext <<_ACEOF
3092 cat confdefs.h >>conftest.$ac_ext
3093 cat >>conftest.$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3097 #include <sys/types.h>
3098 #include <sys/stat.h>
3099 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3100 struct buf { int x; };
3101 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3102 static char *e (p, i)
3108 static char *f (char * (*g) (char **, int), char **p, ...)
3113 s = g (p, va_arg (v,int));
3118 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3119 function prototypes and stuff, but not '\xHH' hex character constants.
3120 These don't provoke an error unfortunately, instead are silently treated
3121 as 'x'. The following induces an error, until -std1 is added to get
3122 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3123 array size at least. It's necessary to write '\x00'==0 to get something
3124 that's true only with -std1. */
3125 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3127 int test (int i, double x);
3128 struct s1 {int (*f) (int a);};
3129 struct s2 {int (*f) (double a);};
3130 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3136 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3141 # Don't try gcc -ansi; that turns off useful extensions and
3142 # breaks some systems' header files.
3143 # AIX -qlanglvl=ansi
3144 # Ultrix and OSF/1 -std1
3145 # HP-UX 10.20 and later -Ae
3146 # HP-UX older versions -Aa -D_HPUX_SOURCE
3147 # SVR4 -Xc -D__EXTENSIONS__
3148 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3150 CC="$ac_save_CC $ac_arg"
3151 rm -f conftest.$ac_objext
3152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3153 (eval $ac_compile) 2>conftest.er1
3155 grep -v '^ *+' conftest.er1 >conftest.err
3157 cat conftest.err >&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); } &&
3160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }; } &&
3166 { ac_try='test -s conftest.$ac_objext'
3167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); }; }; then
3172 ac_cv_prog_cc_stdc=$ac_arg
3175 echo "$as_me: failed program was:" >&5
3176 sed 's/^/| /' conftest.$ac_ext >&5
3179 rm -f conftest.err conftest.$ac_objext
3181 rm -f conftest.$ac_ext conftest.$ac_objext
3186 case "x$ac_cv_prog_cc_stdc" in
3188 echo "$as_me:$LINENO: result: none needed" >&5
3189 echo "${ECHO_T}none needed" >&6 ;;
3191 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3192 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3193 CC="$CC $ac_cv_prog_cc_stdc" ;;
3196 # Some people use a C++ compiler to compile C. Since we use `exit',
3197 # in C++ we need to declare it. In case someone uses the same compiler
3198 # for both compiling C and C++ we need to have the C++ compiler decide
3199 # the declaration of exit, since it's the most demanding environment.
3200 cat >conftest.$ac_ext <<_ACEOF
3205 rm -f conftest.$ac_objext
3206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3207 (eval $ac_compile) 2>conftest.er1
3209 grep -v '^ *+' conftest.er1 >conftest.err
3211 cat conftest.err >&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); } &&
3214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; } &&
3220 { ac_try='test -s conftest.$ac_objext'
3221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); }; }; then
3226 for ac_declaration in \
3228 'extern "C" void std::exit (int) throw (); using std::exit;' \
3229 'extern "C" void std::exit (int); using std::exit;' \
3230 'extern "C" void exit (int) throw ();' \
3231 'extern "C" void exit (int);' \
3234 cat >conftest.$ac_ext <<_ACEOF
3237 cat confdefs.h >>conftest.$ac_ext
3238 cat >>conftest.$ac_ext <<_ACEOF
3239 /* end confdefs.h. */
3250 rm -f conftest.$ac_objext
3251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3252 (eval $ac_compile) 2>conftest.er1
3254 grep -v '^ *+' conftest.er1 >conftest.err
3256 cat conftest.err >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } &&
3259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }; } &&
3265 { ac_try='test -s conftest.$ac_objext'
3266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }; }; then
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.$ac_ext >&5
3278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3279 cat >conftest.$ac_ext <<_ACEOF
3282 cat confdefs.h >>conftest.$ac_ext
3283 cat >>conftest.$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3294 rm -f conftest.$ac_objext
3295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3296 (eval $ac_compile) 2>conftest.er1
3298 grep -v '^ *+' conftest.er1 >conftest.err
3300 cat conftest.err >&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); } &&
3303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }; } &&
3309 { ac_try='test -s conftest.$ac_objext'
3310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); }; }; then
3317 echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3324 if test -n "$ac_declaration"; then
3325 echo '#ifdef __cplusplus' >>confdefs.h
3326 echo $ac_declaration >>confdefs.h
3327 echo '#endif' >>confdefs.h
3331 echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.$ac_ext >&5
3335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3337 ac_cpp='$CPP $CPPFLAGS'
3338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343 ac_cpp='$CPP $CPPFLAGS'
3344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3347 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3348 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3349 # On Suns, sometimes $CPP names a directory.
3350 if test -n "$CPP" && test -d "$CPP"; then
3353 if test -z "$CPP"; then
3354 if test "${ac_cv_prog_CPP+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6
3357 # Double quotes because CPP needs to be expanded
3358 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3361 for ac_c_preproc_warn_flag in '' yes
3363 # Use a header file that comes with gcc, so configuring glibc
3364 # with a fresh cross-compiler works.
3365 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3366 # <limits.h> exists even on freestanding compilers.
3367 # On the NeXT, cc -E runs the code through the compiler's parser,
3368 # not just through cpp. "Syntax error" is here to catch this case.
3369 cat >conftest.$ac_ext <<_ACEOF
3372 cat confdefs.h >>conftest.$ac_ext
3373 cat >>conftest.$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3376 # include <limits.h>
3378 # include <assert.h>
3382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3385 grep -v '^ *+' conftest.er1 >conftest.err
3387 cat conftest.err >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } >/dev/null; then
3390 if test -s conftest.err; then
3391 ac_cpp_err=$ac_c_preproc_warn_flag
3392 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3399 if test -z "$ac_cpp_err"; then
3402 echo "$as_me: failed program was:" >&5
3403 sed 's/^/| /' conftest.$ac_ext >&5
3405 # Broken: fails on valid input.
3408 rm -f conftest.err conftest.$ac_ext
3410 # OK, works on sane cases. Now check whether non-existent headers
3411 # can be detected and how.
3412 cat >conftest.$ac_ext <<_ACEOF
3415 cat confdefs.h >>conftest.$ac_ext
3416 cat >>conftest.$ac_ext <<_ACEOF
3417 /* end confdefs.h. */
3418 #include <ac_nonexistent.h>
3420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3423 grep -v '^ *+' conftest.er1 >conftest.err
3425 cat conftest.err >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } >/dev/null; then
3428 if test -s conftest.err; then
3429 ac_cpp_err=$ac_c_preproc_warn_flag
3430 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3437 if test -z "$ac_cpp_err"; then
3438 # Broken: success on invalid input.
3441 echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.$ac_ext >&5
3444 # Passes both tests.
3448 rm -f conftest.err conftest.$ac_ext
3451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3452 rm -f conftest.err conftest.$ac_ext
3453 if $ac_preproc_ok; then
3465 echo "$as_me:$LINENO: result: $CPP" >&5
3466 echo "${ECHO_T}$CPP" >&6
3468 for ac_c_preproc_warn_flag in '' yes
3470 # Use a header file that comes with gcc, so configuring glibc
3471 # with a fresh cross-compiler works.
3472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3473 # <limits.h> exists even on freestanding compilers.
3474 # On the NeXT, cc -E runs the code through the compiler's parser,
3475 # not just through cpp. "Syntax error" is here to catch this case.
3476 cat >conftest.$ac_ext <<_ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3483 # include <limits.h>
3485 # include <assert.h>
3489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3490 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3492 grep -v '^ *+' conftest.er1 >conftest.err
3494 cat conftest.err >&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); } >/dev/null; then
3497 if test -s conftest.err; then
3498 ac_cpp_err=$ac_c_preproc_warn_flag
3499 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3506 if test -z "$ac_cpp_err"; then
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3512 # Broken: fails on valid input.
3515 rm -f conftest.err conftest.$ac_ext
3517 # OK, works on sane cases. Now check whether non-existent headers
3518 # can be detected and how.
3519 cat >conftest.$ac_ext <<_ACEOF
3522 cat confdefs.h >>conftest.$ac_ext
3523 cat >>conftest.$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3525 #include <ac_nonexistent.h>
3527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3528 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3530 grep -v '^ *+' conftest.er1 >conftest.err
3532 cat conftest.err >&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); } >/dev/null; then
3535 if test -s conftest.err; then
3536 ac_cpp_err=$ac_c_preproc_warn_flag
3537 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3544 if test -z "$ac_cpp_err"; then
3545 # Broken: success on invalid input.
3548 echo "$as_me: failed program was:" >&5
3549 sed 's/^/| /' conftest.$ac_ext >&5
3551 # Passes both tests.
3555 rm -f conftest.err conftest.$ac_ext
3558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3559 rm -f conftest.err conftest.$ac_ext
3560 if $ac_preproc_ok; then
3563 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3564 See \`config.log' for more details." >&5
3565 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3566 See \`config.log' for more details." >&2;}
3567 { (exit 1); exit 1; }; }
3571 ac_cpp='$CPP $CPPFLAGS'
3572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3577 echo "$as_me:$LINENO: checking for egrep" >&5
3578 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3579 if test "${ac_cv_prog_egrep+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3583 then ac_cv_prog_egrep='grep -E'
3584 else ac_cv_prog_egrep='egrep'
3587 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3588 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3589 EGREP=$ac_cv_prog_egrep
3592 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3593 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3594 if test "${ac_cv_header_stdc+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 cat >conftest.$ac_ext <<_ACEOF
3600 cat confdefs.h >>conftest.$ac_ext
3601 cat >>conftest.$ac_ext <<_ACEOF
3602 /* end confdefs.h. */
3616 rm -f conftest.$ac_objext
3617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3618 (eval $ac_compile) 2>conftest.er1
3620 grep -v '^ *+' conftest.er1 >conftest.err
3622 cat conftest.err >&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } &&
3625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); }; } &&
3631 { ac_try='test -s conftest.$ac_objext'
3632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); }; }; then
3637 ac_cv_header_stdc=yes
3639 echo "$as_me: failed program was:" >&5
3640 sed 's/^/| /' conftest.$ac_ext >&5
3642 ac_cv_header_stdc=no
3644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3646 if test $ac_cv_header_stdc = yes; then
3647 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3648 cat >conftest.$ac_ext <<_ACEOF
3651 cat confdefs.h >>conftest.$ac_ext
3652 cat >>conftest.$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3658 $EGREP "memchr" >/dev/null 2>&1; then
3661 ac_cv_header_stdc=no
3667 if test $ac_cv_header_stdc = yes; then
3668 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3669 cat >conftest.$ac_ext <<_ACEOF
3672 cat confdefs.h >>conftest.$ac_ext
3673 cat >>conftest.$ac_ext <<_ACEOF
3674 /* end confdefs.h. */
3678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3679 $EGREP "free" >/dev/null 2>&1; then
3682 ac_cv_header_stdc=no
3688 if test $ac_cv_header_stdc = yes; then
3689 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3690 if test "$cross_compiling" = yes; then
3693 cat >conftest.$ac_ext <<_ACEOF
3696 cat confdefs.h >>conftest.$ac_ext
3697 cat >>conftest.$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3700 #if ((' ' & 0x0FF) == 0x020)
3701 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3702 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3704 # define ISLOWER(c) \
3705 (('a' <= (c) && (c) <= 'i') \
3706 || ('j' <= (c) && (c) <= 'r') \
3707 || ('s' <= (c) && (c) <= 'z'))
3708 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3711 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3716 for (i = 0; i < 256; i++)
3717 if (XOR (islower (i), ISLOWER (i))
3718 || toupper (i) != TOUPPER (i))
3723 rm -f conftest$ac_exeext
3724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3725 (eval $ac_link) 2>&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); }; }; then
3736 echo "$as_me: program exited with status $ac_status" >&5
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3741 ac_cv_header_stdc=no
3743 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3747 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3748 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3749 if test $ac_cv_header_stdc = yes; then
3751 cat >>confdefs.h <<\_ACEOF
3752 #define STDC_HEADERS 1
3757 for ac_prog in 'bison -y' byacc
3759 # Extract the first word of "$ac_prog", so it can be a program name with args.
3760 set dummy $ac_prog; ac_word=$2
3761 echo "$as_me:$LINENO: checking for $ac_word" >&5
3762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3763 if test "${ac_cv_prog_YACC+set}" = set; then
3764 echo $ECHO_N "(cached) $ECHO_C" >&6
3766 if test -n "$YACC"; then
3767 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3773 test -z "$as_dir" && as_dir=.
3774 for ac_exec_ext in '' $ac_executable_extensions; do
3775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3776 ac_cv_prog_YACC="$ac_prog"
3777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3785 YACC=$ac_cv_prog_YACC
3786 if test -n "$YACC"; then
3787 echo "$as_me:$LINENO: result: $YACC" >&5
3788 echo "${ECHO_T}$YACC" >&6
3790 echo "$as_me:$LINENO: result: no" >&5
3791 echo "${ECHO_T}no" >&6
3794 test -n "$YACC" && break
3796 test -n "$YACC" || YACC="yacc"
3798 missing_dir=`cd $ac_aux_dir && pwd`
3799 for ac_prog in flex lex
3801 # Extract the first word of "$ac_prog", so it can be a program name with args.
3802 set dummy $ac_prog; ac_word=$2
3803 echo "$as_me:$LINENO: checking for $ac_word" >&5
3804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3805 if test "${ac_cv_prog_LEX+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3808 if test -n "$LEX"; then
3809 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3815 test -z "$as_dir" && as_dir=.
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818 ac_cv_prog_LEX="$ac_prog"
3819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3828 if test -n "$LEX"; then
3829 echo "$as_me:$LINENO: result: $LEX" >&5
3830 echo "${ECHO_T}$LEX" >&6
3832 echo "$as_me:$LINENO: result: no" >&5
3833 echo "${ECHO_T}no" >&6
3836 test -n "$LEX" && break
3838 test -n "$LEX" || LEX="$missing_dir/missing flex"
3840 for ac_prog in flex lex
3842 # Extract the first word of "$ac_prog", so it can be a program name with args.
3843 set dummy $ac_prog; ac_word=$2
3844 echo "$as_me:$LINENO: checking for $ac_word" >&5
3845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3846 if test "${ac_cv_prog_LEX+set}" = set; then
3847 echo $ECHO_N "(cached) $ECHO_C" >&6
3849 if test -n "$LEX"; then
3850 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 test -z "$as_dir" && as_dir=.
3857 for ac_exec_ext in '' $ac_executable_extensions; do
3858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3859 ac_cv_prog_LEX="$ac_prog"
3860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 if test -n "$LEX"; then
3870 echo "$as_me:$LINENO: result: $LEX" >&5
3871 echo "${ECHO_T}$LEX" >&6
3873 echo "$as_me:$LINENO: result: no" >&5
3874 echo "${ECHO_T}no" >&6
3877 test -n "$LEX" && break
3879 test -n "$LEX" || LEX=":"
3881 if test -z "$LEXLIB"
3883 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3884 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3885 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 ac_check_lib_save_LIBS=$LIBS
3890 cat >conftest.$ac_ext <<_ACEOF
3893 cat confdefs.h >>conftest.$ac_ext
3894 cat >>conftest.$ac_ext <<_ACEOF
3895 /* end confdefs.h. */
3897 /* Override any gcc2 internal prototype to avoid an error. */
3901 /* We use char because int might match the return type of a gcc2
3902 builtin and then its argument prototype would still apply. */
3912 rm -f conftest.$ac_objext conftest$ac_exeext
3913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3914 (eval $ac_link) 2>conftest.er1
3916 grep -v '^ *+' conftest.er1 >conftest.err
3918 cat conftest.err >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); } &&
3921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; } &&
3927 { ac_try='test -s conftest$ac_exeext'
3928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); }; }; then
3933 ac_cv_lib_fl_yywrap=yes
3935 echo "$as_me: failed program was:" >&5
3936 sed 's/^/| /' conftest.$ac_ext >&5
3938 ac_cv_lib_fl_yywrap=no
3940 rm -f conftest.err conftest.$ac_objext \
3941 conftest$ac_exeext conftest.$ac_ext
3942 LIBS=$ac_check_lib_save_LIBS
3944 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3945 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3946 if test $ac_cv_lib_fl_yywrap = yes; then
3949 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3950 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3951 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3952 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 ac_check_lib_save_LIBS=$LIBS
3956 cat >conftest.$ac_ext <<_ACEOF
3959 cat confdefs.h >>conftest.$ac_ext
3960 cat >>conftest.$ac_ext <<_ACEOF
3961 /* end confdefs.h. */
3963 /* Override any gcc2 internal prototype to avoid an error. */
3967 /* We use char because int might match the return type of a gcc2
3968 builtin and then its argument prototype would still apply. */
3978 rm -f conftest.$ac_objext conftest$ac_exeext
3979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3980 (eval $ac_link) 2>conftest.er1
3982 grep -v '^ *+' conftest.er1 >conftest.err
3984 cat conftest.err >&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); } &&
3987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); }; } &&
3993 { ac_try='test -s conftest$ac_exeext'
3994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); }; }; then
3999 ac_cv_lib_l_yywrap=yes
4001 echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4004 ac_cv_lib_l_yywrap=no
4006 rm -f conftest.err conftest.$ac_objext \
4007 conftest$ac_exeext conftest.$ac_ext
4008 LIBS=$ac_check_lib_save_LIBS
4010 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4011 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4012 if test $ac_cv_lib_l_yywrap = yes; then
4020 if test "x$LEX" != "x:"; then
4021 echo "$as_me:$LINENO: checking lex output file root" >&5
4022 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4023 if test "${ac_cv_prog_lex_root+set}" = set; then
4024 echo $ECHO_N "(cached) $ECHO_C" >&6
4026 # The minimal lex program is just a single line: %%. But some broken lexes
4027 # (Solaris, I think it was) want two %% lines, so accommodate them.
4028 cat >conftest.l <<_ACEOF
4032 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4033 (eval $LEX conftest.l) 2>&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); }
4037 if test -f lex.yy.c; then
4038 ac_cv_prog_lex_root=lex.yy
4039 elif test -f lexyy.c; then
4040 ac_cv_prog_lex_root=lexyy
4042 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4043 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4044 { (exit 1); exit 1; }; }
4047 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4048 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4050 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4052 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4053 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4054 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 # POSIX says lex can declare yytext either as a pointer or an array; the
4058 # default is implementation-dependent. Figure out which it is, since
4059 # not all implementations provide the %pointer and %array declarations.
4060 ac_cv_prog_lex_yytext_pointer=no
4061 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4063 LIBS="$LIBS $LEXLIB"
4064 cat >conftest.$ac_ext <<_ACEOF
4065 `cat $LEX_OUTPUT_ROOT.c`
4067 rm -f conftest.$ac_objext conftest$ac_exeext
4068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4069 (eval $ac_link) 2>conftest.er1
4071 grep -v '^ *+' conftest.er1 >conftest.err
4073 cat conftest.err >&5
4074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075 (exit $ac_status); } &&
4076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); }; } &&
4082 { ac_try='test -s conftest$ac_exeext'
4083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); }; }; then
4088 ac_cv_prog_lex_yytext_pointer=yes
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4094 rm -f conftest.err conftest.$ac_objext \
4095 conftest$ac_exeext conftest.$ac_ext
4097 rm -f "${LEX_OUTPUT_ROOT}.c"
4100 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4101 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4102 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4104 cat >>confdefs.h <<\_ACEOF
4105 #define YYTEXT_POINTER 1
4112 # Find a good install program. We prefer a C program (faster),
4113 # so one script is as good as another. But avoid the broken or
4114 # incompatible versions:
4115 # SysV /etc/install, /usr/sbin/install
4116 # SunOS /usr/etc/install
4117 # IRIX /sbin/install
4119 # AmigaOS /C/install, which installs bootblocks on floppy discs
4120 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4121 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4122 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4123 # OS/2's system install, which has a completely different semantic
4124 # ./install, which can be erroneously created by make from ./install.sh.
4125 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4126 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4127 if test -z "$INSTALL"; then
4128 if test "${ac_cv_path_install+set}" = set; then
4129 echo $ECHO_N "(cached) $ECHO_C" >&6
4131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir=.
4136 # Account for people who put trailing slashes in PATH elements.
4138 ./ | .// | /cC/* | \
4139 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4140 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4143 # OSF1 and SCO ODT 3.0 have their own names for install.
4144 # Don't use installbsd from OSF since it installs stuff as root
4146 for ac_prog in ginstall scoinst install; do
4147 for ac_exec_ext in '' $ac_executable_extensions; do
4148 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4149 if test $ac_prog = install &&
4150 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4151 # AIX install. It has an incompatible calling convention.
4153 elif test $ac_prog = install &&
4154 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4155 # program-specific install script used by HP pwplus--don't use.
4158 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4170 if test "${ac_cv_path_install+set}" = set; then
4171 INSTALL=$ac_cv_path_install
4173 # As a last resort, use the slow shell script. We don't cache a
4174 # path for INSTALL within a source directory, because that will
4175 # break other packages using the cache if that directory is
4176 # removed, or if the path is relative.
4177 INSTALL=$ac_install_sh
4180 echo "$as_me:$LINENO: result: $INSTALL" >&5
4181 echo "${ECHO_T}$INSTALL" >&6
4183 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4184 # It thinks the first close brace ends the variable substitution.
4185 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4187 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4189 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4192 ac_cpp='$CPP $CPPFLAGS'
4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4196 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4197 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4198 # On Suns, sometimes $CPP names a directory.
4199 if test -n "$CPP" && test -d "$CPP"; then
4202 if test -z "$CPP"; then
4203 if test "${ac_cv_prog_CPP+set}" = set; then
4204 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 # Double quotes because CPP needs to be expanded
4207 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4210 for ac_c_preproc_warn_flag in '' yes
4212 # Use a header file that comes with gcc, so configuring glibc
4213 # with a fresh cross-compiler works.
4214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4215 # <limits.h> exists even on freestanding compilers.
4216 # On the NeXT, cc -E runs the code through the compiler's parser,
4217 # not just through cpp. "Syntax error" is here to catch this case.
4218 cat >conftest.$ac_ext <<_ACEOF
4221 cat confdefs.h >>conftest.$ac_ext
4222 cat >>conftest.$ac_ext <<_ACEOF
4223 /* end confdefs.h. */
4225 # include <limits.h>
4227 # include <assert.h>
4231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4232 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4234 grep -v '^ *+' conftest.er1 >conftest.err
4236 cat conftest.err >&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); } >/dev/null; then
4239 if test -s conftest.err; then
4240 ac_cpp_err=$ac_c_preproc_warn_flag
4241 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4248 if test -z "$ac_cpp_err"; then
4251 echo "$as_me: failed program was:" >&5
4252 sed 's/^/| /' conftest.$ac_ext >&5
4254 # Broken: fails on valid input.
4257 rm -f conftest.err conftest.$ac_ext
4259 # OK, works on sane cases. Now check whether non-existent headers
4260 # can be detected and how.
4261 cat >conftest.$ac_ext <<_ACEOF
4264 cat confdefs.h >>conftest.$ac_ext
4265 cat >>conftest.$ac_ext <<_ACEOF
4266 /* end confdefs.h. */
4267 #include <ac_nonexistent.h>
4269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4272 grep -v '^ *+' conftest.er1 >conftest.err
4274 cat conftest.err >&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); } >/dev/null; then
4277 if test -s conftest.err; then
4278 ac_cpp_err=$ac_c_preproc_warn_flag
4279 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4286 if test -z "$ac_cpp_err"; then
4287 # Broken: success on invalid input.
4290 echo "$as_me: failed program was:" >&5
4291 sed 's/^/| /' conftest.$ac_ext >&5
4293 # Passes both tests.
4297 rm -f conftest.err conftest.$ac_ext
4300 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4301 rm -f conftest.err conftest.$ac_ext
4302 if $ac_preproc_ok; then
4314 echo "$as_me:$LINENO: result: $CPP" >&5
4315 echo "${ECHO_T}$CPP" >&6
4317 for ac_c_preproc_warn_flag in '' yes
4319 # Use a header file that comes with gcc, so configuring glibc
4320 # with a fresh cross-compiler works.
4321 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4322 # <limits.h> exists even on freestanding compilers.
4323 # On the NeXT, cc -E runs the code through the compiler's parser,
4324 # not just through cpp. "Syntax error" is here to catch this case.
4325 cat >conftest.$ac_ext <<_ACEOF
4328 cat confdefs.h >>conftest.$ac_ext
4329 cat >>conftest.$ac_ext <<_ACEOF
4330 /* end confdefs.h. */
4332 # include <limits.h>
4334 # include <assert.h>
4338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4339 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4341 grep -v '^ *+' conftest.er1 >conftest.err
4343 cat conftest.err >&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); } >/dev/null; then
4346 if test -s conftest.err; then
4347 ac_cpp_err=$ac_c_preproc_warn_flag
4348 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4355 if test -z "$ac_cpp_err"; then
4358 echo "$as_me: failed program was:" >&5
4359 sed 's/^/| /' conftest.$ac_ext >&5
4361 # Broken: fails on valid input.
4364 rm -f conftest.err conftest.$ac_ext
4366 # OK, works on sane cases. Now check whether non-existent headers
4367 # can be detected and how.
4368 cat >conftest.$ac_ext <<_ACEOF
4371 cat confdefs.h >>conftest.$ac_ext
4372 cat >>conftest.$ac_ext <<_ACEOF
4373 /* end confdefs.h. */
4374 #include <ac_nonexistent.h>
4376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4377 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4379 grep -v '^ *+' conftest.er1 >conftest.err
4381 cat conftest.err >&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); } >/dev/null; then
4384 if test -s conftest.err; then
4385 ac_cpp_err=$ac_c_preproc_warn_flag
4386 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4393 if test -z "$ac_cpp_err"; then
4394 # Broken: success on invalid input.
4397 echo "$as_me: failed program was:" >&5
4398 sed 's/^/| /' conftest.$ac_ext >&5
4400 # Passes both tests.
4404 rm -f conftest.err conftest.$ac_ext
4407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4408 rm -f conftest.err conftest.$ac_ext
4409 if $ac_preproc_ok; then
4412 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4413 See \`config.log' for more details." >&5
4414 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4415 See \`config.log' for more details." >&2;}
4416 { (exit 1); exit 1; }; }
4420 ac_cpp='$CPP $CPPFLAGS'
4421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4425 # Extract the first word of "rm", so it can be a program name with args.
4426 set dummy rm; ac_word=$2
4427 echo "$as_me:$LINENO: checking for $ac_word" >&5
4428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4429 if test "${ac_cv_path_RM+set}" = set; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4434 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 test -z "$as_dir" && as_dir=.
4442 for ac_exec_ext in '' $ac_executable_extensions; do
4443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4444 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4457 if test -n "$RM"; then
4458 echo "$as_me:$LINENO: result: $RM" >&5
4459 echo "${ECHO_T}$RM" >&6
4461 echo "$as_me:$LINENO: result: no" >&5
4462 echo "${ECHO_T}no" >&6
4465 # Extract the first word of "mv", so it can be a program name with args.
4466 set dummy mv; ac_word=$2
4467 echo "$as_me:$LINENO: checking for $ac_word" >&5
4468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4469 if test "${ac_cv_path_MV+set}" = set; then
4470 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 test -z "$as_dir" && as_dir=.
4482 for ac_exec_ext in '' $ac_executable_extensions; do
4483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4497 if test -n "$MV"; then
4498 echo "$as_me:$LINENO: result: $MV" >&5
4499 echo "${ECHO_T}$MV" >&6
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4505 # Extract the first word of "tar", so it can be a program name with args.
4506 set dummy tar; ac_word=$2
4507 echo "$as_me:$LINENO: checking for $ac_word" >&5
4508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4509 if test "${ac_cv_path_TAR+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir=.
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4524 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4531 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
4537 if test -n "$TAR"; then
4538 echo "$as_me:$LINENO: result: $TAR" >&5
4539 echo "${ECHO_T}$TAR" >&6
4541 echo "$as_me:$LINENO: result: no" >&5
4542 echo "${ECHO_T}no" >&6
4547 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4548 if test -n "$ac_tool_prefix"; then
4549 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4550 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4551 echo "$as_me:$LINENO: checking for $ac_word" >&5
4552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4553 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 test -z "$as_dir" && as_dir=.
4566 for ac_exec_ext in '' $ac_executable_extensions; do
4567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4568 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4578 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4580 if test -n "$PKG_CONFIG"; then
4581 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4582 echo "${ECHO_T}$PKG_CONFIG" >&6
4584 echo "$as_me:$LINENO: result: no" >&5
4585 echo "${ECHO_T}no" >&6
4589 if test -z "$ac_cv_path_PKG_CONFIG"; then
4590 ac_pt_PKG_CONFIG=$PKG_CONFIG
4591 # Extract the first word of "pkg-config", so it can be a program name with args.
4592 set dummy pkg-config; ac_word=$2
4593 echo "$as_me:$LINENO: checking for $ac_word" >&5
4594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4595 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4598 case $ac_pt_PKG_CONFIG in
4600 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4607 test -z "$as_dir" && as_dir=.
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4622 if test -n "$ac_pt_PKG_CONFIG"; then
4623 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4624 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
4626 echo "$as_me:$LINENO: result: no" >&5
4627 echo "${ECHO_T}no" >&6
4630 PKG_CONFIG=$ac_pt_PKG_CONFIG
4632 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4636 if test -n "$PKG_CONFIG"; then
4637 _pkg_min_version=0.9.0
4638 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4639 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
4640 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4641 echo "$as_me:$LINENO: result: yes" >&5
4642 echo "${ECHO_T}yes" >&6
4644 echo "$as_me:$LINENO: result: no" >&5
4645 echo "${ECHO_T}no" >&6
4652 echo "$as_me:$LINENO: checking for GLIB" >&5
4653 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6
4655 if test -n "$PKG_CONFIG"; then
4656 if test -n "$PKG_CONFIG" && \
4657 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\"") >&5
4658 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; then
4662 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
4669 if test -n "$PKG_CONFIG"; then
4670 if test -n "$PKG_CONFIG" && \
4671 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\"") >&5
4672 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); }; then
4676 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
4684 if test $pkg_failed = yes; then
4685 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
4686 # Put the nasty error message in config.log where it belongs
4687 echo "$GLIB_PKG_ERRORS" 1>&5
4689 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met.
4690 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4691 installed software in a non-standard prefix.
4693 Alternatively you may set the GLIB_CFLAGS and GLIB_LIBS environment variables
4694 to avoid the need to call pkg-config. See the pkg-config man page for
4696 echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met.
4697 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4698 installed software in a non-standard prefix.
4700 Alternatively you may set the GLIB_CFLAGS and GLIB_LIBS environment variables
4701 to avoid the need to call pkg-config. See the pkg-config man page for
4702 more details." >&2;}
4703 { (exit 1); exit 1; }; }
4704 elif test $pkg_failed = untried; then
4705 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4706 is in your PATH or set the PKG_CONFIG environment variable to the full
4709 Alternatively you may set the GLIB_CFLAGS and GLIB_LIBS environment variables
4710 to avoid the need to call pkg-config. See the pkg-config man page for
4713 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4714 See \`config.log' for more details." >&5
4715 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4716 is in your PATH or set the PKG_CONFIG environment variable to the full
4719 Alternatively you may set the GLIB_CFLAGS and GLIB_LIBS environment variables
4720 to avoid the need to call pkg-config. See the pkg-config man page for
4723 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4724 See \`config.log' for more details." >&2;}
4725 { (exit 1); exit 1; }; }
4727 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
4728 GLIB_LIBS=$pkg_cv_GLIB_LIBS
4729 echo "$as_me:$LINENO: result: yes" >&5
4730 echo "${ECHO_T}yes" >&6
4743 ac_config_files="$ac_config_files gob2.spec Makefile src/Makefile doc/Makefile examples/Makefile doc/gob2.1"
4744 cat >confcache <<\_ACEOF
4745 # This file is a shell script that caches the results of configure
4746 # tests run on this system so they can be shared between configure
4747 # scripts and configure runs, see configure's option --config-cache.
4748 # It is not useful on other systems. If it contains results you don't
4749 # want to keep, you may remove or edit it.
4751 # config.status only pays attention to the cache file if you give it
4752 # the --recheck option to rerun configure.
4754 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4755 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4760 # The following way of writing the cache mishandles newlines in values,
4761 # but we know of no workaround that is simple, portable, and efficient.
4762 # So, don't put newlines in cache variables' values.
4763 # Ultrix sh set writes to stderr and can't be redirected directly,
4764 # and sets the high bit in the cache file unless we assign to the vars.
4767 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4769 # `set' does not quote correctly, so add quotes (double-quote
4770 # substitution turns \\\\ into \\, and sed turns \\ into \).
4773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4776 # `set' quotes correctly as required by POSIX, so do not add quotes.
4778 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4787 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4789 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4790 if test -w $cache_file; then
4791 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4792 cat confcache >$cache_file
4794 echo "not updating unwritable cache $cache_file"
4799 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4800 # Let make expand exec_prefix.
4801 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4803 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4804 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4805 # trailing colons and then remove the whole line if VPATH becomes empty
4806 # (actually we leave an empty line to preserve line numbers).
4807 if test "x$srcdir" = x.; then
4808 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4809 s/:*\$(srcdir):*/:/;
4810 s/:*\${srcdir}:*/:/;
4812 s/^\([^=]*=[ ]*\):*/\1/;
4818 DEFS=-DHAVE_CONFIG_H
4822 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4823 # 1. Remove the extension, and $U if already installed.
4824 ac_i=`echo "$ac_i" |
4825 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4827 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4828 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4832 LTLIBOBJS=$ac_ltlibobjs
4836 : ${CONFIG_STATUS=./config.status}
4837 ac_clean_files_save=$ac_clean_files
4838 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4839 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4840 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4841 cat >$CONFIG_STATUS <<_ACEOF
4843 # Generated by $as_me.
4844 # Run this file to recreate the current configuration.
4845 # Compiler output produced by configure, useful for debugging
4846 # configure, is in config.log if it exists.
4851 SHELL=\${CONFIG_SHELL-$SHELL}
4854 cat >>$CONFIG_STATUS <<\_ACEOF
4855 ## --------------------- ##
4856 ## M4sh Initialization. ##
4857 ## --------------------- ##
4859 # Be Bourne compatible
4860 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4863 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4864 # is contrary to our usage. Disable this feature.
4865 alias -g '${1+"$@"}'='"$@"'
4866 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4869 DUALCASE=1; export DUALCASE # for MKS sh
4871 # Support unset when possible.
4872 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4879 # Work around bugs in pre-3.0 UWIN ksh.
4880 $as_unset ENV MAIL MAILPATH
4887 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4888 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4889 LC_TELEPHONE LC_TIME
4891 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4892 eval $as_var=C; export $as_var
4898 # Required to use basename.
4899 if expr a : '\(a\)' >/dev/null 2>&1; then
4905 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4906 as_basename=basename
4912 # Name of the executable.
4913 as_me=`$as_basename "$0" ||
4914 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4915 X"$0" : 'X\(//\)$' \| \
4916 X"$0" : 'X\(/\)$' \| \
4917 . : '\(.\)' 2>/dev/null ||
4919 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4920 /^X\/\(\/\/\)$/{ s//\1/; q; }
4921 /^X\/\(\/\).*/{ s//\1/; q; }
4925 # PATH needs CR, and LINENO needs CR and PATH.
4926 # Avoid depending upon Character Ranges.
4927 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4928 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4929 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4930 as_cr_digits='0123456789'
4931 as_cr_alnum=$as_cr_Letters$as_cr_digits
4933 # The user is always right.
4934 if test "${PATH_SEPARATOR+set}" != set; then
4935 echo "#! /bin/sh" >conf$$.sh
4936 echo "exit 0" >>conf$$.sh
4938 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4949 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4950 test "x$as_lineno_1" != "x$as_lineno_2" &&
4951 test "x$as_lineno_3" = "x$as_lineno_2" || {
4952 # Find who we are. Look in the path if we contain no path at all
4955 *[\\/]* ) as_myself=$0 ;;
4956 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 test -z "$as_dir" && as_dir=.
4961 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4966 # We did not find ourselves, most probably we were run as `sh COMMAND'
4967 # in which case we are not to be found in the path.
4968 if test "x$as_myself" = x; then
4971 if test ! -f "$as_myself"; then
4972 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4973 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4974 { (exit 1); exit 1; }; }
4976 case $CONFIG_SHELL in
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4982 test -z "$as_dir" && as_dir=.
4983 for as_base in sh bash ksh sh5; do
4986 if ("$as_dir/$as_base" -c '
4989 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4990 test "x$as_lineno_1" != "x$as_lineno_2" &&
4991 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4992 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4993 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4994 CONFIG_SHELL=$as_dir/$as_base
4996 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5004 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5005 # uniformly replaced by the line number. The first 'sed' inserts a
5006 # line-number line before each line; the second 'sed' does the real
5007 # work. The second script uses 'N' to pair each line-number line
5008 # with the numbered line, and appends trailing '-' during
5009 # substitution so that $LINENO is not a special case at line end.
5010 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5011 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5012 sed '=' <$as_myself |
5017 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5020 s,^['$as_cr_digits']*\n,,
5022 chmod +x $as_me.lineno ||
5023 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5024 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5025 { (exit 1); exit 1; }; }
5027 # Don't try to exec as it changes $[0], causing all sort of problems
5028 # (the dirname of $[0] is not the place where we might find the
5029 # original and so on. Autoconf is especially sensible to this).
5031 # Exit status is that of the last command.
5036 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5037 *c*,-n*) ECHO_N= ECHO_C='
5039 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5040 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5043 if expr a : '\(a\)' >/dev/null 2>&1; then
5049 rm -f conf$$ conf$$.exe conf$$.file
5051 if ln -s conf$$.file conf$$ 2>/dev/null; then
5052 # We could just check for DJGPP; but this test a) works b) is more generic
5053 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5054 if test -f conf$$.exe; then
5055 # Don't use ln at all; we don't have any links
5060 elif ln conf$$.file conf$$ 2>/dev/null; then
5065 rm -f conf$$ conf$$.exe conf$$.file
5067 if mkdir -p . 2>/dev/null; then
5070 test -d ./-p && rmdir ./-p
5074 as_executable_p="test -f"
5076 # Sed expression to map a string onto a valid CPP name.
5077 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5079 # Sed expression to map a string onto a valid variable name.
5080 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5084 # We need space, tab and new line, in precisely that order.
5094 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5095 # report actual input values of CONFIG_FILES etc. instead of their
5096 # values after options handling. Logging --version etc. is OK.
5100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5101 ## Running $as_me. ##
5106 This file was extended by $as_me, which was
5107 generated by GNU Autoconf 2.59. Invocation command line was
5109 CONFIG_FILES = $CONFIG_FILES
5110 CONFIG_HEADERS = $CONFIG_HEADERS
5111 CONFIG_LINKS = $CONFIG_LINKS
5112 CONFIG_COMMANDS = $CONFIG_COMMANDS
5116 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5120 # Files that config.status was made for.
5121 if test -n "$ac_config_files"; then
5122 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5125 if test -n "$ac_config_headers"; then
5126 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5129 if test -n "$ac_config_links"; then
5130 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5133 if test -n "$ac_config_commands"; then
5134 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5137 cat >>$CONFIG_STATUS <<\_ACEOF
5140 \`$as_me' instantiates files from templates according to the
5141 current configuration.
5143 Usage: $0 [OPTIONS] [FILE]...
5145 -h, --help print this help, then exit
5146 -V, --version print version number, then exit
5147 -q, --quiet do not print progress messages
5148 -d, --debug don't remove temporary files
5149 --recheck update $as_me by reconfiguring in the same conditions
5150 --file=FILE[:TEMPLATE]
5151 instantiate the configuration file FILE
5152 --header=FILE[:TEMPLATE]
5153 instantiate the configuration header FILE
5155 Configuration files:
5158 Configuration headers:
5161 Configuration commands:
5164 Report bugs to <bug-autoconf@gnu.org>."
5167 cat >>$CONFIG_STATUS <<_ACEOF
5170 configured by $0, generated by GNU Autoconf 2.59,
5171 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5173 Copyright (C) 2003 Free Software Foundation, Inc.
5174 This config.status script is free software; the Free Software Foundation
5175 gives unlimited permission to copy, distribute and modify it."
5180 cat >>$CONFIG_STATUS <<\_ACEOF
5181 # If no file are specified by the user, then we need to provide default
5182 # value. By we need to know if files were specified by the user.
5188 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5189 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5197 *) # This is not an option, so the user has probably given explicit
5200 ac_need_defaults=false;;
5204 # Handling of the options.
5206 cat >>$CONFIG_STATUS <<\_ACEOF
5207 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5209 --version | --vers* | -V )
5210 echo "$ac_cs_version"; exit 0 ;;
5212 # Conflict between --help and --header
5213 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5214 Try \`$0 --help' for more information." >&5
5215 echo "$as_me: error: ambiguous option: $1
5216 Try \`$0 --help' for more information." >&2;}
5217 { (exit 1); exit 1; }; };;
5218 --help | --hel | -h )
5219 echo "$ac_cs_usage"; exit 0 ;;
5220 --debug | --d* | -d )
5222 --file | --fil | --fi | --f )
5224 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5225 ac_need_defaults=false;;
5226 --header | --heade | --head | --hea )
5228 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5229 ac_need_defaults=false;;
5230 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5231 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5235 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5236 Try \`$0 --help' for more information." >&5
5237 echo "$as_me: error: unrecognized option: $1
5238 Try \`$0 --help' for more information." >&2;}
5239 { (exit 1); exit 1; }; } ;;
5241 *) ac_config_targets="$ac_config_targets $1" ;;
5247 ac_configure_extra_args=
5249 if $ac_cs_silent; then
5251 ac_configure_extra_args="$ac_configure_extra_args --silent"
5255 cat >>$CONFIG_STATUS <<_ACEOF
5256 if \$ac_cs_recheck; then
5257 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5258 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5263 cat >>$CONFIG_STATUS <<_ACEOF
5265 # INIT-COMMANDS section.
5274 cat >>$CONFIG_STATUS <<\_ACEOF
5275 for ac_config_target in $ac_config_targets
5277 case "$ac_config_target" in
5278 # Handling of arguments.
5279 "gob2.spec" ) CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
5280 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5281 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5282 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5283 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
5284 "doc/gob2.1" ) CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
5285 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
5286 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5287 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5288 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5289 { (exit 1); exit 1; }; };;
5293 # If the user did not use the arguments to specify the items to instantiate,
5294 # then the envvar interface is used. Set only those that are not.
5295 # We use the long form for the default assignment because of an extremely
5296 # bizarre bug on SunOS 4.1.3.
5297 if $ac_need_defaults; then
5298 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5299 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5300 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5303 # Have a temporary directory for convenience. Make it in the build tree
5304 # simply because there is no reason to put it here, and in addition,
5305 # creating and moving files from /tmp can sometimes cause problems.
5306 # Create a temporary directory, and hook for its removal unless debugging.
5309 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5310 trap '{ (exit 1); exit 1; }' 1 2 13 15
5313 # Create a (secure) tmp directory for tmp files.
5316 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5317 test -n "$tmp" && test -d "$tmp"
5320 tmp=./confstat$$-$RANDOM
5321 (umask 077 && mkdir $tmp)
5324 echo "$me: cannot create a temporary directory in ." >&2
5325 { (exit 1); exit 1; }
5330 cat >>$CONFIG_STATUS <<_ACEOF
5333 # CONFIG_FILES section.
5336 # No need to generate the scripts if there are no CONFIG_FILES.
5337 # This happens for instance when ./config.status config.h
5338 if test -n "\$CONFIG_FILES"; then
5339 # Protect against being on the right side of a sed subst in config.status.
5340 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5341 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5342 s,@SHELL@,$SHELL,;t t
5343 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5344 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5345 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5346 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5347 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5348 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5349 s,@exec_prefix@,$exec_prefix,;t t
5350 s,@prefix@,$prefix,;t t
5351 s,@program_transform_name@,$program_transform_name,;t t
5352 s,@bindir@,$bindir,;t t
5353 s,@sbindir@,$sbindir,;t t
5354 s,@libexecdir@,$libexecdir,;t t
5355 s,@datadir@,$datadir,;t t
5356 s,@sysconfdir@,$sysconfdir,;t t
5357 s,@sharedstatedir@,$sharedstatedir,;t t
5358 s,@localstatedir@,$localstatedir,;t t
5359 s,@libdir@,$libdir,;t t
5360 s,@includedir@,$includedir,;t t
5361 s,@oldincludedir@,$oldincludedir,;t t
5362 s,@infodir@,$infodir,;t t
5363 s,@mandir@,$mandir,;t t
5364 s,@build_alias@,$build_alias,;t t
5365 s,@host_alias@,$host_alias,;t t
5366 s,@target_alias@,$target_alias,;t t
5368 s,@ECHO_C@,$ECHO_C,;t t
5369 s,@ECHO_N@,$ECHO_N,;t t
5370 s,@ECHO_T@,$ECHO_T,;t t
5372 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5373 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5374 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5375 s,@PACKAGE@,$PACKAGE,;t t
5376 s,@VERSION@,$VERSION,;t t
5377 s,@ACLOCAL@,$ACLOCAL,;t t
5378 s,@AUTOCONF@,$AUTOCONF,;t t
5379 s,@AUTOMAKE@,$AUTOMAKE,;t t
5380 s,@AUTOHEADER@,$AUTOHEADER,;t t
5381 s,@MAKEINFO@,$MAKEINFO,;t t
5382 s,@SET_MAKE@,$SET_MAKE,;t t
5383 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5384 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5385 s,@MAINT@,$MAINT,;t t
5386 s,@NOINSTGOB_TRUE@,$NOINSTGOB_TRUE,;t t
5387 s,@NOINSTGOB_FALSE@,$NOINSTGOB_FALSE,;t t
5388 s,@SUBDIRS@,$SUBDIRS,;t t
5389 s,@INSTGOB@,$INSTGOB,;t t
5390 s,@NOINSTGOB@,$NOINSTGOB,;t t
5392 s,@CFLAGS@,$CFLAGS,;t t
5393 s,@LDFLAGS@,$LDFLAGS,;t t
5394 s,@CPPFLAGS@,$CPPFLAGS,;t t
5395 s,@ac_ct_CC@,$ac_ct_CC,;t t
5396 s,@EXEEXT@,$EXEEXT,;t t
5397 s,@OBJEXT@,$OBJEXT,;t t
5399 s,@EGREP@,$EGREP,;t t
5402 s,@LEXLIB@,$LEXLIB,;t t
5403 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
5407 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5408 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
5409 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
5410 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
5411 s,@YFLAGS@,$YFLAGS,;t t
5412 s,@LIBOBJS@,$LIBOBJS,;t t
5413 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5418 cat >>$CONFIG_STATUS <<\_ACEOF
5419 # Split the substitutions into bite-sized pieces for seds with
5420 # small command number limits, like on Digital OSF/1 and HP-UX.
5422 ac_sed_frag=1 # Number of current file.
5423 ac_beg=1 # First line for current file.
5424 ac_end=$ac_max_sed_lines # Line after last line for current file.
5427 while $ac_more_lines; do
5428 if test $ac_beg -gt 1; then
5429 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5431 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5433 if test ! -s $tmp/subs.frag; then
5436 # The purpose of the label and of the branching condition is to
5437 # speed up the sed processing (if there are no `@' at all, there
5438 # is no need to browse any of the substitutions).
5439 # These are the two extra sed commands mentioned above.
5441 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5442 if test -z "$ac_sed_cmds"; then
5443 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5445 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5447 ac_sed_frag=`expr $ac_sed_frag + 1`
5449 ac_end=`expr $ac_end + $ac_max_sed_lines`
5452 if test -z "$ac_sed_cmds"; then
5455 fi # test -n "$CONFIG_FILES"
5458 cat >>$CONFIG_STATUS <<\_ACEOF
5459 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5460 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5462 - | *:- | *:-:* ) # input from stdin
5464 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5465 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5466 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5467 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5468 * ) ac_file_in=$ac_file.in ;;
5471 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5472 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5473 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5474 X"$ac_file" : 'X\(//\)[^/]' \| \
5475 X"$ac_file" : 'X\(//\)$' \| \
5476 X"$ac_file" : 'X\(/\)' \| \
5477 . : '\(.\)' 2>/dev/null ||
5479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5480 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5481 /^X\(\/\/\)$/{ s//\1/; q; }
5482 /^X\(\/\).*/{ s//\1/; q; }
5484 { if $as_mkdir_p; then
5489 while test ! -d "$as_dir"; do
5490 as_dirs="$as_dir $as_dirs"
5491 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5492 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5493 X"$as_dir" : 'X\(//\)[^/]' \| \
5494 X"$as_dir" : 'X\(//\)$' \| \
5495 X"$as_dir" : 'X\(/\)' \| \
5496 . : '\(.\)' 2>/dev/null ||
5498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5499 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5500 /^X\(\/\/\)$/{ s//\1/; q; }
5501 /^X\(\/\).*/{ s//\1/; q; }
5504 test ! -n "$as_dirs" || mkdir $as_dirs
5505 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5506 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5507 { (exit 1); exit 1; }; }; }
5511 if test "$ac_dir" != .; then
5512 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5513 # A "../" for each directory in $ac_dir_suffix.
5514 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5516 ac_dir_suffix= ac_top_builddir=
5520 .) # No --srcdir option. We are building in place.
5522 if test -z "$ac_top_builddir"; then
5525 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5527 [\\/]* | ?:[\\/]* ) # Absolute path.
5528 ac_srcdir=$srcdir$ac_dir_suffix;
5529 ac_top_srcdir=$srcdir ;;
5531 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5532 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5535 # Do not use `cd foo && pwd` to compute absolute paths, because
5536 # the directories may not exist.
5538 .) ac_abs_builddir="$ac_dir";;
5541 .) ac_abs_builddir=`pwd`;;
5542 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5543 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5546 case $ac_abs_builddir in
5547 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5549 case ${ac_top_builddir}. in
5550 .) ac_abs_top_builddir=$ac_abs_builddir;;
5551 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5552 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5555 case $ac_abs_builddir in
5556 .) ac_abs_srcdir=$ac_srcdir;;
5559 .) ac_abs_srcdir=$ac_abs_builddir;;
5560 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5561 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5564 case $ac_abs_builddir in
5565 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5567 case $ac_top_srcdir in
5568 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5569 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5570 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5576 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5577 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5580 # Let's still pretend it is `configure' which instantiates (i.e., don't
5581 # use $as_me), people would be surprised to read:
5582 # /* config.h. Generated by config.status. */
5583 if test x"$ac_file" = x-; then
5586 configure_input="$ac_file. "
5588 configure_input=$configure_input"Generated from `echo $ac_file_in |
5589 sed 's,.*/,,'` by configure."
5591 # First look for the input files in the build tree, otherwise in the
5593 ac_file_inputs=`IFS=:
5594 for f in $ac_file_in; do
5596 -) echo $tmp/stdin ;;
5598 # Absolute (can't be DOS-style, as IFS=:)
5599 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5600 echo "$as_me: error: cannot find input file: $f" >&2;}
5601 { (exit 1); exit 1; }; }
5604 if test -f "$f"; then
5607 elif test -f "$srcdir/$f"; then
5612 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5613 echo "$as_me: error: cannot find input file: $f" >&2;}
5614 { (exit 1); exit 1; }; }
5617 done` || { (exit 1); exit 1; }
5619 if test x"$ac_file" != x-; then
5620 { echo "$as_me:$LINENO: creating $ac_file" >&5
5621 echo "$as_me: creating $ac_file" >&6;}
5625 cat >>$CONFIG_STATUS <<_ACEOF
5629 cat >>$CONFIG_STATUS <<\_ACEOF
5631 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5632 s,@configure_input@,$configure_input,;t t
5633 s,@srcdir@,$ac_srcdir,;t t
5634 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5635 s,@top_srcdir@,$ac_top_srcdir,;t t
5636 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5637 s,@builddir@,$ac_builddir,;t t
5638 s,@abs_builddir@,$ac_abs_builddir,;t t
5639 s,@top_builddir@,$ac_top_builddir,;t t
5640 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5641 s,@INSTALL@,$ac_INSTALL,;t t
5642 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5644 if test x"$ac_file" != x-; then
5645 mv $tmp/out $ac_file
5653 cat >>$CONFIG_STATUS <<\_ACEOF
5656 # CONFIG_HEADER section.
5659 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5660 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5662 # ac_d sets the value in "#define NAME VALUE" lines.
5663 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5664 ac_dB='[ ].*$,\1#\2'
5667 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5668 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5669 ac_uB='$,\1#\2define\3'
5673 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5674 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5676 - | *:- | *:-:* ) # input from stdin
5678 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5679 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5680 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5681 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5682 * ) ac_file_in=$ac_file.in ;;
5685 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5686 echo "$as_me: creating $ac_file" >&6;}
5688 # First look for the input files in the build tree, otherwise in the
5690 ac_file_inputs=`IFS=:
5691 for f in $ac_file_in; do
5693 -) echo $tmp/stdin ;;
5695 # Absolute (can't be DOS-style, as IFS=:)
5696 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5697 echo "$as_me: error: cannot find input file: $f" >&2;}
5698 { (exit 1); exit 1; }; }
5699 # Do quote $f, to prevent DOS paths from being IFS'd.
5702 if test -f "$f"; then
5705 elif test -f "$srcdir/$f"; then
5710 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5711 echo "$as_me: error: cannot find input file: $f" >&2;}
5712 { (exit 1); exit 1; }; }
5715 done` || { (exit 1); exit 1; }
5716 # Remove the trailing spaces.
5717 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5721 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5722 # `conftest.undefs', that substitutes the proper values into
5723 # config.h.in to produce config.h. The first handles `#define'
5724 # templates, and the second `#undef' templates.
5725 # And first: Protect against being on the right side of a sed subst in
5726 # config.status. Protect against being in an unquoted here document
5728 rm -f conftest.defines conftest.undefs
5729 # Using a here document instead of a string reduces the quoting nightmare.
5730 # Putting comments in sed scripts is not portable.
5732 # `end' is used to avoid that the second main sed command (meant for
5733 # 0-ary CPP macros) applies to n-ary macro definitions.
5734 # See the Autoconf documentation for `clear'.
5735 cat >confdef2sed.sed <<\_ACEOF
5740 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5742 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5745 # If some macros were called several times there might be several times
5746 # the same #defines, which is useless. Nevertheless, we may not want to
5747 # sort them, since we want the *last* AC-DEFINE to be honored.
5748 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5749 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5750 rm -f confdef2sed.sed
5752 # This sed command replaces #undef with comments. This is necessary, for
5753 # example, in the case of _POSIX_SOURCE, which is predefined and required
5754 # on some systems where configure will not decide to define it.
5755 cat >>conftest.undefs <<\_ACEOF
5756 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5759 # Break up conftest.defines because some shells have a limit on the size
5760 # of here documents, and old seds have small limits too (100 cmds).
5761 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5762 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5763 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5764 echo ' :' >>$CONFIG_STATUS
5766 while grep . conftest.defines >/dev/null
5768 # Write a limited-size here document to $tmp/defines.sed.
5769 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5770 # Speed up: don't consider the non `#define' lines.
5771 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5772 # Work around the forget-to-reset-the-flag bug.
5773 echo 't clr' >>$CONFIG_STATUS
5774 echo ': clr' >>$CONFIG_STATUS
5775 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5777 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5781 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5782 rm -f conftest.defines
5783 mv conftest.tail conftest.defines
5785 rm -f conftest.defines
5786 echo ' fi # grep' >>$CONFIG_STATUS
5787 echo >>$CONFIG_STATUS
5789 # Break up conftest.undefs because some shells have a limit on the size
5790 # of here documents, and old seds have small limits too (100 cmds).
5791 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5793 while grep . conftest.undefs >/dev/null
5795 # Write a limited-size here document to $tmp/undefs.sed.
5796 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5797 # Speed up: don't consider the non `#undef'
5798 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5799 # Work around the forget-to-reset-the-flag bug.
5800 echo 't clr' >>$CONFIG_STATUS
5801 echo ': clr' >>$CONFIG_STATUS
5802 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5804 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5808 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5809 rm -f conftest.undefs
5810 mv conftest.tail conftest.undefs
5812 rm -f conftest.undefs
5814 cat >>$CONFIG_STATUS <<\_ACEOF
5815 # Let's still pretend it is `configure' which instantiates (i.e., don't
5816 # use $as_me), people would be surprised to read:
5817 # /* config.h. Generated by config.status. */
5818 if test x"$ac_file" = x-; then
5819 echo "/* Generated by configure. */" >$tmp/config.h
5821 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5823 cat $tmp/in >>$tmp/config.h
5825 if test x"$ac_file" != x-; then
5826 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5827 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5828 echo "$as_me: $ac_file is unchanged" >&6;}
5830 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5831 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5832 X"$ac_file" : 'X\(//\)[^/]' \| \
5833 X"$ac_file" : 'X\(//\)$' \| \
5834 X"$ac_file" : 'X\(/\)' \| \
5835 . : '\(.\)' 2>/dev/null ||
5837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5838 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5839 /^X\(\/\/\)$/{ s//\1/; q; }
5840 /^X\(\/\).*/{ s//\1/; q; }
5842 { if $as_mkdir_p; then
5847 while test ! -d "$as_dir"; do
5848 as_dirs="$as_dir $as_dirs"
5849 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5851 X"$as_dir" : 'X\(//\)[^/]' \| \
5852 X"$as_dir" : 'X\(//\)$' \| \
5853 X"$as_dir" : 'X\(/\)' \| \
5854 . : '\(.\)' 2>/dev/null ||
5856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5857 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5858 /^X\(\/\/\)$/{ s//\1/; q; }
5859 /^X\(\/\).*/{ s//\1/; q; }
5862 test ! -n "$as_dirs" || mkdir $as_dirs
5863 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5864 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5865 { (exit 1); exit 1; }; }; }
5868 mv $tmp/config.h $ac_file
5876 cat >>$CONFIG_STATUS <<\_ACEOF
5879 # CONFIG_COMMANDS section.
5881 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5882 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5883 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5884 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5885 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5886 X"$ac_dest" : 'X\(//\)[^/]' \| \
5887 X"$ac_dest" : 'X\(//\)$' \| \
5888 X"$ac_dest" : 'X\(/\)' \| \
5889 . : '\(.\)' 2>/dev/null ||
5891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5893 /^X\(\/\/\)$/{ s//\1/; q; }
5894 /^X\(\/\).*/{ s//\1/; q; }
5896 { if $as_mkdir_p; then
5901 while test ! -d "$as_dir"; do
5902 as_dirs="$as_dir $as_dirs"
5903 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5904 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5905 X"$as_dir" : 'X\(//\)[^/]' \| \
5906 X"$as_dir" : 'X\(//\)$' \| \
5907 X"$as_dir" : 'X\(/\)' \| \
5908 . : '\(.\)' 2>/dev/null ||
5910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5912 /^X\(\/\/\)$/{ s//\1/; q; }
5913 /^X\(\/\).*/{ s//\1/; q; }
5916 test ! -n "$as_dirs" || mkdir $as_dirs
5917 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5918 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5919 { (exit 1); exit 1; }; }; }
5923 if test "$ac_dir" != .; then
5924 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5925 # A "../" for each directory in $ac_dir_suffix.
5926 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5928 ac_dir_suffix= ac_top_builddir=
5932 .) # No --srcdir option. We are building in place.
5934 if test -z "$ac_top_builddir"; then
5937 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5939 [\\/]* | ?:[\\/]* ) # Absolute path.
5940 ac_srcdir=$srcdir$ac_dir_suffix;
5941 ac_top_srcdir=$srcdir ;;
5943 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5944 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5947 # Do not use `cd foo && pwd` to compute absolute paths, because
5948 # the directories may not exist.
5950 .) ac_abs_builddir="$ac_dir";;
5953 .) ac_abs_builddir=`pwd`;;
5954 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5955 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5958 case $ac_abs_builddir in
5959 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5961 case ${ac_top_builddir}. in
5962 .) ac_abs_top_builddir=$ac_abs_builddir;;
5963 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5964 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5967 case $ac_abs_builddir in
5968 .) ac_abs_srcdir=$ac_srcdir;;
5971 .) ac_abs_srcdir=$ac_abs_builddir;;
5972 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5973 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5976 case $ac_abs_builddir in
5977 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5979 case $ac_top_srcdir in
5980 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5981 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5982 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5987 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5988 echo "$as_me: executing $ac_dest commands" >&6;}
5990 default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
5995 cat >>$CONFIG_STATUS <<\_ACEOF
5997 { (exit 0); exit 0; }
5999 chmod +x $CONFIG_STATUS
6000 ac_clean_files=$ac_clean_files_save
6003 # configure is writing to config.log, and then calls config.status.
6004 # config.status does its own redirection, appending to config.log.
6005 # Unfortunately, on DOS this fails, as config.log is still kept open
6006 # by configure, so config.status won't be able to write to it; its
6007 # output is simply discarded. So we exec the FD to /dev/null,
6008 # effectively closing config.log, so it can be properly (re)opened and
6009 # appended to by config.status. When coming back to configure, we
6010 # need to make the FD available again.
6011 if test "$no_create" != yes; then
6013 ac_config_status_args=
6014 test "$silent" = yes &&
6015 ac_config_status_args="$ac_config_status_args --quiet"
6017 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6019 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6020 # would make configure fail if this is the last instruction.
6021 $ac_cs_success || { (exit 1); exit 1; }