2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file="src/treefuncs.h"
274 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT SUBDIRS DOINSTGOB NOINSTGOB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP YACC LEX LEXLIB LEX_OUTPUT_ROOT RM MV TAR PKG_CONFIG GLIB_CFLAGS GLIB_LIBS YFLAGS LIBOBJS LTLIBOBJS'
277 # Initialize some variables set by options.
279 ac_init_version=false
280 # The variables have the same names as the options, with
281 # dashes changed to underlines.
289 program_transform_name=s,x,x,
297 # Installation directory options.
298 # These are left unexpanded so users can "make install exec_prefix=/foo"
299 # and all the variables that are supposed to be based on exec_prefix
300 # by default will actually change.
301 # Use braces instead of parens because sh, perl, etc. also accept them.
302 bindir='${exec_prefix}/bin'
303 sbindir='${exec_prefix}/sbin'
304 libexecdir='${exec_prefix}/libexec'
305 datadir='${prefix}/share'
306 sysconfdir='${prefix}/etc'
307 sharedstatedir='${prefix}/com'
308 localstatedir='${prefix}/var'
309 libdir='${exec_prefix}/lib'
310 includedir='${prefix}/include'
311 oldincludedir='/usr/include'
312 infodir='${prefix}/info'
313 mandir='${prefix}/man'
318 # If the previous option needs an argument, assign it.
319 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option"
325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327 # Accept the important Cygnus configure options, so we can diagnose typos.
331 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 -build | --build | --buil | --bui | --bu)
337 ac_prev=build_alias ;;
338 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
339 build_alias=$ac_optarg ;;
341 -cache-file | --cache-file | --cache-fil | --cache-fi \
342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
343 ac_prev=cache_file ;;
344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
346 cache_file=$ac_optarg ;;
349 cache_file=config.cache ;;
351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355 datadir=$ac_optarg ;;
357 -disable-* | --disable-*)
358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362 { (exit 1); exit 1; }; }
363 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364 eval "enable_$ac_feature=no" ;;
366 -enable-* | --enable-*)
367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371 { (exit 1); exit 1; }; }
372 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 eval "enable_$ac_feature='$ac_optarg'" ;;
379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
381 | --exec | --exe | --ex)
382 ac_prev=exec_prefix ;;
383 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
384 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
385 | --exec=* | --exe=* | --ex=*)
386 exec_prefix=$ac_optarg ;;
388 -gas | --gas | --ga | --g)
389 # Obsolete; use --with-gas.
392 -help | --help | --hel | --he | -h)
394 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
395 ac_init_help=recursive ;;
396 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
397 ac_init_help=short ;;
399 -host | --host | --hos | --ho)
400 ac_prev=host_alias ;;
401 -host=* | --host=* | --hos=* | --ho=*)
402 host_alias=$ac_optarg ;;
404 -includedir | --includedir | --includedi | --included | --include \
405 | --includ | --inclu | --incl | --inc)
406 ac_prev=includedir ;;
407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
408 | --includ=* | --inclu=* | --incl=* | --inc=*)
409 includedir=$ac_optarg ;;
411 -infodir | --infodir | --infodi | --infod | --info | --inf)
413 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
414 infodir=$ac_optarg ;;
416 -libdir | --libdir | --libdi | --libd)
418 -libdir=* | --libdir=* | --libdi=* | --libd=*)
421 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
422 | --libexe | --libex | --libe)
423 ac_prev=libexecdir ;;
424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
425 | --libexe=* | --libex=* | --libe=*)
426 libexecdir=$ac_optarg ;;
428 -localstatedir | --localstatedir | --localstatedi | --localstated \
429 | --localstate | --localstat | --localsta | --localst \
430 | --locals | --local | --loca | --loc | --lo)
431 ac_prev=localstatedir ;;
432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
435 localstatedir=$ac_optarg ;;
437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443 # Obsolete; use --without-fp.
446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
447 | --no-cr | --no-c | -n)
450 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
451 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
455 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
456 | --oldin | --oldi | --old | --ol | --o)
457 ac_prev=oldincludedir ;;
458 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
459 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
460 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
461 oldincludedir=$ac_optarg ;;
463 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468 -program-prefix | --program-prefix | --program-prefi | --program-pref \
469 | --program-pre | --program-pr | --program-p)
470 ac_prev=program_prefix ;;
471 -program-prefix=* | --program-prefix=* | --program-prefi=* \
472 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
473 program_prefix=$ac_optarg ;;
475 -program-suffix | --program-suffix | --program-suffi | --program-suff \
476 | --program-suf | --program-su | --program-s)
477 ac_prev=program_suffix ;;
478 -program-suffix=* | --program-suffix=* | --program-suffi=* \
479 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
480 program_suffix=$ac_optarg ;;
482 -program-transform-name | --program-transform-name \
483 | --program-transform-nam | --program-transform-na \
484 | --program-transform-n | --program-transform- \
485 | --program-transform | --program-transfor \
486 | --program-transfo | --program-transf \
487 | --program-trans | --program-tran \
488 | --progr-tra | --program-tr | --program-t)
489 ac_prev=program_transform_name ;;
490 -program-transform-name=* | --program-transform-name=* \
491 | --program-transform-nam=* | --program-transform-na=* \
492 | --program-transform-n=* | --program-transform-=* \
493 | --program-transform=* | --program-transfor=* \
494 | --program-transfo=* | --program-transf=* \
495 | --program-trans=* | --program-tran=* \
496 | --progr-tra=* | --program-tr=* | --program-t=*)
497 program_transform_name=$ac_optarg ;;
499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500 | -silent | --silent | --silen | --sile | --sil)
503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507 sbindir=$ac_optarg ;;
509 -sharedstatedir | --sharedstatedir | --sharedstatedi \
510 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
511 | --sharedst | --shareds | --shared | --share | --shar \
513 ac_prev=sharedstatedir ;;
514 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
515 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
516 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518 sharedstatedir=$ac_optarg ;;
520 -site | --site | --sit)
522 -site=* | --site=* | --sit=*)
525 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
531 | --syscon | --sysco | --sysc | --sys | --sy)
532 ac_prev=sysconfdir ;;
533 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
534 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
535 sysconfdir=$ac_optarg ;;
537 -target | --target | --targe | --targ | --tar | --ta | --t)
538 ac_prev=target_alias ;;
539 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
540 target_alias=$ac_optarg ;;
542 -v | -verbose | --verbose | --verbos | --verbo | --verb)
545 -version | --version | --versio | --versi | --vers | -V)
549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; }
554 ac_package=`echo $ac_package| sed 's/-/_/g'`
556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 eval "with_$ac_package='$ac_optarg'" ;;
561 -without-* | --without-*)
562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid package name: $ac_package" >&2
566 { (exit 1); exit 1; }; }
567 ac_package=`echo $ac_package | sed 's/-/_/g'`
568 eval "with_$ac_package=no" ;;
571 # Obsolete; use --with-x.
574 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
575 | --x-incl | --x-inc | --x-in | --x-i)
576 ac_prev=x_includes ;;
577 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
578 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
579 x_includes=$ac_optarg ;;
581 -x-libraries | --x-libraries | --x-librarie | --x-librari \
582 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
583 ac_prev=x_libraries ;;
584 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
585 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
586 x_libraries=$ac_optarg ;;
588 -*) { echo "$as_me: error: unrecognized option: $ac_option
589 Try \`$0 --help' for more information." >&2
590 { (exit 1); exit 1; }; }
594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
595 # Reject names that are not valid shell variable names.
596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598 { (exit 1); exit 1; }; }
599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'"
604 # FIXME: should be removed in autoconf 3.0.
605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
614 if test -n "$ac_prev"; then
615 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
616 { echo "$as_me: error: missing argument to $ac_option" >&2
617 { (exit 1); exit 1; }; }
620 # Be sure to have absolute paths.
621 for ac_var in exec_prefix prefix
623 eval ac_val=$`echo $ac_var`
625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
631 # Be sure to have absolute paths.
632 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
635 eval ac_val=$`echo $ac_var`
637 [\\/$]* | ?:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };;
643 # There might be people who depend on the old broken behavior: `$host'
644 # used to hold the argument of --host etc.
645 # FIXME: To remove some day.
650 # FIXME: To remove some day.
651 if test "x$host_alias" != x; then
652 if test "x$build_alias" = x; then
653 cross_compiling=maybe
654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
655 If a cross compiler is detected then cross compile mode will be used." >&2
656 elif test "x$build_alias" != "x$host_alias"; then
662 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664 test "$silent" = yes && exec 6>/dev/null
667 # Find the source files, if location was not specified.
668 if test -z "$srcdir"; then
669 ac_srcdir_defaulted=yes
670 # Try the directory containing this script, then its parent.
671 ac_confdir=`(dirname "$0") 2>/dev/null ||
672 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$0" : 'X\(//\)[^/]' \| \
674 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \
676 . : '\(.\)' 2>/dev/null ||
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680 /^X\(\/\/\)$/{ s//\1/; q; }
681 /^X\(\/\).*/{ s//\1/; q; }
684 if test ! -r $srcdir/$ac_unique_file; then
688 ac_srcdir_defaulted=no
690 if test ! -r $srcdir/$ac_unique_file; then
691 if test "$ac_srcdir_defaulted" = yes; then
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693 { (exit 1); exit 1; }; }
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696 { (exit 1); exit 1; }; }
699 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701 { (exit 1); exit 1; }; }
702 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703 ac_env_build_alias_set=${build_alias+set}
704 ac_env_build_alias_value=$build_alias
705 ac_cv_env_build_alias_set=${build_alias+set}
706 ac_cv_env_build_alias_value=$build_alias
707 ac_env_host_alias_set=${host_alias+set}
708 ac_env_host_alias_value=$host_alias
709 ac_cv_env_host_alias_set=${host_alias+set}
710 ac_cv_env_host_alias_value=$host_alias
711 ac_env_target_alias_set=${target_alias+set}
712 ac_env_target_alias_value=$target_alias
713 ac_cv_env_target_alias_set=${target_alias+set}
714 ac_cv_env_target_alias_value=$target_alias
715 ac_env_CC_set=${CC+set}
717 ac_cv_env_CC_set=${CC+set}
718 ac_cv_env_CC_value=$CC
719 ac_env_CFLAGS_set=${CFLAGS+set}
720 ac_env_CFLAGS_value=$CFLAGS
721 ac_cv_env_CFLAGS_set=${CFLAGS+set}
722 ac_cv_env_CFLAGS_value=$CFLAGS
723 ac_env_LDFLAGS_set=${LDFLAGS+set}
724 ac_env_LDFLAGS_value=$LDFLAGS
725 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_cv_env_LDFLAGS_value=$LDFLAGS
727 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
728 ac_env_CPPFLAGS_value=$CPPFLAGS
729 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
731 ac_env_CPP_set=${CPP+set}
732 ac_env_CPP_value=$CPP
733 ac_cv_env_CPP_set=${CPP+set}
734 ac_cv_env_CPP_value=$CPP
737 # Report the --help message.
739 if test "$ac_init_help" = "long"; then
740 # Omit some internal or obsolete options to make the list less imposing.
741 # This message is too long to be a string in the A/UX 3.1 sh.
743 \`configure' configures this package to adapt to many kinds of systems.
745 Usage: $0 [OPTION]... [VAR=VALUE]...
747 To assign environment variables (e.g., CC, CFLAGS...), specify them as
748 VAR=VALUE. See below for descriptions of some of the useful variables.
750 Defaults for the options are specified in brackets.
753 -h, --help display this help and exit
754 --help=short display options specific to this package
755 --help=recursive display the short help of all the included packages
756 -V, --version display version information and exit
757 -q, --quiet, --silent do not print \`checking...' messages
758 --cache-file=FILE cache test results in FILE [disabled]
759 -C, --config-cache alias for \`--cache-file=config.cache'
760 -n, --no-create do not create output files
761 --srcdir=DIR find the sources in DIR [configure dir or \`..']
766 Installation directories:
767 --prefix=PREFIX install architecture-independent files in PREFIX
769 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
772 By default, \`make install' will install all the files in
773 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
774 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
775 for instance \`--prefix=\$HOME'.
777 For better control, use the options below.
779 Fine tuning of the installation directories:
780 --bindir=DIR user executables [EPREFIX/bin]
781 --sbindir=DIR system admin executables [EPREFIX/sbin]
782 --libexecdir=DIR program executables [EPREFIX/libexec]
783 --datadir=DIR read-only architecture-independent data [PREFIX/share]
784 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
785 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
786 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
787 --libdir=DIR object code libraries [EPREFIX/lib]
788 --includedir=DIR C header files [PREFIX/include]
789 --oldincludedir=DIR C header files for non-gcc [/usr/include]
790 --infodir=DIR info documentation [PREFIX/info]
791 --mandir=DIR man documentation [PREFIX/man]
797 --program-prefix=PREFIX prepend PREFIX to installed program names
798 --program-suffix=SUFFIX append SUFFIX to installed program names
799 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
803 if test -n "$ac_init_help"; then
808 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
809 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
810 --enable-maintainer-mode enable make rules and dependencies not useful
811 (and sometimes confusing) to the casual installer
812 --disable-dependency-tracking Speeds up one-time builds
813 --enable-dependency-tracking Do not reject slow dependency extractors
815 Some influential environment variables:
816 CC C compiler command
817 CFLAGS C compiler flags
818 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
819 nonstandard directory <lib dir>
820 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
821 headers in a nonstandard directory <include dir>
824 Use these variables to override the choices made by `configure' or to help
825 it to find libraries and programs with nonstandard names/locations.
830 if test "$ac_init_help" = "recursive"; then
831 # If there are subdirs, report their specific --help.
833 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
834 test -d $ac_dir || continue
837 if test "$ac_dir" != .; then
838 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
839 # A "../" for each directory in $ac_dir_suffix.
840 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
842 ac_dir_suffix= ac_top_builddir=
846 .) # No --srcdir option. We are building in place.
848 if test -z "$ac_top_builddir"; then
851 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
853 [\\/]* | ?:[\\/]* ) # Absolute path.
854 ac_srcdir=$srcdir$ac_dir_suffix;
855 ac_top_srcdir=$srcdir ;;
857 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
858 ac_top_srcdir=$ac_top_builddir$srcdir ;;
860 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
862 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
863 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
864 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
865 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
868 # Check for guested configure; otherwise get Cygnus style configure.
869 if test -f $ac_srcdir/configure.gnu; then
871 $SHELL $ac_srcdir/configure.gnu --help=recursive
872 elif test -f $ac_srcdir/configure; then
874 $SHELL $ac_srcdir/configure --help=recursive
875 elif test -f $ac_srcdir/configure.ac ||
876 test -f $ac_srcdir/configure.in; then
880 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
886 test -n "$ac_init_help" && exit 0
887 if $ac_init_version; then
890 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
891 Free Software Foundation, Inc.
892 This configure script is free software; the Free Software Foundation
893 gives unlimited permission to copy, distribute and modify it.
899 This file contains any messages produced by compilers while
900 running configure, to aid debugging if configure makes a mistake.
902 It was created by $as_me, which was
903 generated by GNU Autoconf 2.57. Invocation command line was
914 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
915 uname -m = `(uname -m) 2>/dev/null || echo unknown`
916 uname -r = `(uname -r) 2>/dev/null || echo unknown`
917 uname -s = `(uname -s) 2>/dev/null || echo unknown`
918 uname -v = `(uname -v) 2>/dev/null || echo unknown`
920 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
921 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
923 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
924 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
926 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
927 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
928 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
929 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
937 test -z "$as_dir" && as_dir=.
953 # Keep a trace of the command line.
954 # Strip out --no-create and --no-recursion so they do not pile up.
955 # Strip out --silent because we don't want to record it for future runs.
956 # Also quote any args containing shell meta-characters.
957 # Make two passes to allow for proper duplicate-argument suppression.
962 ac_must_keep_next=false
968 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
970 | -silent | --silent | --silen | --sile | --sil)
972 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
973 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
976 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
978 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
979 if test $ac_must_keep_next = true; then
980 ac_must_keep_next=false # Got value, back to normal.
983 *=* | --config-cache | -C | -disable-* | --disable-* \
984 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
985 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
986 | -with-* | --with-* | -without-* | --without-* | --x)
987 case "$ac_configure_args0 " in
988 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
991 -* ) ac_must_keep_next=true ;;
994 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
995 # Get rid of the leading space.
1001 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1002 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1004 # When interrupted or exit'd, cleanup temporary files, and complete
1005 # config.log. We remove comments because anyway the quotes in there
1006 # would cause problems or look ugly.
1007 # WARNING: Be sure not to use single quotes in there, as some shells,
1008 # such as our DU 5.0 friend, will then `close' the trap.
1009 trap 'exit_status=$?
1010 # Save into config.log some information that might help in debugging.
1015 ## ---------------- ##
1016 ## Cache variables. ##
1017 ## ---------------- ##
1020 # The following way of writing the cache mishandles newlines in values,
1023 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1026 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1038 ## ----------------- ##
1039 ## Output variables. ##
1040 ## ----------------- ##
1043 for ac_var in $ac_subst_vars
1045 eval ac_val=$`echo $ac_var`
1046 echo "$ac_var='"'"'$ac_val'"'"'"
1050 if test -n "$ac_subst_files"; then
1057 for ac_var in $ac_subst_files
1059 eval ac_val=$`echo $ac_var`
1060 echo "$ac_var='"'"'$ac_val'"'"'"
1065 if test -s confdefs.h; then
1072 sed "/^$/d" confdefs.h | sort
1075 test "$ac_signal" != 0 &&
1076 echo "$as_me: caught signal $ac_signal"
1077 echo "$as_me: exit $exit_status"
1079 rm -f core core.* *.core &&
1080 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1083 for ac_signal in 1 2 13 15; do
1084 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1088 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1089 rm -rf conftest* confdefs.h
1090 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1093 # Predefined preprocessor variables.
1095 cat >>confdefs.h <<_ACEOF
1096 #define PACKAGE_NAME "$PACKAGE_NAME"
1100 cat >>confdefs.h <<_ACEOF
1101 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1105 cat >>confdefs.h <<_ACEOF
1106 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1110 cat >>confdefs.h <<_ACEOF
1111 #define PACKAGE_STRING "$PACKAGE_STRING"
1115 cat >>confdefs.h <<_ACEOF
1116 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1120 # Let the site file select an alternate cache file if it wants to.
1121 # Prefer explicitly selected file to automatically selected ones.
1122 if test -z "$CONFIG_SITE"; then
1123 if test "x$prefix" != xNONE; then
1124 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1126 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1129 for ac_site_file in $CONFIG_SITE; do
1130 if test -r "$ac_site_file"; then
1131 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1132 echo "$as_me: loading site script $ac_site_file" >&6;}
1133 sed 's/^/| /' "$ac_site_file" >&5
1138 if test -r "$cache_file"; then
1139 # Some versions of bash will fail to source /dev/null (special
1140 # files actually), so we avoid doing that.
1141 if test -f "$cache_file"; then
1142 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1143 echo "$as_me: loading cache $cache_file" >&6;}
1145 [\\/]* | ?:[\\/]* ) . $cache_file;;
1146 *) . ./$cache_file;;
1150 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1151 echo "$as_me: creating cache $cache_file" >&6;}
1155 # Check that the precious variables saved in the cache have kept the same
1157 ac_cache_corrupted=false
1158 for ac_var in `(set) 2>&1 |
1159 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1160 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1161 eval ac_new_set=\$ac_env_${ac_var}_set
1162 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1163 eval ac_new_val="\$ac_env_${ac_var}_value"
1164 case $ac_old_set,$ac_new_set in
1166 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1167 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1168 ac_cache_corrupted=: ;;
1170 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1171 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1172 ac_cache_corrupted=: ;;
1175 if test "x$ac_old_val" != "x$ac_new_val"; then
1176 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1177 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1178 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1179 echo "$as_me: former value: $ac_old_val" >&2;}
1180 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1181 echo "$as_me: current value: $ac_new_val" >&2;}
1182 ac_cache_corrupted=:
1185 # Pass precious variables to config.status.
1186 if test "$ac_new_set" = set; then
1188 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1189 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1190 *) ac_arg=$ac_var=$ac_new_val ;;
1192 case " $ac_configure_args " in
1193 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1194 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1198 if $ac_cache_corrupted; then
1199 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1200 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1201 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1202 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1203 { (exit 1); exit 1; }; }
1207 ac_cpp='$CPP $CPPFLAGS'
1208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1230 ac_config_headers="$ac_config_headers config.h"
1232 am__api_version="1.7"
1234 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1235 if test -f $ac_dir/install-sh; then
1237 ac_install_sh="$ac_aux_dir/install-sh -c"
1239 elif test -f $ac_dir/install.sh; then
1241 ac_install_sh="$ac_aux_dir/install.sh -c"
1243 elif test -f $ac_dir/shtool; then
1245 ac_install_sh="$ac_aux_dir/shtool install -c"
1249 if test -z "$ac_aux_dir"; then
1250 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1251 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1252 { (exit 1); exit 1; }; }
1254 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1255 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1256 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1258 # Find a good install program. We prefer a C program (faster),
1259 # so one script is as good as another. But avoid the broken or
1260 # incompatible versions:
1261 # SysV /etc/install, /usr/sbin/install
1262 # SunOS /usr/etc/install
1263 # IRIX /sbin/install
1265 # AmigaOS /C/install, which installs bootblocks on floppy discs
1266 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1267 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1268 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1269 # ./install, which can be erroneously created by make from ./install.sh.
1270 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1271 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1272 if test -z "$INSTALL"; then
1273 if test "${ac_cv_path_install+set}" = set; then
1274 echo $ECHO_N "(cached) $ECHO_C" >&6
1276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1280 test -z "$as_dir" && as_dir=.
1281 # Account for people who put trailing slashes in PATH elements.
1283 ./ | .// | /cC/* | \
1284 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1287 # OSF1 and SCO ODT 3.0 have their own names for install.
1288 # Don't use installbsd from OSF since it installs stuff as root
1290 for ac_prog in ginstall scoinst install; do
1291 for ac_exec_ext in '' $ac_executable_extensions; do
1292 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1293 if test $ac_prog = install &&
1294 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1295 # AIX install. It has an incompatible calling convention.
1297 elif test $ac_prog = install &&
1298 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1299 # program-specific install script used by HP pwplus--don't use.
1302 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1314 if test "${ac_cv_path_install+set}" = set; then
1315 INSTALL=$ac_cv_path_install
1317 # As a last resort, use the slow shell script. We don't cache a
1318 # path for INSTALL within a source directory, because that will
1319 # break other packages using the cache if that directory is
1320 # removed, or if the path is relative.
1321 INSTALL=$ac_install_sh
1324 echo "$as_me:$LINENO: result: $INSTALL" >&5
1325 echo "${ECHO_T}$INSTALL" >&6
1327 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1328 # It thinks the first close brace ends the variable substitution.
1329 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1331 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1333 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1335 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1336 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1339 echo timestamp > conftest.file
1340 # Do `set' in a subshell so we don't clobber the current shell's
1341 # arguments. Must try -L first in case configure is actually a
1342 # symlink; some systems play weird games with the mod time of symlinks
1343 # (eg FreeBSD returns the mod time of the symlink's containing
1346 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1347 if test "$*" = "X"; then
1349 set X `ls -t $srcdir/configure conftest.file`
1352 if test "$*" != "X $srcdir/configure conftest.file" \
1353 && test "$*" != "X conftest.file $srcdir/configure"; then
1355 # If neither matched, then we have a broken ls. This can happen
1356 # if, for instance, CONFIG_SHELL is bash and it inherits a
1357 # broken ls alias from the environment. This has actually
1358 # happened. Such a system could not be considered "sane".
1359 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1360 alias in your environment" >&5
1361 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1362 alias in your environment" >&2;}
1363 { (exit 1); exit 1; }; }
1366 test "$2" = conftest.file
1372 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1373 Check your system clock" >&5
1374 echo "$as_me: error: newly created file is older than distributed files!
1375 Check your system clock" >&2;}
1376 { (exit 1); exit 1; }; }
1378 echo "$as_me:$LINENO: result: yes" >&5
1379 echo "${ECHO_T}yes" >&6
1380 test "$program_prefix" != NONE &&
1381 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1382 # Use a double $ so make ignores it.
1383 test "$program_suffix" != NONE &&
1384 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1385 # Double any \ or $. echo might interpret backslashes.
1386 # By default was `s,x,x', remove it if useless.
1387 cat <<\_ACEOF >conftest.sed
1388 s/[\\$]/&&/g;s/;s,x,x,$//
1390 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1394 # expand $ac_aux_dir to an absolute path
1395 am_aux_dir=`cd $ac_aux_dir && pwd`
1397 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1398 # Use eval to expand $SHELL
1399 if eval "$MISSING --run true"; then
1400 am_missing_run="$MISSING --run "
1403 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1404 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1407 for ac_prog in gawk mawk nawk awk
1409 # Extract the first word of "$ac_prog", so it can be a program name with args.
1410 set dummy $ac_prog; ac_word=$2
1411 echo "$as_me:$LINENO: checking for $ac_word" >&5
1412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1413 if test "${ac_cv_prog_AWK+set}" = set; then
1414 echo $ECHO_N "(cached) $ECHO_C" >&6
1416 if test -n "$AWK"; then
1417 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1423 test -z "$as_dir" && as_dir=.
1424 for ac_exec_ext in '' $ac_executable_extensions; do
1425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1426 ac_cv_prog_AWK="$ac_prog"
1427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1436 if test -n "$AWK"; then
1437 echo "$as_me:$LINENO: result: $AWK" >&5
1438 echo "${ECHO_T}$AWK" >&6
1440 echo "$as_me:$LINENO: result: no" >&5
1441 echo "${ECHO_T}no" >&6
1444 test -n "$AWK" && break
1447 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1448 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1449 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1450 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1451 echo $ECHO_N "(cached) $ECHO_C" >&6
1453 cat >conftest.make <<\_ACEOF
1455 @echo 'ac_maketemp="$(MAKE)"'
1457 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1458 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1459 if test -n "$ac_maketemp"; then
1460 eval ac_cv_prog_make_${ac_make}_set=yes
1462 eval ac_cv_prog_make_${ac_make}_set=no
1466 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1467 echo "$as_me:$LINENO: result: yes" >&5
1468 echo "${ECHO_T}yes" >&6
1471 echo "$as_me:$LINENO: result: no" >&5
1472 echo "${ECHO_T}no" >&6
1473 SET_MAKE="MAKE=${MAKE-make}"
1476 rm -rf .tst 2>/dev/null
1477 mkdir .tst 2>/dev/null
1478 if test -d .tst; then
1483 rmdir .tst 2>/dev/null
1485 # test to see if srcdir already configured
1486 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1487 test -f $srcdir/config.status; then
1488 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1489 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1490 { (exit 1); exit 1; }; }
1493 # test whether we have cygpath
1494 if test -z "$CYGPATH_W"; then
1495 if (cygpath --version) >/dev/null 2>/dev/null; then
1496 CYGPATH_W='cygpath -w'
1503 # Define the identity of the package.
1508 cat >>confdefs.h <<_ACEOF
1509 #define PACKAGE "$PACKAGE"
1513 cat >>confdefs.h <<_ACEOF
1514 #define VERSION "$VERSION"
1517 # Some tools Automake needs.
1519 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1522 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1525 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1528 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1531 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1534 AMTAR=${AMTAR-"${am_missing_run}tar"}
1536 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1538 # Installed binaries are usually stripped using `strip' when the user
1539 # run `make install-strip'. However `strip' might not be the right
1540 # tool to use in cross-compilation environments, therefore Automake
1541 # will honor the `STRIP' environment variable to overrule this program.
1542 if test "$cross_compiling" != no; then
1543 if test -n "$ac_tool_prefix"; then
1544 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1545 set dummy ${ac_tool_prefix}strip; ac_word=$2
1546 echo "$as_me:$LINENO: checking for $ac_word" >&5
1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1548 if test "${ac_cv_prog_STRIP+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 if test -n "$STRIP"; then
1552 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558 test -z "$as_dir" && as_dir=.
1559 for ac_exec_ext in '' $ac_executable_extensions; do
1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1561 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1570 STRIP=$ac_cv_prog_STRIP
1571 if test -n "$STRIP"; then
1572 echo "$as_me:$LINENO: result: $STRIP" >&5
1573 echo "${ECHO_T}$STRIP" >&6
1575 echo "$as_me:$LINENO: result: no" >&5
1576 echo "${ECHO_T}no" >&6
1580 if test -z "$ac_cv_prog_STRIP"; then
1582 # Extract the first word of "strip", so it can be a program name with args.
1583 set dummy strip; ac_word=$2
1584 echo "$as_me:$LINENO: checking for $ac_word" >&5
1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1586 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 if test -n "$ac_ct_STRIP"; then
1590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1596 test -z "$as_dir" && as_dir=.
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1599 ac_cv_prog_ac_ct_STRIP="strip"
1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1606 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1610 if test -n "$ac_ct_STRIP"; then
1611 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1612 echo "${ECHO_T}$ac_ct_STRIP" >&6
1614 echo "$as_me:$LINENO: result: no" >&5
1615 echo "${ECHO_T}no" >&6
1620 STRIP="$ac_cv_prog_STRIP"
1624 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1626 # We need awk for the "check" target. The system "awk" is bad on
1631 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1632 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1633 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1634 if test "${enable_maintainer_mode+set}" = set; then
1635 enableval="$enable_maintainer_mode"
1636 USE_MAINTAINER_MODE=$enableval
1638 USE_MAINTAINER_MODE=no
1640 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1641 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1644 if test $USE_MAINTAINER_MODE = yes; then
1645 MAINTAINER_MODE_TRUE=
1646 MAINTAINER_MODE_FALSE='#'
1648 MAINTAINER_MODE_TRUE='#'
1649 MAINTAINER_MODE_FALSE=
1652 MAINT=$MAINTAINER_MODE_TRUE
1658 if test -f ../NOINST_GOB ; then
1661 echo "$as_me:$LINENO: result: *** NOT Going to install GOB ***" >&5
1662 echo "${ECHO_T}*** NOT Going to install GOB ***" >&6
1663 SUBDIRS="src examples"
1668 SUBDIRS="src examples doc"
1674 DEPDIR="${am__leading_dot}deps"
1676 ac_config_commands="$ac_config_commands depfiles"
1679 am_make=${MAKE-make}
1680 cat > confinc << 'END'
1684 # If we don't find an include directive, just comment out the code.
1685 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1686 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1690 # First try GNU make style include.
1691 echo "include confinc" > confmf
1692 # We grep out `Entering directory' and `Leaving directory'
1693 # messages which can occur if `w' ends up in MAKEFLAGS.
1694 # In particular we don't look at `^make:' because GNU make might
1695 # be invoked under some other name (usually "gmake"), in which
1696 # case it prints its new name instead of `make'.
1697 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1702 # Now try BSD make style include.
1703 if test "$am__include" = "#"; then
1704 echo '.include "confinc"' > confmf
1705 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1706 am__include=.include
1713 echo "$as_me:$LINENO: result: $_am_result" >&5
1714 echo "${ECHO_T}$_am_result" >&6
1715 rm -f confinc confmf
1717 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1718 if test "${enable_dependency_tracking+set}" = set; then
1719 enableval="$enable_dependency_tracking"
1722 if test "x$enable_dependency_tracking" != xno; then
1723 am_depcomp="$ac_aux_dir/depcomp"
1728 if test "x$enable_dependency_tracking" != xno; then
1739 ac_cpp='$CPP $CPPFLAGS'
1740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1743 if test -n "$ac_tool_prefix"; then
1744 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1745 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1746 echo "$as_me:$LINENO: checking for $ac_word" >&5
1747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748 if test "${ac_cv_prog_CC+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1751 if test -n "$CC"; then
1752 ac_cv_prog_CC="$CC" # Let the user override the test.
1754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 test -z "$as_dir" && as_dir=.
1759 for ac_exec_ext in '' $ac_executable_extensions; do
1760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1761 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1771 if test -n "$CC"; then
1772 echo "$as_me:$LINENO: result: $CC" >&5
1773 echo "${ECHO_T}$CC" >&6
1775 echo "$as_me:$LINENO: result: no" >&5
1776 echo "${ECHO_T}no" >&6
1780 if test -z "$ac_cv_prog_CC"; then
1782 # Extract the first word of "gcc", so it can be a program name with args.
1783 set dummy gcc; ac_word=$2
1784 echo "$as_me:$LINENO: checking for $ac_word" >&5
1785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1786 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 if test -n "$ac_ct_CC"; then
1790 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir=.
1797 for ac_exec_ext in '' $ac_executable_extensions; do
1798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1799 ac_cv_prog_ac_ct_CC="gcc"
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1809 if test -n "$ac_ct_CC"; then
1810 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1811 echo "${ECHO_T}$ac_ct_CC" >&6
1813 echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6
1822 if test -z "$CC"; then
1823 if test -n "$ac_tool_prefix"; then
1824 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1825 set dummy ${ac_tool_prefix}cc; ac_word=$2
1826 echo "$as_me:$LINENO: checking for $ac_word" >&5
1827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1828 if test "${ac_cv_prog_CC+set}" = set; then
1829 echo $ECHO_N "(cached) $ECHO_C" >&6
1831 if test -n "$CC"; then
1832 ac_cv_prog_CC="$CC" # Let the user override the test.
1834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1838 test -z "$as_dir" && as_dir=.
1839 for ac_exec_ext in '' $ac_executable_extensions; do
1840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1841 ac_cv_prog_CC="${ac_tool_prefix}cc"
1842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1851 if test -n "$CC"; then
1852 echo "$as_me:$LINENO: result: $CC" >&5
1853 echo "${ECHO_T}$CC" >&6
1855 echo "$as_me:$LINENO: result: no" >&5
1856 echo "${ECHO_T}no" >&6
1860 if test -z "$ac_cv_prog_CC"; then
1862 # Extract the first word of "cc", so it can be a program name with args.
1863 set dummy cc; ac_word=$2
1864 echo "$as_me:$LINENO: checking for $ac_word" >&5
1865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1866 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1867 echo $ECHO_N "(cached) $ECHO_C" >&6
1869 if test -n "$ac_ct_CC"; then
1870 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1876 test -z "$as_dir" && as_dir=.
1877 for ac_exec_ext in '' $ac_executable_extensions; do
1878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1879 ac_cv_prog_ac_ct_CC="cc"
1880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1889 if test -n "$ac_ct_CC"; then
1890 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1891 echo "${ECHO_T}$ac_ct_CC" >&6
1893 echo "$as_me:$LINENO: result: no" >&5
1894 echo "${ECHO_T}no" >&6
1903 if test -z "$CC"; then
1904 # Extract the first word of "cc", so it can be a program name with args.
1905 set dummy cc; ac_word=$2
1906 echo "$as_me:$LINENO: checking for $ac_word" >&5
1907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1908 if test "${ac_cv_prog_CC+set}" = set; then
1909 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 if test -n "$CC"; then
1912 ac_cv_prog_CC="$CC" # Let the user override the test.
1915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 test -z "$as_dir" && as_dir=.
1920 for ac_exec_ext in '' $ac_executable_extensions; do
1921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1922 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1923 ac_prog_rejected=yes
1927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1933 if test $ac_prog_rejected = yes; then
1934 # We found a bogon in the path, so make sure we never use it.
1935 set dummy $ac_cv_prog_CC
1937 if test $# != 0; then
1938 # We chose a different compiler from the bogus one.
1939 # However, it has the same basename, so the bogon will be chosen
1940 # first if we set CC to just the basename; use the full file name.
1942 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1948 if test -n "$CC"; then
1949 echo "$as_me:$LINENO: result: $CC" >&5
1950 echo "${ECHO_T}$CC" >&6
1952 echo "$as_me:$LINENO: result: no" >&5
1953 echo "${ECHO_T}no" >&6
1957 if test -z "$CC"; then
1958 if test -n "$ac_tool_prefix"; then
1961 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1962 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1963 echo "$as_me:$LINENO: checking for $ac_word" >&5
1964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1965 if test "${ac_cv_prog_CC+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 if test -n "$CC"; then
1969 ac_cv_prog_CC="$CC" # Let the user override the test.
1971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 test -z "$as_dir" && as_dir=.
1976 for ac_exec_ext in '' $ac_executable_extensions; do
1977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1978 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 if test -n "$CC"; then
1989 echo "$as_me:$LINENO: result: $CC" >&5
1990 echo "${ECHO_T}$CC" >&6
1992 echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6
1996 test -n "$CC" && break
1999 if test -z "$CC"; then
2003 # Extract the first word of "$ac_prog", so it can be a program name with args.
2004 set dummy $ac_prog; ac_word=$2
2005 echo "$as_me:$LINENO: checking for $ac_word" >&5
2006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2007 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 if test -n "$ac_ct_CC"; then
2011 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020 ac_cv_prog_ac_ct_CC="$ac_prog"
2021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2029 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2030 if test -n "$ac_ct_CC"; then
2031 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2032 echo "${ECHO_T}$ac_ct_CC" >&6
2034 echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6
2038 test -n "$ac_ct_CC" && break
2047 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2048 See \`config.log' for more details." >&5
2049 echo "$as_me: error: no acceptable C compiler found in \$PATH
2050 See \`config.log' for more details." >&2;}
2051 { (exit 1); exit 1; }; }
2053 # Provide some information about the compiler.
2054 echo "$as_me:$LINENO:" \
2055 "checking for C compiler version" >&5
2056 ac_compiler=`set X $ac_compile; echo $2`
2057 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2058 (eval $ac_compiler --version </dev/null >&5) 2>&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }
2062 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2063 (eval $ac_compiler -v </dev/null >&5) 2>&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }
2067 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2068 (eval $ac_compiler -V </dev/null >&5) 2>&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }
2073 cat >conftest.$ac_ext <<_ACEOF
2074 #line $LINENO "configure"
2077 cat confdefs.h >>conftest.$ac_ext
2078 cat >>conftest.$ac_ext <<_ACEOF
2079 /* end confdefs.h. */
2089 ac_clean_files_save=$ac_clean_files
2090 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2091 # Try to create an executable without -o first, disregard a.out.
2092 # It will help us diagnose broken compilers, and finding out an intuition
2094 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2095 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2096 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2097 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2098 (eval $ac_link_default) 2>&5
2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101 (exit $ac_status); }; then
2102 # Find the output, starting from the most likely. This scheme is
2103 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2106 # Be careful to initialize this variable, since it used to be cached.
2107 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2109 # b.out is created by i960 compilers.
2110 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2112 test -f "$ac_file" || continue
2114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2117 # This is the source file.
2120 # We found the default executable, but exeext='' is most
2124 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2125 # FIXME: I believe we export ac_cv_exeext for Libtool,
2126 # but it would be cool to find out if it's true. Does anybody
2127 # maintain Libtool? --akim.
2135 echo "$as_me: failed program was:" >&5
2136 sed 's/^/| /' conftest.$ac_ext >&5
2138 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2139 See \`config.log' for more details." >&5
2140 echo "$as_me: error: C compiler cannot create executables
2141 See \`config.log' for more details." >&2;}
2142 { (exit 77); exit 77; }; }
2145 ac_exeext=$ac_cv_exeext
2146 echo "$as_me:$LINENO: result: $ac_file" >&5
2147 echo "${ECHO_T}$ac_file" >&6
2149 # Check the compiler produces executables we can run. If not, either
2150 # the compiler is broken, or we cross compile.
2151 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2152 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2153 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2154 # If not cross compiling, check that we can run a simple program.
2155 if test "$cross_compiling" != yes; then
2156 if { ac_try='./$ac_file'
2157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; }; then
2164 if test "$cross_compiling" = maybe; then
2167 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2168 If you meant to cross compile, use \`--host'.
2169 See \`config.log' for more details." >&5
2170 echo "$as_me: error: cannot run C compiled programs.
2171 If you meant to cross compile, use \`--host'.
2172 See \`config.log' for more details." >&2;}
2173 { (exit 1); exit 1; }; }
2177 echo "$as_me:$LINENO: result: yes" >&5
2178 echo "${ECHO_T}yes" >&6
2180 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2181 ac_clean_files=$ac_clean_files_save
2182 # Check the compiler produces executables we can run. If not, either
2183 # the compiler is broken, or we cross compile.
2184 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2185 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2186 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2187 echo "${ECHO_T}$cross_compiling" >&6
2189 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2190 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2192 (eval $ac_link) 2>&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); }; then
2196 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2197 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2198 # work properly (i.e., refer to `conftest.exe'), while it won't with
2200 for ac_file in conftest.exe conftest conftest.*; do
2201 test -f "$ac_file" || continue
2203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2204 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2211 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2212 See \`config.log' for more details." >&5
2213 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2214 See \`config.log' for more details." >&2;}
2215 { (exit 1); exit 1; }; }
2218 rm -f conftest$ac_cv_exeext
2219 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2220 echo "${ECHO_T}$ac_cv_exeext" >&6
2222 rm -f conftest.$ac_ext
2223 EXEEXT=$ac_cv_exeext
2225 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2226 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2227 if test "${ac_cv_objext+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 cat >conftest.$ac_ext <<_ACEOF
2231 #line $LINENO "configure"
2234 cat confdefs.h >>conftest.$ac_ext
2235 cat >>conftest.$ac_ext <<_ACEOF
2236 /* end confdefs.h. */
2246 rm -f conftest.o conftest.obj
2247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2248 (eval $ac_compile) 2>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }; then
2252 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2255 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2260 echo "$as_me: failed program was:" >&5
2261 sed 's/^/| /' conftest.$ac_ext >&5
2263 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2264 See \`config.log' for more details." >&5
2265 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2266 See \`config.log' for more details." >&2;}
2267 { (exit 1); exit 1; }; }
2270 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2272 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2273 echo "${ECHO_T}$ac_cv_objext" >&6
2274 OBJEXT=$ac_cv_objext
2276 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2277 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2278 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 cat >conftest.$ac_ext <<_ACEOF
2282 #line $LINENO "configure"
2285 cat confdefs.h >>conftest.$ac_ext
2286 cat >>conftest.$ac_ext <<_ACEOF
2287 /* end confdefs.h. */
2300 rm -f conftest.$ac_objext
2301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2302 (eval $ac_compile) 2>&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); } &&
2306 { ac_try='test -s conftest.$ac_objext'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; }; then
2314 echo "$as_me: failed program was:" >&5
2315 sed 's/^/| /' conftest.$ac_ext >&5
2319 rm -f conftest.$ac_objext conftest.$ac_ext
2320 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2323 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2324 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2325 GCC=`test $ac_compiler_gnu = yes && echo yes`
2326 ac_test_CFLAGS=${CFLAGS+set}
2327 ac_save_CFLAGS=$CFLAGS
2329 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2330 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2331 if test "${ac_cv_prog_cc_g+set}" = set; then
2332 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 cat >conftest.$ac_ext <<_ACEOF
2335 #line $LINENO "configure"
2338 cat confdefs.h >>conftest.$ac_ext
2339 cat >>conftest.$ac_ext <<_ACEOF
2340 /* end confdefs.h. */
2350 rm -f conftest.$ac_objext
2351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2352 (eval $ac_compile) 2>&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); } &&
2356 { ac_try='test -s conftest.$ac_objext'
2357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }; }; then
2364 echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.$ac_ext >&5
2369 rm -f conftest.$ac_objext conftest.$ac_ext
2371 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2372 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2373 if test "$ac_test_CFLAGS" = set; then
2374 CFLAGS=$ac_save_CFLAGS
2375 elif test $ac_cv_prog_cc_g = yes; then
2376 if test "$GCC" = yes; then
2382 if test "$GCC" = yes; then
2388 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2389 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2390 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 ac_cv_prog_cc_stdc=no
2395 cat >conftest.$ac_ext <<_ACEOF
2396 #line $LINENO "configure"
2399 cat confdefs.h >>conftest.$ac_ext
2400 cat >>conftest.$ac_ext <<_ACEOF
2401 /* end confdefs.h. */
2404 #include <sys/types.h>
2405 #include <sys/stat.h>
2406 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2407 struct buf { int x; };
2408 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2409 static char *e (p, i)
2415 static char *f (char * (*g) (char **, int), char **p, ...)
2420 s = g (p, va_arg (v,int));
2424 int test (int i, double x);
2425 struct s1 {int (*f) (int a);};
2426 struct s2 {int (*f) (double a);};
2427 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2433 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2438 # Don't try gcc -ansi; that turns off useful extensions and
2439 # breaks some systems' header files.
2440 # AIX -qlanglvl=ansi
2441 # Ultrix and OSF/1 -std1
2442 # HP-UX 10.20 and later -Ae
2443 # HP-UX older versions -Aa -D_HPUX_SOURCE
2444 # SVR4 -Xc -D__EXTENSIONS__
2445 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2447 CC="$ac_save_CC $ac_arg"
2448 rm -f conftest.$ac_objext
2449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2450 (eval $ac_compile) 2>&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); } &&
2454 { ac_try='test -s conftest.$ac_objext'
2455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; }; then
2460 ac_cv_prog_cc_stdc=$ac_arg
2463 echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.$ac_ext >&5
2467 rm -f conftest.$ac_objext
2469 rm -f conftest.$ac_ext conftest.$ac_objext
2474 case "x$ac_cv_prog_cc_stdc" in
2476 echo "$as_me:$LINENO: result: none needed" >&5
2477 echo "${ECHO_T}none needed" >&6 ;;
2479 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2480 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2481 CC="$CC $ac_cv_prog_cc_stdc" ;;
2484 # Some people use a C++ compiler to compile C. Since we use `exit',
2485 # in C++ we need to declare it. In case someone uses the same compiler
2486 # for both compiling C and C++ we need to have the C++ compiler decide
2487 # the declaration of exit, since it's the most demanding environment.
2488 cat >conftest.$ac_ext <<_ACEOF
2493 rm -f conftest.$ac_objext
2494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2495 (eval $ac_compile) 2>&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); } &&
2499 { ac_try='test -s conftest.$ac_objext'
2500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; }; then
2505 for ac_declaration in \
2507 '#include <stdlib.h>' \
2508 'extern "C" void std::exit (int) throw (); using std::exit;' \
2509 'extern "C" void std::exit (int); using std::exit;' \
2510 'extern "C" void exit (int) throw ();' \
2511 'extern "C" void exit (int);' \
2514 cat >conftest.$ac_ext <<_ACEOF
2515 #line $LINENO "configure"
2518 cat confdefs.h >>conftest.$ac_ext
2519 cat >>conftest.$ac_ext <<_ACEOF
2520 /* end confdefs.h. */
2531 rm -f conftest.$ac_objext
2532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2533 (eval $ac_compile) 2>&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); } &&
2537 { ac_try='test -s conftest.$ac_objext'
2538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; }; then
2545 echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.$ac_ext >&5
2550 rm -f conftest.$ac_objext conftest.$ac_ext
2551 cat >conftest.$ac_ext <<_ACEOF
2552 #line $LINENO "configure"
2555 cat confdefs.h >>conftest.$ac_ext
2556 cat >>conftest.$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2567 rm -f conftest.$ac_objext
2568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2569 (eval $ac_compile) 2>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); } &&
2573 { ac_try='test -s conftest.$ac_objext'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; }; then
2581 echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.$ac_ext >&5
2585 rm -f conftest.$ac_objext conftest.$ac_ext
2588 if test -n "$ac_declaration"; then
2589 echo '#ifdef __cplusplus' >>confdefs.h
2590 echo $ac_declaration >>confdefs.h
2591 echo '#endif' >>confdefs.h
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2599 rm -f conftest.$ac_objext conftest.$ac_ext
2601 ac_cpp='$CPP $CPPFLAGS'
2602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2606 depcc="$CC" am_compiler_list=
2608 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2609 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2610 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2614 # We make a subdir and do the tests there. Otherwise we can end up
2615 # making bogus files that we don't know about and never remove. For
2616 # instance it was reported that on HP-UX the gcc test will end up
2617 # making a dummy file named `D' -- because `-MD' means `put the output
2620 # Copy depcomp to subdir because otherwise we won't find it if we're
2621 # using a relative directory.
2622 cp "$am_depcomp" conftest.dir
2625 am_cv_CC_dependencies_compiler_type=none
2626 if test "$am_compiler_list" = ""; then
2627 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2629 for depmode in $am_compiler_list; do
2630 # We need to recreate these files for each test, as the compiler may
2631 # overwrite some of them when testing with obscure command lines.
2632 # This happens at least with the AIX C compiler.
2633 echo '#include "conftest.h"' > conftest.c
2634 echo 'int i;' > conftest.h
2635 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2639 # after this tag, mechanisms are not by side-effect, so they'll
2640 # only be used when explicitly requested
2641 if test "x$enable_dependency_tracking" = xyes; then
2649 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2650 # mode. It turns out that the SunPro C++ compiler does not properly
2651 # handle `-M -o', and we need to detect this.
2652 if depmode=$depmode \
2653 source=conftest.c object=conftest.o \
2654 depfile=conftest.Po tmpdepfile=conftest.TPo \
2655 $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
2656 >/dev/null 2>conftest.err &&
2657 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2658 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2659 # icc doesn't choke on unknown options, it will just issue warnings
2660 # (even with -Werror). So we grep stderr for any message
2661 # that says an option was ignored.
2662 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2663 am_cv_CC_dependencies_compiler_type=$depmode
2672 am_cv_CC_dependencies_compiler_type=none
2676 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2677 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2678 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2683 test "x$enable_dependency_tracking" != xno \
2684 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2686 am__fastdepCC_FALSE='#'
2688 am__fastdepCC_TRUE='#'
2689 am__fastdepCC_FALSE=
2695 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2696 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2697 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 ac_check_lib_save_LIBS=$LIBS
2701 LIBS="-lcposix $LIBS"
2702 cat >conftest.$ac_ext <<_ACEOF
2703 #line $LINENO "configure"
2706 cat confdefs.h >>conftest.$ac_ext
2707 cat >>conftest.$ac_ext <<_ACEOF
2708 /* end confdefs.h. */
2710 /* Override any gcc2 internal prototype to avoid an error. */
2714 /* We use char because int might match the return type of a gcc2
2715 builtin and then its argument prototype would still apply. */
2725 rm -f conftest.$ac_objext conftest$ac_exeext
2726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2727 (eval $ac_link) 2>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } &&
2731 { ac_try='test -s conftest$ac_exeext'
2732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; }; then
2737 ac_cv_lib_cposix_strerror=yes
2739 echo "$as_me: failed program was:" >&5
2740 sed 's/^/| /' conftest.$ac_ext >&5
2742 ac_cv_lib_cposix_strerror=no
2744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2745 LIBS=$ac_check_lib_save_LIBS
2747 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2748 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2749 if test $ac_cv_lib_cposix_strerror = yes; then
2750 LIBS="$LIBS -lcposix"
2756 ac_cpp='$CPP $CPPFLAGS'
2757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2760 if test -n "$ac_tool_prefix"; then
2761 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2762 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2763 echo "$as_me:$LINENO: checking for $ac_word" >&5
2764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2765 if test "${ac_cv_prog_CC+set}" = set; then
2766 echo $ECHO_N "(cached) $ECHO_C" >&6
2768 if test -n "$CC"; then
2769 ac_cv_prog_CC="$CC" # Let the user override the test.
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 if test -n "$CC"; then
2789 echo "$as_me:$LINENO: result: $CC" >&5
2790 echo "${ECHO_T}$CC" >&6
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2797 if test -z "$ac_cv_prog_CC"; then
2799 # Extract the first word of "gcc", so it can be a program name with args.
2800 set dummy gcc; ac_word=$2
2801 echo "$as_me:$LINENO: checking for $ac_word" >&5
2802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2803 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 if test -n "$ac_ct_CC"; then
2807 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_ac_ct_CC="gcc"
2817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2826 if test -n "$ac_ct_CC"; then
2827 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2828 echo "${ECHO_T}$ac_ct_CC" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2839 if test -z "$CC"; then
2840 if test -n "$ac_tool_prefix"; then
2841 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2842 set dummy ${ac_tool_prefix}cc; ac_word=$2
2843 echo "$as_me:$LINENO: checking for $ac_word" >&5
2844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2845 if test "${ac_cv_prog_CC+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2848 if test -n "$CC"; then
2849 ac_cv_prog_CC="$CC" # Let the user override the test.
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 test -z "$as_dir" && as_dir=.
2856 for ac_exec_ext in '' $ac_executable_extensions; do
2857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2858 ac_cv_prog_CC="${ac_tool_prefix}cc"
2859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2868 if test -n "$CC"; then
2869 echo "$as_me:$LINENO: result: $CC" >&5
2870 echo "${ECHO_T}$CC" >&6
2872 echo "$as_me:$LINENO: result: no" >&5
2873 echo "${ECHO_T}no" >&6
2877 if test -z "$ac_cv_prog_CC"; then
2879 # Extract the first word of "cc", so it can be a program name with args.
2880 set dummy cc; ac_word=$2
2881 echo "$as_me:$LINENO: checking for $ac_word" >&5
2882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 if test -n "$ac_ct_CC"; then
2887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir=.
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2896 ac_cv_prog_ac_ct_CC="cc"
2897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2905 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2906 if test -n "$ac_ct_CC"; then
2907 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2908 echo "${ECHO_T}$ac_ct_CC" >&6
2910 echo "$as_me:$LINENO: result: no" >&5
2911 echo "${ECHO_T}no" >&6
2920 if test -z "$CC"; then
2921 # Extract the first word of "cc", so it can be a program name with args.
2922 set dummy cc; ac_word=$2
2923 echo "$as_me:$LINENO: checking for $ac_word" >&5
2924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2925 if test "${ac_cv_prog_CC+set}" = set; then
2926 echo $ECHO_N "(cached) $ECHO_C" >&6
2928 if test -n "$CC"; then
2929 ac_cv_prog_CC="$CC" # Let the user override the test.
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir=.
2937 for ac_exec_ext in '' $ac_executable_extensions; do
2938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2939 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2940 ac_prog_rejected=yes
2944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 if test $ac_prog_rejected = yes; then
2951 # We found a bogon in the path, so make sure we never use it.
2952 set dummy $ac_cv_prog_CC
2954 if test $# != 0; then
2955 # We chose a different compiler from the bogus one.
2956 # However, it has the same basename, so the bogon will be chosen
2957 # first if we set CC to just the basename; use the full file name.
2959 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2965 if test -n "$CC"; then
2966 echo "$as_me:$LINENO: result: $CC" >&5
2967 echo "${ECHO_T}$CC" >&6
2969 echo "$as_me:$LINENO: result: no" >&5
2970 echo "${ECHO_T}no" >&6
2974 if test -z "$CC"; then
2975 if test -n "$ac_tool_prefix"; then
2978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2979 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2980 echo "$as_me:$LINENO: checking for $ac_word" >&5
2981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2982 if test "${ac_cv_prog_CC+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 if test -n "$CC"; then
2986 ac_cv_prog_CC="$CC" # Let the user override the test.
2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2992 test -z "$as_dir" && as_dir=.
2993 for ac_exec_ext in '' $ac_executable_extensions; do
2994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2995 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 if test -n "$CC"; then
3006 echo "$as_me:$LINENO: result: $CC" >&5
3007 echo "${ECHO_T}$CC" >&6
3009 echo "$as_me:$LINENO: result: no" >&5
3010 echo "${ECHO_T}no" >&6
3013 test -n "$CC" && break
3016 if test -z "$CC"; then
3020 # Extract the first word of "$ac_prog", so it can be a program name with args.
3021 set dummy $ac_prog; ac_word=$2
3022 echo "$as_me:$LINENO: checking for $ac_word" >&5
3023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3024 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3025 echo $ECHO_N "(cached) $ECHO_C" >&6
3027 if test -n "$ac_ct_CC"; then
3028 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034 test -z "$as_dir" && as_dir=.
3035 for ac_exec_ext in '' $ac_executable_extensions; do
3036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3037 ac_cv_prog_ac_ct_CC="$ac_prog"
3038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3047 if test -n "$ac_ct_CC"; then
3048 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3049 echo "${ECHO_T}$ac_ct_CC" >&6
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3055 test -n "$ac_ct_CC" && break
3064 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3065 See \`config.log' for more details." >&5
3066 echo "$as_me: error: no acceptable C compiler found in \$PATH
3067 See \`config.log' for more details." >&2;}
3068 { (exit 1); exit 1; }; }
3070 # Provide some information about the compiler.
3071 echo "$as_me:$LINENO:" \
3072 "checking for C compiler version" >&5
3073 ac_compiler=`set X $ac_compile; echo $2`
3074 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3075 (eval $ac_compiler --version </dev/null >&5) 2>&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); }
3079 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3080 (eval $ac_compiler -v </dev/null >&5) 2>&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); }
3084 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3085 (eval $ac_compiler -V </dev/null >&5) 2>&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }
3090 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3091 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3092 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3093 echo $ECHO_N "(cached) $ECHO_C" >&6
3095 cat >conftest.$ac_ext <<_ACEOF
3096 #line $LINENO "configure"
3099 cat confdefs.h >>conftest.$ac_ext
3100 cat >>conftest.$ac_ext <<_ACEOF
3101 /* end confdefs.h. */
3114 rm -f conftest.$ac_objext
3115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3116 (eval $ac_compile) 2>&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } &&
3120 { ac_try='test -s conftest.$ac_objext'
3121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }; }; then
3128 echo "$as_me: failed program was:" >&5
3129 sed 's/^/| /' conftest.$ac_ext >&5
3133 rm -f conftest.$ac_objext conftest.$ac_ext
3134 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3137 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3138 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3139 GCC=`test $ac_compiler_gnu = yes && echo yes`
3140 ac_test_CFLAGS=${CFLAGS+set}
3141 ac_save_CFLAGS=$CFLAGS
3143 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3144 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3145 if test "${ac_cv_prog_cc_g+set}" = set; then
3146 echo $ECHO_N "(cached) $ECHO_C" >&6
3148 cat >conftest.$ac_ext <<_ACEOF
3149 #line $LINENO "configure"
3152 cat confdefs.h >>conftest.$ac_ext
3153 cat >>conftest.$ac_ext <<_ACEOF
3154 /* end confdefs.h. */
3164 rm -f conftest.$ac_objext
3165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3166 (eval $ac_compile) 2>&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); } &&
3170 { ac_try='test -s conftest.$ac_objext'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; }; then
3178 echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.$ac_ext >&5
3183 rm -f conftest.$ac_objext conftest.$ac_ext
3185 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3186 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3187 if test "$ac_test_CFLAGS" = set; then
3188 CFLAGS=$ac_save_CFLAGS
3189 elif test $ac_cv_prog_cc_g = yes; then
3190 if test "$GCC" = yes; then
3196 if test "$GCC" = yes; then
3202 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3203 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3204 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3205 echo $ECHO_N "(cached) $ECHO_C" >&6
3207 ac_cv_prog_cc_stdc=no
3209 cat >conftest.$ac_ext <<_ACEOF
3210 #line $LINENO "configure"
3213 cat confdefs.h >>conftest.$ac_ext
3214 cat >>conftest.$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3218 #include <sys/types.h>
3219 #include <sys/stat.h>
3220 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3221 struct buf { int x; };
3222 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3223 static char *e (p, i)
3229 static char *f (char * (*g) (char **, int), char **p, ...)
3234 s = g (p, va_arg (v,int));
3238 int test (int i, double x);
3239 struct s1 {int (*f) (int a);};
3240 struct s2 {int (*f) (double a);};
3241 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3247 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3252 # Don't try gcc -ansi; that turns off useful extensions and
3253 # breaks some systems' header files.
3254 # AIX -qlanglvl=ansi
3255 # Ultrix and OSF/1 -std1
3256 # HP-UX 10.20 and later -Ae
3257 # HP-UX older versions -Aa -D_HPUX_SOURCE
3258 # SVR4 -Xc -D__EXTENSIONS__
3259 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3261 CC="$ac_save_CC $ac_arg"
3262 rm -f conftest.$ac_objext
3263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3264 (eval $ac_compile) 2>&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); } &&
3268 { ac_try='test -s conftest.$ac_objext'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; }; then
3274 ac_cv_prog_cc_stdc=$ac_arg
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.$ac_ext >&5
3281 rm -f conftest.$ac_objext
3283 rm -f conftest.$ac_ext conftest.$ac_objext
3288 case "x$ac_cv_prog_cc_stdc" in
3290 echo "$as_me:$LINENO: result: none needed" >&5
3291 echo "${ECHO_T}none needed" >&6 ;;
3293 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3294 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3295 CC="$CC $ac_cv_prog_cc_stdc" ;;
3298 # Some people use a C++ compiler to compile C. Since we use `exit',
3299 # in C++ we need to declare it. In case someone uses the same compiler
3300 # for both compiling C and C++ we need to have the C++ compiler decide
3301 # the declaration of exit, since it's the most demanding environment.
3302 cat >conftest.$ac_ext <<_ACEOF
3307 rm -f conftest.$ac_objext
3308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3309 (eval $ac_compile) 2>&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } &&
3313 { ac_try='test -s conftest.$ac_objext'
3314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }; }; then
3319 for ac_declaration in \
3321 '#include <stdlib.h>' \
3322 'extern "C" void std::exit (int) throw (); using std::exit;' \
3323 'extern "C" void std::exit (int); using std::exit;' \
3324 'extern "C" void exit (int) throw ();' \
3325 'extern "C" void exit (int);' \
3328 cat >conftest.$ac_ext <<_ACEOF
3329 #line $LINENO "configure"
3332 cat confdefs.h >>conftest.$ac_ext
3333 cat >>conftest.$ac_ext <<_ACEOF
3334 /* end confdefs.h. */
3345 rm -f conftest.$ac_objext
3346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3347 (eval $ac_compile) 2>&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } &&
3351 { ac_try='test -s conftest.$ac_objext'
3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; }; then
3359 echo "$as_me: failed program was:" >&5
3360 sed 's/^/| /' conftest.$ac_ext >&5
3364 rm -f conftest.$ac_objext conftest.$ac_ext
3365 cat >conftest.$ac_ext <<_ACEOF
3366 #line $LINENO "configure"
3369 cat confdefs.h >>conftest.$ac_ext
3370 cat >>conftest.$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3381 rm -f conftest.$ac_objext
3382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3383 (eval $ac_compile) 2>&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } &&
3387 { ac_try='test -s conftest.$ac_objext'
3388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); }; }; then
3395 echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.$ac_ext >&5
3399 rm -f conftest.$ac_objext conftest.$ac_ext
3402 if test -n "$ac_declaration"; then
3403 echo '#ifdef __cplusplus' >>confdefs.h
3404 echo $ac_declaration >>confdefs.h
3405 echo '#endif' >>confdefs.h
3409 echo "$as_me: failed program was:" >&5
3410 sed 's/^/| /' conftest.$ac_ext >&5
3413 rm -f conftest.$ac_objext conftest.$ac_ext
3415 ac_cpp='$CPP $CPPFLAGS'
3416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3420 depcc="$CC" am_compiler_list=
3422 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3423 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3424 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3428 # We make a subdir and do the tests there. Otherwise we can end up
3429 # making bogus files that we don't know about and never remove. For
3430 # instance it was reported that on HP-UX the gcc test will end up
3431 # making a dummy file named `D' -- because `-MD' means `put the output
3434 # Copy depcomp to subdir because otherwise we won't find it if we're
3435 # using a relative directory.
3436 cp "$am_depcomp" conftest.dir
3439 am_cv_CC_dependencies_compiler_type=none
3440 if test "$am_compiler_list" = ""; then
3441 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3443 for depmode in $am_compiler_list; do
3444 # We need to recreate these files for each test, as the compiler may
3445 # overwrite some of them when testing with obscure command lines.
3446 # This happens at least with the AIX C compiler.
3447 echo '#include "conftest.h"' > conftest.c
3448 echo 'int i;' > conftest.h
3449 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3453 # after this tag, mechanisms are not by side-effect, so they'll
3454 # only be used when explicitly requested
3455 if test "x$enable_dependency_tracking" = xyes; then
3463 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3464 # mode. It turns out that the SunPro C++ compiler does not properly
3465 # handle `-M -o', and we need to detect this.
3466 if depmode=$depmode \
3467 source=conftest.c object=conftest.o \
3468 depfile=conftest.Po tmpdepfile=conftest.TPo \
3469 $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \
3470 >/dev/null 2>conftest.err &&
3471 grep conftest.h conftest.Po > /dev/null 2>&1 &&
3472 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3473 # icc doesn't choke on unknown options, it will just issue warnings
3474 # (even with -Werror). So we grep stderr for any message
3475 # that says an option was ignored.
3476 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3477 am_cv_CC_dependencies_compiler_type=$depmode
3486 am_cv_CC_dependencies_compiler_type=none
3490 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3491 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3492 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3497 test "x$enable_dependency_tracking" != xno \
3498 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3500 am__fastdepCC_FALSE='#'
3502 am__fastdepCC_TRUE='#'
3503 am__fastdepCC_FALSE=
3508 ac_cpp='$CPP $CPPFLAGS'
3509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3512 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3513 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3514 # On Suns, sometimes $CPP names a directory.
3515 if test -n "$CPP" && test -d "$CPP"; then
3518 if test -z "$CPP"; then
3519 if test "${ac_cv_prog_CPP+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 # Double quotes because CPP needs to be expanded
3523 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3526 for ac_c_preproc_warn_flag in '' yes
3528 # Use a header file that comes with gcc, so configuring glibc
3529 # with a fresh cross-compiler works.
3530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3531 # <limits.h> exists even on freestanding compilers.
3532 # On the NeXT, cc -E runs the code through the compiler's parser,
3533 # not just through cpp. "Syntax error" is here to catch this case.
3534 cat >conftest.$ac_ext <<_ACEOF
3535 #line $LINENO "configure"
3538 cat confdefs.h >>conftest.$ac_ext
3539 cat >>conftest.$ac_ext <<_ACEOF
3540 /* end confdefs.h. */
3542 # include <limits.h>
3544 # include <assert.h>
3548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3551 grep -v '^ *+' conftest.er1 >conftest.err
3553 cat conftest.err >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); } >/dev/null; then
3556 if test -s conftest.err; then
3557 ac_cpp_err=$ac_c_preproc_warn_flag
3564 if test -z "$ac_cpp_err"; then
3567 echo "$as_me: failed program was:" >&5
3568 sed 's/^/| /' conftest.$ac_ext >&5
3570 # Broken: fails on valid input.
3573 rm -f conftest.err conftest.$ac_ext
3575 # OK, works on sane cases. Now check whether non-existent headers
3576 # can be detected and how.
3577 cat >conftest.$ac_ext <<_ACEOF
3578 #line $LINENO "configure"
3581 cat confdefs.h >>conftest.$ac_ext
3582 cat >>conftest.$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3584 #include <ac_nonexistent.h>
3586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3587 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3589 grep -v '^ *+' conftest.er1 >conftest.err
3591 cat conftest.err >&5
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); } >/dev/null; then
3594 if test -s conftest.err; then
3595 ac_cpp_err=$ac_c_preproc_warn_flag
3602 if test -z "$ac_cpp_err"; then
3603 # Broken: success on invalid input.
3606 echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3609 # Passes both tests.
3613 rm -f conftest.err conftest.$ac_ext
3616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3617 rm -f conftest.err conftest.$ac_ext
3618 if $ac_preproc_ok; then
3630 echo "$as_me:$LINENO: result: $CPP" >&5
3631 echo "${ECHO_T}$CPP" >&6
3633 for ac_c_preproc_warn_flag in '' yes
3635 # Use a header file that comes with gcc, so configuring glibc
3636 # with a fresh cross-compiler works.
3637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3638 # <limits.h> exists even on freestanding compilers.
3639 # On the NeXT, cc -E runs the code through the compiler's parser,
3640 # not just through cpp. "Syntax error" is here to catch this case.
3641 cat >conftest.$ac_ext <<_ACEOF
3642 #line $LINENO "configure"
3645 cat confdefs.h >>conftest.$ac_ext
3646 cat >>conftest.$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3649 # include <limits.h>
3651 # include <assert.h>
3655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3658 grep -v '^ *+' conftest.er1 >conftest.err
3660 cat conftest.err >&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); } >/dev/null; then
3663 if test -s conftest.err; then
3664 ac_cpp_err=$ac_c_preproc_warn_flag
3671 if test -z "$ac_cpp_err"; then
3674 echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.$ac_ext >&5
3677 # Broken: fails on valid input.
3680 rm -f conftest.err conftest.$ac_ext
3682 # OK, works on sane cases. Now check whether non-existent headers
3683 # can be detected and how.
3684 cat >conftest.$ac_ext <<_ACEOF
3685 #line $LINENO "configure"
3688 cat confdefs.h >>conftest.$ac_ext
3689 cat >>conftest.$ac_ext <<_ACEOF
3690 /* end confdefs.h. */
3691 #include <ac_nonexistent.h>
3693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3696 grep -v '^ *+' conftest.er1 >conftest.err
3698 cat conftest.err >&5
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); } >/dev/null; then
3701 if test -s conftest.err; then
3702 ac_cpp_err=$ac_c_preproc_warn_flag
3709 if test -z "$ac_cpp_err"; then
3710 # Broken: success on invalid input.
3713 echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.$ac_ext >&5
3716 # Passes both tests.
3720 rm -f conftest.err conftest.$ac_ext
3723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3724 rm -f conftest.err conftest.$ac_ext
3725 if $ac_preproc_ok; then
3728 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3729 See \`config.log' for more details." >&5
3730 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3731 See \`config.log' for more details." >&2;}
3732 { (exit 1); exit 1; }; }
3736 ac_cpp='$CPP $CPPFLAGS'
3737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3742 echo "$as_me:$LINENO: checking for egrep" >&5
3743 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3744 if test "${ac_cv_prog_egrep+set}" = set; then
3745 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3748 then ac_cv_prog_egrep='grep -E'
3749 else ac_cv_prog_egrep='egrep'
3752 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3753 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3754 EGREP=$ac_cv_prog_egrep
3757 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3758 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3759 if test "${ac_cv_header_stdc+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 cat >conftest.$ac_ext <<_ACEOF
3763 #line $LINENO "configure"
3766 cat confdefs.h >>conftest.$ac_ext
3767 cat >>conftest.$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3782 rm -f conftest.$ac_objext
3783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3784 (eval $ac_compile) 2>&5
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); } &&
3788 { ac_try='test -s conftest.$ac_objext'
3789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); }; }; then
3794 ac_cv_header_stdc=yes
3796 echo "$as_me: failed program was:" >&5
3797 sed 's/^/| /' conftest.$ac_ext >&5
3799 ac_cv_header_stdc=no
3801 rm -f conftest.$ac_objext conftest.$ac_ext
3803 if test $ac_cv_header_stdc = yes; then
3804 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3805 cat >conftest.$ac_ext <<_ACEOF
3806 #line $LINENO "configure"
3809 cat confdefs.h >>conftest.$ac_ext
3810 cat >>conftest.$ac_ext <<_ACEOF
3811 /* end confdefs.h. */
3815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3816 $EGREP "memchr" >/dev/null 2>&1; then
3819 ac_cv_header_stdc=no
3825 if test $ac_cv_header_stdc = yes; then
3826 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3827 cat >conftest.$ac_ext <<_ACEOF
3828 #line $LINENO "configure"
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3838 $EGREP "free" >/dev/null 2>&1; then
3841 ac_cv_header_stdc=no
3847 if test $ac_cv_header_stdc = yes; then
3848 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3849 if test "$cross_compiling" = yes; then
3852 cat >conftest.$ac_ext <<_ACEOF
3853 #line $LINENO "configure"
3856 cat confdefs.h >>conftest.$ac_ext
3857 cat >>conftest.$ac_ext <<_ACEOF
3858 /* end confdefs.h. */
3860 #if ((' ' & 0x0FF) == 0x020)
3861 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3862 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3864 # define ISLOWER(c) \
3865 (('a' <= (c) && (c) <= 'i') \
3866 || ('j' <= (c) && (c) <= 'r') \
3867 || ('s' <= (c) && (c) <= 'z'))
3868 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3871 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3876 for (i = 0; i < 256; i++)
3877 if (XOR (islower (i), ISLOWER (i))
3878 || toupper (i) != TOUPPER (i))
3883 rm -f conftest$ac_exeext
3884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3885 (eval $ac_link) 2>&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }; }; then
3896 echo "$as_me: program exited with status $ac_status" >&5
3897 echo "$as_me: failed program was:" >&5
3898 sed 's/^/| /' conftest.$ac_ext >&5
3901 ac_cv_header_stdc=no
3903 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3907 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3908 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3909 if test $ac_cv_header_stdc = yes; then
3911 cat >>confdefs.h <<\_ACEOF
3912 #define STDC_HEADERS 1
3917 for ac_prog in 'bison -y' byacc
3919 # Extract the first word of "$ac_prog", so it can be a program name with args.
3920 set dummy $ac_prog; ac_word=$2
3921 echo "$as_me:$LINENO: checking for $ac_word" >&5
3922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3923 if test "${ac_cv_prog_YACC+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 if test -n "$YACC"; then
3927 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_YACC="$ac_prog"
3937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 YACC=$ac_cv_prog_YACC
3946 if test -n "$YACC"; then
3947 echo "$as_me:$LINENO: result: $YACC" >&5
3948 echo "${ECHO_T}$YACC" >&6
3950 echo "$as_me:$LINENO: result: no" >&5
3951 echo "${ECHO_T}no" >&6
3954 test -n "$YACC" && break
3956 test -n "$YACC" || YACC="yacc"
3958 for ac_prog in flex lex
3960 # Extract the first word of "$ac_prog", so it can be a program name with args.
3961 set dummy $ac_prog; ac_word=$2
3962 echo "$as_me:$LINENO: checking for $ac_word" >&5
3963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3964 if test "${ac_cv_prog_LEX+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 if test -n "$LEX"; then
3968 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 test -z "$as_dir" && as_dir=.
3975 for ac_exec_ext in '' $ac_executable_extensions; do
3976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3977 ac_cv_prog_LEX="$ac_prog"
3978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 if test -n "$LEX"; then
3988 echo "$as_me:$LINENO: result: $LEX" >&5
3989 echo "${ECHO_T}$LEX" >&6
3991 echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6
3995 test -n "$LEX" && break
3997 test -n "$LEX" || LEX=":"
3999 if test -z "$LEXLIB"
4001 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4002 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4003 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 ac_check_lib_save_LIBS=$LIBS
4008 cat >conftest.$ac_ext <<_ACEOF
4009 #line $LINENO "configure"
4012 cat confdefs.h >>conftest.$ac_ext
4013 cat >>conftest.$ac_ext <<_ACEOF
4014 /* end confdefs.h. */
4016 /* Override any gcc2 internal prototype to avoid an error. */
4020 /* We use char because int might match the return type of a gcc2
4021 builtin and then its argument prototype would still apply. */
4031 rm -f conftest.$ac_objext conftest$ac_exeext
4032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4033 (eval $ac_link) 2>&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); } &&
4037 { ac_try='test -s conftest$ac_exeext'
4038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; }; then
4043 ac_cv_lib_fl_yywrap=yes
4045 echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.$ac_ext >&5
4048 ac_cv_lib_fl_yywrap=no
4050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4051 LIBS=$ac_check_lib_save_LIBS
4053 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4054 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4055 if test $ac_cv_lib_fl_yywrap = yes; then
4058 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4059 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4060 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4061 echo $ECHO_N "(cached) $ECHO_C" >&6
4063 ac_check_lib_save_LIBS=$LIBS
4065 cat >conftest.$ac_ext <<_ACEOF
4066 #line $LINENO "configure"
4069 cat confdefs.h >>conftest.$ac_ext
4070 cat >>conftest.$ac_ext <<_ACEOF
4071 /* end confdefs.h. */
4073 /* Override any gcc2 internal prototype to avoid an error. */
4077 /* We use char because int might match the return type of a gcc2
4078 builtin and then its argument prototype would still apply. */
4088 rm -f conftest.$ac_objext conftest$ac_exeext
4089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4090 (eval $ac_link) 2>&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); } &&
4094 { ac_try='test -s conftest$ac_exeext'
4095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); }; }; then
4100 ac_cv_lib_l_yywrap=yes
4102 echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.$ac_ext >&5
4105 ac_cv_lib_l_yywrap=no
4107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4108 LIBS=$ac_check_lib_save_LIBS
4110 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4111 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4112 if test $ac_cv_lib_l_yywrap = yes; then
4120 if test "x$LEX" != "x:"; then
4121 echo "$as_me:$LINENO: checking lex output file root" >&5
4122 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4123 if test "${ac_cv_prog_lex_root+set}" = set; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 # The minimal lex program is just a single line: %%. But some broken lexes
4127 # (Solaris, I think it was) want two %% lines, so accommodate them.
4128 cat >conftest.l <<_ACEOF
4132 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4133 (eval $LEX conftest.l) 2>&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); }
4137 if test -f lex.yy.c; then
4138 ac_cv_prog_lex_root=lex.yy
4139 elif test -f lexyy.c; then
4140 ac_cv_prog_lex_root=lexyy
4142 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4143 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4144 { (exit 1); exit 1; }; }
4147 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4148 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4150 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4152 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4153 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4154 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 # POSIX says lex can declare yytext either as a pointer or an array; the
4158 # default is implementation-dependent. Figure out which it is, since
4159 # not all implementations provide the %pointer and %array declarations.
4160 ac_cv_prog_lex_yytext_pointer=no
4161 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4163 LIBS="$LIBS $LEXLIB"
4164 cat >conftest.$ac_ext <<_ACEOF
4165 `cat $LEX_OUTPUT_ROOT.c`
4167 rm -f conftest.$ac_objext conftest$ac_exeext
4168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4169 (eval $ac_link) 2>&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); } &&
4173 { ac_try='test -s conftest$ac_exeext'
4174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; }; then
4179 ac_cv_prog_lex_yytext_pointer=yes
4181 echo "$as_me: failed program was:" >&5
4182 sed 's/^/| /' conftest.$ac_ext >&5
4185 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4187 rm -f "${LEX_OUTPUT_ROOT}.c"
4190 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4191 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4192 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4194 cat >>confdefs.h <<\_ACEOF
4195 #define YYTEXT_POINTER 1
4201 if test "$LEX" = :; then
4202 LEX=${am_missing_run}flex
4204 # Find a good install program. We prefer a C program (faster),
4205 # so one script is as good as another. But avoid the broken or
4206 # incompatible versions:
4207 # SysV /etc/install, /usr/sbin/install
4208 # SunOS /usr/etc/install
4209 # IRIX /sbin/install
4211 # AmigaOS /C/install, which installs bootblocks on floppy discs
4212 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4213 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4214 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4215 # ./install, which can be erroneously created by make from ./install.sh.
4216 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4217 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4218 if test -z "$INSTALL"; then
4219 if test "${ac_cv_path_install+set}" = set; then
4220 echo $ECHO_N "(cached) $ECHO_C" >&6
4222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4226 test -z "$as_dir" && as_dir=.
4227 # Account for people who put trailing slashes in PATH elements.
4229 ./ | .// | /cC/* | \
4230 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4233 # OSF1 and SCO ODT 3.0 have their own names for install.
4234 # Don't use installbsd from OSF since it installs stuff as root
4236 for ac_prog in ginstall scoinst install; do
4237 for ac_exec_ext in '' $ac_executable_extensions; do
4238 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4239 if test $ac_prog = install &&
4240 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4241 # AIX install. It has an incompatible calling convention.
4243 elif test $ac_prog = install &&
4244 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4245 # program-specific install script used by HP pwplus--don't use.
4248 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4260 if test "${ac_cv_path_install+set}" = set; then
4261 INSTALL=$ac_cv_path_install
4263 # As a last resort, use the slow shell script. We don't cache a
4264 # path for INSTALL within a source directory, because that will
4265 # break other packages using the cache if that directory is
4266 # removed, or if the path is relative.
4267 INSTALL=$ac_install_sh
4270 echo "$as_me:$LINENO: result: $INSTALL" >&5
4271 echo "${ECHO_T}$INSTALL" >&6
4273 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4274 # It thinks the first close brace ends the variable substitution.
4275 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4277 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4279 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4282 ac_cpp='$CPP $CPPFLAGS'
4283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4286 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4287 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4288 # On Suns, sometimes $CPP names a directory.
4289 if test -n "$CPP" && test -d "$CPP"; then
4292 if test -z "$CPP"; then
4293 if test "${ac_cv_prog_CPP+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 # Double quotes because CPP needs to be expanded
4297 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4300 for ac_c_preproc_warn_flag in '' yes
4302 # Use a header file that comes with gcc, so configuring glibc
4303 # with a fresh cross-compiler works.
4304 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4305 # <limits.h> exists even on freestanding compilers.
4306 # On the NeXT, cc -E runs the code through the compiler's parser,
4307 # not just through cpp. "Syntax error" is here to catch this case.
4308 cat >conftest.$ac_ext <<_ACEOF
4309 #line $LINENO "configure"
4312 cat confdefs.h >>conftest.$ac_ext
4313 cat >>conftest.$ac_ext <<_ACEOF
4314 /* end confdefs.h. */
4316 # include <limits.h>
4318 # include <assert.h>
4322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4325 grep -v '^ *+' conftest.er1 >conftest.err
4327 cat conftest.err >&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); } >/dev/null; then
4330 if test -s conftest.err; then
4331 ac_cpp_err=$ac_c_preproc_warn_flag
4338 if test -z "$ac_cpp_err"; then
4341 echo "$as_me: failed program was:" >&5
4342 sed 's/^/| /' conftest.$ac_ext >&5
4344 # Broken: fails on valid input.
4347 rm -f conftest.err conftest.$ac_ext
4349 # OK, works on sane cases. Now check whether non-existent headers
4350 # can be detected and how.
4351 cat >conftest.$ac_ext <<_ACEOF
4352 #line $LINENO "configure"
4355 cat confdefs.h >>conftest.$ac_ext
4356 cat >>conftest.$ac_ext <<_ACEOF
4357 /* end confdefs.h. */
4358 #include <ac_nonexistent.h>
4360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4363 grep -v '^ *+' conftest.er1 >conftest.err
4365 cat conftest.err >&5
4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); } >/dev/null; then
4368 if test -s conftest.err; then
4369 ac_cpp_err=$ac_c_preproc_warn_flag
4376 if test -z "$ac_cpp_err"; then
4377 # Broken: success on invalid input.
4380 echo "$as_me: failed program was:" >&5
4381 sed 's/^/| /' conftest.$ac_ext >&5
4383 # Passes both tests.
4387 rm -f conftest.err conftest.$ac_ext
4390 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4391 rm -f conftest.err conftest.$ac_ext
4392 if $ac_preproc_ok; then
4404 echo "$as_me:$LINENO: result: $CPP" >&5
4405 echo "${ECHO_T}$CPP" >&6
4407 for ac_c_preproc_warn_flag in '' yes
4409 # Use a header file that comes with gcc, so configuring glibc
4410 # with a fresh cross-compiler works.
4411 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4412 # <limits.h> exists even on freestanding compilers.
4413 # On the NeXT, cc -E runs the code through the compiler's parser,
4414 # not just through cpp. "Syntax error" is here to catch this case.
4415 cat >conftest.$ac_ext <<_ACEOF
4416 #line $LINENO "configure"
4419 cat confdefs.h >>conftest.$ac_ext
4420 cat >>conftest.$ac_ext <<_ACEOF
4421 /* end confdefs.h. */
4423 # include <limits.h>
4425 # include <assert.h>
4429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4432 grep -v '^ *+' conftest.er1 >conftest.err
4434 cat conftest.err >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); } >/dev/null; then
4437 if test -s conftest.err; then
4438 ac_cpp_err=$ac_c_preproc_warn_flag
4445 if test -z "$ac_cpp_err"; then
4448 echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.$ac_ext >&5
4451 # Broken: fails on valid input.
4454 rm -f conftest.err conftest.$ac_ext
4456 # OK, works on sane cases. Now check whether non-existent headers
4457 # can be detected and how.
4458 cat >conftest.$ac_ext <<_ACEOF
4459 #line $LINENO "configure"
4462 cat confdefs.h >>conftest.$ac_ext
4463 cat >>conftest.$ac_ext <<_ACEOF
4464 /* end confdefs.h. */
4465 #include <ac_nonexistent.h>
4467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4470 grep -v '^ *+' conftest.er1 >conftest.err
4472 cat conftest.err >&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); } >/dev/null; then
4475 if test -s conftest.err; then
4476 ac_cpp_err=$ac_c_preproc_warn_flag
4483 if test -z "$ac_cpp_err"; then
4484 # Broken: success on invalid input.
4487 echo "$as_me: failed program was:" >&5
4488 sed 's/^/| /' conftest.$ac_ext >&5
4490 # Passes both tests.
4494 rm -f conftest.err conftest.$ac_ext
4497 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4498 rm -f conftest.err conftest.$ac_ext
4499 if $ac_preproc_ok; then
4502 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4503 See \`config.log' for more details." >&5
4504 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4505 See \`config.log' for more details." >&2;}
4506 { (exit 1); exit 1; }; }
4510 ac_cpp='$CPP $CPPFLAGS'
4511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515 # Extract the first word of "rm", so it can be a program name with args.
4516 set dummy rm; ac_word=$2
4517 echo "$as_me:$LINENO: checking for $ac_word" >&5
4518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4519 if test "${ac_cv_path_RM+set}" = set; then
4520 echo $ECHO_N "(cached) $ECHO_C" >&6
4524 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4547 if test -n "$RM"; then
4548 echo "$as_me:$LINENO: result: $RM" >&5
4549 echo "${ECHO_T}$RM" >&6
4551 echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6
4555 # Extract the first word of "mv", so it can be a program name with args.
4556 set dummy mv; ac_word=$2
4557 echo "$as_me:$LINENO: checking for $ac_word" >&5
4558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4559 if test "${ac_cv_path_MV+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4564 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4571 test -z "$as_dir" && as_dir=.
4572 for ac_exec_ext in '' $ac_executable_extensions; do
4573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4574 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4587 if test -n "$MV"; then
4588 echo "$as_me:$LINENO: result: $MV" >&5
4589 echo "${ECHO_T}$MV" >&6
4591 echo "$as_me:$LINENO: result: no" >&5
4592 echo "${ECHO_T}no" >&6
4595 # Extract the first word of "tar", so it can be a program name with args.
4596 set dummy tar; ac_word=$2
4597 echo "$as_me:$LINENO: checking for $ac_word" >&5
4598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4599 if test "${ac_cv_path_TAR+set}" = set; then
4600 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir=.
4612 for ac_exec_ext in '' $ac_executable_extensions; do
4613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4614 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
4627 if test -n "$TAR"; then
4628 echo "$as_me:$LINENO: result: $TAR" >&5
4629 echo "${ECHO_T}$TAR" >&6
4631 echo "$as_me:$LINENO: result: no" >&5
4632 echo "${ECHO_T}no" >&6
4638 if test -z "$PKG_CONFIG"; then
4639 # Extract the first word of "pkg-config", so it can be a program name with args.
4640 set dummy pkg-config; ac_word=$2
4641 echo "$as_me:$LINENO: checking for $ac_word" >&5
4642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4643 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4648 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 test -z "$as_dir" && as_dir=.
4656 for ac_exec_ext in '' $ac_executable_extensions; do
4657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4658 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
4669 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4671 if test -n "$PKG_CONFIG"; then
4672 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4673 echo "${ECHO_T}$PKG_CONFIG" >&6
4675 echo "$as_me:$LINENO: result: no" >&5
4676 echo "${ECHO_T}no" >&6
4681 if test "$PKG_CONFIG" = "no" ; then
4682 echo "*** The pkg-config script could not be found. Make sure it is"
4683 echo "*** in your path, or set the PKG_CONFIG environment variable"
4684 echo "*** to the full path to pkg-config."
4685 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
4687 PKG_CONFIG_MIN_VERSION=0.9.0
4688 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
4689 echo "$as_me:$LINENO: checking for glib-2.0 >= $GLIB_REQUIRED" >&5
4690 echo $ECHO_N "checking for glib-2.0 >= $GLIB_REQUIRED... $ECHO_C" >&6
4692 if $PKG_CONFIG --exists "glib-2.0 >= $GLIB_REQUIRED" ; then
4693 echo "$as_me:$LINENO: result: yes" >&5
4694 echo "${ECHO_T}yes" >&6
4697 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
4698 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
4699 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED"`
4700 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
4701 echo "${ECHO_T}$GLIB_CFLAGS" >&6
4703 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
4704 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
4705 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED"`
4706 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
4707 echo "${ECHO_T}$GLIB_LIBS" >&6
4711 ## If we have a custom action on failure, don't print errors, but
4712 ## do set a variable so people can do so.
4713 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED"`
4714 echo $GLIB_PKG_ERRORS
4720 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
4721 echo "*** See http://www.freedesktop.org/software/pkgconfig"
4725 if test $succeeded = yes; then
4728 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
4729 echo "$as_me: error: Library requirements (glib-2.0 >= $GLIB_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
4730 { (exit 1); exit 1; }; }
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
4835 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4836 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4837 Usually this means the macro was only invoked conditionally." >&5
4838 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4839 Usually this means the macro was only invoked conditionally." >&2;}
4840 { (exit 1); exit 1; }; }
4842 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4843 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4844 Usually this means the macro was only invoked conditionally." >&5
4845 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4846 Usually this means the macro was only invoked conditionally." >&2;}
4847 { (exit 1); exit 1; }; }
4849 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4850 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4851 Usually this means the macro was only invoked conditionally." >&5
4852 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4853 Usually this means the macro was only invoked conditionally." >&2;}
4854 { (exit 1); exit 1; }; }
4856 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4857 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4858 Usually this means the macro was only invoked conditionally." >&5
4859 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4860 Usually this means the macro was only invoked conditionally." >&2;}
4861 { (exit 1); exit 1; }; }
4864 : ${CONFIG_STATUS=./config.status}
4865 ac_clean_files_save=$ac_clean_files
4866 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4867 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4868 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4869 cat >$CONFIG_STATUS <<_ACEOF
4871 # Generated by $as_me.
4872 # Run this file to recreate the current configuration.
4873 # Compiler output produced by configure, useful for debugging
4874 # configure, is in config.log if it exists.
4879 SHELL=\${CONFIG_SHELL-$SHELL}
4882 cat >>$CONFIG_STATUS <<\_ACEOF
4883 ## --------------------- ##
4884 ## M4sh Initialization. ##
4885 ## --------------------- ##
4887 # Be Bourne compatible
4888 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4891 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4892 # is contrary to our usage. Disable this feature.
4893 alias -g '${1+"$@"}'='"$@"'
4894 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4898 # Support unset when possible.
4899 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4906 # Work around bugs in pre-3.0 UWIN ksh.
4907 $as_unset ENV MAIL MAILPATH
4914 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4915 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4916 LC_TELEPHONE LC_TIME
4918 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4919 eval $as_var=C; export $as_var
4925 # Required to use basename.
4926 if expr a : '\(a\)' >/dev/null 2>&1; then
4932 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4933 as_basename=basename
4939 # Name of the executable.
4940 as_me=`$as_basename "$0" ||
4941 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4942 X"$0" : 'X\(//\)$' \| \
4943 X"$0" : 'X\(/\)$' \| \
4944 . : '\(.\)' 2>/dev/null ||
4946 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4947 /^X\/\(\/\/\)$/{ s//\1/; q; }
4948 /^X\/\(\/\).*/{ s//\1/; q; }
4952 # PATH needs CR, and LINENO needs CR and PATH.
4953 # Avoid depending upon Character Ranges.
4954 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4955 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4956 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4957 as_cr_digits='0123456789'
4958 as_cr_alnum=$as_cr_Letters$as_cr_digits
4960 # The user is always right.
4961 if test "${PATH_SEPARATOR+set}" != set; then
4962 echo "#! /bin/sh" >conf$$.sh
4963 echo "exit 0" >>conf$$.sh
4965 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4976 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4977 test "x$as_lineno_1" != "x$as_lineno_2" &&
4978 test "x$as_lineno_3" = "x$as_lineno_2" || {
4979 # Find who we are. Look in the path if we contain no path at all
4982 *[\\/]* ) as_myself=$0 ;;
4983 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 test -z "$as_dir" && as_dir=.
4988 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4993 # We did not find ourselves, most probably we were run as `sh COMMAND'
4994 # in which case we are not to be found in the path.
4995 if test "x$as_myself" = x; then
4998 if test ! -f "$as_myself"; then
4999 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5000 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5001 { (exit 1); exit 1; }; }
5003 case $CONFIG_SHELL in
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5009 test -z "$as_dir" && as_dir=.
5010 for as_base in sh bash ksh sh5; do
5013 if ("$as_dir/$as_base" -c '
5016 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5017 test "x$as_lineno_1" != "x$as_lineno_2" &&
5018 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5019 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5020 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5021 CONFIG_SHELL=$as_dir/$as_base
5023 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5031 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5032 # uniformly replaced by the line number. The first 'sed' inserts a
5033 # line-number line before each line; the second 'sed' does the real
5034 # work. The second script uses 'N' to pair each line-number line
5035 # with the numbered line, and appends trailing '-' during
5036 # substitution so that $LINENO is not a special case at line end.
5037 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5038 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5039 sed '=' <$as_myself |
5044 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5047 s,^['$as_cr_digits']*\n,,
5049 chmod +x $as_me.lineno ||
5050 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5051 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5052 { (exit 1); exit 1; }; }
5054 # Don't try to exec as it changes $[0], causing all sort of problems
5055 # (the dirname of $[0] is not the place where we might find the
5056 # original and so on. Autoconf is especially sensible to this).
5058 # Exit status is that of the last command.
5063 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5064 *c*,-n*) ECHO_N= ECHO_C='
5066 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5067 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5070 if expr a : '\(a\)' >/dev/null 2>&1; then
5076 rm -f conf$$ conf$$.exe conf$$.file
5078 if ln -s conf$$.file conf$$ 2>/dev/null; then
5079 # We could just check for DJGPP; but this test a) works b) is more generic
5080 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5081 if test -f conf$$.exe; then
5082 # Don't use ln at all; we don't have any links
5087 elif ln conf$$.file conf$$ 2>/dev/null; then
5092 rm -f conf$$ conf$$.exe conf$$.file
5094 if mkdir -p . 2>/dev/null; then
5100 as_executable_p="test -f"
5102 # Sed expression to map a string onto a valid CPP name.
5103 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5105 # Sed expression to map a string onto a valid variable name.
5106 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5110 # We need space, tab and new line, in precisely that order.
5120 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5121 # report actual input values of CONFIG_FILES etc. instead of their
5122 # values after options handling. Logging --version etc. is OK.
5126 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5127 ## Running $as_me. ##
5132 This file was extended by $as_me, which was
5133 generated by GNU Autoconf 2.57. Invocation command line was
5135 CONFIG_FILES = $CONFIG_FILES
5136 CONFIG_HEADERS = $CONFIG_HEADERS
5137 CONFIG_LINKS = $CONFIG_LINKS
5138 CONFIG_COMMANDS = $CONFIG_COMMANDS
5142 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5146 # Files that config.status was made for.
5147 if test -n "$ac_config_files"; then
5148 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5151 if test -n "$ac_config_headers"; then
5152 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5155 if test -n "$ac_config_links"; then
5156 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5159 if test -n "$ac_config_commands"; then
5160 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5163 cat >>$CONFIG_STATUS <<\_ACEOF
5166 \`$as_me' instantiates files from templates according to the
5167 current configuration.
5169 Usage: $0 [OPTIONS] [FILE]...
5171 -h, --help print this help, then exit
5172 -V, --version print version number, then exit
5173 -q, --quiet do not print progress messages
5174 -d, --debug don't remove temporary files
5175 --recheck update $as_me by reconfiguring in the same conditions
5176 --file=FILE[:TEMPLATE]
5177 instantiate the configuration file FILE
5178 --header=FILE[:TEMPLATE]
5179 instantiate the configuration header FILE
5181 Configuration files:
5184 Configuration headers:
5187 Configuration commands:
5190 Report bugs to <bug-autoconf@gnu.org>."
5193 cat >>$CONFIG_STATUS <<_ACEOF
5196 configured by $0, generated by GNU Autoconf 2.57,
5197 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5199 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5200 Free Software Foundation, Inc.
5201 This config.status script is free software; the Free Software Foundation
5202 gives unlimited permission to copy, distribute and modify it."
5207 cat >>$CONFIG_STATUS <<\_ACEOF
5208 # If no file are specified by the user, then we need to provide default
5209 # value. By we need to know if files were specified by the user.
5215 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5216 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5224 *) # This is not an option, so the user has probably given explicit
5227 ac_need_defaults=false;;
5231 # Handling of the options.
5233 cat >>$CONFIG_STATUS <<\_ACEOF
5234 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5236 --version | --vers* | -V )
5237 echo "$ac_cs_version"; exit 0 ;;
5239 # Conflict between --help and --header
5240 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5241 Try \`$0 --help' for more information." >&5
5242 echo "$as_me: error: ambiguous option: $1
5243 Try \`$0 --help' for more information." >&2;}
5244 { (exit 1); exit 1; }; };;
5245 --help | --hel | -h )
5246 echo "$ac_cs_usage"; exit 0 ;;
5247 --debug | --d* | -d )
5249 --file | --fil | --fi | --f )
5251 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5252 ac_need_defaults=false;;
5253 --header | --heade | --head | --hea )
5255 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5256 ac_need_defaults=false;;
5257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5258 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5262 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5263 Try \`$0 --help' for more information." >&5
5264 echo "$as_me: error: unrecognized option: $1
5265 Try \`$0 --help' for more information." >&2;}
5266 { (exit 1); exit 1; }; } ;;
5268 *) ac_config_targets="$ac_config_targets $1" ;;
5274 ac_configure_extra_args=
5276 if $ac_cs_silent; then
5278 ac_configure_extra_args="$ac_configure_extra_args --silent"
5282 cat >>$CONFIG_STATUS <<_ACEOF
5283 if \$ac_cs_recheck; then
5284 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5285 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5290 cat >>$CONFIG_STATUS <<_ACEOF
5292 # INIT-COMMANDS section.
5295 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5301 cat >>$CONFIG_STATUS <<\_ACEOF
5302 for ac_config_target in $ac_config_targets
5304 case "$ac_config_target" in
5305 # Handling of arguments.
5306 "gob2.spec" ) CONFIG_FILES="$CONFIG_FILES gob2.spec" ;;
5307 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5308 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5309 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5310 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
5311 "doc/gob2.1" ) CONFIG_FILES="$CONFIG_FILES doc/gob2.1" ;;
5312 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5313 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5314 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5315 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5316 { (exit 1); exit 1; }; };;
5320 # If the user did not use the arguments to specify the items to instantiate,
5321 # then the envvar interface is used. Set only those that are not.
5322 # We use the long form for the default assignment because of an extremely
5323 # bizarre bug on SunOS 4.1.3.
5324 if $ac_need_defaults; then
5325 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5326 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5327 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5330 # Have a temporary directory for convenience. Make it in the build tree
5331 # simply because there is no reason to put it here, and in addition,
5332 # creating and moving files from /tmp can sometimes cause problems.
5333 # Create a temporary directory, and hook for its removal unless debugging.
5336 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5337 trap '{ (exit 1); exit 1; }' 1 2 13 15
5340 # Create a (secure) tmp directory for tmp files.
5343 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5344 test -n "$tmp" && test -d "$tmp"
5347 tmp=./confstat$$-$RANDOM
5348 (umask 077 && mkdir $tmp)
5351 echo "$me: cannot create a temporary directory in ." >&2
5352 { (exit 1); exit 1; }
5357 cat >>$CONFIG_STATUS <<_ACEOF
5360 # CONFIG_FILES section.
5363 # No need to generate the scripts if there are no CONFIG_FILES.
5364 # This happens for instance when ./config.status config.h
5365 if test -n "\$CONFIG_FILES"; then
5366 # Protect against being on the right side of a sed subst in config.status.
5367 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5368 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5369 s,@SHELL@,$SHELL,;t t
5370 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5371 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5372 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5373 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5374 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5375 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5376 s,@exec_prefix@,$exec_prefix,;t t
5377 s,@prefix@,$prefix,;t t
5378 s,@program_transform_name@,$program_transform_name,;t t
5379 s,@bindir@,$bindir,;t t
5380 s,@sbindir@,$sbindir,;t t
5381 s,@libexecdir@,$libexecdir,;t t
5382 s,@datadir@,$datadir,;t t
5383 s,@sysconfdir@,$sysconfdir,;t t
5384 s,@sharedstatedir@,$sharedstatedir,;t t
5385 s,@localstatedir@,$localstatedir,;t t
5386 s,@libdir@,$libdir,;t t
5387 s,@includedir@,$includedir,;t t
5388 s,@oldincludedir@,$oldincludedir,;t t
5389 s,@infodir@,$infodir,;t t
5390 s,@mandir@,$mandir,;t t
5391 s,@build_alias@,$build_alias,;t t
5392 s,@host_alias@,$host_alias,;t t
5393 s,@target_alias@,$target_alias,;t t
5395 s,@ECHO_C@,$ECHO_C,;t t
5396 s,@ECHO_N@,$ECHO_N,;t t
5397 s,@ECHO_T@,$ECHO_T,;t t
5399 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5400 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5401 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5402 s,@CYGPATH_W@,$CYGPATH_W,;t t
5403 s,@PACKAGE@,$PACKAGE,;t t
5404 s,@VERSION@,$VERSION,;t t
5405 s,@ACLOCAL@,$ACLOCAL,;t t
5406 s,@AUTOCONF@,$AUTOCONF,;t t
5407 s,@AUTOMAKE@,$AUTOMAKE,;t t
5408 s,@AUTOHEADER@,$AUTOHEADER,;t t
5409 s,@MAKEINFO@,$MAKEINFO,;t t
5410 s,@AMTAR@,$AMTAR,;t t
5411 s,@install_sh@,$install_sh,;t t
5412 s,@STRIP@,$STRIP,;t t
5413 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5414 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5416 s,@SET_MAKE@,$SET_MAKE,;t t
5417 s,@am__leading_dot@,$am__leading_dot,;t t
5418 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5419 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5420 s,@MAINT@,$MAINT,;t t
5421 s,@SUBDIRS@,$SUBDIRS,;t t
5422 s,@DOINSTGOB@,$DOINSTGOB,;t t
5423 s,@NOINSTGOB@,$NOINSTGOB,;t t
5425 s,@CFLAGS@,$CFLAGS,;t t
5426 s,@LDFLAGS@,$LDFLAGS,;t t
5427 s,@CPPFLAGS@,$CPPFLAGS,;t t
5428 s,@ac_ct_CC@,$ac_ct_CC,;t t
5429 s,@EXEEXT@,$EXEEXT,;t t
5430 s,@OBJEXT@,$OBJEXT,;t t
5431 s,@DEPDIR@,$DEPDIR,;t t
5432 s,@am__include@,$am__include,;t t
5433 s,@am__quote@,$am__quote,;t t
5434 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5435 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5436 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5437 s,@CCDEPMODE@,$CCDEPMODE,;t t
5438 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5439 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5441 s,@EGREP@,$EGREP,;t t
5444 s,@LEXLIB@,$LEXLIB,;t t
5445 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
5449 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5450 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
5451 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
5452 s,@YFLAGS@,$YFLAGS,;t t
5453 s,@LIBOBJS@,$LIBOBJS,;t t
5454 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5459 cat >>$CONFIG_STATUS <<\_ACEOF
5460 # Split the substitutions into bite-sized pieces for seds with
5461 # small command number limits, like on Digital OSF/1 and HP-UX.
5463 ac_sed_frag=1 # Number of current file.
5464 ac_beg=1 # First line for current file.
5465 ac_end=$ac_max_sed_lines # Line after last line for current file.
5468 while $ac_more_lines; do
5469 if test $ac_beg -gt 1; then
5470 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5472 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5474 if test ! -s $tmp/subs.frag; then
5477 # The purpose of the label and of the branching condition is to
5478 # speed up the sed processing (if there are no `@' at all, there
5479 # is no need to browse any of the substitutions).
5480 # These are the two extra sed commands mentioned above.
5482 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5483 if test -z "$ac_sed_cmds"; then
5484 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5486 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5488 ac_sed_frag=`expr $ac_sed_frag + 1`
5490 ac_end=`expr $ac_end + $ac_max_sed_lines`
5493 if test -z "$ac_sed_cmds"; then
5496 fi # test -n "$CONFIG_FILES"
5499 cat >>$CONFIG_STATUS <<\_ACEOF
5500 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5501 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5503 - | *:- | *:-:* ) # input from stdin
5505 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5506 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5507 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5508 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5509 * ) ac_file_in=$ac_file.in ;;
5512 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5513 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5514 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5515 X"$ac_file" : 'X\(//\)[^/]' \| \
5516 X"$ac_file" : 'X\(//\)$' \| \
5517 X"$ac_file" : 'X\(/\)' \| \
5518 . : '\(.\)' 2>/dev/null ||
5520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5521 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5522 /^X\(\/\/\)$/{ s//\1/; q; }
5523 /^X\(\/\).*/{ s//\1/; q; }
5525 { if $as_mkdir_p; then
5530 while test ! -d "$as_dir"; do
5531 as_dirs="$as_dir $as_dirs"
5532 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5533 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5534 X"$as_dir" : 'X\(//\)[^/]' \| \
5535 X"$as_dir" : 'X\(//\)$' \| \
5536 X"$as_dir" : 'X\(/\)' \| \
5537 . : '\(.\)' 2>/dev/null ||
5539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5540 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5541 /^X\(\/\/\)$/{ s//\1/; q; }
5542 /^X\(\/\).*/{ s//\1/; q; }
5545 test ! -n "$as_dirs" || mkdir $as_dirs
5546 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5547 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5548 { (exit 1); exit 1; }; }; }
5552 if test "$ac_dir" != .; then
5553 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5554 # A "../" for each directory in $ac_dir_suffix.
5555 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5557 ac_dir_suffix= ac_top_builddir=
5561 .) # No --srcdir option. We are building in place.
5563 if test -z "$ac_top_builddir"; then
5566 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5568 [\\/]* | ?:[\\/]* ) # Absolute path.
5569 ac_srcdir=$srcdir$ac_dir_suffix;
5570 ac_top_srcdir=$srcdir ;;
5572 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5573 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5575 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5577 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5578 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5579 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5580 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5584 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5585 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5588 if test x"$ac_file" != x-; then
5589 { echo "$as_me:$LINENO: creating $ac_file" >&5
5590 echo "$as_me: creating $ac_file" >&6;}
5593 # Let's still pretend it is `configure' which instantiates (i.e., don't
5594 # use $as_me), people would be surprised to read:
5595 # /* config.h. Generated by config.status. */
5596 if test x"$ac_file" = x-; then
5599 configure_input="$ac_file. "
5601 configure_input=$configure_input"Generated from `echo $ac_file_in |
5602 sed 's,.*/,,'` by configure."
5604 # First look for the input files in the build tree, otherwise in the
5606 ac_file_inputs=`IFS=:
5607 for f in $ac_file_in; do
5609 -) echo $tmp/stdin ;;
5611 # Absolute (can't be DOS-style, as IFS=:)
5612 test -f "$f" || { { 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 if test -f "$f"; then
5620 elif test -f "$srcdir/$f"; then
5625 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5626 echo "$as_me: error: cannot find input file: $f" >&2;}
5627 { (exit 1); exit 1; }; }
5630 done` || { (exit 1); exit 1; }
5632 cat >>$CONFIG_STATUS <<_ACEOF
5636 cat >>$CONFIG_STATUS <<\_ACEOF
5638 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5639 s,@configure_input@,$configure_input,;t t
5640 s,@srcdir@,$ac_srcdir,;t t
5641 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5642 s,@top_srcdir@,$ac_top_srcdir,;t t
5643 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5644 s,@builddir@,$ac_builddir,;t t
5645 s,@abs_builddir@,$ac_abs_builddir,;t t
5646 s,@top_builddir@,$ac_top_builddir,;t t
5647 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5648 s,@INSTALL@,$ac_INSTALL,;t t
5649 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5651 if test x"$ac_file" != x-; then
5652 mv $tmp/out $ac_file
5660 cat >>$CONFIG_STATUS <<\_ACEOF
5663 # CONFIG_HEADER section.
5666 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5667 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5669 # ac_d sets the value in "#define NAME VALUE" lines.
5670 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5671 ac_dB='[ ].*$,\1#\2'
5674 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5675 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5676 ac_uB='$,\1#\2define\3'
5680 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5681 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5683 - | *:- | *:-:* ) # input from stdin
5685 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5686 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5687 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5688 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5689 * ) ac_file_in=$ac_file.in ;;
5692 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5693 echo "$as_me: creating $ac_file" >&6;}
5695 # First look for the input files in the build tree, otherwise in the
5697 ac_file_inputs=`IFS=:
5698 for f in $ac_file_in; do
5700 -) echo $tmp/stdin ;;
5702 # Absolute (can't be DOS-style, as IFS=:)
5703 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5704 echo "$as_me: error: cannot find input file: $f" >&2;}
5705 { (exit 1); exit 1; }; }
5708 if test -f "$f"; then
5711 elif test -f "$srcdir/$f"; then
5716 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5717 echo "$as_me: error: cannot find input file: $f" >&2;}
5718 { (exit 1); exit 1; }; }
5721 done` || { (exit 1); exit 1; }
5722 # Remove the trailing spaces.
5723 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5727 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5728 # `conftest.undefs', that substitutes the proper values into
5729 # config.h.in to produce config.h. The first handles `#define'
5730 # templates, and the second `#undef' templates.
5731 # And first: Protect against being on the right side of a sed subst in
5732 # config.status. Protect against being in an unquoted here document
5734 rm -f conftest.defines conftest.undefs
5735 # Using a here document instead of a string reduces the quoting nightmare.
5736 # Putting comments in sed scripts is not portable.
5738 # `end' is used to avoid that the second main sed command (meant for
5739 # 0-ary CPP macros) applies to n-ary macro definitions.
5740 # See the Autoconf documentation for `clear'.
5741 cat >confdef2sed.sed <<\_ACEOF
5746 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5748 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5751 # If some macros were called several times there might be several times
5752 # the same #defines, which is useless. Nevertheless, we may not want to
5753 # sort them, since we want the *last* AC-DEFINE to be honored.
5754 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5755 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5756 rm -f confdef2sed.sed
5758 # This sed command replaces #undef with comments. This is necessary, for
5759 # example, in the case of _POSIX_SOURCE, which is predefined and required
5760 # on some systems where configure will not decide to define it.
5761 cat >>conftest.undefs <<\_ACEOF
5762 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5765 # Break up conftest.defines because some shells have a limit on the size
5766 # of here documents, and old seds have small limits too (100 cmds).
5767 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5768 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5769 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5770 echo ' :' >>$CONFIG_STATUS
5772 while grep . conftest.defines >/dev/null
5774 # Write a limited-size here document to $tmp/defines.sed.
5775 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5776 # Speed up: don't consider the non `#define' lines.
5777 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5778 # Work around the forget-to-reset-the-flag bug.
5779 echo 't clr' >>$CONFIG_STATUS
5780 echo ': clr' >>$CONFIG_STATUS
5781 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5783 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5787 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5788 rm -f conftest.defines
5789 mv conftest.tail conftest.defines
5791 rm -f conftest.defines
5792 echo ' fi # grep' >>$CONFIG_STATUS
5793 echo >>$CONFIG_STATUS
5795 # Break up conftest.undefs because some shells have a limit on the size
5796 # of here documents, and old seds have small limits too (100 cmds).
5797 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5799 while grep . conftest.undefs >/dev/null
5801 # Write a limited-size here document to $tmp/undefs.sed.
5802 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5803 # Speed up: don't consider the non `#undef'
5804 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5805 # Work around the forget-to-reset-the-flag bug.
5806 echo 't clr' >>$CONFIG_STATUS
5807 echo ': clr' >>$CONFIG_STATUS
5808 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5810 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5814 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5815 rm -f conftest.undefs
5816 mv conftest.tail conftest.undefs
5818 rm -f conftest.undefs
5820 cat >>$CONFIG_STATUS <<\_ACEOF
5821 # Let's still pretend it is `configure' which instantiates (i.e., don't
5822 # use $as_me), people would be surprised to read:
5823 # /* config.h. Generated by config.status. */
5824 if test x"$ac_file" = x-; then
5825 echo "/* Generated by configure. */" >$tmp/config.h
5827 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5829 cat $tmp/in >>$tmp/config.h
5831 if test x"$ac_file" != x-; then
5832 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5833 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5834 echo "$as_me: $ac_file is unchanged" >&6;}
5836 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5837 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5838 X"$ac_file" : 'X\(//\)[^/]' \| \
5839 X"$ac_file" : 'X\(//\)$' \| \
5840 X"$ac_file" : 'X\(/\)' \| \
5841 . : '\(.\)' 2>/dev/null ||
5843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5845 /^X\(\/\/\)$/{ s//\1/; q; }
5846 /^X\(\/\).*/{ s//\1/; q; }
5848 { if $as_mkdir_p; then
5853 while test ! -d "$as_dir"; do
5854 as_dirs="$as_dir $as_dirs"
5855 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5856 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5857 X"$as_dir" : 'X\(//\)[^/]' \| \
5858 X"$as_dir" : 'X\(//\)$' \| \
5859 X"$as_dir" : 'X\(/\)' \| \
5860 . : '\(.\)' 2>/dev/null ||
5862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5863 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5864 /^X\(\/\/\)$/{ s//\1/; q; }
5865 /^X\(\/\).*/{ s//\1/; q; }
5868 test ! -n "$as_dirs" || mkdir $as_dirs
5869 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5870 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5871 { (exit 1); exit 1; }; }; }
5874 mv $tmp/config.h $ac_file
5880 # Compute $ac_file's index in $config_headers.
5882 for _am_header in $config_headers :; do
5884 $ac_file | $ac_file:* )
5887 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5890 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5891 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5892 X$ac_file : 'X\(//\)[^/]' \| \
5893 X$ac_file : 'X\(//\)$' \| \
5894 X$ac_file : 'X\(/\)' \| \
5895 . : '\(.\)' 2>/dev/null ||
5897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5898 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5899 /^X\(\/\/\)$/{ s//\1/; q; }
5900 /^X\(\/\).*/{ s//\1/; q; }
5901 s/.*/./; q'`/stamp-h$_am_stamp_count
5904 cat >>$CONFIG_STATUS <<\_ACEOF
5907 # CONFIG_COMMANDS section.
5909 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5910 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5911 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5912 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5913 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5914 X"$ac_dest" : 'X\(//\)[^/]' \| \
5915 X"$ac_dest" : 'X\(//\)$' \| \
5916 X"$ac_dest" : 'X\(/\)' \| \
5917 . : '\(.\)' 2>/dev/null ||
5919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5920 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5921 /^X\(\/\/\)$/{ s//\1/; q; }
5922 /^X\(\/\).*/{ s//\1/; q; }
5926 if test "$ac_dir" != .; then
5927 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5928 # A "../" for each directory in $ac_dir_suffix.
5929 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5931 ac_dir_suffix= ac_top_builddir=
5935 .) # No --srcdir option. We are building in place.
5937 if test -z "$ac_top_builddir"; then
5940 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5942 [\\/]* | ?:[\\/]* ) # Absolute path.
5943 ac_srcdir=$srcdir$ac_dir_suffix;
5944 ac_top_srcdir=$srcdir ;;
5946 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5947 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5949 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5951 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5952 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5953 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5954 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5957 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5958 echo "$as_me: executing $ac_dest commands" >&6;}
5960 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5961 # Strip MF so we end up with the name of the file.
5962 mf=`echo "$mf" | sed -e 's/:.*$//'`
5963 # Check whether this is an Automake generated Makefile or not.
5964 # We used to match only the files named `Makefile.in', but
5965 # some people rename them; so instead we look at the file content.
5966 # Grep'ing the first line is not enough: some people post-process
5967 # each Makefile.in and add a new line on top of each file to say so.
5968 # So let's grep whole file.
5969 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5970 dirpart=`(dirname "$mf") 2>/dev/null ||
5971 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5972 X"$mf" : 'X\(//\)[^/]' \| \
5973 X"$mf" : 'X\(//\)$' \| \
5974 X"$mf" : 'X\(/\)' \| \
5975 . : '\(.\)' 2>/dev/null ||
5977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5978 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5979 /^X\(\/\/\)$/{ s//\1/; q; }
5980 /^X\(\/\).*/{ s//\1/; q; }
5985 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5986 # Extract the definition of DEP_FILES from the Makefile without
5988 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5989 test -z "$DEPDIR" && continue
5990 # When using ansi2knr, U may be empty or an underscore; expand it
5991 U=`sed -n -e '/^U = / s///p' < "$mf"`
5992 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5993 # We invoke sed twice because it is the simplest approach to
5994 # changing $(DEPDIR) to its actual value in the expansion.
5995 for file in `sed -n -e '
5996 /^DEP_FILES = .*\\\\$/ {
6005 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6006 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6007 # Make sure the directory exists.
6008 test -f "$dirpart/$file" && continue
6009 fdir=`(dirname "$file") 2>/dev/null ||
6010 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6011 X"$file" : 'X\(//\)[^/]' \| \
6012 X"$file" : 'X\(//\)$' \| \
6013 X"$file" : 'X\(/\)' \| \
6014 . : '\(.\)' 2>/dev/null ||
6016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6017 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6018 /^X\(\/\/\)$/{ s//\1/; q; }
6019 /^X\(\/\).*/{ s//\1/; q; }
6021 { if $as_mkdir_p; then
6022 mkdir -p $dirpart/$fdir
6024 as_dir=$dirpart/$fdir
6026 while test ! -d "$as_dir"; do
6027 as_dirs="$as_dir $as_dirs"
6028 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6029 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6030 X"$as_dir" : 'X\(//\)[^/]' \| \
6031 X"$as_dir" : 'X\(//\)$' \| \
6032 X"$as_dir" : 'X\(/\)' \| \
6033 . : '\(.\)' 2>/dev/null ||
6035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6036 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6037 /^X\(\/\/\)$/{ s//\1/; q; }
6038 /^X\(\/\).*/{ s//\1/; q; }
6041 test ! -n "$as_dirs" || mkdir $as_dirs
6042 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6043 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6044 { (exit 1); exit 1; }; }; }
6046 # echo "creating $dirpart/$file"
6047 echo '# dummy' > "$dirpart/$file"
6055 cat >>$CONFIG_STATUS <<\_ACEOF
6057 { (exit 0); exit 0; }
6059 chmod +x $CONFIG_STATUS
6060 ac_clean_files=$ac_clean_files_save
6063 # configure is writing to config.log, and then calls config.status.
6064 # config.status does its own redirection, appending to config.log.
6065 # Unfortunately, on DOS this fails, as config.log is still kept open
6066 # by configure, so config.status won't be able to write to it; its
6067 # output is simply discarded. So we exec the FD to /dev/null,
6068 # effectively closing config.log, so it can be properly (re)opened and
6069 # appended to by config.status. When coming back to configure, we
6070 # need to make the FD available again.
6071 if test "$no_create" != yes; then
6073 ac_config_status_args=
6074 test "$silent" = yes &&
6075 ac_config_status_args="$ac_config_status_args --quiet"
6077 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6079 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6080 # would make configure fail if this is the last instruction.
6081 $ac_cs_success || { (exit 1); exit 1; }