2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Concurrent Versions System (CVS) 1.12.13.
5 # Report bugs to <bug-cvs@nongnu.org>.
7 # Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
8 # 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
9 # Free Software Foundation, Inc.
11 # This program is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation; either version 2, or (at your option)
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
21 # Copyright (C) 2003 Free Software Foundation, Inc.
22 # This configure script is free software; the Free Software Foundation
23 # gives unlimited permission to copy, distribute and modify it.
24 ## --------------------- ##
25 ## M4sh Initialization. ##
26 ## --------------------- ##
28 # Be Bourne compatible
29 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
32 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33 # is contrary to our usage. Disable this feature.
34 alias -g '${1+"$@"}'='"$@"'
35 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
38 DUALCASE=1; export DUALCASE # for MKS sh
40 # Support unset when possible.
41 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
48 # Work around bugs in pre-3.0 UWIN ksh.
49 $as_unset ENV MAIL MAILPATH
56 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
57 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
60 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
61 eval $as_var=C; export $as_var
67 # Required to use basename.
68 if expr a : '\(a\)' >/dev/null 2>&1; then
74 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
81 # Name of the executable.
82 as_me=`$as_basename "$0" ||
83 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
84 X"$0" : 'X\(//\)$' \| \
85 X"$0" : 'X\(/\)$' \| \
86 . : '\(.\)' 2>/dev/null ||
88 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
89 /^X\/\(\/\/\)$/{ s//\1/; q; }
90 /^X\/\(\/\).*/{ s//\1/; q; }
94 # PATH needs CR, and LINENO needs CR and PATH.
95 # Avoid depending upon Character Ranges.
96 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
97 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
98 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
99 as_cr_digits='0123456789'
100 as_cr_alnum=$as_cr_Letters$as_cr_digits
102 # The user is always right.
103 if test "${PATH_SEPARATOR+set}" != set; then
104 echo "#! /bin/sh" >conf$$.sh
105 echo "exit 0" >>conf$$.sh
107 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
118 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
119 test "x$as_lineno_1" != "x$as_lineno_2" &&
120 test "x$as_lineno_3" = "x$as_lineno_2" || {
121 # Find who we are. Look in the path if we contain no path at all
124 *[\\/]* ) as_myself=$0 ;;
125 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
129 test -z "$as_dir" && as_dir=.
130 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
135 # We did not find ourselves, most probably we were run as `sh COMMAND'
136 # in which case we are not to be found in the path.
137 if test "x$as_myself" = x; then
140 if test ! -f "$as_myself"; then
141 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
142 { (exit 1); exit 1; }; }
144 case $CONFIG_SHELL in
146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
147 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
150 test -z "$as_dir" && as_dir=.
151 for as_base in sh bash ksh sh5; do
154 if ("$as_dir/$as_base" -c '
157 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
158 test "x$as_lineno_1" != "x$as_lineno_2" &&
159 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
160 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
161 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
162 CONFIG_SHELL=$as_dir/$as_base
164 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
172 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
173 # uniformly replaced by the line number. The first 'sed' inserts a
174 # line-number line before each line; the second 'sed' does the real
175 # work. The second script uses 'N' to pair each line-number line
176 # with the numbered line, and appends trailing '-' during
177 # substitution so that $LINENO is not a special case at line end.
178 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
179 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
180 sed '=' <$as_myself |
185 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
188 s,^['$as_cr_digits']*\n,,
190 chmod +x $as_me.lineno ||
191 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
192 { (exit 1); exit 1; }; }
194 # Don't try to exec as it changes $[0], causing all sort of problems
195 # (the dirname of $[0] is not the place where we might find the
196 # original and so on. Autoconf is especially sensible to this).
198 # Exit status is that of the last command.
203 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
204 *c*,-n*) ECHO_N= ECHO_C='
206 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
207 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
210 if expr a : '\(a\)' >/dev/null 2>&1; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if ln -s conf$$.file conf$$ 2>/dev/null; then
219 # We could just check for DJGPP; but this test a) works b) is more generic
220 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
221 if test -f conf$$.exe; then
222 # Don't use ln at all; we don't have any links
227 elif ln conf$$.file conf$$ 2>/dev/null; then
232 rm -f conf$$ conf$$.exe conf$$.file
234 if mkdir -p . 2>/dev/null; then
237 test -d ./-p && rmdir ./-p
241 as_executable_p="test -f"
243 # Sed expression to map a string onto a valid CPP name.
244 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
246 # Sed expression to map a string onto a valid variable name.
247 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
251 # We need space, tab and new line, in precisely that order.
261 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
262 # so uname gets run too.
263 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
270 ac_default_prefix=/usr/local
271 ac_config_libobj_dir=.
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Maximum number of lines to put in a shell here document.
279 # This variable seems obsolete. It should probably be removed, and
280 # only ac_max_sed_lines should be used.
281 : ${ac_max_here_lines=38}
283 # Identity of this package.
284 PACKAGE_NAME='Concurrent Versions System (CVS)'
285 PACKAGE_TARNAME='cvs'
286 PACKAGE_VERSION='1.12.13'
287 PACKAGE_STRING='Concurrent Versions System (CVS) 1.12.13'
288 PACKAGE_BUGREPORT='bug-cvs@nongnu.org'
290 ac_unique_file="src/cvs.h"
291 # Factoring default headers for most tests.
292 ac_includes_default="\
295 # include <sys/types.h>
298 # include <sys/stat.h>
309 # if !STDC_HEADERS && HAVE_MEMORY_H
315 # include <strings.h>
318 # include <inttypes.h>
330 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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar ac_prefix_program MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 RANLIB ac_ct_RANLIB LN_S PERL CSH MKTEMP SENDMAIL PR ROFF PS2PDF TEXI2DVI MAKE_TARGETS_IN_VPATH_TRUE MAKE_TARGETS_IN_VPATH_FALSE LIBOBJS ALLOCA ALLOCA_H STDBOOL_H HAVE__BOOL FNMATCH_H YACC YFLAGS LIB_CLOCK_GETTIME GETOPT_H GLOB_H LIB_NANOSLEEP HAVE_LONG_64BIT HAVE_LONG_LONG_64BIT STDINT_H EOVERFLOW MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os INTL_MACOSX_LIBS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB cvs_client_objects KRB4 ZLIB_SUBDIRS ZLIB_CPPFLAGS ZLIB_LIBS with_default_rsh RSH_DFLT EDITOR LTLIBOBJS'
331 ac_subst_files='MKTEMP_SH_FUNCTION'
333 # Initialize some variables set by options.
335 ac_init_version=false
336 # The variables have the same names as the options, with
337 # dashes changed to underlines.
345 program_transform_name=s,x,x,
353 # Installation directory options.
354 # These are left unexpanded so users can "make install exec_prefix=/foo"
355 # and all the variables that are supposed to be based on exec_prefix
356 # by default will actually change.
357 # Use braces instead of parens because sh, perl, etc. also accept them.
358 bindir='${exec_prefix}/bin'
359 sbindir='${exec_prefix}/sbin'
360 libexecdir='${exec_prefix}/libexec'
361 datadir='${prefix}/share'
362 sysconfdir='${prefix}/etc'
363 sharedstatedir='${prefix}/com'
364 localstatedir='${prefix}/var'
365 libdir='${exec_prefix}/lib'
366 includedir='${prefix}/include'
367 oldincludedir='/usr/include'
368 infodir='${prefix}/info'
369 mandir='${prefix}/man'
374 # If the previous option needs an argument, assign it.
375 if test -n "$ac_prev"; then
376 eval "$ac_prev=\$ac_option"
381 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
383 # Accept the important Cygnus configure options, so we can diagnose typos.
387 -bindir | --bindir | --bindi | --bind | --bin | --bi)
389 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
392 -build | --build | --buil | --bui | --bu)
393 ac_prev=build_alias ;;
394 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
395 build_alias=$ac_optarg ;;
397 -cache-file | --cache-file | --cache-fil | --cache-fi \
398 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
399 ac_prev=cache_file ;;
400 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
401 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
402 cache_file=$ac_optarg ;;
405 cache_file=config.cache ;;
407 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
409 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
411 datadir=$ac_optarg ;;
413 -disable-* | --disable-*)
414 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
415 # Reject names that are not valid shell variable names.
416 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
417 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
418 { (exit 1); exit 1; }; }
419 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
420 eval "enable_$ac_feature=no" ;;
422 -enable-* | --enable-*)
423 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
424 # Reject names that are not valid shell variable names.
425 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
426 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
427 { (exit 1); exit 1; }; }
428 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
430 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
433 eval "enable_$ac_feature='$ac_optarg'" ;;
435 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
436 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
437 | --exec | --exe | --ex)
438 ac_prev=exec_prefix ;;
439 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
440 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
441 | --exec=* | --exe=* | --ex=*)
442 exec_prefix=$ac_optarg ;;
444 -gas | --gas | --ga | --g)
445 # Obsolete; use --with-gas.
448 -help | --help | --hel | --he | -h)
450 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
451 ac_init_help=recursive ;;
452 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
453 ac_init_help=short ;;
455 -host | --host | --hos | --ho)
456 ac_prev=host_alias ;;
457 -host=* | --host=* | --hos=* | --ho=*)
458 host_alias=$ac_optarg ;;
460 -includedir | --includedir | --includedi | --included | --include \
461 | --includ | --inclu | --incl | --inc)
462 ac_prev=includedir ;;
463 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
464 | --includ=* | --inclu=* | --incl=* | --inc=*)
465 includedir=$ac_optarg ;;
467 -infodir | --infodir | --infodi | --infod | --info | --inf)
469 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
470 infodir=$ac_optarg ;;
472 -libdir | --libdir | --libdi | --libd)
474 -libdir=* | --libdir=* | --libdi=* | --libd=*)
477 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
478 | --libexe | --libex | --libe)
479 ac_prev=libexecdir ;;
480 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
481 | --libexe=* | --libex=* | --libe=*)
482 libexecdir=$ac_optarg ;;
484 -localstatedir | --localstatedir | --localstatedi | --localstated \
485 | --localstate | --localstat | --localsta | --localst \
486 | --locals | --local | --loca | --loc | --lo)
487 ac_prev=localstatedir ;;
488 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
489 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
490 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
491 localstatedir=$ac_optarg ;;
493 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
495 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
499 # Obsolete; use --without-fp.
502 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
503 | --no-cr | --no-c | -n)
506 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
507 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
510 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
511 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
512 | --oldin | --oldi | --old | --ol | --o)
513 ac_prev=oldincludedir ;;
514 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
515 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
516 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
517 oldincludedir=$ac_optarg ;;
519 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
521 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
524 -program-prefix | --program-prefix | --program-prefi | --program-pref \
525 | --program-pre | --program-pr | --program-p)
526 ac_prev=program_prefix ;;
527 -program-prefix=* | --program-prefix=* | --program-prefi=* \
528 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
529 program_prefix=$ac_optarg ;;
531 -program-suffix | --program-suffix | --program-suffi | --program-suff \
532 | --program-suf | --program-su | --program-s)
533 ac_prev=program_suffix ;;
534 -program-suffix=* | --program-suffix=* | --program-suffi=* \
535 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
536 program_suffix=$ac_optarg ;;
538 -program-transform-name | --program-transform-name \
539 | --program-transform-nam | --program-transform-na \
540 | --program-transform-n | --program-transform- \
541 | --program-transform | --program-transfor \
542 | --program-transfo | --program-transf \
543 | --program-trans | --program-tran \
544 | --progr-tra | --program-tr | --program-t)
545 ac_prev=program_transform_name ;;
546 -program-transform-name=* | --program-transform-name=* \
547 | --program-transform-nam=* | --program-transform-na=* \
548 | --program-transform-n=* | --program-transform-=* \
549 | --program-transform=* | --program-transfor=* \
550 | --program-transfo=* | --program-transf=* \
551 | --program-trans=* | --program-tran=* \
552 | --progr-tra=* | --program-tr=* | --program-t=*)
553 program_transform_name=$ac_optarg ;;
555 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
556 | -silent | --silent | --silen | --sile | --sil)
559 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
561 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
563 sbindir=$ac_optarg ;;
565 -sharedstatedir | --sharedstatedir | --sharedstatedi \
566 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
567 | --sharedst | --shareds | --shared | --share | --shar \
569 ac_prev=sharedstatedir ;;
570 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
571 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
572 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
574 sharedstatedir=$ac_optarg ;;
576 -site | --site | --sit)
578 -site=* | --site=* | --sit=*)
581 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
583 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
586 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
587 | --syscon | --sysco | --sysc | --sys | --sy)
588 ac_prev=sysconfdir ;;
589 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
590 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
591 sysconfdir=$ac_optarg ;;
593 -target | --target | --targe | --targ | --tar | --ta | --t)
594 ac_prev=target_alias ;;
595 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
596 target_alias=$ac_optarg ;;
598 -v | -verbose | --verbose | --verbos | --verbo | --verb)
601 -version | --version | --versio | --versi | --vers | -V)
605 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
606 # Reject names that are not valid shell variable names.
607 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
608 { echo "$as_me: error: invalid package name: $ac_package" >&2
609 { (exit 1); exit 1; }; }
610 ac_package=`echo $ac_package| sed 's/-/_/g'`
612 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
615 eval "with_$ac_package='$ac_optarg'" ;;
617 -without-* | --without-*)
618 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
619 # Reject names that are not valid shell variable names.
620 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
621 { echo "$as_me: error: invalid package name: $ac_package" >&2
622 { (exit 1); exit 1; }; }
623 ac_package=`echo $ac_package | sed 's/-/_/g'`
624 eval "with_$ac_package=no" ;;
627 # Obsolete; use --with-x.
630 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
631 | --x-incl | --x-inc | --x-in | --x-i)
632 ac_prev=x_includes ;;
633 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
634 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
635 x_includes=$ac_optarg ;;
637 -x-libraries | --x-libraries | --x-librarie | --x-librari \
638 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
639 ac_prev=x_libraries ;;
640 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
641 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
642 x_libraries=$ac_optarg ;;
644 -*) { echo "$as_me: error: unrecognized option: $ac_option
645 Try \`$0 --help' for more information." >&2
646 { (exit 1); exit 1; }; }
650 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
651 # Reject names that are not valid shell variable names.
652 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
653 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
654 { (exit 1); exit 1; }; }
655 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
656 eval "$ac_envvar='$ac_optarg'"
660 # FIXME: should be removed in autoconf 3.0.
661 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
662 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
663 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
664 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
670 if test -n "$ac_prev"; then
671 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
672 { echo "$as_me: error: missing argument to $ac_option" >&2
673 { (exit 1); exit 1; }; }
676 # Be sure to have absolute paths.
677 for ac_var in exec_prefix prefix
679 eval ac_val=$`echo $ac_var`
681 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
682 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
683 { (exit 1); exit 1; }; };;
687 # Be sure to have absolute paths.
688 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
689 localstatedir libdir includedir oldincludedir infodir mandir
691 eval ac_val=$`echo $ac_var`
693 [\\/$]* | ?:[\\/]* ) ;;
694 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
695 { (exit 1); exit 1; }; };;
699 # There might be people who depend on the old broken behavior: `$host'
700 # used to hold the argument of --host etc.
701 # FIXME: To remove some day.
706 # FIXME: To remove some day.
707 if test "x$host_alias" != x; then
708 if test "x$build_alias" = x; then
709 cross_compiling=maybe
710 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
711 If a cross compiler is detected then cross compile mode will be used." >&2
712 elif test "x$build_alias" != "x$host_alias"; then
718 test -n "$host_alias" && ac_tool_prefix=$host_alias-
720 test "$silent" = yes && exec 6>/dev/null
723 # Find the source files, if location was not specified.
724 if test -z "$srcdir"; then
725 ac_srcdir_defaulted=yes
726 # Try the directory containing this script, then its parent.
727 ac_confdir=`(dirname "$0") 2>/dev/null ||
728 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
729 X"$0" : 'X\(//\)[^/]' \| \
730 X"$0" : 'X\(//\)$' \| \
731 X"$0" : 'X\(/\)' \| \
732 . : '\(.\)' 2>/dev/null ||
734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
735 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
736 /^X\(\/\/\)$/{ s//\1/; q; }
737 /^X\(\/\).*/{ s//\1/; q; }
740 if test ! -r $srcdir/$ac_unique_file; then
744 ac_srcdir_defaulted=no
746 if test ! -r $srcdir/$ac_unique_file; then
747 if test "$ac_srcdir_defaulted" = yes; then
748 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
749 { (exit 1); exit 1; }; }
751 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
752 { (exit 1); exit 1; }; }
755 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
756 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
757 { (exit 1); exit 1; }; }
758 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
759 ac_env_build_alias_set=${build_alias+set}
760 ac_env_build_alias_value=$build_alias
761 ac_cv_env_build_alias_set=${build_alias+set}
762 ac_cv_env_build_alias_value=$build_alias
763 ac_env_host_alias_set=${host_alias+set}
764 ac_env_host_alias_value=$host_alias
765 ac_cv_env_host_alias_set=${host_alias+set}
766 ac_cv_env_host_alias_value=$host_alias
767 ac_env_target_alias_set=${target_alias+set}
768 ac_env_target_alias_value=$target_alias
769 ac_cv_env_target_alias_set=${target_alias+set}
770 ac_cv_env_target_alias_value=$target_alias
771 ac_env_CC_set=${CC+set}
773 ac_cv_env_CC_set=${CC+set}
774 ac_cv_env_CC_value=$CC
775 ac_env_CFLAGS_set=${CFLAGS+set}
776 ac_env_CFLAGS_value=$CFLAGS
777 ac_cv_env_CFLAGS_set=${CFLAGS+set}
778 ac_cv_env_CFLAGS_value=$CFLAGS
779 ac_env_LDFLAGS_set=${LDFLAGS+set}
780 ac_env_LDFLAGS_value=$LDFLAGS
781 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
782 ac_cv_env_LDFLAGS_value=$LDFLAGS
783 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
784 ac_env_CPPFLAGS_value=$CPPFLAGS
785 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
786 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
787 ac_env_CPP_set=${CPP+set}
788 ac_env_CPP_value=$CPP
789 ac_cv_env_CPP_set=${CPP+set}
790 ac_cv_env_CPP_value=$CPP
791 ac_env_YACC_set=${YACC+set}
792 ac_env_YACC_value=$YACC
793 ac_cv_env_YACC_set=${YACC+set}
794 ac_cv_env_YACC_value=$YACC
795 ac_env_YFLAGS_set=${YFLAGS+set}
796 ac_env_YFLAGS_value=$YFLAGS
797 ac_cv_env_YFLAGS_set=${YFLAGS+set}
798 ac_cv_env_YFLAGS_value=$YFLAGS
799 ac_env_EDITOR_set=${EDITOR+set}
800 ac_env_EDITOR_value=$EDITOR
801 ac_cv_env_EDITOR_set=${EDITOR+set}
802 ac_cv_env_EDITOR_value=$EDITOR
805 # Report the --help message.
807 if test "$ac_init_help" = "long"; then
808 # Omit some internal or obsolete options to make the list less imposing.
809 # This message is too long to be a string in the A/UX 3.1 sh.
811 \`configure' configures Concurrent Versions System (CVS) 1.12.13 to adapt to many kinds of systems.
813 Usage: $0 [OPTION]... [VAR=VALUE]...
815 To assign environment variables (e.g., CC, CFLAGS...), specify them as
816 VAR=VALUE. See below for descriptions of some of the useful variables.
818 Defaults for the options are specified in brackets.
821 -h, --help display this help and exit
822 --help=short display options specific to this package
823 --help=recursive display the short help of all the included packages
824 -V, --version display version information and exit
825 -q, --quiet, --silent do not print \`checking...' messages
826 --cache-file=FILE cache test results in FILE [disabled]
827 -C, --config-cache alias for \`--cache-file=config.cache'
828 -n, --no-create do not create output files
829 --srcdir=DIR find the sources in DIR [configure dir or \`..']
834 Installation directories:
835 --prefix=PREFIX install architecture-independent files in PREFIX
837 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
840 By default, \`make install' will install all the files in
841 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
842 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
843 for instance \`--prefix=\$HOME'.
845 For better control, use the options below.
847 Fine tuning of the installation directories:
848 --bindir=DIR user executables [EPREFIX/bin]
849 --sbindir=DIR system admin executables [EPREFIX/sbin]
850 --libexecdir=DIR program executables [EPREFIX/libexec]
851 --datadir=DIR read-only architecture-independent data [PREFIX/share]
852 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
853 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
854 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
855 --libdir=DIR object code libraries [EPREFIX/lib]
856 --includedir=DIR C header files [PREFIX/include]
857 --oldincludedir=DIR C header files for non-gcc [/usr/include]
858 --infodir=DIR info documentation [PREFIX/info]
859 --mandir=DIR man documentation [PREFIX/man]
865 --program-prefix=PREFIX prepend PREFIX to installed program names
866 --program-suffix=SUFFIX append SUFFIX to installed program names
867 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
870 --build=BUILD configure for building on BUILD [guessed]
871 --host=HOST cross-compile to build programs to run on HOST [BUILD]
875 if test -n "$ac_init_help"; then
876 case $ac_init_help in
877 short | recursive ) echo "Configuration of Concurrent Versions System (CVS) 1.12.13:";;
882 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
883 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
884 --enable-maintainer-mode enable make rules and dependencies not useful
885 (and sometimes confusing) to the casual installer
886 --disable-dependency-tracking speeds up one-time build
887 --enable-dependency-tracking do not reject slow dependency extractors
888 --disable-largefile omit support for large files
889 --disable-nls do not use Native Language Support
890 --disable-rpath do not hardcode runtime library paths
891 --enable-cvs-ndbm Use the NDBM library distributed with CVS rather
892 than attempting to use a system NDBM library.
893 Disabling this may not work. (default)
894 --enable-client Include code for running as a remote client
896 --enable-password-authenticated-client
897 Enable pserver as a remote access method in the CVS
899 --enable-server Include code for running as a server (default)
900 --enable-server-flow-control
901 If you are working with a large remote repository
902 and a 'cvs checkout' is swamping your network and
903 memory, define these to enable flow control. You may
904 optionally pass a low water mark in bytes and a high
905 water mark in bytes, separated by commas. (default
907 --enable-proxy Include code for running as a transparent proxy
908 server. Disabling this may produce a slight
909 performance gain on some systems, at the expense of
910 write proxy support. (default)
911 --enable-pam Use to enable system authentication with PAM instead
912 of using the simple getpwnam interface. This allows
913 authentication (in theory) with any PAM module, e.g.
914 on systems with shadow passwords or via LDAP
915 --enable-case-sensitivity
916 Force CVS to expect a case sensitive file system.
917 Enabling this on a case insensitive system should
918 have little effect on the server or client
919 operation, though client users may ocassionally be
920 suprised that the CVS server appears to be case
921 sensitive. Disabling this for a case sensitive
922 server disables server support for case insensitive
923 clients, which can confuse all users of case
924 insensitive clients contacting the server. Disabling
925 this for a case sensitive client will cause the
926 client to ask servers to behave case insensitively,
927 which could cause confusion for users, but also
928 probably no real harm. (default autoselects based on
929 the case sensitivity of the file system containing
930 the current working directory)
931 --enable-encryption Enable encryption support (disabled by default)
932 --enable-force-editor When committing or importing files, you must enter a
933 log message. Normally, you can do this either via
934 the -m flag on the command line, the -F flag on the
935 command line, or an editor will be started for you.
936 If you like to use logging templates (the rcsinfo
937 file within the $CVSROOT/CVSROOT directory), you
938 might want to force people to use the editor even if
939 they specify a message with -m or -F.
940 --enable-force-editor will cause the -m or -F
941 message to be appended to the temp file when the
942 editor is started. (disabled by default)
943 --enable-lock-compatibility
944 Include locking code which prevents versions of CVS
945 earlier than 1.12.4 directly accessing the same
946 repositiory as this executable from ignoring this
947 executable's promotable read locks. If only CVS
948 versions 1.12.4 and later will be accessing your
949 repository directly (as a server or locally), you
950 can safely disable this option in return for fewer
951 disk accesses and a small speed increase. Disabling
952 this option when versions of CVS earlier than 1,12,4
953 _will_ be accessing your repository, however, is
954 *VERY* *VERY* *VERY* dangerous and could result in
955 data loss. (enabled by default)
956 --enable-rootcommit Allow the root user to commit files (disabled by
958 --enable-old-info-format-support
959 Enable support for the pre 1.12.1 *info scripting
960 hook format strings. Disable this option for a
961 smaller executable once your scripting hooks have
962 been updated to use the new *info format strings
964 --enable-config-override
965 Set to a comma-seperated list of paths to
966 directories (designated by trailing `/') and files,
967 specifies the path prefixes (for directories) and
968 paths to files the CVS server commands will allow
969 configuration to be read from. Specify
970 `--enable-config-override=no' to disable config file
971 overrides completely and
972 `--enable-config-override=/' or simply
973 `--enable-config-override' to allow all paths.
974 (Defaults to `SYSCONFDIR/cvs.conf,SYSCONFDIR/cvs/')
977 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
978 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
979 --without-included-regex
980 don't compile regex; this is the default on systems
981 with recent-enough versions of the GNU C Library
982 (use with caution on other systems)
983 --with-gnu-ld assume the C compiler uses GNU ld default=no
984 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
985 --without-libiconv-prefix don't search for libiconv in includedir and libdir
986 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
987 --without-libintl-prefix don't search for libintl in includedir and libdir
988 --with-krb4 Kerberos 4 directory (default /usr/kerberos)
989 --with-gssapi GSSAPI directory (default autoselects)
990 --with-external-zlib Use the specified ZLIB library (defaults to the
991 version distributed with the CVS source)
992 --with-rsh The default remote shell CVS will use for :ext:
993 transport (default ssh)
994 --with-editor The default text editor CVS should use for log
995 messages (default autoselects)
996 --with-hardcoded-pam-service-name
997 Use this to hard code a service name for PAM CVS
998 authentication. The special name, `program_name',
999 will cause CVS to use whatever name it was invoked
1000 as as the service name. (defaults to `cvs')
1001 --with-tmpdir The temporary directory CVS should use as a default
1002 (default autoselects)
1003 --with-umask Set the umask CVS will use by default in the
1004 repository (default 002)
1005 --with-cvs-admin-group=GROUP
1006 The CVS admin command is restricted to the members
1007 of this group. If this group does not exist, all
1008 users are allowed to run CVS admin. To disable the
1009 CVS admin command for all users, create an empty
1010 group by specifying the --with-cvs-admin-group=
1011 option. To disable access control for CVS admin, run
1012 configure with the --without-cvs-admin-group option.
1013 (default 'cvsadmin')
1015 Some influential environment variables:
1016 CC C compiler command
1017 CFLAGS C compiler flags
1018 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1019 nonstandard directory <lib dir>
1020 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1021 headers in a nonstandard directory <include dir>
1023 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1024 `bison -y'. Values other than `bison -y' will most likely break
1026 YFLAGS YFLAGS contains the list arguments that will be passed by
1027 default to Bison. This script will default YFLAGS to the empty
1028 string to avoid a default value of `-d' given by some make
1030 EDITOR The text editor CVS will use by default for log messages.
1032 Use these variables to override the choices made by `configure' or to help
1033 it to find libraries and programs with nonstandard names/locations.
1035 Report bugs to <bug-cvs@nongnu.org>.
1039 if test "$ac_init_help" = "recursive"; then
1040 # If there are subdirs, report their specific --help.
1042 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1043 test -d $ac_dir || continue
1046 if test "$ac_dir" != .; then
1047 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1048 # A "../" for each directory in $ac_dir_suffix.
1049 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1051 ac_dir_suffix= ac_top_builddir=
1055 .) # No --srcdir option. We are building in place.
1057 if test -z "$ac_top_builddir"; then
1060 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1062 [\\/]* | ?:[\\/]* ) # Absolute path.
1063 ac_srcdir=$srcdir$ac_dir_suffix;
1064 ac_top_srcdir=$srcdir ;;
1066 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1067 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1070 # Do not use `cd foo && pwd` to compute absolute paths, because
1071 # the directories may not exist.
1073 .) ac_abs_builddir="$ac_dir";;
1076 .) ac_abs_builddir=`pwd`;;
1077 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1078 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1081 case $ac_abs_builddir in
1082 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1084 case ${ac_top_builddir}. in
1085 .) ac_abs_top_builddir=$ac_abs_builddir;;
1086 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1087 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1090 case $ac_abs_builddir in
1091 .) ac_abs_srcdir=$ac_srcdir;;
1094 .) ac_abs_srcdir=$ac_abs_builddir;;
1095 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1096 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1099 case $ac_abs_builddir in
1100 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1102 case $ac_top_srcdir in
1103 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1104 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1105 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1110 # Check for guested configure; otherwise get Cygnus style configure.
1111 if test -f $ac_srcdir/configure.gnu; then
1113 $SHELL $ac_srcdir/configure.gnu --help=recursive
1114 elif test -f $ac_srcdir/configure; then
1116 $SHELL $ac_srcdir/configure --help=recursive
1117 elif test -f $ac_srcdir/configure.ac ||
1118 test -f $ac_srcdir/configure.in; then
1120 $ac_configure --help
1122 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1128 test -n "$ac_init_help" && exit 0
1129 if $ac_init_version; then
1131 Concurrent Versions System (CVS) configure 1.12.13
1132 generated by GNU Autoconf 2.59
1134 Copyright (C) 2003 Free Software Foundation, Inc.
1135 This configure script is free software; the Free Software Foundation
1136 gives unlimited permission to copy, distribute and modify it.
1138 Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
1139 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
1140 Free Software Foundation, Inc.
1142 This program is free software; you can redistribute it and/or modify
1143 it under the terms of the GNU General Public License as published by
1144 the Free Software Foundation; either version 2, or (at your option)
1147 This program is distributed in the hope that it will be useful,
1148 but WITHOUT ANY WARRANTY; without even the implied warranty of
1149 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1150 GNU General Public License for more details.
1156 This file contains any messages produced by compilers while
1157 running configure, to aid debugging if configure makes a mistake.
1159 It was created by Concurrent Versions System (CVS) $as_me 1.12.13, which was
1160 generated by GNU Autoconf 2.59. Invocation command line was
1171 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1172 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1173 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1174 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1175 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1177 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1178 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1180 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1181 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1182 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1183 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1184 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1185 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1186 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1194 test -z "$as_dir" && as_dir=.
1195 echo "PATH: $as_dir"
1210 # Keep a trace of the command line.
1211 # Strip out --no-create and --no-recursion so they do not pile up.
1212 # Strip out --silent because we don't want to record it for future runs.
1213 # Also quote any args containing shell meta-characters.
1214 # Make two passes to allow for proper duplicate-argument suppression.
1219 ac_must_keep_next=false
1225 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1226 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1227 | -silent | --silent | --silen | --sile | --sil)
1229 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1230 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1233 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1235 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1236 if test $ac_must_keep_next = true; then
1237 ac_must_keep_next=false # Got value, back to normal.
1240 *=* | --config-cache | -C | -disable-* | --disable-* \
1241 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1242 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1243 | -with-* | --with-* | -without-* | --without-* | --x)
1244 case "$ac_configure_args0 " in
1245 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1248 -* ) ac_must_keep_next=true ;;
1251 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1252 # Get rid of the leading space.
1258 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1259 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1261 # When interrupted or exit'd, cleanup temporary files, and complete
1262 # config.log. We remove comments because anyway the quotes in there
1263 # would cause problems or look ugly.
1264 # WARNING: Be sure not to use single quotes in there, as some shells,
1265 # such as our DU 5.0 friend, will then `close' the trap.
1266 trap 'exit_status=$?
1267 # Save into config.log some information that might help in debugging.
1272 ## ---------------- ##
1273 ## Cache variables. ##
1274 ## ---------------- ##
1277 # The following way of writing the cache mishandles newlines in values,
1280 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1283 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1288 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1295 ## ----------------- ##
1296 ## Output variables. ##
1297 ## ----------------- ##
1300 for ac_var in $ac_subst_vars
1302 eval ac_val=$`echo $ac_var`
1303 echo "$ac_var='"'"'$ac_val'"'"'"
1307 if test -n "$ac_subst_files"; then
1314 for ac_var in $ac_subst_files
1316 eval ac_val=$`echo $ac_var`
1317 echo "$ac_var='"'"'$ac_val'"'"'"
1322 if test -s confdefs.h; then
1329 sed "/^$/d" confdefs.h | sort
1332 test "$ac_signal" != 0 &&
1333 echo "$as_me: caught signal $ac_signal"
1334 echo "$as_me: exit $exit_status"
1336 rm -f core *.core &&
1337 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1340 for ac_signal in 1 2 13 15; do
1341 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1345 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1346 rm -rf conftest* confdefs.h
1347 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1350 # Predefined preprocessor variables.
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_NAME "$PACKAGE_NAME"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_STRING "$PACKAGE_STRING"
1372 cat >>confdefs.h <<_ACEOF
1373 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1377 # Let the site file select an alternate cache file if it wants to.
1378 # Prefer explicitly selected file to automatically selected ones.
1379 if test -z "$CONFIG_SITE"; then
1380 if test "x$prefix" != xNONE; then
1381 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1383 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1386 for ac_site_file in $CONFIG_SITE; do
1387 if test -r "$ac_site_file"; then
1388 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1389 echo "$as_me: loading site script $ac_site_file" >&6;}
1390 sed 's/^/| /' "$ac_site_file" >&5
1395 if test -r "$cache_file"; then
1396 # Some versions of bash will fail to source /dev/null (special
1397 # files actually), so we avoid doing that.
1398 if test -f "$cache_file"; then
1399 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1400 echo "$as_me: loading cache $cache_file" >&6;}
1402 [\\/]* | ?:[\\/]* ) . $cache_file;;
1403 *) . ./$cache_file;;
1407 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1408 echo "$as_me: creating cache $cache_file" >&6;}
1412 # Check that the precious variables saved in the cache have kept the same
1414 ac_cache_corrupted=false
1415 for ac_var in `(set) 2>&1 |
1416 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1417 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1418 eval ac_new_set=\$ac_env_${ac_var}_set
1419 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1420 eval ac_new_val="\$ac_env_${ac_var}_value"
1421 case $ac_old_set,$ac_new_set in
1423 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1424 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1425 ac_cache_corrupted=: ;;
1427 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1428 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1429 ac_cache_corrupted=: ;;
1432 if test "x$ac_old_val" != "x$ac_new_val"; then
1433 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1434 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1435 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1436 echo "$as_me: former value: $ac_old_val" >&2;}
1437 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1438 echo "$as_me: current value: $ac_new_val" >&2;}
1439 ac_cache_corrupted=:
1442 # Pass precious variables to config.status.
1443 if test "$ac_new_set" = set; then
1445 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1446 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1447 *) ac_arg=$ac_var=$ac_new_val ;;
1449 case " $ac_configure_args " in
1450 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1451 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1455 if $ac_cache_corrupted; then
1456 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1457 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1458 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1459 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1460 { (exit 1); exit 1; }; }
1464 ac_cpp='$CPP $CPPFLAGS'
1465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1470 gl_func_list="$gl_func_list fchdir"
1471 gl_header_list="$gl_header_list unistd.h"
1472 gl_func_list="$gl_func_list mempcpy"
1473 gl_header_list="$gl_header_list sys/time.h"
1474 gl_func_list="$gl_func_list isascii"
1475 gl_header_list="$gl_header_list sys/param.h"
1476 gl_header_list="$gl_header_list stdio_ext.h"
1477 gl_header_list="$gl_header_list termios.h"
1478 gl_func_list="$gl_func_list __fsetlocking"
1479 gl_func_list="$gl_func_list tcgetattr"
1480 gl_func_list="$gl_func_list tcsetattr"
1481 gl_func_list="$gl_func_list gettimeofday"
1482 gl_func_list="$gl_func_list nanotime"
1483 gl_header_list="$gl_header_list sys/cdefs.h"
1484 gl_func_list="$gl_func_list getlogin_r"
1485 gl_func_list="$gl_func_list getpwnam_r"
1486 gl_header_list="$gl_header_list wchar.h"
1487 gl_header_list="$gl_header_list wctype.h"
1488 gl_header_list="$gl_header_list stdint.h"
1489 gl_func_list="$gl_func_list siginterrupt"
1490 gl_func_list="$gl_func_list posix_memalign"
1491 gl_func_list="$gl_func_list iswprint"
1492 gl_func_list="$gl_func_list mbsinit"
1493 gl_header_list="$gl_header_list locale.h"
1494 gl_func_list="$gl_func_list isblank"
1495 gl_func_list="$gl_func_list mbrtowc"
1496 gl_func_list="$gl_func_list wcrtomb"
1497 gl_func_list="$gl_func_list wcscoll"
1498 gl_func_list="$gl_func_list mblen"
1499 gl_func_list="$gl_func_list mbrlen"
1500 gl_func_list="$gl_func_list tzset"
1528 for ac_dir in build-aux $srcdir/build-aux; do
1529 if test -f $ac_dir/install-sh; then
1531 ac_install_sh="$ac_aux_dir/install-sh -c"
1533 elif test -f $ac_dir/install.sh; then
1535 ac_install_sh="$ac_aux_dir/install.sh -c"
1537 elif test -f $ac_dir/shtool; then
1539 ac_install_sh="$ac_aux_dir/shtool install -c"
1543 if test -z "$ac_aux_dir"; then
1544 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux $srcdir/build-aux" >&5
1545 echo "$as_me: error: cannot find install-sh or install.sh in build-aux $srcdir/build-aux" >&2;}
1546 { (exit 1); exit 1; }; }
1548 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1549 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1550 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1552 am__api_version="1.9"
1553 # Find a good install program. We prefer a C program (faster),
1554 # so one script is as good as another. But avoid the broken or
1555 # incompatible versions:
1556 # SysV /etc/install, /usr/sbin/install
1557 # SunOS /usr/etc/install
1558 # IRIX /sbin/install
1560 # AmigaOS /C/install, which installs bootblocks on floppy discs
1561 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1562 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1563 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1564 # OS/2's system install, which has a completely different semantic
1565 # ./install, which can be erroneously created by make from ./install.sh.
1566 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1567 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1568 if test -z "$INSTALL"; then
1569 if test "${ac_cv_path_install+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1576 test -z "$as_dir" && as_dir=.
1577 # Account for people who put trailing slashes in PATH elements.
1579 ./ | .// | /cC/* | \
1580 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1581 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1584 # OSF1 and SCO ODT 3.0 have their own names for install.
1585 # Don't use installbsd from OSF since it installs stuff as root
1587 for ac_prog in ginstall scoinst install; do
1588 for ac_exec_ext in '' $ac_executable_extensions; do
1589 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1590 if test $ac_prog = install &&
1591 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1592 # AIX install. It has an incompatible calling convention.
1594 elif test $ac_prog = install &&
1595 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1596 # program-specific install script used by HP pwplus--don't use.
1599 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1611 if test "${ac_cv_path_install+set}" = set; then
1612 INSTALL=$ac_cv_path_install
1614 # As a last resort, use the slow shell script. We don't cache a
1615 # path for INSTALL within a source directory, because that will
1616 # break other packages using the cache if that directory is
1617 # removed, or if the path is relative.
1618 INSTALL=$ac_install_sh
1621 echo "$as_me:$LINENO: result: $INSTALL" >&5
1622 echo "${ECHO_T}$INSTALL" >&6
1624 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1625 # It thinks the first close brace ends the variable substitution.
1626 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1628 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1630 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1632 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1633 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1636 echo timestamp > conftest.file
1637 # Do `set' in a subshell so we don't clobber the current shell's
1638 # arguments. Must try -L first in case configure is actually a
1639 # symlink; some systems play weird games with the mod time of symlinks
1640 # (eg FreeBSD returns the mod time of the symlink's containing
1643 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1644 if test "$*" = "X"; then
1646 set X `ls -t $srcdir/configure conftest.file`
1649 if test "$*" != "X $srcdir/configure conftest.file" \
1650 && test "$*" != "X conftest.file $srcdir/configure"; then
1652 # If neither matched, then we have a broken ls. This can happen
1653 # if, for instance, CONFIG_SHELL is bash and it inherits a
1654 # broken ls alias from the environment. This has actually
1655 # happened. Such a system could not be considered "sane".
1656 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1657 alias in your environment" >&5
1658 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1659 alias in your environment" >&2;}
1660 { (exit 1); exit 1; }; }
1663 test "$2" = conftest.file
1669 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1670 Check your system clock" >&5
1671 echo "$as_me: error: newly created file is older than distributed files!
1672 Check your system clock" >&2;}
1673 { (exit 1); exit 1; }; }
1675 echo "$as_me:$LINENO: result: yes" >&5
1676 echo "${ECHO_T}yes" >&6
1677 test "$program_prefix" != NONE &&
1678 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1679 # Use a double $ so make ignores it.
1680 test "$program_suffix" != NONE &&
1681 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1682 # Double any \ or $. echo might interpret backslashes.
1683 # By default was `s,x,x', remove it if useless.
1684 cat <<\_ACEOF >conftest.sed
1685 s/[\\$]/&&/g;s/;s,x,x,$//
1687 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1690 # expand $ac_aux_dir to an absolute path
1691 am_aux_dir=`cd $ac_aux_dir && pwd`
1693 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1694 # Use eval to expand $SHELL
1695 if eval "$MISSING --run true"; then
1696 am_missing_run="$MISSING --run "
1699 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1700 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1703 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1704 # We used to keeping the `.' as first argument, in order to
1705 # allow $(mkdir_p) to be used without argument. As in
1706 # $(mkdir_p) $(somedir)
1707 # where $(somedir) is conditionally defined. However this is wrong
1709 # 1. if the package is installed by a user who cannot write `.'
1710 # make install will fail,
1711 # 2. the above comment should most certainly read
1712 # $(mkdir_p) $(DESTDIR)$(somedir)
1713 # so it does not work when $(somedir) is undefined and
1714 # $(DESTDIR) is not.
1715 # To support the latter case, we have to write
1716 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1717 # so the `.' trick is pointless.
1718 mkdir_p='mkdir -p --'
1720 # On NextStep and OpenStep, the `mkdir' command does not
1721 # recognize any option. It will interpret all options as
1722 # directories to create, and then abort because `.' already
1724 for d in ./-p ./--version;
1726 test -d $d && rmdir $d
1728 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1729 if test -f "$ac_aux_dir/mkinstalldirs"; then
1730 mkdir_p='$(mkinstalldirs)'
1732 mkdir_p='$(install_sh) -d'
1736 for ac_prog in gawk mawk nawk awk
1738 # Extract the first word of "$ac_prog", so it can be a program name with args.
1739 set dummy $ac_prog; ac_word=$2
1740 echo "$as_me:$LINENO: checking for $ac_word" >&5
1741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1742 if test "${ac_cv_prog_AWK+set}" = set; then
1743 echo $ECHO_N "(cached) $ECHO_C" >&6
1745 if test -n "$AWK"; then
1746 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1752 test -z "$as_dir" && as_dir=.
1753 for ac_exec_ext in '' $ac_executable_extensions; do
1754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1755 ac_cv_prog_AWK="$ac_prog"
1756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1765 if test -n "$AWK"; then
1766 echo "$as_me:$LINENO: result: $AWK" >&5
1767 echo "${ECHO_T}$AWK" >&6
1769 echo "$as_me:$LINENO: result: no" >&5
1770 echo "${ECHO_T}no" >&6
1773 test -n "$AWK" && break
1776 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1777 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1778 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1779 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 cat >conftest.make <<\_ACEOF
1784 @echo 'ac_maketemp="$(MAKE)"'
1786 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1787 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1788 if test -n "$ac_maketemp"; then
1789 eval ac_cv_prog_make_${ac_make}_set=yes
1791 eval ac_cv_prog_make_${ac_make}_set=no
1795 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1796 echo "$as_me:$LINENO: result: yes" >&5
1797 echo "${ECHO_T}yes" >&6
1800 echo "$as_me:$LINENO: result: no" >&5
1801 echo "${ECHO_T}no" >&6
1802 SET_MAKE="MAKE=${MAKE-make}"
1805 rm -rf .tst 2>/dev/null
1806 mkdir .tst 2>/dev/null
1807 if test -d .tst; then
1812 rmdir .tst 2>/dev/null
1814 # test to see if srcdir already configured
1815 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1816 test -f $srcdir/config.status; then
1817 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1818 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1819 { (exit 1); exit 1; }; }
1822 # test whether we have cygpath
1823 if test -z "$CYGPATH_W"; then
1824 if (cygpath --version) >/dev/null 2>/dev/null; then
1825 CYGPATH_W='cygpath -w'
1832 # Define the identity of the package.
1837 # Some tools Automake needs.
1839 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1842 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1845 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1848 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1851 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1853 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1855 # Installed binaries are usually stripped using `strip' when the user
1856 # run `make install-strip'. However `strip' might not be the right
1857 # tool to use in cross-compilation environments, therefore Automake
1858 # will honor the `STRIP' environment variable to overrule this program.
1859 if test "$cross_compiling" != no; then
1860 if test -n "$ac_tool_prefix"; then
1861 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1862 set dummy ${ac_tool_prefix}strip; ac_word=$2
1863 echo "$as_me:$LINENO: checking for $ac_word" >&5
1864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1865 if test "${ac_cv_prog_STRIP+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 if test -n "$STRIP"; then
1869 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875 test -z "$as_dir" && as_dir=.
1876 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1878 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887 STRIP=$ac_cv_prog_STRIP
1888 if test -n "$STRIP"; then
1889 echo "$as_me:$LINENO: result: $STRIP" >&5
1890 echo "${ECHO_T}$STRIP" >&6
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1897 if test -z "$ac_cv_prog_STRIP"; then
1899 # Extract the first word of "strip", so it can be a program name with args.
1900 set dummy strip; ac_word=$2
1901 echo "$as_me:$LINENO: checking for $ac_word" >&5
1902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1903 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 if test -n "$ac_ct_STRIP"; then
1907 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913 test -z "$as_dir" && as_dir=.
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1916 ac_cv_prog_ac_ct_STRIP="strip"
1917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1923 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1926 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1927 if test -n "$ac_ct_STRIP"; then
1928 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1929 echo "${ECHO_T}$ac_ct_STRIP" >&6
1931 echo "$as_me:$LINENO: result: no" >&5
1932 echo "${ECHO_T}no" >&6
1937 STRIP="$ac_cv_prog_STRIP"
1941 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1943 # We need awk for the "check" target. The system "awk" is bad on
1945 # Always define AMTAR for backward compatibility.
1947 AMTAR=${AMTAR-"${am_missing_run}tar"}
1949 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1957 if test "x$prefix" = xNONE; then
1958 echo $ECHO_N "checking for prefix by $ECHO_C" >&6
1959 # Extract the first word of "cvs", so it can be a program name with args.
1960 set dummy cvs; ac_word=$2
1961 echo "$as_me:$LINENO: checking for $ac_word" >&5
1962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1963 if test "${ac_cv_path_ac_prefix_program+set}" = set; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 case $ac_prefix_program in
1968 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
1971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 test -z "$as_dir" && as_dir=.
1976 for ac_exec_ext in '' $ac_executable_extensions; do
1977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1978 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 ac_prefix_program=$ac_cv_path_ac_prefix_program
1990 if test -n "$ac_prefix_program"; then
1991 echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1992 echo "${ECHO_T}$ac_prefix_program" >&6
1994 echo "$as_me:$LINENO: result: no" >&5
1995 echo "${ECHO_T}no" >&6
1998 if test -n "$ac_prefix_program"; then
1999 prefix=`(dirname "$ac_prefix_program") 2>/dev/null ||
2000 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2001 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
2002 X"$ac_prefix_program" : 'X\(//\)$' \| \
2003 X"$ac_prefix_program" : 'X\(/\)' \| \
2004 . : '\(.\)' 2>/dev/null ||
2005 echo X"$ac_prefix_program" |
2006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2007 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2008 /^X\(\/\/\)$/{ s//\1/; q; }
2009 /^X\(\/\).*/{ s//\1/; q; }
2011 prefix=`(dirname "$prefix") 2>/dev/null ||
2012 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2013 X"$prefix" : 'X\(//\)[^/]' \| \
2014 X"$prefix" : 'X\(//\)$' \| \
2015 X"$prefix" : 'X\(/\)' \| \
2016 . : '\(.\)' 2>/dev/null ||
2018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2019 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2020 /^X\(\/\/\)$/{ s//\1/; q; }
2021 /^X\(\/\).*/{ s//\1/; q; }
2026 ac_config_headers="$ac_config_headers config.h"
2028 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2029 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2030 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2031 if test "${enable_maintainer_mode+set}" = set; then
2032 enableval="$enable_maintainer_mode"
2033 USE_MAINTAINER_MODE=$enableval
2035 USE_MAINTAINER_MODE=no
2037 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2038 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2041 if test $USE_MAINTAINER_MODE = yes; then
2042 MAINTAINER_MODE_TRUE=
2043 MAINTAINER_MODE_FALSE='#'
2045 MAINTAINER_MODE_TRUE='#'
2046 MAINTAINER_MODE_FALSE=
2049 MAINT=$MAINTAINER_MODE_TRUE
2054 cat >>confdefs.h <<\_ACEOF
2055 #define _GNU_SOURCE 1
2059 DEPDIR="${am__leading_dot}deps"
2061 ac_config_commands="$ac_config_commands depfiles"
2064 am_make=${MAKE-make}
2065 cat > confinc << 'END'
2070 # If we don't find an include directive, just comment out the code.
2071 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2072 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2076 # First try GNU make style include.
2077 echo "include confinc" > confmf
2078 # We grep out `Entering directory' and `Leaving directory'
2079 # messages which can occur if `w' ends up in MAKEFLAGS.
2080 # In particular we don't look at `^make:' because GNU make might
2081 # be invoked under some other name (usually "gmake"), in which
2082 # case it prints its new name instead of `make'.
2083 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2088 # Now try BSD make style include.
2089 if test "$am__include" = "#"; then
2090 echo '.include "confinc"' > confmf
2091 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2092 am__include=.include
2099 echo "$as_me:$LINENO: result: $_am_result" >&5
2100 echo "${ECHO_T}$_am_result" >&6
2101 rm -f confinc confmf
2103 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2104 if test "${enable_dependency_tracking+set}" = set; then
2105 enableval="$enable_dependency_tracking"
2108 if test "x$enable_dependency_tracking" != xno; then
2109 am_depcomp="$ac_aux_dir/depcomp"
2114 if test "x$enable_dependency_tracking" != xno; then
2125 ac_cpp='$CPP $CPPFLAGS'
2126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2129 if test -n "$ac_tool_prefix"; then
2130 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2131 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2132 echo "$as_me:$LINENO: checking for $ac_word" >&5
2133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2134 if test "${ac_cv_prog_CC+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 if test -n "$CC"; then
2138 ac_cv_prog_CC="$CC" # Let the user override the test.
2140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 test -z "$as_dir" && as_dir=.
2145 for ac_exec_ext in '' $ac_executable_extensions; do
2146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2147 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2157 if test -n "$CC"; then
2158 echo "$as_me:$LINENO: result: $CC" >&5
2159 echo "${ECHO_T}$CC" >&6
2161 echo "$as_me:$LINENO: result: no" >&5
2162 echo "${ECHO_T}no" >&6
2166 if test -z "$ac_cv_prog_CC"; then
2168 # Extract the first word of "gcc", so it can be a program name with args.
2169 set dummy gcc; ac_word=$2
2170 echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2172 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 if test -n "$ac_ct_CC"; then
2176 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2185 ac_cv_prog_ac_ct_CC="gcc"
2186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2194 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2195 if test -n "$ac_ct_CC"; then
2196 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2197 echo "${ECHO_T}$ac_ct_CC" >&6
2199 echo "$as_me:$LINENO: result: no" >&5
2200 echo "${ECHO_T}no" >&6
2208 if test -z "$CC"; then
2209 if test -n "$ac_tool_prefix"; then
2210 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2211 set dummy ${ac_tool_prefix}cc; ac_word=$2
2212 echo "$as_me:$LINENO: checking for $ac_word" >&5
2213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2214 if test "${ac_cv_prog_CC+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 if test -n "$CC"; then
2218 ac_cv_prog_CC="$CC" # Let the user override the test.
2220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224 test -z "$as_dir" && as_dir=.
2225 for ac_exec_ext in '' $ac_executable_extensions; do
2226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2227 ac_cv_prog_CC="${ac_tool_prefix}cc"
2228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 if test -n "$CC"; then
2238 echo "$as_me:$LINENO: result: $CC" >&5
2239 echo "${ECHO_T}$CC" >&6
2241 echo "$as_me:$LINENO: result: no" >&5
2242 echo "${ECHO_T}no" >&6
2246 if test -z "$ac_cv_prog_CC"; then
2248 # Extract the first word of "cc", so it can be a program name with args.
2249 set dummy cc; ac_word=$2
2250 echo "$as_me:$LINENO: checking for $ac_word" >&5
2251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 if test -n "$ac_ct_CC"; then
2256 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2262 test -z "$as_dir" && as_dir=.
2263 for ac_exec_ext in '' $ac_executable_extensions; do
2264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2265 ac_cv_prog_ac_ct_CC="cc"
2266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2275 if test -n "$ac_ct_CC"; then
2276 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2277 echo "${ECHO_T}$ac_ct_CC" >&6
2279 echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6
2289 if test -z "$CC"; then
2290 # Extract the first word of "cc", so it can be a program name with args.
2291 set dummy cc; ac_word=$2
2292 echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2294 if test "${ac_cv_prog_CC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC="$CC" # Let the user override the test.
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2308 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2309 ac_prog_rejected=yes
2313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2319 if test $ac_prog_rejected = yes; then
2320 # We found a bogon in the path, so make sure we never use it.
2321 set dummy $ac_cv_prog_CC
2323 if test $# != 0; then
2324 # We chose a different compiler from the bogus one.
2325 # However, it has the same basename, so the bogon will be chosen
2326 # first if we set CC to just the basename; use the full file name.
2328 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2334 if test -n "$CC"; then
2335 echo "$as_me:$LINENO: result: $CC" >&5
2336 echo "${ECHO_T}$CC" >&6
2338 echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6
2343 if test -z "$CC"; then
2344 if test -n "$ac_tool_prefix"; then
2347 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2349 echo "$as_me:$LINENO: checking for $ac_word" >&5
2350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2351 if test "${ac_cv_prog_CC+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2354 if test -n "$CC"; then
2355 ac_cv_prog_CC="$CC" # Let the user override the test.
2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2361 test -z "$as_dir" && as_dir=.
2362 for ac_exec_ext in '' $ac_executable_extensions; do
2363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2364 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374 if test -n "$CC"; then
2375 echo "$as_me:$LINENO: result: $CC" >&5
2376 echo "${ECHO_T}$CC" >&6
2378 echo "$as_me:$LINENO: result: no" >&5
2379 echo "${ECHO_T}no" >&6
2382 test -n "$CC" && break
2385 if test -z "$CC"; then
2389 # Extract the first word of "$ac_prog", so it can be a program name with args.
2390 set dummy $ac_prog; ac_word=$2
2391 echo "$as_me:$LINENO: checking for $ac_word" >&5
2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2393 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 if test -n "$ac_ct_CC"; then
2397 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir=.
2404 for ac_exec_ext in '' $ac_executable_extensions; do
2405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2406 ac_cv_prog_ac_ct_CC="$ac_prog"
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2416 if test -n "$ac_ct_CC"; then
2417 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2418 echo "${ECHO_T}$ac_ct_CC" >&6
2420 echo "$as_me:$LINENO: result: no" >&5
2421 echo "${ECHO_T}no" >&6
2424 test -n "$ac_ct_CC" && break
2433 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2434 See \`config.log' for more details." >&5
2435 echo "$as_me: error: no acceptable C compiler found in \$PATH
2436 See \`config.log' for more details." >&2;}
2437 { (exit 1); exit 1; }; }
2439 # Provide some information about the compiler.
2440 echo "$as_me:$LINENO:" \
2441 "checking for C compiler version" >&5
2442 ac_compiler=`set X $ac_compile; echo $2`
2443 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2444 (eval $ac_compiler --version </dev/null >&5) 2>&5
2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447 (exit $ac_status); }
2448 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2449 (eval $ac_compiler -v </dev/null >&5) 2>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); }
2453 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2454 (eval $ac_compiler -V </dev/null >&5) 2>&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }
2459 cat >conftest.$ac_ext <<_ACEOF
2462 cat confdefs.h >>conftest.$ac_ext
2463 cat >>conftest.$ac_ext <<_ACEOF
2464 /* end confdefs.h. */
2474 ac_clean_files_save=$ac_clean_files
2475 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2476 # Try to create an executable without -o first, disregard a.out.
2477 # It will help us diagnose broken compilers, and finding out an intuition
2479 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2480 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2481 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2482 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2483 (eval $ac_link_default) 2>&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }; then
2487 # Find the output, starting from the most likely. This scheme is
2488 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2491 # Be careful to initialize this variable, since it used to be cached.
2492 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2494 # b.out is created by i960 compilers.
2495 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2497 test -f "$ac_file" || continue
2499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2502 # This is the source file.
2505 # We found the default executable, but exeext='' is most
2509 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2510 # FIXME: I believe we export ac_cv_exeext for Libtool,
2511 # but it would be cool to find out if it's true. Does anybody
2512 # maintain Libtool? --akim.
2520 echo "$as_me: failed program was:" >&5
2521 sed 's/^/| /' conftest.$ac_ext >&5
2523 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2524 See \`config.log' for more details." >&5
2525 echo "$as_me: error: C compiler cannot create executables
2526 See \`config.log' for more details." >&2;}
2527 { (exit 77); exit 77; }; }
2530 ac_exeext=$ac_cv_exeext
2531 echo "$as_me:$LINENO: result: $ac_file" >&5
2532 echo "${ECHO_T}$ac_file" >&6
2534 # Check the compiler produces executables we can run. If not, either
2535 # the compiler is broken, or we cross compile.
2536 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2537 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2538 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2539 # If not cross compiling, check that we can run a simple program.
2540 if test "$cross_compiling" != yes; then
2541 if { ac_try='./$ac_file'
2542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; }; then
2549 if test "$cross_compiling" = maybe; then
2552 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2553 If you meant to cross compile, use \`--host'.
2554 See \`config.log' for more details." >&5
2555 echo "$as_me: error: cannot run C compiled programs.
2556 If you meant to cross compile, use \`--host'.
2557 See \`config.log' for more details." >&2;}
2558 { (exit 1); exit 1; }; }
2562 echo "$as_me:$LINENO: result: yes" >&5
2563 echo "${ECHO_T}yes" >&6
2565 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2566 ac_clean_files=$ac_clean_files_save
2567 # Check the compiler produces executables we can run. If not, either
2568 # the compiler is broken, or we cross compile.
2569 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2570 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2571 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2572 echo "${ECHO_T}$cross_compiling" >&6
2574 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2575 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2577 (eval $ac_link) 2>&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); }; then
2581 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2582 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2583 # work properly (i.e., refer to `conftest.exe'), while it won't with
2585 for ac_file in conftest.exe conftest conftest.*; do
2586 test -f "$ac_file" || continue
2588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2589 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2596 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2597 See \`config.log' for more details." >&5
2598 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2599 See \`config.log' for more details." >&2;}
2600 { (exit 1); exit 1; }; }
2603 rm -f conftest$ac_cv_exeext
2604 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2605 echo "${ECHO_T}$ac_cv_exeext" >&6
2607 rm -f conftest.$ac_ext
2608 EXEEXT=$ac_cv_exeext
2610 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2611 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2612 if test "${ac_cv_objext+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 cat >conftest.$ac_ext <<_ACEOF
2618 cat confdefs.h >>conftest.$ac_ext
2619 cat >>conftest.$ac_ext <<_ACEOF
2620 /* end confdefs.h. */
2630 rm -f conftest.o conftest.obj
2631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2632 (eval $ac_compile) 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; then
2636 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2638 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2639 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2644 echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2647 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2648 See \`config.log' for more details." >&5
2649 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2650 See \`config.log' for more details." >&2;}
2651 { (exit 1); exit 1; }; }
2654 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2656 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2657 echo "${ECHO_T}$ac_cv_objext" >&6
2658 OBJEXT=$ac_cv_objext
2660 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2661 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2662 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 cat >conftest.$ac_ext <<_ACEOF
2668 cat confdefs.h >>conftest.$ac_ext
2669 cat >>conftest.$ac_ext <<_ACEOF
2670 /* end confdefs.h. */
2683 rm -f conftest.$ac_objext
2684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2685 (eval $ac_compile) 2>conftest.er1
2687 grep -v '^ *+' conftest.er1 >conftest.err
2689 cat conftest.err >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); } &&
2692 { ac_try='test -z "$ac_c_werror_flag"
2693 || test ! -s conftest.err'
2694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; } &&
2699 { ac_try='test -s conftest.$ac_objext'
2700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }; }; then
2707 echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2713 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2716 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2717 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2718 GCC=`test $ac_compiler_gnu = yes && echo yes`
2719 ac_test_CFLAGS=${CFLAGS+set}
2720 ac_save_CFLAGS=$CFLAGS
2722 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2723 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2724 if test "${ac_cv_prog_cc_g+set}" = set; then
2725 echo $ECHO_N "(cached) $ECHO_C" >&6
2727 cat >conftest.$ac_ext <<_ACEOF
2730 cat confdefs.h >>conftest.$ac_ext
2731 cat >>conftest.$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2742 rm -f conftest.$ac_objext
2743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2744 (eval $ac_compile) 2>conftest.er1
2746 grep -v '^ *+' conftest.er1 >conftest.err
2748 cat conftest.err >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); } &&
2751 { ac_try='test -z "$ac_c_werror_flag"
2752 || test ! -s conftest.err'
2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; } &&
2758 { ac_try='test -s conftest.$ac_objext'
2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }; }; then
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2773 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2774 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2775 if test "$ac_test_CFLAGS" = set; then
2776 CFLAGS=$ac_save_CFLAGS
2777 elif test $ac_cv_prog_cc_g = yes; then
2778 if test "$GCC" = yes; then
2784 if test "$GCC" = yes; then
2790 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2791 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2792 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2793 echo $ECHO_N "(cached) $ECHO_C" >&6
2795 ac_cv_prog_cc_stdc=no
2797 cat >conftest.$ac_ext <<_ACEOF
2800 cat confdefs.h >>conftest.$ac_ext
2801 cat >>conftest.$ac_ext <<_ACEOF
2802 /* end confdefs.h. */
2805 #include <sys/types.h>
2806 #include <sys/stat.h>
2807 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2808 struct buf { int x; };
2809 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2810 static char *e (p, i)
2816 static char *f (char * (*g) (char **, int), char **p, ...)
2821 s = g (p, va_arg (v,int));
2826 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2827 function prototypes and stuff, but not '\xHH' hex character constants.
2828 These don't provoke an error unfortunately, instead are silently treated
2829 as 'x'. The following induces an error, until -std1 is added to get
2830 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2831 array size at least. It's necessary to write '\x00'==0 to get something
2832 that's true only with -std1. */
2833 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2835 int test (int i, double x);
2836 struct s1 {int (*f) (int a);};
2837 struct s2 {int (*f) (double a);};
2838 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2844 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2849 # Don't try gcc -ansi; that turns off useful extensions and
2850 # breaks some systems' header files.
2851 # AIX -qlanglvl=ansi
2852 # Ultrix and OSF/1 -std1
2853 # HP-UX 10.20 and later -Ae
2854 # HP-UX older versions -Aa -D_HPUX_SOURCE
2855 # SVR4 -Xc -D__EXTENSIONS__
2856 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2858 CC="$ac_save_CC $ac_arg"
2859 rm -f conftest.$ac_objext
2860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2861 (eval $ac_compile) 2>conftest.er1
2863 grep -v '^ *+' conftest.er1 >conftest.err
2865 cat conftest.err >&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); } &&
2868 { ac_try='test -z "$ac_c_werror_flag"
2869 || test ! -s conftest.err'
2870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; } &&
2875 { ac_try='test -s conftest.$ac_objext'
2876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); }; }; then
2881 ac_cv_prog_cc_stdc=$ac_arg
2884 echo "$as_me: failed program was:" >&5
2885 sed 's/^/| /' conftest.$ac_ext >&5
2888 rm -f conftest.err conftest.$ac_objext
2890 rm -f conftest.$ac_ext conftest.$ac_objext
2895 case "x$ac_cv_prog_cc_stdc" in
2897 echo "$as_me:$LINENO: result: none needed" >&5
2898 echo "${ECHO_T}none needed" >&6 ;;
2900 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2901 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2902 CC="$CC $ac_cv_prog_cc_stdc" ;;
2905 # Some people use a C++ compiler to compile C. Since we use `exit',
2906 # in C++ we need to declare it. In case someone uses the same compiler
2907 # for both compiling C and C++ we need to have the C++ compiler decide
2908 # the declaration of exit, since it's the most demanding environment.
2909 cat >conftest.$ac_ext <<_ACEOF
2914 rm -f conftest.$ac_objext
2915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2916 (eval $ac_compile) 2>conftest.er1
2918 grep -v '^ *+' conftest.er1 >conftest.err
2920 cat conftest.err >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } &&
2923 { ac_try='test -z "$ac_c_werror_flag"
2924 || test ! -s conftest.err'
2925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); }; } &&
2930 { ac_try='test -s conftest.$ac_objext'
2931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; }; then
2936 for ac_declaration in \
2938 'extern "C" void std::exit (int) throw (); using std::exit;' \
2939 'extern "C" void std::exit (int); using std::exit;' \
2940 'extern "C" void exit (int) throw ();' \
2941 'extern "C" void exit (int);' \
2944 cat >conftest.$ac_ext <<_ACEOF
2947 cat confdefs.h >>conftest.$ac_ext
2948 cat >>conftest.$ac_ext <<_ACEOF
2949 /* end confdefs.h. */
2960 rm -f conftest.$ac_objext
2961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2962 (eval $ac_compile) 2>conftest.er1
2964 grep -v '^ *+' conftest.er1 >conftest.err
2966 cat conftest.err >&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); } &&
2969 { ac_try='test -z "$ac_c_werror_flag"
2970 || test ! -s conftest.err'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; } &&
2976 { ac_try='test -s conftest.$ac_objext'
2977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; }; then
2984 echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990 cat >conftest.$ac_ext <<_ACEOF
2993 cat confdefs.h >>conftest.$ac_ext
2994 cat >>conftest.$ac_ext <<_ACEOF
2995 /* end confdefs.h. */
3005 rm -f conftest.$ac_objext
3006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3007 (eval $ac_compile) 2>conftest.er1
3009 grep -v '^ *+' conftest.er1 >conftest.err
3011 cat conftest.err >&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); } &&
3014 { ac_try='test -z "$ac_c_werror_flag"
3015 || test ! -s conftest.err'
3016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); }; } &&
3021 { ac_try='test -s conftest.$ac_objext'
3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; }; then
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3036 if test -n "$ac_declaration"; then
3037 echo '#ifdef __cplusplus' >>confdefs.h
3038 echo $ac_declaration >>confdefs.h
3039 echo '#endif' >>confdefs.h
3043 echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.$ac_ext >&5
3047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3049 ac_cpp='$CPP $CPPFLAGS'
3050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3054 depcc="$CC" am_compiler_list=
3056 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3057 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3058 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3059 echo $ECHO_N "(cached) $ECHO_C" >&6
3061 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3062 # We make a subdir and do the tests there. Otherwise we can end up
3063 # making bogus files that we don't know about and never remove. For
3064 # instance it was reported that on HP-UX the gcc test will end up
3065 # making a dummy file named `D' -- because `-MD' means `put the output
3068 # Copy depcomp to subdir because otherwise we won't find it if we're
3069 # using a relative directory.
3070 cp "$am_depcomp" conftest.dir
3072 # We will build objects and dependencies in a subdirectory because
3073 # it helps to detect inapplicable dependency modes. For instance
3074 # both Tru64's cc and ICC support -MD to output dependencies as a
3075 # side effect of compilation, but ICC will put the dependencies in
3076 # the current directory while Tru64 will put them in the object
3080 am_cv_CC_dependencies_compiler_type=none
3081 if test "$am_compiler_list" = ""; then
3082 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3084 for depmode in $am_compiler_list; do
3085 # Setup a source with many dependencies, because some compilers
3086 # like to wrap large dependency lists on column 80 (with \), and
3087 # we should not choose a depcomp mode which is confused by this.
3089 # We need to recreate these files for each test, as the compiler may
3090 # overwrite some of them when testing with obscure command lines.
3091 # This happens at least with the AIX C compiler.
3093 for i in 1 2 3 4 5 6; do
3094 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3095 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3096 # Solaris 8's {/usr,}/bin/sh.
3097 touch sub/conftst$i.h
3099 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3103 # after this tag, mechanisms are not by side-effect, so they'll
3104 # only be used when explicitly requested
3105 if test "x$enable_dependency_tracking" = xyes; then
3113 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3114 # mode. It turns out that the SunPro C++ compiler does not properly
3115 # handle `-M -o', and we need to detect this.
3116 if depmode=$depmode \
3117 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3118 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3119 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3120 >/dev/null 2>conftest.err &&
3121 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3122 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3123 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3124 # icc doesn't choke on unknown options, it will just issue warnings
3125 # or remarks (even with -Werror). So we grep stderr for any message
3126 # that says an option was ignored or not supported.
3127 # When given -MP, icc 7.0 and 7.1 complain thusly:
3128 # icc: Command line warning: ignoring option '-M'; no argument required
3129 # The diagnosis changed in icc 8.0:
3130 # icc: Command line remark: option '-MP' not supported
3131 if (grep 'ignoring option' conftest.err ||
3132 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3133 am_cv_CC_dependencies_compiler_type=$depmode
3142 am_cv_CC_dependencies_compiler_type=none
3146 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3147 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3148 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3153 test "x$enable_dependency_tracking" != xno \
3154 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3156 am__fastdepCC_FALSE='#'
3158 am__fastdepCC_TRUE='#'
3159 am__fastdepCC_FALSE=
3165 ac_cpp='$CPP $CPPFLAGS'
3166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3169 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3170 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3171 # On Suns, sometimes $CPP names a directory.
3172 if test -n "$CPP" && test -d "$CPP"; then
3175 if test -z "$CPP"; then
3176 if test "${ac_cv_prog_CPP+set}" = set; then
3177 echo $ECHO_N "(cached) $ECHO_C" >&6
3179 # Double quotes because CPP needs to be expanded
3180 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3183 for ac_c_preproc_warn_flag in '' yes
3185 # Use a header file that comes with gcc, so configuring glibc
3186 # with a fresh cross-compiler works.
3187 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3188 # <limits.h> exists even on freestanding compilers.
3189 # On the NeXT, cc -E runs the code through the compiler's parser,
3190 # not just through cpp. "Syntax error" is here to catch this case.
3191 cat >conftest.$ac_ext <<_ACEOF
3194 cat confdefs.h >>conftest.$ac_ext
3195 cat >>conftest.$ac_ext <<_ACEOF
3196 /* end confdefs.h. */
3198 # include <limits.h>
3200 # include <assert.h>
3204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3207 grep -v '^ *+' conftest.er1 >conftest.err
3209 cat conftest.err >&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); } >/dev/null; then
3212 if test -s conftest.err; then
3213 ac_cpp_err=$ac_c_preproc_warn_flag
3214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3221 if test -z "$ac_cpp_err"; then
3224 echo "$as_me: failed program was:" >&5
3225 sed 's/^/| /' conftest.$ac_ext >&5
3227 # Broken: fails on valid input.
3230 rm -f conftest.err conftest.$ac_ext
3232 # OK, works on sane cases. Now check whether non-existent headers
3233 # can be detected and how.
3234 cat >conftest.$ac_ext <<_ACEOF
3237 cat confdefs.h >>conftest.$ac_ext
3238 cat >>conftest.$ac_ext <<_ACEOF
3239 /* end confdefs.h. */
3240 #include <ac_nonexistent.h>
3242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3243 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3245 grep -v '^ *+' conftest.er1 >conftest.err
3247 cat conftest.err >&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); } >/dev/null; then
3250 if test -s conftest.err; then
3251 ac_cpp_err=$ac_c_preproc_warn_flag
3252 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3259 if test -z "$ac_cpp_err"; then
3260 # Broken: success on invalid input.
3263 echo "$as_me: failed program was:" >&5
3264 sed 's/^/| /' conftest.$ac_ext >&5
3266 # Passes both tests.
3270 rm -f conftest.err conftest.$ac_ext
3273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3274 rm -f conftest.err conftest.$ac_ext
3275 if $ac_preproc_ok; then
3287 echo "$as_me:$LINENO: result: $CPP" >&5
3288 echo "${ECHO_T}$CPP" >&6
3290 for ac_c_preproc_warn_flag in '' yes
3292 # Use a header file that comes with gcc, so configuring glibc
3293 # with a fresh cross-compiler works.
3294 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3295 # <limits.h> exists even on freestanding compilers.
3296 # On the NeXT, cc -E runs the code through the compiler's parser,
3297 # not just through cpp. "Syntax error" is here to catch this case.
3298 cat >conftest.$ac_ext <<_ACEOF
3301 cat confdefs.h >>conftest.$ac_ext
3302 cat >>conftest.$ac_ext <<_ACEOF
3303 /* end confdefs.h. */
3305 # include <limits.h>
3307 # include <assert.h>
3311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3314 grep -v '^ *+' conftest.er1 >conftest.err
3316 cat conftest.err >&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); } >/dev/null; then
3319 if test -s conftest.err; then
3320 ac_cpp_err=$ac_c_preproc_warn_flag
3321 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3328 if test -z "$ac_cpp_err"; then
3331 echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.$ac_ext >&5
3334 # Broken: fails on valid input.
3337 rm -f conftest.err conftest.$ac_ext
3339 # OK, works on sane cases. Now check whether non-existent headers
3340 # can be detected and how.
3341 cat >conftest.$ac_ext <<_ACEOF
3344 cat confdefs.h >>conftest.$ac_ext
3345 cat >>conftest.$ac_ext <<_ACEOF
3346 /* end confdefs.h. */
3347 #include <ac_nonexistent.h>
3349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3352 grep -v '^ *+' conftest.er1 >conftest.err
3354 cat conftest.err >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); } >/dev/null; then
3357 if test -s conftest.err; then
3358 ac_cpp_err=$ac_c_preproc_warn_flag
3359 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3366 if test -z "$ac_cpp_err"; then
3367 # Broken: success on invalid input.
3370 echo "$as_me: failed program was:" >&5
3371 sed 's/^/| /' conftest.$ac_ext >&5
3373 # Passes both tests.
3377 rm -f conftest.err conftest.$ac_ext
3380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3381 rm -f conftest.err conftest.$ac_ext
3382 if $ac_preproc_ok; then
3385 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3386 See \`config.log' for more details." >&5
3387 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3388 See \`config.log' for more details." >&2;}
3389 { (exit 1); exit 1; }; }
3393 ac_cpp='$CPP $CPPFLAGS'
3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3399 echo "$as_me:$LINENO: checking for egrep" >&5
3400 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3401 if test "${ac_cv_prog_egrep+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3405 then ac_cv_prog_egrep='grep -E'
3406 else ac_cv_prog_egrep='egrep'
3409 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3410 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3411 EGREP=$ac_cv_prog_egrep
3415 echo "$as_me:$LINENO: checking for AIX" >&5
3416 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3417 cat >conftest.$ac_ext <<_ACEOF
3420 cat confdefs.h >>conftest.$ac_ext
3421 cat >>conftest.$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3428 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3429 $EGREP "yes" >/dev/null 2>&1; then
3430 echo "$as_me:$LINENO: result: yes" >&5
3431 echo "${ECHO_T}yes" >&6
3432 cat >>confdefs.h <<\_ACEOF
3433 #define _ALL_SOURCE 1
3437 echo "$as_me:$LINENO: result: no" >&5
3438 echo "${ECHO_T}no" >&6
3443 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3444 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3445 if test "${ac_cv_header_stdc+set}" = set; then
3446 echo $ECHO_N "(cached) $ECHO_C" >&6
3448 cat >conftest.$ac_ext <<_ACEOF
3451 cat confdefs.h >>conftest.$ac_ext
3452 cat >>conftest.$ac_ext <<_ACEOF
3453 /* end confdefs.h. */
3467 rm -f conftest.$ac_objext
3468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3469 (eval $ac_compile) 2>conftest.er1
3471 grep -v '^ *+' conftest.er1 >conftest.err
3473 cat conftest.err >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); } &&
3476 { ac_try='test -z "$ac_c_werror_flag"
3477 || test ! -s conftest.err'
3478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; } &&
3483 { ac_try='test -s conftest.$ac_objext'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; }; then
3489 ac_cv_header_stdc=yes
3491 echo "$as_me: failed program was:" >&5
3492 sed 's/^/| /' conftest.$ac_ext >&5
3494 ac_cv_header_stdc=no
3496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3498 if test $ac_cv_header_stdc = yes; then
3499 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3500 cat >conftest.$ac_ext <<_ACEOF
3503 cat confdefs.h >>conftest.$ac_ext
3504 cat >>conftest.$ac_ext <<_ACEOF
3505 /* end confdefs.h. */
3509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3510 $EGREP "memchr" >/dev/null 2>&1; then
3513 ac_cv_header_stdc=no
3519 if test $ac_cv_header_stdc = yes; then
3520 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3521 cat >conftest.$ac_ext <<_ACEOF
3524 cat confdefs.h >>conftest.$ac_ext
3525 cat >>conftest.$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3531 $EGREP "free" >/dev/null 2>&1; then
3534 ac_cv_header_stdc=no