2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.54.
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
39 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
41 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
42 eval $as_var=C; export $as_var
48 # Required to use basename.
49 if expr a : '\(a\)' >/dev/null 2>&1; then
55 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 # Name of the executable.
63 as_me=`$as_basename "$0" ||
64 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
65 X"$0" : 'X\(//\)$' \| \
66 X"$0" : 'X\(/\)$' \| \
67 . : '\(.\)' 2>/dev/null ||
69 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
70 /^X\/\(\/\/\)$/{ s//\1/; q; }
71 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
142 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
143 CONFIG_SHELL=$as_dir/$as_base
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169 s,^['$as_cr_digits']*\n,,
171 chmod +x $as_me.lineno ||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
179 # Exit status is that of the last command.
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c*,-n*) ECHO_N= ECHO_C='
187 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
188 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
191 if expr a : '\(a\)' >/dev/null 2>&1; then
197 rm -f conf$$ conf$$.exe conf$$.file
199 if ln -s conf$$.file conf$$ 2>/dev/null; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe; then
203 # Don't use ln at all; we don't have any links
208 elif ln conf$$.file conf$$ 2>/dev/null; then
213 rm -f conf$$ conf$$.exe conf$$.file
215 if mkdir -p . 2>/dev/null; then
221 as_executable_p="test -f"
223 # Sed expression to map a string onto a valid CPP name.
224 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
226 # Sed expression to map a string onto a valid variable name.
227 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231 # We need space, tab and new line, in precisely that order.
241 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
242 # so uname gets run too.
243 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250 ac_default_prefix=/usr/local
251 ac_config_libobj_dir=.
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Maximum number of lines to put in a shell here document.
259 # This variable seems obsolete. It should probably be removed, and
260 # only ac_max_sed_lines should be used.
261 : ${ac_max_here_lines=38}
263 # Identity of this package.
270 ac_unique_file="Source/robodoc.h"
271 # Factoring default headers for most tests.
272 ac_includes_default="\
275 # include <sys/types.h>
278 # include <sys/stat.h>
289 # if !STDC_HEADERS && HAVE_MEMORY_H
295 # include <strings.h>
298 # include <inttypes.h>
308 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 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 LIBOBJS LTLIBOBJS'
311 # Initialize some variables set by options.
313 ac_init_version=false
314 # The variables have the same names as the options, with
315 # dashes changed to underlines.
323 program_transform_name=s,x,x,
331 # Installation directory options.
332 # These are left unexpanded so users can "make install exec_prefix=/foo"
333 # and all the variables that are supposed to be based on exec_prefix
334 # by default will actually change.
335 # Use braces instead of parens because sh, perl, etc. also accept them.
336 bindir='${exec_prefix}/bin'
337 sbindir='${exec_prefix}/sbin'
338 libexecdir='${exec_prefix}/libexec'
339 datadir='${prefix}/share'
340 sysconfdir='${prefix}/etc'
341 sharedstatedir='${prefix}/com'
342 localstatedir='${prefix}/var'
343 libdir='${exec_prefix}/lib'
344 includedir='${prefix}/include'
345 oldincludedir='/usr/include'
346 infodir='${prefix}/info'
347 mandir='${prefix}/man'
352 # If the previous option needs an argument, assign it.
353 if test -n "$ac_prev"; then
354 eval "$ac_prev=\$ac_option"
359 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
361 # Accept the important Cygnus configure options, so we can diagnose typos.
365 -bindir | --bindir | --bindi | --bind | --bin | --bi)
367 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
370 -build | --build | --buil | --bui | --bu)
371 ac_prev=build_alias ;;
372 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
373 build_alias=$ac_optarg ;;
375 -cache-file | --cache-file | --cache-fil | --cache-fi \
376 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
377 ac_prev=cache_file ;;
378 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
379 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
380 cache_file=$ac_optarg ;;
383 cache_file=config.cache ;;
385 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
387 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
389 datadir=$ac_optarg ;;
391 -disable-* | --disable-*)
392 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
393 # Reject names that are not valid shell variable names.
394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
395 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
396 { (exit 1); exit 1; }; }
397 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
398 eval "enable_$ac_feature=no" ;;
400 -enable-* | --enable-*)
401 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
404 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
405 { (exit 1); exit 1; }; }
406 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
408 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
411 eval "enable_$ac_feature='$ac_optarg'" ;;
413 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
414 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
415 | --exec | --exe | --ex)
416 ac_prev=exec_prefix ;;
417 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
418 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
419 | --exec=* | --exe=* | --ex=*)
420 exec_prefix=$ac_optarg ;;
422 -gas | --gas | --ga | --g)
423 # Obsolete; use --with-gas.
426 -help | --help | --hel | --he | -h)
428 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
429 ac_init_help=recursive ;;
430 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
431 ac_init_help=short ;;
433 -host | --host | --hos | --ho)
434 ac_prev=host_alias ;;
435 -host=* | --host=* | --hos=* | --ho=*)
436 host_alias=$ac_optarg ;;
438 -includedir | --includedir | --includedi | --included | --include \
439 | --includ | --inclu | --incl | --inc)
440 ac_prev=includedir ;;
441 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
442 | --includ=* | --inclu=* | --incl=* | --inc=*)
443 includedir=$ac_optarg ;;
445 -infodir | --infodir | --infodi | --infod | --info | --inf)
447 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
448 infodir=$ac_optarg ;;
450 -libdir | --libdir | --libdi | --libd)
452 -libdir=* | --libdir=* | --libdi=* | --libd=*)
455 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
456 | --libexe | --libex | --libe)
457 ac_prev=libexecdir ;;
458 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
459 | --libexe=* | --libex=* | --libe=*)
460 libexecdir=$ac_optarg ;;
462 -localstatedir | --localstatedir | --localstatedi | --localstated \
463 | --localstate | --localstat | --localsta | --localst \
464 | --locals | --local | --loca | --loc | --lo)
465 ac_prev=localstatedir ;;
466 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
467 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
468 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
469 localstatedir=$ac_optarg ;;
471 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
473 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 # Obsolete; use --without-fp.
480 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
481 | --no-cr | --no-c | -n)
484 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
485 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
488 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
489 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
490 | --oldin | --oldi | --old | --ol | --o)
491 ac_prev=oldincludedir ;;
492 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
493 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
494 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
495 oldincludedir=$ac_optarg ;;
497 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
499 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
502 -program-prefix | --program-prefix | --program-prefi | --program-pref \
503 | --program-pre | --program-pr | --program-p)
504 ac_prev=program_prefix ;;
505 -program-prefix=* | --program-prefix=* | --program-prefi=* \
506 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
507 program_prefix=$ac_optarg ;;
509 -program-suffix | --program-suffix | --program-suffi | --program-suff \
510 | --program-suf | --program-su | --program-s)
511 ac_prev=program_suffix ;;
512 -program-suffix=* | --program-suffix=* | --program-suffi=* \
513 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
514 program_suffix=$ac_optarg ;;
516 -program-transform-name | --program-transform-name \
517 | --program-transform-nam | --program-transform-na \
518 | --program-transform-n | --program-transform- \
519 | --program-transform | --program-transfor \
520 | --program-transfo | --program-transf \
521 | --program-trans | --program-tran \
522 | --progr-tra | --program-tr | --program-t)
523 ac_prev=program_transform_name ;;
524 -program-transform-name=* | --program-transform-name=* \
525 | --program-transform-nam=* | --program-transform-na=* \
526 | --program-transform-n=* | --program-transform-=* \
527 | --program-transform=* | --program-transfor=* \
528 | --program-transfo=* | --program-transf=* \
529 | --program-trans=* | --program-tran=* \
530 | --progr-tra=* | --program-tr=* | --program-t=*)
531 program_transform_name=$ac_optarg ;;
533 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
534 | -silent | --silent | --silen | --sile | --sil)
537 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
539 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
541 sbindir=$ac_optarg ;;
543 -sharedstatedir | --sharedstatedir | --sharedstatedi \
544 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
545 | --sharedst | --shareds | --shared | --share | --shar \
547 ac_prev=sharedstatedir ;;
548 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
549 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
550 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
552 sharedstatedir=$ac_optarg ;;
554 -site | --site | --sit)
556 -site=* | --site=* | --sit=*)
559 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
561 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
564 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
565 | --syscon | --sysco | --sysc | --sys | --sy)
566 ac_prev=sysconfdir ;;
567 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
568 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
569 sysconfdir=$ac_optarg ;;
571 -target | --target | --targe | --targ | --tar | --ta | --t)
572 ac_prev=target_alias ;;
573 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
574 target_alias=$ac_optarg ;;
576 -v | -verbose | --verbose | --verbos | --verbo | --verb)
579 -version | --version | --versio | --versi | --vers | -V)
583 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
584 # Reject names that are not valid shell variable names.
585 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
586 { echo "$as_me: error: invalid package name: $ac_package" >&2
587 { (exit 1); exit 1; }; }
588 ac_package=`echo $ac_package| sed 's/-/_/g'`
590 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
593 eval "with_$ac_package='$ac_optarg'" ;;
595 -without-* | --without-*)
596 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid package name: $ac_package" >&2
600 { (exit 1); exit 1; }; }
601 ac_package=`echo $ac_package | sed 's/-/_/g'`
602 eval "with_$ac_package=no" ;;
605 # Obsolete; use --with-x.
608 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
609 | --x-incl | --x-inc | --x-in | --x-i)
610 ac_prev=x_includes ;;
611 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
612 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
613 x_includes=$ac_optarg ;;
615 -x-libraries | --x-libraries | --x-librarie | --x-librari \
616 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
617 ac_prev=x_libraries ;;
618 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
619 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
620 x_libraries=$ac_optarg ;;
622 -*) { echo "$as_me: error: unrecognized option: $ac_option
623 Try \`$0 --help' for more information." >&2
624 { (exit 1); exit 1; }; }
628 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
629 # Reject names that are not valid shell variable names.
630 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
631 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
632 { (exit 1); exit 1; }; }
633 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
634 eval "$ac_envvar='$ac_optarg'"
638 # FIXME: should be removed in autoconf 3.0.
639 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
640 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
641 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
642 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648 if test -n "$ac_prev"; then
649 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
650 { echo "$as_me: error: missing argument to $ac_option" >&2
651 { (exit 1); exit 1; }; }
654 # Be sure to have absolute paths.
655 for ac_var in exec_prefix prefix
657 eval ac_val=$`echo $ac_var`
659 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
660 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
661 { (exit 1); exit 1; }; };;
665 # Be sure to have absolute paths.
666 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
667 localstatedir libdir includedir oldincludedir infodir mandir
669 eval ac_val=$`echo $ac_var`
671 [\\/$]* | ?:[\\/]* ) ;;
672 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
673 { (exit 1); exit 1; }; };;
677 # There might be people who depend on the old broken behavior: `$host'
678 # used to hold the argument of --host etc.
679 # FIXME: To remove some day.
684 # FIXME: To remove some day.
685 if test "x$host_alias" != x; then
686 if test "x$build_alias" = x; then
687 cross_compiling=maybe
688 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
689 If a cross compiler is detected then cross compile mode will be used." >&2
690 elif test "x$build_alias" != "x$host_alias"; then
696 test -n "$host_alias" && ac_tool_prefix=$host_alias-
698 test "$silent" = yes && exec 6>/dev/null
701 # Find the source files, if location was not specified.
702 if test -z "$srcdir"; then
703 ac_srcdir_defaulted=yes
704 # Try the directory containing this script, then its parent.
705 ac_confdir=`(dirname "$0") 2>/dev/null ||
706 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
707 X"$0" : 'X\(//\)[^/]' \| \
708 X"$0" : 'X\(//\)$' \| \
709 X"$0" : 'X\(/\)' \| \
710 . : '\(.\)' 2>/dev/null ||
712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
714 /^X\(\/\/\)$/{ s//\1/; q; }
715 /^X\(\/\).*/{ s//\1/; q; }
718 if test ! -r $srcdir/$ac_unique_file; then
722 ac_srcdir_defaulted=no
724 if test ! -r $srcdir/$ac_unique_file; then
725 if test "$ac_srcdir_defaulted" = yes; then
726 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
727 { (exit 1); exit 1; }; }
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
730 { (exit 1); exit 1; }; }
733 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
734 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
735 { (exit 1); exit 1; }; }
736 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
737 ac_env_build_alias_set=${build_alias+set}
738 ac_env_build_alias_value=$build_alias
739 ac_cv_env_build_alias_set=${build_alias+set}
740 ac_cv_env_build_alias_value=$build_alias
741 ac_env_host_alias_set=${host_alias+set}
742 ac_env_host_alias_value=$host_alias
743 ac_cv_env_host_alias_set=${host_alias+set}
744 ac_cv_env_host_alias_value=$host_alias
745 ac_env_target_alias_set=${target_alias+set}
746 ac_env_target_alias_value=$target_alias
747 ac_cv_env_target_alias_set=${target_alias+set}
748 ac_cv_env_target_alias_value=$target_alias
749 ac_env_CC_set=${CC+set}
751 ac_cv_env_CC_set=${CC+set}
752 ac_cv_env_CC_value=$CC
753 ac_env_CFLAGS_set=${CFLAGS+set}
754 ac_env_CFLAGS_value=$CFLAGS
755 ac_cv_env_CFLAGS_set=${CFLAGS+set}
756 ac_cv_env_CFLAGS_value=$CFLAGS
757 ac_env_LDFLAGS_set=${LDFLAGS+set}
758 ac_env_LDFLAGS_value=$LDFLAGS
759 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
760 ac_cv_env_LDFLAGS_value=$LDFLAGS
761 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
762 ac_env_CPPFLAGS_value=$CPPFLAGS
763 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
764 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
765 ac_env_CPP_set=${CPP+set}
766 ac_env_CPP_value=$CPP
767 ac_cv_env_CPP_set=${CPP+set}
768 ac_cv_env_CPP_value=$CPP
771 # Report the --help message.
773 if test "$ac_init_help" = "long"; then
774 # Omit some internal or obsolete options to make the list less imposing.
775 # This message is too long to be a string in the A/UX 3.1 sh.
777 \`configure' configures this package to adapt to many kinds of systems.
779 Usage: $0 [OPTION]... [VAR=VALUE]...
781 To assign environment variables (e.g., CC, CFLAGS...), specify them as
782 VAR=VALUE. See below for descriptions of some of the useful variables.
784 Defaults for the options are specified in brackets.
787 -h, --help display this help and exit
788 --help=short display options specific to this package
789 --help=recursive display the short help of all the included packages
790 -V, --version display version information and exit
791 -q, --quiet, --silent do not print \`checking...' messages
792 --cache-file=FILE cache test results in FILE [disabled]
793 -C, --config-cache alias for \`--cache-file=config.cache'
794 -n, --no-create do not create output files
795 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800 Installation directories:
801 --prefix=PREFIX install architecture-independent files in PREFIX
803 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
806 By default, \`make install' will install all the files in
807 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
808 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
809 for instance \`--prefix=\$HOME'.
811 For better control, use the options below.
813 Fine tuning of the installation directories:
814 --bindir=DIR user executables [EPREFIX/bin]
815 --sbindir=DIR system admin executables [EPREFIX/sbin]
816 --libexecdir=DIR program executables [EPREFIX/libexec]
817 --datadir=DIR read-only architecture-independent data [PREFIX/share]
818 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
819 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
820 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
821 --libdir=DIR object code libraries [EPREFIX/lib]
822 --includedir=DIR C header files [PREFIX/include]
823 --oldincludedir=DIR C header files for non-gcc [/usr/include]
824 --infodir=DIR info documentation [PREFIX/info]
825 --mandir=DIR man documentation [PREFIX/man]
831 --program-prefix=PREFIX prepend PREFIX to installed program names
832 --program-suffix=SUFFIX append SUFFIX to installed program names
833 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
837 if test -n "$ac_init_help"; then
842 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
843 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
844 --disable-dependency-tracking Speeds up one-time builds
845 --enable-dependency-tracking Do not reject slow dependency extractors
847 Some influential environment variables:
848 CC C compiler command
849 CFLAGS C compiler flags
850 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
851 nonstandard directory <lib dir>
852 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
853 headers in a nonstandard directory <include dir>
856 Use these variables to override the choices made by `configure' or to help
857 it to find libraries and programs with nonstandard names/locations.
862 if test "$ac_init_help" = "recursive"; then
863 # If there are subdirs, report their specific --help.
865 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
866 test -d $ac_dir || continue
869 if test "$ac_dir" != .; then
870 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
871 # A "../" for each directory in $ac_dir_suffix.
872 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
874 ac_dir_suffix= ac_top_builddir=
878 .) # No --srcdir option. We are building in place.
880 if test -z "$ac_top_builddir"; then
883 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
885 [\\/]* | ?:[\\/]* ) # Absolute path.
886 ac_srcdir=$srcdir$ac_dir_suffix;
887 ac_top_srcdir=$srcdir ;;
889 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
890 ac_top_srcdir=$ac_top_builddir$srcdir ;;
892 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
894 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
895 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
896 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
897 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
900 # Check for guested configure; otherwise get Cygnus style configure.
901 if test -f $ac_srcdir/configure.gnu; then
903 $SHELL $ac_srcdir/configure.gnu --help=recursive
904 elif test -f $ac_srcdir/configure; then
906 $SHELL $ac_srcdir/configure --help=recursive
907 elif test -f $ac_srcdir/configure.ac ||
908 test -f $ac_srcdir/configure.in; then
912 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
918 test -n "$ac_init_help" && exit 0
919 if $ac_init_version; then
922 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
923 Free Software Foundation, Inc.
924 This configure script is free software; the Free Software Foundation
925 gives unlimited permission to copy, distribute and modify it.
931 This file contains any messages produced by compilers while
932 running configure, to aid debugging if configure makes a mistake.
934 It was created by $as_me, which was
935 generated by GNU Autoconf 2.54. Invocation command line was
946 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
947 uname -m = `(uname -m) 2>/dev/null || echo unknown`
948 uname -r = `(uname -r) 2>/dev/null || echo unknown`
949 uname -s = `(uname -s) 2>/dev/null || echo unknown`
950 uname -v = `(uname -v) 2>/dev/null || echo unknown`
952 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
953 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
955 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
956 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
957 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
958 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
959 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
960 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
961 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
969 test -z "$as_dir" && as_dir=.
985 # Keep a trace of the command line.
986 # Strip out --no-create and --no-recursion so they do not pile up.
987 # Also quote any args containing shell meta-characters.
993 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
994 | --no-cr | --no-c | -n ) continue ;;
995 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
996 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
998 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
999 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1001 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1002 # Get rid of the leading space.
1006 # When interrupted or exit'd, cleanup temporary files, and complete
1007 # config.log. We remove comments because anyway the quotes in there
1008 # would cause problems or look ugly.
1009 # WARNING: Be sure not to use single quotes in there, as some shells,
1010 # such as our DU 5.0 friend, will then `close' the trap.
1011 trap 'exit_status=$?
1012 # Save into config.log some information that might help in debugging.
1017 ## ---------------- ##
1018 ## Cache variables. ##
1019 ## ---------------- ##
1022 # The following way of writing the cache mishandles newlines in values,
1025 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1028 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1029 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1033 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1040 ## ----------------- ##
1041 ## Output variables. ##
1042 ## ----------------- ##
1045 for ac_var in $ac_subst_vars
1047 eval ac_val=$`echo $ac_var`
1048 echo "$ac_var='"'"'$ac_val'"'"'"
1052 if test -n "$ac_subst_files"; then
1059 for ac_var in $ac_subst_files
1061 eval ac_val=$`echo $ac_var`
1062 echo "$ac_var='"'"'$ac_val'"'"'"
1067 if test -s confdefs.h; then
1074 sed "/^$/d" confdefs.h | sort
1077 test "$ac_signal" != 0 &&
1078 echo "$as_me: caught signal $ac_signal"
1079 echo "$as_me: exit $exit_status"
1081 rm -f core core.* *.core &&
1082 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1085 for ac_signal in 1 2 13 15; do
1086 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1090 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1091 rm -rf conftest* confdefs.h
1092 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1095 # Predefined preprocessor variables.
1097 cat >>confdefs.h <<_ACEOF
1098 #define PACKAGE_NAME "$PACKAGE_NAME"
1102 cat >>confdefs.h <<_ACEOF
1103 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1107 cat >>confdefs.h <<_ACEOF
1108 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1112 cat >>confdefs.h <<_ACEOF
1113 #define PACKAGE_STRING "$PACKAGE_STRING"
1117 cat >>confdefs.h <<_ACEOF
1118 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1122 # Let the site file select an alternate cache file if it wants to.
1123 # Prefer explicitly selected file to automatically selected ones.
1124 if test -z "$CONFIG_SITE"; then
1125 if test "x$prefix" != xNONE; then
1126 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1128 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1131 for ac_site_file in $CONFIG_SITE; do
1132 if test -r "$ac_site_file"; then
1133 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1134 echo "$as_me: loading site script $ac_site_file" >&6;}
1135 sed 's/^/| /' "$ac_site_file" >&5
1140 if test -r "$cache_file"; then
1141 # Some versions of bash will fail to source /dev/null (special
1142 # files actually), so we avoid doing that.
1143 if test -f "$cache_file"; then
1144 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1145 echo "$as_me: loading cache $cache_file" >&6;}
1147 [\\/]* | ?:[\\/]* ) . $cache_file;;
1148 *) . ./$cache_file;;
1152 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1153 echo "$as_me: creating cache $cache_file" >&6;}
1157 # Check that the precious variables saved in the cache have kept the same
1159 ac_cache_corrupted=false
1160 for ac_var in `(set) 2>&1 |
1161 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1162 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1163 eval ac_new_set=\$ac_env_${ac_var}_set
1164 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1165 eval ac_new_val="\$ac_env_${ac_var}_value"
1166 case $ac_old_set,$ac_new_set in
1168 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1169 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1170 ac_cache_corrupted=: ;;
1172 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1173 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1174 ac_cache_corrupted=: ;;
1177 if test "x$ac_old_val" != "x$ac_new_val"; then
1178 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1179 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1180 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1181 echo "$as_me: former value: $ac_old_val" >&2;}
1182 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1183 echo "$as_me: current value: $ac_new_val" >&2;}
1184 ac_cache_corrupted=:
1187 # Pass precious variables to config.status.
1188 if test "$ac_new_set" = set; then
1190 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1191 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1192 *) ac_arg=$ac_var=$ac_new_val ;;
1194 case " $ac_configure_args " in
1195 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1196 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1200 if $ac_cache_corrupted; then
1201 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1202 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1203 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1204 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1205 { (exit 1); exit 1; }; }
1209 ac_cpp='$CPP $CPPFLAGS'
1210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1233 ac_config_headers="$ac_config_headers Source/config.h"
1236 am__api_version="1.7"
1238 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1239 if test -f $ac_dir/install-sh; then
1241 ac_install_sh="$ac_aux_dir/install-sh -c"
1243 elif test -f $ac_dir/install.sh; then
1245 ac_install_sh="$ac_aux_dir/install.sh -c"
1247 elif test -f $ac_dir/shtool; then
1249 ac_install_sh="$ac_aux_dir/shtool install -c"
1253 if test -z "$ac_aux_dir"; then
1254 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1255 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1256 { (exit 1); exit 1; }; }
1258 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1259 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1260 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1262 # Find a good install program. We prefer a C program (faster),
1263 # so one script is as good as another. But avoid the broken or
1264 # incompatible versions:
1265 # SysV /etc/install, /usr/sbin/install
1266 # SunOS /usr/etc/install
1267 # IRIX /sbin/install
1269 # AmigaOS /C/install, which installs bootblocks on floppy discs
1270 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1271 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1272 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1273 # ./install, which can be erroneously created by make from ./install.sh.
1274 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1275 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1276 if test -z "$INSTALL"; then
1277 if test "${ac_cv_path_install+set}" = set; then
1278 echo $ECHO_N "(cached) $ECHO_C" >&6
1280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1284 test -z "$as_dir" && as_dir=.
1285 # Account for people who put trailing slashes in PATH elements.
1287 ./ | .// | /cC/* | \
1288 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1291 # OSF1 and SCO ODT 3.0 have their own names for install.
1292 # Don't use installbsd from OSF since it installs stuff as root
1294 for ac_prog in ginstall scoinst install; do
1295 for ac_exec_ext in '' $ac_executable_extensions; do
1296 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1297 if test $ac_prog = install &&
1298 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1299 # AIX install. It has an incompatible calling convention.
1301 elif test $ac_prog = install &&
1302 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1303 # program-specific install script used by HP pwplus--don't use.
1306 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1318 if test "${ac_cv_path_install+set}" = set; then
1319 INSTALL=$ac_cv_path_install
1321 # As a last resort, use the slow shell script. We don't cache a
1322 # path for INSTALL within a source directory, because that will
1323 # break other packages using the cache if that directory is
1324 # removed, or if the path is relative.
1325 INSTALL=$ac_install_sh
1328 echo "$as_me:$LINENO: result: $INSTALL" >&5
1329 echo "${ECHO_T}$INSTALL" >&6
1331 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1332 # It thinks the first close brace ends the variable substitution.
1333 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1335 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1337 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1339 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1340 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1343 echo timestamp > conftest.file
1344 # Do `set' in a subshell so we don't clobber the current shell's
1345 # arguments. Must try -L first in case configure is actually a
1346 # symlink; some systems play weird games with the mod time of symlinks
1347 # (eg FreeBSD returns the mod time of the symlink's containing
1350 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1351 if test "$*" = "X"; then
1353 set X `ls -t $srcdir/configure conftest.file`
1356 if test "$*" != "X $srcdir/configure conftest.file" \
1357 && test "$*" != "X conftest.file $srcdir/configure"; then
1359 # If neither matched, then we have a broken ls. This can happen
1360 # if, for instance, CONFIG_SHELL is bash and it inherits a
1361 # broken ls alias from the environment. This has actually
1362 # happened. Such a system could not be considered "sane".
1363 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1364 alias in your environment" >&5
1365 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1366 alias in your environment" >&2;}
1367 { (exit 1); exit 1; }; }
1370 test "$2" = conftest.file
1376 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1377 Check your system clock" >&5
1378 echo "$as_me: error: newly created file is older than distributed files!
1379 Check your system clock" >&2;}
1380 { (exit 1); exit 1; }; }
1382 echo "$as_me:$LINENO: result: yes" >&5
1383 echo "${ECHO_T}yes" >&6
1384 test "$program_prefix" != NONE &&
1385 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1386 # Use a double $ so make ignores it.
1387 test "$program_suffix" != NONE &&
1388 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1389 # Double any \ or $. echo might interpret backslashes.
1390 # By default was `s,x,x', remove it if useless.
1391 cat <<\_ACEOF >conftest.sed
1392 s/[\\$]/&&/g;s/;s,x,x,$//
1394 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1398 # expand $ac_aux_dir to an absolute path
1399 am_aux_dir=`cd $ac_aux_dir && pwd`
1401 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1402 # Use eval to expand $SHELL
1403 if eval "$MISSING --run true"; then
1404 am_missing_run="$MISSING --run "
1407 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1408 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1411 for ac_prog in gawk mawk nawk awk
1413 # Extract the first word of "$ac_prog", so it can be a program name with args.
1414 set dummy $ac_prog; ac_word=$2
1415 echo "$as_me:$LINENO: checking for $ac_word" >&5
1416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1417 if test "${ac_cv_prog_AWK+set}" = set; then
1418 echo $ECHO_N "(cached) $ECHO_C" >&6
1420 if test -n "$AWK"; then
1421 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1427 test -z "$as_dir" && as_dir=.
1428 for ac_exec_ext in '' $ac_executable_extensions; do
1429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1430 ac_cv_prog_AWK="$ac_prog"
1431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1440 if test -n "$AWK"; then
1441 echo "$as_me:$LINENO: result: $AWK" >&5
1442 echo "${ECHO_T}$AWK" >&6
1444 echo "$as_me:$LINENO: result: no" >&5
1445 echo "${ECHO_T}no" >&6
1448 test -n "$AWK" && break
1451 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1452 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1453 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1454 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1455 echo $ECHO_N "(cached) $ECHO_C" >&6
1457 cat >conftest.make <<\_ACEOF
1459 @echo 'ac_maketemp="${MAKE}"'
1461 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1462 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1463 if test -n "$ac_maketemp"; then
1464 eval ac_cv_prog_make_${ac_make}_set=yes
1466 eval ac_cv_prog_make_${ac_make}_set=no
1470 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1471 echo "$as_me:$LINENO: result: yes" >&5
1472 echo "${ECHO_T}yes" >&6
1475 echo "$as_me:$LINENO: result: no" >&5
1476 echo "${ECHO_T}no" >&6
1477 SET_MAKE="MAKE=${MAKE-make}"
1480 # test to see if srcdir already configured
1481 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1482 test -f $srcdir/config.status; then
1483 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1484 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1485 { (exit 1); exit 1; }; }
1488 # test whether we have cygpath
1489 if test -z "$CYGPATH_W"; then
1490 if (cygpath --version) >/dev/null 2>/dev/null; then
1491 CYGPATH_W='cygpath -w'
1498 # Define the identity of the package.
1503 cat >>confdefs.h <<_ACEOF
1504 #define PACKAGE "$PACKAGE"
1508 cat >>confdefs.h <<_ACEOF
1509 #define VERSION "$VERSION"
1512 # Some tools Automake needs.
1514 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1517 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1520 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1523 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1526 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1529 AMTAR=${AMTAR-"${am_missing_run}tar"}
1531 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1533 # Installed binaries are usually stripped using `strip' when the user
1534 # run `make install-strip'. However `strip' might not be the right
1535 # tool to use in cross-compilation environments, therefore Automake
1536 # will honor the `STRIP' environment variable to overrule this program.
1537 if test "$cross_compiling" != no; then
1538 if test -n "$ac_tool_prefix"; then
1539 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1540 set dummy ${ac_tool_prefix}strip; ac_word=$2
1541 echo "$as_me:$LINENO: checking for $ac_word" >&5
1542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543 if test "${ac_cv_prog_STRIP+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1546 if test -n "$STRIP"; then
1547 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1553 test -z "$as_dir" && as_dir=.
1554 for ac_exec_ext in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1565 STRIP=$ac_cv_prog_STRIP
1566 if test -n "$STRIP"; then
1567 echo "$as_me:$LINENO: result: $STRIP" >&5
1568 echo "${ECHO_T}$STRIP" >&6
1570 echo "$as_me:$LINENO: result: no" >&5
1571 echo "${ECHO_T}no" >&6
1575 if test -z "$ac_cv_prog_STRIP"; then
1577 # Extract the first word of "strip", so it can be a program name with args.
1578 set dummy strip; ac_word=$2
1579 echo "$as_me:$LINENO: checking for $ac_word" >&5
1580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 if test -n "$ac_ct_STRIP"; then
1585 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1591 test -z "$as_dir" && as_dir=.
1592 for ac_exec_ext in '' $ac_executable_extensions; do
1593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1594 ac_cv_prog_ac_ct_STRIP="strip"
1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1601 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1604 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1605 if test -n "$ac_ct_STRIP"; then
1606 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1607 echo "${ECHO_T}$ac_ct_STRIP" >&6
1609 echo "$as_me:$LINENO: result: no" >&5
1610 echo "${ECHO_T}no" >&6
1615 STRIP="$ac_cv_prog_STRIP"
1619 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1621 # We need awk for the "check" target. The system "awk" is bad on
1627 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1628 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1629 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1630 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 cat >conftest.make <<\_ACEOF
1635 @echo 'ac_maketemp="${MAKE}"'
1637 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1638 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1639 if test -n "$ac_maketemp"; then
1640 eval ac_cv_prog_make_${ac_make}_set=yes
1642 eval ac_cv_prog_make_${ac_make}_set=no
1646 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1647 echo "$as_me:$LINENO: result: yes" >&5
1648 echo "${ECHO_T}yes" >&6
1651 echo "$as_me:$LINENO: result: no" >&5
1652 echo "${ECHO_T}no" >&6
1653 SET_MAKE="MAKE=${MAKE-make}"
1658 ac_cpp='$CPP $CPPFLAGS'
1659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1662 if test -n "$ac_tool_prefix"; then
1663 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1664 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1665 echo "$as_me:$LINENO: checking for $ac_word" >&5
1666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1667 if test "${ac_cv_prog_CC+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1670 if test -n "$CC"; then
1671 ac_cv_prog_CC="$CC" # Let the user override the test.
1673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1677 test -z "$as_dir" && as_dir=.
1678 for ac_exec_ext in '' $ac_executable_extensions; do
1679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1680 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1690 if test -n "$CC"; then
1691 echo "$as_me:$LINENO: result: $CC" >&5
1692 echo "${ECHO_T}$CC" >&6
1694 echo "$as_me:$LINENO: result: no" >&5
1695 echo "${ECHO_T}no" >&6
1699 if test -z "$ac_cv_prog_CC"; then
1701 # Extract the first word of "gcc", so it can be a program name with args.
1702 set dummy gcc; ac_word=$2
1703 echo "$as_me:$LINENO: checking for $ac_word" >&5
1704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 if test -n "$ac_ct_CC"; then
1709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1715 test -z "$as_dir" && as_dir=.
1716 for ac_exec_ext in '' $ac_executable_extensions; do
1717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1718 ac_cv_prog_ac_ct_CC="gcc"
1719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1727 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1728 if test -n "$ac_ct_CC"; then
1729 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1730 echo "${ECHO_T}$ac_ct_CC" >&6
1732 echo "$as_me:$LINENO: result: no" >&5
1733 echo "${ECHO_T}no" >&6
1741 if test -z "$CC"; then
1742 if test -n "$ac_tool_prefix"; then
1743 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1744 set dummy ${ac_tool_prefix}cc; ac_word=$2
1745 echo "$as_me:$LINENO: checking for $ac_word" >&5
1746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1747 if test "${ac_cv_prog_CC+set}" = set; then
1748 echo $ECHO_N "(cached) $ECHO_C" >&6
1750 if test -n "$CC"; then
1751 ac_cv_prog_CC="$CC" # Let the user override the test.
1753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1757 test -z "$as_dir" && as_dir=.
1758 for ac_exec_ext in '' $ac_executable_extensions; do
1759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1760 ac_cv_prog_CC="${ac_tool_prefix}cc"
1761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1770 if test -n "$CC"; then
1771 echo "$as_me:$LINENO: result: $CC" >&5
1772 echo "${ECHO_T}$CC" >&6
1774 echo "$as_me:$LINENO: result: no" >&5
1775 echo "${ECHO_T}no" >&6
1779 if test -z "$ac_cv_prog_CC"; then
1781 # Extract the first word of "cc", so it can be a program name with args.
1782 set dummy cc; ac_word=$2
1783 echo "$as_me:$LINENO: checking for $ac_word" >&5
1784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6
1788 if test -n "$ac_ct_CC"; then
1789 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795 test -z "$as_dir" && as_dir=.
1796 for ac_exec_ext in '' $ac_executable_extensions; do
1797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1798 ac_cv_prog_ac_ct_CC="cc"
1799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1808 if test -n "$ac_ct_CC"; then
1809 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1810 echo "${ECHO_T}$ac_ct_CC" >&6
1812 echo "$as_me:$LINENO: result: no" >&5
1813 echo "${ECHO_T}no" >&6
1822 if test -z "$CC"; then
1823 # Extract the first word of "cc", so it can be a program name with args.
1824 set dummy cc; ac_word=$2
1825 echo "$as_me:$LINENO: checking for $ac_word" >&5
1826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1827 if test "${ac_cv_prog_CC+set}" = set; then
1828 echo $ECHO_N "(cached) $ECHO_C" >&6
1830 if test -n "$CC"; then
1831 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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1842 ac_prog_rejected=yes
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 if test $ac_prog_rejected = yes; then
1853 # We found a bogon in the path, so make sure we never use it.
1854 set dummy $ac_cv_prog_CC
1856 if test $# != 0; then
1857 # We chose a different compiler from the bogus one.
1858 # However, it has the same basename, so the bogon will be chosen
1859 # first if we set CC to just the basename; use the full file name.
1861 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1867 if test -n "$CC"; then
1868 echo "$as_me:$LINENO: result: $CC" >&5
1869 echo "${ECHO_T}$CC" >&6
1871 echo "$as_me:$LINENO: result: no" >&5
1872 echo "${ECHO_T}no" >&6
1876 if test -z "$CC"; then
1877 if test -n "$ac_tool_prefix"; then
1880 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1881 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1882 echo "$as_me:$LINENO: checking for $ac_word" >&5
1883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1884 if test "${ac_cv_prog_CC+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 if test -n "$CC"; then
1888 ac_cv_prog_CC="$CC" # Let the user override the test.
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir=.
1895 for ac_exec_ext in '' $ac_executable_extensions; do
1896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1897 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907 if test -n "$CC"; then
1908 echo "$as_me:$LINENO: result: $CC" >&5
1909 echo "${ECHO_T}$CC" >&6
1911 echo "$as_me:$LINENO: result: no" >&5
1912 echo "${ECHO_T}no" >&6
1915 test -n "$CC" && break
1918 if test -z "$CC"; then
1922 # Extract the first word of "$ac_prog", so it can be a program name with args.
1923 set dummy $ac_prog; ac_word=$2
1924 echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1926 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test -n "$ac_ct_CC"; then
1930 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 test -z "$as_dir" && as_dir=.
1937 for ac_exec_ext in '' $ac_executable_extensions; do
1938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939 ac_cv_prog_ac_ct_CC="$ac_prog"
1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1949 if test -n "$ac_ct_CC"; then
1950 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1951 echo "${ECHO_T}$ac_ct_CC" >&6
1953 echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6
1957 test -n "$ac_ct_CC" && break
1966 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1967 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1968 { (exit 1); exit 1; }; }
1970 # Provide some information about the compiler.
1971 echo "$as_me:$LINENO:" \
1972 "checking for C compiler version" >&5
1973 ac_compiler=`set X $ac_compile; echo $2`
1974 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1975 (eval $ac_compiler --version </dev/null >&5) 2>&5
1977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1978 (exit $ac_status); }
1979 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1980 (eval $ac_compiler -v </dev/null >&5) 2>&5
1982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1983 (exit $ac_status); }
1984 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1985 (eval $ac_compiler -V </dev/null >&5) 2>&5
1987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988 (exit $ac_status); }
1990 cat >conftest.$ac_ext <<_ACEOF
1991 #line $LINENO "configure"
1992 #include "confdefs.h"
2002 ac_clean_files_save=$ac_clean_files
2003 ac_clean_files="$ac_clean_files a.out a.exe"
2004 # Try to create an executable without -o first, disregard a.out.
2005 # It will help us diagnose broken compilers, and finding out an intuition
2007 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2008 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2009 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2010 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2011 (eval $ac_link_default) 2>&5
2013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2014 (exit $ac_status); }; then
2015 # Find the output, starting from the most likely. This scheme is
2016 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2019 # Be careful to initialize this variable, since it used to be cached.
2020 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2022 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
2023 test -f "$ac_file" || continue
2025 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2026 a.out ) # We found the default executable, but exeext='' is most
2029 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2030 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2037 echo "$as_me: failed program was:" >&5
2038 cat conftest.$ac_ext >&5
2039 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2040 check \`config.log' for details." >&5
2041 echo "$as_me: error: C compiler cannot create executables
2042 check \`config.log' for details." >&2;}
2043 { (exit 77); exit 77; }; }
2046 ac_exeext=$ac_cv_exeext
2047 echo "$as_me:$LINENO: result: $ac_file" >&5
2048 echo "${ECHO_T}$ac_file" >&6
2050 # Check the compiler produces executables we can run. If not, either
2051 # the compiler is broken, or we cross compile.
2052 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2053 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2054 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2055 # If not cross compiling, check that we can run a simple program.
2056 if test "$cross_compiling" != yes; then
2057 if { ac_try='./$ac_file'
2058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); }; }; then
2065 if test "$cross_compiling" = maybe; then
2068 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2069 If you meant to cross compile, use \`--host'." >&5
2070 echo "$as_me: error: cannot run C compiled programs.
2071 If you meant to cross compile, use \`--host'." >&2;}
2072 { (exit 1); exit 1; }; }
2076 echo "$as_me:$LINENO: result: yes" >&5
2077 echo "${ECHO_T}yes" >&6
2079 rm -f a.out a.exe conftest$ac_cv_exeext
2080 ac_clean_files=$ac_clean_files_save
2081 # Check the compiler produces executables we can run. If not, either
2082 # the compiler is broken, or we cross compile.
2083 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2084 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2085 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2086 echo "${ECHO_T}$cross_compiling" >&6
2088 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2089 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2091 (eval $ac_link) 2>&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); }; then
2095 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2096 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2097 # work properly (i.e., refer to `conftest.exe'), while it won't with
2099 for ac_file in conftest.exe conftest conftest.*; do
2100 test -f "$ac_file" || continue
2102 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2103 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2110 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2111 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2112 { (exit 1); exit 1; }; }
2115 rm -f conftest$ac_cv_exeext
2116 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2117 echo "${ECHO_T}$ac_cv_exeext" >&6
2119 rm -f conftest.$ac_ext
2120 EXEEXT=$ac_cv_exeext
2122 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2123 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2124 if test "${ac_cv_objext+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 cat >conftest.$ac_ext <<_ACEOF
2128 #line $LINENO "configure"
2129 #include "confdefs.h"
2139 rm -f conftest.o conftest.obj
2140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2141 (eval $ac_compile) 2>&5
2143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144 (exit $ac_status); }; then
2145 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2147 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2148 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2153 echo "$as_me: failed program was:" >&5
2154 cat conftest.$ac_ext >&5
2155 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2156 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2157 { (exit 1); exit 1; }; }
2160 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2162 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2163 echo "${ECHO_T}$ac_cv_objext" >&6
2164 OBJEXT=$ac_cv_objext
2166 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2167 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2168 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 cat >conftest.$ac_ext <<_ACEOF
2172 #line $LINENO "configure"
2173 #include "confdefs.h"
2186 rm -f conftest.$ac_objext
2187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2188 (eval $ac_compile) 2>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); } &&
2192 { ac_try='test -s conftest.$ac_objext'
2193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }; }; then
2200 echo "$as_me: failed program was:" >&5
2201 cat conftest.$ac_ext >&5
2204 rm -f conftest.$ac_objext conftest.$ac_ext
2205 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2208 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2209 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2210 GCC=`test $ac_compiler_gnu = yes && echo yes`
2211 ac_test_CFLAGS=${CFLAGS+set}
2212 ac_save_CFLAGS=$CFLAGS
2214 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2215 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2216 if test "${ac_cv_prog_cc_g+set}" = set; then
2217 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 cat >conftest.$ac_ext <<_ACEOF
2220 #line $LINENO "configure"
2221 #include "confdefs.h"
2231 rm -f conftest.$ac_objext
2232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2233 (eval $ac_compile) 2>&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); } &&
2237 { ac_try='test -s conftest.$ac_objext'
2238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); }; }; then
2245 echo "$as_me: failed program was:" >&5
2246 cat conftest.$ac_ext >&5
2249 rm -f conftest.$ac_objext conftest.$ac_ext
2251 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2252 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2253 if test "$ac_test_CFLAGS" = set; then
2254 CFLAGS=$ac_save_CFLAGS
2255 elif test $ac_cv_prog_cc_g = yes; then
2256 if test "$GCC" = yes; then
2262 if test "$GCC" = yes; then
2268 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2269 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2270 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
2273 ac_cv_prog_cc_stdc=no
2275 cat >conftest.$ac_ext <<_ACEOF
2276 #line $LINENO "configure"
2277 #include "confdefs.h"
2280 #include <sys/types.h>
2281 #include <sys/stat.h>
2282 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2283 struct buf { int x; };
2284 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2285 static char *e (p, i)
2291 static char *f (char * (*g) (char **, int), char **p, ...)
2296 s = g (p, va_arg (v,int));
2300 int test (int i, double x);
2301 struct s1 {int (*f) (int a);};
2302 struct s2 {int (*f) (double a);};
2303 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2309 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2314 # Don't try gcc -ansi; that turns off useful extensions and
2315 # breaks some systems' header files.
2316 # AIX -qlanglvl=ansi
2317 # Ultrix and OSF/1 -std1
2318 # HP-UX 10.20 and later -Ae
2319 # HP-UX older versions -Aa -D_HPUX_SOURCE
2320 # SVR4 -Xc -D__EXTENSIONS__
2321 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2323 CC="$ac_save_CC $ac_arg"
2324 rm -f conftest.$ac_objext
2325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2326 (eval $ac_compile) 2>&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); } &&
2330 { ac_try='test -s conftest.$ac_objext'
2331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }; }; then
2336 ac_cv_prog_cc_stdc=$ac_arg
2339 echo "$as_me: failed program was:" >&5
2340 cat conftest.$ac_ext >&5
2342 rm -f conftest.$ac_objext
2344 rm -f conftest.$ac_ext conftest.$ac_objext
2349 case "x$ac_cv_prog_cc_stdc" in
2351 echo "$as_me:$LINENO: result: none needed" >&5
2352 echo "${ECHO_T}none needed" >&6 ;;
2354 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2355 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2356 CC="$CC $ac_cv_prog_cc_stdc" ;;
2359 # Some people use a C++ compiler to compile C. Since we use `exit',
2360 # in C++ we need to declare it. In case someone uses the same compiler
2361 # for both compiling C and C++ we need to have the C++ compiler decide
2362 # the declaration of exit, since it's the most demanding environment.
2363 cat >conftest.$ac_ext <<_ACEOF
2368 rm -f conftest.$ac_objext
2369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2370 (eval $ac_compile) 2>&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); } &&
2374 { ac_try='test -s conftest.$ac_objext'
2375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }; }; then
2380 for ac_declaration in \
2382 '#include <stdlib.h>' \
2383 'extern "C" void std::exit (int) throw (); using std::exit;' \
2384 'extern "C" void std::exit (int); using std::exit;' \
2385 'extern "C" void exit (int) throw ();' \
2386 'extern "C" void exit (int);' \
2389 cat >conftest.$ac_ext <<_ACEOF
2390 #line $LINENO "configure"
2391 #include "confdefs.h"
2402 rm -f conftest.$ac_objext
2403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2404 (eval $ac_compile) 2>&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try='test -s conftest.$ac_objext'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; }; then
2416 echo "$as_me: failed program was:" >&5
2417 cat conftest.$ac_ext >&5
2420 rm -f conftest.$ac_objext conftest.$ac_ext
2421 cat >conftest.$ac_ext <<_ACEOF
2422 #line $LINENO "configure"
2423 #include "confdefs.h"
2433 rm -f conftest.$ac_objext
2434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2435 (eval $ac_compile) 2>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); } &&
2439 { ac_try='test -s conftest.$ac_objext'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; }; then
2447 echo "$as_me: failed program was:" >&5
2448 cat conftest.$ac_ext >&5
2450 rm -f conftest.$ac_objext conftest.$ac_ext
2453 if test -n "$ac_declaration"; then
2454 echo '#ifdef __cplusplus' >>confdefs.h
2455 echo $ac_declaration >>confdefs.h
2456 echo '#endif' >>confdefs.h
2460 echo "$as_me: failed program was:" >&5
2461 cat conftest.$ac_ext >&5
2463 rm -f conftest.$ac_objext conftest.$ac_ext
2465 ac_cpp='$CPP $CPPFLAGS'
2466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2469 rm -f .deps 2>/dev/null
2470 mkdir .deps 2>/dev/null
2471 if test -d .deps; then
2474 # MS-DOS does not allow filenames that begin with a dot.
2477 rmdir .deps 2>/dev/null
2480 ac_config_commands="$ac_config_commands depfiles"
2483 am_make=${MAKE-make}
2484 cat > confinc << 'END'
2488 # If we don't find an include directive, just comment out the code.
2489 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2490 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2494 # First try GNU make style include.
2495 echo "include confinc" > confmf
2496 # We grep out `Entering directory' and `Leaving directory'
2497 # messages which can occur if `w' ends up in MAKEFLAGS.
2498 # In particular we don't look at `^make:' because GNU make might
2499 # be invoked under some other name (usually "gmake"), in which
2500 # case it prints its new name instead of `make'.
2501 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2506 # Now try BSD make style include.
2507 if test "$am__include" = "#"; then
2508 echo '.include "confinc"' > confmf
2509 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2510 am__include=.include
2517 echo "$as_me:$LINENO: result: $_am_result" >&5
2518 echo "${ECHO_T}$_am_result" >&6
2519 rm -f confinc confmf
2521 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2522 if test "${enable_dependency_tracking+set}" = set; then
2523 enableval="$enable_dependency_tracking"
2526 if test "x$enable_dependency_tracking" != xno; then
2527 am_depcomp="$ac_aux_dir/depcomp"
2532 if test "x$enable_dependency_tracking" != xno; then
2543 depcc="$CC" am_compiler_list=
2545 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2546 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2547 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2548 echo $ECHO_N "(cached) $ECHO_C" >&6
2550 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2551 # We make a subdir and do the tests there. Otherwise we can end up
2552 # making bogus files that we don't know about and never remove. For
2553 # instance it was reported that on HP-UX the gcc test will end up
2554 # making a dummy file named `D' -- because `-MD' means `put the output
2557 # Copy depcomp to subdir because otherwise we won't find it if we're
2558 # using a relative directory.
2559 cp "$am_depcomp" conftest.dir
2562 am_cv_CC_dependencies_compiler_type=none
2563 if test "$am_compiler_list" = ""; then
2564 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2566 for depmode in $am_compiler_list; do
2567 # We need to recreate these files for each test, as the compiler may
2568 # overwrite some of them when testing with obscure command lines.
2569 # This happens at least with the AIX C compiler.
2570 echo '#include "conftest.h"' > conftest.c
2571 echo 'int i;' > conftest.h
2572 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2576 # after this tag, mechanisms are not by side-effect, so they'll
2577 # only be used when explicitly requested
2578 if test "x$enable_dependency_tracking" = xyes; then
2586 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2587 # mode. It turns out that the SunPro C++ compiler does not properly
2588 # handle `-M -o', and we need to detect this.
2589 if depmode=$depmode \
2590 source=conftest.c object=conftest.o \
2591 depfile=conftest.Po tmpdepfile=conftest.TPo \
2592 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2593 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2594 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2595 am_cv_CC_dependencies_compiler_type=$depmode
2603 am_cv_CC_dependencies_compiler_type=none
2607 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2608 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2609 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2614 test "x$enable_dependency_tracking" != xno \
2615 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2617 am__fastdepCC_FALSE='#'
2619 am__fastdepCC_TRUE='#'
2620 am__fastdepCC_FALSE=
2628 ac_cpp='$CPP $CPPFLAGS'
2629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2632 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2633 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2634 # On Suns, sometimes $CPP names a directory.
2635 if test -n "$CPP" && test -d "$CPP"; then
2638 if test -z "$CPP"; then
2639 if test "${ac_cv_prog_CPP+set}" = set; then
2640 echo $ECHO_N "(cached) $ECHO_C" >&6
2642 # Double quotes because CPP needs to be expanded
2643 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2646 for ac_c_preproc_warn_flag in '' yes
2648 # Use a header file that comes with gcc, so configuring glibc
2649 # with a fresh cross-compiler works.
2650 # On the NeXT, cc -E runs the code through the compiler's parser,
2651 # not just through cpp. "Syntax error" is here to catch this case.
2652 cat >conftest.$ac_ext <<_ACEOF
2653 #line $LINENO "configure"
2654 #include "confdefs.h"
2658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2659 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2661 grep -v '^ *+' conftest.er1 >conftest.err
2663 cat conftest.err >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); } >/dev/null; then
2666 if test -s conftest.err; then
2667 ac_cpp_err=$ac_c_preproc_warn_flag
2674 if test -z "$ac_cpp_err"; then
2677 echo "$as_me: failed program was:" >&5
2678 cat conftest.$ac_ext >&5
2679 # Broken: fails on valid input.
2682 rm -f conftest.err conftest.$ac_ext
2684 # OK, works on sane cases. Now check whether non-existent headers
2685 # can be detected and how.
2686 cat >conftest.$ac_ext <<_ACEOF
2687 #line $LINENO "configure"
2688 #include "confdefs.h"
2689 #include <ac_nonexistent.h>
2691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2694 grep -v '^ *+' conftest.er1 >conftest.err
2696 cat conftest.err >&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); } >/dev/null; then
2699 if test -s conftest.err; then
2700 ac_cpp_err=$ac_c_preproc_warn_flag
2707 if test -z "$ac_cpp_err"; then
2708 # Broken: success on invalid input.
2711 echo "$as_me: failed program was:" >&5
2712 cat conftest.$ac_ext >&5
2713 # Passes both tests.
2717 rm -f conftest.err conftest.$ac_ext
2720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2721 rm -f conftest.err conftest.$ac_ext
2722 if $ac_preproc_ok; then
2734 echo "$as_me:$LINENO: result: $CPP" >&5
2735 echo "${ECHO_T}$CPP" >&6
2737 for ac_c_preproc_warn_flag in '' yes
2739 # Use a header file that comes with gcc, so configuring glibc
2740 # with a fresh cross-compiler works.
2741 # On the NeXT, cc -E runs the code through the compiler's parser,
2742 # not just through cpp. "Syntax error" is here to catch this case.
2743 cat >conftest.$ac_ext <<_ACEOF
2744 #line $LINENO "configure"
2745 #include "confdefs.h"
2749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2750 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2752 grep -v '^ *+' conftest.er1 >conftest.err
2754 cat conftest.err >&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); } >/dev/null; then
2757 if test -s conftest.err; then
2758 ac_cpp_err=$ac_c_preproc_warn_flag
2765 if test -z "$ac_cpp_err"; then
2768 echo "$as_me: failed program was:" >&5
2769 cat conftest.$ac_ext >&5
2770 # Broken: fails on valid input.
2773 rm -f conftest.err conftest.$ac_ext
2775 # OK, works on sane cases. Now check whether non-existent headers
2776 # can be detected and how.
2777 cat >conftest.$ac_ext <<_ACEOF
2778 #line $LINENO "configure"
2779 #include "confdefs.h"
2780 #include <ac_nonexistent.h>
2782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2783 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2785 grep -v '^ *+' conftest.er1 >conftest.err
2787 cat conftest.err >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); } >/dev/null; then
2790 if test -s conftest.err; then
2791 ac_cpp_err=$ac_c_preproc_warn_flag
2798 if test -z "$ac_cpp_err"; then
2799 # Broken: success on invalid input.
2802 echo "$as_me: failed program was:" >&5
2803 cat conftest.$ac_ext >&5
2804 # Passes both tests.
2808 rm -f conftest.err conftest.$ac_ext
2811 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2812 rm -f conftest.err conftest.$ac_ext
2813 if $ac_preproc_ok; then
2816 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2817 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2818 { (exit 1); exit 1; }; }
2822 ac_cpp='$CPP $CPPFLAGS'
2823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2828 echo "$as_me:$LINENO: checking for egrep" >&5
2829 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2830 if test "${ac_cv_prog_egrep+set}" = set; then
2831 echo $ECHO_N "(cached) $ECHO_C" >&6
2833 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2834 then ac_cv_prog_egrep='grep -E'
2835 else ac_cv_prog_egrep='egrep'
2838 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2839 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2840 EGREP=$ac_cv_prog_egrep
2843 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2844 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2845 if test "${ac_cv_header_stdc+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2848 cat >conftest.$ac_ext <<_ACEOF
2849 #line $LINENO "configure"
2850 #include "confdefs.h"
2857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2858 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2860 grep -v '^ *+' conftest.er1 >conftest.err
2862 cat conftest.err >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } >/dev/null; then
2865 if test -s conftest.err; then
2866 ac_cpp_err=$ac_c_preproc_warn_flag
2873 if test -z "$ac_cpp_err"; then
2874 ac_cv_header_stdc=yes
2876 echo "$as_me: failed program was:" >&5
2877 cat conftest.$ac_ext >&5
2878 ac_cv_header_stdc=no
2880 rm -f conftest.err conftest.$ac_ext
2882 if test $ac_cv_header_stdc = yes; then
2883 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2884 cat >conftest.$ac_ext <<_ACEOF
2885 #line $LINENO "configure"
2886 #include "confdefs.h"
2890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2891 $EGREP "memchr" >/dev/null 2>&1; then
2894 ac_cv_header_stdc=no
2900 if test $ac_cv_header_stdc = yes; then
2901 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2902 cat >conftest.$ac_ext <<_ACEOF
2903 #line $LINENO "configure"
2904 #include "confdefs.h"
2908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2909 $EGREP "free" >/dev/null 2>&1; then
2912 ac_cv_header_stdc=no
2918 if test $ac_cv_header_stdc = yes; then
2919 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2920 if test "$cross_compiling" = yes; then
2923 cat >conftest.$ac_ext <<_ACEOF
2924 #line $LINENO "configure"
2925 #include "confdefs.h"
2927 #if ((' ' & 0x0FF) == 0x020)
2928 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2929 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2931 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2932 || ('j' <= (c) && (c) <= 'r') \
2933 || ('s' <= (c) && (c) <= 'z'))
2934 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2937 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2942 for (i = 0; i < 256; i++)
2943 if (XOR (islower (i), ISLOWER (i))
2944 || toupper (i) != TOUPPER (i))
2949 rm -f conftest$ac_exeext
2950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2951 (eval $ac_link) 2>&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); }; }; then
2962 echo "$as_me: program exited with status $ac_status" >&5
2963 echo "$as_me: failed program was:" >&5
2964 cat conftest.$ac_ext >&5
2966 ac_cv_header_stdc=no
2968 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2972 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2973 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2974 if test $ac_cv_header_stdc = yes; then
2976 cat >>confdefs.h <<\_ACEOF
2977 #define STDC_HEADERS 1
2983 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2984 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2985 if test "${ac_cv_c_const+set}" = set; then
2986 echo $ECHO_N "(cached) $ECHO_C" >&6
2988 cat >conftest.$ac_ext <<_ACEOF
2989 #line $LINENO "configure"
2990 #include "confdefs.h"
2995 /* FIXME: Include the comments suggested by Paul. */
2997 /* Ultrix mips cc rejects this. */
2998 typedef int charset[2];
3000 /* SunOS 4.1.1 cc rejects this. */
3001 char const *const *ccp;
3003 /* NEC SVR4.0.2 mips cc rejects this. */
3004 struct point {int x, y;};
3005 static struct point const zero = {0,0};
3006 /* AIX XL C 1.02.0.0 rejects this.
3007 It does not let you subtract one const X* pointer from another in
3008 an arm of an if-expression whose if-part is not a constant
3010 const char *g = "string";
3011 ccp = &g + (g ? g-g : 0);
3012 /* HPUX 7.0 cc rejects these. */
3015 ccp = (char const *const *) p;
3016 { /* SCO 3.2v4 cc rejects this. */
3018 char const *s = 0 ? (char *) 0 : (char const *) 0;
3022 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3024 const int *foo = &x[0];
3027 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3028 typedef const int *iptr;
3032 { /* AIX XL C 1.02.0.0 rejects this saying
3033 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3034 struct s { int j; const int *ap[3]; };
3035 struct s *b; b->j = 5;
3037 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3046 rm -f conftest.$ac_objext
3047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3048 (eval $ac_compile) 2>&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); } &&
3052 { ac_try='test -s conftest.$ac_objext'
3053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; }; then
3060 echo "$as_me: failed program was:" >&5
3061 cat conftest.$ac_ext >&5
3064 rm -f conftest.$ac_objext conftest.$ac_ext
3066 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3067 echo "${ECHO_T}$ac_cv_c_const" >&6
3068 if test $ac_cv_c_const = no; then
3070 cat >>confdefs.h <<\_ACEOF
3076 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3086 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3087 inttypes.h stdint.h unistd.h
3089 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3090 echo "$as_me:$LINENO: checking for $ac_header" >&5
3091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3093 echo $ECHO_N "(cached) $ECHO_C" >&6
3095 cat >conftest.$ac_ext <<_ACEOF
3096 #line $LINENO "configure"
3097 #include "confdefs.h"
3098 $ac_includes_default
3100 #include <$ac_header>
3102 rm -f conftest.$ac_objext
3103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3104 (eval $ac_compile) 2>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } &&
3108 { ac_try='test -s conftest.$ac_objext'
3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); }; }; then
3114 eval "$as_ac_Header=yes"
3116 echo "$as_me: failed program was:" >&5
3117 cat conftest.$ac_ext >&5
3118 eval "$as_ac_Header=no"
3120 rm -f conftest.$ac_objext conftest.$ac_ext
3122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3125 cat >>confdefs.h <<_ACEOF
3126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3134 echo "$as_me:$LINENO: checking for size_t" >&5
3135 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3136 if test "${ac_cv_type_size_t+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 cat >conftest.$ac_ext <<_ACEOF
3140 #line $LINENO "configure"
3141 #include "confdefs.h"
3142 $ac_includes_default
3148 if (sizeof (size_t))
3154 rm -f conftest.$ac_objext
3155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3156 (eval $ac_compile) 2>&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); } &&
3160 { ac_try='test -s conftest.$ac_objext'
3161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }; }; then
3166 ac_cv_type_size_t=yes
3168 echo "$as_me: failed program was:" >&5
3169 cat conftest.$ac_ext >&5
3170 ac_cv_type_size_t=no
3172 rm -f conftest.$ac_objext conftest.$ac_ext
3174 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3175 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3176 if test $ac_cv_type_size_t = yes; then
3180 cat >>confdefs.h <<_ACEOF
3181 #define size_t unsigned
3188 for ac_func in strftime
3190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3191 echo "$as_me:$LINENO: checking for $ac_func" >&5
3192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3193 if eval "test \"\${$as_ac_var+set}\" = set"; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 cat >conftest.$ac_ext <<_ACEOF
3197 #line $LINENO "configure"
3198 #include "confdefs.h"
3199 /* System header to define __stub macros and hopefully few prototypes,
3200 which can conflict with char $ac_func (); below. */
3202 /* Override any gcc2 internal prototype to avoid an error. */
3206 /* We use char because int might match the return type of a gcc2
3207 builtin and then its argument prototype would still apply. */
3214 /* The GNU C library defines this for functions which it implements
3215 to always fail with ENOSYS. Some functions are actually named
3216 something starting with __ and the normal name is an alias. */
3217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3227 rm -f conftest.$ac_objext conftest$ac_exeext
3228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3229 (eval $ac_link) 2>&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); } &&
3233 { ac_try='test -s conftest$ac_exeext'
3234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); }; }; then
3239 eval "$as_ac_var=yes"
3241 echo "$as_me: failed program was:" >&5
3242 cat conftest.$ac_ext >&5
3243 eval "$as_ac_var=no"
3245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3249 if test `eval echo '${'$as_ac_var'}'` = yes; then
3250 cat >>confdefs.h <<_ACEOF
3251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3255 # strftime is in -lintl on SCO UNIX.
3256 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
3257 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
3258 if test "${ac_cv_lib_intl_strftime+set}" = set; then
3259 echo $ECHO_N "(cached) $ECHO_C" >&6
3261 ac_check_lib_save_LIBS=$LIBS
3263 cat >conftest.$ac_ext <<_ACEOF
3264 #line $LINENO "configure"
3265 #include "confdefs.h"
3267 /* Override any gcc2 internal prototype to avoid an error. */
3271 /* We use char because int might match the return type of a gcc2
3272 builtin and then its argument prototype would still apply. */
3282 rm -f conftest.$ac_objext conftest$ac_exeext
3283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3284 (eval $ac_link) 2>&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); } &&
3288 { ac_try='test -s conftest$ac_exeext'
3289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); }; }; then
3294 ac_cv_lib_intl_strftime=yes
3296 echo "$as_me: failed program was:" >&5
3297 cat conftest.$ac_ext >&5
3298 ac_cv_lib_intl_strftime=no
3300 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3301 LIBS=$ac_check_lib_save_LIBS
3303 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
3304 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
3305 if test $ac_cv_lib_intl_strftime = yes; then
3306 cat >>confdefs.h <<\_ACEOF
3307 #define HAVE_STRFTIME 1
3317 for ac_func in vprintf
3319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3320 echo "$as_me:$LINENO: checking for $ac_func" >&5
3321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3322 if eval "test \"\${$as_ac_var+set}\" = set"; then
3323 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 cat >conftest.$ac_ext <<_ACEOF
3326 #line $LINENO "configure"
3327 #include "confdefs.h"
3328 /* System header to define __stub macros and hopefully few prototypes,
3329 which can conflict with char $ac_func (); below. */
3331 /* Override any gcc2 internal prototype to avoid an error. */
3335 /* We use char because int might match the return type of a gcc2
3336 builtin and then its argument prototype would still apply. */
3343 /* The GNU C library defines this for functions which it implements
3344 to always fail with ENOSYS. Some functions are actually named
3345 something starting with __ and the normal name is an alias. */
3346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3356 rm -f conftest.$ac_objext conftest$ac_exeext
3357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3358 (eval $ac_link) 2>&5
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); } &&
3362 { ac_try='test -s conftest$ac_exeext'
3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; }; then
3368 eval "$as_ac_var=yes"
3370 echo "$as_me: failed program was:" >&5
3371 cat conftest.$ac_ext >&5
3372 eval "$as_ac_var=no"
3374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3378 if test `eval echo '${'$as_ac_var'}'` = yes; then
3379 cat >>confdefs.h <<_ACEOF
3380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3383 echo "$as_me:$LINENO: checking for _doprnt" >&5
3384 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
3385 if test "${ac_cv_func__doprnt+set}" = set; then
3386 echo $ECHO_N "(cached) $ECHO_C" >&6
3388 cat >conftest.$ac_ext <<_ACEOF
3389 #line $LINENO "configure"
3390 #include "confdefs.h"
3391 /* System header to define __stub macros and hopefully few prototypes,
3392 which can conflict with char _doprnt (); below. */
3394 /* Override any gcc2 internal prototype to avoid an error. */
3398 /* We use char because int might match the return type of a gcc2
3399 builtin and then its argument prototype would still apply. */
3406 /* The GNU C library defines this for functions which it implements
3407 to always fail with ENOSYS. Some functions are actually named
3408 something starting with __ and the normal name is an alias. */
3409 #if defined (__stub__doprnt) || defined (__stub____doprnt)
3419 rm -f conftest.$ac_objext conftest$ac_exeext
3420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3421 (eval $ac_link) 2>&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); } &&
3425 { ac_try='test -s conftest$ac_exeext'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; }; then
3431 ac_cv_func__doprnt=yes
3433 echo "$as_me: failed program was:" >&5
3434 cat conftest.$ac_ext >&5
3435 ac_cv_func__doprnt=no
3437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3439 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
3440 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
3441 if test $ac_cv_func__doprnt = yes; then
3443 cat >>confdefs.h <<\_ACEOF
3444 #define HAVE_DOPRNT 1
3454 for ac_func in strstr
3456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3457 echo "$as_me:$LINENO: checking for $ac_func" >&5
3458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3459 if eval "test \"\${$as_ac_var+set}\" = set"; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 cat >conftest.$ac_ext <<_ACEOF
3463 #line $LINENO "configure"
3464 #include "confdefs.h"
3465 /* System header to define __stub macros and hopefully few prototypes,
3466 which can conflict with char $ac_func (); below. */
3468 /* Override any gcc2 internal prototype to avoid an error. */
3472 /* We use char because int might match the return type of a gcc2
3473 builtin and then its argument prototype would still apply. */
3480 /* The GNU C library defines this for functions which it implements
3481 to always fail with ENOSYS. Some functions are actually named
3482 something starting with __ and the normal name is an alias. */
3483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3493 rm -f conftest.$ac_objext conftest$ac_exeext
3494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3495 (eval $ac_link) 2>&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); } &&
3499 { ac_try='test -s conftest$ac_exeext'
3500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); }; }; then
3505 eval "$as_ac_var=yes"
3507 echo "$as_me: failed program was:" >&5
3508 cat conftest.$ac_ext >&5
3509 eval "$as_ac_var=no"
3511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3515 if test `eval echo '${'$as_ac_var'}'` = yes; then
3516 cat >>confdefs.h <<_ACEOF
3517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3524 ac_config_files="$ac_config_files makefile Docs/makefile Source/makefile"
3525 cat >confcache <<\_ACEOF
3526 # This file is a shell script that caches the results of configure
3527 # tests run on this system so they can be shared between configure
3528 # scripts and configure runs, see configure's option --config-cache.
3529 # It is not useful on other systems. If it contains results you don't
3530 # want to keep, you may remove or edit it.
3532 # config.status only pays attention to the cache file if you give it
3533 # the --recheck option to rerun configure.
3535 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3536 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3541 # The following way of writing the cache mishandles newlines in values,
3542 # but we know of no workaround that is simple, portable, and efficient.
3543 # So, don't put newlines in cache variables' values.
3544 # Ultrix sh set writes to stderr and can't be redirected directly,
3545 # and sets the high bit in the cache file unless we assign to the vars.
3548 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3550 # `set' does not quote correctly, so add quotes (double-quote
3551 # substitution turns \\\\ into \\, and sed turns \\ into \).
3554 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3557 # `set' quotes correctly as required by POSIX, so do not add quotes.
3559 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3566 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3568 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3570 if cmp -s $cache_file confcache; then :; else
3571 if test -w $cache_file; then
3572 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3573 cat confcache >$cache_file
3575 echo "not updating unwritable cache $cache_file"
3580 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3581 # Let make expand exec_prefix.
3582 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3584 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3585 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3586 # trailing colons and then remove the whole line if VPATH becomes empty
3587 # (actually we leave an empty line to preserve line numbers).
3588 if test "x$srcdir" = x.; then
3589 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3590 s/:*\$(srcdir):*/:/;
3591 s/:*\${srcdir}:*/:/;
3593 s/^\([^=]*=[ ]*\):*/\1/;
3599 DEFS=-DHAVE_CONFIG_H
3603 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3604 # 1. Remove the extension, and $U if already installed.
3605 ac_i=`echo "$ac_i" |
3606 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3608 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3609 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3613 LTLIBOBJS=$ac_ltlibobjs
3616 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3617 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3618 Usually this means the macro was only invoked conditionally." >&5
3619 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3620 Usually this means the macro was only invoked conditionally." >&2;}
3621 { (exit 1); exit 1; }; }
3623 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3624 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3625 Usually this means the macro was only invoked conditionally." >&5
3626 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3627 Usually this means the macro was only invoked conditionally." >&2;}
3628 { (exit 1); exit 1; }; }
3631 : ${CONFIG_STATUS=./config.status}
3632 ac_clean_files_save=$ac_clean_files
3633 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3634 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3635 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3636 cat >$CONFIG_STATUS <<_ACEOF
3638 # Generated by $as_me.
3639 # Run this file to recreate the current configuration.
3640 # Compiler output produced by configure, useful for debugging
3641 # configure, is in config.log if it exists.
3644 SHELL=\${CONFIG_SHELL-$SHELL}
3647 cat >>$CONFIG_STATUS <<\_ACEOF
3648 ## --------------------- ##
3649 ## M4sh Initialization. ##
3650 ## --------------------- ##
3652 # Be Bourne compatible
3653 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3656 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3657 # is contrary to our usage. Disable this feature.
3658 alias -g '${1+"$@"}'='"$@"'
3659 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3663 # Support unset when possible.
3664 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3671 # Work around bugs in pre-3.0 UWIN ksh.
3672 $as_unset ENV MAIL MAILPATH
3678 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
3680 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3681 eval $as_var=C; export $as_var
3687 # Required to use basename.
3688 if expr a : '\(a\)' >/dev/null 2>&1; then
3694 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3695 as_basename=basename
3701 # Name of the executable.
3702 as_me=`$as_basename "$0" ||
3703 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3704 X"$0" : 'X\(//\)$' \| \
3705 X"$0" : 'X\(/\)$' \| \
3706 . : '\(.\)' 2>/dev/null ||
3708 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3709 /^X\/\(\/\/\)$/{ s//\1/; q; }
3710 /^X\/\(\/\).*/{ s//\1/; q; }
3714 # PATH needs CR, and LINENO needs CR and PATH.
3715 # Avoid depending upon Character Ranges.
3716 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3717 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3718 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3719 as_cr_digits='0123456789'
3720 as_cr_alnum=$as_cr_Letters$as_cr_digits
3722 # The user is always right.
3723 if test "${PATH_SEPARATOR+set}" != set; then
3724 echo "#! /bin/sh" >conftest.sh
3725 echo "exit 0" >>conftest.sh
3726 chmod +x conftest.sh
3727 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
3738 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3739 test "x$as_lineno_1" != "x$as_lineno_2" &&
3740 test "x$as_lineno_3" = "x$as_lineno_2" || {
3741 # Find who we are. Look in the path if we contain no path at all
3744 *[\\/]* ) as_myself=$0 ;;
3745 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir=.
3750 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3755 # We did not find ourselves, most probably we were run as `sh COMMAND'
3756 # in which case we are not to be found in the path.
3757 if test "x$as_myself" = x; then
3760 if test ! -f "$as_myself"; then
3761 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3762 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3763 { (exit 1); exit 1; }; }
3765 case $CONFIG_SHELL in
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3771 test -z "$as_dir" && as_dir=.
3772 for as_base in sh bash ksh sh5; do
3775 if ("$as_dir/$as_base" -c '
3778 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3779 test "x$as_lineno_1" != "x$as_lineno_2" &&
3780 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3781 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3782 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3783 CONFIG_SHELL=$as_dir/$as_base
3785 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3793 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3794 # uniformly replaced by the line number. The first 'sed' inserts a
3795 # line-number line before each line; the second 'sed' does the real
3796 # work. The second script uses 'N' to pair each line-number line
3797 # with the numbered line, and appends trailing '-' during
3798 # substitution so that $LINENO is not a special case at line end.
3799 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3800 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3801 sed '=' <$as_myself |
3806 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3809 s,^['$as_cr_digits']*\n,,
3811 chmod +x $as_me.lineno ||
3812 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3813 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3814 { (exit 1); exit 1; }; }
3816 # Don't try to exec as it changes $[0], causing all sort of problems
3817 # (the dirname of $[0] is not the place where we might find the
3818 # original and so on. Autoconf is especially sensible to this).
3820 # Exit status is that of the last command.
3825 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3826 *c*,-n*) ECHO_N= ECHO_C='
3828 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3829 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3832 if expr a : '\(a\)' >/dev/null 2>&1; then
3838 rm -f conf$$ conf$$.exe conf$$.file
3840 if ln -s conf$$.file conf$$ 2>/dev/null; then
3841 # We could just check for DJGPP; but this test a) works b) is more generic
3842 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3843 if test -f conf$$.exe; then
3844 # Don't use ln at all; we don't have any links
3849 elif ln conf$$.file conf$$ 2>/dev/null; then
3854 rm -f conf$$ conf$$.exe conf$$.file
3856 if mkdir -p . 2>/dev/null; then
3862 as_executable_p="test -f"
3864 # Sed expression to map a string onto a valid CPP name.
3865 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3867 # Sed expression to map a string onto a valid variable name.
3868 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3872 # We need space, tab and new line, in precisely that order.
3882 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3883 # report actual input values of CONFIG_FILES etc. instead of their
3884 # values after options handling. Logging --version etc. is OK.
3888 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3889 ## Running $as_me. ##
3894 This file was extended by $as_me, which was
3895 generated by GNU Autoconf 2.54. Invocation command line was
3897 CONFIG_FILES = $CONFIG_FILES
3898 CONFIG_HEADERS = $CONFIG_HEADERS
3899 CONFIG_LINKS = $CONFIG_LINKS
3900 CONFIG_COMMANDS = $CONFIG_COMMANDS
3904 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3908 # Files that config.status was made for.
3909 if test -n "$ac_config_files"; then
3910 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3913 if test -n "$ac_config_headers"; then
3914 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3917 if test -n "$ac_config_links"; then
3918 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3921 if test -n "$ac_config_commands"; then
3922 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3925 cat >>$CONFIG_STATUS <<\_ACEOF
3928 \`$as_me' instantiates files from templates according to the
3929 current configuration.
3931 Usage: $0 [OPTIONS] [FILE]...
3933 -h, --help print this help, then exit
3934 -V, --version print version number, then exit
3935 -d, --debug don't remove temporary files
3936 --recheck update $as_me by reconfiguring in the same conditions
3937 --file=FILE[:TEMPLATE]
3938 instantiate the configuration file FILE
3939 --header=FILE[:TEMPLATE]
3940 instantiate the configuration header FILE
3942 Configuration files:
3945 Configuration headers:
3948 Configuration commands:
3951 Report bugs to <bug-autoconf@gnu.org>."
3954 cat >>$CONFIG_STATUS <<_ACEOF
3957 configured by $0, generated by GNU Autoconf 2.54,
3958 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3960 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3961 Free Software Foundation, Inc.
3962 This config.status script is free software; the Free Software Foundation
3963 gives unlimited permission to copy, distribute and modify it."
3968 cat >>$CONFIG_STATUS <<\_ACEOF
3969 # If no file are specified by the user, then we need to provide default
3970 # value. By we need to know if files were specified by the user.
3976 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3977 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3985 *) # This is not an option, so the user has probably given explicit
3988 ac_need_defaults=false;;
3992 # Handling of the options.
3994 cat >>$CONFIG_STATUS <<_ACEOF
3995 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3996 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3997 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3999 cat >>$CONFIG_STATUS <<\_ACEOF
4000 --version | --vers* | -V )
4001 echo "$ac_cs_version"; exit 0 ;;
4003 # Conflict between --help and --header
4004 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4005 Try \`$0 --help' for more information." >&5
4006 echo "$as_me: error: ambiguous option: $1
4007 Try \`$0 --help' for more information." >&2;}
4008 { (exit 1); exit 1; }; };;
4009 --help | --hel | -h )
4010 echo "$ac_cs_usage"; exit 0 ;;
4011 --debug | --d* | -d )
4013 --file | --fil | --fi | --f )
4015 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4016 ac_need_defaults=false;;
4017 --header | --heade | --head | --hea )
4019 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4020 ac_need_defaults=false;;
4023 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4024 Try \`$0 --help' for more information." >&5
4025 echo "$as_me: error: unrecognized option: $1
4026 Try \`$0 --help' for more information." >&2;}
4027 { (exit 1); exit 1; }; } ;;
4029 *) ac_config_targets="$ac_config_targets $1" ;;
4037 cat >>$CONFIG_STATUS <<_ACEOF
4039 # INIT-COMMANDS section.
4042 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4048 cat >>$CONFIG_STATUS <<\_ACEOF
4049 for ac_config_target in $ac_config_targets
4051 case "$ac_config_target" in
4052 # Handling of arguments.
4053 "makefile" ) CONFIG_FILES="$CONFIG_FILES makefile" ;;
4054 "Docs/makefile" ) CONFIG_FILES="$CONFIG_FILES Docs/makefile" ;;
4055 "Source/makefile" ) CONFIG_FILES="$CONFIG_FILES Source/makefile" ;;
4056 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4057 "Source/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS Source/config.h" ;;
4058 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4059 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4060 { (exit 1); exit 1; }; };;
4064 # If the user did not use the arguments to specify the items to instantiate,
4065 # then the envvar interface is used. Set only those that are not.
4066 # We use the long form for the default assignment because of an extremely
4067 # bizarre bug on SunOS 4.1.3.
4068 if $ac_need_defaults; then
4069 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4070 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4071 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4074 # Create a temporary directory, and hook for its removal unless debugging.
4077 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4078 trap '{ (exit 1); exit 1; }' 1 2 13 15
4081 # Create a (secure) tmp directory for tmp files.
4084 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4085 test -n "$tmp" && test -d "$tmp"
4088 tmp=$TMPDIR/cs$$-$RANDOM
4089 (umask 077 && mkdir $tmp)
4092 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4093 { (exit 1); exit 1; }
4098 cat >>$CONFIG_STATUS <<_ACEOF
4101 # CONFIG_FILES section.
4104 # No need to generate the scripts if there are no CONFIG_FILES.
4105 # This happens for instance when ./config.status config.h
4106 if test -n "\$CONFIG_FILES"; then
4107 # Protect against being on the right side of a sed subst in config.status.
4108 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4109 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4110 s,@SHELL@,$SHELL,;t t
4111 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4112 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4113 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4114 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4115 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4116 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4117 s,@exec_prefix@,$exec_prefix,;t t
4118 s,@prefix@,$prefix,;t t
4119 s,@program_transform_name@,$program_transform_name,;t t
4120 s,@bindir@,$bindir,;t t
4121 s,@sbindir@,$sbindir,;t t
4122 s,@libexecdir@,$libexecdir,;t t
4123 s,@datadir@,$datadir,;t t
4124 s,@sysconfdir@,$sysconfdir,;t t
4125 s,@sharedstatedir@,$sharedstatedir,;t t
4126 s,@localstatedir@,$localstatedir,;t t
4127 s,@libdir@,$libdir,;t t
4128 s,@includedir@,$includedir,;t t
4129 s,@oldincludedir@,$oldincludedir,;t t
4130 s,@infodir@,$infodir,;t t
4131 s,@mandir@,$mandir,;t t
4132 s,@build_alias@,$build_alias,;t t
4133 s,@host_alias@,$host_alias,;t t
4134 s,@target_alias@,$target_alias,;t t
4136 s,@ECHO_C@,$ECHO_C,;t t
4137 s,@ECHO_N@,$ECHO_N,;t t
4138 s,@ECHO_T@,$ECHO_T,;t t
4140 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4141 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4142 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4143 s,@CYGPATH_W@,$CYGPATH_W,;t t
4144 s,@PACKAGE@,$PACKAGE,;t t
4145 s,@VERSION@,$VERSION,;t t
4146 s,@ACLOCAL@,$ACLOCAL,;t t
4147 s,@AUTOCONF@,$AUTOCONF,;t t
4148 s,@AUTOMAKE@,$AUTOMAKE,;t t
4149 s,@AUTOHEADER@,$AUTOHEADER,;t t
4150 s,@MAKEINFO@,$MAKEINFO,;t t
4151 s,@AMTAR@,$AMTAR,;t t
4152 s,@install_sh@,$install_sh,;t t
4153 s,@STRIP@,$STRIP,;t t
4154 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4155 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4157 s,@SET_MAKE@,$SET_MAKE,;t t
4159 s,@CFLAGS@,$CFLAGS,;t t
4160 s,@LDFLAGS@,$LDFLAGS,;t t
4161 s,@CPPFLAGS@,$CPPFLAGS,;t t
4162 s,@ac_ct_CC@,$ac_ct_CC,;t t
4163 s,@EXEEXT@,$EXEEXT,;t t
4164 s,@OBJEXT@,$OBJEXT,;t t
4165 s,@DEPDIR@,$DEPDIR,;t t
4166 s,@am__include@,$am__include,;t t
4167 s,@am__quote@,$am__quote,;t t
4168 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4169 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4170 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4171 s,@CCDEPMODE@,$CCDEPMODE,;t t
4172 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4173 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4175 s,@EGREP@,$EGREP,;t t
4176 s,@LIBOBJS@,$LIBOBJS,;t t
4177 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4182 cat >>$CONFIG_STATUS <<\_ACEOF
4183 # Split the substitutions into bite-sized pieces for seds with
4184 # small command number limits, like on Digital OSF/1 and HP-UX.
4186 ac_sed_frag=1 # Number of current file.
4187 ac_beg=1 # First line for current file.
4188 ac_end=$ac_max_sed_lines # Line after last line for current file.
4191 while $ac_more_lines; do
4192 if test $ac_beg -gt 1; then
4193 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4195 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4197 if test ! -s $tmp/subs.frag; then
4200 # The purpose of the label and of the branching condition is to
4201 # speed up the sed processing (if there are no `@' at all, there
4202 # is no need to browse any of the substitutions).
4203 # These are the two extra sed commands mentioned above.
4205 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4206 if test -z "$ac_sed_cmds"; then
4207 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4209 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4211 ac_sed_frag=`expr $ac_sed_frag + 1`
4213 ac_end=`expr $ac_end + $ac_max_sed_lines`
4216 if test -z "$ac_sed_cmds"; then
4219 fi # test -n "$CONFIG_FILES"
4222 cat >>$CONFIG_STATUS <<\_ACEOF
4223 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4224 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4226 - | *:- | *:-:* ) # input from stdin
4228 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4229 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4230 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4231 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4232 * ) ac_file_in=$ac_file.in ;;
4235 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4236 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4237 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4238 X"$ac_file" : 'X\(//\)[^/]' \| \
4239 X"$ac_file" : 'X\(//\)$' \| \
4240 X"$ac_file" : 'X\(/\)' \| \
4241 . : '\(.\)' 2>/dev/null ||
4243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4244 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4245 /^X\(\/\/\)$/{ s//\1/; q; }
4246 /^X\(\/\).*/{ s//\1/; q; }
4248 { if $as_mkdir_p; then
4253 while test ! -d "$as_dir"; do
4254 as_dirs="$as_dir $as_dirs"
4255 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4256 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4257 X"$as_dir" : 'X\(//\)[^/]' \| \
4258 X"$as_dir" : 'X\(//\)$' \| \
4259 X"$as_dir" : 'X\(/\)' \| \
4260 . : '\(.\)' 2>/dev/null ||
4262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4263 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4264 /^X\(\/\/\)$/{ s//\1/; q; }
4265 /^X\(\/\).*/{ s//\1/; q; }
4268 test ! -n "$as_dirs" || mkdir $as_dirs
4269 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4270 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4271 { (exit 1); exit 1; }; }; }
4275 if test "$ac_dir" != .; then
4276 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4277 # A "../" for each directory in $ac_dir_suffix.
4278 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4280 ac_dir_suffix= ac_top_builddir=
4284 .) # No --srcdir option. We are building in place.
4286 if test -z "$ac_top_builddir"; then
4289 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4291 [\\/]* | ?:[\\/]* ) # Absolute path.
4292 ac_srcdir=$srcdir$ac_dir_suffix;
4293 ac_top_srcdir=$srcdir ;;
4295 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4296 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4298 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4300 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4301 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4302 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4303 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4307 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4308 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4311 if test x"$ac_file" != x-; then
4312 { echo "$as_me:$LINENO: creating $ac_file" >&5
4313 echo "$as_me: creating $ac_file" >&6;}
4316 # Let's still pretend it is `configure' which instantiates (i.e., don't
4317 # use $as_me), people would be surprised to read:
4318 # /* config.h. Generated by config.status. */
4319 if test x"$ac_file" = x-; then
4322 configure_input="$ac_file. "
4324 configure_input=$configure_input"Generated from `echo $ac_file_in |
4325 sed 's,.*/,,'` by configure."
4327 # First look for the input files in the build tree, otherwise in the
4329 ac_file_inputs=`IFS=:
4330 for f in $ac_file_in; do
4332 -) echo $tmp/stdin ;;
4334 # Absolute (can't be DOS-style, as IFS=:)
4335 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4336 echo "$as_me: error: cannot find input file: $f" >&2;}
4337 { (exit 1); exit 1; }; }
4340 if test -f "$f"; then
4343 elif test -f "$srcdir/$f"; then
4348 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4349 echo "$as_me: error: cannot find input file: $f" >&2;}
4350 { (exit 1); exit 1; }; }
4353 done` || { (exit 1); exit 1; }
4355 cat >>$CONFIG_STATUS <<_ACEOF
4359 cat >>$CONFIG_STATUS <<\_ACEOF
4361 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4362 s,@configure_input@,$configure_input,;t t
4363 s,@srcdir@,$ac_srcdir,;t t
4364 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4365 s,@top_srcdir@,$ac_top_srcdir,;t t
4366 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4367 s,@builddir@,$ac_builddir,;t t
4368 s,@abs_builddir@,$ac_abs_builddir,;t t
4369 s,@top_builddir@,$ac_top_builddir,;t t
4370 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4371 s,@INSTALL@,$ac_INSTALL,;t t
4372 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4374 if test x"$ac_file" != x-; then
4375 mv $tmp/out $ac_file
4383 cat >>$CONFIG_STATUS <<\_ACEOF
4386 # CONFIG_HEADER section.
4389 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4390 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4392 # ac_d sets the value in "#define NAME VALUE" lines.
4393 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4394 ac_dB='[ ].*$,\1#\2'
4397 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4398 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4399 ac_uB='$,\1#\2define\3'
4403 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4404 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4406 - | *:- | *:-:* ) # input from stdin
4408 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4409 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4410 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4411 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4412 * ) ac_file_in=$ac_file.in ;;
4415 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4416 echo "$as_me: creating $ac_file" >&6;}
4418 # First look for the input files in the build tree, otherwise in the
4420 ac_file_inputs=`IFS=:
4421 for f in $ac_file_in; do
4423 -) echo $tmp/stdin ;;
4425 # Absolute (can't be DOS-style, as IFS=:)
4426 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4427 echo "$as_me: error: cannot find input file: $f" >&2;}
4428 { (exit 1); exit 1; }; }
4431 if test -f "$f"; then
4434 elif test -f "$srcdir/$f"; then
4439 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4440 echo "$as_me: error: cannot find input file: $f" >&2;}
4441 { (exit 1); exit 1; }; }
4444 done` || { (exit 1); exit 1; }
4445 # Remove the trailing spaces.
4446 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4450 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4451 # `conftest.undefs', that substitutes the proper values into
4452 # config.h.in to produce config.h. The first handles `#define'
4453 # templates, and the second `#undef' templates.
4454 # And first: Protect against being on the right side of a sed subst in
4455 # config.status. Protect against being in an unquoted here document
4457 rm -f conftest.defines conftest.undefs
4458 # Using a here document instead of a string reduces the quoting nightmare.
4459 # Putting comments in sed scripts is not portable.
4461 # `end' is used to avoid that the second main sed command (meant for
4462 # 0-ary CPP macros) applies to n-ary macro definitions.
4463 # See the Autoconf documentation for `clear'.
4464 cat >confdef2sed.sed <<\_ACEOF
4469 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4471 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4474 # If some macros were called several times there might be several times
4475 # the same #defines, which is useless. Nevertheless, we may not want to
4476 # sort them, since we want the *last* AC-DEFINE to be honored.
4477 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4478 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4479 rm -f confdef2sed.sed
4481 # This sed command replaces #undef with comments. This is necessary, for
4482 # example, in the case of _POSIX_SOURCE, which is predefined and required
4483 # on some systems where configure will not decide to define it.
4484 cat >>conftest.undefs <<\_ACEOF
4485 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4488 # Break up conftest.defines because some shells have a limit on the size
4489 # of here documents, and old seds have small limits too (100 cmds).
4490 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4491 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4492 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4493 echo ' :' >>$CONFIG_STATUS
4495 while grep . conftest.defines >/dev/null
4497 # Write a limited-size here document to $tmp/defines.sed.
4498 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4499 # Speed up: don't consider the non `#define' lines.
4500 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4501 # Work around the forget-to-reset-the-flag bug.
4502 echo 't clr' >>$CONFIG_STATUS
4503 echo ': clr' >>$CONFIG_STATUS
4504 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4506 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4510 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4511 rm -f conftest.defines
4512 mv conftest.tail conftest.defines
4514 rm -f conftest.defines
4515 echo ' fi # grep' >>$CONFIG_STATUS
4516 echo >>$CONFIG_STATUS
4518 # Break up conftest.undefs because some shells have a limit on the size
4519 # of here documents, and old seds have small limits too (100 cmds).
4520 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4522 while grep . conftest.undefs >/dev/null
4524 # Write a limited-size here document to $tmp/undefs.sed.
4525 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4526 # Speed up: don't consider the non `#undef'
4527 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4528 # Work around the forget-to-reset-the-flag bug.
4529 echo 't clr' >>$CONFIG_STATUS
4530 echo ': clr' >>$CONFIG_STATUS
4531 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4533 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4537 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4538 rm -f conftest.undefs
4539 mv conftest.tail conftest.undefs
4541 rm -f conftest.undefs
4543 cat >>$CONFIG_STATUS <<\_ACEOF
4544 # Let's still pretend it is `configure' which instantiates (i.e., don't
4545 # use $as_me), people would be surprised to read:
4546 # /* config.h. Generated by config.status. */
4547 if test x"$ac_file" = x-; then
4548 echo "/* Generated by configure. */" >$tmp/config.h
4550 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4552 cat $tmp/in >>$tmp/config.h
4554 if test x"$ac_file" != x-; then
4555 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4556 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4557 echo "$as_me: $ac_file is unchanged" >&6;}
4559 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4560 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4561 X"$ac_file" : 'X\(//\)[^/]' \| \
4562 X"$ac_file" : 'X\(//\)$' \| \
4563 X"$ac_file" : 'X\(/\)' \| \
4564 . : '\(.\)' 2>/dev/null ||
4566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4567 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4568 /^X\(\/\/\)$/{ s//\1/; q; }
4569 /^X\(\/\).*/{ s//\1/; q; }
4571 { if $as_mkdir_p; then
4576 while test ! -d "$as_dir"; do
4577 as_dirs="$as_dir $as_dirs"
4578 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4579 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4580 X"$as_dir" : 'X\(//\)[^/]' \| \
4581 X"$as_dir" : 'X\(//\)$' \| \
4582 X"$as_dir" : 'X\(/\)' \| \
4583 . : '\(.\)' 2>/dev/null ||
4585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4586 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4587 /^X\(\/\/\)$/{ s//\1/; q; }
4588 /^X\(\/\).*/{ s//\1/; q; }
4591 test ! -n "$as_dirs" || mkdir $as_dirs
4592 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4593 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4594 { (exit 1); exit 1; }; }; }
4597 mv $tmp/config.h $ac_file
4603 _am_stamp_count=`expr ${_am_stamp_count-0} + 1`
4604 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4605 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4606 X$ac_file : 'X\(//\)[^/]' \| \
4607 X$ac_file : 'X\(//\)$' \| \
4608 X$ac_file : 'X\(/\)' \| \
4609 . : '\(.\)' 2>/dev/null ||
4611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4612 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4613 /^X\(\/\/\)$/{ s//\1/; q; }
4614 /^X\(\/\).*/{ s//\1/; q; }
4615 s/.*/./; q'`/stamp-h$_am_stamp_count
4618 cat >>$CONFIG_STATUS <<\_ACEOF
4621 # CONFIG_COMMANDS section.
4623 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4624 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4625 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4626 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4627 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4628 X"$ac_dest" : 'X\(//\)[^/]' \| \
4629 X"$ac_dest" : 'X\(//\)$' \| \
4630 X"$ac_dest" : 'X\(/\)' \| \
4631 . : '\(.\)' 2>/dev/null ||
4633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4634 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4635 /^X\(\/\/\)$/{ s//\1/; q; }
4636 /^X\(\/\).*/{ s//\1/; q; }
4640 if test "$ac_dir" != .; then
4641 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4642 # A "../" for each directory in $ac_dir_suffix.
4643 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4645 ac_dir_suffix= ac_top_builddir=
4649 .) # No --srcdir option. We are building in place.
4651 if test -z "$ac_top_builddir"; then
4654 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4656 [\\/]* | ?:[\\/]* ) # Absolute path.
4657 ac_srcdir=$srcdir$ac_dir_suffix;
4658 ac_top_srcdir=$srcdir ;;
4660 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4661 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4663 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4665 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4666 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4667 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4668 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4671 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4672 echo "$as_me: executing $ac_dest commands" >&6;}
4674 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4675 # Strip MF so we end up with the name of the file.
4676 mf=`echo "$mf" | sed -e 's/:.*$//'`
4677 # Check whether this is an Automake generated Makefile or not.
4678 # We used to match only the files named `Makefile.in', but
4679 # some people rename them; so instead we look at the file content.
4680 # Grep'ing the first line is not enough: some people post-process
4681 # each Makefile.in and add a new line on top of each file to say so.
4682 # So let's grep whole file.
4683 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4684 dirpart=`(dirname "$mf") 2>/dev/null ||
4685 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4686 X"$mf" : 'X\(//\)[^/]' \| \
4687 X"$mf" : 'X\(//\)$' \| \
4688 X"$mf" : 'X\(/\)' \| \
4689 . : '\(.\)' 2>/dev/null ||
4691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4692 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4693 /^X\(\/\/\)$/{ s//\1/; q; }
4694 /^X\(\/\).*/{ s//\1/; q; }
4699 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4700 # Extract the definition of DEP_FILES from the Makefile without
4702 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4703 test -z "$DEPDIR" && continue
4704 # When using ansi2knr, U may be empty or an underscore; expand it
4705 U=`sed -n -e '/^U = / s///p' < "$mf"`
4706 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4707 # We invoke sed twice because it is the simplest approach to
4708 # changing $(DEPDIR) to its actual value in the expansion.
4709 for file in `sed -n -e '
4710 /^DEP_FILES = .*\\\\$/ {
4719 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4720 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4721 # Make sure the directory exists.
4722 test -f "$dirpart/$file" && continue
4723 fdir=`(dirname "$file") 2>/dev/null ||
4724 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4725 X"$file" : 'X\(//\)[^/]' \| \
4726 X"$file" : 'X\(//\)$' \| \
4727 X"$file" : 'X\(/\)' \| \
4728 . : '\(.\)' 2>/dev/null ||
4730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4732 /^X\(\/\/\)$/{ s//\1/; q; }
4733 /^X\(\/\).*/{ s//\1/; q; }
4735 { if $as_mkdir_p; then
4736 mkdir -p $dirpart/$fdir
4738 as_dir=$dirpart/$fdir
4740 while test ! -d "$as_dir"; do
4741 as_dirs="$as_dir $as_dirs"
4742 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4743 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4744 X"$as_dir" : 'X\(//\)[^/]' \| \
4745 X"$as_dir" : 'X\(//\)$' \| \
4746 X"$as_dir" : 'X\(/\)' \| \
4747 . : '\(.\)' 2>/dev/null ||
4749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4750 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4751 /^X\(\/\/\)$/{ s//\1/; q; }
4752 /^X\(\/\).*/{ s//\1/; q; }
4755 test ! -n "$as_dirs" || mkdir $as_dirs
4756 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4757 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4758 { (exit 1); exit 1; }; }; }
4760 # echo "creating $dirpart/$file"
4761 echo '# dummy' > "$dirpart/$file"
4769 cat >>$CONFIG_STATUS <<\_ACEOF
4771 { (exit 0); exit 0; }
4773 chmod +x $CONFIG_STATUS
4774 ac_clean_files=$ac_clean_files_save
4777 # configure is writing to config.log, and then calls config.status.
4778 # config.status does its own redirection, appending to config.log.
4779 # Unfortunately, on DOS this fails, as config.log is still kept open
4780 # by configure, so config.status won't be able to write to it; its
4781 # output is simply discarded. So we exec the FD to /dev/null,
4782 # effectively closing config.log, so it can be properly (re)opened and
4783 # appended to by config.status. When coming back to configure, we
4784 # need to make the FD available again.
4785 if test "$no_create" != yes; then
4788 $SHELL $CONFIG_STATUS || ac_cs_success=false
4790 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4791 # would make configure fail if this is the last instruction.
4792 $ac_cs_success || { (exit 1); exit 1; }