2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for the fast lexical analyser generator 2.5.35.
5 # Report bugs to <flex-help@lists.sourceforge.net>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='the fast lexical analyser generator'
271 PACKAGE_TARNAME
='flex'
272 PACKAGE_VERSION
='2.5.35'
273 PACKAGE_STRING
='the fast lexical analyser generator 2.5.35'
274 PACKAGE_BUGREPORT
='flex-help@lists.sourceforge.net'
276 ac_unique_file
="scan.l"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 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 MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB YACC LEX LEXLIB LEX_OUTPUT_ROOT CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE LN_S RANLIB ac_ct_RANLIB BISON HELP2MAN M4 INDENT ALLOCA CPP EGREP LIBOBJS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CXX_set
=${CXX+set}
772 ac_env_CXX_value
=$CXX
773 ac_cv_env_CXX_set
=${CXX+set}
774 ac_cv_env_CXX_value
=$CXX
775 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
779 ac_env_CPP_set
=${CPP+set}
780 ac_env_CPP_value
=$CPP
781 ac_cv_env_CPP_set
=${CPP+set}
782 ac_cv_env_CPP_value
=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures the fast lexical analyser generator 2.5.35 to adapt to many kinds of systems.
793 Usage: $0 [OPTION]... [VAR=VALUE]...
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
798 Defaults for the options are specified in brackets.
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
825 For better control, use the options below.
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
845 --program-prefix=PREFIX prepend PREFIX to installed program names
846 --program-suffix=SUFFIX append SUFFIX to installed program names
847 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
850 --build=BUILD configure
for building on BUILD
[guessed
]
851 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
855 if test -n "$ac_init_help"; then
856 case $ac_init_help in
857 short | recursive
) echo "Configuration of the fast lexical analyser generator 2.5.35:";;
862 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
863 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
864 --disable-nls do not use Native Language Support
865 --disable-dependency-tracking speeds up one-time build
866 --enable-dependency-tracking do not reject slow dependency extractors
867 --disable-rpath do not hardcode runtime library paths
870 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
871 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
872 --with-gnu-ld assume the C compiler uses GNU ld default
=no
873 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
874 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
875 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
876 --without-libintl-prefix don't search
for libintl
in includedir and libdir
878 Some influential environment variables
:
879 CC C compiler
command
880 CFLAGS C compiler flags
881 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
882 nonstandard directory
<lib dir
>
883 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
884 headers
in a nonstandard directory
<include dir
>
885 CXX C
++ compiler
command
886 CXXFLAGS C
++ compiler flags
889 Use these variables to override the choices made by
`configure' or to help
890 it to find libraries and programs with nonstandard names/locations.
892 Report bugs to <flex-help@lists.sourceforge.net>.
896 if test "$ac_init_help" = "recursive"; then
897 # If there are subdirs, report their specific --help.
899 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
900 test -d $ac_dir || continue
903 if test "$ac_dir" != .; then
904 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
905 # A "../" for each directory in $ac_dir_suffix.
906 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
908 ac_dir_suffix= ac_top_builddir=
912 .) # No --srcdir option. We are building in place.
914 if test -z "$ac_top_builddir"; then
917 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
919 [\\/]* | ?:[\\/]* ) # Absolute path.
920 ac_srcdir=$srcdir$ac_dir_suffix;
921 ac_top_srcdir=$srcdir ;;
923 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
924 ac_top_srcdir=$ac_top_builddir$srcdir ;;
927 # Do not use `cd foo
&& pwd` to compute absolute paths, because
928 # the directories may not exist.
930 .) ac_abs_builddir="$ac_dir";;
933 .) ac_abs_builddir=`pwd`;;
934 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
935 *) ac_abs_builddir=`pwd`/"$ac_dir";;
938 case $ac_abs_builddir in
939 .) ac_abs_top_builddir=${ac_top_builddir}.;;
941 case ${ac_top_builddir}. in
942 .) ac_abs_top_builddir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
944 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
947 case $ac_abs_builddir in
948 .) ac_abs_srcdir=$ac_srcdir;;
951 .) ac_abs_srcdir=$ac_abs_builddir;;
952 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
953 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
956 case $ac_abs_builddir in
957 .) ac_abs_top_srcdir=$ac_top_srcdir;;
959 case $ac_top_srcdir in
960 .) ac_abs_top_srcdir=$ac_abs_builddir;;
961 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
962 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
967 # Check for guested configure; otherwise get Cygnus style configure.
968 if test -f $ac_srcdir/configure.gnu; then
970 $SHELL $ac_srcdir/configure.gnu --help=recursive
971 elif test -f $ac_srcdir/configure; then
973 $SHELL $ac_srcdir/configure --help=recursive
974 elif test -f $ac_srcdir/configure.ac ||
975 test -f $ac_srcdir/configure.in; then
979 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
985 test -n "$ac_init_help" && exit 0
986 if $ac_init_version; then
988 the fast lexical analyser generator configure 2.5.35
989 generated by GNU Autoconf 2.59
991 Copyright (C) 2003 Free Software Foundation, Inc.
992 This configure script is free software; the Free Software Foundation
993 gives unlimited permission to copy, distribute and modify it.
999 This file contains any messages produced by compilers while
1000 running configure, to aid debugging if configure makes a mistake.
1002 It was created by the fast lexical analyser generator $as_me 2.5.35, which was
1003 generated by GNU Autoconf 2.59. Invocation command line was
1014 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1015 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1016 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1017 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1018 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1020 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1021 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1023 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1024 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1025 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1026 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1027 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1028 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1029 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1037 test -z "$as_dir" && as_dir=.
1038 echo "PATH: $as_dir"
1053 # Keep a trace of the command line.
1054 # Strip out --no-create and --no-recursion so they do not pile up.
1055 # Strip out --silent because we don't want to record it for future runs.
1056 # Also quote any args containing shell meta-characters.
1057 # Make two passes to allow for proper duplicate-argument suppression.
1062 ac_must_keep_next=false
1068 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1070 | -silent | --silent | --silen | --sile | --sil)
1072 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1073 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1076 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1078 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1079 if test $ac_must_keep_next = true; then
1080 ac_must_keep_next=false # Got value, back to normal.
1083 *=* | --config-cache | -C | -disable-* | --disable-* \
1084 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1085 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1086 | -with-* | --with-* | -without-* | --without-* | --x)
1087 case "$ac_configure_args0 " in
1088 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1091 -* ) ac_must_keep_next=true ;;
1094 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1095 # Get rid of the leading space.
1101 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1102 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1104 # When interrupted or exit'd, cleanup temporary files, and complete
1105 # config.log. We remove comments because anyway the quotes in there
1106 # would cause problems or look ugly.
1107 # WARNING: Be sure not to use single quotes in there, as some shells,
1108 # such as our DU 5.0 friend, will then `close
' the trap.
1109 trap 'exit_status
=$?
1110 # Save into config.log some information that might help in debugging.
1115 ## ---------------- ##
1116 ## Cache variables. ##
1117 ## ---------------- ##
1120 # The following way of writing the cache mishandles newlines in values,
1123 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1126 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1131 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1138 ## ----------------- ##
1139 ## Output variables. ##
1140 ## ----------------- ##
1143 for ac_var
in $ac_subst_vars
1145 eval ac_val
=$
`echo $ac_var`
1146 echo "$ac_var='"'"'$ac_val'"'"'"
1150 if test -n "$ac_subst_files"; then
1157 for ac_var
in $ac_subst_files
1159 eval ac_val
=$
`echo $ac_var`
1160 echo "$ac_var='"'"'$ac_val'"'"'"
1165 if test -s confdefs.h
; then
1172 sed "/^$/d" confdefs.h |
sort
1175 test "$ac_signal" != 0 &&
1176 echo "$as_me: caught signal $ac_signal"
1177 echo "$as_me: exit $exit_status"
1179 rm -f core
*.core
&&
1180 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1183 for ac_signal in 1 2 13 15; do
1184 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1188 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1189 rm -rf conftest* confdefs.h
1190 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1193 # Predefined preprocessor variables.
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_NAME "$PACKAGE_NAME"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_STRING "$PACKAGE_STRING"
1215 cat >>confdefs.h <<_ACEOF
1216 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1220 # Let the site file select an alternate cache file if it wants to.
1221 # Prefer explicitly selected file to automatically selected ones.
1222 if test -z "$CONFIG_SITE"; then
1223 if test "x$prefix" != xNONE; then
1224 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1226 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1229 for ac_site_file in $CONFIG_SITE; do
1230 if test -r "$ac_site_file"; then
1231 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1232 echo "$as_me: loading site script $ac_site_file" >&6;}
1233 sed 's
/^
/|
/' "$ac_site_file" >&5
1238 if test -r "$cache_file"; then
1239 # Some versions of bash will fail to source /dev/null (special
1240 # files actually), so we avoid doing that.
1241 if test -f "$cache_file"; then
1242 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1243 echo "$as_me: loading cache $cache_file" >&6;}
1245 [\\/]* | ?:[\\/]* ) . $cache_file;;
1246 *) . ./$cache_file;;
1250 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1251 echo "$as_me: creating cache $cache_file" >&6;}
1255 # Check that the precious variables saved in the cache have kept the same
1257 ac_cache_corrupted=false
1258 for ac_var in `(set) 2>&1 |
1259 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1260 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1261 eval ac_new_set=\$ac_env_${ac_var}_set
1262 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1263 eval ac_new_val="\$ac_env_${ac_var}_value"
1264 case $ac_old_set,$ac_new_set in
1266 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1267 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1268 ac_cache_corrupted=: ;;
1270 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1271 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1272 ac_cache_corrupted=: ;;
1275 if test "x$ac_old_val" != "x$ac_new_val"; then
1276 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1277 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1278 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1279 echo "$as_me: former value: $ac_old_val" >&2;}
1280 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1281 echo "$as_me: current value: $ac_new_val" >&2;}
1282 ac_cache_corrupted=:
1285 # Pass precious variables to config.status.
1286 if test "$ac_new_set" = set; then
1288 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1289 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1290 *) ac_arg=$ac_var=$ac_new_val ;;
1292 case " $ac_configure_args " in
1293 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1294 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1298 if $ac_cache_corrupted; then
1299 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1300 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1301 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1302 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1303 { (exit 1); exit 1; }; }
1307 ac_cpp='$CPP $CPPFLAGS'
1308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1309 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1339 am__api_version="1.9"
1341 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1342 if test -f $ac_dir/install-sh; then
1344 ac_install_sh="$ac_aux_dir/install-sh -c"
1346 elif test -f $ac_dir/install.sh; then
1348 ac_install_sh="$ac_aux_dir/install.sh -c"
1350 elif test -f $ac_dir/shtool; then
1352 ac_install_sh="$ac_aux_dir/shtool install -c"
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Find a good install program. We prefer a C program (faster),
1366 # so one script is as good as another. But avoid the broken or
1367 # incompatible versions:
1368 # SysV /etc/install, /usr/sbin/install
1369 # SunOS /usr/etc/install
1370 # IRIX /sbin/install
1372 # AmigaOS /C/install, which installs bootblocks on floppy discs
1373 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1376 # OS/2's system install, which has a completely different semantic
1377 # ./install, which can be erroneously created by make from ./install.sh.
1378 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1379 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1380 if test -z "$INSTALL"; then
1381 if test "${ac_cv_path_install+set}" = set; then
1382 echo $ECHO_N "(cached) $ECHO_C" >&6
1384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1388 test -z "$as_dir" && as_dir
=.
1389 # Account for people who put trailing slashes in PATH elements.
1391 .
/ | .
// |
/cC
/* | \
1392 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1393 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1396 # OSF1 and SCO ODT 3.0 have their own names for install.
1397 # Don't use installbsd from OSF since it installs stuff as root
1399 for ac_prog
in ginstall scoinst
install; do
1400 for ac_exec_ext
in '' $ac_executable_extensions; do
1401 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1402 if test $ac_prog = install &&
1403 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1404 # AIX install. It has an incompatible calling convention.
1406 elif test $ac_prog = install &&
1407 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1408 # program-specific install script used by HP pwplus--don't use.
1411 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1423 if test "${ac_cv_path_install+set}" = set; then
1424 INSTALL
=$ac_cv_path_install
1426 # As a last resort, use the slow shell script. We don't cache a
1427 # path for INSTALL within a source directory, because that will
1428 # break other packages using the cache if that directory is
1429 # removed, or if the path is relative.
1430 INSTALL
=$ac_install_sh
1433 echo "$as_me:$LINENO: result: $INSTALL" >&5
1434 echo "${ECHO_T}$INSTALL" >&6
1436 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1437 # It thinks the first close brace ends the variable substitution.
1438 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1440 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1442 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1444 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1445 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1448 echo timestamp
> conftest.
file
1449 # Do `set' in a subshell so we don't clobber the current shell's
1450 # arguments. Must try -L first in case configure is actually a
1451 # symlink; some systems play weird games with the mod time of symlinks
1452 # (eg FreeBSD returns the mod time of the symlink's containing
1455 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1456 if test "$*" = "X"; then
1458 set X
`ls -t $srcdir/configure conftest.file`
1461 if test "$*" != "X $srcdir/configure conftest.file" \
1462 && test "$*" != "X conftest.file $srcdir/configure"; then
1464 # If neither matched, then we have a broken ls. This can happen
1465 # if, for instance, CONFIG_SHELL is bash and it inherits a
1466 # broken ls alias from the environment. This has actually
1467 # happened. Such a system could not be considered "sane".
1468 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1469 alias in your environment" >&5
1470 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1471 alias in your environment" >&2;}
1472 { (exit 1); exit 1; }; }
1475 test "$2" = conftest.
file
1481 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1482 Check your system clock" >&5
1483 echo "$as_me: error: newly created file is older than distributed files!
1484 Check your system clock" >&2;}
1485 { (exit 1); exit 1; }; }
1487 echo "$as_me:$LINENO: result: yes" >&5
1488 echo "${ECHO_T}yes" >&6
1489 test "$program_prefix" != NONE
&&
1490 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1491 # Use a double $ so make ignores it.
1492 test "$program_suffix" != NONE
&&
1493 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1494 # Double any \ or $. echo might interpret backslashes.
1495 # By default was `s,x,x', remove it if useless.
1496 cat <<\_ACEOF
>conftest.
sed
1497 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1499 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1502 # expand $ac_aux_dir to an absolute path
1503 am_aux_dir
=`cd $ac_aux_dir && pwd`
1505 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1506 # Use eval to expand $SHELL
1507 if eval "$MISSING --run true"; then
1508 am_missing_run
="$MISSING --run "
1511 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1512 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1515 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1516 # We used to keeping the `.' as first argument, in order to
1517 # allow $(mkdir_p) to be used without argument. As in
1518 # $(mkdir_p) $(somedir)
1519 # where $(somedir) is conditionally defined. However this is wrong
1521 # 1. if the package is installed by a user who cannot write `.'
1522 # make install will fail,
1523 # 2. the above comment should most certainly read
1524 # $(mkdir_p) $(DESTDIR)$(somedir)
1525 # so it does not work when $(somedir) is undefined and
1526 # $(DESTDIR) is not.
1527 # To support the latter case, we have to write
1528 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1529 # so the `.' trick is pointless.
1530 mkdir_p
='mkdir -p --'
1532 # On NextStep and OpenStep, the `mkdir' command does not
1533 # recognize any option. It will interpret all options as
1534 # directories to create, and then abort because `.' already
1536 for d
in .
/-p .
/--version;
1538 test -d $d && rmdir $d
1540 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1541 if test -f "$ac_aux_dir/mkinstalldirs"; then
1542 mkdir_p
='$(mkinstalldirs)'
1544 mkdir_p
='$(install_sh) -d'
1548 for ac_prog
in gawk mawk nawk
awk
1550 # Extract the first word of "$ac_prog", so it can be a program name with args.
1551 set dummy
$ac_prog; ac_word
=$2
1552 echo "$as_me:$LINENO: checking for $ac_word" >&5
1553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1554 if test "${ac_cv_prog_AWK+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 if test -n "$AWK"; then
1558 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1564 test -z "$as_dir" && as_dir
=.
1565 for ac_exec_ext
in '' $ac_executable_extensions; do
1566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1567 ac_cv_prog_AWK
="$ac_prog"
1568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1577 if test -n "$AWK"; then
1578 echo "$as_me:$LINENO: result: $AWK" >&5
1579 echo "${ECHO_T}$AWK" >&6
1581 echo "$as_me:$LINENO: result: no" >&5
1582 echo "${ECHO_T}no" >&6
1585 test -n "$AWK" && break
1588 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1589 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1590 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1591 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1592 echo $ECHO_N "(cached) $ECHO_C" >&6
1594 cat >conftest.
make <<\_ACEOF
1596 @
echo 'ac_maketemp="$(MAKE)"'
1598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1599 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1600 if test -n "$ac_maketemp"; then
1601 eval ac_cv_prog_make_
${ac_make}_set
=yes
1603 eval ac_cv_prog_make_
${ac_make}_set
=no
1607 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1608 echo "$as_me:$LINENO: result: yes" >&5
1609 echo "${ECHO_T}yes" >&6
1612 echo "$as_me:$LINENO: result: no" >&5
1613 echo "${ECHO_T}no" >&6
1614 SET_MAKE
="MAKE=${MAKE-make}"
1617 rm -rf .tst
2>/dev
/null
1618 mkdir .tst
2>/dev
/null
1619 if test -d .tst
; then
1624 rmdir .tst
2>/dev
/null
1626 # test to see if srcdir already configured
1627 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1628 test -f $srcdir/config.status
; then
1629 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1630 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1631 { (exit 1); exit 1; }; }
1634 # test whether we have cygpath
1635 if test -z "$CYGPATH_W"; then
1636 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1637 CYGPATH_W
='cygpath -w'
1644 # Define the identity of the package.
1649 cat >>confdefs.h
<<_ACEOF
1650 #define PACKAGE "$PACKAGE"
1654 cat >>confdefs.h
<<_ACEOF
1655 #define VERSION "$VERSION"
1658 # Some tools Automake needs.
1660 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1663 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1666 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1669 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1672 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1674 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1676 # Installed binaries are usually stripped using `strip' when the user
1677 # run `make install-strip'. However `strip' might not be the right
1678 # tool to use in cross-compilation environments, therefore Automake
1679 # will honor the `STRIP' environment variable to overrule this program.
1680 if test "$cross_compiling" != no
; then
1681 if test -n "$ac_tool_prefix"; then
1682 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1683 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1684 echo "$as_me:$LINENO: checking for $ac_word" >&5
1685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1686 if test "${ac_cv_prog_STRIP+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 if test -n "$STRIP"; then
1690 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1696 test -z "$as_dir" && as_dir
=.
1697 for ac_exec_ext
in '' $ac_executable_extensions; do
1698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1699 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708 STRIP
=$ac_cv_prog_STRIP
1709 if test -n "$STRIP"; then
1710 echo "$as_me:$LINENO: result: $STRIP" >&5
1711 echo "${ECHO_T}$STRIP" >&6
1713 echo "$as_me:$LINENO: result: no" >&5
1714 echo "${ECHO_T}no" >&6
1718 if test -z "$ac_cv_prog_STRIP"; then
1720 # Extract the first word of "strip", so it can be a program name with args.
1721 set dummy strip
; ac_word
=$2
1722 echo "$as_me:$LINENO: checking for $ac_word" >&5
1723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1724 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1725 echo $ECHO_N "(cached) $ECHO_C" >&6
1727 if test -n "$ac_ct_STRIP"; then
1728 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1734 test -z "$as_dir" && as_dir
=.
1735 for ac_exec_ext
in '' $ac_executable_extensions; do
1736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1737 ac_cv_prog_ac_ct_STRIP
="strip"
1738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1744 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1747 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1748 if test -n "$ac_ct_STRIP"; then
1749 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1750 echo "${ECHO_T}$ac_ct_STRIP" >&6
1752 echo "$as_me:$LINENO: result: no" >&5
1753 echo "${ECHO_T}no" >&6
1758 STRIP
="$ac_cv_prog_STRIP"
1762 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1764 # We need awk for the "check" target. The system "awk" is bad on
1766 # Always define AMTAR for backward compatibility.
1768 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1770 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1776 ac_config_headers
="$ac_config_headers config.h:conf.in"
1779 # checks for programs
1783 if test -n "$ac_aux_dir"; then
1784 case "$ac_aux_dir" in
1785 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
1786 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
1789 if test -z "$MKINSTALLDIRS"; then
1790 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
1795 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
1796 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
1797 # Check whether --enable-nls or --disable-nls was given.
1798 if test "${enable_nls+set}" = set; then
1799 enableval
="$enable_nls"
1804 echo "$as_me:$LINENO: result: $USE_NLS" >&5
1805 echo "${ECHO_T}$USE_NLS" >&6
1812 # Prepare PATH_SEPARATOR.
1813 # The user is always right.
1814 if test "${PATH_SEPARATOR+set}" != set; then
1815 echo "#! /bin/sh" >conf$$.sh
1816 echo "exit 0" >>conf$$.sh
1818 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
1826 # Find out how to test for executable files. Don't use a zero-byte file,
1827 # as systems may use methods other than mode bits to determine executability.
1828 cat >conf$$.
file <<_ASEOF
1832 chmod +x conf$$.
file
1833 if test -x conf$$.
file >/dev
/null
2>&1; then
1834 ac_executable_p
="test -x"
1836 ac_executable_p
="test -f"
1840 # Extract the first word of "msgfmt", so it can be a program name with args.
1841 set dummy msgfmt
; ac_word
=$2
1842 echo "$as_me:$LINENO: checking for $ac_word" >&5
1843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1844 if test "${ac_cv_path_MSGFMT+set}" = set; then
1845 echo $ECHO_N "(cached) $ECHO_C" >&6
1849 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
1852 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
1853 for ac_dir
in $PATH; do
1855 test -z "$ac_dir" && ac_dir
=.
1856 for ac_exec_ext
in '' $ac_executable_extensions; do
1857 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1858 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
1859 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
1860 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
1867 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
1871 MSGFMT
="$ac_cv_path_MSGFMT"
1872 if test "$MSGFMT" != ":"; then
1873 echo "$as_me:$LINENO: result: $MSGFMT" >&5
1874 echo "${ECHO_T}$MSGFMT" >&6
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1880 # Extract the first word of "gmsgfmt", so it can be a program name with args.
1881 set dummy gmsgfmt
; ac_word
=$2
1882 echo "$as_me:$LINENO: checking for $ac_word" >&5
1883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1884 if test "${ac_cv_path_GMSGFMT+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
1892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1896 test -z "$as_dir" && as_dir
=.
1897 for ac_exec_ext
in '' $ac_executable_extensions; do
1898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1899 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
1900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
1910 GMSGFMT
=$ac_cv_path_GMSGFMT
1912 if test -n "$GMSGFMT"; then
1913 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
1914 echo "${ECHO_T}$GMSGFMT" >&6
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1922 # Prepare PATH_SEPARATOR.
1923 # The user is always right.
1924 if test "${PATH_SEPARATOR+set}" != set; then
1925 echo "#! /bin/sh" >conf$$.sh
1926 echo "exit 0" >>conf$$.sh
1928 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
1936 # Find out how to test for executable files. Don't use a zero-byte file,
1937 # as systems may use methods other than mode bits to determine executability.
1938 cat >conf$$.
file <<_ASEOF
1942 chmod +x conf$$.
file
1943 if test -x conf$$.
file >/dev
/null
2>&1; then
1944 ac_executable_p
="test -x"
1946 ac_executable_p
="test -f"
1950 # Extract the first word of "xgettext", so it can be a program name with args.
1951 set dummy xgettext
; ac_word
=$2
1952 echo "$as_me:$LINENO: checking for $ac_word" >&5
1953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1954 if test "${ac_cv_path_XGETTEXT+set}" = set; then
1955 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
1962 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
1963 for ac_dir
in $PATH; do
1965 test -z "$ac_dir" && ac_dir
=.
1966 for ac_exec_ext
in '' $ac_executable_extensions; do
1967 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1968 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
1969 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
1970 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
1977 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
1981 XGETTEXT
="$ac_cv_path_XGETTEXT"
1982 if test "$XGETTEXT" != ":"; then
1983 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
1984 echo "${ECHO_T}$XGETTEXT" >&6
1986 echo "$as_me:$LINENO: result: no" >&5
1987 echo "${ECHO_T}no" >&6
1993 # Prepare PATH_SEPARATOR.
1994 # The user is always right.
1995 if test "${PATH_SEPARATOR+set}" != set; then
1996 echo "#! /bin/sh" >conf$$.sh
1997 echo "exit 0" >>conf$$.sh
1999 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
2007 # Find out how to test for executable files. Don't use a zero-byte file,
2008 # as systems may use methods other than mode bits to determine executability.
2009 cat >conf$$.
file <<_ASEOF
2013 chmod +x conf$$.
file
2014 if test -x conf$$.
file >/dev
/null
2>&1; then
2015 ac_executable_p
="test -x"
2017 ac_executable_p
="test -f"
2021 # Extract the first word of "msgmerge", so it can be a program name with args.
2022 set dummy msgmerge
; ac_word
=$2
2023 echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025 if test "${ac_cv_path_MSGMERGE+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2030 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
2033 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
2034 for ac_dir
in $PATH; do
2036 test -z "$ac_dir" && ac_dir
=.
2037 for ac_exec_ext
in '' $ac_executable_extensions; do
2038 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2039 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
2040 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
2047 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
2051 MSGMERGE
="$ac_cv_path_MSGMERGE"
2052 if test "$MSGMERGE" != ":"; then
2053 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
2054 echo "${ECHO_T}$MSGMERGE" >&6
2056 echo "$as_me:$LINENO: result: no" >&5
2057 echo "${ECHO_T}no" >&6
2061 if test "$GMSGFMT" != ":"; then
2062 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
2063 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
2066 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
2067 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
2068 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
2073 if test "$XGETTEXT" != ":"; then
2074 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
2075 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
2078 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
2079 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
2085 ac_config_commands
="$ac_config_commands default-1"
2089 if test "X$prefix" = "XNONE"; then
2090 acl_final_prefix
="$ac_default_prefix"
2092 acl_final_prefix
="$prefix"
2094 if test "X$exec_prefix" = "XNONE"; then
2095 acl_final_exec_prefix
='${prefix}'
2097 acl_final_exec_prefix
="$exec_prefix"
2099 acl_save_prefix
="$prefix"
2100 prefix
="$acl_final_prefix"
2101 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
2102 prefix
="$acl_save_prefix"
2104 DEPDIR
="${am__leading_dot}deps"
2106 ac_config_commands
="$ac_config_commands depfiles"
2109 am_make
=${MAKE-make}
2110 cat > confinc
<< 'END'
2115 # If we don't find an include directive, just comment out the code.
2116 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2117 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2121 # First try GNU make style include.
2122 echo "include confinc" > confmf
2123 # We grep out `Entering directory' and `Leaving directory'
2124 # messages which can occur if `w' ends up in MAKEFLAGS.
2125 # In particular we don't look at `^make:' because GNU make might
2126 # be invoked under some other name (usually "gmake"), in which
2127 # case it prints its new name instead of `make'.
2128 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2133 # Now try BSD make style include.
2134 if test "$am__include" = "#"; then
2135 echo '.include "confinc"' > confmf
2136 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2137 am__include
=.include
2144 echo "$as_me:$LINENO: result: $_am_result" >&5
2145 echo "${ECHO_T}$_am_result" >&6
2146 rm -f confinc confmf
2148 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2149 if test "${enable_dependency_tracking+set}" = set; then
2150 enableval
="$enable_dependency_tracking"
2153 if test "x$enable_dependency_tracking" != xno
; then
2154 am_depcomp
="$ac_aux_dir/depcomp"
2159 if test "x$enable_dependency_tracking" != xno; then
2170 ac_cpp
='$CPP $CPPFLAGS'
2171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2174 if test -n "$ac_tool_prefix"; then
2175 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2176 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2177 echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2179 if test "${ac_cv_prog_CC+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 if test -n "$CC"; then
2183 ac_cv_prog_CC
="$CC" # Let the user override the test.
2185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2189 test -z "$as_dir" && as_dir
=.
2190 for ac_exec_ext
in '' $ac_executable_extensions; do
2191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2192 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202 if test -n "$CC"; then
2203 echo "$as_me:$LINENO: result: $CC" >&5
2204 echo "${ECHO_T}$CC" >&6
2206 echo "$as_me:$LINENO: result: no" >&5
2207 echo "${ECHO_T}no" >&6
2211 if test -z "$ac_cv_prog_CC"; then
2213 # Extract the first word of "gcc", so it can be a program name with args.
2214 set dummy gcc
; ac_word
=$2
2215 echo "$as_me:$LINENO: checking for $ac_word" >&5
2216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 if test -n "$ac_ct_CC"; then
2221 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2227 test -z "$as_dir" && as_dir
=.
2228 for ac_exec_ext
in '' $ac_executable_extensions; do
2229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2230 ac_cv_prog_ac_ct_CC
="gcc"
2231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2239 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2240 if test -n "$ac_ct_CC"; then
2241 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2242 echo "${ECHO_T}$ac_ct_CC" >&6
2244 echo "$as_me:$LINENO: result: no" >&5
2245 echo "${ECHO_T}no" >&6
2253 if test -z "$CC"; then
2254 if test -n "$ac_tool_prefix"; then
2255 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2256 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC
="$CC" # Let the user override the test.
2265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir
=.
2270 for ac_exec_ext
in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 if test -n "$CC"; then
2283 echo "$as_me:$LINENO: result: $CC" >&5
2284 echo "${ECHO_T}$CC" >&6
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2291 if test -z "$ac_cv_prog_CC"; then
2293 # Extract the first word of "cc", so it can be a program name with args.
2294 set dummy cc
; ac_word
=$2
2295 echo "$as_me:$LINENO: checking for $ac_word" >&5
2296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2297 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6
2300 if test -n "$ac_ct_CC"; then
2301 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir
=.
2308 for ac_exec_ext
in '' $ac_executable_extensions; do
2309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2310 ac_cv_prog_ac_ct_CC
="cc"
2311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2319 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2320 if test -n "$ac_ct_CC"; then
2321 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2322 echo "${ECHO_T}$ac_ct_CC" >&6
2324 echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6
2334 if test -z "$CC"; then
2335 # Extract the first word of "cc", so it can be a program name with args.
2336 set dummy cc
; ac_word
=$2
2337 echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2339 if test "${ac_cv_prog_CC+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$CC"; then
2343 ac_cv_prog_CC
="$CC" # Let the user override the test.
2346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir
=.
2351 for ac_exec_ext
in '' $ac_executable_extensions; do
2352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2353 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2354 ac_prog_rejected
=yes
2358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 if test $ac_prog_rejected = yes; then
2365 # We found a bogon in the path, so make sure we never use it.
2366 set dummy
$ac_cv_prog_CC
2368 if test $# != 0; then
2369 # We chose a different compiler from the bogus one.
2370 # However, it has the same basename, so the bogon will be chosen
2371 # first if we set CC to just the basename; use the full file name.
2373 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2379 if test -n "$CC"; then
2380 echo "$as_me:$LINENO: result: $CC" >&5
2381 echo "${ECHO_T}$CC" >&6
2383 echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6
2388 if test -z "$CC"; then
2389 if test -n "$ac_tool_prefix"; then
2392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2393 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2394 echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2396 if test "${ac_cv_prog_CC+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 if test -n "$CC"; then
2400 ac_cv_prog_CC
="$CC" # Let the user override the test.
2402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir
=.
2407 for ac_exec_ext
in '' $ac_executable_extensions; do
2408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2409 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 if test -n "$CC"; then
2420 echo "$as_me:$LINENO: result: $CC" >&5
2421 echo "${ECHO_T}$CC" >&6
2423 echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6
2427 test -n "$CC" && break
2430 if test -z "$CC"; then
2434 # Extract the first word of "$ac_prog", so it can be a program name with args.
2435 set dummy
$ac_prog; ac_word
=$2
2436 echo "$as_me:$LINENO: checking for $ac_word" >&5
2437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2438 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 if test -n "$ac_ct_CC"; then
2442 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2448 test -z "$as_dir" && as_dir
=.
2449 for ac_exec_ext
in '' $ac_executable_extensions; do
2450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2451 ac_cv_prog_ac_ct_CC
="$ac_prog"
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2461 if test -n "$ac_ct_CC"; then
2462 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2463 echo "${ECHO_T}$ac_ct_CC" >&6
2465 echo "$as_me:$LINENO: result: no" >&5
2466 echo "${ECHO_T}no" >&6
2469 test -n "$ac_ct_CC" && break
2478 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: no acceptable C compiler found in \$PATH
2481 See \`config.log' for more details." >&2;}
2482 { (exit 1); exit 1; }; }
2484 # Provide some information about the compiler.
2485 echo "$as_me:$LINENO:" \
2486 "checking for C compiler version" >&5
2487 ac_compiler
=`set X $ac_compile; echo $2`
2488 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2489 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }
2493 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2494 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }
2498 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2499 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }
2504 cat >conftest.
$ac_ext <<_ACEOF
2507 cat confdefs.h
>>conftest.
$ac_ext
2508 cat >>conftest.
$ac_ext <<_ACEOF
2509 /* end confdefs.h. */
2519 ac_clean_files_save
=$ac_clean_files
2520 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2521 # Try to create an executable without -o first, disregard a.out.
2522 # It will help us diagnose broken compilers, and finding out an intuition
2524 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2525 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2526 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2527 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2528 (eval $ac_link_default) 2>&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; then
2532 # Find the output, starting from the most likely. This scheme is
2533 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2536 # Be careful to initialize this variable, since it used to be cached.
2537 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2539 # b.out is created by i960 compilers.
2540 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2542 test -f "$ac_file" ||
continue
2544 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2547 # This is the source file.
2550 # We found the default executable, but exeext='' is most
2554 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2555 # FIXME: I believe we export ac_cv_exeext for Libtool,
2556 # but it would be cool to find out if it's true. Does anybody
2557 # maintain Libtool? --akim.
2565 echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.
$ac_ext >&5
2568 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2569 See \`config.log' for more details." >&5
2570 echo "$as_me: error: C compiler cannot create executables
2571 See \`config.log' for more details." >&2;}
2572 { (exit 77); exit 77; }; }
2575 ac_exeext
=$ac_cv_exeext
2576 echo "$as_me:$LINENO: result: $ac_file" >&5
2577 echo "${ECHO_T}$ac_file" >&6
2579 # Check the compiler produces executables we can run. If not, either
2580 # the compiler is broken, or we cross compile.
2581 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2582 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2583 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2584 # If not cross compiling, check that we can run a simple program.
2585 if test "$cross_compiling" != yes; then
2586 if { ac_try
='./$ac_file'
2587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); }; }; then
2594 if test "$cross_compiling" = maybe
; then
2597 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2598 If you meant to cross compile, use \`--host'.
2599 See \`config.log' for more details." >&5
2600 echo "$as_me: error: cannot run C compiled programs.
2601 If you meant to cross compile, use \`--host'.
2602 See \`config.log' for more details." >&2;}
2603 { (exit 1); exit 1; }; }
2607 echo "$as_me:$LINENO: result: yes" >&5
2608 echo "${ECHO_T}yes" >&6
2610 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2611 ac_clean_files
=$ac_clean_files_save
2612 # Check the compiler produces executables we can run. If not, either
2613 # the compiler is broken, or we cross compile.
2614 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2615 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2616 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2617 echo "${ECHO_T}$cross_compiling" >&6
2619 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2620 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2622 (eval $ac_link) 2>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; then
2626 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2627 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2628 # work properly (i.e., refer to `conftest.exe'), while it won't with
2630 for ac_file
in conftest.exe conftest conftest.
*; do
2631 test -f "$ac_file" ||
continue
2633 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2634 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2641 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2642 See \`config.log' for more details." >&5
2643 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2644 See \`config.log' for more details." >&2;}
2645 { (exit 1); exit 1; }; }
2648 rm -f conftest
$ac_cv_exeext
2649 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2650 echo "${ECHO_T}$ac_cv_exeext" >&6
2652 rm -f conftest.
$ac_ext
2653 EXEEXT
=$ac_cv_exeext
2655 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2656 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2657 if test "${ac_cv_objext+set}" = set; then
2658 echo $ECHO_N "(cached) $ECHO_C" >&6
2660 cat >conftest.
$ac_ext <<_ACEOF
2663 cat confdefs.h
>>conftest.
$ac_ext
2664 cat >>conftest.
$ac_ext <<_ACEOF
2665 /* end confdefs.h. */
2675 rm -f conftest.o conftest.obj
2676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2677 (eval $ac_compile) 2>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; then
2681 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2683 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2684 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2689 echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.
$ac_ext >&5
2692 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2693 See \`config.log' for more details." >&5
2694 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2695 See \`config.log' for more details." >&2;}
2696 { (exit 1); exit 1; }; }
2699 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2701 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2702 echo "${ECHO_T}$ac_cv_objext" >&6
2703 OBJEXT
=$ac_cv_objext
2705 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2706 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2707 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 cat >conftest.
$ac_ext <<_ACEOF
2713 cat confdefs.h
>>conftest.
$ac_ext
2714 cat >>conftest.
$ac_ext <<_ACEOF
2715 /* end confdefs.h. */
2728 rm -f conftest.
$ac_objext
2729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2730 (eval $ac_compile) 2>conftest.er1
2732 grep -v '^ *+' conftest.er1
>conftest.err
2734 cat conftest.err
>&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); } &&
2737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; } &&
2743 { ac_try
='test -s conftest.$ac_objext'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2751 echo "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.
$ac_ext >&5
2756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2757 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2760 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2761 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2762 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2763 ac_test_CFLAGS
=${CFLAGS+set}
2764 ac_save_CFLAGS
=$CFLAGS
2766 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2767 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2768 if test "${ac_cv_prog_cc_g+set}" = set; then
2769 echo $ECHO_N "(cached) $ECHO_C" >&6
2771 cat >conftest.
$ac_ext <<_ACEOF
2774 cat confdefs.h
>>conftest.
$ac_ext
2775 cat >>conftest.
$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2786 rm -f conftest.
$ac_objext
2787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2788 (eval $ac_compile) 2>conftest.er1
2790 grep -v '^ *+' conftest.er1
>conftest.err
2792 cat conftest.err
>&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); } &&
2795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; } &&
2801 { ac_try
='test -s conftest.$ac_objext'
2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }; }; then
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.
$ac_ext >&5
2814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2816 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2817 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2818 if test "$ac_test_CFLAGS" = set; then
2819 CFLAGS
=$ac_save_CFLAGS
2820 elif test $ac_cv_prog_cc_g = yes; then
2821 if test "$GCC" = yes; then
2827 if test "$GCC" = yes; then
2833 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2834 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2835 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2836 echo $ECHO_N "(cached) $ECHO_C" >&6
2838 ac_cv_prog_cc_stdc
=no
2840 cat >conftest.
$ac_ext <<_ACEOF
2843 cat confdefs.h
>>conftest.
$ac_ext
2844 cat >>conftest.
$ac_ext <<_ACEOF
2845 /* end confdefs.h. */
2848 #include <sys/types.h>
2849 #include <sys/stat.h>
2850 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2851 struct buf { int x; };
2852 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2853 static char *e (p, i)
2859 static char *f (char * (*g) (char **, int), char **p, ...)
2864 s = g (p, va_arg (v,int));
2869 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2870 function prototypes and stuff, but not '\xHH' hex character constants.
2871 These don't provoke an error unfortunately, instead are silently treated
2872 as 'x'. The following induces an error, until -std1 is added to get
2873 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2874 array size at least. It's necessary to write '\x00'==0 to get something
2875 that's true only with -std1. */
2876 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2878 int test (int i, double x);
2879 struct s1 {int (*f) (int a);};
2880 struct s2 {int (*f) (double a);};
2881 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2887 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2892 # Don't try gcc -ansi; that turns off useful extensions and
2893 # breaks some systems' header files.
2894 # AIX -qlanglvl=ansi
2895 # Ultrix and OSF/1 -std1
2896 # HP-UX 10.20 and later -Ae
2897 # HP-UX older versions -Aa -D_HPUX_SOURCE
2898 # SVR4 -Xc -D__EXTENSIONS__
2899 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2901 CC
="$ac_save_CC $ac_arg"
2902 rm -f conftest.
$ac_objext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2904 (eval $ac_compile) 2>conftest.er1
2906 grep -v '^ *+' conftest.er1
>conftest.err
2908 cat conftest.err
>&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } &&
2911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); }; } &&
2917 { ac_try
='test -s conftest.$ac_objext'
2918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); }; }; then
2923 ac_cv_prog_cc_stdc
=$ac_arg
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.
$ac_ext >&5
2930 rm -f conftest.err conftest.
$ac_objext
2932 rm -f conftest.
$ac_ext conftest.
$ac_objext
2937 case "x$ac_cv_prog_cc_stdc" in
2939 echo "$as_me:$LINENO: result: none needed" >&5
2940 echo "${ECHO_T}none needed" >&6 ;;
2942 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2943 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2944 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2947 # Some people use a C++ compiler to compile C. Since we use `exit',
2948 # in C++ we need to declare it. In case someone uses the same compiler
2949 # for both compiling C and C++ we need to have the C++ compiler decide
2950 # the declaration of exit, since it's the most demanding environment.
2951 cat >conftest.
$ac_ext <<_ACEOF
2956 rm -f conftest.
$ac_objext
2957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2958 (eval $ac_compile) 2>conftest.er1
2960 grep -v '^ *+' conftest.er1
>conftest.err
2962 cat conftest.err
>&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); } &&
2965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; } &&
2971 { ac_try
='test -s conftest.$ac_objext'
2972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); }; }; then
2977 for ac_declaration
in \
2979 'extern "C" void std::exit (int) throw (); using std::exit;' \
2980 'extern "C" void std::exit (int); using std::exit;' \
2981 'extern "C" void exit (int) throw ();' \
2982 'extern "C" void exit (int);' \
2985 cat >conftest.
$ac_ext <<_ACEOF
2988 cat confdefs.h
>>conftest.
$ac_ext
2989 cat >>conftest.
$ac_ext <<_ACEOF
2990 /* end confdefs.h. */
3001 rm -f conftest.
$ac_objext
3002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3003 (eval $ac_compile) 2>conftest.er1
3005 grep -v '^ *+' conftest.er1
>conftest.err
3007 cat conftest.err
>&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); } &&
3010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }; } &&
3016 { ac_try
='test -s conftest.$ac_objext'
3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; }; then
3024 echo "$as_me: failed program was:" >&5
3025 sed 's/^/| /' conftest.
$ac_ext >&5
3029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3030 cat >conftest.
$ac_ext <<_ACEOF
3033 cat confdefs.h
>>conftest.
$ac_ext
3034 cat >>conftest.
$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3045 rm -f conftest.
$ac_objext
3046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3047 (eval $ac_compile) 2>conftest.er1
3049 grep -v '^ *+' conftest.er1
>conftest.err
3051 cat conftest.err
>&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); } &&
3054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); }; } &&
3060 { ac_try
='test -s conftest.$ac_objext'
3061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); }; }; then
3068 echo "$as_me: failed program was:" >&5
3069 sed 's/^/| /' conftest.
$ac_ext >&5
3072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3075 if test -n "$ac_declaration"; then
3076 echo '#ifdef __cplusplus' >>confdefs.h
3077 echo $ac_declaration >>confdefs.h
3078 echo '#endif' >>confdefs.h
3082 echo "$as_me: failed program was:" >&5
3083 sed 's/^/| /' conftest.
$ac_ext >&5
3086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3088 ac_cpp
='$CPP $CPPFLAGS'
3089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3093 depcc
="$CC" am_compiler_list
=
3095 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3096 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3097 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3098 echo $ECHO_N "(cached) $ECHO_C" >&6
3100 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3101 # We make a subdir and do the tests there. Otherwise we can end up
3102 # making bogus files that we don't know about and never remove. For
3103 # instance it was reported that on HP-UX the gcc test will end up
3104 # making a dummy file named `D' -- because `-MD' means `put the output
3107 # Copy depcomp to subdir because otherwise we won't find it if we're
3108 # using a relative directory.
3109 cp "$am_depcomp" conftest.dir
3111 # We will build objects and dependencies in a subdirectory because
3112 # it helps to detect inapplicable dependency modes. For instance
3113 # both Tru64's cc and ICC support -MD to output dependencies as a
3114 # side effect of compilation, but ICC will put the dependencies in
3115 # the current directory while Tru64 will put them in the object
3119 am_cv_CC_dependencies_compiler_type
=none
3120 if test "$am_compiler_list" = ""; then
3121 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3123 for depmode
in $am_compiler_list; do
3124 # Setup a source with many dependencies, because some compilers
3125 # like to wrap large dependency lists on column 80 (with \), and
3126 # we should not choose a depcomp mode which is confused by this.
3128 # We need to recreate these files for each test, as the compiler may
3129 # overwrite some of them when testing with obscure command lines.
3130 # This happens at least with the AIX C compiler.
3132 for i
in 1 2 3 4 5 6; do
3133 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3134 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3135 # Solaris 8's {/usr,}/bin/sh.
3136 touch sub
/conftst
$i.h
3138 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3142 # after this tag, mechanisms are not by side-effect, so they'll
3143 # only be used when explicitly requested
3144 if test "x$enable_dependency_tracking" = xyes
; then
3152 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3153 # mode. It turns out that the SunPro C++ compiler does not properly
3154 # handle `-M -o', and we need to detect this.
3155 if depmode
=$depmode \
3156 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3157 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3158 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3159 >/dev
/null
2>conftest.err
&&
3160 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3161 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3162 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3163 # icc doesn't choke on unknown options, it will just issue warnings
3164 # or remarks (even with -Werror). So we grep stderr for any message
3165 # that says an option was ignored or not supported.
3166 # When given -MP, icc 7.0 and 7.1 complain thusly:
3167 # icc: Command line warning: ignoring option '-M'; no argument required
3168 # The diagnosis changed in icc 8.0:
3169 # icc: Command line remark: option '-MP' not supported
3170 if (grep 'ignoring option' conftest.err ||
3171 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3172 am_cv_CC_dependencies_compiler_type
=$depmode
3181 am_cv_CC_dependencies_compiler_type
=none
3185 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3186 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3187 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3192 test "x$enable_dependency_tracking" != xno \
3193 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3195 am__fastdepCC_FALSE
='#'
3197 am__fastdepCC_TRUE
='#'
3198 am__fastdepCC_FALSE
=
3202 # Make sure we can run config.sub.
3203 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3204 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3205 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3206 { (exit 1); exit 1; }; }
3208 echo "$as_me:$LINENO: checking build system type" >&5
3209 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3210 if test "${ac_cv_build+set}" = set; then
3211 echo $ECHO_N "(cached) $ECHO_C" >&6
3213 ac_cv_build_alias
=$build_alias
3214 test -z "$ac_cv_build_alias" &&
3215 ac_cv_build_alias
=`$ac_config_guess`
3216 test -z "$ac_cv_build_alias" &&
3217 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3218 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3219 { (exit 1); exit 1; }; }
3220 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3221 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3222 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3223 { (exit 1); exit 1; }; }
3226 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3227 echo "${ECHO_T}$ac_cv_build" >&6
3229 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3230 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3231 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3234 echo "$as_me:$LINENO: checking host system type" >&5
3235 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3236 if test "${ac_cv_host+set}" = set; then
3237 echo $ECHO_N "(cached) $ECHO_C" >&6
3239 ac_cv_host_alias
=$host_alias
3240 test -z "$ac_cv_host_alias" &&
3241 ac_cv_host_alias
=$ac_cv_build_alias
3242 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3243 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3244 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3245 { (exit 1); exit 1; }; }
3248 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3249 echo "${ECHO_T}$ac_cv_host" >&6
3251 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3252 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3253 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3257 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3258 if test "${with_gnu_ld+set}" = set; then
3259 withval
="$with_gnu_ld"
3260 test "$withval" = no || with_gnu_ld
=yes
3264 # Prepare PATH_SEPARATOR.
3265 # The user is always right.
3266 if test "${PATH_SEPARATOR+set}" != set; then
3267 echo "#! /bin/sh" >conf$$.sh
3268 echo "exit 0" >>conf$$.sh
3270 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3278 if test "$GCC" = yes; then
3279 # Check if gcc -print-prog-name=ld gives a path.
3280 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3281 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3284 # gcc leaves a trailing carriage return which upsets mingw
3285 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3287 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3290 # Accept absolute paths.
3291 [\\/]* |
[A-Za-z
]:[\\/]*)
3292 re_direlt
='/[^/][^/]*/\.\./'
3293 # Canonicalize the path of ld
3294 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3295 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3296 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3298 test -z "$LD" && LD
="$ac_prog"
3301 # If it fails, then pretend we aren't using GCC.
3305 # If it is relative, then search for the first ld in PATH.
3309 elif test "$with_gnu_ld" = yes; then
3310 echo "$as_me:$LINENO: checking for GNU ld" >&5
3311 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3313 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3314 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3316 if test "${acl_cv_path_LD+set}" = set; then
3317 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 if test -z "$LD"; then
3320 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3321 for ac_dir
in $PATH; do
3322 test -z "$ac_dir" && ac_dir
=.
3323 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3324 acl_cv_path_LD
="$ac_dir/$ac_prog"
3325 # Check to see if the program is GNU ld. I'd rather use --version,
3326 # but apparently some GNU ld's only accept -v.
3327 # Break only if it was the GNU/non-GNU ld that we prefer.
3328 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3329 test "$with_gnu_ld" != no
&& break
3331 test "$with_gnu_ld" != yes && break
3337 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
3341 LD
="$acl_cv_path_LD"
3342 if test -n "$LD"; then
3343 echo "$as_me:$LINENO: result: $LD" >&5
3344 echo "${ECHO_T}$LD" >&6
3346 echo "$as_me:$LINENO: result: no" >&5
3347 echo "${ECHO_T}no" >&6
3349 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3350 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3351 { (exit 1); exit 1; }; }
3352 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3353 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3354 if test "${acl_cv_prog_gnu_ld+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6
3357 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3358 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3359 acl_cv_prog_gnu_ld
=yes
3361 acl_cv_prog_gnu_ld
=no
3364 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
3365 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
3366 with_gnu_ld
=$acl_cv_prog_gnu_ld
3370 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3371 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
3372 if test "${acl_cv_rpath+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
3377 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3383 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3384 echo "${ECHO_T}$acl_cv_rpath" >&6
3386 libext
="$acl_cv_libext"
3387 shlibext
="$acl_cv_shlibext"
3388 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
3389 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
3390 hardcode_direct
="$acl_cv_hardcode_direct"
3391 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
3392 # Check whether --enable-rpath or --disable-rpath was given.
3393 if test "${enable_rpath+set}" = set; then
3394 enableval
="$enable_rpath"
3408 acl_save_prefix
="$prefix"
3409 prefix
="$acl_final_prefix"
3410 acl_save_exec_prefix
="$exec_prefix"
3411 exec_prefix
="$acl_final_exec_prefix"
3413 eval additional_includedir
=\"$includedir\"
3414 eval additional_libdir
=\"$libdir\"
3416 exec_prefix
="$acl_save_exec_prefix"
3417 prefix
="$acl_save_prefix"
3420 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
3421 if test "${with_libiconv_prefix+set}" = set; then
3422 withval
="$with_libiconv_prefix"
3424 if test "X$withval" = "Xno"; then
3427 if test "X$withval" = "X"; then
3429 acl_save_prefix
="$prefix"
3430 prefix
="$acl_final_prefix"
3431 acl_save_exec_prefix
="$exec_prefix"
3432 exec_prefix
="$acl_final_exec_prefix"
3434 eval additional_includedir
=\"$includedir\"
3435 eval additional_libdir
=\"$libdir\"
3437 exec_prefix
="$acl_save_exec_prefix"
3438 prefix
="$acl_save_prefix"
3441 additional_includedir
="$withval/include"
3442 additional_libdir
="$withval/lib"
3452 names_already_handled
=
3453 names_next_round
='iconv '
3454 while test -n "$names_next_round"; do
3455 names_this_round
="$names_next_round"
3457 for name
in $names_this_round; do
3459 for n
in $names_already_handled; do
3460 if test "$n" = "$name"; then
3465 if test -z "$already_handled"; then
3466 names_already_handled
="$names_already_handled $name"
3467 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3468 eval value
=\"\
$HAVE_LIB$uppername\"
3469 if test -n "$value"; then
3470 if test "$value" = yes; then
3471 eval value
=\"\
$LIB$uppername\"
3472 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
3473 eval value
=\"\
$LTLIB$uppername\"
3474 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
3483 if test $use_additional = yes; then
3484 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3485 found_dir
="$additional_libdir"
3486 found_so
="$additional_libdir/lib$name.$shlibext"
3487 if test -f "$additional_libdir/lib$name.la"; then
3488 found_la
="$additional_libdir/lib$name.la"
3491 if test -f "$additional_libdir/lib$name.$libext"; then
3492 found_dir
="$additional_libdir"
3493 found_a
="$additional_libdir/lib$name.$libext"
3494 if test -f "$additional_libdir/lib$name.la"; then
3495 found_la
="$additional_libdir/lib$name.la"
3500 if test "X$found_dir" = "X"; then
3501 for x
in $LDFLAGS $LTLIBICONV; do
3503 acl_save_prefix
="$prefix"
3504 prefix
="$acl_final_prefix"
3505 acl_save_exec_prefix
="$exec_prefix"
3506 exec_prefix
="$acl_final_exec_prefix"
3508 exec_prefix
="$acl_save_exec_prefix"
3509 prefix
="$acl_save_prefix"
3513 dir
=`echo "X$x" | sed -e 's/^X-L//'`
3514 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3516 found_so
="$dir/lib$name.$shlibext"
3517 if test -f "$dir/lib$name.la"; then
3518 found_la
="$dir/lib$name.la"
3521 if test -f "$dir/lib$name.$libext"; then
3523 found_a
="$dir/lib$name.$libext"
3524 if test -f "$dir/lib$name.la"; then
3525 found_la
="$dir/lib$name.la"
3531 if test "X$found_dir" != "X"; then
3536 if test "X$found_dir" != "X"; then
3537 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
3538 if test "X$found_so" != "X"; then
3539 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
3540 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
3543 for x
in $ltrpathdirs; do
3544 if test "X$x" = "X$found_dir"; then
3549 if test -z "$haveit"; then
3550 ltrpathdirs
="$ltrpathdirs $found_dir"
3552 if test "$hardcode_direct" = yes; then
3553 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
3555 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
3556 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
3558 for x
in $rpathdirs; do
3559 if test "X$x" = "X$found_dir"; then
3564 if test -z "$haveit"; then
3565 rpathdirs
="$rpathdirs $found_dir"
3569 for x
in $LDFLAGS $LIBICONV; do
3571 acl_save_prefix
="$prefix"
3572 prefix
="$acl_final_prefix"
3573 acl_save_exec_prefix
="$exec_prefix"
3574 exec_prefix
="$acl_final_exec_prefix"
3576 exec_prefix
="$acl_save_exec_prefix"
3577 prefix
="$acl_save_prefix"
3579 if test "X$x" = "X-L$found_dir"; then
3584 if test -z "$haveit"; then
3585 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
3587 if test "$hardcode_minus_L" != no
; then
3588 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
3590 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
3596 if test "X$found_a" != "X"; then
3597 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
3599 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
3602 additional_includedir
=
3603 case "$found_dir" in
3605 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
3606 additional_includedir
="$basedir/include"
3609 if test "X$additional_includedir" != "X"; then
3610 if test "X$additional_includedir" != "X/usr/include"; then
3612 if test "X$additional_includedir" = "X/usr/local/include"; then
3613 if test -n "$GCC"; then
3615 linux
*) haveit
=yes;;
3619 if test -z "$haveit"; then
3620 for x
in $CPPFLAGS $INCICONV; do
3622 acl_save_prefix
="$prefix"
3623 prefix
="$acl_final_prefix"
3624 acl_save_exec_prefix
="$exec_prefix"
3625 exec_prefix
="$acl_final_exec_prefix"
3627 exec_prefix
="$acl_save_exec_prefix"
3628 prefix
="$acl_save_prefix"
3630 if test "X$x" = "X-I$additional_includedir"; then
3635 if test -z "$haveit"; then
3636 if test -d "$additional_includedir"; then
3637 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
3643 if test -n "$found_la"; then
3644 save_libdir
="$libdir"
3646 */* |
*\\*) .
"$found_la" ;;
3647 *) .
"./$found_la" ;;
3649 libdir
="$save_libdir"
3650 for dep
in $dependency_libs; do
3653 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
3654 if test "X$additional_libdir" != "X/usr/lib"; then
3656 if test "X$additional_libdir" = "X/usr/local/lib"; then
3657 if test -n "$GCC"; then
3659 linux
*) haveit
=yes;;
3663 if test -z "$haveit"; then
3665 for x
in $LDFLAGS $LIBICONV; do
3667 acl_save_prefix
="$prefix"
3668 prefix
="$acl_final_prefix"
3669 acl_save_exec_prefix
="$exec_prefix"
3670 exec_prefix
="$acl_final_exec_prefix"
3672 exec_prefix
="$acl_save_exec_prefix"
3673 prefix
="$acl_save_prefix"
3675 if test "X$x" = "X-L$additional_libdir"; then
3680 if test -z "$haveit"; then
3681 if test -d "$additional_libdir"; then
3682 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
3686 for x
in $LDFLAGS $LTLIBICONV; do
3688 acl_save_prefix
="$prefix"
3689 prefix
="$acl_final_prefix"
3690 acl_save_exec_prefix
="$exec_prefix"
3691 exec_prefix
="$acl_final_exec_prefix"
3693 exec_prefix
="$acl_save_exec_prefix"
3694 prefix
="$acl_save_prefix"
3696 if test "X$x" = "X-L$additional_libdir"; then
3701 if test -z "$haveit"; then
3702 if test -d "$additional_libdir"; then
3703 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
3710 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
3711 if test "$enable_rpath" != no
; then
3713 for x
in $rpathdirs; do
3714 if test "X$x" = "X$dir"; then
3719 if test -z "$haveit"; then
3720 rpathdirs
="$rpathdirs $dir"
3723 for x
in $ltrpathdirs; do
3724 if test "X$x" = "X$dir"; then
3729 if test -z "$haveit"; then
3730 ltrpathdirs
="$ltrpathdirs $dir"
3735 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
3738 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
3741 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
3742 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
3748 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
3749 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
3755 if test "X$rpathdirs" != "X"; then
3756 if test -n "$hardcode_libdir_separator"; then
3758 for found_dir
in $rpathdirs; do
3759 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
3761 acl_save_libdir
="$libdir"
3763 eval flag
=\"$hardcode_libdir_flag_spec\"
3764 libdir
="$acl_save_libdir"
3765 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
3767 for found_dir
in $rpathdirs; do
3768 acl_save_libdir
="$libdir"
3770 eval flag
=\"$hardcode_libdir_flag_spec\"
3771 libdir
="$acl_save_libdir"
3772 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
3776 if test "X$ltrpathdirs" != "X"; then
3777 for found_dir
in $ltrpathdirs; do
3778 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
3800 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3801 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3802 # Check whether --enable-nls or --disable-nls was given.
3803 if test "${enable_nls+set}" = set; then
3804 enableval
="$enable_nls"
3809 echo "$as_me:$LINENO: result: $USE_NLS" >&5
3810 echo "${ECHO_T}$USE_NLS" >&6
3819 if test "$USE_NLS" = "yes"; then
3820 gt_use_preinstalled_gnugettext
=no
3827 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
3828 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
3829 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 cat >conftest.
$ac_ext <<_ACEOF
3835 cat confdefs.h
>>conftest.
$ac_ext
3836 cat >>conftest.
$ac_ext <<_ACEOF
3837 /* end confdefs.h. */
3838 #include <libintl.h>
3839 extern int _nl_msg_cat_cntr;
3840 extern int *_nl_domain_bindings;
3844 bindtextdomain ("", "");
3845 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
3850 rm -f conftest.
$ac_objext conftest
$ac_exeext
3851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3852 (eval $ac_link) 2>conftest.er1
3854 grep -v '^ *+' conftest.er1
>conftest.err
3856 cat conftest.err
>&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } &&
3859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); }; } &&
3865 { ac_try
='test -s conftest$ac_exeext'
3866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); }; }; then
3871 gt_cv_func_gnugettext1_libc
=yes
3873 echo "$as_me: failed program was:" >&5
3874 sed 's/^/| /' conftest.
$ac_ext >&5
3876 gt_cv_func_gnugettext1_libc
=no
3878 rm -f conftest.err conftest.
$ac_objext \
3879 conftest
$ac_exeext conftest.
$ac_ext
3881 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
3882 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
3884 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
3890 am_save_CPPFLAGS
="$CPPFLAGS"
3892 for element
in $INCICONV; do
3894 for x
in $CPPFLAGS; do
3896 acl_save_prefix
="$prefix"
3897 prefix
="$acl_final_prefix"
3898 acl_save_exec_prefix
="$exec_prefix"
3899 exec_prefix
="$acl_final_exec_prefix"
3901 exec_prefix
="$acl_save_exec_prefix"
3902 prefix
="$acl_save_prefix"
3904 if test "X$x" = "X$element"; then
3909 if test -z "$haveit"; then
3910 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
3915 echo "$as_me:$LINENO: checking for iconv" >&5
3916 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
3917 if test "${am_cv_func_iconv+set}" = set; then
3918 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 am_cv_func_iconv
="no, consider installing GNU libiconv"
3923 cat >conftest.
$ac_ext <<_ACEOF
3926 cat confdefs.h
>>conftest.
$ac_ext
3927 cat >>conftest.
$ac_ext <<_ACEOF
3928 /* end confdefs.h. */
3934 iconv_t cd = iconv_open("","");
3935 iconv(cd,NULL,NULL,NULL,NULL);
3941 rm -f conftest.
$ac_objext conftest
$ac_exeext
3942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3943 (eval $ac_link) 2>conftest.er1
3945 grep -v '^ *+' conftest.er1
>conftest.err
3947 cat conftest.err
>&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); } &&
3950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; } &&
3956 { ac_try
='test -s conftest$ac_exeext'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; }; then
3962 am_cv_func_iconv
=yes
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.
$ac_ext >&5
3968 rm -f conftest.err conftest.
$ac_objext \
3969 conftest
$ac_exeext conftest.
$ac_ext
3970 if test "$am_cv_func_iconv" != yes; then
3971 am_save_LIBS
="$LIBS"
3972 LIBS
="$LIBS $LIBICONV"
3973 cat >conftest.
$ac_ext <<_ACEOF
3976 cat confdefs.h
>>conftest.
$ac_ext
3977 cat >>conftest.
$ac_ext <<_ACEOF
3978 /* end confdefs.h. */
3984 iconv_t cd = iconv_open("","");
3985 iconv(cd,NULL,NULL,NULL,NULL);
3991 rm -f conftest.
$ac_objext conftest
$ac_exeext
3992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3993 (eval $ac_link) 2>conftest.er1
3995 grep -v '^ *+' conftest.er1
>conftest.err
3997 cat conftest.err
>&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); } &&
4000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); }; } &&
4006 { ac_try
='test -s conftest$ac_exeext'
4007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); }; }; then
4013 am_cv_func_iconv
=yes
4015 echo "$as_me: failed program was:" >&5
4016 sed 's/^/| /' conftest.
$ac_ext >&5
4019 rm -f conftest.err conftest.
$ac_objext \
4020 conftest
$ac_exeext conftest.
$ac_ext
4021 LIBS
="$am_save_LIBS"
4025 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4026 echo "${ECHO_T}$am_cv_func_iconv" >&6
4027 if test "$am_cv_func_iconv" = yes; then
4029 cat >>confdefs.h
<<\_ACEOF
4030 #define HAVE_ICONV 1
4034 if test "$am_cv_lib_iconv" = yes; then
4035 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
4036 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
4037 echo "$as_me:$LINENO: result: $LIBICONV" >&5
4038 echo "${ECHO_T}$LIBICONV" >&6
4040 CPPFLAGS
="$am_save_CPPFLAGS"
4052 acl_save_prefix
="$prefix"
4053 prefix
="$acl_final_prefix"
4054 acl_save_exec_prefix
="$exec_prefix"
4055 exec_prefix
="$acl_final_exec_prefix"
4057 eval additional_includedir
=\"$includedir\"
4058 eval additional_libdir
=\"$libdir\"
4060 exec_prefix
="$acl_save_exec_prefix"
4061 prefix
="$acl_save_prefix"
4064 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
4065 if test "${with_libintl_prefix+set}" = set; then
4066 withval
="$with_libintl_prefix"
4068 if test "X$withval" = "Xno"; then
4071 if test "X$withval" = "X"; then
4073 acl_save_prefix
="$prefix"
4074 prefix
="$acl_final_prefix"
4075 acl_save_exec_prefix
="$exec_prefix"
4076 exec_prefix
="$acl_final_exec_prefix"
4078 eval additional_includedir
=\"$includedir\"
4079 eval additional_libdir
=\"$libdir\"
4081 exec_prefix
="$acl_save_exec_prefix"
4082 prefix
="$acl_save_prefix"
4085 additional_includedir
="$withval/include"
4086 additional_libdir
="$withval/lib"
4096 names_already_handled
=
4097 names_next_round
='intl '
4098 while test -n "$names_next_round"; do
4099 names_this_round
="$names_next_round"
4101 for name
in $names_this_round; do
4103 for n
in $names_already_handled; do
4104 if test "$n" = "$name"; then
4109 if test -z "$already_handled"; then
4110 names_already_handled
="$names_already_handled $name"
4111 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4112 eval value
=\"\
$HAVE_LIB$uppername\"
4113 if test -n "$value"; then
4114 if test "$value" = yes; then
4115 eval value
=\"\
$LIB$uppername\"
4116 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
4117 eval value
=\"\
$LTLIB$uppername\"
4118 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
4127 if test $use_additional = yes; then
4128 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4129 found_dir
="$additional_libdir"
4130 found_so
="$additional_libdir/lib$name.$shlibext"
4131 if test -f "$additional_libdir/lib$name.la"; then
4132 found_la
="$additional_libdir/lib$name.la"
4135 if test -f "$additional_libdir/lib$name.$libext"; then
4136 found_dir
="$additional_libdir"
4137 found_a
="$additional_libdir/lib$name.$libext"
4138 if test -f "$additional_libdir/lib$name.la"; then
4139 found_la
="$additional_libdir/lib$name.la"
4144 if test "X$found_dir" = "X"; then
4145 for x
in $LDFLAGS $LTLIBINTL; do
4147 acl_save_prefix
="$prefix"
4148 prefix
="$acl_final_prefix"
4149 acl_save_exec_prefix
="$exec_prefix"
4150 exec_prefix
="$acl_final_exec_prefix"
4152 exec_prefix
="$acl_save_exec_prefix"
4153 prefix
="$acl_save_prefix"
4157 dir
=`echo "X$x" | sed -e 's/^X-L//'`
4158 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4160 found_so
="$dir/lib$name.$shlibext"
4161 if test -f "$dir/lib$name.la"; then
4162 found_la
="$dir/lib$name.la"
4165 if test -f "$dir/lib$name.$libext"; then
4167 found_a
="$dir/lib$name.$libext"
4168 if test -f "$dir/lib$name.la"; then
4169 found_la
="$dir/lib$name.la"
4175 if test "X$found_dir" != "X"; then
4180 if test "X$found_dir" != "X"; then
4181 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
4182 if test "X$found_so" != "X"; then
4183 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
4184 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
4187 for x
in $ltrpathdirs; do
4188 if test "X$x" = "X$found_dir"; then
4193 if test -z "$haveit"; then
4194 ltrpathdirs
="$ltrpathdirs $found_dir"
4196 if test "$hardcode_direct" = yes; then
4197 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
4199 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
4200 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
4202 for x
in $rpathdirs; do
4203 if test "X$x" = "X$found_dir"; then
4208 if test -z "$haveit"; then
4209 rpathdirs
="$rpathdirs $found_dir"
4213 for x
in $LDFLAGS $LIBINTL; do
4215 acl_save_prefix
="$prefix"
4216 prefix
="$acl_final_prefix"
4217 acl_save_exec_prefix
="$exec_prefix"
4218 exec_prefix
="$acl_final_exec_prefix"
4220 exec_prefix
="$acl_save_exec_prefix"
4221 prefix
="$acl_save_prefix"
4223 if test "X$x" = "X-L$found_dir"; then
4228 if test -z "$haveit"; then
4229 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
4231 if test "$hardcode_minus_L" != no
; then
4232 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
4234 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
4240 if test "X$found_a" != "X"; then
4241 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
4243 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
4246 additional_includedir
=
4247 case "$found_dir" in
4249 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4250 additional_includedir
="$basedir/include"
4253 if test "X$additional_includedir" != "X"; then
4254 if test "X$additional_includedir" != "X/usr/include"; then
4256 if test "X$additional_includedir" = "X/usr/local/include"; then
4257 if test -n "$GCC"; then
4259 linux
*) haveit
=yes;;
4263 if test -z "$haveit"; then
4264 for x
in $CPPFLAGS $INCINTL; do
4266 acl_save_prefix
="$prefix"
4267 prefix
="$acl_final_prefix"
4268 acl_save_exec_prefix
="$exec_prefix"
4269 exec_prefix
="$acl_final_exec_prefix"
4271 exec_prefix
="$acl_save_exec_prefix"
4272 prefix
="$acl_save_prefix"
4274 if test "X$x" = "X-I$additional_includedir"; then
4279 if test -z "$haveit"; then
4280 if test -d "$additional_includedir"; then
4281 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
4287 if test -n "$found_la"; then
4288 save_libdir
="$libdir"
4290 */* |
*\\*) .
"$found_la" ;;
4291 *) .
"./$found_la" ;;
4293 libdir
="$save_libdir"
4294 for dep
in $dependency_libs; do
4297 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
4298 if test "X$additional_libdir" != "X/usr/lib"; then
4300 if test "X$additional_libdir" = "X/usr/local/lib"; then
4301 if test -n "$GCC"; then
4303 linux
*) haveit
=yes;;
4307 if test -z "$haveit"; then
4309 for x
in $LDFLAGS $LIBINTL; do
4311 acl_save_prefix
="$prefix"
4312 prefix
="$acl_final_prefix"
4313 acl_save_exec_prefix
="$exec_prefix"
4314 exec_prefix
="$acl_final_exec_prefix"
4316 exec_prefix
="$acl_save_exec_prefix"
4317 prefix
="$acl_save_prefix"
4319 if test "X$x" = "X-L$additional_libdir"; then
4324 if test -z "$haveit"; then
4325 if test -d "$additional_libdir"; then
4326 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
4330 for x
in $LDFLAGS $LTLIBINTL; do
4332 acl_save_prefix
="$prefix"
4333 prefix
="$acl_final_prefix"
4334 acl_save_exec_prefix
="$exec_prefix"
4335 exec_prefix
="$acl_final_exec_prefix"
4337 exec_prefix
="$acl_save_exec_prefix"
4338 prefix
="$acl_save_prefix"
4340 if test "X$x" = "X-L$additional_libdir"; then
4345 if test -z "$haveit"; then
4346 if test -d "$additional_libdir"; then
4347 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
4354 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
4355 if test "$enable_rpath" != no
; then
4357 for x
in $rpathdirs; do
4358 if test "X$x" = "X$dir"; then
4363 if test -z "$haveit"; then
4364 rpathdirs
="$rpathdirs $dir"
4367 for x
in $ltrpathdirs; do
4368 if test "X$x" = "X$dir"; then
4373 if test -z "$haveit"; then
4374 ltrpathdirs
="$ltrpathdirs $dir"
4379 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4382 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4385 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
4386 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
4392 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
4393 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
4399 if test "X$rpathdirs" != "X"; then
4400 if test -n "$hardcode_libdir_separator"; then
4402 for found_dir
in $rpathdirs; do
4403 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4405 acl_save_libdir
="$libdir"
4407 eval flag
=\"$hardcode_libdir_flag_spec\"
4408 libdir
="$acl_save_libdir"
4409 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
4411 for found_dir
in $rpathdirs; do
4412 acl_save_libdir
="$libdir"
4414 eval flag
=\"$hardcode_libdir_flag_spec\"
4415 libdir
="$acl_save_libdir"
4416 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
4420 if test "X$ltrpathdirs" != "X"; then
4421 for found_dir
in $ltrpathdirs; do
4422 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
4426 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
4427 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
4428 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 gt_save_CPPFLAGS
="$CPPFLAGS"
4432 CPPFLAGS
="$CPPFLAGS $INCINTL"
4433 gt_save_LIBS
="$LIBS"
4434 LIBS
="$LIBS $LIBINTL"
4435 cat >conftest.
$ac_ext <<_ACEOF
4438 cat confdefs.h
>>conftest.
$ac_ext
4439 cat >>conftest.
$ac_ext <<_ACEOF
4440 /* end confdefs.h. */
4441 #include <libintl.h>
4442 extern int _nl_msg_cat_cntr;
4447 const char *_nl_expand_alias ();
4451 bindtextdomain ("", "");
4452 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
4457 rm -f conftest.
$ac_objext conftest
$ac_exeext
4458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4459 (eval $ac_link) 2>conftest.er1
4461 grep -v '^ *+' conftest.er1
>conftest.err
4463 cat conftest.err
>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); } &&
4466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); }; } &&
4472 { ac_try
='test -s conftest$ac_exeext'
4473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); }; }; then
4478 gt_cv_func_gnugettext1_libintl
=yes
4480 echo "$as_me: failed program was:" >&5
4481 sed 's/^/| /' conftest.
$ac_ext >&5
4483 gt_cv_func_gnugettext1_libintl
=no
4485 rm -f conftest.err conftest.
$ac_objext \
4486 conftest
$ac_exeext conftest.
$ac_ext
4487 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4488 LIBS
="$LIBS $LIBICONV"
4489 cat >conftest.
$ac_ext <<_ACEOF
4492 cat confdefs.h
>>conftest.
$ac_ext
4493 cat >>conftest.
$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 #include <libintl.h>
4496 extern int _nl_msg_cat_cntr;
4501 const char *_nl_expand_alias ();
4505 bindtextdomain ("", "");
4506 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
4511 rm -f conftest.
$ac_objext conftest
$ac_exeext
4512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4513 (eval $ac_link) 2>conftest.er1
4515 grep -v '^ *+' conftest.er1
>conftest.err
4517 cat conftest.err
>&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); } &&
4520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); }; } &&
4526 { ac_try
='test -s conftest$ac_exeext'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; }; then
4532 LIBINTL
="$LIBINTL $LIBICONV"
4533 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
4534 gt_cv_func_gnugettext1_libintl
=yes
4537 echo "$as_me: failed program was:" >&5
4538 sed 's/^/| /' conftest.
$ac_ext >&5
4541 rm -f conftest.err conftest.
$ac_objext \
4542 conftest
$ac_exeext conftest.
$ac_ext
4544 CPPFLAGS
="$gt_save_CPPFLAGS"
4545 LIBS
="$gt_save_LIBS"
4547 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4548 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
4551 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
4552 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
4553 && test "$PACKAGE" != gettext-runtime \
4554 && test "$PACKAGE" != gettext-tools
; }; then
4555 gt_use_preinstalled_gnugettext
=yes
4564 if test "$gt_use_preinstalled_gnugettext" = "yes" \
4565 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
4567 cat >>confdefs.h
<<\_ACEOF
4568 #define ENABLE_NLS 1
4576 echo "$as_me:$LINENO: checking whether to use NLS" >&5
4577 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
4578 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4579 echo "${ECHO_T}$USE_NLS" >&6
4580 if test "$USE_NLS" = "yes"; then
4581 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
4582 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
4583 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4584 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4585 gt_source
="external libintl"
4590 gt_source
="included intl directory"
4592 echo "$as_me:$LINENO: result: $gt_source" >&5
4593 echo "${ECHO_T}$gt_source" >&6
4596 if test "$USE_NLS" = "yes"; then
4598 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4599 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4600 echo "$as_me:$LINENO: checking how to link with libintl" >&5
4601 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
4602 echo "$as_me:$LINENO: result: $LIBINTL" >&5
4603 echo "${ECHO_T}$LIBINTL" >&6
4605 for element
in $INCINTL; do
4607 for x
in $CPPFLAGS; do
4609 acl_save_prefix
="$prefix"
4610 prefix
="$acl_final_prefix"
4611 acl_save_exec_prefix
="$exec_prefix"
4612 exec_prefix
="$acl_final_exec_prefix"
4614 exec_prefix
="$acl_save_exec_prefix"
4615 prefix
="$acl_save_prefix"
4617 if test "X$x" = "X$element"; then
4622 if test -z "$haveit"; then
4623 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
4630 cat >>confdefs.h
<<\_ACEOF
4631 #define HAVE_GETTEXT 1
4635 cat >>confdefs.h
<<\_ACEOF
4636 #define HAVE_DCGETTEXT 1
4655 for ac_prog
in 'bison -y' byacc
4657 # Extract the first word of "$ac_prog", so it can be a program name with args.
4658 set dummy
$ac_prog; ac_word
=$2
4659 echo "$as_me:$LINENO: checking for $ac_word" >&5
4660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4661 if test "${ac_cv_prog_YACC+set}" = set; then
4662 echo $ECHO_N "(cached) $ECHO_C" >&6
4664 if test -n "$YACC"; then
4665 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir
=.
4672 for ac_exec_ext
in '' $ac_executable_extensions; do
4673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_YACC
="$ac_prog"
4675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 YACC
=$ac_cv_prog_YACC
4684 if test -n "$YACC"; then
4685 echo "$as_me:$LINENO: result: $YACC" >&5
4686 echo "${ECHO_T}$YACC" >&6
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4692 test -n "$YACC" && break
4694 test -n "$YACC" || YACC
="yacc"
4696 for ac_prog
in flex
lex
4698 # Extract the first word of "$ac_prog", so it can be a program name with args.
4699 set dummy
$ac_prog; ac_word
=$2
4700 echo "$as_me:$LINENO: checking for $ac_word" >&5
4701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4702 if test "${ac_cv_prog_LEX+set}" = set; then
4703 echo $ECHO_N "(cached) $ECHO_C" >&6
4705 if test -n "$LEX"; then
4706 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4712 test -z "$as_dir" && as_dir
=.
4713 for ac_exec_ext
in '' $ac_executable_extensions; do
4714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4715 ac_cv_prog_LEX
="$ac_prog"
4716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4725 if test -n "$LEX"; then
4726 echo "$as_me:$LINENO: result: $LEX" >&5
4727 echo "${ECHO_T}$LEX" >&6
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4733 test -n "$LEX" && break
4735 test -n "$LEX" || LEX
=":"
4737 if test -z "$LEXLIB"
4739 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4740 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4741 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4742 echo $ECHO_N "(cached) $ECHO_C" >&6
4744 ac_check_lib_save_LIBS
=$LIBS
4746 cat >conftest.
$ac_ext <<_ACEOF
4749 cat confdefs.h
>>conftest.
$ac_ext
4750 cat >>conftest.
$ac_ext <<_ACEOF
4751 /* end confdefs.h. */
4753 /* Override any gcc2 internal prototype to avoid an error. */
4757 /* We use char because int might match the return type of a gcc2
4758 builtin and then its argument prototype would still apply. */
4768 rm -f conftest.
$ac_objext conftest
$ac_exeext
4769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4770 (eval $ac_link) 2>conftest.er1
4772 grep -v '^ *+' conftest.er1
>conftest.err
4774 cat conftest.err
>&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); } &&
4777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); }; } &&
4783 { ac_try
='test -s conftest$ac_exeext'
4784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); }; }; then
4789 ac_cv_lib_fl_yywrap
=yes
4791 echo "$as_me: failed program was:" >&5
4792 sed 's/^/| /' conftest.
$ac_ext >&5
4794 ac_cv_lib_fl_yywrap
=no
4796 rm -f conftest.err conftest.
$ac_objext \
4797 conftest
$ac_exeext conftest.
$ac_ext
4798 LIBS
=$ac_check_lib_save_LIBS
4800 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4801 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4802 if test $ac_cv_lib_fl_yywrap = yes; then
4805 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4806 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4807 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4810 ac_check_lib_save_LIBS
=$LIBS
4812 cat >conftest.
$ac_ext <<_ACEOF
4815 cat confdefs.h
>>conftest.
$ac_ext
4816 cat >>conftest.
$ac_ext <<_ACEOF
4817 /* end confdefs.h. */
4819 /* Override any gcc2 internal prototype to avoid an error. */
4823 /* We use char because int might match the return type of a gcc2
4824 builtin and then its argument prototype would still apply. */
4834 rm -f conftest.
$ac_objext conftest
$ac_exeext
4835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4836 (eval $ac_link) 2>conftest.er1
4838 grep -v '^ *+' conftest.er1
>conftest.err
4840 cat conftest.err
>&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } &&
4843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; } &&
4849 { ac_try
='test -s conftest$ac_exeext'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
4855 ac_cv_lib_l_yywrap
=yes
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.
$ac_ext >&5
4860 ac_cv_lib_l_yywrap
=no
4862 rm -f conftest.err conftest.
$ac_objext \
4863 conftest
$ac_exeext conftest.
$ac_ext
4864 LIBS
=$ac_check_lib_save_LIBS
4866 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4867 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4868 if test $ac_cv_lib_l_yywrap = yes; then
4876 if test "x$LEX" != "x:"; then
4877 echo "$as_me:$LINENO: checking lex output file root" >&5
4878 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4879 if test "${ac_cv_prog_lex_root+set}" = set; then
4880 echo $ECHO_N "(cached) $ECHO_C" >&6
4882 # The minimal lex program is just a single line: %%. But some broken lexes
4883 # (Solaris, I think it was) want two %% lines, so accommodate them.
4884 cat >conftest.l
<<_ACEOF
4888 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4889 (eval $LEX conftest.l
) 2>&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); }
4893 if test -f lex.yy.c
; then
4894 ac_cv_prog_lex_root
=lex.yy
4895 elif test -f lexyy.c
; then
4896 ac_cv_prog_lex_root
=lexyy
4898 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4899 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4900 { (exit 1); exit 1; }; }
4903 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4904 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4906 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4908 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4909 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4910 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4913 # POSIX says lex can declare yytext either as a pointer or an array; the
4914 # default is implementation-dependent. Figure out which it is, since
4915 # not all implementations provide the %pointer and %array declarations.
4916 ac_cv_prog_lex_yytext_pointer
=no
4917 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4919 LIBS
="$LIBS $LEXLIB"
4920 cat >conftest.
$ac_ext <<_ACEOF
4921 `cat $LEX_OUTPUT_ROOT.c`
4923 rm -f conftest.
$ac_objext conftest
$ac_exeext
4924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4925 (eval $ac_link) 2>conftest.er1
4927 grep -v '^ *+' conftest.er1
>conftest.err
4929 cat conftest.err
>&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); } &&
4932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); }; } &&
4938 { ac_try
='test -s conftest$ac_exeext'
4939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); }; }; then
4944 ac_cv_prog_lex_yytext_pointer
=yes
4946 echo "$as_me: failed program was:" >&5
4947 sed 's/^/| /' conftest.
$ac_ext >&5
4950 rm -f conftest.err conftest.
$ac_objext \
4951 conftest
$ac_exeext conftest.
$ac_ext
4953 rm -f "${LEX_OUTPUT_ROOT}.c"
4956 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4957 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4958 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4960 cat >>confdefs.h
<<\_ACEOF
4961 #define YYTEXT_POINTER 1
4967 if test "$LEX" = :; then
4968 LEX
=${am_missing_run}flex
4971 ac_cpp
='$CPP $CPPFLAGS'
4972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4975 if test -n "$ac_tool_prefix"; then
4976 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4977 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4978 echo "$as_me:$LINENO: checking for $ac_word" >&5
4979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4980 if test "${ac_cv_prog_CC+set}" = set; then
4981 echo $ECHO_N "(cached) $ECHO_C" >&6
4983 if test -n "$CC"; then
4984 ac_cv_prog_CC
="$CC" # Let the user override the test.
4986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir
=.
4991 for ac_exec_ext
in '' $ac_executable_extensions; do
4992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 if test -n "$CC"; then
5004 echo "$as_me:$LINENO: result: $CC" >&5
5005 echo "${ECHO_T}$CC" >&6
5007 echo "$as_me:$LINENO: result: no" >&5
5008 echo "${ECHO_T}no" >&6
5012 if test -z "$ac_cv_prog_CC"; then
5014 # Extract the first word of "gcc", so it can be a program name with args.
5015 set dummy gcc
; ac_word
=$2
5016 echo "$as_me:$LINENO: checking for $ac_word" >&5
5017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5019 echo $ECHO_N "(cached) $ECHO_C" >&6
5021 if test -n "$ac_ct_CC"; then
5022 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5028 test -z "$as_dir" && as_dir
=.
5029 for ac_exec_ext
in '' $ac_executable_extensions; do
5030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5031 ac_cv_prog_ac_ct_CC
="gcc"
5032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5041 if test -n "$ac_ct_CC"; then
5042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5043 echo "${ECHO_T}$ac_ct_CC" >&6
5045 echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6
5054 if test -z "$CC"; then
5055 if test -n "$ac_tool_prefix"; then
5056 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5057 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5058 echo "$as_me:$LINENO: checking for $ac_word" >&5
5059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5060 if test "${ac_cv_prog_CC+set}" = set; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5063 if test -n "$CC"; then
5064 ac_cv_prog_CC
="$CC" # Let the user override the test.
5066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir
=.
5071 for ac_exec_ext
in '' $ac_executable_extensions; do
5072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 if test -n "$CC"; then
5084 echo "$as_me:$LINENO: result: $CC" >&5
5085 echo "${ECHO_T}$CC" >&6
5087 echo "$as_me:$LINENO: result: no" >&5
5088 echo "${ECHO_T}no" >&6
5092 if test -z "$ac_cv_prog_CC"; then
5094 # Extract the first word of "cc", so it can be a program name with args.
5095 set dummy cc
; ac_word
=$2
5096 echo "$as_me:$LINENO: checking for $ac_word" >&5
5097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5098 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5101 if test -n "$ac_ct_CC"; then
5102 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5108 test -z "$as_dir" && as_dir
=.
5109 for ac_exec_ext
in '' $ac_executable_extensions; do
5110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_prog_ac_ct_CC
="cc"
5112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5121 if test -n "$ac_ct_CC"; then
5122 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5123 echo "${ECHO_T}$ac_ct_CC" >&6
5125 echo "$as_me:$LINENO: result: no" >&5
5126 echo "${ECHO_T}no" >&6
5135 if test -z "$CC"; then
5136 # Extract the first word of "cc", so it can be a program name with args.
5137 set dummy cc
; ac_word
=$2
5138 echo "$as_me:$LINENO: checking for $ac_word" >&5
5139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5140 if test "${ac_cv_prog_CC+set}" = set; then
5141 echo $ECHO_N "(cached) $ECHO_C" >&6
5143 if test -n "$CC"; then
5144 ac_cv_prog_CC
="$CC" # Let the user override the test.
5147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5151 test -z "$as_dir" && as_dir
=.
5152 for ac_exec_ext
in '' $ac_executable_extensions; do
5153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5154 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5155 ac_prog_rejected
=yes
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 if test $ac_prog_rejected = yes; then
5166 # We found a bogon in the path, so make sure we never use it.
5167 set dummy
$ac_cv_prog_CC
5169 if test $# != 0; then
5170 # We chose a different compiler from the bogus one.
5171 # However, it has the same basename, so the bogon will be chosen
5172 # first if we set CC to just the basename; use the full file name.
5174 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5180 if test -n "$CC"; then
5181 echo "$as_me:$LINENO: result: $CC" >&5
5182 echo "${ECHO_T}$CC" >&6
5184 echo "$as_me:$LINENO: result: no" >&5
5185 echo "${ECHO_T}no" >&6
5189 if test -z "$CC"; then
5190 if test -n "$ac_tool_prefix"; then
5193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5194 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5195 echo "$as_me:$LINENO: checking for $ac_word" >&5
5196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5197 if test "${ac_cv_prog_CC+set}" = set; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 if test -n "$CC"; then
5201 ac_cv_prog_CC
="$CC" # Let the user override the test.
5203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5207 test -z "$as_dir" && as_dir
=.
5208 for ac_exec_ext
in '' $ac_executable_extensions; do
5209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5210 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 if test -n "$CC"; then
5221 echo "$as_me:$LINENO: result: $CC" >&5
5222 echo "${ECHO_T}$CC" >&6
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5228 test -n "$CC" && break
5231 if test -z "$CC"; then
5235 # Extract the first word of "$ac_prog", so it can be a program name with args.
5236 set dummy
$ac_prog; ac_word
=$2
5237 echo "$as_me:$LINENO: checking for $ac_word" >&5
5238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5239 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5240 echo $ECHO_N "(cached) $ECHO_C" >&6
5242 if test -n "$ac_ct_CC"; then
5243 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5249 test -z "$as_dir" && as_dir
=.
5250 for ac_exec_ext
in '' $ac_executable_extensions; do
5251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5252 ac_cv_prog_ac_ct_CC
="$ac_prog"
5253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5262 if test -n "$ac_ct_CC"; then
5263 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5264 echo "${ECHO_T}$ac_ct_CC" >&6
5266 echo "$as_me:$LINENO: result: no" >&5
5267 echo "${ECHO_T}no" >&6
5270 test -n "$ac_ct_CC" && break
5279 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5280 See \`config.log' for more details." >&5
5281 echo "$as_me: error: no acceptable C compiler found in \$PATH
5282 See \`config.log' for more details." >&2;}
5283 { (exit 1); exit 1; }; }
5285 # Provide some information about the compiler.
5286 echo "$as_me:$LINENO:" \
5287 "checking for C compiler version" >&5
5288 ac_compiler
=`set X $ac_compile; echo $2`
5289 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5290 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); }
5294 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5295 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 (exit $ac_status); }
5299 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5300 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303 (exit $ac_status); }
5305 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5306 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5307 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5308 echo $ECHO_N "(cached) $ECHO_C" >&6
5310 cat >conftest.
$ac_ext <<_ACEOF
5313 cat confdefs.h
>>conftest.
$ac_ext
5314 cat >>conftest.
$ac_ext <<_ACEOF
5315 /* end confdefs.h. */
5328 rm -f conftest.
$ac_objext
5329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5330 (eval $ac_compile) 2>conftest.er1
5332 grep -v '^ *+' conftest.er1
>conftest.err
5334 cat conftest.err
>&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); } &&
5337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); }; } &&
5343 { ac_try
='test -s conftest.$ac_objext'
5344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); }; }; then
5351 echo "$as_me: failed program was:" >&5
5352 sed 's/^/| /' conftest.
$ac_ext >&5
5356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5357 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5360 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5361 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5362 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5363 ac_test_CFLAGS
=${CFLAGS+set}
5364 ac_save_CFLAGS
=$CFLAGS
5366 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5367 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5368 if test "${ac_cv_prog_cc_g+set}" = set; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5371 cat >conftest.
$ac_ext <<_ACEOF
5374 cat confdefs.h
>>conftest.
$ac_ext
5375 cat >>conftest.
$ac_ext <<_ACEOF
5376 /* end confdefs.h. */
5386 rm -f conftest.
$ac_objext
5387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5388 (eval $ac_compile) 2>conftest.er1
5390 grep -v '^ *+' conftest.er1
>conftest.err
5392 cat conftest.err
>&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); } &&
5395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; } &&
5401 { ac_try
='test -s conftest.$ac_objext'
5402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); }; }; then
5409 echo "$as_me: failed program was:" >&5
5410 sed 's/^/| /' conftest.
$ac_ext >&5
5414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5416 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5417 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5418 if test "$ac_test_CFLAGS" = set; then
5419 CFLAGS
=$ac_save_CFLAGS
5420 elif test $ac_cv_prog_cc_g = yes; then
5421 if test "$GCC" = yes; then
5427 if test "$GCC" = yes; then
5433 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5434 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5435 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 ac_cv_prog_cc_stdc
=no
5440 cat >conftest.
$ac_ext <<_ACEOF
5443 cat confdefs.h
>>conftest.
$ac_ext
5444 cat >>conftest.
$ac_ext <<_ACEOF
5445 /* end confdefs.h. */
5448 #include <sys/types.h>
5449 #include <sys/stat.h>
5450 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5451 struct buf { int x; };
5452 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5453 static char *e (p, i)
5459 static char *f (char * (*g) (char **, int), char **p, ...)
5464 s = g (p, va_arg (v,int));
5469 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5470 function prototypes and stuff, but not '\xHH' hex character constants.
5471 These don't provoke an error unfortunately, instead are silently treated
5472 as 'x'. The following induces an error, until -std1 is added to get
5473 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5474 array size at least. It's necessary to write '\x00'==0 to get something
5475 that's true only with -std1. */
5476 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5478 int test (int i, double x);
5479 struct s1 {int (*f) (int a);};
5480 struct s2 {int (*f) (double a);};
5481 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5487 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5492 # Don't try gcc -ansi; that turns off useful extensions and
5493 # breaks some systems' header files.
5494 # AIX -qlanglvl=ansi
5495 # Ultrix and OSF/1 -std1
5496 # HP-UX 10.20 and later -Ae
5497 # HP-UX older versions -Aa -D_HPUX_SOURCE
5498 # SVR4 -Xc -D__EXTENSIONS__
5499 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5501 CC
="$ac_save_CC $ac_arg"
5502 rm -f conftest.
$ac_objext
5503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5504 (eval $ac_compile) 2>conftest.er1
5506 grep -v '^ *+' conftest.er1
>conftest.err
5508 cat conftest.err
>&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); } &&
5511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); }; } &&
5517 { ac_try
='test -s conftest.$ac_objext'
5518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522 (exit $ac_status); }; }; then
5523 ac_cv_prog_cc_stdc
=$ac_arg
5526 echo "$as_me: failed program was:" >&5
5527 sed 's/^/| /' conftest.
$ac_ext >&5
5530 rm -f conftest.err conftest.
$ac_objext
5532 rm -f conftest.
$ac_ext conftest.
$ac_objext
5537 case "x$ac_cv_prog_cc_stdc" in
5539 echo "$as_me:$LINENO: result: none needed" >&5
5540 echo "${ECHO_T}none needed" >&6 ;;
5542 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5543 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5544 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5547 # Some people use a C++ compiler to compile C. Since we use `exit',
5548 # in C++ we need to declare it. In case someone uses the same compiler
5549 # for both compiling C and C++ we need to have the C++ compiler decide
5550 # the declaration of exit, since it's the most demanding environment.
5551 cat >conftest.
$ac_ext <<_ACEOF
5556 rm -f conftest.
$ac_objext
5557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5558 (eval $ac_compile) 2>conftest.er1
5560 grep -v '^ *+' conftest.er1
>conftest.err
5562 cat conftest.err
>&5
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); } &&
5565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; } &&
5571 { ac_try
='test -s conftest.$ac_objext'
5572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; }; then
5577 for ac_declaration
in \
5579 'extern "C" void std::exit (int) throw (); using std::exit;' \
5580 'extern "C" void std::exit (int); using std::exit;' \
5581 'extern "C" void exit (int) throw ();' \
5582 'extern "C" void exit (int);' \
5585 cat >conftest.
$ac_ext <<_ACEOF
5588 cat confdefs.h
>>conftest.
$ac_ext
5589 cat >>conftest.
$ac_ext <<_ACEOF
5590 /* end confdefs.h. */
5601 rm -f conftest.
$ac_objext
5602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5603 (eval $ac_compile) 2>conftest.er1
5605 grep -v '^ *+' conftest.er1
>conftest.err
5607 cat conftest.err
>&5
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); } &&
5610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); }; } &&
5616 { ac_try
='test -s conftest.$ac_objext'
5617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; }; then
5624 echo "$as_me: failed program was:" >&5
5625 sed 's/^/| /' conftest.
$ac_ext >&5
5629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5630 cat >conftest.
$ac_ext <<_ACEOF
5633 cat confdefs.h
>>conftest.
$ac_ext
5634 cat >>conftest.
$ac_ext <<_ACEOF
5635 /* end confdefs.h. */
5645 rm -f conftest.
$ac_objext
5646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5647 (eval $ac_compile) 2>conftest.er1
5649 grep -v '^ *+' conftest.er1
>conftest.err
5651 cat conftest.err
>&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); } &&
5654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659 (exit $ac_status); }; } &&
5660 { ac_try
='test -s conftest.$ac_objext'
5661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); }; }; then
5668 echo "$as_me: failed program was:" >&5
5669 sed 's/^/| /' conftest.
$ac_ext >&5
5672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5675 if test -n "$ac_declaration"; then
5676 echo '#ifdef __cplusplus' >>confdefs.h
5677 echo $ac_declaration >>confdefs.h
5678 echo '#endif' >>confdefs.h
5682 echo "$as_me: failed program was:" >&5
5683 sed 's/^/| /' conftest.
$ac_ext >&5
5686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5688 ac_cpp
='$CPP $CPPFLAGS'
5689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5693 depcc
="$CC" am_compiler_list
=
5695 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5696 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5697 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5698 echo $ECHO_N "(cached) $ECHO_C" >&6
5700 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5701 # We make a subdir and do the tests there. Otherwise we can end up
5702 # making bogus files that we don't know about and never remove. For
5703 # instance it was reported that on HP-UX the gcc test will end up
5704 # making a dummy file named `D' -- because `-MD' means `put the output
5707 # Copy depcomp to subdir because otherwise we won't find it if we're
5708 # using a relative directory.
5709 cp "$am_depcomp" conftest.dir
5711 # We will build objects and dependencies in a subdirectory because
5712 # it helps to detect inapplicable dependency modes. For instance
5713 # both Tru64's cc and ICC support -MD to output dependencies as a
5714 # side effect of compilation, but ICC will put the dependencies in
5715 # the current directory while Tru64 will put them in the object
5719 am_cv_CC_dependencies_compiler_type
=none
5720 if test "$am_compiler_list" = ""; then
5721 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5723 for depmode
in $am_compiler_list; do
5724 # Setup a source with many dependencies, because some compilers
5725 # like to wrap large dependency lists on column 80 (with \), and
5726 # we should not choose a depcomp mode which is confused by this.
5728 # We need to recreate these files for each test, as the compiler may
5729 # overwrite some of them when testing with obscure command lines.
5730 # This happens at least with the AIX C compiler.
5732 for i
in 1 2 3 4 5 6; do
5733 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5734 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5735 # Solaris 8's {/usr,}/bin/sh.
5736 touch sub
/conftst
$i.h
5738 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5742 # after this tag, mechanisms are not by side-effect, so they'll
5743 # only be used when explicitly requested
5744 if test "x$enable_dependency_tracking" = xyes
; then
5752 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5753 # mode. It turns out that the SunPro C++ compiler does not properly
5754 # handle `-M -o', and we need to detect this.
5755 if depmode
=$depmode \
5756 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5757 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5758 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5759 >/dev
/null
2>conftest.err
&&
5760 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5761 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5762 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5763 # icc doesn't choke on unknown options, it will just issue warnings
5764 # or remarks (even with -Werror). So we grep stderr for any message
5765 # that says an option was ignored or not supported.
5766 # When given -MP, icc 7.0 and 7.1 complain thusly:
5767 # icc: Command line warning: ignoring option '-M'; no argument required
5768 # The diagnosis changed in icc 8.0:
5769 # icc: Command line remark: option '-MP' not supported
5770 if (grep 'ignoring option' conftest.err ||
5771 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5772 am_cv_CC_dependencies_compiler_type
=$depmode
5781 am_cv_CC_dependencies_compiler_type
=none
5785 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5786 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
5787 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5792 test "x$enable_dependency_tracking" != xno \
5793 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5795 am__fastdepCC_FALSE
='#'
5797 am__fastdepCC_TRUE
='#'
5798 am__fastdepCC_FALSE
=
5803 ac_cpp
='$CXXCPP $CPPFLAGS'
5804 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5805 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5806 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5807 if test -n "$ac_tool_prefix"; then
5808 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5810 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5811 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5812 echo "$as_me:$LINENO: checking for $ac_word" >&5
5813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5814 if test "${ac_cv_prog_CXX+set}" = set; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 if test -n "$CXX"; then
5818 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir
=.
5825 for ac_exec_ext
in '' $ac_executable_extensions; do
5826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5827 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 if test -n "$CXX"; then
5838 echo "$as_me:$LINENO: result: $CXX" >&5
5839 echo "${ECHO_T}$CXX" >&6
5841 echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6
5845 test -n "$CXX" && break
5848 if test -z "$CXX"; then
5850 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5852 # Extract the first word of "$ac_prog", so it can be a program name with args.
5853 set dummy
$ac_prog; ac_word
=$2
5854 echo "$as_me:$LINENO: checking for $ac_word" >&5
5855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5856 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5857 echo $ECHO_N "(cached) $ECHO_C" >&6
5859 if test -n "$ac_ct_CXX"; then
5860 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir
=.
5867 for ac_exec_ext
in '' $ac_executable_extensions; do
5868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5869 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5879 if test -n "$ac_ct_CXX"; then
5880 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5881 echo "${ECHO_T}$ac_ct_CXX" >&6
5883 echo "$as_me:$LINENO: result: no" >&5
5884 echo "${ECHO_T}no" >&6
5887 test -n "$ac_ct_CXX" && break
5889 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
5895 # Provide some information about the compiler.
5896 echo "$as_me:$LINENO:" \
5897 "checking for C++ compiler version" >&5
5898 ac_compiler
=`set X $ac_compile; echo $2`
5899 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5900 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); }
5904 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5905 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); }
5909 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5910 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }
5915 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5916 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5917 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5918 echo $ECHO_N "(cached) $ECHO_C" >&6
5920 cat >conftest.
$ac_ext <<_ACEOF
5923 cat confdefs.h
>>conftest.
$ac_ext
5924 cat >>conftest.
$ac_ext <<_ACEOF
5925 /* end confdefs.h. */
5938 rm -f conftest.
$ac_objext
5939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5940 (eval $ac_compile) 2>conftest.er1
5942 grep -v '^ *+' conftest.er1
>conftest.err
5944 cat conftest.err
>&5
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); } &&
5947 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; } &&
5953 { ac_try
='test -s conftest.$ac_objext'
5954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); }; }; then
5961 echo "$as_me: failed program was:" >&5
5962 sed 's/^/| /' conftest.
$ac_ext >&5
5966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5967 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5970 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5971 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5972 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5973 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5974 ac_save_CXXFLAGS
=$CXXFLAGS
5976 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5977 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5978 if test "${ac_cv_prog_cxx_g+set}" = set; then
5979 echo $ECHO_N "(cached) $ECHO_C" >&6
5981 cat >conftest.
$ac_ext <<_ACEOF
5984 cat confdefs.h
>>conftest.
$ac_ext
5985 cat >>conftest.
$ac_ext <<_ACEOF
5986 /* end confdefs.h. */
5996 rm -f conftest.
$ac_objext
5997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5998 (eval $ac_compile) 2>conftest.er1
6000 grep -v '^ *+' conftest.er1
>conftest.err
6002 cat conftest.err
>&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); } &&
6005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); }; } &&
6011 { ac_try
='test -s conftest.$ac_objext'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; }; then
6017 ac_cv_prog_cxx_g
=yes
6019 echo "$as_me: failed program was:" >&5
6020 sed 's/^/| /' conftest.
$ac_ext >&5
6024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6026 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6027 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6028 if test "$ac_test_CXXFLAGS" = set; then
6029 CXXFLAGS
=$ac_save_CXXFLAGS
6030 elif test $ac_cv_prog_cxx_g = yes; then
6031 if test "$GXX" = yes; then
6037 if test "$GXX" = yes; then
6043 for ac_declaration
in \
6045 'extern "C" void std::exit (int) throw (); using std::exit;' \
6046 'extern "C" void std::exit (int); using std::exit;' \
6047 'extern "C" void exit (int) throw ();' \
6048 'extern "C" void exit (int);' \
6051 cat >conftest.
$ac_ext <<_ACEOF
6054 cat confdefs.h
>>conftest.
$ac_ext
6055 cat >>conftest.
$ac_ext <<_ACEOF
6056 /* end confdefs.h. */
6067 rm -f conftest.
$ac_objext
6068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6069 (eval $ac_compile) 2>conftest.er1
6071 grep -v '^ *+' conftest.er1
>conftest.err
6073 cat conftest.err
>&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); } &&
6076 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; } &&
6082 { ac_try
='test -s conftest.$ac_objext'
6083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; }; then
6090 echo "$as_me: failed program was:" >&5
6091 sed 's/^/| /' conftest.
$ac_ext >&5
6095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6096 cat >conftest.
$ac_ext <<_ACEOF
6099 cat confdefs.h
>>conftest.
$ac_ext
6100 cat >>conftest.
$ac_ext <<_ACEOF
6101 /* end confdefs.h. */
6111 rm -f conftest.
$ac_objext
6112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6113 (eval $ac_compile) 2>conftest.er1
6115 grep -v '^ *+' conftest.er1
>conftest.err
6117 cat conftest.err
>&5
6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119 (exit $ac_status); } &&
6120 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6125 (exit $ac_status); }; } &&
6126 { ac_try
='test -s conftest.$ac_objext'
6127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); }; }; then
6134 echo "$as_me: failed program was:" >&5
6135 sed 's/^/| /' conftest.
$ac_ext >&5
6138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6141 if test -n "$ac_declaration"; then
6142 echo '#ifdef __cplusplus' >>confdefs.h
6143 echo $ac_declaration >>confdefs.h
6144 echo '#endif' >>confdefs.h
6148 ac_cpp
='$CPP $CPPFLAGS'
6149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6153 depcc
="$CXX" am_compiler_list
=
6155 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6156 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6157 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6160 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6161 # We make a subdir and do the tests there. Otherwise we can end up
6162 # making bogus files that we don't know about and never remove. For
6163 # instance it was reported that on HP-UX the gcc test will end up
6164 # making a dummy file named `D' -- because `-MD' means `put the output
6167 # Copy depcomp to subdir because otherwise we won't find it if we're
6168 # using a relative directory.
6169 cp "$am_depcomp" conftest.dir
6171 # We will build objects and dependencies in a subdirectory because
6172 # it helps to detect inapplicable dependency modes. For instance
6173 # both Tru64's cc and ICC support -MD to output dependencies as a
6174 # side effect of compilation, but ICC will put the dependencies in
6175 # the current directory while Tru64 will put them in the object
6179 am_cv_CXX_dependencies_compiler_type
=none
6180 if test "$am_compiler_list" = ""; then
6181 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6183 for depmode
in $am_compiler_list; do
6184 # Setup a source with many dependencies, because some compilers
6185 # like to wrap large dependency lists on column 80 (with \), and
6186 # we should not choose a depcomp mode which is confused by this.
6188 # We need to recreate these files for each test, as the compiler may
6189 # overwrite some of them when testing with obscure command lines.
6190 # This happens at least with the AIX C compiler.
6192 for i
in 1 2 3 4 5 6; do
6193 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6194 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6195 # Solaris 8's {/usr,}/bin/sh.
6196 touch sub
/conftst
$i.h
6198 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6202 # after this tag, mechanisms are not by side-effect, so they'll
6203 # only be used when explicitly requested
6204 if test "x$enable_dependency_tracking" = xyes
; then
6212 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6213 # mode. It turns out that the SunPro C++ compiler does not properly
6214 # handle `-M -o', and we need to detect this.
6215 if depmode
=$depmode \
6216 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6217 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6218 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6219 >/dev
/null
2>conftest.err
&&
6220 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6221 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6222 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6223 # icc doesn't choke on unknown options, it will just issue warnings
6224 # or remarks (even with -Werror). So we grep stderr for any message
6225 # that says an option was ignored or not supported.
6226 # When given -MP, icc 7.0 and 7.1 complain thusly:
6227 # icc: Command line warning: ignoring option '-M'; no argument required
6228 # The diagnosis changed in icc 8.0:
6229 # icc: Command line remark: option '-MP' not supported
6230 if (grep 'ignoring option' conftest.err ||
6231 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6232 am_cv_CXX_dependencies_compiler_type
=$depmode
6241 am_cv_CXX_dependencies_compiler_type
=none
6245 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6246 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6247 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6252 test "x$enable_dependency_tracking" != xno \
6253 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6254 am__fastdepCXX_TRUE
=
6255 am__fastdepCXX_FALSE
='#'
6257 am__fastdepCXX_TRUE
='#'
6258 am__fastdepCXX_FALSE
=
6262 echo "$as_me:$LINENO: checking whether ln -s works" >&5
6263 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6265 if test "$LN_S" = "ln -s"; then
6266 echo "$as_me:$LINENO: result: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6269 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6270 echo "${ECHO_T}no, using $LN_S" >&6
6273 if test -n "$ac_tool_prefix"; then
6274 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6275 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6276 echo "$as_me:$LINENO: checking for $ac_word" >&5
6277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6278 if test "${ac_cv_prog_RANLIB+set}" = set; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6281 if test -n "$RANLIB"; then
6282 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6288 test -z "$as_dir" && as_dir
=.
6289 for ac_exec_ext
in '' $ac_executable_extensions; do
6290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 RANLIB
=$ac_cv_prog_RANLIB
6301 if test -n "$RANLIB"; then
6302 echo "$as_me:$LINENO: result: $RANLIB" >&5
6303 echo "${ECHO_T}$RANLIB" >&6
6305 echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6
6310 if test -z "$ac_cv_prog_RANLIB"; then
6311 ac_ct_RANLIB
=$RANLIB
6312 # Extract the first word of "ranlib", so it can be a program name with args.
6313 set dummy ranlib
; ac_word
=$2
6314 echo "$as_me:$LINENO: checking for $ac_word" >&5
6315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6316 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6317 echo $ECHO_N "(cached) $ECHO_C" >&6
6319 if test -n "$ac_ct_RANLIB"; then
6320 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6326 test -z "$as_dir" && as_dir
=.
6327 for ac_exec_ext
in '' $ac_executable_extensions; do
6328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6329 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6336 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6339 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6340 if test -n "$ac_ct_RANLIB"; then
6341 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6342 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6344 echo "$as_me:$LINENO: result: no" >&5
6345 echo "${ECHO_T}no" >&6
6348 RANLIB
=$ac_ct_RANLIB
6350 RANLIB
="$ac_cv_prog_RANLIB"
6353 for ac_prog
in gawk mawk nawk
awk
6355 # Extract the first word of "$ac_prog", so it can be a program name with args.
6356 set dummy
$ac_prog; ac_word
=$2
6357 echo "$as_me:$LINENO: checking for $ac_word" >&5
6358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6359 if test "${ac_cv_prog_AWK+set}" = set; then
6360 echo $ECHO_N "(cached) $ECHO_C" >&6
6362 if test -n "$AWK"; then
6363 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6369 test -z "$as_dir" && as_dir
=.
6370 for ac_exec_ext
in '' $ac_executable_extensions; do
6371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6372 ac_cv_prog_AWK
="$ac_prog"
6373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6382 if test -n "$AWK"; then
6383 echo "$as_me:$LINENO: result: $AWK" >&5
6384 echo "${ECHO_T}$AWK" >&6
6386 echo "$as_me:$LINENO: result: no" >&5
6387 echo "${ECHO_T}no" >&6
6390 test -n "$AWK" && break
6393 # Find a good install program. We prefer a C program (faster),
6394 # so one script is as good as another. But avoid the broken or
6395 # incompatible versions:
6396 # SysV /etc/install, /usr/sbin/install
6397 # SunOS /usr/etc/install
6398 # IRIX /sbin/install
6400 # AmigaOS /C/install, which installs bootblocks on floppy discs
6401 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6402 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6403 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6404 # OS/2's system install, which has a completely different semantic
6405 # ./install, which can be erroneously created by make from ./install.sh.
6406 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6407 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6408 if test -z "$INSTALL"; then
6409 if test "${ac_cv_path_install+set}" = set; then
6410 echo $ECHO_N "(cached) $ECHO_C" >&6
6412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6416 test -z "$as_dir" && as_dir
=.
6417 # Account for people who put trailing slashes in PATH elements.
6419 .
/ | .
// |
/cC
/* | \
6420 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6421 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6424 # OSF1 and SCO ODT 3.0 have their own names for install.
6425 # Don't use installbsd from OSF since it installs stuff as root
6427 for ac_prog
in ginstall scoinst
install; do
6428 for ac_exec_ext
in '' $ac_executable_extensions; do
6429 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6430 if test $ac_prog = install &&
6431 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6432 # AIX install. It has an incompatible calling convention.
6434 elif test $ac_prog = install &&
6435 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6436 # program-specific install script used by HP pwplus--don't use.
6439 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6451 if test "${ac_cv_path_install+set}" = set; then
6452 INSTALL
=$ac_cv_path_install
6454 # As a last resort, use the slow shell script. We don't cache a
6455 # path for INSTALL within a source directory, because that will
6456 # break other packages using the cache if that directory is
6457 # removed, or if the path is relative.
6458 INSTALL
=$ac_install_sh
6461 echo "$as_me:$LINENO: result: $INSTALL" >&5
6462 echo "${ECHO_T}$INSTALL" >&6
6464 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6465 # It thinks the first close brace ends the variable substitution.
6466 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6468 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6470 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6473 # Extract the first word of "bison", so it can be a program name with args.
6474 set dummy bison
; ac_word
=$2
6475 echo "$as_me:$LINENO: checking for $ac_word" >&5
6476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6477 if test "${ac_cv_path_BISON+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6482 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
6485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6489 test -z "$as_dir" && as_dir
=.
6490 for ac_exec_ext
in '' $ac_executable_extensions; do
6491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6492 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
6493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="bison"
6503 BISON
=$ac_cv_path_BISON
6505 if test -n "$BISON"; then
6506 echo "$as_me:$LINENO: result: $BISON" >&5
6507 echo "${ECHO_T}$BISON" >&6
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6513 # Extract the first word of "help2man", so it can be a program name with args.
6514 set dummy help2man
; ac_word
=$2
6515 echo "$as_me:$LINENO: checking for $ac_word" >&5
6516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6517 if test "${ac_cv_path_HELP2MAN+set}" = set; then
6518 echo $ECHO_N "(cached) $ECHO_C" >&6
6522 ac_cv_path_HELP2MAN
="$HELP2MAN" # Let the user override the test with a path.
6525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6529 test -z "$as_dir" && as_dir
=.
6530 for ac_exec_ext
in '' $ac_executable_extensions; do
6531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6532 ac_cv_path_HELP2MAN
="$as_dir/$ac_word$ac_exec_ext"
6533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6539 test -z "$ac_cv_path_HELP2MAN" && ac_cv_path_HELP2MAN
="help2man"
6543 HELP2MAN
=$ac_cv_path_HELP2MAN
6545 if test -n "$HELP2MAN"; then
6546 echo "$as_me:$LINENO: result: $HELP2MAN" >&5
6547 echo "${ECHO_T}$HELP2MAN" >&6
6549 echo "$as_me:$LINENO: result: no" >&5
6550 echo "${ECHO_T}no" >&6
6554 # Check for a GNU m4 that supports --prefix-builtins
6556 for ac_prog
in gm4 gnum4
m4
6558 # Extract the first word of "$ac_prog", so it can be a program name with args.
6559 set dummy
$ac_prog; ac_word
=$2
6560 echo "$as_me:$LINENO: checking for $ac_word" >&5
6561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6562 if test "${ac_cv_path_M4+set}" = set; then
6563 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
6570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6574 test -z "$as_dir" && as_dir
=.
6575 for ac_exec_ext
in '' $ac_executable_extensions; do
6576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6577 ac_cv_path_M4
="$as_dir/$ac_word$ac_exec_ext"
6578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 if test -n "$M4"; then
6590 echo "$as_me:$LINENO: result: $M4" >&5
6591 echo "${ECHO_T}$M4" >&6
6593 echo "$as_me:$LINENO: result: no" >&5
6594 echo "${ECHO_T}no" >&6
6597 test -n "$M4" && break
6599 test -n "$M4" || M4
="m4"
6602 if test x
"$M4" != x
; then
6603 echo "$as_me:$LINENO: checking for GNU m4" >&5
6604 echo $ECHO_N "checking for GNU m4... $ECHO_C" >&6
6605 case `$M4 --help < /dev/null 2>&1` in
6606 *prefix-builtins
*) echo "$as_me:$LINENO: result: yes" >&5
6607 echo "${ECHO_T}yes" >&6 ;;
6608 *) echo "$as_me:$LINENO: result: no" >&5
6609 echo "${ECHO_T}no" >&6 ;
6610 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
6611 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
6612 { (exit 1); exit 1; }; } ;;
6615 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
6616 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
6617 { (exit 1); exit 1; }; } ;
6621 cat >>confdefs.h
<<_ACEOF
6626 # Extract the first word of "indent", so it can be a program name with args.
6627 set dummy indent
; ac_word
=$2
6628 echo "$as_me:$LINENO: checking for $ac_word" >&5
6629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6630 if test "${ac_cv_path_INDENT+set}" = set; then
6631 echo $ECHO_N "(cached) $ECHO_C" >&6
6635 ac_cv_path_INDENT
="$INDENT" # Let the user override the test with a path.
6638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6642 test -z "$as_dir" && as_dir
=.
6643 for ac_exec_ext
in '' $ac_executable_extensions; do
6644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6645 ac_cv_path_INDENT
="$as_dir/$ac_word$ac_exec_ext"
6646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6652 test -z "$ac_cv_path_INDENT" && ac_cv_path_INDENT
="indent"
6656 INDENT
=$ac_cv_path_INDENT
6658 if test -n "$INDENT"; then
6659 echo "$as_me:$LINENO: result: $INDENT" >&5
6660 echo "${ECHO_T}$INDENT" >&6
6662 echo "$as_me:$LINENO: result: no" >&5
6663 echo "${ECHO_T}no" >&6
6666 # if INDENT is set to 'indent' then we didn't find indent
6667 if test "$INDENT" != indent
; then
6668 echo "$as_me:$LINENO: checking if $INDENT is GNU indent" >&5
6669 echo $ECHO_N "checking if $INDENT is GNU indent... $ECHO_C" >&6
6670 if $INDENT --version 2>/dev
/null |
head -n 1|
grep "GNU indent" > /dev
/null
; then
6671 echo "$as_me:$LINENO: result: yes" >&5
6672 echo "${ECHO_T}yes" >&6
6674 echo "$as_me:$LINENO: result: no" >&5
6675 echo "${ECHO_T}no" >&6
6676 { echo "$as_me:$LINENO: WARNING: $INDENT does not appear to be GNU indent." >&5
6677 echo "$as_me: WARNING: $INDENT does not appear to be GNU indent." >&2;}
6680 { echo "$as_me:$LINENO: WARNING: no indent program found: make indent target will not function" >&5
6681 echo "$as_me: WARNING: no indent program found: make indent target will not function" >&2;}
6684 # checks for libraries
6687 ac_cpp
='$CPP $CPPFLAGS'
6688 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6689 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6690 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6691 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6692 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6693 # On Suns, sometimes $CPP names a directory.
6694 if test -n "$CPP" && test -d "$CPP"; then
6697 if test -z "$CPP"; then
6698 if test "${ac_cv_prog_CPP+set}" = set; then
6699 echo $ECHO_N "(cached) $ECHO_C" >&6
6701 # Double quotes because CPP needs to be expanded
6702 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6705 for ac_c_preproc_warn_flag
in '' yes
6707 # Use a header file that comes with gcc, so configuring glibc
6708 # with a fresh cross-compiler works.
6709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6710 # <limits.h> exists even on freestanding compilers.
6711 # On the NeXT, cc -E runs the code through the compiler's parser,
6712 # not just through cpp. "Syntax error" is here to catch this case.
6713 cat >conftest.
$ac_ext <<_ACEOF
6716 cat confdefs.h
>>conftest.
$ac_ext
6717 cat >>conftest.
$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6720 # include <limits.h>
6722 # include <assert.h>
6726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6727 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6729 grep -v '^ *+' conftest.er1
>conftest.err
6731 cat conftest.err
>&5
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); } >/dev
/null
; then
6734 if test -s conftest.err
; then
6735 ac_cpp_err
=$ac_c_preproc_warn_flag
6736 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6743 if test -z "$ac_cpp_err"; then
6746 echo "$as_me: failed program was:" >&5
6747 sed 's/^/| /' conftest.
$ac_ext >&5
6749 # Broken: fails on valid input.
6752 rm -f conftest.err conftest.
$ac_ext
6754 # OK, works on sane cases. Now check whether non-existent headers
6755 # can be detected and how.
6756 cat >conftest.
$ac_ext <<_ACEOF
6759 cat confdefs.h
>>conftest.
$ac_ext
6760 cat >>conftest.
$ac_ext <<_ACEOF
6761 /* end confdefs.h. */
6762 #include <ac_nonexistent.h>
6764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6765 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6767 grep -v '^ *+' conftest.er1
>conftest.err
6769 cat conftest.err
>&5
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); } >/dev
/null
; then
6772 if test -s conftest.err
; then
6773 ac_cpp_err
=$ac_c_preproc_warn_flag
6774 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6781 if test -z "$ac_cpp_err"; then
6782 # Broken: success on invalid input.
6785 echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.
$ac_ext >&5
6788 # Passes both tests.
6792 rm -f conftest.err conftest.
$ac_ext
6795 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6796 rm -f conftest.err conftest.
$ac_ext
6797 if $ac_preproc_ok; then
6809 echo "$as_me:$LINENO: result: $CPP" >&5
6810 echo "${ECHO_T}$CPP" >&6
6812 for ac_c_preproc_warn_flag
in '' yes
6814 # Use a header file that comes with gcc, so configuring glibc
6815 # with a fresh cross-compiler works.
6816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6817 # <limits.h> exists even on freestanding compilers.
6818 # On the NeXT, cc -E runs the code through the compiler's parser,
6819 # not just through cpp. "Syntax error" is here to catch this case.
6820 cat >conftest.
$ac_ext <<_ACEOF
6823 cat confdefs.h
>>conftest.
$ac_ext
6824 cat >>conftest.
$ac_ext <<_ACEOF
6825 /* end confdefs.h. */
6827 # include <limits.h>
6829 # include <assert.h>
6833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6834 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6836 grep -v '^ *+' conftest.er1
>conftest.err
6838 cat conftest.err
>&5
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); } >/dev
/null
; then
6841 if test -s conftest.err
; then
6842 ac_cpp_err
=$ac_c_preproc_warn_flag
6843 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6850 if test -z "$ac_cpp_err"; then
6853 echo "$as_me: failed program was:" >&5
6854 sed 's/^/| /' conftest.
$ac_ext >&5
6856 # Broken: fails on valid input.
6859 rm -f conftest.err conftest.
$ac_ext
6861 # OK, works on sane cases. Now check whether non-existent headers
6862 # can be detected and how.
6863 cat >conftest.
$ac_ext <<_ACEOF
6866 cat confdefs.h
>>conftest.
$ac_ext
6867 cat >>conftest.
$ac_ext <<_ACEOF
6868 /* end confdefs.h. */
6869 #include <ac_nonexistent.h>
6871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6874 grep -v '^ *+' conftest.er1
>conftest.err
6876 cat conftest.err
>&5
6877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878 (exit $ac_status); } >/dev
/null
; then
6879 if test -s conftest.err
; then
6880 ac_cpp_err
=$ac_c_preproc_warn_flag
6881 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6888 if test -z "$ac_cpp_err"; then
6889 # Broken: success on invalid input.
6892 echo "$as_me: failed program was:" >&5
6893 sed 's/^/| /' conftest.
$ac_ext >&5
6895 # Passes both tests.
6899 rm -f conftest.err conftest.
$ac_ext
6902 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6903 rm -f conftest.err conftest.
$ac_ext
6904 if $ac_preproc_ok; then
6907 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6908 See \`config.log' for more details." >&5
6909 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6910 See \`config.log' for more details." >&2;}
6911 { (exit 1); exit 1; }; }
6915 ac_cpp
='$CPP $CPPFLAGS'
6916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6921 echo "$as_me:$LINENO: checking for egrep" >&5
6922 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6923 if test "${ac_cv_prog_egrep+set}" = set; then
6924 echo $ECHO_N "(cached) $ECHO_C" >&6
6926 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6927 then ac_cv_prog_egrep
='grep -E'
6928 else ac_cv_prog_egrep
='egrep'
6931 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6932 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6933 EGREP
=$ac_cv_prog_egrep
6936 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6937 # for constant arguments. Useless!
6938 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6939 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6940 if test "${ac_cv_working_alloca_h+set}" = set; then
6941 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 cat >conftest.
$ac_ext <<_ACEOF
6946 cat confdefs.h
>>conftest.
$ac_ext
6947 cat >>conftest.
$ac_ext <<_ACEOF
6948 /* end confdefs.h. */
6953 char *p = (char *) alloca (2 * sizeof (int));
6958 rm -f conftest.
$ac_objext conftest
$ac_exeext
6959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6960 (eval $ac_link) 2>conftest.er1
6962 grep -v '^ *+' conftest.er1
>conftest.err
6964 cat conftest.err
>&5
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); } &&
6967 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972 (exit $ac_status); }; } &&
6973 { ac_try
='test -s conftest$ac_exeext'
6974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978 (exit $ac_status); }; }; then
6979 ac_cv_working_alloca_h
=yes
6981 echo "$as_me: failed program was:" >&5
6982 sed 's/^/| /' conftest.
$ac_ext >&5
6984 ac_cv_working_alloca_h
=no
6986 rm -f conftest.err conftest.
$ac_objext \
6987 conftest
$ac_exeext conftest.
$ac_ext
6989 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6990 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6991 if test $ac_cv_working_alloca_h = yes; then
6993 cat >>confdefs.h
<<\_ACEOF
6994 #define HAVE_ALLOCA_H 1
6999 echo "$as_me:$LINENO: checking for alloca" >&5
7000 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7001 if test "${ac_cv_func_alloca_works+set}" = set; then
7002 echo $ECHO_N "(cached) $ECHO_C" >&6
7004 cat >conftest.
$ac_ext <<_ACEOF
7007 cat confdefs.h
>>conftest.
$ac_ext
7008 cat >>conftest.
$ac_ext <<_ACEOF
7009 /* end confdefs.h. */
7011 # define alloca __builtin_alloca
7014 # include <malloc.h>
7015 # define alloca _alloca
7018 # include <alloca.h>
7023 # ifndef alloca /* predefined by HP cc +Olibcalls */
7034 char *p = (char *) alloca (1);
7039 rm -f conftest.
$ac_objext conftest
$ac_exeext
7040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7041 (eval $ac_link) 2>conftest.er1
7043 grep -v '^ *+' conftest.er1
>conftest.err
7045 cat conftest.err
>&5
7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7047 (exit $ac_status); } &&
7048 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); }; } &&
7054 { ac_try
='test -s conftest$ac_exeext'
7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); }; }; then
7060 ac_cv_func_alloca_works
=yes
7062 echo "$as_me: failed program was:" >&5
7063 sed 's/^/| /' conftest.
$ac_ext >&5
7065 ac_cv_func_alloca_works
=no
7067 rm -f conftest.err conftest.
$ac_objext \
7068 conftest
$ac_exeext conftest.
$ac_ext
7070 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7071 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7073 if test $ac_cv_func_alloca_works = yes; then
7075 cat >>confdefs.h
<<\_ACEOF
7076 #define HAVE_ALLOCA 1
7080 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7081 # that cause trouble. Some versions do not even contain alloca or
7082 # contain a buggy version. If you still want to use their alloca,
7083 # use ar to extract alloca.o from them instead of compiling alloca.c.
7085 ALLOCA
=alloca.
$ac_objext
7087 cat >>confdefs.h
<<\_ACEOF
7092 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7093 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7094 if test "${ac_cv_os_cray+set}" = set; then
7095 echo $ECHO_N "(cached) $ECHO_C" >&6
7097 cat >conftest.
$ac_ext <<_ACEOF
7100 cat confdefs.h
>>conftest.
$ac_ext
7101 cat >>conftest.
$ac_ext <<_ACEOF
7102 /* end confdefs.h. */
7103 #if defined(CRAY) && ! defined(CRAY2)
7110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7111 $EGREP "webecray" >/dev
/null
2>&1; then
7119 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7120 echo "${ECHO_T}$ac_cv_os_cray" >&6
7121 if test $ac_cv_os_cray = yes; then
7122 for ac_func
in _getb67 GETB67 getb67
; do
7123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7124 echo "$as_me:$LINENO: checking for $ac_func" >&5
7125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7126 if eval "test \"\${$as_ac_var+set}\" = set"; then
7127 echo $ECHO_N "(cached) $ECHO_C" >&6
7129 cat >conftest.
$ac_ext <<_ACEOF
7132 cat confdefs.h
>>conftest.
$ac_ext
7133 cat >>conftest.
$ac_ext <<_ACEOF
7134 /* end confdefs.h. */
7135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7137 #define $ac_func innocuous_$ac_func
7139 /* System header to define __stub macros and hopefully few prototypes,
7140 which can conflict with char $ac_func (); below.
7141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7142 <limits.h> exists even on freestanding compilers. */
7145 # include <limits.h>
7147 # include <assert.h>
7152 /* Override any gcc2 internal prototype to avoid an error. */
7157 /* We use char because int might match the return type of a gcc2
7158 builtin and then its argument prototype would still apply. */
7160 /* The GNU C library defines this for functions which it implements
7161 to always fail with ENOSYS. Some functions are actually named
7162 something starting with __ and the normal name is an alias. */
7163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7166 char (*f) () = $ac_func;
7175 return f != $ac_func;
7180 rm -f conftest.
$ac_objext conftest
$ac_exeext
7181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7182 (eval $ac_link) 2>conftest.er1
7184 grep -v '^ *+' conftest.er1
>conftest.err
7186 cat conftest.err
>&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } &&
7189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); }; } &&
7195 { ac_try
='test -s conftest$ac_exeext'
7196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200 (exit $ac_status); }; }; then
7201 eval "$as_ac_var=yes"
7203 echo "$as_me: failed program was:" >&5
7204 sed 's/^/| /' conftest.
$ac_ext >&5
7206 eval "$as_ac_var=no"
7208 rm -f conftest.err conftest.
$ac_objext \
7209 conftest
$ac_exeext conftest.
$ac_ext
7211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7213 if test `eval echo '${'$as_ac_var'}'` = yes; then
7215 cat >>confdefs.h
<<_ACEOF
7216 #define CRAY_STACKSEG_END $ac_func
7225 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7226 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7227 if test "${ac_cv_c_stack_direction+set}" = set; then
7228 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 if test "$cross_compiling" = yes; then
7231 ac_cv_c_stack_direction
=0
7233 cat >conftest.
$ac_ext <<_ACEOF
7236 cat confdefs.h
>>conftest.
$ac_ext
7237 cat >>conftest.
$ac_ext <<_ACEOF
7238 /* end confdefs.h. */
7240 find_stack_direction ()
7242 static char *addr = 0;
7247 return find_stack_direction ();
7250 return (&dummy > addr) ? 1 : -1;
7256 exit (find_stack_direction () < 0);
7259 rm -f conftest
$ac_exeext
7260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7261 (eval $ac_link) 2>&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269 (exit $ac_status); }; }; then
7270 ac_cv_c_stack_direction
=1
7272 echo "$as_me: program exited with status $ac_status" >&5
7273 echo "$as_me: failed program was:" >&5
7274 sed 's/^/| /' conftest.
$ac_ext >&5
7277 ac_cv_c_stack_direction
=-1
7279 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7282 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7283 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7285 cat >>confdefs.h
<<_ACEOF
7286 #define STACK_DIRECTION $ac_cv_c_stack_direction
7292 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7293 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7294 if test "${ac_cv_header_stdc+set}" = set; then
7295 echo $ECHO_N "(cached) $ECHO_C" >&6
7297 cat >conftest.
$ac_ext <<_ACEOF
7300 cat confdefs.h
>>conftest.
$ac_ext
7301 cat >>conftest.
$ac_ext <<_ACEOF
7302 /* end confdefs.h. */
7316 rm -f conftest.
$ac_objext
7317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7318 (eval $ac_compile) 2>conftest.er1
7320 grep -v '^ *+' conftest.er1
>conftest.err
7322 cat conftest.err
>&5
7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); } &&
7325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); }; } &&
7331 { ac_try
='test -s conftest.$ac_objext'
7332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336 (exit $ac_status); }; }; then
7337 ac_cv_header_stdc
=yes
7339 echo "$as_me: failed program was:" >&5
7340 sed 's/^/| /' conftest.
$ac_ext >&5
7342 ac_cv_header_stdc
=no
7344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7346 if test $ac_cv_header_stdc = yes; then
7347 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7348 cat >conftest.
$ac_ext <<_ACEOF
7351 cat confdefs.h
>>conftest.
$ac_ext
7352 cat >>conftest.
$ac_ext <<_ACEOF
7353 /* end confdefs.h. */
7357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7358 $EGREP "memchr" >/dev
/null
2>&1; then
7361 ac_cv_header_stdc
=no
7367 if test $ac_cv_header_stdc = yes; then
7368 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7369 cat >conftest.
$ac_ext <<_ACEOF
7372 cat confdefs.h
>>conftest.
$ac_ext
7373 cat >>conftest.
$ac_ext <<_ACEOF
7374 /* end confdefs.h. */
7378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7379 $EGREP "free" >/dev
/null
2>&1; then
7382 ac_cv_header_stdc
=no
7388 if test $ac_cv_header_stdc = yes; then
7389 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7390 if test "$cross_compiling" = yes; then
7393 cat >conftest.
$ac_ext <<_ACEOF
7396 cat confdefs.h
>>conftest.
$ac_ext
7397 cat >>conftest.
$ac_ext <<_ACEOF
7398 /* end confdefs.h. */
7400 #if ((' ' & 0x0FF) == 0x020)
7401 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7402 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7404 # define ISLOWER(c) \
7405 (('a' <= (c) && (c) <= 'i') \
7406 || ('j' <= (c) && (c) <= 'r') \
7407 || ('s' <= (c) && (c) <= 'z'))
7408 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7411 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7416 for (i = 0; i < 256; i++)
7417 if (XOR (islower (i), ISLOWER (i))
7418 || toupper (i) != TOUPPER (i))
7423 rm -f conftest
$ac_exeext
7424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7425 (eval $ac_link) 2>&5
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); }; }; then
7436 echo "$as_me: program exited with status $ac_status" >&5
7437 echo "$as_me: failed program was:" >&5
7438 sed 's/^/| /' conftest.
$ac_ext >&5
7441 ac_cv_header_stdc
=no
7443 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7447 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7448 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7449 if test $ac_cv_header_stdc = yes; then
7451 cat >>confdefs.h
<<\_ACEOF
7452 #define STDC_HEADERS 1
7457 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7458 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
7459 if test "${ac_cv_header_sys_wait_h+set}" = set; then
7460 echo $ECHO_N "(cached) $ECHO_C" >&6
7462 cat >conftest.
$ac_ext <<_ACEOF
7465 cat confdefs.h
>>conftest.
$ac_ext
7466 cat >>conftest.
$ac_ext <<_ACEOF
7467 /* end confdefs.h. */
7468 #include <sys/types.h>
7469 #include <sys/wait.h>
7471 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
7474 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7482 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7487 rm -f conftest.
$ac_objext
7488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7489 (eval $ac_compile) 2>conftest.er1
7491 grep -v '^ *+' conftest.er1
>conftest.err
7493 cat conftest.err
>&5
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); } &&
7496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); }; } &&
7502 { ac_try
='test -s conftest.$ac_objext'
7503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); }; }; then
7508 ac_cv_header_sys_wait_h
=yes
7510 echo "$as_me: failed program was:" >&5
7511 sed 's/^/| /' conftest.
$ac_ext >&5
7513 ac_cv_header_sys_wait_h
=no
7515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7517 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
7518 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
7519 if test $ac_cv_header_sys_wait_h = yes; then
7521 cat >>confdefs.h
<<\_ACEOF
7522 #define HAVE_SYS_WAIT_H 1
7527 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7537 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7538 inttypes.h stdint.h unistd.h
7540 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7541 echo "$as_me:$LINENO: checking for $ac_header" >&5
7542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7544 echo $ECHO_N "(cached) $ECHO_C" >&6
7546 cat >conftest.
$ac_ext <<_ACEOF
7549 cat confdefs.h
>>conftest.
$ac_ext
7550 cat >>conftest.
$ac_ext <<_ACEOF
7551 /* end confdefs.h. */
7552 $ac_includes_default
7554 #include <$ac_header>
7556 rm -f conftest.
$ac_objext
7557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7558 (eval $ac_compile) 2>conftest.er1
7560 grep -v '^ *+' conftest.er1
>conftest.err
7562 cat conftest.err
>&5
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); } &&
7565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); }; } &&
7571 { ac_try
='test -s conftest.$ac_objext'
7572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); }; }; then
7577 eval "$as_ac_Header=yes"
7579 echo "$as_me: failed program was:" >&5
7580 sed 's/^/| /' conftest.
$ac_ext >&5
7582 eval "$as_ac_Header=no"
7584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7589 cat >>confdefs.h
<<_ACEOF
7590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7609 for ac_header
in inttypes.h libintl.h limits.h locale.h malloc.h netinet
/in.h stddef.h stdlib.h string.h
strings.h unistd.h
7611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7613 echo "$as_me:$LINENO: checking for $ac_header" >&5
7614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7616 echo $ECHO_N "(cached) $ECHO_C" >&6
7618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7621 # Is the header compilable?
7622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7624 cat >conftest.
$ac_ext <<_ACEOF
7627 cat confdefs.h
>>conftest.
$ac_ext
7628 cat >>conftest.
$ac_ext <<_ACEOF
7629 /* end confdefs.h. */
7630 $ac_includes_default
7631 #include <$ac_header>
7633 rm -f conftest.
$ac_objext
7634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7635 (eval $ac_compile) 2>conftest.er1
7637 grep -v '^ *+' conftest.er1
>conftest.err
7639 cat conftest.err
>&5
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); } &&
7642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); }; } &&
7648 { ac_try
='test -s conftest.$ac_objext'
7649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); }; }; then
7654 ac_header_compiler
=yes
7656 echo "$as_me: failed program was:" >&5
7657 sed 's/^/| /' conftest.
$ac_ext >&5
7659 ac_header_compiler
=no
7661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7663 echo "${ECHO_T}$ac_header_compiler" >&6
7665 # Is the header present?
7666 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7667 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7668 cat >conftest.
$ac_ext <<_ACEOF
7671 cat confdefs.h
>>conftest.
$ac_ext
7672 cat >>conftest.
$ac_ext <<_ACEOF
7673 /* end confdefs.h. */
7674 #include <$ac_header>
7676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7677 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7679 grep -v '^ *+' conftest.er1
>conftest.err
7681 cat conftest.err
>&5
7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 (exit $ac_status); } >/dev
/null
; then
7684 if test -s conftest.err
; then
7685 ac_cpp_err
=$ac_c_preproc_warn_flag
7686 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7693 if test -z "$ac_cpp_err"; then
7694 ac_header_preproc
=yes
7696 echo "$as_me: failed program was:" >&5
7697 sed 's/^/| /' conftest.
$ac_ext >&5
7699 ac_header_preproc
=no
7701 rm -f conftest.err conftest.
$ac_ext
7702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7703 echo "${ECHO_T}$ac_header_preproc" >&6
7705 # So? What about this header?
7706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7708 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7711 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7712 ac_header_preproc
=yes
7715 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7717 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7718 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7719 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7720 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7721 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7722 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7725 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7726 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7729 ## ---------------------------------------------- ##
7730 ## Report this to flex-help@lists.sourceforge.net ##
7731 ## ---------------------------------------------- ##
7734 sed "s/^/$as_me: WARNING: /" >&2
7737 echo "$as_me:$LINENO: checking for $ac_header" >&5
7738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7742 eval "$as_ac_Header=\$ac_header_preproc"
7744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7749 cat >>confdefs.h
<<_ACEOF
7750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7758 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
7759 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
7760 if test "${ac_cv_lib_m_log10+set}" = set; then
7761 echo $ECHO_N "(cached) $ECHO_C" >&6
7763 ac_check_lib_save_LIBS
=$LIBS
7765 cat >conftest.
$ac_ext <<_ACEOF
7768 cat confdefs.h
>>conftest.
$ac_ext
7769 cat >>conftest.
$ac_ext <<_ACEOF
7770 /* end confdefs.h. */
7772 /* Override any gcc2 internal prototype to avoid an error. */
7776 /* We use char because int might match the return type of a gcc2
7777 builtin and then its argument prototype would still apply. */
7787 rm -f conftest.
$ac_objext conftest
$ac_exeext
7788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7789 (eval $ac_link) 2>conftest.er1
7791 grep -v '^ *+' conftest.er1
>conftest.err
7793 cat conftest.err
>&5
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); } &&
7796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); }; } &&
7802 { ac_try
='test -s conftest$ac_exeext'
7803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807 (exit $ac_status); }; }; then
7808 ac_cv_lib_m_log10
=yes
7810 echo "$as_me: failed program was:" >&5
7811 sed 's/^/| /' conftest.
$ac_ext >&5
7813 ac_cv_lib_m_log10
=no
7815 rm -f conftest.err conftest.
$ac_objext \
7816 conftest
$ac_exeext conftest.
$ac_ext
7817 LIBS
=$ac_check_lib_save_LIBS
7819 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
7820 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
7821 if test $ac_cv_lib_m_log10 = yes; then
7822 cat >>confdefs.h
<<_ACEOF
7831 # The test test-pthread uses libpthread, so we check for it here, but
7832 # all we need is the preprocessor symbol defined since we don't need
7833 # LIBS to include libpthread for building flex.
7835 echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
7836 echo $ECHO_N "checking for pthread_mutex_lock in -lpthread... $ECHO_C" >&6
7837 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
7838 echo $ECHO_N "(cached) $ECHO_C" >&6
7840 ac_check_lib_save_LIBS
=$LIBS
7841 LIBS
="-lpthread $LIBS"
7842 cat >conftest.
$ac_ext <<_ACEOF
7845 cat confdefs.h
>>conftest.
$ac_ext
7846 cat >>conftest.
$ac_ext <<_ACEOF
7847 /* end confdefs.h. */
7849 /* Override any gcc2 internal prototype to avoid an error. */
7853 /* We use char because int might match the return type of a gcc2
7854 builtin and then its argument prototype would still apply. */
7855 char pthread_mutex_lock ();
7859 pthread_mutex_lock ();
7864 rm -f conftest.
$ac_objext conftest
$ac_exeext
7865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7866 (eval $ac_link) 2>conftest.er1
7868 grep -v '^ *+' conftest.er1
>conftest.err
7870 cat conftest.err
>&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); } &&
7873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); }; } &&
7879 { ac_try
='test -s conftest$ac_exeext'
7880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }; }; then
7885 ac_cv_lib_pthread_pthread_mutex_lock
=yes
7887 echo "$as_me: failed program was:" >&5
7888 sed 's/^/| /' conftest.
$ac_ext >&5
7890 ac_cv_lib_pthread_pthread_mutex_lock
=no
7892 rm -f conftest.err conftest.
$ac_objext \
7893 conftest
$ac_exeext conftest.
$ac_ext
7894 LIBS
=$ac_check_lib_save_LIBS
7896 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
7897 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_lock" >&6
7898 if test $ac_cv_lib_pthread_pthread_mutex_lock = yes; then
7900 cat >>confdefs.h
<<\_ACEOF
7901 #define HAVE_LIBPTHREAD 1
7906 cat >>confdefs.h
<<\_ACEOF
7907 #define HAVE_LIBPTHREAD 0
7914 for ac_header
in pthread.h
7916 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7918 echo "$as_me:$LINENO: checking for $ac_header" >&5
7919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7921 echo $ECHO_N "(cached) $ECHO_C" >&6
7923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7926 # Is the header compilable?
7927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7929 cat >conftest.
$ac_ext <<_ACEOF
7932 cat confdefs.h
>>conftest.
$ac_ext
7933 cat >>conftest.
$ac_ext <<_ACEOF
7934 /* end confdefs.h. */
7935 $ac_includes_default
7936 #include <$ac_header>
7938 rm -f conftest.
$ac_objext
7939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7940 (eval $ac_compile) 2>conftest.er1
7942 grep -v '^ *+' conftest.er1
>conftest.err
7944 cat conftest.err
>&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); } &&
7947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952 (exit $ac_status); }; } &&
7953 { ac_try
='test -s conftest.$ac_objext'
7954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958 (exit $ac_status); }; }; then
7959 ac_header_compiler
=yes
7961 echo "$as_me: failed program was:" >&5
7962 sed 's/^/| /' conftest.
$ac_ext >&5
7964 ac_header_compiler
=no
7966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7967 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7968 echo "${ECHO_T}$ac_header_compiler" >&6
7970 # Is the header present?
7971 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7972 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7973 cat >conftest.
$ac_ext <<_ACEOF
7976 cat confdefs.h
>>conftest.
$ac_ext
7977 cat >>conftest.
$ac_ext <<_ACEOF
7978 /* end confdefs.h. */
7979 #include <$ac_header>
7981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7982 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7984 grep -v '^ *+' conftest.er1
>conftest.err
7986 cat conftest.err
>&5
7987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7988 (exit $ac_status); } >/dev
/null
; then
7989 if test -s conftest.err
; then
7990 ac_cpp_err
=$ac_c_preproc_warn_flag
7991 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7998 if test -z "$ac_cpp_err"; then
7999 ac_header_preproc
=yes
8001 echo "$as_me: failed program was:" >&5
8002 sed 's/^/| /' conftest.
$ac_ext >&5
8004 ac_header_preproc
=no
8006 rm -f conftest.err conftest.
$ac_ext
8007 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8008 echo "${ECHO_T}$ac_header_preproc" >&6
8010 # So? What about this header?
8011 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8013 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8014 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8016 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8017 ac_header_preproc
=yes
8020 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8021 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8022 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8023 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8024 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8025 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8026 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8027 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8029 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8030 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8031 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8034 ## ---------------------------------------------- ##
8035 ## Report this to flex-help@lists.sourceforge.net ##
8036 ## ---------------------------------------------- ##
8039 sed "s/^/$as_me: WARNING: /" >&2
8042 echo "$as_me:$LINENO: checking for $ac_header" >&5
8043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8045 echo $ECHO_N "(cached) $ECHO_C" >&6
8047 eval "$as_ac_Header=\$ac_header_preproc"
8049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8054 cat >>confdefs.h
<<_ACEOF
8055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8063 # Checks for typedefs, structures, and compiler characteristics.
8065 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
8066 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
8067 if test "${ac_cv_header_stdbool_h+set}" = set; then
8068 echo $ECHO_N "(cached) $ECHO_C" >&6
8070 cat >conftest.
$ac_ext <<_ACEOF
8073 cat confdefs.h
>>conftest.
$ac_ext
8074 cat >>conftest.
$ac_ext <<_ACEOF
8075 /* end confdefs.h. */
8077 #include <stdbool.h>
8079 # error bool is not defined
8082 # error false is not defined
8085 # error false is not 0
8088 # error true is not defined
8091 # error true is not 1
8093 #ifndef __bool_true_false_are_defined
8094 # error __bool_true_false_are_defined is not defined
8097 struct s { _Bool s: 1; _Bool t; } s;
8099 char a[true == 1 ? 1 : -1];
8100 char b[false == 0 ? 1 : -1];
8101 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
8102 char d[(bool) -0.5 == true ? 1 : -1];
8104 char f[(_Bool) -0.0 == false ? 1 : -1];
8106 char h[sizeof (_Bool)];
8112 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
8117 rm -f conftest.
$ac_objext
8118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8119 (eval $ac_compile) 2>conftest.er1
8121 grep -v '^ *+' conftest.er1
>conftest.err
8123 cat conftest.err
>&5
8124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); } &&
8126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131 (exit $ac_status); }; } &&
8132 { ac_try
='test -s conftest.$ac_objext'
8133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); }; }; then
8138 ac_cv_header_stdbool_h
=yes
8140 echo "$as_me: failed program was:" >&5
8141 sed 's/^/| /' conftest.
$ac_ext >&5
8143 ac_cv_header_stdbool_h
=no
8145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8147 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
8148 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
8149 echo "$as_me:$LINENO: checking for _Bool" >&5
8150 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
8151 if test "${ac_cv_type__Bool+set}" = set; then
8152 echo $ECHO_N "(cached) $ECHO_C" >&6
8154 cat >conftest.
$ac_ext <<_ACEOF
8157 cat confdefs.h
>>conftest.
$ac_ext
8158 cat >>conftest.
$ac_ext <<_ACEOF
8159 /* end confdefs.h. */
8160 $ac_includes_default
8172 rm -f conftest.
$ac_objext
8173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8174 (eval $ac_compile) 2>conftest.er1
8176 grep -v '^ *+' conftest.er1
>conftest.err
8178 cat conftest.err
>&5
8179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180 (exit $ac_status); } &&
8181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186 (exit $ac_status); }; } &&
8187 { ac_try
='test -s conftest.$ac_objext'
8188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); }; }; then
8193 ac_cv_type__Bool
=yes
8195 echo "$as_me: failed program was:" >&5
8196 sed 's/^/| /' conftest.
$ac_ext >&5
8200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8202 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
8203 echo "${ECHO_T}$ac_cv_type__Bool" >&6
8204 if test $ac_cv_type__Bool = yes; then
8206 cat >>confdefs.h
<<_ACEOF
8207 #define HAVE__BOOL 1
8213 if test $ac_cv_header_stdbool_h = yes; then
8215 cat >>confdefs.h
<<\_ACEOF
8216 #define HAVE_STDBOOL_H 1
8221 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8222 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8223 if test "${ac_cv_c_const+set}" = set; then
8224 echo $ECHO_N "(cached) $ECHO_C" >&6
8226 cat >conftest.
$ac_ext <<_ACEOF
8229 cat confdefs.h
>>conftest.
$ac_ext
8230 cat >>conftest.
$ac_ext <<_ACEOF
8231 /* end confdefs.h. */
8236 /* FIXME: Include the comments suggested by Paul. */
8238 /* Ultrix mips cc rejects this. */
8239 typedef int charset[2];
8241 /* SunOS 4.1.1 cc rejects this. */
8242 char const *const *ccp;
8244 /* NEC SVR4.0.2 mips cc rejects this. */
8245 struct point {int x, y;};
8246 static struct point const zero = {0,0};
8247 /* AIX XL C 1.02.0.0 rejects this.
8248 It does not let you subtract one const X* pointer from another in
8249 an arm of an if-expression whose if-part is not a constant
8251 const char *g = "string";
8252 ccp = &g + (g ? g-g : 0);
8253 /* HPUX 7.0 cc rejects these. */
8256 ccp = (char const *const *) p;
8257 { /* SCO 3.2v4 cc rejects this. */
8259 char const *s = 0 ? (char *) 0 : (char const *) 0;
8263 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8265 const int *foo = &x[0];
8268 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8269 typedef const int *iptr;
8273 { /* AIX XL C 1.02.0.0 rejects this saying
8274 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8275 struct s { int j; const int *ap[3]; };
8276 struct s *b; b->j = 5;
8278 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8287 rm -f conftest.
$ac_objext
8288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8289 (eval $ac_compile) 2>conftest.er1
8291 grep -v '^ *+' conftest.er1
>conftest.err
8293 cat conftest.err
>&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); } &&
8296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); }; } &&
8302 { ac_try
='test -s conftest.$ac_objext'
8303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8307 (exit $ac_status); }; }; then
8310 echo "$as_me: failed program was:" >&5
8311 sed 's/^/| /' conftest.
$ac_ext >&5
8315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8317 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8318 echo "${ECHO_T}$ac_cv_c_const" >&6
8319 if test $ac_cv_c_const = no
; then
8321 cat >>confdefs.h
<<\_ACEOF
8327 echo "$as_me:$LINENO: checking for size_t" >&5
8328 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8329 if test "${ac_cv_type_size_t+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8332 cat >conftest.
$ac_ext <<_ACEOF
8335 cat confdefs.h
>>conftest.
$ac_ext
8336 cat >>conftest.
$ac_ext <<_ACEOF
8337 /* end confdefs.h. */
8338 $ac_includes_default
8344 if (sizeof (size_t))
8350 rm -f conftest.
$ac_objext
8351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8352 (eval $ac_compile) 2>conftest.er1
8354 grep -v '^ *+' conftest.er1
>conftest.err
8356 cat conftest.err
>&5
8357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358 (exit $ac_status); } &&
8359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); }; } &&
8365 { ac_try
='test -s conftest.$ac_objext'
8366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); }; }; then
8371 ac_cv_type_size_t
=yes
8373 echo "$as_me: failed program was:" >&5
8374 sed 's/^/| /' conftest.
$ac_ext >&5
8376 ac_cv_type_size_t
=no
8378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8380 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8381 echo "${ECHO_T}$ac_cv_type_size_t" >&6
8382 if test $ac_cv_type_size_t = yes; then
8386 cat >>confdefs.h
<<_ACEOF
8387 #define size_t unsigned
8393 # Checks for library functions.
8395 echo "$as_me:$LINENO: checking for pid_t" >&5
8396 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
8397 if test "${ac_cv_type_pid_t+set}" = set; then
8398 echo $ECHO_N "(cached) $ECHO_C" >&6
8400 cat >conftest.
$ac_ext <<_ACEOF
8403 cat confdefs.h
>>conftest.
$ac_ext
8404 cat >>conftest.
$ac_ext <<_ACEOF
8405 /* end confdefs.h. */
8406 $ac_includes_default
8418 rm -f conftest.
$ac_objext
8419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8420 (eval $ac_compile) 2>conftest.er1
8422 grep -v '^ *+' conftest.er1
>conftest.err
8424 cat conftest.err
>&5
8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426 (exit $ac_status); } &&
8427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); }; } &&
8433 { ac_try
='test -s conftest.$ac_objext'
8434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438 (exit $ac_status); }; }; then
8439 ac_cv_type_pid_t
=yes
8441 echo "$as_me: failed program was:" >&5
8442 sed 's/^/| /' conftest.
$ac_ext >&5
8446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8448 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
8449 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
8450 if test $ac_cv_type_pid_t = yes; then
8454 cat >>confdefs.h
<<_ACEOF
8462 for ac_header
in unistd.h vfork.h
8464 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8466 echo "$as_me:$LINENO: checking for $ac_header" >&5
8467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8469 echo $ECHO_N "(cached) $ECHO_C" >&6
8471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8474 # Is the header compilable?
8475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8477 cat >conftest.
$ac_ext <<_ACEOF
8480 cat confdefs.h
>>conftest.
$ac_ext
8481 cat >>conftest.
$ac_ext <<_ACEOF
8482 /* end confdefs.h. */
8483 $ac_includes_default
8484 #include <$ac_header>
8486 rm -f conftest.
$ac_objext
8487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8488 (eval $ac_compile) 2>conftest.er1
8490 grep -v '^ *+' conftest.er1
>conftest.err
8492 cat conftest.err
>&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } &&
8495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); }; } &&
8501 { ac_try
='test -s conftest.$ac_objext'
8502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506 (exit $ac_status); }; }; then
8507 ac_header_compiler
=yes
8509 echo "$as_me: failed program was:" >&5
8510 sed 's/^/| /' conftest.
$ac_ext >&5
8512 ac_header_compiler
=no
8514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8516 echo "${ECHO_T}$ac_header_compiler" >&6
8518 # Is the header present?
8519 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8520 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8521 cat >conftest.
$ac_ext <<_ACEOF
8524 cat confdefs.h
>>conftest.
$ac_ext
8525 cat >>conftest.
$ac_ext <<_ACEOF
8526 /* end confdefs.h. */
8527 #include <$ac_header>
8529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8530 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8532 grep -v '^ *+' conftest.er1
>conftest.err
8534 cat conftest.err
>&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); } >/dev
/null
; then
8537 if test -s conftest.err
; then
8538 ac_cpp_err
=$ac_c_preproc_warn_flag
8539 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8546 if test -z "$ac_cpp_err"; then
8547 ac_header_preproc
=yes
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.
$ac_ext >&5
8552 ac_header_preproc
=no
8554 rm -f conftest.err conftest.
$ac_ext
8555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8556 echo "${ECHO_T}$ac_header_preproc" >&6
8558 # So? What about this header?
8559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8565 ac_header_preproc
=yes
8568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8582 ## ---------------------------------------------- ##
8583 ## Report this to flex-help@lists.sourceforge.net ##
8584 ## ---------------------------------------------- ##
8587 sed "s/^/$as_me: WARNING: /" >&2
8590 echo "$as_me:$LINENO: checking for $ac_header" >&5
8591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8593 echo $ECHO_N "(cached) $ECHO_C" >&6
8595 eval "$as_ac_Header=\$ac_header_preproc"
8597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8602 cat >>confdefs.h
<<_ACEOF
8603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8612 for ac_func
in fork vfork
8614 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8615 echo "$as_me:$LINENO: checking for $ac_func" >&5
8616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8617 if eval "test \"\${$as_ac_var+set}\" = set"; then
8618 echo $ECHO_N "(cached) $ECHO_C" >&6
8620 cat >conftest.
$ac_ext <<_ACEOF
8623 cat confdefs.h
>>conftest.
$ac_ext
8624 cat >>conftest.
$ac_ext <<_ACEOF
8625 /* end confdefs.h. */
8626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8628 #define $ac_func innocuous_$ac_func
8630 /* System header to define __stub macros and hopefully few prototypes,
8631 which can conflict with char $ac_func (); below.
8632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8633 <limits.h> exists even on freestanding compilers. */
8636 # include <limits.h>
8638 # include <assert.h>
8643 /* Override any gcc2 internal prototype to avoid an error. */
8648 /* We use char because int might match the return type of a gcc2
8649 builtin and then its argument prototype would still apply. */
8651 /* The GNU C library defines this for functions which it implements
8652 to always fail with ENOSYS. Some functions are actually named
8653 something starting with __ and the normal name is an alias. */
8654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8657 char (*f) () = $ac_func;
8666 return f != $ac_func;
8671 rm -f conftest.
$ac_objext conftest
$ac_exeext
8672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8673 (eval $ac_link) 2>conftest.er1
8675 grep -v '^ *+' conftest.er1
>conftest.err
8677 cat conftest.err
>&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); } &&
8680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); }; } &&
8686 { ac_try
='test -s conftest$ac_exeext'
8687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); }; }; then
8692 eval "$as_ac_var=yes"
8694 echo "$as_me: failed program was:" >&5
8695 sed 's/^/| /' conftest.
$ac_ext >&5
8697 eval "$as_ac_var=no"
8699 rm -f conftest.err conftest.
$ac_objext \
8700 conftest
$ac_exeext conftest.
$ac_ext
8702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8704 if test `eval echo '${'$as_ac_var'}'` = yes; then
8705 cat >>confdefs.h
<<_ACEOF
8706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8712 if test "x$ac_cv_func_fork" = xyes
; then
8713 echo "$as_me:$LINENO: checking for working fork" >&5
8714 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
8715 if test "${ac_cv_func_fork_works+set}" = set; then
8716 echo $ECHO_N "(cached) $ECHO_C" >&6
8718 if test "$cross_compiling" = yes; then
8719 ac_cv_func_fork_works
=cross
8721 cat >conftest.
$ac_ext <<_ACEOF
8724 cat confdefs.h
>>conftest.
$ac_ext
8725 cat >>conftest.
$ac_ext <<_ACEOF
8726 /* end confdefs.h. */
8727 $ac_includes_default
8732 /* By Ruediger Kuhlmann. */
8741 rm -f conftest
$ac_exeext
8742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8743 (eval $ac_link) 2>&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8751 (exit $ac_status); }; }; then
8752 ac_cv_func_fork_works
=yes
8754 echo "$as_me: program exited with status $ac_status" >&5
8755 echo "$as_me: failed program was:" >&5
8756 sed 's/^/| /' conftest.
$ac_ext >&5
8759 ac_cv_func_fork_works
=no
8761 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8764 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
8765 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
8768 ac_cv_func_fork_works
=$ac_cv_func_fork
8770 if test "x$ac_cv_func_fork_works" = xcross
; then
8772 *-*-amigaos* |
*-*-msdosdjgpp*)
8773 # Override, as these systems have only a dummy fork() stub
8774 ac_cv_func_fork_works
=no
8777 ac_cv_func_fork_works
=yes
8780 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
8781 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
8783 ac_cv_func_vfork_works
=$ac_cv_func_vfork
8784 if test "x$ac_cv_func_vfork" = xyes
; then
8785 echo "$as_me:$LINENO: checking for working vfork" >&5
8786 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
8787 if test "${ac_cv_func_vfork_works+set}" = set; then
8788 echo $ECHO_N "(cached) $ECHO_C" >&6
8790 if test "$cross_compiling" = yes; then
8791 ac_cv_func_vfork_works
=cross
8793 cat >conftest.
$ac_ext <<_ACEOF
8796 cat confdefs.h
>>conftest.
$ac_ext
8797 cat >>conftest.
$ac_ext <<_ACEOF
8798 /* end confdefs.h. */
8799 /* Thanks to Paul Eggert for this test. */
8802 #include <sys/types.h>
8803 #include <sys/stat.h>
8804 #include <sys/wait.h>
8806 # include <unistd.h>
8811 /* On some sparc systems, changes by the child to local and incoming
8812 argument registers are propagated back to the parent. The compiler
8813 is told about this with #include <vfork.h>, but some compilers
8814 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
8815 static variable whose address is put into a register that is
8816 clobbered by the vfork. */
8819 sparc_address_test (int arg)
8821 sparc_address_test (arg) int arg;
8842 pid_t parent = getpid ();
8845 sparc_address_test (0);
8850 /* Here is another test for sparc vfork register problems. This
8851 test uses lots of local variables, at least as many local
8852 variables as main has allocated so far including compiler
8853 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
8854 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
8855 reuse the register of parent for one of the local variables,
8856 since it will think that parent can't possibly be used any more
8857 in this routine. Assigning to the local variable will thus
8858 munge parent in the parent process. */
8860 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
8861 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
8862 /* Convince the compiler that p..p7 are live; otherwise, it might
8863 use the same hardware register for all 8 local variables. */
8864 if (p != p1 || p != p2 || p != p3 || p != p4
8865 || p != p5 || p != p6 || p != p7)
8868 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
8869 from child file descriptors. If the child closes a descriptor
8870 before it execs or exits, this munges the parent's descriptor
8871 as well. Test for this by closing stdout in the child. */
8872 _exit(close(fileno(stdout)) != 0);
8877 while (wait(&status) != child)
8880 /* Was there some problem with vforking? */
8883 /* Did the child fail? (This shouldn't happen.) */
8886 /* Did the vfork/compiler bug occur? */
8887 || parent != getpid()
8889 /* Did the file descriptor bug occur? */
8890 || fstat(fileno(stdout), &st) != 0
8895 rm -f conftest
$ac_exeext
8896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8897 (eval $ac_link) 2>&5
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 (exit $ac_status); }; }; then
8906 ac_cv_func_vfork_works
=yes
8908 echo "$as_me: program exited with status $ac_status" >&5
8909 echo "$as_me: failed program was:" >&5
8910 sed 's/^/| /' conftest.
$ac_ext >&5
8913 ac_cv_func_vfork_works
=no
8915 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8918 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
8919 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
8922 if test "x$ac_cv_func_fork_works" = xcross
; then
8923 ac_cv_func_vfork_works
=$ac_cv_func_vfork
8924 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
8925 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
8928 if test "x$ac_cv_func_vfork_works" = xyes
; then
8930 cat >>confdefs.h
<<\_ACEOF
8931 #define HAVE_WORKING_VFORK 1
8936 cat >>confdefs.h
<<\_ACEOF
8941 if test "x$ac_cv_func_fork_works" = xyes
; then
8943 cat >>confdefs.h
<<\_ACEOF
8944 #define HAVE_WORKING_FORK 1
8950 for ac_header
in stdlib.h
8952 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8954 echo "$as_me:$LINENO: checking for $ac_header" >&5
8955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8957 echo $ECHO_N "(cached) $ECHO_C" >&6
8959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8962 # Is the header compilable?
8963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8965 cat >conftest.
$ac_ext <<_ACEOF
8968 cat confdefs.h
>>conftest.
$ac_ext
8969 cat >>conftest.
$ac_ext <<_ACEOF
8970 /* end confdefs.h. */
8971 $ac_includes_default
8972 #include <$ac_header>
8974 rm -f conftest.
$ac_objext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8976 (eval $ac_compile) 2>conftest.er1
8978 grep -v '^ *+' conftest.er1
>conftest.err
8980 cat conftest.err
>&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); } &&
8983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; } &&
8989 { ac_try
='test -s conftest.$ac_objext'
8990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); }; }; then
8995 ac_header_compiler
=yes
8997 echo "$as_me: failed program was:" >&5
8998 sed 's/^/| /' conftest.
$ac_ext >&5
9000 ac_header_compiler
=no
9002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9004 echo "${ECHO_T}$ac_header_compiler" >&6
9006 # Is the header present?
9007 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9009 cat >conftest.
$ac_ext <<_ACEOF
9012 cat confdefs.h
>>conftest.
$ac_ext
9013 cat >>conftest.
$ac_ext <<_ACEOF
9014 /* end confdefs.h. */
9015 #include <$ac_header>
9017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9018 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9020 grep -v '^ *+' conftest.er1
>conftest.err
9022 cat conftest.err
>&5
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); } >/dev
/null
; then
9025 if test -s conftest.err
; then
9026 ac_cpp_err
=$ac_c_preproc_warn_flag
9027 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9034 if test -z "$ac_cpp_err"; then
9035 ac_header_preproc
=yes
9037 echo "$as_me: failed program was:" >&5
9038 sed 's/^/| /' conftest.
$ac_ext >&5
9040 ac_header_preproc
=no
9042 rm -f conftest.err conftest.
$ac_ext
9043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9044 echo "${ECHO_T}$ac_header_preproc" >&6
9046 # So? What about this header?
9047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9052 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9053 ac_header_preproc
=yes
9056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9060 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9061 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9062 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9063 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9066 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9067 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9070 ## ---------------------------------------------- ##
9071 ## Report this to flex-help@lists.sourceforge.net ##
9072 ## ---------------------------------------------- ##
9075 sed "s/^/$as_me: WARNING: /" >&2
9078 echo "$as_me:$LINENO: checking for $ac_header" >&5
9079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9081 echo $ECHO_N "(cached) $ECHO_C" >&6
9083 eval "$as_ac_Header=\$ac_header_preproc"
9085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9090 cat >>confdefs.h
<<_ACEOF
9091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9098 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
9099 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
9100 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
9101 echo $ECHO_N "(cached) $ECHO_C" >&6
9103 if test "$cross_compiling" = yes; then
9104 ac_cv_func_malloc_0_nonnull
=no
9106 cat >conftest.
$ac_ext <<_ACEOF
9109 cat confdefs.h
>>conftest.
$ac_ext
9110 cat >>conftest.
$ac_ext <<_ACEOF
9111 /* end confdefs.h. */
9112 #if STDC_HEADERS || HAVE_STDLIB_H
9113 # include <stdlib.h>
9121 exit (malloc (0) ? 0 : 1);
9126 rm -f conftest
$ac_exeext
9127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9128 (eval $ac_link) 2>&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); }; }; then
9137 ac_cv_func_malloc_0_nonnull
=yes
9139 echo "$as_me: program exited with status $ac_status" >&5
9140 echo "$as_me: failed program was:" >&5
9141 sed 's/^/| /' conftest.
$ac_ext >&5
9144 ac_cv_func_malloc_0_nonnull
=no
9146 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9149 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
9150 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
9151 if test $ac_cv_func_malloc_0_nonnull = yes; then
9153 cat >>confdefs.h
<<\_ACEOF
9154 #define HAVE_MALLOC 1
9158 cat >>confdefs.h
<<\_ACEOF
9159 #define HAVE_MALLOC 0
9163 "malloc.$ac_objext" | \
9164 *" malloc.$ac_objext" | \
9165 "malloc.$ac_objext "* | \
9166 *" malloc.$ac_objext "* ) ;;
9167 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext" ;;
9171 cat >>confdefs.h
<<\_ACEOF
9172 #define malloc rpl_malloc
9180 for ac_header
in stdlib.h
9182 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9184 echo "$as_me:$LINENO: checking for $ac_header" >&5
9185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9192 # Is the header compilable?
9193 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9194 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9195 cat >conftest.
$ac_ext <<_ACEOF
9198 cat confdefs.h
>>conftest.
$ac_ext
9199 cat >>conftest.
$ac_ext <<_ACEOF
9200 /* end confdefs.h. */
9201 $ac_includes_default
9202 #include <$ac_header>
9204 rm -f conftest.
$ac_objext
9205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9206 (eval $ac_compile) 2>conftest.er1
9208 grep -v '^ *+' conftest.er1
>conftest.err
9210 cat conftest.err
>&5
9211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212 (exit $ac_status); } &&
9213 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); }; } &&
9219 { ac_try
='test -s conftest.$ac_objext'
9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); }; }; then
9225 ac_header_compiler
=yes
9227 echo "$as_me: failed program was:" >&5
9228 sed 's/^/| /' conftest.
$ac_ext >&5
9230 ac_header_compiler
=no
9232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9234 echo "${ECHO_T}$ac_header_compiler" >&6
9236 # Is the header present?
9237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9239 cat >conftest.
$ac_ext <<_ACEOF
9242 cat confdefs.h
>>conftest.
$ac_ext
9243 cat >>conftest.
$ac_ext <<_ACEOF
9244 /* end confdefs.h. */
9245 #include <$ac_header>
9247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9250 grep -v '^ *+' conftest.er1
>conftest.err
9252 cat conftest.err
>&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); } >/dev
/null
; then
9255 if test -s conftest.err
; then
9256 ac_cpp_err
=$ac_c_preproc_warn_flag
9257 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9264 if test -z "$ac_cpp_err"; then
9265 ac_header_preproc
=yes
9267 echo "$as_me: failed program was:" >&5
9268 sed 's/^/| /' conftest.
$ac_ext >&5
9270 ac_header_preproc
=no
9272 rm -f conftest.err conftest.
$ac_ext
9273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9274 echo "${ECHO_T}$ac_header_preproc" >&6
9276 # So? What about this header?
9277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9282 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9283 ac_header_preproc
=yes
9286 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9287 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9288 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9289 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9290 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9291 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9292 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9293 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9296 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9297 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9300 ## ---------------------------------------------- ##
9301 ## Report this to flex-help@lists.sourceforge.net ##
9302 ## ---------------------------------------------- ##
9305 sed "s/^/$as_me: WARNING: /" >&2
9308 echo "$as_me:$LINENO: checking for $ac_header" >&5
9309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9311 echo $ECHO_N "(cached) $ECHO_C" >&6
9313 eval "$as_ac_Header=\$ac_header_preproc"
9315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9320 cat >>confdefs.h
<<_ACEOF
9321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9328 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
9329 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
9330 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
9331 echo $ECHO_N "(cached) $ECHO_C" >&6
9333 if test "$cross_compiling" = yes; then
9334 ac_cv_func_realloc_0_nonnull
=no
9336 cat >conftest.
$ac_ext <<_ACEOF
9339 cat confdefs.h
>>conftest.
$ac_ext
9340 cat >>conftest.
$ac_ext <<_ACEOF
9341 /* end confdefs.h. */
9342 #if STDC_HEADERS || HAVE_STDLIB_H
9343 # include <stdlib.h>
9351 exit (realloc (0, 0) ? 0 : 1);
9356 rm -f conftest
$ac_exeext
9357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9358 (eval $ac_link) 2>&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366 (exit $ac_status); }; }; then
9367 ac_cv_func_realloc_0_nonnull
=yes
9369 echo "$as_me: program exited with status $ac_status" >&5
9370 echo "$as_me: failed program was:" >&5
9371 sed 's/^/| /' conftest.
$ac_ext >&5
9374 ac_cv_func_realloc_0_nonnull
=no
9376 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9379 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
9380 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
9381 if test $ac_cv_func_realloc_0_nonnull = yes; then
9383 cat >>confdefs.h
<<\_ACEOF
9384 #define HAVE_REALLOC 1
9388 cat >>confdefs.h
<<\_ACEOF
9389 #define HAVE_REALLOC 0
9393 "realloc.$ac_objext" | \
9394 *" realloc.$ac_objext" | \
9395 "realloc.$ac_objext "* | \
9396 *" realloc.$ac_objext "* ) ;;
9397 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext" ;;
9401 cat >>confdefs.h
<<\_ACEOF
9402 #define realloc rpl_realloc
9417 for ac_func
in dup2 isascii memset pow regcomp setlocale strchr strtol
9419 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9420 echo "$as_me:$LINENO: checking for $ac_func" >&5
9421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9422 if eval "test \"\${$as_ac_var+set}\" = set"; then
9423 echo $ECHO_N "(cached) $ECHO_C" >&6
9425 cat >conftest.
$ac_ext <<_ACEOF
9428 cat confdefs.h
>>conftest.
$ac_ext
9429 cat >>conftest.
$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9433 #define $ac_func innocuous_$ac_func
9435 /* System header to define __stub macros and hopefully few prototypes,
9436 which can conflict with char $ac_func (); below.
9437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9438 <limits.h> exists even on freestanding compilers. */
9441 # include <limits.h>
9443 # include <assert.h>
9448 /* Override any gcc2 internal prototype to avoid an error. */
9453 /* We use char because int might match the return type of a gcc2
9454 builtin and then its argument prototype would still apply. */
9456 /* The GNU C library defines this for functions which it implements
9457 to always fail with ENOSYS. Some functions are actually named
9458 something starting with __ and the normal name is an alias. */
9459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9462 char (*f) () = $ac_func;
9471 return f != $ac_func;
9476 rm -f conftest.
$ac_objext conftest
$ac_exeext
9477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9478 (eval $ac_link) 2>conftest.er1
9480 grep -v '^ *+' conftest.er1
>conftest.err
9482 cat conftest.err
>&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); } &&
9485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); }; } &&
9491 { ac_try
='test -s conftest$ac_exeext'
9492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); }; }; then
9497 eval "$as_ac_var=yes"
9499 echo "$as_me: failed program was:" >&5
9500 sed 's/^/| /' conftest.
$ac_ext >&5
9502 eval "$as_ac_var=no"
9504 rm -f conftest.err conftest.
$ac_objext \
9505 conftest
$ac_exeext conftest.
$ac_ext
9507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9509 if test `eval echo '${'$as_ac_var'}'` = yes; then
9510 cat >>confdefs.h
<<_ACEOF
9511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9518 ac_config_files
="$ac_config_files Makefile doc/Makefile examples/Makefile examples/fastwc/Makefile examples/manual/Makefile m4/Makefile po/Makefile.in tools/Makefile tests/Makefile tests/TEMPLATE/Makefile tests/test-array-nr/Makefile tests/test-array-r/Makefile tests/test-basic-nr/Makefile tests/test-basic-r/Makefile tests/test-bison-yylloc/Makefile tests/test-bison-yylval/Makefile tests/test-c-cpp-nr/Makefile tests/test-c-cpp-r/Makefile tests/test-header-nr/Makefile tests/test-header-r/Makefile tests/test-include-by-buffer/Makefile tests/test-include-by-push/Makefile tests/test-include-by-reentrant/Makefile tests/test-multiple-scanners-nr/Makefile tests/test-multiple-scanners-r/Makefile tests/test-noansi-nr/Makefile tests/test-noansi-r/Makefile tests/test-prefix-nr/Makefile tests/test-prefix-r/Makefile tests/test-pthread/Makefile tests/test-string-nr/Makefile tests/test-string-r/Makefile tests/test-yyextra/Makefile tests/test-alloc-extra/Makefile tests/test-lineno-nr/Makefile tests/test-lineno-r/Makefile tests/test-linedir-r/Makefile tests/test-debug-r/Makefile tests/test-debug-nr/Makefile tests/test-mem-nr/Makefile tests/test-mem-r/Makefile tests/test-posix/Makefile tests/test-posixly-correct/Makefile tests/test-table-opts/Makefile tests/test-c++-basic/Makefile tests/test-bison-nr/Makefile tests/test-reject/Makefile tests/test-c++-multiple-scanners/Makefile tests/test-top/Makefile tests/test-rescan-nr/Makefile tests/test-rescan-r/Makefile tests/test-quotes/Makefile tests/test-ccl/Makefile tests/test-extended/Makefile tests/test-c++-yywrap/Makefile tests/test-concatenated-options/Makefile"
9521 cat >confcache
<<\_ACEOF
9522 # This file is a shell script that caches the results of configure
9523 # tests run on this system so they can be shared between configure
9524 # scripts and configure runs, see configure's option --config-cache.
9525 # It is not useful on other systems. If it contains results you don't
9526 # want to keep, you may remove or edit it.
9528 # config.status only pays attention to the cache file if you give it
9529 # the --recheck option to rerun configure.
9531 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9532 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9537 # The following way of writing the cache mishandles newlines in values,
9538 # but we know of no workaround that is simple, portable, and efficient.
9539 # So, don't put newlines in cache variables' values.
9540 # Ultrix sh set writes to stderr and can't be redirected directly,
9541 # and sets the high bit in the cache file unless we assign to the vars.
9544 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9546 # `set' does not quote correctly, so add quotes (double-quote
9547 # substitution turns \\\\ into \\, and sed turns \\ into \).
9550 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9553 # `set' quotes correctly as required by POSIX, so do not add quotes.
9555 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9562 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9564 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9566 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9567 if test -w $cache_file; then
9568 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9569 cat confcache
>$cache_file
9571 echo "not updating unwritable cache $cache_file"
9576 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9577 # Let make expand exec_prefix.
9578 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9580 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9581 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9582 # trailing colons and then remove the whole line if VPATH becomes empty
9583 # (actually we leave an empty line to preserve line numbers).
9584 if test "x$srcdir" = x.
; then
9585 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9586 s/:*\$(srcdir):*/:/;
9587 s/:*\${srcdir}:*/:/;
9589 s/^\([^=]*=[ ]*\):*/\1/;
9595 DEFS
=-DHAVE_CONFIG_H
9599 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9600 # 1. Remove the extension, and $U if already installed.
9601 ac_i
=`echo "$ac_i" |
9602 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9604 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
9605 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
9609 LTLIBOBJS
=$ac_ltlibobjs
9612 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9613 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9614 Usually this means the macro was only invoked conditionally." >&5
9615 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9616 Usually this means the macro was only invoked conditionally." >&2;}
9617 { (exit 1); exit 1; }; }
9619 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9620 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9621 Usually this means the macro was only invoked conditionally." >&5
9622 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9623 Usually this means the macro was only invoked conditionally." >&2;}
9624 { (exit 1); exit 1; }; }
9626 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9627 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9628 Usually this means the macro was only invoked conditionally." >&5
9629 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9630 Usually this means the macro was only invoked conditionally." >&2;}
9631 { (exit 1); exit 1; }; }
9633 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9634 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
9635 Usually this means the macro was only invoked conditionally." >&5
9636 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
9637 Usually this means the macro was only invoked conditionally." >&2;}
9638 { (exit 1); exit 1; }; }
9641 : ${CONFIG_STATUS=./config.status}
9642 ac_clean_files_save
=$ac_clean_files
9643 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9644 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9645 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9646 cat >$CONFIG_STATUS <<_ACEOF
9648 # Generated by $as_me.
9649 # Run this file to recreate the current configuration.
9650 # Compiler output produced by configure, useful for debugging
9651 # configure, is in config.log if it exists.
9656 SHELL=\${CONFIG_SHELL-$SHELL}
9659 cat >>$CONFIG_STATUS <<\_ACEOF
9660 ## --------------------- ##
9661 ## M4sh Initialization. ##
9662 ## --------------------- ##
9664 # Be Bourne compatible
9665 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9668 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9669 # is contrary to our usage. Disable this feature.
9670 alias -g '${1+"$@"}'='"$@"'
9671 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
9674 DUALCASE
=1; export DUALCASE
# for MKS sh
9676 # Support unset when possible.
9677 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9684 # Work around bugs in pre-3.0 UWIN ksh.
9685 $as_unset ENV MAIL MAILPATH
9692 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9693 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9694 LC_TELEPHONE LC_TIME
9696 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9697 eval $as_var=C
; export $as_var
9703 # Required to use basename.
9704 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9710 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
9711 as_basename
=basename
9717 # Name of the executable.
9718 as_me
=`$as_basename "$0" ||
9719 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9720 X"$0" : 'X\(//\)$' \| \
9721 X"$0" : 'X\(/\)$' \| \
9722 . : '\(.\)' 2>/dev/null ||
9724 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9725 /^X\/\(\/\/\)$/{ s//\1/; q; }
9726 /^X\/\(\/\).*/{ s//\1/; q; }
9730 # PATH needs CR, and LINENO needs CR and PATH.
9731 # Avoid depending upon Character Ranges.
9732 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9733 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9734 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9735 as_cr_digits
='0123456789'
9736 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9738 # The user is always right.
9739 if test "${PATH_SEPARATOR+set}" != set; then
9740 echo "#! /bin/sh" >conf$$.sh
9741 echo "exit 0" >>conf$$.sh
9743 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9754 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9755 test "x$as_lineno_1" != "x$as_lineno_2" &&
9756 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
9757 # Find who we are. Look in the path if we contain no path at all
9760 *[\\/]* ) as_myself
=$0 ;;
9761 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9765 test -z "$as_dir" && as_dir
=.
9766 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9771 # We did not find ourselves, most probably we were run as `sh COMMAND'
9772 # in which case we are not to be found in the path.
9773 if test "x$as_myself" = x
; then
9776 if test ! -f "$as_myself"; then
9777 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9778 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9779 { (exit 1); exit 1; }; }
9781 case $CONFIG_SHELL in
9783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9784 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9787 test -z "$as_dir" && as_dir
=.
9788 for as_base
in sh bash ksh sh5
; do
9791 if ("$as_dir/$as_base" -c '
9794 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9795 test "x$as_lineno_1" != "x$as_lineno_2" &&
9796 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9797 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
9798 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9799 CONFIG_SHELL
=$as_dir/$as_base
9801 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9809 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9810 # uniformly replaced by the line number. The first 'sed' inserts a
9811 # line-number line before each line; the second 'sed' does the real
9812 # work. The second script uses 'N' to pair each line-number line
9813 # with the numbered line, and appends trailing '-' during
9814 # substitution so that $LINENO is not a special case at line end.
9815 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9816 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9817 sed '=' <$as_myself |
9822 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9825 s,^['$as_cr_digits']*\n,,
9827 chmod +x
$as_me.lineno ||
9828 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9829 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9830 { (exit 1); exit 1; }; }
9832 # Don't try to exec as it changes $[0], causing all sort of problems
9833 # (the dirname of $[0] is not the place where we might find the
9834 # original and so on. Autoconf is especially sensible to this).
9836 # Exit status is that of the last command.
9841 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9842 *c
*,-n*) ECHO_N
= ECHO_C
='
9844 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9845 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9848 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9854 rm -f conf$$ conf$$.exe conf$$.
file
9856 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9857 # We could just check for DJGPP; but this test a) works b) is more generic
9858 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9859 if test -f conf$$.exe
; then
9860 # Don't use ln at all; we don't have any links
9865 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9870 rm -f conf$$ conf$$.exe conf$$.
file
9872 if mkdir
-p .
2>/dev
/null
; then
9875 test -d .
/-p && rmdir .
/-p
9879 as_executable_p
="test -f"
9881 # Sed expression to map a string onto a valid CPP name.
9882 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9884 # Sed expression to map a string onto a valid variable name.
9885 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9889 # We need space, tab and new line, in precisely that order.
9899 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9900 # report actual input values of CONFIG_FILES etc. instead of their
9901 # values after options handling. Logging --version etc. is OK.
9905 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9906 ## Running $as_me. ##
9911 This file was extended by the fast lexical analyser generator $as_me 2.5.35, which was
9912 generated by GNU Autoconf 2.59. Invocation command line was
9914 CONFIG_FILES = $CONFIG_FILES
9915 CONFIG_HEADERS = $CONFIG_HEADERS
9916 CONFIG_LINKS = $CONFIG_LINKS
9917 CONFIG_COMMANDS = $CONFIG_COMMANDS
9921 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9925 # Files that config.status was made for.
9926 if test -n "$ac_config_files"; then
9927 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9930 if test -n "$ac_config_headers"; then
9931 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9934 if test -n "$ac_config_links"; then
9935 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9938 if test -n "$ac_config_commands"; then
9939 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9942 cat >>$CONFIG_STATUS <<\_ACEOF
9945 \`$as_me' instantiates files from templates according to the
9946 current configuration.
9948 Usage: $0 [OPTIONS] [FILE]...
9950 -h, --help print this help, then exit
9951 -V, --version print version number, then exit
9952 -q, --quiet do not print progress messages
9953 -d, --debug don't remove temporary files
9954 --recheck update $as_me by reconfiguring in the same conditions
9955 --file=FILE[:TEMPLATE]
9956 instantiate the configuration file FILE
9957 --header=FILE[:TEMPLATE]
9958 instantiate the configuration header FILE
9960 Configuration files:
9963 Configuration headers:
9966 Configuration commands:
9969 Report bugs to <bug-autoconf@gnu.org>."
9972 cat >>$CONFIG_STATUS <<_ACEOF
9974 the fast lexical analyser generator config.status 2.5.35
9975 configured by $0, generated by GNU Autoconf 2.59,
9976 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9978 Copyright (C) 2003 Free Software Foundation, Inc.
9979 This config.status script is free software; the Free Software Foundation
9980 gives unlimited permission to copy, distribute and modify it."
9985 cat >>$CONFIG_STATUS <<\_ACEOF
9986 # If no file are specified by the user, then we need to provide default
9987 # value. By we need to know if files were specified by the user.
9993 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9994 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10002 *) # This is not an option, so the user has probably given explicit
10005 ac_need_defaults
=false
;;
10009 # Handling of the options.
10011 cat >>$CONFIG_STATUS <<\_ACEOF
10012 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10014 --version |
--vers* |
-V )
10015 echo "$ac_cs_version"; exit 0 ;;
10017 # Conflict between --help and --header
10018 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10019 Try \`$0 --help' for more information." >&5
10020 echo "$as_me: error: ambiguous option: $1
10021 Try \`$0 --help' for more information." >&2;}
10022 { (exit 1); exit 1; }; };;
10023 --help |
--hel |
-h )
10024 echo "$ac_cs_usage"; exit 0 ;;
10025 --debug |
--d* |
-d )
10027 --file |
--fil |
--fi |
--f )
10029 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10030 ac_need_defaults
=false
;;
10031 --header |
--heade |
--head |
--hea )
10033 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10034 ac_need_defaults
=false
;;
10035 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10036 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10039 # This is an error.
10040 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10041 Try \`$0 --help' for more information." >&5
10042 echo "$as_me: error: unrecognized option: $1
10043 Try \`$0 --help' for more information." >&2;}
10044 { (exit 1); exit 1; }; } ;;
10046 *) ac_config_targets
="$ac_config_targets $1" ;;
10052 ac_configure_extra_args
=
10054 if $ac_cs_silent; then
10056 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10060 cat >>$CONFIG_STATUS <<_ACEOF
10061 if \$ac_cs_recheck; then
10062 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10063 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10068 cat >>$CONFIG_STATUS <<_ACEOF
10070 # INIT-COMMANDS section.
10073 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
10074 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
10076 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
10077 # Capture the value of LINGUAS because we need it to compute CATALOGS.
10078 LINGUAS="${LINGUAS-%UNSET%}"
10080 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10086 cat >>$CONFIG_STATUS <<\_ACEOF
10087 for ac_config_target
in $ac_config_targets
10089 case "$ac_config_target" in
10090 # Handling of arguments.
10091 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10092 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
10093 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
10094 "examples/fastwc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/fastwc/Makefile" ;;
10095 "examples/manual/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/manual/Makefile" ;;
10096 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
10097 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
10098 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
10099 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
10100 "tests/TEMPLATE/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/TEMPLATE/Makefile" ;;
10101 "tests/test-array-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-array-nr/Makefile" ;;
10102 "tests/test-array-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-array-r/Makefile" ;;
10103 "tests/test-basic-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-basic-nr/Makefile" ;;
10104 "tests/test-basic-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-basic-r/Makefile" ;;
10105 "tests/test-bison-yylloc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-bison-yylloc/Makefile" ;;
10106 "tests/test-bison-yylval/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-bison-yylval/Makefile" ;;
10107 "tests/test-c-cpp-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-c-cpp-nr/Makefile" ;;
10108 "tests/test-c-cpp-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-c-cpp-r/Makefile" ;;
10109 "tests/test-header-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-header-nr/Makefile" ;;
10110 "tests/test-header-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-header-r/Makefile" ;;
10111 "tests/test-include-by-buffer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-include-by-buffer/Makefile" ;;
10112 "tests/test-include-by-push/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-include-by-push/Makefile" ;;
10113 "tests/test-include-by-reentrant/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-include-by-reentrant/Makefile" ;;
10114 "tests/test-multiple-scanners-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-multiple-scanners-nr/Makefile" ;;
10115 "tests/test-multiple-scanners-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-multiple-scanners-r/Makefile" ;;
10116 "tests/test-noansi-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-noansi-nr/Makefile" ;;
10117 "tests/test-noansi-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-noansi-r/Makefile" ;;
10118 "tests/test-prefix-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-prefix-nr/Makefile" ;;
10119 "tests/test-prefix-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-prefix-r/Makefile" ;;
10120 "tests/test-pthread/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-pthread/Makefile" ;;
10121 "tests/test-string-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-string-nr/Makefile" ;;
10122 "tests/test-string-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-string-r/Makefile" ;;
10123 "tests/test-yyextra/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-yyextra/Makefile" ;;
10124 "tests/test-alloc-extra/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-alloc-extra/Makefile" ;;
10125 "tests/test-lineno-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-lineno-nr/Makefile" ;;
10126 "tests/test-lineno-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-lineno-r/Makefile" ;;
10127 "tests/test-linedir-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-linedir-r/Makefile" ;;
10128 "tests/test-debug-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-debug-r/Makefile" ;;
10129 "tests/test-debug-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-debug-nr/Makefile" ;;
10130 "tests/test-mem-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-mem-nr/Makefile" ;;
10131 "tests/test-mem-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-mem-r/Makefile" ;;
10132 "tests/test-posix/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-posix/Makefile" ;;
10133 "tests/test-posixly-correct/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-posixly-correct/Makefile" ;;
10134 "tests/test-table-opts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-table-opts/Makefile" ;;
10135 "tests/test-c++-basic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-c++-basic/Makefile" ;;
10136 "tests/test-bison-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-bison-nr/Makefile" ;;
10137 "tests/test-reject/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-reject/Makefile" ;;
10138 "tests/test-c++-multiple-scanners/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-c++-multiple-scanners/Makefile" ;;
10139 "tests/test-top/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-top/Makefile" ;;
10140 "tests/test-rescan-nr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-rescan-nr/Makefile" ;;
10141 "tests/test-rescan-r/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-rescan-r/Makefile" ;;
10142 "tests/test-quotes/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-quotes/Makefile" ;;
10143 "tests/test-ccl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-ccl/Makefile" ;;
10144 "tests/test-extended/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-extended/Makefile" ;;
10145 "tests/test-c++-yywrap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-c++-yywrap/Makefile" ;;
10146 "tests/test-concatenated-options/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/test-concatenated-options/Makefile" ;;
10147 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
10148 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10149 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:conf.in" ;;
10150 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10151 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10152 { (exit 1); exit 1; }; };;
10156 # If the user did not use the arguments to specify the items to instantiate,
10157 # then the envvar interface is used. Set only those that are not.
10158 # We use the long form for the default assignment because of an extremely
10159 # bizarre bug on SunOS 4.1.3.
10160 if $ac_need_defaults; then
10161 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10162 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10163 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10166 # Have a temporary directory for convenience. Make it in the build tree
10167 # simply because there is no reason to put it here, and in addition,
10168 # creating and moving files from /tmp can sometimes cause problems.
10169 # Create a temporary directory, and hook for its removal unless debugging.
10172 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10173 trap '{ (exit 1); exit 1; }' 1 2 13 15
10176 # Create a (secure) tmp directory for tmp files.
10179 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10180 test -n "$tmp" && test -d "$tmp"
10183 tmp
=.
/confstat$$
-$RANDOM
10184 (umask 077 && mkdir
$tmp)
10187 echo "$me: cannot create a temporary directory in ." >&2
10188 { (exit 1); exit 1; }
10193 cat >>$CONFIG_STATUS <<_ACEOF
10196 # CONFIG_FILES section.
10199 # No need to generate the scripts if there are no CONFIG_FILES.
10200 # This happens for instance when ./config.status config.h
10201 if test -n "\$CONFIG_FILES"; then
10202 # Protect against being on the right side of a sed subst in config.status.
10203 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10204 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10205 s,@SHELL@,$SHELL,;t t
10206 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10207 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10208 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10209 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10210 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10211 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10212 s,@exec_prefix@,$exec_prefix,;t t
10213 s,@prefix@,$prefix,;t t
10214 s,@program_transform_name@,$program_transform_name,;t t
10215 s,@bindir@,$bindir,;t t
10216 s,@sbindir@,$sbindir,;t t
10217 s,@libexecdir@,$libexecdir,;t t
10218 s,@datadir@,$datadir,;t t
10219 s,@sysconfdir@,$sysconfdir,;t t
10220 s,@sharedstatedir@,$sharedstatedir,;t t
10221 s,@localstatedir@,$localstatedir,;t t
10222 s,@libdir@,$libdir,;t t
10223 s,@includedir@,$includedir,;t t
10224 s,@oldincludedir@,$oldincludedir,;t t
10225 s,@infodir@,$infodir,;t t
10226 s,@mandir@,$mandir,;t t
10227 s,@build_alias@,$build_alias,;t t
10228 s,@host_alias@,$host_alias,;t t
10229 s,@target_alias@,$target_alias,;t t
10230 s,@DEFS@,$DEFS,;t t
10231 s,@ECHO_C@,$ECHO_C,;t t
10232 s,@ECHO_N@,$ECHO_N,;t t
10233 s,@ECHO_T@,$ECHO_T,;t t
10234 s,@LIBS@,$LIBS,;t t
10235 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10236 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10237 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10238 s,@CYGPATH_W@,$CYGPATH_W,;t t
10239 s,@PACKAGE@,$PACKAGE,;t t
10240 s,@VERSION@,$VERSION,;t t
10241 s,@ACLOCAL@,$ACLOCAL,;t t
10242 s,@AUTOCONF@,$AUTOCONF,;t t
10243 s,@AUTOMAKE@,$AUTOMAKE,;t t
10244 s,@AUTOHEADER@,$AUTOHEADER,;t t
10245 s,@MAKEINFO@,$MAKEINFO,;t t
10246 s,@install_sh@,$install_sh,;t t
10247 s,@STRIP@,$STRIP,;t t
10248 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
10249 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
10250 s,@mkdir_p@,$mkdir_p,;t t
10252 s,@SET_MAKE@,$SET_MAKE,;t t
10253 s,@am__leading_dot@,$am__leading_dot,;t t
10254 s,@AMTAR@,$AMTAR,;t t
10255 s,@am__tar@,$am__tar,;t t
10256 s,@am__untar@,$am__untar,;t t
10257 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
10258 s,@USE_NLS@,$USE_NLS,;t t
10259 s,@MSGFMT@,$MSGFMT,;t t
10260 s,@GMSGFMT@,$GMSGFMT,;t t
10261 s,@XGETTEXT@,$XGETTEXT,;t t
10262 s,@MSGMERGE@,$MSGMERGE,;t t
10264 s,@CFLAGS@,$CFLAGS,;t t
10265 s,@LDFLAGS@,$LDFLAGS,;t t
10266 s,@CPPFLAGS@,$CPPFLAGS,;t t
10267 s,@ac_ct_CC@,$ac_ct_CC,;t t
10268 s,@EXEEXT@,$EXEEXT,;t t
10269 s,@OBJEXT@,$OBJEXT,;t t
10270 s,@DEPDIR@,$DEPDIR,;t t
10271 s,@am__include@,$am__include,;t t
10272 s,@am__quote@,$am__quote,;t t
10273 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
10274 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
10275 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
10276 s,@CCDEPMODE@,$CCDEPMODE,;t t
10277 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
10278 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
10279 s,@build@,$build,;t t
10280 s,@build_cpu@,$build_cpu,;t t
10281 s,@build_vendor@,$build_vendor,;t t
10282 s,@build_os@,$build_os,;t t
10283 s,@host@,$host,;t t
10284 s,@host_cpu@,$host_cpu,;t t
10285 s,@host_vendor@,$host_vendor,;t t
10286 s,@host_os@,$host_os,;t t
10287 s,@LIBICONV@,$LIBICONV,;t t
10288 s,@LTLIBICONV@,$LTLIBICONV,;t t
10289 s,@INTLLIBS@,$INTLLIBS,;t t
10290 s,@LIBINTL@,$LIBINTL,;t t
10291 s,@LTLIBINTL@,$LTLIBINTL,;t t
10292 s,@POSUB@,$POSUB,;t t
10293 s,@YACC@,$YACC,;t t
10295 s,@LEXLIB@,$LEXLIB,;t t
10296 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
10298 s,@CXXFLAGS@,$CXXFLAGS,;t t
10299 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
10300 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
10301 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
10302 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
10303 s,@LN_S@,$LN_S,;t t
10304 s,@RANLIB@,$RANLIB,;t t
10305 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10306 s,@BISON@,$BISON,;t t
10307 s,@HELP2MAN@,$HELP2MAN,;t t
10309 s,@INDENT@,$INDENT,;t t
10310 s,@ALLOCA@,$ALLOCA,;t t
10312 s,@EGREP@,$EGREP,;t t
10313 s,@LIBOBJS@,$LIBOBJS,;t t
10314 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10319 cat >>$CONFIG_STATUS <<\_ACEOF
10320 # Split the substitutions into bite-sized pieces for seds with
10321 # small command number limits, like on Digital OSF/1 and HP-UX.
10322 ac_max_sed_lines
=48
10323 ac_sed_frag
=1 # Number of current file.
10324 ac_beg
=1 # First line for current file.
10325 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10328 while $ac_more_lines; do
10329 if test $ac_beg -gt 1; then
10330 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10332 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10334 if test ! -s $tmp/subs.frag
; then
10335 ac_more_lines
=false
10337 # The purpose of the label and of the branching condition is to
10338 # speed up the sed processing (if there are no `@' at all, there
10339 # is no need to browse any of the substitutions).
10340 # These are the two extra sed commands mentioned above.
10342 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
10343 if test -z "$ac_sed_cmds"; then
10344 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10346 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10348 ac_sed_frag
=`expr $ac_sed_frag + 1`
10350 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10353 if test -z "$ac_sed_cmds"; then
10356 fi # test -n "$CONFIG_FILES"
10359 cat >>$CONFIG_STATUS <<\_ACEOF
10360 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10361 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10363 - |
*:- |
*:-:* ) # input from stdin
10365 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10366 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10367 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10368 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10369 * ) ac_file_in
=$ac_file.
in ;;
10372 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10373 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10374 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10375 X"$ac_file" : 'X\(//\)[^/]' \| \
10376 X"$ac_file" : 'X\(//\)$' \| \
10377 X"$ac_file" : 'X\(/\)' \| \
10378 . : '\(.\)' 2>/dev/null ||
10380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10381 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10382 /^X\(\/\/\)$/{ s//\1/; q; }
10383 /^X\(\/\).*/{ s//\1/; q; }
10385 { if $as_mkdir_p; then
10390 while test ! -d "$as_dir"; do
10391 as_dirs
="$as_dir $as_dirs"
10392 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10393 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10394 X"$as_dir" : 'X\(//\)[^/]' \| \
10395 X"$as_dir" : 'X\(//\)$' \| \
10396 X"$as_dir" : 'X\(/\)' \| \
10397 . : '\(.\)' 2>/dev/null ||
10399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10400 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10401 /^X\(\/\/\)$/{ s//\1/; q; }
10402 /^X\(\/\).*/{ s//\1/; q; }
10405 test ! -n "$as_dirs" || mkdir
$as_dirs
10406 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10407 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10408 { (exit 1); exit 1; }; }; }
10412 if test "$ac_dir" != .
; then
10413 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10414 # A "../" for each directory in $ac_dir_suffix.
10415 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10417 ac_dir_suffix
= ac_top_builddir
=
10421 .
) # No --srcdir option. We are building in place.
10423 if test -z "$ac_top_builddir"; then
10426 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10428 [\\/]* | ?
:[\\/]* ) # Absolute path.
10429 ac_srcdir
=$srcdir$ac_dir_suffix;
10430 ac_top_srcdir
=$srcdir ;;
10431 *) # Relative path.
10432 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10433 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10436 # Do not use `cd foo && pwd` to compute absolute paths, because
10437 # the directories may not exist.
10439 .
) ac_abs_builddir
="$ac_dir";;
10442 .
) ac_abs_builddir
=`pwd`;;
10443 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10444 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10447 case $ac_abs_builddir in
10448 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10450 case ${ac_top_builddir}.
in
10451 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10452 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10453 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10456 case $ac_abs_builddir in
10457 .
) ac_abs_srcdir
=$ac_srcdir;;
10460 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10461 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10462 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10465 case $ac_abs_builddir in
10466 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10468 case $ac_top_srcdir in
10469 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10470 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10471 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10477 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10478 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
10481 # Let's still pretend it is `configure' which instantiates (i.e., don't
10482 # use $as_me), people would be surprised to read:
10483 # /* config.h. Generated by config.status. */
10484 if test x
"$ac_file" = x-
; then
10487 configure_input
="$ac_file. "
10489 configure_input
=$configure_input"Generated from `echo $ac_file_in |
10490 sed 's,.*/,,'` by configure."
10492 # First look for the input files in the build tree, otherwise in the
10494 ac_file_inputs
=`IFS=:
10495 for f in $ac_file_in; do
10497 -) echo $tmp/stdin ;;
10499 # Absolute (can't be DOS-style, as IFS=:)
10500 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10501 echo "$as_me: error: cannot find input file: $f" >&2;}
10502 { (exit 1); exit 1; }; }
10505 if test -f "$f"; then
10508 elif test -f "$srcdir/$f"; then
10513 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10514 echo "$as_me: error: cannot find input file: $f" >&2;}
10515 { (exit 1); exit 1; }; }
10518 done` ||
{ (exit 1); exit 1; }
10520 if test x
"$ac_file" != x-
; then
10521 { echo "$as_me:$LINENO: creating $ac_file" >&5
10522 echo "$as_me: creating $ac_file" >&6;}
10526 cat >>$CONFIG_STATUS <<_ACEOF
10530 cat >>$CONFIG_STATUS <<\_ACEOF
10532 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10533 s
,@configure_input@
,$configure_input,;t t
10534 s
,@srcdir@
,$ac_srcdir,;t t
10535 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
10536 s
,@top_srcdir@
,$ac_top_srcdir,;t t
10537 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
10538 s
,@builddir@
,$ac_builddir,;t t
10539 s
,@abs_builddir@
,$ac_abs_builddir,;t t
10540 s
,@top_builddir@
,$ac_top_builddir,;t t
10541 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
10542 s
,@INSTALL@
,$ac_INSTALL,;t t
10543 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10545 if test x"$ac_file" != x-; then
10546 mv $tmp/out $ac_file
10554 cat >>$CONFIG_STATUS <<\_ACEOF
10557 # CONFIG_HEADER section.
10560 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
10561 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10563 # ac_d sets the value in "#define NAME VALUE" lines.
10564 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10565 ac_dB
='[ ].*$,\1#\2'
10568 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10569 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10570 ac_uB
='$,\1#\2define\3'
10574 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
10575 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10577 - |
*:- |
*:-:* ) # input from stdin
10579 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10580 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10581 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10582 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10583 * ) ac_file_in
=$ac_file.
in ;;
10586 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
10587 echo "$as_me: creating $ac_file" >&6;}
10589 # First look for the input files in the build tree, otherwise in the
10591 ac_file_inputs
=`IFS=:
10592 for f in $ac_file_in; do
10594 -) echo $tmp/stdin ;;
10596 # Absolute (can't be DOS-style, as IFS=:)
10597 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10598 echo "$as_me: error: cannot find input file: $f" >&2;}
10599 { (exit 1); exit 1; }; }
10600 # Do quote $f, to prevent DOS paths from being IFS'd.
10603 if test -f "$f"; then
10606 elif test -f "$srcdir/$f"; then
10611 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10612 echo "$as_me: error: cannot find input file: $f" >&2;}
10613 { (exit 1); exit 1; }; }
10616 done` ||
{ (exit 1); exit 1; }
10617 # Remove the trailing spaces.
10618 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10622 # Transform confdefs.h into two sed scripts, `conftest.defines' and
10623 # `conftest.undefs', that substitutes the proper values into
10624 # config.h.in to produce config.h. The first handles `#define'
10625 # templates, and the second `#undef' templates.
10626 # And first: Protect against being on the right side of a sed subst in
10627 # config.status. Protect against being in an unquoted here document
10628 # in config.status.
10629 rm -f conftest.defines conftest.undefs
10630 # Using a here document instead of a string reduces the quoting nightmare.
10631 # Putting comments in sed scripts is not portable.
10633 # `end' is used to avoid that the second main sed command (meant for
10634 # 0-ary CPP macros) applies to n-ary macro definitions.
10635 # See the Autoconf documentation for `clear'.
10636 cat >confdef2sed.
sed <<\_ACEOF
10641 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10643 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10646 # If some macros were called several times there might be several times
10647 # the same #defines, which is useless. Nevertheless, we may not want to
10648 # sort them, since we want the *last* AC-DEFINE to be honored.
10649 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10650 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10651 rm -f confdef2sed.sed
10653 # This sed command replaces #undef with comments. This is necessary, for
10654 # example, in the case of _POSIX_SOURCE, which is predefined and required
10655 # on some systems where configure will not decide to define it.
10656 cat >>conftest.undefs <<\_ACEOF
10657 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10660 # Break up conftest.defines because some shells have a limit on the size
10661 # of here documents, and old seds have small limits too (100 cmds).
10662 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10663 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10664 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10665 echo ' :' >>$CONFIG_STATUS
10666 rm -f conftest.tail
10667 while grep . conftest.defines >/dev/null
10669 # Write a limited-size here document to $tmp/defines.sed.
10670 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10671 # Speed up: don't consider the non `#define' lines.
10672 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10673 # Work around the forget-to-reset-the-flag bug.
10674 echo 't clr' >>$CONFIG_STATUS
10675 echo ': clr' >>$CONFIG_STATUS
10676 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
10678 sed -f $tmp/defines.sed $tmp/in >$tmp/out
10680 mv $tmp/out $tmp/in
10682 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
10683 rm -f conftest.defines
10684 mv conftest.
tail conftest.defines
10686 rm -f conftest.defines
10687 echo ' fi # grep' >>$CONFIG_STATUS
10688 echo >>$CONFIG_STATUS
10690 # Break up conftest.undefs because some shells have a limit on the size
10691 # of here documents, and old seds have small limits too (100 cmds).
10692 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10693 rm -f conftest.
tail
10694 while grep . conftest.undefs
>/dev
/null
10696 # Write a limited-size here document to $tmp/undefs.sed.
10697 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10698 # Speed up: don't consider the non
`#undef'
10699 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10700 # Work around the forget-to-reset-the-flag bug.
10701 echo 't clr' >>$CONFIG_STATUS
10702 echo ': clr' >>$CONFIG_STATUS
10703 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10705 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10707 mv $tmp/out $tmp/in
10709 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10710 rm -f conftest.undefs
10711 mv conftest.tail conftest.undefs
10713 rm -f conftest.undefs
10715 cat >>$CONFIG_STATUS <<\_ACEOF
10716 # Let's still pretend it is `configure
' which instantiates (i.e., don't
10717 # use $as_me), people would be surprised to read:
10718 # /* config.h. Generated by config.status. */
10719 if test x
"$ac_file" = x-
; then
10720 echo "/* Generated by configure. */" >$tmp/config.h
10722 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10724 cat $tmp/in >>$tmp/config.h
10726 if test x
"$ac_file" != x-
; then
10727 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
10728 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10729 echo "$as_me: $ac_file is unchanged" >&6;}
10731 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10732 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10733 X"$ac_file" : 'X\(//\)[^/]' \| \
10734 X"$ac_file" : 'X\(//\)$' \| \
10735 X"$ac_file" : 'X\(/\)' \| \
10736 . : '\(.\)' 2>/dev/null ||
10738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10739 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10740 /^X\(\/\/\)$/{ s//\1/; q; }
10741 /^X\(\/\).*/{ s//\1/; q; }
10743 { if $as_mkdir_p; then
10748 while test ! -d "$as_dir"; do
10749 as_dirs
="$as_dir $as_dirs"
10750 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10752 X"$as_dir" : 'X\(//\)[^/]' \| \
10753 X"$as_dir" : 'X\(//\)$' \| \
10754 X"$as_dir" : 'X\(/\)' \| \
10755 . : '\(.\)' 2>/dev/null ||
10757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10758 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10759 /^X\(\/\/\)$/{ s//\1/; q; }
10760 /^X\(\/\).*/{ s//\1/; q; }
10763 test ! -n "$as_dirs" || mkdir
$as_dirs
10764 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10765 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10766 { (exit 1); exit 1; }; }; }
10769 mv $tmp/config.h
$ac_file
10773 rm -f $tmp/config.h
10775 # Compute $ac_file's index in $config_headers.
10777 for _am_header
in $config_headers :; do
10778 case $_am_header in
10779 $ac_file |
$ac_file:* )
10782 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
10785 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10786 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10787 X$ac_file : 'X\(//\)[^/]' \| \
10788 X$ac_file : 'X\(//\)$' \| \
10789 X$ac_file : 'X\(/\)' \| \
10790 . : '\(.\)' 2>/dev/null ||
10792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10794 /^X\(\/\/\)$/{ s//\1/; q; }
10795 /^X\(\/\).*/{ s//\1/; q; }
10796 s/.*/./; q'`/stamp-h
$_am_stamp_count
10799 cat >>$CONFIG_STATUS <<\_ACEOF
10802 # CONFIG_COMMANDS section.
10804 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
10805 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10806 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10807 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10808 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10809 X"$ac_dest" : 'X\(//\)[^/]' \| \
10810 X"$ac_dest" : 'X\(//\)$' \| \
10811 X"$ac_dest" : 'X\(/\)' \| \
10812 . : '\(.\)' 2>/dev/null ||
10814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10815 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10816 /^X\(\/\/\)$/{ s//\1/; q; }
10817 /^X\(\/\).*/{ s//\1/; q; }
10819 { if $as_mkdir_p; then
10824 while test ! -d "$as_dir"; do
10825 as_dirs
="$as_dir $as_dirs"
10826 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10827 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10828 X"$as_dir" : 'X\(//\)[^/]' \| \
10829 X"$as_dir" : 'X\(//\)$' \| \
10830 X"$as_dir" : 'X\(/\)' \| \
10831 . : '\(.\)' 2>/dev/null ||
10833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10834 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10835 /^X\(\/\/\)$/{ s//\1/; q; }
10836 /^X\(\/\).*/{ s//\1/; q; }
10839 test ! -n "$as_dirs" || mkdir
$as_dirs
10840 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10841 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10842 { (exit 1); exit 1; }; }; }
10846 if test "$ac_dir" != .
; then
10847 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10848 # A "../" for each directory in $ac_dir_suffix.
10849 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10851 ac_dir_suffix
= ac_top_builddir
=
10855 .
) # No --srcdir option. We are building in place.
10857 if test -z "$ac_top_builddir"; then
10860 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10862 [\\/]* | ?
:[\\/]* ) # Absolute path.
10863 ac_srcdir
=$srcdir$ac_dir_suffix;
10864 ac_top_srcdir
=$srcdir ;;
10865 *) # Relative path.
10866 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10867 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10870 # Do not use `cd foo && pwd` to compute absolute paths, because
10871 # the directories may not exist.
10873 .
) ac_abs_builddir
="$ac_dir";;
10876 .
) ac_abs_builddir
=`pwd`;;
10877 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10878 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10881 case $ac_abs_builddir in
10882 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10884 case ${ac_top_builddir}.
in
10885 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10886 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10887 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10890 case $ac_abs_builddir in
10891 .
) ac_abs_srcdir
=$ac_srcdir;;
10894 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10895 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10896 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10899 case $ac_abs_builddir in
10900 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10902 case $ac_top_srcdir in
10903 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10904 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10905 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10910 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10911 echo "$as_me: executing $ac_dest commands" >&6;}
10914 for ac_file
in $CONFIG_FILES; do
10915 # Support "outfile[:infile[:infile...]]"
10917 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
10919 # PO directories have a Makefile.in generated from Makefile.in.in.
10920 case "$ac_file" in */Makefile.
in)
10921 # Adjust a relative srcdir.
10922 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10923 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
10924 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10925 # In autoconf-2.13 it is called $ac_given_srcdir.
10926 # In autoconf-2.50 it is called $srcdir.
10927 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
10928 case "$ac_given_srcdir" in
10929 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
10930 /*) top_srcdir
="$ac_given_srcdir" ;;
10931 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
10933 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10934 rm -f "$ac_dir/POTFILES"
10935 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
10936 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10937 POMAKEFILEDEPS
="POTFILES.in"
10938 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
10939 # on $ac_dir but don't depend on user-specified configuration
10941 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10942 # The LINGUAS file contains the set of available languages.
10943 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10944 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
10946 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10947 # Hide the ALL_LINGUAS assigment from automake.
10948 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10949 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
10951 # The set of available languages was given in configure.in.
10952 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10954 case "$ac_given_srcdir" in
10956 *) srcdirpre
='$(srcdir)/' ;;
10962 for lang
in $ALL_LINGUAS; do
10963 POFILES
="$POFILES $srcdirpre$lang.po"
10964 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
10965 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
10966 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
10968 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10969 # environment variable.
10971 if test -n "$ALL_LINGUAS"; then
10972 for presentlang
in $ALL_LINGUAS; do
10974 if test "%UNSET%" != "$LINGUAS"; then
10975 desiredlanguages
="$LINGUAS"
10977 desiredlanguages
="$ALL_LINGUAS"
10979 for desiredlang
in $desiredlanguages; do
10980 # Use the presentlang catalog if desiredlang is
10981 # a. equal to presentlang, or
10982 # b. a variant of presentlang (because in this case,
10983 # presentlang can be used as a fallback for messages
10984 # which are not translated in the desiredlang catalog).
10985 case "$desiredlang" in
10986 "$presentlang"*) useit
=yes;;
10989 if test $useit = yes; then
10990 INST_LINGUAS
="$INST_LINGUAS $presentlang"
10995 if test -n "$INST_LINGUAS"; then
10996 for lang
in $INST_LINGUAS; do
10997 CATALOGS
="$CATALOGS $lang.gmo"
11000 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
11001 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
11002 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
11003 if test -f "$f"; then
11005 *.orig |
*.bak |
*~
) ;;
11006 *) cat "$f" >> "$ac_dir/Makefile" ;;
11014 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
11015 # Strip MF so we end up with the name of the file.
11016 mf
=`echo "$mf" | sed -e 's/:.*$//'`
11017 # Check whether this is an Automake generated Makefile or not.
11018 # We used to match only the files named `Makefile.in', but
11019 # some people rename them; so instead we look at the file content.
11020 # Grep'ing the first line is not enough: some people post-process
11021 # each Makefile.in and add a new line on top of each file to say so.
11022 # So let's grep whole file.
11023 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
11024 dirpart
=`(dirname "$mf") 2>/dev/null ||
11025 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11026 X"$mf" : 'X\(//\)[^/]' \| \
11027 X"$mf" : 'X\(//\)$' \| \
11028 X"$mf" : 'X\(/\)' \| \
11029 . : '\(.\)' 2>/dev/null ||
11031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11032 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11033 /^X\(\/\/\)$/{ s//\1/; q; }
11034 /^X\(\/\).*/{ s//\1/; q; }
11039 # Extract the definition of DEPDIR, am__include, and am__quote
11040 # from the Makefile without running `make'.
11041 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
11042 test -z "$DEPDIR" && continue
11043 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
11044 test -z "am__include" && continue
11045 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
11046 # When using ansi2knr, U may be empty or an underscore; expand it
11047 U
=`sed -n 's/^U = //p' < "$mf"`
11048 # Find all dependency output files, they are included files with
11049 # $(DEPDIR) in their names. We invoke sed twice because it is the
11050 # simplest approach to changing $(DEPDIR) to its actual value in the
11052 for file in `sed -n "
11053 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11054 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11055 # Make sure the directory exists.
11056 test -f "$dirpart/$file" && continue
11057 fdir
=`(dirname "$file") 2>/dev/null ||
11058 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11059 X"$file" : 'X\(//\)[^/]' \| \
11060 X"$file" : 'X\(//\)$' \| \
11061 X"$file" : 'X\(/\)' \| \
11062 . : '\(.\)' 2>/dev/null ||
11064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11065 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11066 /^X\(\/\/\)$/{ s//\1/; q; }
11067 /^X\(\/\).*/{ s//\1/; q; }
11069 { if $as_mkdir_p; then
11070 mkdir
-p $dirpart/$fdir
11072 as_dir
=$dirpart/$fdir
11074 while test ! -d "$as_dir"; do
11075 as_dirs
="$as_dir $as_dirs"
11076 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11078 X"$as_dir" : 'X\(//\)[^/]' \| \
11079 X"$as_dir" : 'X\(//\)$' \| \
11080 X"$as_dir" : 'X\(/\)' \| \
11081 . : '\(.\)' 2>/dev/null ||
11083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11084 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11085 /^X\(\/\/\)$/{ s//\1/; q; }
11086 /^X\(\/\).*/{ s//\1/; q; }
11089 test ! -n "$as_dirs" || mkdir
$as_dirs
11090 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
11091 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
11092 { (exit 1); exit 1; }; }; }
11094 # echo "creating $dirpart/$file"
11095 echo '# dummy' > "$dirpart/$file"
11103 cat >>$CONFIG_STATUS <<\_ACEOF
11105 { (exit 0); exit 0; }
11107 chmod +x
$CONFIG_STATUS
11108 ac_clean_files
=$ac_clean_files_save
11111 # configure is writing to config.log, and then calls config.status.
11112 # config.status does its own redirection, appending to config.log.
11113 # Unfortunately, on DOS this fails, as config.log is still kept open
11114 # by configure, so config.status won't be able to write to it; its
11115 # output is simply discarded. So we exec the FD to /dev/null,
11116 # effectively closing config.log, so it can be properly (re)opened and
11117 # appended to by config.status. When coming back to configure, we
11118 # need to make the FD available again.
11119 if test "$no_create" != yes; then
11121 ac_config_status_args
=
11122 test "$silent" = yes &&
11123 ac_config_status_args
="$ac_config_status_args --quiet"
11125 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11127 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11128 # would make configure fail if this is the last instruction.
11129 $ac_cs_success ||
{ (exit 1); exit 1; }