2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="gprof.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT WARN_CFLAGS LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-dependency-tracking speeds up one-time build
854 --enable-dependency-tracking do not reject slow dependency extractors
855 --enable-shared=PKGS build shared libraries default
=yes
856 --enable-static=PKGS build static libraries default
=yes
857 --enable-fast-install=PKGS optimize
for fast installation default
=yes
858 --disable-libtool-lock avoid locking
(might
break parallel builds
)
859 --disable-nls do not use Native Language Support
860 --enable-maintainer-mode enable make rules and dependencies not useful
861 (and sometimes confusing
) to the casual installer
862 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
867 --with-gnu-ld assume the C compiler uses GNU ld default
=no
868 --with-pic try to use only PIC
/non-PIC objects default
=use both
869 --with-included-gettext use the GNU
gettext library included here
871 Some influential environment variables
:
872 CC C compiler
command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
875 nonstandard directory
<lib dir
>
876 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
877 headers
in a nonstandard directory
<include dir
>
880 Use these variables to override the choices made by
`configure' or to help
881 it to find libraries and programs with nonstandard names/locations.
886 if test "$ac_init_help" = "recursive"; then
887 # If there are subdirs, report their specific --help.
889 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
890 test -d $ac_dir || continue
893 if test "$ac_dir" != .; then
894 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
895 # A "../" for each directory in $ac_dir_suffix.
896 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
898 ac_dir_suffix= ac_top_builddir=
902 .) # No --srcdir option. We are building in place.
904 if test -z "$ac_top_builddir"; then
907 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
909 [\\/]* | ?:[\\/]* ) # Absolute path.
910 ac_srcdir=$srcdir$ac_dir_suffix;
911 ac_top_srcdir=$srcdir ;;
913 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
914 ac_top_srcdir=$ac_top_builddir$srcdir ;;
917 # Do not use `cd foo
&& pwd` to compute absolute paths, because
918 # the directories may not exist.
920 .) ac_abs_builddir="$ac_dir";;
923 .) ac_abs_builddir=`pwd`;;
924 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
925 *) ac_abs_builddir=`pwd`/"$ac_dir";;
928 case $ac_abs_builddir in
929 .) ac_abs_top_builddir=${ac_top_builddir}.;;
931 case ${ac_top_builddir}. in
932 .) ac_abs_top_builddir=$ac_abs_builddir;;
933 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
934 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937 case $ac_abs_builddir in
938 .) ac_abs_srcdir=$ac_srcdir;;
941 .) ac_abs_srcdir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
943 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946 case $ac_abs_builddir in
947 .) ac_abs_top_srcdir=$ac_top_srcdir;;
949 case $ac_top_srcdir in
950 .) ac_abs_top_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
952 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
957 # Check for guested configure; otherwise get Cygnus style configure.
958 if test -f $ac_srcdir/configure.gnu; then
960 $SHELL $ac_srcdir/configure.gnu --help=recursive
961 elif test -f $ac_srcdir/configure; then
963 $SHELL $ac_srcdir/configure --help=recursive
964 elif test -f $ac_srcdir/configure.ac ||
965 test -f $ac_srcdir/configure.in; then
969 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
975 test -n "$ac_init_help" && exit 0
976 if $ac_init_version; then
979 Copyright (C) 2003 Free Software Foundation, Inc.
980 This configure script is free software; the Free Software Foundation
981 gives unlimited permission to copy, distribute and modify it.
987 This file contains any messages produced by compilers while
988 running configure, to aid debugging if configure makes a mistake.
990 It was created by $as_me, which was
991 generated by GNU Autoconf 2.59. Invocation command line was
1002 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1003 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1004 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1005 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1006 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1009 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1011 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1013 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1014 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1015 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1017 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025 test -z "$as_dir" && as_dir=.
1026 echo "PATH: $as_dir"
1041 # Keep a trace of the command line.
1042 # Strip out --no-create and --no-recursion so they do not pile up.
1043 # Strip out --silent because we don't want to record it for future runs.
1044 # Also quote any args containing shell meta-characters.
1045 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_must_keep_next=false
1056 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1058 | -silent | --silent | --silen | --sile | --sil)
1060 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1061 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1064 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1066 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1067 if test $ac_must_keep_next = true; then
1068 ac_must_keep_next=false # Got value, back to normal.
1071 *=* | --config-cache | -C | -disable-* | --disable-* \
1072 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1073 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1074 | -with-* | --with-* | -without-* | --without-* | --x)
1075 case "$ac_configure_args0 " in
1076 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1079 -* ) ac_must_keep_next=true ;;
1082 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1083 # Get rid of the leading space.
1089 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1090 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1092 # When interrupted or exit'd, cleanup temporary files, and complete
1093 # config.log. We remove comments because anyway the quotes in there
1094 # would cause problems or look ugly.
1095 # WARNING: Be sure not to use single quotes in there, as some shells,
1096 # such as our DU 5.0 friend, will then `close
' the trap.
1097 trap 'exit_status
=$?
1098 # Save into config.log some information that might help in debugging.
1103 ## ---------------- ##
1104 ## Cache variables. ##
1105 ## ---------------- ##
1108 # The following way of writing the cache mishandles newlines in values,
1111 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1114 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1119 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126 ## ----------------- ##
1127 ## Output variables. ##
1128 ## ----------------- ##
1131 for ac_var
in $ac_subst_vars
1133 eval ac_val
=$
`echo $ac_var`
1134 echo "$ac_var='"'"'$ac_val'"'"'"
1138 if test -n "$ac_subst_files"; then
1145 for ac_var
in $ac_subst_files
1147 eval ac_val
=$
`echo $ac_var`
1148 echo "$ac_var='"'"'$ac_val'"'"'"
1153 if test -s confdefs.h
; then
1160 sed "/^$/d" confdefs.h |
sort
1163 test "$ac_signal" != 0 &&
1164 echo "$as_me: caught signal $ac_signal"
1165 echo "$as_me: exit $exit_status"
1167 rm -f core
*.core
&&
1168 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1171 for ac_signal in 1 2 13 15; do
1172 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1177 rm -rf conftest* confdefs.h
1178 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1181 # Predefined preprocessor variables.
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_NAME "$PACKAGE_NAME"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_STRING "$PACKAGE_STRING"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208 # Let the site file select an alternate cache file if it wants to.
1209 # Prefer explicitly selected file to automatically selected ones.
1210 if test -z "$CONFIG_SITE"; then
1211 if test "x$prefix" != xNONE; then
1212 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1214 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1217 for ac_site_file in $CONFIG_SITE; do
1218 if test -r "$ac_site_file"; then
1219 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1220 echo "$as_me: loading site script $ac_site_file" >&6;}
1221 sed 's
/^
/|
/' "$ac_site_file" >&5
1226 if test -r "$cache_file"; then
1227 # Some versions of bash will fail to source /dev/null (special
1228 # files actually), so we avoid doing that.
1229 if test -f "$cache_file"; then
1230 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1231 echo "$as_me: loading cache $cache_file" >&6;}
1233 [\\/]* | ?:[\\/]* ) . $cache_file;;
1234 *) . ./$cache_file;;
1238 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1239 echo "$as_me: creating cache $cache_file" >&6;}
1243 # Check that the precious variables saved in the cache have kept the same
1245 ac_cache_corrupted=false
1246 for ac_var in `(set) 2>&1 |
1247 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1248 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1249 eval ac_new_set=\$ac_env_${ac_var}_set
1250 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1251 eval ac_new_val="\$ac_env_${ac_var}_value"
1252 case $ac_old_set,$ac_new_set in
1254 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1256 ac_cache_corrupted=: ;;
1258 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1263 if test "x$ac_old_val" != "x$ac_new_val"; then
1264 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1265 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1266 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1267 echo "$as_me: former value: $ac_old_val" >&2;}
1268 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1269 echo "$as_me: current value: $ac_new_val" >&2;}
1270 ac_cache_corrupted=:
1273 # Pass precious variables to config.status.
1274 if test "$ac_new_set" = set; then
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1278 *) ac_arg=$ac_var=$ac_new_val ;;
1280 case " $ac_configure_args " in
1281 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1282 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286 if $ac_cache_corrupted; then
1287 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1288 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1289 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1290 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1291 { (exit 1); exit 1; }; }
1295 ac_cpp='$CPP $CPPFLAGS'
1296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1297 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1321 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1322 if test -f $ac_dir/install-sh; then
1324 ac_install_sh="$ac_aux_dir/install-sh -c"
1326 elif test -f $ac_dir/install.sh; then
1328 ac_install_sh="$ac_aux_dir/install.sh -c"
1330 elif test -f $ac_dir/shtool; then
1332 ac_install_sh="$ac_aux_dir/shtool install -c"
1336 if test -z "$ac_aux_dir"; then
1337 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1338 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1339 { (exit 1); exit 1; }; }
1341 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1342 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1343 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1345 # Make sure we can run config.sub.
1346 $ac_config_sub sun4 >/dev/null 2>&1 ||
1347 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1348 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1349 { (exit 1); exit 1; }; }
1351 echo "$as_me:$LINENO: checking build system type" >&5
1352 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1353 if test "${ac_cv_build+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 ac_cv_build_alias=$build_alias
1357 test -z "$ac_cv_build_alias" &&
1358 ac_cv_build_alias=`$ac_config_guess`
1359 test -z "$ac_cv_build_alias" &&
1360 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1361 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1362 { (exit 1); exit 1; }; }
1363 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1364 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1365 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1366 { (exit 1); exit 1; }; }
1369 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1370 echo "${ECHO_T}$ac_cv_build" >&6
1372 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1373 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1374 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1377 echo "$as_me:$LINENO: checking host system type" >&5
1378 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1379 if test "${ac_cv_host+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 ac_cv_host_alias=$host_alias
1383 test -z "$ac_cv_host_alias" &&
1384 ac_cv_host_alias=$ac_cv_build_alias
1385 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1386 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1387 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1388 { (exit 1); exit 1; }; }
1391 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1392 echo "${ECHO_T}$ac_cv_host" >&6
1394 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1395 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1396 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1399 echo "$as_me:$LINENO: checking target system type" >&5
1400 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1401 if test "${ac_cv_target+set}" = set; then
1402 echo $ECHO_N "(cached) $ECHO_C" >&6
1404 ac_cv_target_alias=$target_alias
1405 test "x$ac_cv_target_alias" = "x" &&
1406 ac_cv_target_alias=$ac_cv_host_alias
1407 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1408 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1409 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1410 { (exit 1); exit 1; }; }
1413 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1414 echo "${ECHO_T}$ac_cv_target" >&6
1415 target=$ac_cv_target
1416 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1417 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1418 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1421 # The aliases save the names the user supplied, while $host etc.
1422 # will get canonicalized.
1423 test -n "$target_alias" &&
1424 test "$program_prefix$program_suffix$program_transform_name" = \
1426 program_prefix=${target_alias}-
1428 ac_cpp='$CPP $CPPFLAGS'
1429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1430 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1432 if test -n "$ac_tool_prefix"; then
1433 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1434 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1435 echo "$as_me:$LINENO: checking for $ac_word" >&5
1436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1437 if test "${ac_cv_prog_CC+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 if test -n "$CC"; then
1441 ac_cv_prog_CC="$CC" # Let the user override the test.
1443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1447 test -z "$as_dir" && as_dir=.
1448 for ac_exec_ext in '' $ac_executable_extensions; do
1449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1450 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1460 if test -n "$CC"; then
1461 echo "$as_me:$LINENO: result: $CC" >&5
1462 echo "${ECHO_T}$CC" >&6
1464 echo "$as_me:$LINENO: result: no" >&5
1465 echo "${ECHO_T}no" >&6
1469 if test -z "$ac_cv_prog_CC"; then
1471 # Extract the first word of "gcc", so it can be a program name with args.
1472 set dummy gcc; ac_word=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1478 if test -n "$ac_ct_CC"; then
1479 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1485 test -z "$as_dir" && as_dir=.
1486 for ac_exec_ext in '' $ac_executable_extensions; do
1487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1488 ac_cv_prog_ac_ct_CC="gcc"
1489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1498 if test -n "$ac_ct_CC"; then
1499 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1500 echo "${ECHO_T}$ac_ct_CC" >&6
1502 echo "$as_me:$LINENO: result: no" >&5
1503 echo "${ECHO_T}no" >&6
1511 if test -z "$CC"; then
1512 if test -n "$ac_tool_prefix"; then
1513 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1514 set dummy ${ac_tool_prefix}cc; ac_word=$2
1515 echo "$as_me:$LINENO: checking for $ac_word" >&5
1516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1517 if test "${ac_cv_prog_CC+set}" = set; then
1518 echo $ECHO_N "(cached) $ECHO_C" >&6
1520 if test -n "$CC"; then
1521 ac_cv_prog_CC="$CC" # Let the user override the test.
1523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1527 test -z "$as_dir" && as_dir=.
1528 for ac_exec_ext in '' $ac_executable_extensions; do
1529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1530 ac_cv_prog_CC="${ac_tool_prefix}cc"
1531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1540 if test -n "$CC"; then
1541 echo "$as_me:$LINENO: result: $CC" >&5
1542 echo "${ECHO_T}$CC" >&6
1544 echo "$as_me:$LINENO: result: no" >&5
1545 echo "${ECHO_T}no" >&6
1549 if test -z "$ac_cv_prog_CC"; then
1551 # Extract the first word of "cc", so it can be a program name with args.
1552 set dummy cc; ac_word=$2
1553 echo "$as_me:$LINENO: checking for $ac_word" >&5
1554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1555 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 if test -n "$ac_ct_CC"; then
1559 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1565 test -z "$as_dir" && as_dir=.
1566 for ac_exec_ext in '' $ac_executable_extensions; do
1567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1568 ac_cv_prog_ac_ct_CC="cc"
1569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1578 if test -n "$ac_ct_CC"; then
1579 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1580 echo "${ECHO_T}$ac_ct_CC" >&6
1582 echo "$as_me:$LINENO: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1592 if test -z "$CC"; then
1593 # Extract the first word of "cc", so it can be a program name with args.
1594 set dummy cc; ac_word=$2
1595 echo "$as_me:$LINENO: checking for $ac_word" >&5
1596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1597 if test "${ac_cv_prog_CC+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 if test -n "$CC"; then
1601 ac_cv_prog_CC="$CC" # Let the user override the test.
1604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1608 test -z "$as_dir" && as_dir=.
1609 for ac_exec_ext in '' $ac_executable_extensions; do
1610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1611 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1612 ac_prog_rejected=yes
1616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1622 if test $ac_prog_rejected = yes; then
1623 # We found a bogon in the path, so make sure we never use it.
1624 set dummy $ac_cv_prog_CC
1626 if test $# != 0; then
1627 # We chose a different compiler from the bogus one.
1628 # However, it has the same basename, so the bogon will be chosen
1629 # first if we set CC to just the basename; use the full file name.
1631 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1637 if test -n "$CC"; then
1638 echo "$as_me:$LINENO: result: $CC" >&5
1639 echo "${ECHO_T}$CC" >&6
1641 echo "$as_me:$LINENO: result: no" >&5
1642 echo "${ECHO_T}no" >&6
1646 if test -z "$CC"; then
1647 if test -n "$ac_tool_prefix"; then
1650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1651 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1652 echo "$as_me:$LINENO: checking for $ac_word" >&5
1653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1654 if test "${ac_cv_prog_CC+set}" = set; then
1655 echo $ECHO_N "(cached) $ECHO_C" >&6
1657 if test -n "$CC"; then
1658 ac_cv_prog_CC="$CC" # Let the user override the test.
1660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1664 test -z "$as_dir" && as_dir=.
1665 for ac_exec_ext in '' $ac_executable_extensions; do
1666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1667 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1677 if test -n "$CC"; then
1678 echo "$as_me:$LINENO: result: $CC" >&5
1679 echo "${ECHO_T}$CC" >&6
1681 echo "$as_me:$LINENO: result: no" >&5
1682 echo "${ECHO_T}no" >&6
1685 test -n "$CC" && break
1688 if test -z "$CC"; then
1692 # Extract the first word of "$ac_prog", so it can be a program name with args.
1693 set dummy $ac_prog; ac_word=$2
1694 echo "$as_me:$LINENO: checking for $ac_word" >&5
1695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1697 echo $ECHO_N "(cached) $ECHO_C" >&6
1699 if test -n "$ac_ct_CC"; then
1700 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1706 test -z "$as_dir" && as_dir=.
1707 for ac_exec_ext in '' $ac_executable_extensions; do
1708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1709 ac_cv_prog_ac_ct_CC="$ac_prog"
1710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1719 if test -n "$ac_ct_CC"; then
1720 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1721 echo "${ECHO_T}$ac_ct_CC" >&6
1723 echo "$as_me:$LINENO: result: no" >&5
1724 echo "${ECHO_T}no" >&6
1727 test -n "$ac_ct_CC" && break
1736 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1737 See \`config.log' for more details.
" >&5
1738 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1739 See \
`config.log' for more details." >&2;}
1740 { (exit 1); exit 1; }; }
1742 # Provide some information about the compiler.
1743 echo "$as_me:$LINENO:" \
1744 "checking for C compiler version" >&5
1745 ac_compiler=`set X
$ac_compile; echo $2`
1746 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1747 (eval $ac_compiler --version </dev/null >&5) 2>&5
1749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1750 (exit $ac_status); }
1751 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1752 (eval $ac_compiler -v </dev/null >&5) 2>&5
1754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1755 (exit $ac_status); }
1756 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1757 (eval $ac_compiler -V </dev/null >&5) 2>&5
1759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1760 (exit $ac_status); }
1762 cat >conftest.$ac_ext <<_ACEOF
1765 cat confdefs.h >>conftest.$ac_ext
1766 cat >>conftest.$ac_ext <<_ACEOF
1767 /* end confdefs.h. */
1777 ac_clean_files_save=$ac_clean_files
1778 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1779 # Try to create an executable without -o first, disregard a.out.
1780 # It will help us diagnose broken compilers, and finding out an intuition
1782 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1783 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1784 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1785 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1786 (eval $ac_link_default) 2>&5
1788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1789 (exit $ac_status); }; then
1790 # Find the output, starting from the most likely. This scheme is
1791 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1794 # Be careful to initialize this variable, since it used to be cached.
1795 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1797 # b.out is created by i960 compilers.
1798 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1800 test -f "$ac_file" || continue
1802 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1805 # This is the source file.
1808 # We found the default executable, but exeext='' is most
1812 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1813 # FIXME: I believe we export ac_cv_exeext for Libtool,
1814 # but it would be cool to find out if it's true. Does anybody
1815 # maintain Libtool? --akim.
1823 echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1826 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1827 See \`config.log
' for more details." >&5
1828 echo "$as_me: error: C compiler cannot create executables
1829 See \`config.log' for more details.
" >&2;}
1830 { (exit 77); exit 77; }; }
1833 ac_exeext=$ac_cv_exeext
1834 echo "$as_me:$LINENO: result
: $ac_file" >&5
1835 echo "${ECHO_T}$ac_file" >&6
1837 # Check the compiler produces executables we can run. If not, either
1838 # the compiler is broken, or we cross compile.
1839 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1840 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1841 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1842 # If not cross compiling, check that we can run a simple program.
1843 if test "$cross_compiling" != yes; then
1844 if { ac_try='./$ac_file'
1845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1849 (exit $ac_status); }; }; then
1852 if test "$cross_compiling" = maybe; then
1855 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1856 If you meant to cross compile
, use \
`--host'.
1857 See \`config.log
' for more details." >&5
1858 echo "$as_me: error: cannot run C compiled programs.
1859 If you meant to cross compile, use \`--host'.
1860 See \
`config.log' for more details." >&2;}
1861 { (exit 1); exit 1; }; }
1865 echo "$as_me:$LINENO: result: yes" >&5
1866 echo "${ECHO_T}yes" >&6
1868 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1869 ac_clean_files=$ac_clean_files_save
1870 # Check the compiler produces executables we can run. If not, either
1871 # the compiler is broken, or we cross compile.
1872 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1873 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1874 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1875 echo "${ECHO_T}$cross_compiling" >&6
1877 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1878 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1880 (eval $ac_link) 2>&5
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); }; then
1884 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1885 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1886 # work properly (i.e., refer to `conftest.exe'), while it won't with
1888 for ac_file
in conftest.exe conftest conftest.
*; do
1889 test -f "$ac_file" ||
continue
1891 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1892 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1899 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1900 See \`config.log' for more details." >&5
1901 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1902 See \`config.log' for more details." >&2;}
1903 { (exit 1); exit 1; }; }
1906 rm -f conftest
$ac_cv_exeext
1907 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1908 echo "${ECHO_T}$ac_cv_exeext" >&6
1910 rm -f conftest.
$ac_ext
1911 EXEEXT
=$ac_cv_exeext
1913 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1914 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1915 if test "${ac_cv_objext+set}" = set; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 cat >conftest.
$ac_ext <<_ACEOF
1921 cat confdefs.h
>>conftest.
$ac_ext
1922 cat >>conftest.
$ac_ext <<_ACEOF
1923 /* end confdefs.h. */
1933 rm -f conftest.o conftest.obj
1934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1935 (eval $ac_compile) 2>&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }; then
1939 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1941 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1942 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1947 echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.
$ac_ext >&5
1950 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1951 See \`config.log' for more details." >&5
1952 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1953 See \`config.log' for more details." >&2;}
1954 { (exit 1); exit 1; }; }
1957 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1959 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1960 echo "${ECHO_T}$ac_cv_objext" >&6
1961 OBJEXT
=$ac_cv_objext
1963 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1964 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1965 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 cat >conftest.
$ac_ext <<_ACEOF
1971 cat confdefs.h
>>conftest.
$ac_ext
1972 cat >>conftest.
$ac_ext <<_ACEOF
1973 /* end confdefs.h. */
1986 rm -f conftest.
$ac_objext
1987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1988 (eval $ac_compile) 2>conftest.er1
1990 grep -v '^ *+' conftest.er1
>conftest.err
1992 cat conftest.err
>&5
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); } &&
1995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); }; } &&
2001 { ac_try
='test -s conftest.$ac_objext'
2002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }; }; then
2009 echo "$as_me: failed program was:" >&5
2010 sed 's/^/| /' conftest.
$ac_ext >&5
2014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2015 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2018 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2019 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2020 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2021 ac_test_CFLAGS
=${CFLAGS+set}
2022 ac_save_CFLAGS
=$CFLAGS
2024 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2025 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2026 if test "${ac_cv_prog_cc_g+set}" = set; then
2027 echo $ECHO_N "(cached) $ECHO_C" >&6
2029 cat >conftest.
$ac_ext <<_ACEOF
2032 cat confdefs.h
>>conftest.
$ac_ext
2033 cat >>conftest.
$ac_ext <<_ACEOF
2034 /* end confdefs.h. */
2044 rm -f conftest.
$ac_objext
2045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2046 (eval $ac_compile) 2>conftest.er1
2048 grep -v '^ *+' conftest.er1
>conftest.err
2050 cat conftest.err
>&5
2051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2052 (exit $ac_status); } &&
2053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); }; } &&
2059 { ac_try
='test -s conftest.$ac_objext'
2060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); }; }; then
2067 echo "$as_me: failed program was:" >&5
2068 sed 's/^/| /' conftest.
$ac_ext >&5
2072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2074 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2075 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2076 if test "$ac_test_CFLAGS" = set; then
2077 CFLAGS
=$ac_save_CFLAGS
2078 elif test $ac_cv_prog_cc_g = yes; then
2079 if test "$GCC" = yes; then
2085 if test "$GCC" = yes; then
2091 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2092 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2093 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 ac_cv_prog_cc_stdc
=no
2098 cat >conftest.
$ac_ext <<_ACEOF
2101 cat confdefs.h
>>conftest.
$ac_ext
2102 cat >>conftest.
$ac_ext <<_ACEOF
2103 /* end confdefs.h. */
2106 #include <sys/types.h>
2107 #include <sys/stat.h>
2108 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2109 struct buf { int x; };
2110 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2111 static char *e (p, i)
2117 static char *f (char * (*g) (char **, int), char **p, ...)
2122 s = g (p, va_arg (v,int));
2127 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2128 function prototypes and stuff, but not '\xHH' hex character constants.
2129 These don't provoke an error unfortunately, instead are silently treated
2130 as 'x'. The following induces an error, until -std1 is added to get
2131 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2132 array size at least. It's necessary to write '\x00'==0 to get something
2133 that's true only with -std1. */
2134 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2136 int test (int i, double x);
2137 struct s1 {int (*f) (int a);};
2138 struct s2 {int (*f) (double a);};
2139 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2145 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2150 # Don't try gcc -ansi; that turns off useful extensions and
2151 # breaks some systems' header files.
2152 # AIX -qlanglvl=ansi
2153 # Ultrix and OSF/1 -std1
2154 # HP-UX 10.20 and later -Ae
2155 # HP-UX older versions -Aa -D_HPUX_SOURCE
2156 # SVR4 -Xc -D__EXTENSIONS__
2157 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2159 CC
="$ac_save_CC $ac_arg"
2160 rm -f conftest.
$ac_objext
2161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2162 (eval $ac_compile) 2>conftest.er1
2164 grep -v '^ *+' conftest.er1
>conftest.err
2166 cat conftest.err
>&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); } &&
2169 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; } &&
2175 { ac_try
='test -s conftest.$ac_objext'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; }; then
2181 ac_cv_prog_cc_stdc
=$ac_arg
2184 echo "$as_me: failed program was:" >&5
2185 sed 's/^/| /' conftest.
$ac_ext >&5
2188 rm -f conftest.err conftest.
$ac_objext
2190 rm -f conftest.
$ac_ext conftest.
$ac_objext
2195 case "x$ac_cv_prog_cc_stdc" in
2197 echo "$as_me:$LINENO: result: none needed" >&5
2198 echo "${ECHO_T}none needed" >&6 ;;
2200 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2201 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2202 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2205 # Some people use a C++ compiler to compile C. Since we use `exit',
2206 # in C++ we need to declare it. In case someone uses the same compiler
2207 # for both compiling C and C++ we need to have the C++ compiler decide
2208 # the declaration of exit, since it's the most demanding environment.
2209 cat >conftest.
$ac_ext <<_ACEOF
2214 rm -f conftest.
$ac_objext
2215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2216 (eval $ac_compile) 2>conftest.er1
2218 grep -v '^ *+' conftest.er1
>conftest.err
2220 cat conftest.err
>&5
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222 (exit $ac_status); } &&
2223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); }; } &&
2229 { ac_try
='test -s conftest.$ac_objext'
2230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); }; }; then
2235 for ac_declaration
in \
2237 'extern "C" void std::exit (int) throw (); using std::exit;' \
2238 'extern "C" void std::exit (int); using std::exit;' \
2239 'extern "C" void exit (int) throw ();' \
2240 'extern "C" void exit (int);' \
2243 cat >conftest.
$ac_ext <<_ACEOF
2246 cat confdefs.h
>>conftest.
$ac_ext
2247 cat >>conftest.
$ac_ext <<_ACEOF
2248 /* end confdefs.h. */
2259 rm -f conftest.
$ac_objext
2260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2261 (eval $ac_compile) 2>conftest.er1
2263 grep -v '^ *+' conftest.er1
>conftest.err
2265 cat conftest.err
>&5
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); } &&
2268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }; } &&
2274 { ac_try
='test -s conftest.$ac_objext'
2275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; }; then
2282 echo "$as_me: failed program was:" >&5
2283 sed 's/^/| /' conftest.
$ac_ext >&5
2287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2288 cat >conftest.
$ac_ext <<_ACEOF
2291 cat confdefs.h
>>conftest.
$ac_ext
2292 cat >>conftest.
$ac_ext <<_ACEOF
2293 /* end confdefs.h. */
2303 rm -f conftest.
$ac_objext
2304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2305 (eval $ac_compile) 2>conftest.er1
2307 grep -v '^ *+' conftest.er1
>conftest.err
2309 cat conftest.err
>&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); } &&
2312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); }; } &&
2318 { ac_try
='test -s conftest.$ac_objext'
2319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }; }; then
2326 echo "$as_me: failed program was:" >&5
2327 sed 's/^/| /' conftest.
$ac_ext >&5
2330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2333 if test -n "$ac_declaration"; then
2334 echo '#ifdef __cplusplus' >>confdefs.h
2335 echo $ac_declaration >>confdefs.h
2336 echo '#endif' >>confdefs.h
2340 echo "$as_me: failed program was:" >&5
2341 sed 's/^/| /' conftest.
$ac_ext >&5
2344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2346 ac_cpp
='$CPP $CPPFLAGS'
2347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2352 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2353 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2354 if test "${ac_cv_search_strerror+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 ac_func_search_save_LIBS
=$LIBS
2358 ac_cv_search_strerror
=no
2359 cat >conftest.
$ac_ext <<_ACEOF
2362 cat confdefs.h
>>conftest.
$ac_ext
2363 cat >>conftest.
$ac_ext <<_ACEOF
2364 /* end confdefs.h. */
2366 /* Override any gcc2 internal prototype to avoid an error. */
2370 /* We use char because int might match the return type of a gcc2
2371 builtin and then its argument prototype would still apply. */
2381 rm -f conftest.
$ac_objext conftest
$ac_exeext
2382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2383 (eval $ac_link) 2>conftest.er1
2385 grep -v '^ *+' conftest.er1
>conftest.err
2387 cat conftest.err
>&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); } &&
2390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; } &&
2396 { ac_try
='test -s conftest$ac_exeext'
2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; }; then
2402 ac_cv_search_strerror
="none required"
2404 echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.
$ac_ext >&5
2408 rm -f conftest.err conftest.
$ac_objext \
2409 conftest
$ac_exeext conftest.
$ac_ext
2410 if test "$ac_cv_search_strerror" = no
; then
2411 for ac_lib
in cposix
; do
2412 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2413 cat >conftest.
$ac_ext <<_ACEOF
2416 cat confdefs.h
>>conftest.
$ac_ext
2417 cat >>conftest.
$ac_ext <<_ACEOF
2418 /* end confdefs.h. */
2420 /* Override any gcc2 internal prototype to avoid an error. */
2424 /* We use char because int might match the return type of a gcc2
2425 builtin and then its argument prototype would still apply. */
2435 rm -f conftest.
$ac_objext conftest
$ac_exeext
2436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2437 (eval $ac_link) 2>conftest.er1
2439 grep -v '^ *+' conftest.er1
>conftest.err
2441 cat conftest.err
>&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); } &&
2444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); }; } &&
2450 { ac_try
='test -s conftest$ac_exeext'
2451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }; }; then
2456 ac_cv_search_strerror
="-l$ac_lib"
2459 echo "$as_me: failed program was:" >&5
2460 sed 's/^/| /' conftest.
$ac_ext >&5
2463 rm -f conftest.err conftest.
$ac_objext \
2464 conftest
$ac_exeext conftest.
$ac_ext
2467 LIBS
=$ac_func_search_save_LIBS
2469 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2470 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2471 if test "$ac_cv_search_strerror" != no
; then
2472 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2477 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2478 am__api_version
="1.8"
2479 # Find a good install program. We prefer a C program (faster),
2480 # so one script is as good as another. But avoid the broken or
2481 # incompatible versions:
2482 # SysV /etc/install, /usr/sbin/install
2483 # SunOS /usr/etc/install
2484 # IRIX /sbin/install
2486 # AmigaOS /C/install, which installs bootblocks on floppy discs
2487 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2488 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2489 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2490 # OS/2's system install, which has a completely different semantic
2491 # ./install, which can be erroneously created by make from ./install.sh.
2492 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2493 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2494 if test -z "$INSTALL"; then
2495 if test "${ac_cv_path_install+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir
=.
2503 # Account for people who put trailing slashes in PATH elements.
2505 .
/ | .
// |
/cC
/* | \
2506 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2507 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2510 # OSF1 and SCO ODT 3.0 have their own names for install.
2511 # Don't use installbsd from OSF since it installs stuff as root
2513 for ac_prog
in ginstall scoinst
install; do
2514 for ac_exec_ext
in '' $ac_executable_extensions; do
2515 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2516 if test $ac_prog = install &&
2517 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2518 # AIX install. It has an incompatible calling convention.
2520 elif test $ac_prog = install &&
2521 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2522 # program-specific install script used by HP pwplus--don't use.
2525 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2537 if test "${ac_cv_path_install+set}" = set; then
2538 INSTALL
=$ac_cv_path_install
2540 # As a last resort, use the slow shell script. We don't cache a
2541 # path for INSTALL within a source directory, because that will
2542 # break other packages using the cache if that directory is
2543 # removed, or if the path is relative.
2544 INSTALL
=$ac_install_sh
2547 echo "$as_me:$LINENO: result: $INSTALL" >&5
2548 echo "${ECHO_T}$INSTALL" >&6
2550 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2551 # It thinks the first close brace ends the variable substitution.
2552 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2554 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2556 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2558 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2559 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2562 echo timestamp
> conftest.
file
2563 # Do `set' in a subshell so we don't clobber the current shell's
2564 # arguments. Must try -L first in case configure is actually a
2565 # symlink; some systems play weird games with the mod time of symlinks
2566 # (eg FreeBSD returns the mod time of the symlink's containing
2569 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2570 if test "$*" = "X"; then
2572 set X
`ls -t $srcdir/configure conftest.file`
2575 if test "$*" != "X $srcdir/configure conftest.file" \
2576 && test "$*" != "X conftest.file $srcdir/configure"; then
2578 # If neither matched, then we have a broken ls. This can happen
2579 # if, for instance, CONFIG_SHELL is bash and it inherits a
2580 # broken ls alias from the environment. This has actually
2581 # happened. Such a system could not be considered "sane".
2582 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2583 alias in your environment" >&5
2584 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2585 alias in your environment" >&2;}
2586 { (exit 1); exit 1; }; }
2589 test "$2" = conftest.
file
2595 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2596 Check your system clock" >&5
2597 echo "$as_me: error: newly created file is older than distributed files!
2598 Check your system clock" >&2;}
2599 { (exit 1); exit 1; }; }
2601 echo "$as_me:$LINENO: result: yes" >&5
2602 echo "${ECHO_T}yes" >&6
2603 test "$program_prefix" != NONE
&&
2604 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2605 # Use a double $ so make ignores it.
2606 test "$program_suffix" != NONE
&&
2607 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2608 # Double any \ or $. echo might interpret backslashes.
2609 # By default was `s,x,x', remove it if useless.
2610 cat <<\_ACEOF
>conftest.
sed
2611 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2613 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2616 # expand $ac_aux_dir to an absolute path
2617 am_aux_dir
=`cd $ac_aux_dir && pwd`
2619 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2620 # Use eval to expand $SHELL
2621 if eval "$MISSING --run true"; then
2622 am_missing_run
="$MISSING --run "
2625 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2626 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2629 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2630 # Keeping the `.' argument allows $(mkdir_p) to be used without
2631 # argument. Indeed, we sometimes output rules like
2632 # $(mkdir_p) $(somedir)
2633 # where $(somedir) is conditionally defined.
2634 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
2635 # expensive solution, as it forces Make to start a sub-shell.)
2636 mkdir_p
='mkdir -p -- .'
2638 # On NextStep and OpenStep, the `mkdir' command does not
2639 # recognize any option. It will interpret all options as
2640 # directories to create, and then abort because `.' already
2642 for d
in .
/-p .
/--version;
2644 test -d $d && rmdir $d
2646 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2647 if test -f "$ac_aux_dir/mkinstalldirs"; then
2648 mkdir_p
='$(mkinstalldirs)'
2650 mkdir_p
='$(install_sh) -d'
2654 for ac_prog
in gawk mawk nawk
awk
2656 # Extract the first word of "$ac_prog", so it can be a program name with args.
2657 set dummy
$ac_prog; ac_word
=$2
2658 echo "$as_me:$LINENO: checking for $ac_word" >&5
2659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2660 if test "${ac_cv_prog_AWK+set}" = set; then
2661 echo $ECHO_N "(cached) $ECHO_C" >&6
2663 if test -n "$AWK"; then
2664 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir
=.
2671 for ac_exec_ext
in '' $ac_executable_extensions; do
2672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2673 ac_cv_prog_AWK
="$ac_prog"
2674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 if test -n "$AWK"; then
2684 echo "$as_me:$LINENO: result: $AWK" >&5
2685 echo "${ECHO_T}$AWK" >&6
2687 echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6
2691 test -n "$AWK" && break
2694 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2695 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2696 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2697 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 cat >conftest.
make <<\_ACEOF
2702 @
echo 'ac_maketemp="$(MAKE)"'
2704 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2705 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2706 if test -n "$ac_maketemp"; then
2707 eval ac_cv_prog_make_
${ac_make}_set
=yes
2709 eval ac_cv_prog_make_
${ac_make}_set
=no
2713 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2714 echo "$as_me:$LINENO: result: yes" >&5
2715 echo "${ECHO_T}yes" >&6
2718 echo "$as_me:$LINENO: result: no" >&5
2719 echo "${ECHO_T}no" >&6
2720 SET_MAKE
="MAKE=${MAKE-make}"
2723 rm -rf .tst
2>/dev
/null
2724 mkdir .tst
2>/dev
/null
2725 if test -d .tst
; then
2730 rmdir .tst
2>/dev
/null
2732 DEPDIR
="${am__leading_dot}deps"
2734 ac_config_commands
="$ac_config_commands depfiles"
2737 am_make
=${MAKE-make}
2738 cat > confinc
<< 'END'
2743 # If we don't find an include directive, just comment out the code.
2744 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2745 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2749 # First try GNU make style include.
2750 echo "include confinc" > confmf
2751 # We grep out `Entering directory' and `Leaving directory'
2752 # messages which can occur if `w' ends up in MAKEFLAGS.
2753 # In particular we don't look at `^make:' because GNU make might
2754 # be invoked under some other name (usually "gmake"), in which
2755 # case it prints its new name instead of `make'.
2756 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2761 # Now try BSD make style include.
2762 if test "$am__include" = "#"; then
2763 echo '.include "confinc"' > confmf
2764 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2765 am__include
=.include
2772 echo "$as_me:$LINENO: result: $_am_result" >&5
2773 echo "${ECHO_T}$_am_result" >&6
2774 rm -f confinc confmf
2776 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2777 if test "${enable_dependency_tracking+set}" = set; then
2778 enableval
="$enable_dependency_tracking"
2781 if test "x$enable_dependency_tracking" != xno
; then
2782 am_depcomp
="$ac_aux_dir/depcomp"
2787 if test "x$enable_dependency_tracking" != xno; then
2797 # test to see if srcdir already configured
2798 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2799 test -f $srcdir/config.status
; then
2800 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2801 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2802 { (exit 1); exit 1; }; }
2805 # test whether we have cygpath
2806 if test -z "$CYGPATH_W"; then
2807 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2808 CYGPATH_W
='cygpath -w'
2815 # Define the identity of the package.
2817 VERSION
=${BFD_VERSION}
2820 cat >>confdefs.h
<<_ACEOF
2821 #define PACKAGE "$PACKAGE"
2825 cat >>confdefs.h
<<_ACEOF
2826 #define VERSION "$VERSION"
2829 # Some tools Automake needs.
2831 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2834 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2837 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2840 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2843 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2846 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2848 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2850 # Installed binaries are usually stripped using `strip' when the user
2851 # run `make install-strip'. However `strip' might not be the right
2852 # tool to use in cross-compilation environments, therefore Automake
2853 # will honor the `STRIP' environment variable to overrule this program.
2854 if test "$cross_compiling" != no
; then
2855 if test -n "$ac_tool_prefix"; then
2856 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2857 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2858 echo "$as_me:$LINENO: checking for $ac_word" >&5
2859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2860 if test "${ac_cv_prog_STRIP+set}" = set; then
2861 echo $ECHO_N "(cached) $ECHO_C" >&6
2863 if test -n "$STRIP"; then
2864 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir
=.
2871 for ac_exec_ext
in '' $ac_executable_extensions; do
2872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2873 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 STRIP
=$ac_cv_prog_STRIP
2883 if test -n "$STRIP"; then
2884 echo "$as_me:$LINENO: result: $STRIP" >&5
2885 echo "${ECHO_T}$STRIP" >&6
2887 echo "$as_me:$LINENO: result: no" >&5
2888 echo "${ECHO_T}no" >&6
2892 if test -z "$ac_cv_prog_STRIP"; then
2894 # Extract the first word of "strip", so it can be a program name with args.
2895 set dummy strip
; ac_word
=$2
2896 echo "$as_me:$LINENO: checking for $ac_word" >&5
2897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2898 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2899 echo $ECHO_N "(cached) $ECHO_C" >&6
2901 if test -n "$ac_ct_STRIP"; then
2902 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2908 test -z "$as_dir" && as_dir
=.
2909 for ac_exec_ext
in '' $ac_executable_extensions; do
2910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2911 ac_cv_prog_ac_ct_STRIP
="strip"
2912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2918 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2921 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2922 if test -n "$ac_ct_STRIP"; then
2923 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2924 echo "${ECHO_T}$ac_ct_STRIP" >&6
2926 echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2932 STRIP
="$ac_cv_prog_STRIP"
2936 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2938 # We need awk for the "check" target. The system "awk" is bad on
2942 depcc
="$CC" am_compiler_list
=
2944 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2945 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2946 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2947 echo $ECHO_N "(cached) $ECHO_C" >&6
2949 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2950 # We make a subdir and do the tests there. Otherwise we can end up
2951 # making bogus files that we don't know about and never remove. For
2952 # instance it was reported that on HP-UX the gcc test will end up
2953 # making a dummy file named `D' -- because `-MD' means `put the output
2956 # Copy depcomp to subdir because otherwise we won't find it if we're
2957 # using a relative directory.
2958 cp "$am_depcomp" conftest.dir
2960 # We will build objects and dependencies in a subdirectory because
2961 # it helps to detect inapplicable dependency modes. For instance
2962 # both Tru64's cc and ICC support -MD to output dependencies as a
2963 # side effect of compilation, but ICC will put the dependencies in
2964 # the current directory while Tru64 will put them in the object
2968 am_cv_CC_dependencies_compiler_type
=none
2969 if test "$am_compiler_list" = ""; then
2970 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2972 for depmode
in $am_compiler_list; do
2973 # Setup a source with many dependencies, because some compilers
2974 # like to wrap large dependency lists on column 80 (with \), and
2975 # we should not choose a depcomp mode which is confused by this.
2977 # We need to recreate these files for each test, as the compiler may
2978 # overwrite some of them when testing with obscure command lines.
2979 # This happens at least with the AIX C compiler.
2981 for i
in 1 2 3 4 5 6; do
2982 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2983 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2984 # Solaris 8's {/usr,}/bin/sh.
2985 touch sub
/conftst
$i.h
2987 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2991 # after this tag, mechanisms are not by side-effect, so they'll
2992 # only be used when explicitly requested
2993 if test "x$enable_dependency_tracking" = xyes
; then
3001 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3002 # mode. It turns out that the SunPro C++ compiler does not properly
3003 # handle `-M -o', and we need to detect this.
3004 if depmode
=$depmode \
3005 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3006 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3007 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3008 >/dev
/null
2>conftest.err
&&
3009 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3010 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3011 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3012 # icc doesn't choke on unknown options, it will just issue warnings
3013 # or remarks (even with -Werror). So we grep stderr for any message
3014 # that says an option was ignored or not supported.
3015 # When given -MP, icc 7.0 and 7.1 complain thusly:
3016 # icc: Command line warning: ignoring option '-M'; no argument required
3017 # The diagnosis changed in icc 8.0:
3018 # icc: Command line remark: option '-MP' not supported
3019 if (grep 'ignoring option' conftest.err ||
3020 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3021 am_cv_CC_dependencies_compiler_type
=$depmode
3030 am_cv_CC_dependencies_compiler_type
=none
3034 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3035 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3036 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3041 test "x$enable_dependency_tracking" != xno \
3042 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3044 am__fastdepCC_FALSE
='#'
3046 am__fastdepCC_TRUE
='#'
3047 am__fastdepCC_FALSE
=
3053 # Check whether --enable-shared or --disable-shared was given.
3054 if test "${enable_shared+set}" = set; then
3055 enableval
="$enable_shared"
3056 p
=${PACKAGE-default}
3058 yes) enable_shared
=yes ;;
3059 no
) enable_shared
=no
;;
3062 # Look at the argument we got. We use all the common list separators.
3063 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3064 for pkg
in $enableval; do
3065 if test "X$pkg" = "X$p"; then
3075 # Check whether --enable-static or --disable-static was given.
3076 if test "${enable_static+set}" = set; then
3077 enableval
="$enable_static"
3078 p
=${PACKAGE-default}
3080 yes) enable_static
=yes ;;
3081 no
) enable_static
=no
;;
3084 # Look at the argument we got. We use all the common list separators.
3085 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3086 for pkg
in $enableval; do
3087 if test "X$pkg" = "X$p"; then
3097 # Check whether --enable-fast-install or --disable-fast-install was given.
3098 if test "${enable_fast_install+set}" = set; then
3099 enableval
="$enable_fast_install"
3100 p
=${PACKAGE-default}
3102 yes) enable_fast_install
=yes ;;
3103 no
) enable_fast_install
=no
;;
3105 enable_fast_install
=no
3106 # Look at the argument we got. We use all the common list separators.
3107 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3108 for pkg
in $enableval; do
3109 if test "X$pkg" = "X$p"; then
3110 enable_fast_install
=yes
3117 enable_fast_install
=yes
3120 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3121 if test "${with_gnu_ld+set}" = set; then
3122 withval
="$with_gnu_ld"
3123 test "$withval" = no || with_gnu_ld
=yes
3128 if test "$GCC" = yes; then
3129 # Check if gcc -print-prog-name=ld gives a path.
3130 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3131 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3134 # gcc leaves a trailing carriage return which upsets mingw
3135 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3137 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3140 # Accept absolute paths.
3141 [\\/]* |
[A-Za-z
]:[\\/]*)
3142 re_direlt
='/[^/][^/]*/\.\./'
3143 # Canonicalize the path of ld
3144 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3145 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3146 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3148 test -z "$LD" && LD
="$ac_prog"
3151 # If it fails, then pretend we aren't using GCC.
3155 # If it is relative, then search for the first ld in PATH.
3159 elif test "$with_gnu_ld" = yes; then
3160 echo "$as_me:$LINENO: checking for GNU ld" >&5
3161 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3163 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3164 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3166 if test "${lt_cv_path_LD+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 if test -z "$LD"; then
3170 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3171 for ac_dir
in $PATH; do
3172 test -z "$ac_dir" && ac_dir
=.
3173 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3174 lt_cv_path_LD
="$ac_dir/$ac_prog"
3175 # Check to see if the program is GNU ld. I'd rather use --version,
3176 # but apparently some GNU ld's only accept -v.
3177 # Break only if it was the GNU/non-GNU ld that we prefer.
3178 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3179 test "$with_gnu_ld" != no
&& break
3181 test "$with_gnu_ld" != yes && break
3187 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3192 if test -n "$LD"; then
3193 echo "$as_me:$LINENO: result: $LD" >&5
3194 echo "${ECHO_T}$LD" >&6
3196 echo "$as_me:$LINENO: result: no" >&5
3197 echo "${ECHO_T}no" >&6
3199 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3200 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3201 { (exit 1); exit 1; }; }
3202 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3203 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3204 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3205 echo $ECHO_N "(cached) $ECHO_C" >&6
3207 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3208 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3209 lt_cv_prog_gnu_ld
=yes
3211 lt_cv_prog_gnu_ld
=no
3214 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3215 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3216 with_gnu_ld
=$lt_cv_prog_gnu_ld
3219 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3220 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3221 if test "${lt_cv_ld_reload_flag+set}" = set; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 lt_cv_ld_reload_flag
='-r'
3226 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3227 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3228 reload_flag
=$lt_cv_ld_reload_flag
3229 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3231 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3232 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3233 if test "${lt_cv_path_NM+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3236 if test -n "$NM"; then
3237 # Let the user override the test.
3240 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3241 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3242 test -z "$ac_dir" && ac_dir
=.
3243 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3244 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3245 # Check to see if the nm accepts a BSD-compat flag.
3246 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3247 # nm: unknown option "B" ignored
3248 # Tru64's nm complains that /dev/null is an invalid object file
3249 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3250 lt_cv_path_NM
="$tmp_nm -B"
3252 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3253 lt_cv_path_NM
="$tmp_nm -p"
3256 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3257 continue # so that we can try to find one that supports BSD flags
3262 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3267 echo "$as_me:$LINENO: result: $NM" >&5
3268 echo "${ECHO_T}$NM" >&6
3270 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3271 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3273 if test "$LN_S" = "ln -s"; then
3274 echo "$as_me:$LINENO: result: yes" >&5
3275 echo "${ECHO_T}yes" >&6
3277 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3278 echo "${ECHO_T}no, using $LN_S" >&6
3281 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3282 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3283 if test "${lt_cv_deplibs_check_method+set}" = set; then
3284 echo $ECHO_N "(cached) $ECHO_C" >&6
3286 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3287 lt_cv_file_magic_test_file
=
3288 lt_cv_deplibs_check_method
='unknown'
3289 # Need to set the preceding variable on all platforms that support
3290 # interlibrary dependencies.
3291 # 'none' -- dependencies not supported.
3292 # `unknown' -- same as none, but documents that we really don't know.
3293 # 'pass_all' -- all dependencies passed with no checks.
3294 # 'test_compile' -- check by making test program.
3295 # 'file_magic [regex]' -- check by looking for files in library path
3296 # which responds to the $file_magic_cmd with a given egrep regex.
3297 # If you have `file' or equivalent on your system and you're not sure
3298 # whether `pass_all' will *always* work, you probably want this one.
3302 lt_cv_deplibs_check_method
=pass_all
3306 lt_cv_deplibs_check_method
=pass_all
3310 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3311 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3312 lt_cv_file_magic_test_file
=/shlib
/libc.so
3315 cygwin
* | mingw
* |pw32
*)
3316 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3317 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3320 darwin
* | rhapsody
*)
3321 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3322 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3324 rhapsody
* | darwin1.012
)
3325 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3328 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3334 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3337 # Not sure whether the presence of OpenBSD here was a mistake.
3338 # Let's accept both of them until this is cleared up.
3339 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3340 lt_cv_file_magic_cmd
=/usr
/bin
/file
3341 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3345 lt_cv_deplibs_check_method
=pass_all
3350 lt_cv_deplibs_check_method
=pass_all
3356 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3357 lt_cv_file_magic_cmd
=/usr
/bin
/file
3358 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3361 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3362 lt_cv_file_magic_cmd
=/usr
/bin
/file
3363 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3371 # this will be overridden with pass_all, but let us keep it just in case
3372 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3376 *-32|
*"-32 ") libmagic
=32-bit;;
3377 *-n32|
*"-n32 ") libmagic
=N32
;;
3378 *-64|
*"-64 ") libmagic
=64-bit;;
3379 *) libmagic
=never-match
;;
3381 # this will be overridden with pass_all, but let us keep it just in case
3382 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3385 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3386 lt_cv_deplibs_check_method
=pass_all
3389 # This must be Linux ELF.
3392 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3393 lt_cv_deplibs_check_method
=pass_all
;;
3395 # glibc up to 2.1.1 does not perform some relocations on ARM
3396 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3398 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3402 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3403 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3405 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3410 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3411 lt_cv_file_magic_cmd
=/usr
/bin
/file
3412 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3415 osf3
* | osf4
* | osf5
*)
3416 # this will be overridden with pass_all, but let us keep it just in case
3417 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3418 lt_cv_file_magic_test_file
=/shlib
/libc.so
3419 lt_cv_deplibs_check_method
=pass_all
3423 lt_cv_deplibs_check_method
=pass_all
3427 lt_cv_deplibs_check_method
=pass_all
3428 lt_cv_file_magic_test_file
=/lib
/libc.so
3431 sysv5uw
[78]* | sysv4
*uw2
*)
3432 lt_cv_deplibs_check_method
=pass_all
3435 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3436 case $host_vendor in
3438 lt_cv_deplibs_check_method
=pass_all
3441 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3442 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3449 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3450 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3451 file_magic_cmd
=$lt_cv_file_magic_cmd
3452 deplibs_check_method
=$lt_cv_deplibs_check_method
3457 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3459 # Only perform the check for file, if the check method requires it
3460 case $deplibs_check_method in
3462 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3463 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3464 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3465 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3466 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3473 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3476 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3477 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3478 ac_dummy
="/usr/bin:$PATH"
3479 for ac_dir
in $ac_dummy; do
3480 test -z "$ac_dir" && ac_dir
=.
3481 if test -f $ac_dir/${ac_tool_prefix}file; then
3482 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3483 if test -n "$file_magic_test_file"; then
3484 case $deplibs_check_method in
3486 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3487 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3488 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3489 egrep "$file_magic_regex" > /dev
/null
; then
3494 *** Warning: the command libtool uses to detect shared libraries,
3495 *** $file_magic_cmd, produces output that libtool cannot recognize.
3496 *** The result is that libtool may fail to recognize shared libraries
3497 *** as such. This will affect the creation of libtool libraries that
3498 *** depend on shared libraries, but programs linked with such libtool
3499 *** libraries will work regardless of this problem. Nevertheless, you
3500 *** may want to report the problem to your system manager and/or to
3501 *** bug-libtool@gnu.org
3511 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3516 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3517 if test -n "$MAGIC_CMD"; then
3518 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3519 echo "${ECHO_T}$MAGIC_CMD" >&6
3521 echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3525 if test -z "$lt_cv_path_MAGIC_CMD"; then
3526 if test -n "$ac_tool_prefix"; then
3527 echo "$as_me:$LINENO: checking for file" >&5
3528 echo $ECHO_N "checking for file... $ECHO_C" >&6
3529 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3534 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3537 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3540 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3541 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3542 ac_dummy
="/usr/bin:$PATH"
3543 for ac_dir
in $ac_dummy; do
3544 test -z "$ac_dir" && ac_dir
=.
3545 if test -f $ac_dir/file; then
3546 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3547 if test -n "$file_magic_test_file"; then
3548 case $deplibs_check_method in
3550 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3551 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3552 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3553 egrep "$file_magic_regex" > /dev
/null
; then
3558 *** Warning: the command libtool uses to detect shared libraries,
3559 *** $file_magic_cmd, produces output that libtool cannot recognize.
3560 *** The result is that libtool may fail to recognize shared libraries
3561 *** as such. This will affect the creation of libtool libraries that
3562 *** depend on shared libraries, but programs linked with such libtool
3563 *** libraries will work regardless of this problem. Nevertheless, you
3564 *** may want to report the problem to your system manager and/or to
3565 *** bug-libtool@gnu.org
3575 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3580 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3581 if test -n "$MAGIC_CMD"; then
3582 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3583 echo "${ECHO_T}$MAGIC_CMD" >&6
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3598 if test -n "$ac_tool_prefix"; then
3599 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3600 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3601 echo "$as_me:$LINENO: checking for $ac_word" >&5
3602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3603 if test "${ac_cv_prog_RANLIB+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 if test -n "$RANLIB"; then
3607 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3613 test -z "$as_dir" && as_dir
=.
3614 for ac_exec_ext
in '' $ac_executable_extensions; do
3615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3616 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 RANLIB
=$ac_cv_prog_RANLIB
3626 if test -n "$RANLIB"; then
3627 echo "$as_me:$LINENO: result: $RANLIB" >&5
3628 echo "${ECHO_T}$RANLIB" >&6
3630 echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6
3635 if test -z "$ac_cv_prog_RANLIB"; then
3636 ac_ct_RANLIB
=$RANLIB
3637 # Extract the first word of "ranlib", so it can be a program name with args.
3638 set dummy ranlib
; ac_word
=$2
3639 echo "$as_me:$LINENO: checking for $ac_word" >&5
3640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3641 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3644 if test -n "$ac_ct_RANLIB"; then
3645 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3651 test -z "$as_dir" && as_dir
=.
3652 for ac_exec_ext
in '' $ac_executable_extensions; do
3653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3654 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3664 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3665 if test -n "$ac_ct_RANLIB"; then
3666 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3667 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3673 RANLIB
=$ac_ct_RANLIB
3675 RANLIB
="$ac_cv_prog_RANLIB"
3678 if test -n "$ac_tool_prefix"; then
3679 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3680 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3681 echo "$as_me:$LINENO: checking for $ac_word" >&5
3682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3683 if test "${ac_cv_prog_STRIP+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 if test -n "$STRIP"; then
3687 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir
=.
3694 for ac_exec_ext
in '' $ac_executable_extensions; do
3695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 STRIP
=$ac_cv_prog_STRIP
3706 if test -n "$STRIP"; then
3707 echo "$as_me:$LINENO: result: $STRIP" >&5
3708 echo "${ECHO_T}$STRIP" >&6
3710 echo "$as_me:$LINENO: result: no" >&5
3711 echo "${ECHO_T}no" >&6
3715 if test -z "$ac_cv_prog_STRIP"; then
3717 # Extract the first word of "strip", so it can be a program name with args.
3718 set dummy strip
; ac_word
=$2
3719 echo "$as_me:$LINENO: checking for $ac_word" >&5
3720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3721 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3722 echo $ECHO_N "(cached) $ECHO_C" >&6
3724 if test -n "$ac_ct_STRIP"; then
3725 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3731 test -z "$as_dir" && as_dir
=.
3732 for ac_exec_ext
in '' $ac_executable_extensions; do
3733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3734 ac_cv_prog_ac_ct_STRIP
="strip"
3735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3741 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3744 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3745 if test -n "$ac_ct_STRIP"; then
3746 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3747 echo "${ECHO_T}$ac_ct_STRIP" >&6
3749 echo "$as_me:$LINENO: result: no" >&5
3750 echo "${ECHO_T}no" >&6
3755 STRIP
="$ac_cv_prog_STRIP"
3759 # Check for any special flags to pass to ltconfig.
3760 libtool_flags
="--cache-file=$cache_file"
3761 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3762 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3763 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3764 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3765 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3768 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3769 if test "${enable_libtool_lock+set}" = set; then
3770 enableval
="$enable_libtool_lock"
3773 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3774 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3777 # Check whether --with-pic or --without-pic was given.
3778 if test "${with_pic+set}" = set; then
3784 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3785 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3787 # Some flags need to be propagated to the compiler or linker for good
3791 # Find out which ABI we are using.
3792 echo '#line 3792 "configure"' > conftest.
$ac_ext
3793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3794 (eval $ac_compile) 2>&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); }; then
3798 if test "$lt_cv_prog_gnu_ld" = yes; then
3799 case `/usr/bin/file conftest.$ac_objext` in
3801 LD
="${LD-ld} -melf32bsmip"
3804 LD
="${LD-ld} -melf32bmipn32"
3807 LD
="${LD-ld} -melf64bmip"
3811 case `/usr/bin/file conftest.$ac_objext` in
3828 # Find out which ABI we are using.
3829 echo 'int i;' > conftest.
$ac_ext
3830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3831 (eval $ac_compile) 2>&5
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); }; then
3835 case "`/usr/bin/file conftest.o`" in
3848 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3849 SAVE_CFLAGS
="$CFLAGS"
3850 CFLAGS
="$CFLAGS -belf"
3851 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3852 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3853 if test "${lt_cv_cc_needs_belf+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3859 ac_cpp
='$CPP $CPPFLAGS'
3860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3864 cat >conftest.
$ac_ext <<_ACEOF
3867 cat confdefs.h
>>conftest.
$ac_ext
3868 cat >>conftest.
$ac_ext <<_ACEOF
3869 /* end confdefs.h. */
3879 rm -f conftest.
$ac_objext conftest
$ac_exeext
3880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3881 (eval $ac_link) 2>conftest.er1
3883 grep -v '^ *+' conftest.er1
>conftest.err
3885 cat conftest.err
>&5
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); } &&
3888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }; } &&
3894 { ac_try
='test -s conftest$ac_exeext'
3895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); }; }; then
3900 lt_cv_cc_needs_belf
=yes
3902 echo "$as_me: failed program was:" >&5
3903 sed 's/^/| /' conftest.
$ac_ext >&5
3905 lt_cv_cc_needs_belf
=no
3907 rm -f conftest.err conftest.
$ac_objext \
3908 conftest
$ac_exeext conftest.
$ac_ext
3910 ac_cpp
='$CPP $CPPFLAGS'
3911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3916 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3917 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3918 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3919 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3920 CFLAGS
="$SAVE_CFLAGS"
3928 # Save cache, so that ltconfig can load it
3929 cat >confcache
<<\_ACEOF
3930 # This file is a shell script that caches the results of configure
3931 # tests run on this system so they can be shared between configure
3932 # scripts and configure runs, see configure's option --config-cache.
3933 # It is not useful on other systems. If it contains results you don't
3934 # want to keep, you may remove or edit it.
3936 # config.status only pays attention to the cache file if you give it
3937 # the --recheck option to rerun configure.
3939 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3940 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3945 # The following way of writing the cache mishandles newlines in values,
3946 # but we know of no workaround that is simple, portable, and efficient.
3947 # So, don't put newlines in cache variables' values.
3948 # Ultrix sh set writes to stderr and can't be redirected directly,
3949 # and sets the high bit in the cache file unless we assign to the vars.
3952 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3954 # `set' does not quote correctly, so add quotes (double-quote
3955 # substitution turns \\\\ into \\, and sed turns \\ into \).
3958 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3961 # `set' quotes correctly as required by POSIX, so do not add quotes.
3963 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3972 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3974 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3975 if test -w $cache_file; then
3976 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3977 cat confcache
>$cache_file
3979 echo "not updating unwritable cache $cache_file"
3984 # Actually configure libtool. ac_aux_dir is where install-sh is found.
3985 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
3986 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
3987 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
3988 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
3989 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
3990 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
3991 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
3992 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
3993 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
3994 echo "$as_me: error: libtool configure failed" >&2;}
3995 { (exit 1); exit 1; }; }
3997 # Reload cache, that may have been modified by ltconfig
3998 if test -r "$cache_file"; then
3999 # Some versions of bash will fail to source /dev/null (special
4000 # files actually), so we avoid doing that.
4001 if test -f "$cache_file"; then
4002 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4003 echo "$as_me: loading cache $cache_file" >&6;}
4005 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4006 *) . .
/$cache_file;;
4010 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4011 echo "$as_me: creating cache $cache_file" >&6;}
4016 # This can be used to rebuild libtool when needed
4017 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4019 # Always use our own libtool.
4020 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4022 # Redirect the config.log output again, so that the ltconfig log is not
4023 # clobbered by the next message.
4024 exec 5>>.
/config.log
4032 ac_config_headers
="$ac_config_headers gconfig.h:gconfig.in"
4036 ac_cpp
='$CPP $CPPFLAGS'
4037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4040 if test -n "$ac_tool_prefix"; then
4041 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4042 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4043 echo "$as_me:$LINENO: checking for $ac_word" >&5
4044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4045 if test "${ac_cv_prog_CC+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 if test -n "$CC"; then
4049 ac_cv_prog_CC
="$CC" # Let the user override the test.
4051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4055 test -z "$as_dir" && as_dir
=.
4056 for ac_exec_ext
in '' $ac_executable_extensions; do
4057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4058 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4068 if test -n "$CC"; then
4069 echo "$as_me:$LINENO: result: $CC" >&5
4070 echo "${ECHO_T}$CC" >&6
4072 echo "$as_me:$LINENO: result: no" >&5
4073 echo "${ECHO_T}no" >&6
4077 if test -z "$ac_cv_prog_CC"; then
4079 # Extract the first word of "gcc", so it can be a program name with args.
4080 set dummy gcc
; ac_word
=$2
4081 echo "$as_me:$LINENO: checking for $ac_word" >&5
4082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4083 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 if test -n "$ac_ct_CC"; then
4087 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4093 test -z "$as_dir" && as_dir
=.
4094 for ac_exec_ext
in '' $ac_executable_extensions; do
4095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4096 ac_cv_prog_ac_ct_CC
="gcc"
4097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4106 if test -n "$ac_ct_CC"; then
4107 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4108 echo "${ECHO_T}$ac_ct_CC" >&6
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4119 if test -z "$CC"; then
4120 if test -n "$ac_tool_prefix"; then
4121 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4122 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4123 echo "$as_me:$LINENO: checking for $ac_word" >&5
4124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4125 if test "${ac_cv_prog_CC+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 if test -n "$CC"; then
4129 ac_cv_prog_CC
="$CC" # Let the user override the test.
4131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir
=.
4136 for ac_exec_ext
in '' $ac_executable_extensions; do
4137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4138 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4148 if test -n "$CC"; then
4149 echo "$as_me:$LINENO: result: $CC" >&5
4150 echo "${ECHO_T}$CC" >&6
4152 echo "$as_me:$LINENO: result: no" >&5
4153 echo "${ECHO_T}no" >&6
4157 if test -z "$ac_cv_prog_CC"; then
4159 # Extract the first word of "cc", so it can be a program name with args.
4160 set dummy cc
; ac_word
=$2
4161 echo "$as_me:$LINENO: checking for $ac_word" >&5
4162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4163 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 if test -n "$ac_ct_CC"; then
4167 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4173 test -z "$as_dir" && as_dir
=.
4174 for ac_exec_ext
in '' $ac_executable_extensions; do
4175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4176 ac_cv_prog_ac_ct_CC
="cc"
4177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4186 if test -n "$ac_ct_CC"; then
4187 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4188 echo "${ECHO_T}$ac_ct_CC" >&6
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4200 if test -z "$CC"; then
4201 # Extract the first word of "cc", so it can be a program name with args.
4202 set dummy cc
; ac_word
=$2
4203 echo "$as_me:$LINENO: checking for $ac_word" >&5
4204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4205 if test "${ac_cv_prog_CC+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 if test -n "$CC"; then
4209 ac_cv_prog_CC
="$CC" # Let the user override the test.
4212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4216 test -z "$as_dir" && as_dir
=.
4217 for ac_exec_ext
in '' $ac_executable_extensions; do
4218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4219 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4220 ac_prog_rejected
=yes
4224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4230 if test $ac_prog_rejected = yes; then
4231 # We found a bogon in the path, so make sure we never use it.
4232 set dummy
$ac_cv_prog_CC
4234 if test $# != 0; then
4235 # We chose a different compiler from the bogus one.
4236 # However, it has the same basename, so the bogon will be chosen
4237 # first if we set CC to just the basename; use the full file name.
4239 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4245 if test -n "$CC"; then
4246 echo "$as_me:$LINENO: result: $CC" >&5
4247 echo "${ECHO_T}$CC" >&6
4249 echo "$as_me:$LINENO: result: no" >&5
4250 echo "${ECHO_T}no" >&6
4254 if test -z "$CC"; then
4255 if test -n "$ac_tool_prefix"; then
4258 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4259 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4260 echo "$as_me:$LINENO: checking for $ac_word" >&5
4261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4262 if test "${ac_cv_prog_CC+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 if test -n "$CC"; then
4266 ac_cv_prog_CC
="$CC" # Let the user override the test.
4268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir
=.
4273 for ac_exec_ext
in '' $ac_executable_extensions; do
4274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4275 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 if test -n "$CC"; then
4286 echo "$as_me:$LINENO: result: $CC" >&5
4287 echo "${ECHO_T}$CC" >&6
4289 echo "$as_me:$LINENO: result: no" >&5
4290 echo "${ECHO_T}no" >&6
4293 test -n "$CC" && break
4296 if test -z "$CC"; then
4300 # Extract the first word of "$ac_prog", so it can be a program name with args.
4301 set dummy
$ac_prog; ac_word
=$2
4302 echo "$as_me:$LINENO: checking for $ac_word" >&5
4303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4304 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4307 if test -n "$ac_ct_CC"; then
4308 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4314 test -z "$as_dir" && as_dir
=.
4315 for ac_exec_ext
in '' $ac_executable_extensions; do
4316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4317 ac_cv_prog_ac_ct_CC
="$ac_prog"
4318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4327 if test -n "$ac_ct_CC"; then
4328 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4329 echo "${ECHO_T}$ac_ct_CC" >&6
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4335 test -n "$ac_ct_CC" && break
4344 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4345 See \`config.log' for more details." >&5
4346 echo "$as_me: error: no acceptable C compiler found in \$PATH
4347 See \`config.log' for more details." >&2;}
4348 { (exit 1); exit 1; }; }
4350 # Provide some information about the compiler.
4351 echo "$as_me:$LINENO:" \
4352 "checking for C compiler version" >&5
4353 ac_compiler
=`set X $ac_compile; echo $2`
4354 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4355 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); }
4359 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4360 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); }
4364 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4365 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); }
4370 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4371 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4372 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4373 echo $ECHO_N "(cached) $ECHO_C" >&6
4375 cat >conftest.
$ac_ext <<_ACEOF
4378 cat confdefs.h
>>conftest.
$ac_ext
4379 cat >>conftest.
$ac_ext <<_ACEOF
4380 /* end confdefs.h. */
4393 rm -f conftest.
$ac_objext
4394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4395 (eval $ac_compile) 2>conftest.er1
4397 grep -v '^ *+' conftest.er1
>conftest.err
4399 cat conftest.err
>&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); } &&
4402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); }; } &&
4408 { ac_try
='test -s conftest.$ac_objext'
4409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); }; }; then
4416 echo "$as_me: failed program was:" >&5
4417 sed 's/^/| /' conftest.
$ac_ext >&5
4421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4422 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4425 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4426 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4427 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4428 ac_test_CFLAGS
=${CFLAGS+set}
4429 ac_save_CFLAGS
=$CFLAGS
4431 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4432 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4433 if test "${ac_cv_prog_cc_g+set}" = set; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 cat >conftest.
$ac_ext <<_ACEOF
4439 cat confdefs.h
>>conftest.
$ac_ext
4440 cat >>conftest.
$ac_ext <<_ACEOF
4441 /* end confdefs.h. */
4451 rm -f conftest.
$ac_objext
4452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4453 (eval $ac_compile) 2>conftest.er1
4455 grep -v '^ *+' conftest.er1
>conftest.err
4457 cat conftest.err
>&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } &&
4460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; } &&
4466 { ac_try
='test -s conftest.$ac_objext'
4467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); }; }; then
4474 echo "$as_me: failed program was:" >&5
4475 sed 's/^/| /' conftest.
$ac_ext >&5
4479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4481 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4482 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4483 if test "$ac_test_CFLAGS" = set; then
4484 CFLAGS
=$ac_save_CFLAGS
4485 elif test $ac_cv_prog_cc_g = yes; then
4486 if test "$GCC" = yes; then
4492 if test "$GCC" = yes; then
4498 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4499 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4500 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 ac_cv_prog_cc_stdc
=no
4505 cat >conftest.
$ac_ext <<_ACEOF
4508 cat confdefs.h
>>conftest.
$ac_ext
4509 cat >>conftest.
$ac_ext <<_ACEOF
4510 /* end confdefs.h. */
4513 #include <sys/types.h>
4514 #include <sys/stat.h>
4515 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4516 struct buf { int x; };
4517 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4518 static char *e (p, i)
4524 static char *f (char * (*g) (char **, int), char **p, ...)
4529 s = g (p, va_arg (v,int));
4534 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4535 function prototypes and stuff, but not '\xHH' hex character constants.
4536 These don't provoke an error unfortunately, instead are silently treated
4537 as 'x'. The following induces an error, until -std1 is added to get
4538 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4539 array size at least. It's necessary to write '\x00'==0 to get something
4540 that's true only with -std1. */
4541 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4543 int test (int i, double x);
4544 struct s1 {int (*f) (int a);};
4545 struct s2 {int (*f) (double a);};
4546 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4552 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4557 # Don't try gcc -ansi; that turns off useful extensions and
4558 # breaks some systems' header files.
4559 # AIX -qlanglvl=ansi
4560 # Ultrix and OSF/1 -std1
4561 # HP-UX 10.20 and later -Ae
4562 # HP-UX older versions -Aa -D_HPUX_SOURCE
4563 # SVR4 -Xc -D__EXTENSIONS__
4564 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4566 CC
="$ac_save_CC $ac_arg"
4567 rm -f conftest.
$ac_objext
4568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4569 (eval $ac_compile) 2>conftest.er1
4571 grep -v '^ *+' conftest.er1
>conftest.err
4573 cat conftest.err
>&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); } &&
4576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; } &&
4582 { ac_try
='test -s conftest.$ac_objext'
4583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); }; }; then
4588 ac_cv_prog_cc_stdc
=$ac_arg
4591 echo "$as_me: failed program was:" >&5
4592 sed 's/^/| /' conftest.
$ac_ext >&5
4595 rm -f conftest.err conftest.
$ac_objext
4597 rm -f conftest.
$ac_ext conftest.
$ac_objext
4602 case "x$ac_cv_prog_cc_stdc" in
4604 echo "$as_me:$LINENO: result: none needed" >&5
4605 echo "${ECHO_T}none needed" >&6 ;;
4607 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4608 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4609 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4612 # Some people use a C++ compiler to compile C. Since we use `exit',
4613 # in C++ we need to declare it. In case someone uses the same compiler
4614 # for both compiling C and C++ we need to have the C++ compiler decide
4615 # the declaration of exit, since it's the most demanding environment.
4616 cat >conftest.
$ac_ext <<_ACEOF
4621 rm -f conftest.
$ac_objext
4622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4623 (eval $ac_compile) 2>conftest.er1
4625 grep -v '^ *+' conftest.er1
>conftest.err
4627 cat conftest.err
>&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } &&
4630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; } &&
4636 { ac_try
='test -s conftest.$ac_objext'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; }; then
4642 for ac_declaration
in \
4644 'extern "C" void std::exit (int) throw (); using std::exit;' \
4645 'extern "C" void std::exit (int); using std::exit;' \
4646 'extern "C" void exit (int) throw ();' \
4647 'extern "C" void exit (int);' \
4650 cat >conftest.
$ac_ext <<_ACEOF
4653 cat confdefs.h
>>conftest.
$ac_ext
4654 cat >>conftest.
$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4666 rm -f conftest.
$ac_objext
4667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4668 (eval $ac_compile) 2>conftest.er1
4670 grep -v '^ *+' conftest.er1
>conftest.err
4672 cat conftest.err
>&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); } &&
4675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); }; } &&
4681 { ac_try
='test -s conftest.$ac_objext'
4682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); }; }; then
4689 echo "$as_me: failed program was:" >&5
4690 sed 's/^/| /' conftest.
$ac_ext >&5
4694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4695 cat >conftest.
$ac_ext <<_ACEOF
4698 cat confdefs.h
>>conftest.
$ac_ext
4699 cat >>conftest.
$ac_ext <<_ACEOF
4700 /* end confdefs.h. */
4710 rm -f conftest.
$ac_objext
4711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4712 (eval $ac_compile) 2>conftest.er1
4714 grep -v '^ *+' conftest.er1
>conftest.err
4716 cat conftest.err
>&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); } &&
4719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; } &&
4725 { ac_try
='test -s conftest.$ac_objext'
4726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }; }; then
4733 echo "$as_me: failed program was:" >&5
4734 sed 's/^/| /' conftest.
$ac_ext >&5
4737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4740 if test -n "$ac_declaration"; then
4741 echo '#ifdef __cplusplus' >>confdefs.h
4742 echo $ac_declaration >>confdefs.h
4743 echo '#endif' >>confdefs.h
4747 echo "$as_me: failed program was:" >&5
4748 sed 's/^/| /' conftest.
$ac_ext >&5
4751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4753 ac_cpp
='$CPP $CPPFLAGS'
4754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4758 # Find a good install program. We prefer a C program (faster),
4759 # so one script is as good as another. But avoid the broken or
4760 # incompatible versions:
4761 # SysV /etc/install, /usr/sbin/install
4762 # SunOS /usr/etc/install
4763 # IRIX /sbin/install
4765 # AmigaOS /C/install, which installs bootblocks on floppy discs
4766 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4767 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4768 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4769 # OS/2's system install, which has a completely different semantic
4770 # ./install, which can be erroneously created by make from ./install.sh.
4771 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4772 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4773 if test -z "$INSTALL"; then
4774 if test "${ac_cv_path_install+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4781 test -z "$as_dir" && as_dir
=.
4782 # Account for people who put trailing slashes in PATH elements.
4784 .
/ | .
// |
/cC
/* | \
4785 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4786 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4789 # OSF1 and SCO ODT 3.0 have their own names for install.
4790 # Don't use installbsd from OSF since it installs stuff as root
4792 for ac_prog
in ginstall scoinst
install; do
4793 for ac_exec_ext
in '' $ac_executable_extensions; do
4794 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4795 if test $ac_prog = install &&
4796 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4797 # AIX install. It has an incompatible calling convention.
4799 elif test $ac_prog = install &&
4800 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4801 # program-specific install script used by HP pwplus--don't use.
4804 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4816 if test "${ac_cv_path_install+set}" = set; then
4817 INSTALL
=$ac_cv_path_install
4819 # As a last resort, use the slow shell script. We don't cache a
4820 # path for INSTALL within a source directory, because that will
4821 # break other packages using the cache if that directory is
4822 # removed, or if the path is relative.
4823 INSTALL
=$ac_install_sh
4826 echo "$as_me:$LINENO: result: $INSTALL" >&5
4827 echo "${ECHO_T}$INSTALL" >&6
4829 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4830 # It thinks the first close brace ends the variable substitution.
4831 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4833 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4835 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4839 for ac_func
in setmode
4841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4842 echo "$as_me:$LINENO: checking for $ac_func" >&5
4843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4844 if eval "test \"\${$as_ac_var+set}\" = set"; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4847 cat >conftest.
$ac_ext <<_ACEOF
4850 cat confdefs.h
>>conftest.
$ac_ext
4851 cat >>conftest.
$ac_ext <<_ACEOF
4852 /* end confdefs.h. */
4853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4855 #define $ac_func innocuous_$ac_func
4857 /* System header to define __stub macros and hopefully few prototypes,
4858 which can conflict with char $ac_func (); below.
4859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4860 <limits.h> exists even on freestanding compilers. */
4863 # include <limits.h>
4865 # include <assert.h>
4870 /* Override any gcc2 internal prototype to avoid an error. */
4875 /* We use char because int might match the return type of a gcc2
4876 builtin and then its argument prototype would still apply. */
4878 /* The GNU C library defines this for functions which it implements
4879 to always fail with ENOSYS. Some functions are actually named
4880 something starting with __ and the normal name is an alias. */
4881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4884 char (*f) () = $ac_func;
4893 return f != $ac_func;
4898 rm -f conftest.
$ac_objext conftest
$ac_exeext
4899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4900 (eval $ac_link) 2>conftest.er1
4902 grep -v '^ *+' conftest.er1
>conftest.err
4904 cat conftest.err
>&5
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); } &&
4907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); }; } &&
4913 { ac_try
='test -s conftest$ac_exeext'
4914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); }; }; then
4919 eval "$as_ac_var=yes"
4921 echo "$as_me: failed program was:" >&5
4922 sed 's/^/| /' conftest.
$ac_ext >&5
4924 eval "$as_ac_var=no"
4926 rm -f conftest.err conftest.
$ac_objext \
4927 conftest
$ac_exeext conftest.
$ac_ext
4929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4931 if test `eval echo '${'$as_ac_var'}'` = yes; then
4932 cat >>confdefs.h
<<_ACEOF
4933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4940 ALL_LINGUAS
="fr tr sv es id da pt_BR de"
4941 if test -n "$ac_tool_prefix"; then
4942 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4943 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4944 echo "$as_me:$LINENO: checking for $ac_word" >&5
4945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4946 if test "${ac_cv_prog_RANLIB+set}" = set; then
4947 echo $ECHO_N "(cached) $ECHO_C" >&6
4949 if test -n "$RANLIB"; then
4950 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir
=.
4957 for ac_exec_ext
in '' $ac_executable_extensions; do
4958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 RANLIB
=$ac_cv_prog_RANLIB
4969 if test -n "$RANLIB"; then
4970 echo "$as_me:$LINENO: result: $RANLIB" >&5
4971 echo "${ECHO_T}$RANLIB" >&6
4973 echo "$as_me:$LINENO: result: no" >&5
4974 echo "${ECHO_T}no" >&6
4978 if test -z "$ac_cv_prog_RANLIB"; then
4979 ac_ct_RANLIB
=$RANLIB
4980 # Extract the first word of "ranlib", so it can be a program name with args.
4981 set dummy ranlib
; ac_word
=$2
4982 echo "$as_me:$LINENO: checking for $ac_word" >&5
4983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4984 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 if test -n "$ac_ct_RANLIB"; then
4988 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir
=.
4995 for ac_exec_ext
in '' $ac_executable_extensions; do
4996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5007 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5008 if test -n "$ac_ct_RANLIB"; then
5009 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5010 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5012 echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6
5016 RANLIB
=$ac_ct_RANLIB
5018 RANLIB
="$ac_cv_prog_RANLIB"
5022 ac_cpp
='$CPP $CPPFLAGS'
5023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5026 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5027 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5028 # On Suns, sometimes $CPP names a directory.
5029 if test -n "$CPP" && test -d "$CPP"; then
5032 if test -z "$CPP"; then
5033 if test "${ac_cv_prog_CPP+set}" = set; then
5034 echo $ECHO_N "(cached) $ECHO_C" >&6
5036 # Double quotes because CPP needs to be expanded
5037 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5040 for ac_c_preproc_warn_flag
in '' yes
5042 # Use a header file that comes with gcc, so configuring glibc
5043 # with a fresh cross-compiler works.
5044 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5045 # <limits.h> exists even on freestanding compilers.
5046 # On the NeXT, cc -E runs the code through the compiler's parser,
5047 # not just through cpp. "Syntax error" is here to catch this case.
5048 cat >conftest.
$ac_ext <<_ACEOF
5051 cat confdefs.h
>>conftest.
$ac_ext
5052 cat >>conftest.
$ac_ext <<_ACEOF
5053 /* end confdefs.h. */
5055 # include <limits.h>
5057 # include <assert.h>
5061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5062 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5064 grep -v '^ *+' conftest.er1
>conftest.err
5066 cat conftest.err
>&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); } >/dev
/null
; then
5069 if test -s conftest.err
; then
5070 ac_cpp_err
=$ac_c_preproc_warn_flag
5071 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5078 if test -z "$ac_cpp_err"; then
5081 echo "$as_me: failed program was:" >&5
5082 sed 's/^/| /' conftest.
$ac_ext >&5
5084 # Broken: fails on valid input.
5087 rm -f conftest.err conftest.
$ac_ext
5089 # OK, works on sane cases. Now check whether non-existent headers
5090 # can be detected and how.
5091 cat >conftest.
$ac_ext <<_ACEOF
5094 cat confdefs.h
>>conftest.
$ac_ext
5095 cat >>conftest.
$ac_ext <<_ACEOF
5096 /* end confdefs.h. */
5097 #include <ac_nonexistent.h>
5099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5100 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5102 grep -v '^ *+' conftest.er1
>conftest.err
5104 cat conftest.err
>&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); } >/dev
/null
; then
5107 if test -s conftest.err
; then
5108 ac_cpp_err
=$ac_c_preproc_warn_flag
5109 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5116 if test -z "$ac_cpp_err"; then
5117 # Broken: success on invalid input.
5120 echo "$as_me: failed program was:" >&5
5121 sed 's/^/| /' conftest.
$ac_ext >&5
5123 # Passes both tests.
5127 rm -f conftest.err conftest.
$ac_ext
5130 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5131 rm -f conftest.err conftest.
$ac_ext
5132 if $ac_preproc_ok; then
5144 echo "$as_me:$LINENO: result: $CPP" >&5
5145 echo "${ECHO_T}$CPP" >&6
5147 for ac_c_preproc_warn_flag
in '' yes
5149 # Use a header file that comes with gcc, so configuring glibc
5150 # with a fresh cross-compiler works.
5151 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5152 # <limits.h> exists even on freestanding compilers.
5153 # On the NeXT, cc -E runs the code through the compiler's parser,
5154 # not just through cpp. "Syntax error" is here to catch this case.
5155 cat >conftest.
$ac_ext <<_ACEOF
5158 cat confdefs.h
>>conftest.
$ac_ext
5159 cat >>conftest.
$ac_ext <<_ACEOF
5160 /* end confdefs.h. */
5162 # include <limits.h>
5164 # include <assert.h>
5168 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5169 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5171 grep -v '^ *+' conftest.er1
>conftest.err
5173 cat conftest.err
>&5
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); } >/dev
/null
; then
5176 if test -s conftest.err
; then
5177 ac_cpp_err
=$ac_c_preproc_warn_flag
5178 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5185 if test -z "$ac_cpp_err"; then
5188 echo "$as_me: failed program was:" >&5
5189 sed 's/^/| /' conftest.
$ac_ext >&5
5191 # Broken: fails on valid input.
5194 rm -f conftest.err conftest.
$ac_ext
5196 # OK, works on sane cases. Now check whether non-existent headers
5197 # can be detected and how.
5198 cat >conftest.
$ac_ext <<_ACEOF
5201 cat confdefs.h
>>conftest.
$ac_ext
5202 cat >>conftest.
$ac_ext <<_ACEOF
5203 /* end confdefs.h. */
5204 #include <ac_nonexistent.h>
5206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5207 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5209 grep -v '^ *+' conftest.er1
>conftest.err
5211 cat conftest.err
>&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); } >/dev
/null
; then
5214 if test -s conftest.err
; then
5215 ac_cpp_err
=$ac_c_preproc_warn_flag
5216 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5223 if test -z "$ac_cpp_err"; then
5224 # Broken: success on invalid input.
5227 echo "$as_me: failed program was:" >&5
5228 sed 's/^/| /' conftest.
$ac_ext >&5
5230 # Passes both tests.
5234 rm -f conftest.err conftest.
$ac_ext
5237 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5238 rm -f conftest.err conftest.
$ac_ext
5239 if $ac_preproc_ok; then
5242 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5243 See \`config.log' for more details." >&5
5244 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5245 See \`config.log' for more details." >&2;}
5246 { (exit 1); exit 1; }; }
5250 ac_cpp
='$CPP $CPPFLAGS'
5251 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5252 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5253 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5256 echo "$as_me:$LINENO: checking for egrep" >&5
5257 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5258 if test "${ac_cv_prog_egrep+set}" = set; then
5259 echo $ECHO_N "(cached) $ECHO_C" >&6
5261 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5262 then ac_cv_prog_egrep
='grep -E'
5263 else ac_cv_prog_egrep
='egrep'
5266 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5267 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5268 EGREP
=$ac_cv_prog_egrep
5271 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5272 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5273 if test "${ac_cv_header_stdc+set}" = set; then
5274 echo $ECHO_N "(cached) $ECHO_C" >&6
5276 cat >conftest.
$ac_ext <<_ACEOF
5279 cat confdefs.h
>>conftest.
$ac_ext
5280 cat >>conftest.
$ac_ext <<_ACEOF
5281 /* end confdefs.h. */
5295 rm -f conftest.
$ac_objext
5296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5297 (eval $ac_compile) 2>conftest.er1
5299 grep -v '^ *+' conftest.er1
>conftest.err
5301 cat conftest.err
>&5
5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303 (exit $ac_status); } &&
5304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); }; } &&
5310 { ac_try
='test -s conftest.$ac_objext'
5311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); }; }; then
5316 ac_cv_header_stdc
=yes
5318 echo "$as_me: failed program was:" >&5
5319 sed 's/^/| /' conftest.
$ac_ext >&5
5321 ac_cv_header_stdc
=no
5323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5325 if test $ac_cv_header_stdc = yes; then
5326 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5327 cat >conftest.
$ac_ext <<_ACEOF
5330 cat confdefs.h
>>conftest.
$ac_ext
5331 cat >>conftest.
$ac_ext <<_ACEOF
5332 /* end confdefs.h. */
5336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5337 $EGREP "memchr" >/dev
/null
2>&1; then
5340 ac_cv_header_stdc
=no
5346 if test $ac_cv_header_stdc = yes; then
5347 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5348 cat >conftest.
$ac_ext <<_ACEOF
5351 cat confdefs.h
>>conftest.
$ac_ext
5352 cat >>conftest.
$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5358 $EGREP "free" >/dev
/null
2>&1; then
5361 ac_cv_header_stdc
=no
5367 if test $ac_cv_header_stdc = yes; then
5368 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5369 if test "$cross_compiling" = yes; then
5372 cat >conftest.
$ac_ext <<_ACEOF
5375 cat confdefs.h
>>conftest.
$ac_ext
5376 cat >>conftest.
$ac_ext <<_ACEOF
5377 /* end confdefs.h. */
5379 #if ((' ' & 0x0FF) == 0x020)
5380 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5381 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5383 # define ISLOWER(c) \
5384 (('a' <= (c) && (c) <= 'i') \
5385 || ('j' <= (c) && (c) <= 'r') \
5386 || ('s' <= (c) && (c) <= 'z'))
5387 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5390 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5395 for (i = 0; i < 256; i++)
5396 if (XOR (islower (i), ISLOWER (i))
5397 || toupper (i) != TOUPPER (i))
5402 rm -f conftest
$ac_exeext
5403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5404 (eval $ac_link) 2>&5
5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); }; }; then
5415 echo "$as_me: program exited with status $ac_status" >&5
5416 echo "$as_me: failed program was:" >&5
5417 sed 's/^/| /' conftest.
$ac_ext >&5
5420 ac_cv_header_stdc
=no
5422 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5426 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5427 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5428 if test $ac_cv_header_stdc = yes; then
5430 cat >>confdefs.h
<<\_ACEOF
5431 #define STDC_HEADERS 1
5436 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5437 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5438 if test "${ac_cv_c_const+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 cat >conftest.
$ac_ext <<_ACEOF
5444 cat confdefs.h
>>conftest.
$ac_ext
5445 cat >>conftest.
$ac_ext <<_ACEOF
5446 /* end confdefs.h. */
5451 /* FIXME: Include the comments suggested by Paul. */
5453 /* Ultrix mips cc rejects this. */
5454 typedef int charset[2];
5456 /* SunOS 4.1.1 cc rejects this. */
5457 char const *const *ccp;
5459 /* NEC SVR4.0.2 mips cc rejects this. */
5460 struct point {int x, y;};
5461 static struct point const zero = {0,0};
5462 /* AIX XL C 1.02.0.0 rejects this.
5463 It does not let you subtract one const X* pointer from another in
5464 an arm of an if-expression whose if-part is not a constant
5466 const char *g = "string";
5467 ccp = &g + (g ? g-g : 0);
5468 /* HPUX 7.0 cc rejects these. */
5471 ccp = (char const *const *) p;
5472 { /* SCO 3.2v4 cc rejects this. */
5474 char const *s = 0 ? (char *) 0 : (char const *) 0;
5478 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5480 const int *foo = &x[0];
5483 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5484 typedef const int *iptr;
5488 { /* AIX XL C 1.02.0.0 rejects this saying
5489 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5490 struct s { int j; const int *ap[3]; };
5491 struct s *b; b->j = 5;
5493 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
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
5525 echo "$as_me: failed program was:" >&5
5526 sed 's/^/| /' conftest.
$ac_ext >&5
5530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5532 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5533 echo "${ECHO_T}$ac_cv_c_const" >&6
5534 if test $ac_cv_c_const = no
; then
5536 cat >>confdefs.h
<<\_ACEOF
5542 echo "$as_me:$LINENO: checking for inline" >&5
5543 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5544 if test "${ac_cv_c_inline+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5548 for ac_kw
in inline __inline__ __inline
; do
5549 cat >conftest.
$ac_ext <<_ACEOF
5552 cat confdefs.h
>>conftest.
$ac_ext
5553 cat >>conftest.
$ac_ext <<_ACEOF
5554 /* end confdefs.h. */
5557 static $ac_kw foo_t static_foo () {return 0; }
5558 $ac_kw foo_t foo () {return 0; }
5562 rm -f conftest.
$ac_objext
5563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5564 (eval $ac_compile) 2>conftest.er1
5566 grep -v '^ *+' conftest.er1
>conftest.err
5568 cat conftest.err
>&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); } &&
5571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; } &&
5577 { ac_try
='test -s conftest.$ac_objext'
5578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); }; }; then
5583 ac_cv_c_inline
=$ac_kw; break
5585 echo "$as_me: failed program was:" >&5
5586 sed 's/^/| /' conftest.
$ac_ext >&5
5589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5593 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5594 echo "${ECHO_T}$ac_cv_c_inline" >&6
5597 case $ac_cv_c_inline in
5600 case $ac_cv_c_inline in
5602 *) ac_val
=$ac_cv_c_inline;;
5604 cat >>confdefs.h
<<_ACEOF
5606 #define inline $ac_val
5612 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5622 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5623 inttypes.h stdint.h unistd.h
5625 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5626 echo "$as_me:$LINENO: checking for $ac_header" >&5
5627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5631 cat >conftest.
$ac_ext <<_ACEOF
5634 cat confdefs.h
>>conftest.
$ac_ext
5635 cat >>conftest.
$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5637 $ac_includes_default
5639 #include <$ac_header>
5641 rm -f conftest.
$ac_objext
5642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5643 (eval $ac_compile) 2>conftest.er1
5645 grep -v '^ *+' conftest.er1
>conftest.err
5647 cat conftest.err
>&5
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); } &&
5650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }; } &&
5656 { ac_try
='test -s conftest.$ac_objext'
5657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); }; }; then
5662 eval "$as_ac_Header=yes"
5664 echo "$as_me: failed program was:" >&5
5665 sed 's/^/| /' conftest.
$ac_ext >&5
5667 eval "$as_ac_Header=no"
5669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5674 cat >>confdefs.h
<<_ACEOF
5675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5683 echo "$as_me:$LINENO: checking for off_t" >&5
5684 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5685 if test "${ac_cv_type_off_t+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 cat >conftest.
$ac_ext <<_ACEOF
5691 cat confdefs.h
>>conftest.
$ac_ext
5692 cat >>conftest.
$ac_ext <<_ACEOF
5693 /* end confdefs.h. */
5694 $ac_includes_default
5706 rm -f conftest.
$ac_objext
5707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5708 (eval $ac_compile) 2>conftest.er1
5710 grep -v '^ *+' conftest.er1
>conftest.err
5712 cat conftest.err
>&5
5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); } &&
5715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); }; } &&
5721 { ac_try
='test -s conftest.$ac_objext'
5722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then
5727 ac_cv_type_off_t
=yes
5729 echo "$as_me: failed program was:" >&5
5730 sed 's/^/| /' conftest.
$ac_ext >&5
5734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5736 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5737 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5738 if test $ac_cv_type_off_t = yes; then
5742 cat >>confdefs.h
<<_ACEOF
5748 echo "$as_me:$LINENO: checking for size_t" >&5
5749 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5750 if test "${ac_cv_type_size_t+set}" = set; then
5751 echo $ECHO_N "(cached) $ECHO_C" >&6
5753 cat >conftest.
$ac_ext <<_ACEOF
5756 cat confdefs.h
>>conftest.
$ac_ext
5757 cat >>conftest.
$ac_ext <<_ACEOF
5758 /* end confdefs.h. */
5759 $ac_includes_default
5765 if (sizeof (size_t))
5771 rm -f conftest.
$ac_objext
5772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5773 (eval $ac_compile) 2>conftest.er1
5775 grep -v '^ *+' conftest.er1
>conftest.err
5777 cat conftest.err
>&5
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); } &&
5780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); }; } &&
5786 { ac_try
='test -s conftest.$ac_objext'
5787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); }; }; then
5792 ac_cv_type_size_t
=yes
5794 echo "$as_me: failed program was:" >&5
5795 sed 's/^/| /' conftest.
$ac_ext >&5
5797 ac_cv_type_size_t
=no
5799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5801 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5802 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5803 if test $ac_cv_type_size_t = yes; then
5807 cat >>confdefs.h
<<_ACEOF
5808 #define size_t unsigned
5813 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5814 # for constant arguments. Useless!
5815 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5816 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5817 if test "${ac_cv_working_alloca_h+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 cat >conftest.
$ac_ext <<_ACEOF
5823 cat confdefs.h
>>conftest.
$ac_ext
5824 cat >>conftest.
$ac_ext <<_ACEOF
5825 /* end confdefs.h. */
5830 char *p = (char *) alloca (2 * sizeof (int));
5835 rm -f conftest.
$ac_objext conftest
$ac_exeext
5836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5837 (eval $ac_link) 2>conftest.er1
5839 grep -v '^ *+' conftest.er1
>conftest.err
5841 cat conftest.err
>&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); } &&
5844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); }; } &&
5850 { ac_try
='test -s conftest$ac_exeext'
5851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); }; }; then
5856 ac_cv_working_alloca_h
=yes
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.
$ac_ext >&5
5861 ac_cv_working_alloca_h
=no
5863 rm -f conftest.err conftest.
$ac_objext \
5864 conftest
$ac_exeext conftest.
$ac_ext
5866 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5867 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5868 if test $ac_cv_working_alloca_h = yes; then
5870 cat >>confdefs.h
<<\_ACEOF
5871 #define HAVE_ALLOCA_H 1
5876 echo "$as_me:$LINENO: checking for alloca" >&5
5877 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5878 if test "${ac_cv_func_alloca_works+set}" = set; then
5879 echo $ECHO_N "(cached) $ECHO_C" >&6
5881 cat >conftest.
$ac_ext <<_ACEOF
5884 cat confdefs.h
>>conftest.
$ac_ext
5885 cat >>conftest.
$ac_ext <<_ACEOF
5886 /* end confdefs.h. */
5888 # define alloca __builtin_alloca
5891 # include <malloc.h>
5892 # define alloca _alloca
5895 # include <alloca.h>
5900 # ifndef alloca /* predefined by HP cc +Olibcalls */
5911 char *p = (char *) alloca (1);
5916 rm -f conftest.
$ac_objext conftest
$ac_exeext
5917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5918 (eval $ac_link) 2>conftest.er1
5920 grep -v '^ *+' conftest.er1
>conftest.err
5922 cat conftest.err
>&5
5923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924 (exit $ac_status); } &&
5925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930 (exit $ac_status); }; } &&
5931 { ac_try
='test -s conftest$ac_exeext'
5932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); }; }; then
5937 ac_cv_func_alloca_works
=yes
5939 echo "$as_me: failed program was:" >&5
5940 sed 's/^/| /' conftest.
$ac_ext >&5
5942 ac_cv_func_alloca_works
=no
5944 rm -f conftest.err conftest.
$ac_objext \
5945 conftest
$ac_exeext conftest.
$ac_ext
5947 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5948 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5950 if test $ac_cv_func_alloca_works = yes; then
5952 cat >>confdefs.h
<<\_ACEOF
5953 #define HAVE_ALLOCA 1
5957 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5958 # that cause trouble. Some versions do not even contain alloca or
5959 # contain a buggy version. If you still want to use their alloca,
5960 # use ar to extract alloca.o from them instead of compiling alloca.c.
5962 ALLOCA
=alloca.
$ac_objext
5964 cat >>confdefs.h
<<\_ACEOF
5969 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5970 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5971 if test "${ac_cv_os_cray+set}" = set; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 cat >conftest.
$ac_ext <<_ACEOF
5977 cat confdefs.h
>>conftest.
$ac_ext
5978 cat >>conftest.
$ac_ext <<_ACEOF
5979 /* end confdefs.h. */
5980 #if defined(CRAY) && ! defined(CRAY2)
5987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5988 $EGREP "webecray" >/dev
/null
2>&1; then
5996 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5997 echo "${ECHO_T}$ac_cv_os_cray" >&6
5998 if test $ac_cv_os_cray = yes; then
5999 for ac_func
in _getb67 GETB67 getb67
; do
6000 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6001 echo "$as_me:$LINENO: checking for $ac_func" >&5
6002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6003 if eval "test \"\${$as_ac_var+set}\" = set"; then
6004 echo $ECHO_N "(cached) $ECHO_C" >&6
6006 cat >conftest.
$ac_ext <<_ACEOF
6009 cat confdefs.h
>>conftest.
$ac_ext
6010 cat >>conftest.
$ac_ext <<_ACEOF
6011 /* end confdefs.h. */
6012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6014 #define $ac_func innocuous_$ac_func
6016 /* System header to define __stub macros and hopefully few prototypes,
6017 which can conflict with char $ac_func (); below.
6018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6019 <limits.h> exists even on freestanding compilers. */
6022 # include <limits.h>
6024 # include <assert.h>
6029 /* Override any gcc2 internal prototype to avoid an error. */
6034 /* We use char because int might match the return type of a gcc2
6035 builtin and then its argument prototype would still apply. */
6037 /* The GNU C library defines this for functions which it implements
6038 to always fail with ENOSYS. Some functions are actually named
6039 something starting with __ and the normal name is an alias. */
6040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6043 char (*f) () = $ac_func;
6052 return f != $ac_func;
6057 rm -f conftest.
$ac_objext conftest
$ac_exeext
6058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6059 (eval $ac_link) 2>conftest.er1
6061 grep -v '^ *+' conftest.er1
>conftest.err
6063 cat conftest.err
>&5
6064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065 (exit $ac_status); } &&
6066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); }; } &&
6072 { ac_try
='test -s conftest$ac_exeext'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; }; then
6078 eval "$as_ac_var=yes"
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.
$ac_ext >&5
6083 eval "$as_ac_var=no"
6085 rm -f conftest.err conftest.
$ac_objext \
6086 conftest
$ac_exeext conftest.
$ac_ext
6088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6090 if test `eval echo '${'$as_ac_var'}'` = yes; then
6092 cat >>confdefs.h
<<_ACEOF
6093 #define CRAY_STACKSEG_END $ac_func
6102 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6103 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6104 if test "${ac_cv_c_stack_direction+set}" = set; then
6105 echo $ECHO_N "(cached) $ECHO_C" >&6
6107 if test "$cross_compiling" = yes; then
6108 ac_cv_c_stack_direction
=0
6110 cat >conftest.
$ac_ext <<_ACEOF
6113 cat confdefs.h
>>conftest.
$ac_ext
6114 cat >>conftest.
$ac_ext <<_ACEOF
6115 /* end confdefs.h. */
6117 find_stack_direction ()
6119 static char *addr = 0;
6124 return find_stack_direction ();
6127 return (&dummy > addr) ? 1 : -1;
6133 exit (find_stack_direction () < 0);
6136 rm -f conftest
$ac_exeext
6137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6138 (eval $ac_link) 2>&5
6140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6141 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; }; then
6147 ac_cv_c_stack_direction
=1
6149 echo "$as_me: program exited with status $ac_status" >&5
6150 echo "$as_me: failed program was:" >&5
6151 sed 's/^/| /' conftest.
$ac_ext >&5
6154 ac_cv_c_stack_direction
=-1
6156 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6159 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6160 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6162 cat >>confdefs.h
<<_ACEOF
6163 #define STACK_DIRECTION $ac_cv_c_stack_direction
6171 for ac_header
in stdlib.h unistd.h
6173 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6175 echo "$as_me:$LINENO: checking for $ac_header" >&5
6176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6178 echo $ECHO_N "(cached) $ECHO_C" >&6
6180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6183 # Is the header compilable?
6184 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6185 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6186 cat >conftest.
$ac_ext <<_ACEOF
6189 cat confdefs.h
>>conftest.
$ac_ext
6190 cat >>conftest.
$ac_ext <<_ACEOF
6191 /* end confdefs.h. */
6192 $ac_includes_default
6193 #include <$ac_header>
6195 rm -f conftest.
$ac_objext
6196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6197 (eval $ac_compile) 2>conftest.er1
6199 grep -v '^ *+' conftest.er1
>conftest.err
6201 cat conftest.err
>&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); } &&
6204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); }; } &&
6210 { ac_try
='test -s conftest.$ac_objext'
6211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; }; then
6216 ac_header_compiler
=yes
6218 echo "$as_me: failed program was:" >&5
6219 sed 's/^/| /' conftest.
$ac_ext >&5
6221 ac_header_compiler
=no
6223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6224 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6225 echo "${ECHO_T}$ac_header_compiler" >&6
6227 # Is the header present?
6228 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6229 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6230 cat >conftest.
$ac_ext <<_ACEOF
6233 cat confdefs.h
>>conftest.
$ac_ext
6234 cat >>conftest.
$ac_ext <<_ACEOF
6235 /* end confdefs.h. */
6236 #include <$ac_header>
6238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6239 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6241 grep -v '^ *+' conftest.er1
>conftest.err
6243 cat conftest.err
>&5
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); } >/dev
/null
; then
6246 if test -s conftest.err
; then
6247 ac_cpp_err
=$ac_c_preproc_warn_flag
6248 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6255 if test -z "$ac_cpp_err"; then
6256 ac_header_preproc
=yes
6258 echo "$as_me: failed program was:" >&5
6259 sed 's/^/| /' conftest.
$ac_ext >&5
6261 ac_header_preproc
=no
6263 rm -f conftest.err conftest.
$ac_ext
6264 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6265 echo "${ECHO_T}$ac_header_preproc" >&6
6267 # So? What about this header?
6268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6270 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6271 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6273 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6274 ac_header_preproc
=yes
6277 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6278 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6279 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6280 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6281 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6282 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6283 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6284 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6286 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6287 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6288 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6291 ## ------------------------------------------ ##
6292 ## Report this to the AC_PACKAGE_NAME lists. ##
6293 ## ------------------------------------------ ##
6296 sed "s/^/$as_me: WARNING: /" >&2
6299 echo "$as_me:$LINENO: checking for $ac_header" >&5
6300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 eval "$as_ac_Header=\$ac_header_preproc"
6306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6310 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6311 cat >>confdefs.h
<<_ACEOF
6312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6320 for ac_func
in getpagesize
6322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6323 echo "$as_me:$LINENO: checking for $ac_func" >&5
6324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6325 if eval "test \"\${$as_ac_var+set}\" = set"; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6328 cat >conftest.
$ac_ext <<_ACEOF
6331 cat confdefs.h
>>conftest.
$ac_ext
6332 cat >>conftest.
$ac_ext <<_ACEOF
6333 /* end confdefs.h. */
6334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6336 #define $ac_func innocuous_$ac_func
6338 /* System header to define __stub macros and hopefully few prototypes,
6339 which can conflict with char $ac_func (); below.
6340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6341 <limits.h> exists even on freestanding compilers. */
6344 # include <limits.h>
6346 # include <assert.h>
6351 /* Override any gcc2 internal prototype to avoid an error. */
6356 /* We use char because int might match the return type of a gcc2
6357 builtin and then its argument prototype would still apply. */
6359 /* The GNU C library defines this for functions which it implements
6360 to always fail with ENOSYS. Some functions are actually named
6361 something starting with __ and the normal name is an alias. */
6362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6365 char (*f) () = $ac_func;
6374 return f != $ac_func;
6379 rm -f conftest.
$ac_objext conftest
$ac_exeext
6380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6381 (eval $ac_link) 2>conftest.er1
6383 grep -v '^ *+' conftest.er1
>conftest.err
6385 cat conftest.err
>&5
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); } &&
6388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); }; } &&
6394 { ac_try
='test -s conftest$ac_exeext'
6395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); }; }; then
6400 eval "$as_ac_var=yes"
6402 echo "$as_me: failed program was:" >&5
6403 sed 's/^/| /' conftest.
$ac_ext >&5
6405 eval "$as_ac_var=no"
6407 rm -f conftest.err conftest.
$ac_objext \
6408 conftest
$ac_exeext conftest.
$ac_ext
6410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6412 if test `eval echo '${'$as_ac_var'}'` = yes; then
6413 cat >>confdefs.h
<<_ACEOF
6414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6420 echo "$as_me:$LINENO: checking for working mmap" >&5
6421 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6422 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 if test "$cross_compiling" = yes; then
6426 ac_cv_func_mmap_fixed_mapped
=no
6428 cat >conftest.
$ac_ext <<_ACEOF
6431 cat confdefs.h
>>conftest.
$ac_ext
6432 cat >>conftest.
$ac_ext <<_ACEOF
6433 /* end confdefs.h. */
6434 $ac_includes_default
6435 /* malloc might have been renamed as rpl_malloc. */
6438 /* Thanks to Mike Haertel and Jim Avera for this test.
6439 Here is a matrix of mmap possibilities:
6440 mmap private not fixed
6441 mmap private fixed at somewhere currently unmapped
6442 mmap private fixed at somewhere already mapped
6443 mmap shared not fixed
6444 mmap shared fixed at somewhere currently unmapped
6445 mmap shared fixed at somewhere already mapped
6446 For private mappings, we should verify that changes cannot be read()
6447 back from the file, nor mmap's back from the file at a different
6448 address. (There have been systems where private was not correctly
6449 implemented like the infamous i386 svr4.0, and systems where the
6450 VM page cache was not coherent with the file system buffer cache
6451 like early versions of FreeBSD and possibly contemporary NetBSD.)
6452 For shared mappings, we should conversely verify that changes get
6453 propagated back to all the places they're supposed to be.
6455 Grep wants private fixed already mapped.
6456 The main things grep needs to know about mmap are:
6457 * does it exist and is it safe to write into the mmap'd area
6458 * how to use it (BSD variants) */
6461 #include <sys/mman.h>
6463 #if !STDC_HEADERS && !HAVE_STDLIB_H
6467 /* This mess was copied from the GNU getpagesize.h. */
6468 #if !HAVE_GETPAGESIZE
6469 /* Assume that all systems that can run configure have sys/param.h. */
6470 # if !HAVE_SYS_PARAM_H
6471 # define HAVE_SYS_PARAM_H 1
6474 # ifdef _SC_PAGESIZE
6475 # define getpagesize() sysconf(_SC_PAGESIZE)
6476 # else /* no _SC_PAGESIZE */
6477 # if HAVE_SYS_PARAM_H
6478 # include <sys/param.h>
6479 # ifdef EXEC_PAGESIZE
6480 # define getpagesize() EXEC_PAGESIZE
6481 # else /* no EXEC_PAGESIZE */
6483 # define getpagesize() NBPG * CLSIZE
6486 # endif /* no CLSIZE */
6487 # else /* no NBPG */
6489 # define getpagesize() NBPC
6490 # else /* no NBPC */
6492 # define getpagesize() PAGESIZE
6493 # endif /* PAGESIZE */
6494 # endif /* no NBPC */
6495 # endif /* no NBPG */
6496 # endif /* no EXEC_PAGESIZE */
6497 # else /* no HAVE_SYS_PARAM_H */
6498 # define getpagesize() 8192 /* punt totally */
6499 # endif /* no HAVE_SYS_PARAM_H */
6500 # endif /* no _SC_PAGESIZE */
6502 #endif /* no HAVE_GETPAGESIZE */
6507 char *data, *data2, *data3;
6511 pagesize = getpagesize ();
6513 /* First, make a file with some known garbage in it. */
6514 data = (char *) malloc (pagesize);
6517 for (i = 0; i < pagesize; ++i)
6518 *(data + i) = rand ();
6520 fd = creat ("conftest.mmap", 0600);
6523 if (write (fd, data, pagesize) != pagesize)
6527 /* Next, try to mmap the file at a fixed address which already has
6528 something else allocated at it. If we can, also make sure that
6529 we see the same garbage. */
6530 fd = open ("conftest.mmap", O_RDWR);
6533 data2 = (char *) malloc (2 * pagesize);
6536 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6537 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6538 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6540 for (i = 0; i < pagesize; ++i)
6541 if (*(data + i) != *(data2 + i))
6544 /* Finally, make sure that changes to the mapped area do not
6545 percolate back to the file as seen by read(). (This is a bug on
6546 some variants of i386 svr4.0.) */
6547 for (i = 0; i < pagesize; ++i)
6548 *(data2 + i) = *(data2 + i) + 1;
6549 data3 = (char *) malloc (pagesize);
6552 if (read (fd, data3, pagesize) != pagesize)
6554 for (i = 0; i < pagesize; ++i)
6555 if (*(data + i) != *(data3 + i))
6561 rm -f conftest
$ac_exeext
6562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6563 (eval $ac_link) 2>&5
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571 (exit $ac_status); }; }; then
6572 ac_cv_func_mmap_fixed_mapped
=yes
6574 echo "$as_me: program exited with status $ac_status" >&5
6575 echo "$as_me: failed program was:" >&5
6576 sed 's/^/| /' conftest.
$ac_ext >&5
6579 ac_cv_func_mmap_fixed_mapped
=no
6581 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6584 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6585 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6586 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6588 cat >>confdefs.h
<<\_ACEOF
6605 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6606 unistd.h values.h sys
/param.h
6608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6610 echo "$as_me:$LINENO: checking for $ac_header" >&5
6611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6613 echo $ECHO_N "(cached) $ECHO_C" >&6
6615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6618 # Is the header compilable?
6619 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6621 cat >conftest.
$ac_ext <<_ACEOF
6624 cat confdefs.h
>>conftest.
$ac_ext
6625 cat >>conftest.
$ac_ext <<_ACEOF
6626 /* end confdefs.h. */
6627 $ac_includes_default
6628 #include <$ac_header>
6630 rm -f conftest.
$ac_objext
6631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>conftest.er1
6634 grep -v '^ *+' conftest.er1
>conftest.err
6636 cat conftest.err
>&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } &&
6639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644 (exit $ac_status); }; } &&
6645 { ac_try
='test -s conftest.$ac_objext'
6646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6650 (exit $ac_status); }; }; then
6651 ac_header_compiler
=yes
6653 echo "$as_me: failed program was:" >&5
6654 sed 's/^/| /' conftest.
$ac_ext >&5
6656 ac_header_compiler
=no
6658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6659 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6660 echo "${ECHO_T}$ac_header_compiler" >&6
6662 # Is the header present?
6663 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6664 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6665 cat >conftest.
$ac_ext <<_ACEOF
6668 cat confdefs.h
>>conftest.
$ac_ext
6669 cat >>conftest.
$ac_ext <<_ACEOF
6670 /* end confdefs.h. */
6671 #include <$ac_header>
6673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6674 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6676 grep -v '^ *+' conftest.er1
>conftest.err
6678 cat conftest.err
>&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); } >/dev
/null
; then
6681 if test -s conftest.err
; then
6682 ac_cpp_err
=$ac_c_preproc_warn_flag
6683 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6690 if test -z "$ac_cpp_err"; then
6691 ac_header_preproc
=yes
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.
$ac_ext >&5
6696 ac_header_preproc
=no
6698 rm -f conftest.err conftest.
$ac_ext
6699 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6700 echo "${ECHO_T}$ac_header_preproc" >&6
6702 # So? What about this header?
6703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6705 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6706 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6708 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6709 ac_header_preproc
=yes
6712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6716 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6717 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6718 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6719 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6722 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6723 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6726 ## ------------------------------------------ ##
6727 ## Report this to the AC_PACKAGE_NAME lists. ##
6728 ## ------------------------------------------ ##
6731 sed "s/^/$as_me: WARNING: /" >&2
6734 echo "$as_me:$LINENO: checking for $ac_header" >&5
6735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6737 echo $ECHO_N "(cached) $ECHO_C" >&6
6739 eval "$as_ac_Header=\$ac_header_preproc"
6741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6746 cat >>confdefs.h
<<_ACEOF
6747 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6764 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6765 __argz_count __argz_stringify __argz_next
6767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6768 echo "$as_me:$LINENO: checking for $ac_func" >&5
6769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6770 if eval "test \"\${$as_ac_var+set}\" = set"; then
6771 echo $ECHO_N "(cached) $ECHO_C" >&6
6773 cat >conftest.
$ac_ext <<_ACEOF
6776 cat confdefs.h
>>conftest.
$ac_ext
6777 cat >>conftest.
$ac_ext <<_ACEOF
6778 /* end confdefs.h. */
6779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6781 #define $ac_func innocuous_$ac_func
6783 /* System header to define __stub macros and hopefully few prototypes,
6784 which can conflict with char $ac_func (); below.
6785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6786 <limits.h> exists even on freestanding compilers. */
6789 # include <limits.h>
6791 # include <assert.h>
6796 /* Override any gcc2 internal prototype to avoid an error. */
6801 /* We use char because int might match the return type of a gcc2
6802 builtin and then its argument prototype would still apply. */
6804 /* The GNU C library defines this for functions which it implements
6805 to always fail with ENOSYS. Some functions are actually named
6806 something starting with __ and the normal name is an alias. */
6807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6810 char (*f) () = $ac_func;
6819 return f != $ac_func;
6824 rm -f conftest.
$ac_objext conftest
$ac_exeext
6825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6826 (eval $ac_link) 2>conftest.er1
6828 grep -v '^ *+' conftest.er1
>conftest.err
6830 cat conftest.err
>&5
6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6832 (exit $ac_status); } &&
6833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6838 (exit $ac_status); }; } &&
6839 { ac_try
='test -s conftest$ac_exeext'
6840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); }; }; then
6845 eval "$as_ac_var=yes"
6847 echo "$as_me: failed program was:" >&5
6848 sed 's/^/| /' conftest.
$ac_ext >&5
6850 eval "$as_ac_var=no"
6852 rm -f conftest.err conftest.
$ac_objext \
6853 conftest
$ac_exeext conftest.
$ac_ext
6855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6857 if test `eval echo '${'$as_ac_var'}'` = yes; then
6858 cat >>confdefs.h
<<_ACEOF
6859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6866 if test "${ac_cv_func_stpcpy+set}" != "set"; then
6868 for ac_func
in stpcpy
6870 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6871 echo "$as_me:$LINENO: checking for $ac_func" >&5
6872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6873 if eval "test \"\${$as_ac_var+set}\" = set"; then
6874 echo $ECHO_N "(cached) $ECHO_C" >&6
6876 cat >conftest.
$ac_ext <<_ACEOF
6879 cat confdefs.h
>>conftest.
$ac_ext
6880 cat >>conftest.
$ac_ext <<_ACEOF
6881 /* end confdefs.h. */
6882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6884 #define $ac_func innocuous_$ac_func
6886 /* System header to define __stub macros and hopefully few prototypes,
6887 which can conflict with char $ac_func (); below.
6888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6889 <limits.h> exists even on freestanding compilers. */
6892 # include <limits.h>
6894 # include <assert.h>
6899 /* Override any gcc2 internal prototype to avoid an error. */
6904 /* We use char because int might match the return type of a gcc2
6905 builtin and then its argument prototype would still apply. */
6907 /* The GNU C library defines this for functions which it implements
6908 to always fail with ENOSYS. Some functions are actually named
6909 something starting with __ and the normal name is an alias. */
6910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6913 char (*f) () = $ac_func;
6922 return f != $ac_func;
6927 rm -f conftest.
$ac_objext conftest
$ac_exeext
6928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6929 (eval $ac_link) 2>conftest.er1
6931 grep -v '^ *+' conftest.er1
>conftest.err
6933 cat conftest.err
>&5
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); } &&
6936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); }; } &&
6942 { ac_try
='test -s conftest$ac_exeext'
6943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); }; }; then
6948 eval "$as_ac_var=yes"
6950 echo "$as_me: failed program was:" >&5
6951 sed 's/^/| /' conftest.
$ac_ext >&5
6953 eval "$as_ac_var=no"
6955 rm -f conftest.err conftest.
$ac_objext \
6956 conftest
$ac_exeext conftest.
$ac_ext
6958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6960 if test `eval echo '${'$as_ac_var'}'` = yes; then
6961 cat >>confdefs.h
<<_ACEOF
6962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6969 if test "${ac_cv_func_stpcpy}" = "yes"; then
6971 cat >>confdefs.h
<<\_ACEOF
6972 #define HAVE_STPCPY 1
6977 if test $ac_cv_header_locale_h = yes; then
6978 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6979 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
6980 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6981 echo $ECHO_N "(cached) $ECHO_C" >&6
6983 cat >conftest.
$ac_ext <<_ACEOF
6986 cat confdefs.h
>>conftest.
$ac_ext
6987 cat >>conftest.
$ac_ext <<_ACEOF
6988 /* end confdefs.h. */
6998 rm -f conftest.
$ac_objext conftest
$ac_exeext
6999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7000 (eval $ac_link) 2>conftest.er1
7002 grep -v '^ *+' conftest.er1
>conftest.err
7004 cat conftest.err
>&5
7005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7006 (exit $ac_status); } &&
7007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); }; } &&
7013 { ac_try
='test -s conftest$ac_exeext'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; }; then
7019 am_cv_val_LC_MESSAGES
=yes
7021 echo "$as_me: failed program was:" >&5
7022 sed 's/^/| /' conftest.
$ac_ext >&5
7024 am_cv_val_LC_MESSAGES
=no
7026 rm -f conftest.err conftest.
$ac_objext \
7027 conftest
$ac_exeext conftest.
$ac_ext
7029 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7030 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7031 if test $am_cv_val_LC_MESSAGES = yes; then
7033 cat >>confdefs.h
<<\_ACEOF
7034 #define HAVE_LC_MESSAGES 1
7039 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7040 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7041 # Check whether --enable-nls or --disable-nls was given.
7042 if test "${enable_nls+set}" = set; then
7043 enableval
="$enable_nls"
7048 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7049 echo "${ECHO_T}$USE_NLS" >&6
7052 USE_INCLUDED_LIBINTL
=no
7054 if test "$USE_NLS" = "yes"; then
7056 cat >>confdefs.h
<<\_ACEOF
7057 #define ENABLE_NLS 1
7060 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7061 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7063 # Check whether --with-included-gettext or --without-included-gettext was given.
7064 if test "${with_included_gettext+set}" = set; then
7065 withval
="$with_included_gettext"
7066 nls_cv_force_use_gnu_gettext
=$withval
7068 nls_cv_force_use_gnu_gettext
=no
7070 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7071 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7073 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7074 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7076 nls_cv_header_libgt
=
7079 if test "${ac_cv_header_libintl_h+set}" = set; then
7080 echo "$as_me:$LINENO: checking for libintl.h" >&5
7081 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7082 if test "${ac_cv_header_libintl_h+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7086 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7088 # Is the header compilable?
7089 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7090 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7091 cat >conftest.
$ac_ext <<_ACEOF
7094 cat confdefs.h
>>conftest.
$ac_ext
7095 cat >>conftest.
$ac_ext <<_ACEOF
7096 /* end confdefs.h. */
7097 $ac_includes_default
7098 #include <libintl.h>
7100 rm -f conftest.
$ac_objext
7101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7102 (eval $ac_compile) 2>conftest.er1
7104 grep -v '^ *+' conftest.er1
>conftest.err
7106 cat conftest.err
>&5
7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108 (exit $ac_status); } &&
7109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); }; } &&
7115 { ac_try
='test -s conftest.$ac_objext'
7116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); }; }; then
7121 ac_header_compiler
=yes
7123 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.
$ac_ext >&5
7126 ac_header_compiler
=no
7128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7130 echo "${ECHO_T}$ac_header_compiler" >&6
7132 # Is the header present?
7133 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7134 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7135 cat >conftest.
$ac_ext <<_ACEOF
7138 cat confdefs.h
>>conftest.
$ac_ext
7139 cat >>conftest.
$ac_ext <<_ACEOF
7140 /* end confdefs.h. */
7141 #include <libintl.h>
7143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7146 grep -v '^ *+' conftest.er1
>conftest.err
7148 cat conftest.err
>&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); } >/dev
/null
; then
7151 if test -s conftest.err
; then
7152 ac_cpp_err
=$ac_c_preproc_warn_flag
7153 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7160 if test -z "$ac_cpp_err"; then
7161 ac_header_preproc
=yes
7163 echo "$as_me: failed program was:" >&5
7164 sed 's/^/| /' conftest.
$ac_ext >&5
7166 ac_header_preproc
=no
7168 rm -f conftest.err conftest.
$ac_ext
7169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7170 echo "${ECHO_T}$ac_header_preproc" >&6
7172 # So? What about this header?
7173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7175 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7176 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7177 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7178 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7179 ac_header_preproc
=yes
7182 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7183 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7184 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7185 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7186 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7187 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7188 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7189 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7190 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7191 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7192 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7193 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7196 ## ------------------------------------------ ##
7197 ## Report this to the AC_PACKAGE_NAME lists. ##
7198 ## ------------------------------------------ ##
7201 sed "s/^/$as_me: WARNING: /" >&2
7204 echo "$as_me:$LINENO: checking for libintl.h" >&5
7205 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7206 if test "${ac_cv_header_libintl_h+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7209 ac_cv_header_libintl_h
=$ac_header_preproc
7211 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7212 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7215 if test $ac_cv_header_libintl_h = yes; then
7216 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7217 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7218 if test "${gt_cv_func_gettext_libc+set}" = set; then
7219 echo $ECHO_N "(cached) $ECHO_C" >&6
7221 cat >conftest.
$ac_ext <<_ACEOF
7224 cat confdefs.h
>>conftest.
$ac_ext
7225 cat >>conftest.
$ac_ext <<_ACEOF
7226 /* end confdefs.h. */
7227 #include <libintl.h>
7231 return (int) gettext ("")
7236 rm -f conftest.
$ac_objext conftest
$ac_exeext
7237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7238 (eval $ac_link) 2>conftest.er1
7240 grep -v '^ *+' conftest.er1
>conftest.err
7242 cat conftest.err
>&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); } &&
7245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); }; } &&
7251 { ac_try
='test -s conftest$ac_exeext'
7252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; }; then
7257 gt_cv_func_gettext_libc
=yes
7259 echo "$as_me: failed program was:" >&5
7260 sed 's/^/| /' conftest.
$ac_ext >&5
7262 gt_cv_func_gettext_libc
=no
7264 rm -f conftest.err conftest.
$ac_objext \
7265 conftest
$ac_exeext conftest.
$ac_ext
7267 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7268 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7270 if test "$gt_cv_func_gettext_libc" != "yes"; then
7271 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7272 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7273 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7274 echo $ECHO_N "(cached) $ECHO_C" >&6
7276 ac_check_lib_save_LIBS
=$LIBS
7278 cat >conftest.
$ac_ext <<_ACEOF
7281 cat confdefs.h
>>conftest.
$ac_ext
7282 cat >>conftest.
$ac_ext <<_ACEOF
7283 /* end confdefs.h. */
7285 /* Override any gcc2 internal prototype to avoid an error. */
7289 /* We use char because int might match the return type of a gcc2
7290 builtin and then its argument prototype would still apply. */
7291 char bindtextdomain ();
7300 rm -f conftest.
$ac_objext conftest
$ac_exeext
7301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7302 (eval $ac_link) 2>conftest.er1
7304 grep -v '^ *+' conftest.er1
>conftest.err
7306 cat conftest.err
>&5
7307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308 (exit $ac_status); } &&
7309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); }; } &&
7315 { ac_try
='test -s conftest$ac_exeext'
7316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); }; }; then
7321 ac_cv_lib_intl_bindtextdomain
=yes
7323 echo "$as_me: failed program was:" >&5
7324 sed 's/^/| /' conftest.
$ac_ext >&5
7326 ac_cv_lib_intl_bindtextdomain
=no
7328 rm -f conftest.err conftest.
$ac_objext \
7329 conftest
$ac_exeext conftest.
$ac_ext
7330 LIBS
=$ac_check_lib_save_LIBS
7332 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7333 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7334 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7335 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7336 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7337 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7338 echo $ECHO_N "(cached) $ECHO_C" >&6
7340 cat >conftest.
$ac_ext <<_ACEOF
7343 cat confdefs.h
>>conftest.
$ac_ext
7344 cat >>conftest.
$ac_ext <<_ACEOF
7345 /* end confdefs.h. */
7350 return (int) gettext ("")
7355 rm -f conftest.
$ac_objext conftest
$ac_exeext
7356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7357 (eval $ac_link) 2>conftest.er1
7359 grep -v '^ *+' conftest.er1
>conftest.err
7361 cat conftest.err
>&5
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } &&
7364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); }; } &&
7370 { ac_try
='test -s conftest$ac_exeext'
7371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); }; }; then
7376 gt_cv_func_gettext_libintl
=yes
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.
$ac_ext >&5
7381 gt_cv_func_gettext_libintl
=no
7383 rm -f conftest.err conftest.
$ac_objext \
7384 conftest
$ac_exeext conftest.
$ac_ext
7386 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7387 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7392 if test "$gt_cv_func_gettext_libc" = "yes" \
7393 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7395 cat >>confdefs.h
<<\_ACEOF
7396 #define HAVE_GETTEXT 1
7399 # Extract the first word of "msgfmt", so it can be a program name with args.
7400 set dummy msgfmt
; ac_word
=$2
7401 echo "$as_me:$LINENO: checking for $ac_word" >&5
7402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7403 if test "${ac_cv_path_MSGFMT+set}" = set; then
7404 echo $ECHO_N "(cached) $ECHO_C" >&6
7408 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7411 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7412 for ac_dir
in $PATH; do
7413 test -z "$ac_dir" && ac_dir
=.
7414 if test -f $ac_dir/$ac_word; then
7415 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7416 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7422 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7426 MSGFMT
="$ac_cv_path_MSGFMT"
7427 if test -n "$MSGFMT"; then
7428 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7429 echo "${ECHO_T}$MSGFMT" >&6
7431 echo "$as_me:$LINENO: result: no" >&5
7432 echo "${ECHO_T}no" >&6
7434 if test "$MSGFMT" != "no"; then
7436 for ac_func
in dcgettext
7438 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7439 echo "$as_me:$LINENO: checking for $ac_func" >&5
7440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7441 if eval "test \"\${$as_ac_var+set}\" = set"; then
7442 echo $ECHO_N "(cached) $ECHO_C" >&6
7444 cat >conftest.
$ac_ext <<_ACEOF
7447 cat confdefs.h
>>conftest.
$ac_ext
7448 cat >>conftest.
$ac_ext <<_ACEOF
7449 /* end confdefs.h. */
7450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7452 #define $ac_func innocuous_$ac_func
7454 /* System header to define __stub macros and hopefully few prototypes,
7455 which can conflict with char $ac_func (); below.
7456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7457 <limits.h> exists even on freestanding compilers. */
7460 # include <limits.h>
7462 # include <assert.h>
7467 /* Override any gcc2 internal prototype to avoid an error. */
7472 /* We use char because int might match the return type of a gcc2
7473 builtin and then its argument prototype would still apply. */
7475 /* The GNU C library defines this for functions which it implements
7476 to always fail with ENOSYS. Some functions are actually named
7477 something starting with __ and the normal name is an alias. */
7478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7481 char (*f) () = $ac_func;
7490 return f != $ac_func;
7495 rm -f conftest.
$ac_objext conftest
$ac_exeext
7496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7497 (eval $ac_link) 2>conftest.er1
7499 grep -v '^ *+' conftest.er1
>conftest.err
7501 cat conftest.err
>&5
7502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503 (exit $ac_status); } &&
7504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7509 (exit $ac_status); }; } &&
7510 { ac_try
='test -s conftest$ac_exeext'
7511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515 (exit $ac_status); }; }; then
7516 eval "$as_ac_var=yes"
7518 echo "$as_me: failed program was:" >&5
7519 sed 's/^/| /' conftest.
$ac_ext >&5
7521 eval "$as_ac_var=no"
7523 rm -f conftest.err conftest.
$ac_objext \
7524 conftest
$ac_exeext conftest.
$ac_ext
7526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7528 if test `eval echo '${'$as_ac_var'}'` = yes; then
7529 cat >>confdefs.h
<<_ACEOF
7530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7536 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7537 set dummy gmsgfmt
; ac_word
=$2
7538 echo "$as_me:$LINENO: checking for $ac_word" >&5
7539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7540 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7545 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7552 test -z "$as_dir" && as_dir
=.
7553 for ac_exec_ext
in '' $ac_executable_extensions; do
7554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7555 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7562 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7566 GMSGFMT
=$ac_cv_path_GMSGFMT
7568 if test -n "$GMSGFMT"; then
7569 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7570 echo "${ECHO_T}$GMSGFMT" >&6
7572 echo "$as_me:$LINENO: result: no" >&5
7573 echo "${ECHO_T}no" >&6
7576 # Extract the first word of "xgettext", so it can be a program name with args.
7577 set dummy xgettext
; ac_word
=$2
7578 echo "$as_me:$LINENO: checking for $ac_word" >&5
7579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7580 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7581 echo $ECHO_N "(cached) $ECHO_C" >&6
7585 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7588 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7589 for ac_dir
in $PATH; do
7590 test -z "$ac_dir" && ac_dir
=.
7591 if test -f $ac_dir/$ac_word; then
7592 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7593 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7599 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7603 XGETTEXT
="$ac_cv_path_XGETTEXT"
7604 if test -n "$XGETTEXT"; then
7605 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7606 echo "${ECHO_T}$XGETTEXT" >&6
7608 echo "$as_me:$LINENO: result: no" >&5
7609 echo "${ECHO_T}no" >&6
7612 cat >conftest.
$ac_ext <<_ACEOF
7615 cat confdefs.h
>>conftest.
$ac_ext
7616 cat >>conftest.
$ac_ext <<_ACEOF
7617 /* end confdefs.h. */
7622 extern int _nl_msg_cat_cntr;
7623 return _nl_msg_cat_cntr
7628 rm -f conftest.
$ac_objext conftest
$ac_exeext
7629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7630 (eval $ac_link) 2>conftest.er1
7632 grep -v '^ *+' conftest.er1
>conftest.err
7634 cat conftest.err
>&5
7635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7636 (exit $ac_status); } &&
7637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); }; } &&
7643 { ac_try
='test -s conftest$ac_exeext'
7644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 (exit $ac_status); }; }; then
7652 echo "$as_me: failed program was:" >&5
7653 sed 's/^/| /' conftest.
$ac_ext >&5
7658 rm -f conftest.err conftest.
$ac_objext \
7659 conftest
$ac_exeext conftest.
$ac_ext
7669 if test "$CATOBJEXT" = "NONE"; then
7670 nls_cv_use_gnu_gettext
=yes
7674 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7675 INTLOBJS
="\$(GETTOBJS)"
7676 # Extract the first word of "msgfmt", so it can be a program name with args.
7677 set dummy msgfmt
; ac_word
=$2
7678 echo "$as_me:$LINENO: checking for $ac_word" >&5
7679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7680 if test "${ac_cv_path_MSGFMT+set}" = set; then
7681 echo $ECHO_N "(cached) $ECHO_C" >&6
7685 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7688 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7689 for ac_dir
in $PATH; do
7690 test -z "$ac_dir" && ac_dir
=.
7691 if test -f $ac_dir/$ac_word; then
7692 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7693 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7699 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7703 MSGFMT
="$ac_cv_path_MSGFMT"
7704 if test -n "$MSGFMT"; then
7705 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7706 echo "${ECHO_T}$MSGFMT" >&6
7708 echo "$as_me:$LINENO: result: no" >&5
7709 echo "${ECHO_T}no" >&6
7712 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7713 set dummy gmsgfmt
; ac_word
=$2
7714 echo "$as_me:$LINENO: checking for $ac_word" >&5
7715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7716 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7721 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7728 test -z "$as_dir" && as_dir
=.
7729 for ac_exec_ext
in '' $ac_executable_extensions; do
7730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7731 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7738 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7742 GMSGFMT
=$ac_cv_path_GMSGFMT
7744 if test -n "$GMSGFMT"; then
7745 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7746 echo "${ECHO_T}$GMSGFMT" >&6
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7752 # Extract the first word of "xgettext", so it can be a program name with args.
7753 set dummy xgettext
; ac_word
=$2
7754 echo "$as_me:$LINENO: checking for $ac_word" >&5
7755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7756 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7757 echo $ECHO_N "(cached) $ECHO_C" >&6
7761 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7764 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7765 for ac_dir
in $PATH; do
7766 test -z "$ac_dir" && ac_dir
=.
7767 if test -f $ac_dir/$ac_word; then
7768 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7769 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7775 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7779 XGETTEXT
="$ac_cv_path_XGETTEXT"
7780 if test -n "$XGETTEXT"; then
7781 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7782 echo "${ECHO_T}$XGETTEXT" >&6
7784 echo "$as_me:$LINENO: result: no" >&5
7785 echo "${ECHO_T}no" >&6
7789 USE_INCLUDED_LIBINTL
=yes
7793 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
7795 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
7796 nls_cv_header_intl
=libintl.h
7797 nls_cv_header_libgt
=libgettext.h
7800 if test "$XGETTEXT" != ":"; then
7801 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7804 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
7805 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
7810 # We need to process the po/ directory.
7814 nls_cv_header_intl
=libintl.h
7815 nls_cv_header_libgt
=libgettext.h
7818 # If this is used in GNU gettext we have to set USE_NLS to `yes'
7819 # because some of the sources are only built for this goal.
7820 if test "$PACKAGE" = gettext; then
7822 USE_INCLUDED_LIBINTL
=yes
7825 for lang
in $ALL_LINGUAS; do
7826 GMOFILES
="$GMOFILES $lang.gmo"
7827 POFILES
="$POFILES $lang.po"
7843 if test "x$CATOBJEXT" != "x"; then
7844 if test "x$ALL_LINGUAS" = "x"; then
7847 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7848 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7850 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
7851 case "$ALL_LINGUAS" in
7852 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
7855 LINGUAS
=$NEW_LINGUAS
7856 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7857 echo "${ECHO_T}$LINGUAS" >&6
7860 if test -n "$LINGUAS"; then
7861 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
7865 if test $ac_cv_header_locale_h = yes; then
7866 INCLUDE_LOCALE_H
="#include <locale.h>"
7869 /* The system does not provide the header <locale.h>. Take care yourself. */"
7873 if test -f $srcdir/po2tbl.
sed.
in; then
7874 if test "$CATOBJEXT" = ".cat"; then
7875 if test "${ac_cv_header_linux_version_h+set}" = set; then
7876 echo "$as_me:$LINENO: checking for linux/version.h" >&5
7877 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7878 if test "${ac_cv_header_linux_version_h+set}" = set; then
7879 echo $ECHO_N "(cached) $ECHO_C" >&6
7881 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
7882 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7884 # Is the header compilable?
7885 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
7886 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
7887 cat >conftest.
$ac_ext <<_ACEOF
7890 cat confdefs.h
>>conftest.
$ac_ext
7891 cat >>conftest.
$ac_ext <<_ACEOF
7892 /* end confdefs.h. */
7893 $ac_includes_default
7894 #include <linux/version.h>
7896 rm -f conftest.
$ac_objext
7897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7898 (eval $ac_compile) 2>conftest.er1
7900 grep -v '^ *+' conftest.er1
>conftest.err
7902 cat conftest.err
>&5
7903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7904 (exit $ac_status); } &&
7905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); }; } &&
7911 { ac_try
='test -s conftest.$ac_objext'
7912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); }; }; then
7917 ac_header_compiler
=yes
7919 echo "$as_me: failed program was:" >&5
7920 sed 's/^/| /' conftest.
$ac_ext >&5
7922 ac_header_compiler
=no
7924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7926 echo "${ECHO_T}$ac_header_compiler" >&6
7928 # Is the header present?
7929 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
7930 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
7931 cat >conftest.
$ac_ext <<_ACEOF
7934 cat confdefs.h
>>conftest.
$ac_ext
7935 cat >>conftest.
$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7937 #include <linux/version.h>
7939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7940 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
7947 if test -s conftest.err
; then
7948 ac_cpp_err
=$ac_c_preproc_warn_flag
7949 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7956 if test -z "$ac_cpp_err"; then
7957 ac_header_preproc
=yes
7959 echo "$as_me: failed program was:" >&5
7960 sed 's/^/| /' conftest.
$ac_ext >&5
7962 ac_header_preproc
=no
7964 rm -f conftest.err conftest.
$ac_ext
7965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7966 echo "${ECHO_T}$ac_header_preproc" >&6
7968 # So? What about this header?
7969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7971 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
7972 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7973 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
7974 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
7975 ac_header_preproc
=yes
7978 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
7979 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
7980 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
7981 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
7982 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
7983 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
7984 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
7985 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
7986 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
7987 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
7988 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
7989 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
7992 ## ------------------------------------------ ##
7993 ## Report this to the AC_PACKAGE_NAME lists. ##
7994 ## ------------------------------------------ ##
7997 sed "s/^/$as_me: WARNING: /" >&2
8000 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8001 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8002 if test "${ac_cv_header_linux_version_h+set}" = set; then
8003 echo $ECHO_N "(cached) $ECHO_C" >&6
8005 ac_cv_header_linux_version_h
=$ac_header_preproc
8007 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8008 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8011 if test $ac_cv_header_linux_version_h = yes; then
8019 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8021 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8022 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8025 if test "$PACKAGE" = "gettext"; then
8035 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8041 if test -f $srcdir/po
/POTFILES.
in; then
8042 test -d po || mkdir po
8043 if test "x$srcdir" != "x."; then
8044 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8045 posrcprefix
="$srcdir/"
8047 posrcprefix
="../$srcdir/"
8053 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8054 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8058 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
8059 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
8060 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8061 if test "${enable_maintainer_mode+set}" = set; then
8062 enableval
="$enable_maintainer_mode"
8063 USE_MAINTAINER_MODE
=$enableval
8065 USE_MAINTAINER_MODE
=no
8067 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
8068 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
8071 if test $USE_MAINTAINER_MODE = yes; then
8072 MAINTAINER_MODE_TRUE
=
8073 MAINTAINER_MODE_FALSE
='#'
8075 MAINTAINER_MODE_TRUE
='#'
8076 MAINTAINER_MODE_FALSE
=
8079 MAINT
=$MAINTAINER_MODE_TRUE
8085 for ac_header
in sys
/gmon_out.h
8087 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8089 echo "$as_me:$LINENO: checking for $ac_header" >&5
8090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8092 echo $ECHO_N "(cached) $ECHO_C" >&6
8094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8097 # Is the header compilable?
8098 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8100 cat >conftest.
$ac_ext <<_ACEOF
8103 cat confdefs.h
>>conftest.
$ac_ext
8104 cat >>conftest.
$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8106 $ac_includes_default
8107 #include <$ac_header>
8109 rm -f conftest.
$ac_objext
8110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8111 (eval $ac_compile) 2>conftest.er1
8113 grep -v '^ *+' conftest.er1
>conftest.err
8115 cat conftest.err
>&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); } &&
8118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; } &&
8124 { ac_try
='test -s conftest.$ac_objext'
8125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); }; }; then
8130 ac_header_compiler
=yes
8132 echo "$as_me: failed program was:" >&5
8133 sed 's/^/| /' conftest.
$ac_ext >&5
8135 ac_header_compiler
=no
8137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8139 echo "${ECHO_T}$ac_header_compiler" >&6
8141 # Is the header present?
8142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8144 cat >conftest.
$ac_ext <<_ACEOF
8147 cat confdefs.h
>>conftest.
$ac_ext
8148 cat >>conftest.
$ac_ext <<_ACEOF
8149 /* end confdefs.h. */
8150 #include <$ac_header>
8152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8153 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8155 grep -v '^ *+' conftest.er1
>conftest.err
8157 cat conftest.err
>&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); } >/dev
/null
; then
8160 if test -s conftest.err
; then
8161 ac_cpp_err
=$ac_c_preproc_warn_flag
8162 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8169 if test -z "$ac_cpp_err"; then
8170 ac_header_preproc
=yes
8172 echo "$as_me: failed program was:" >&5
8173 sed 's/^/| /' conftest.
$ac_ext >&5
8175 ac_header_preproc
=no
8177 rm -f conftest.err conftest.
$ac_ext
8178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8179 echo "${ECHO_T}$ac_header_preproc" >&6
8181 # So? What about this header?
8182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8187 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8188 ac_header_preproc
=yes
8191 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8193 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8194 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8195 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8196 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8197 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8198 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8205 ## ------------------------------------------ ##
8206 ## Report this to the AC_PACKAGE_NAME lists. ##
8207 ## ------------------------------------------ ##
8210 sed "s/^/$as_me: WARNING: /" >&2
8213 echo "$as_me:$LINENO: checking for $ac_header" >&5
8214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8216 echo $ECHO_N "(cached) $ECHO_C" >&6
8218 eval "$as_ac_Header=\$ac_header_preproc"
8220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8225 cat >>confdefs.h
<<_ACEOF
8226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8234 build_warnings
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
8235 # Check whether --enable-build-warnings or --disable-build-warnings was given.
8236 if test "${enable_build_warnings+set}" = set; then
8237 enableval
="$enable_build_warnings"
8238 case "${enableval}" in
8240 no
) build_warnings
="-w";;
8241 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
8242 build_warnings
="${build_warnings} ${t}";;
8243 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
8244 build_warnings
="${t} ${build_warnings}";;
8245 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
8247 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
8248 echo "Setting warning flags = $build_warnings" 6>&1
8251 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
; then
8252 WARN_CFLAGS
="${build_warnings}"
8256 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
8258 ac_config_commands
="$ac_config_commands default"
8260 cat >confcache
<<\_ACEOF
8261 # This file is a shell script that caches the results of configure
8262 # tests run on this system so they can be shared between configure
8263 # scripts and configure runs, see configure's option --config-cache.
8264 # It is not useful on other systems. If it contains results you don't
8265 # want to keep, you may remove or edit it.
8267 # config.status only pays attention to the cache file if you give it
8268 # the --recheck option to rerun configure.
8270 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8271 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8276 # The following way of writing the cache mishandles newlines in values,
8277 # but we know of no workaround that is simple, portable, and efficient.
8278 # So, don't put newlines in cache variables' values.
8279 # Ultrix sh set writes to stderr and can't be redirected directly,
8280 # and sets the high bit in the cache file unless we assign to the vars.
8283 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8285 # `set' does not quote correctly, so add quotes (double-quote
8286 # substitution turns \\\\ into \\, and sed turns \\ into \).
8289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8292 # `set' quotes correctly as required by POSIX, so do not add quotes.
8294 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8301 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8303 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8305 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8306 if test -w $cache_file; then
8307 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8308 cat confcache
>$cache_file
8310 echo "not updating unwritable cache $cache_file"
8315 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8316 # Let make expand exec_prefix.
8317 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8319 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8320 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8321 # trailing colons and then remove the whole line if VPATH becomes empty
8322 # (actually we leave an empty line to preserve line numbers).
8323 if test "x$srcdir" = x.
; then
8324 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8325 s/:*\$(srcdir):*/:/;
8326 s/:*\${srcdir}:*/:/;
8328 s/^\([^=]*=[ ]*\):*/\1/;
8334 DEFS
=-DHAVE_CONFIG_H
8338 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8339 # 1. Remove the extension, and $U if already installed.
8340 ac_i
=`echo "$ac_i" |
8341 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8343 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8344 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8348 LTLIBOBJS
=$ac_ltlibobjs
8351 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8352 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8353 Usually this means the macro was only invoked conditionally." >&5
8354 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8355 Usually this means the macro was only invoked conditionally." >&2;}
8356 { (exit 1); exit 1; }; }
8358 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8359 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8360 Usually this means the macro was only invoked conditionally." >&5
8361 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8362 Usually this means the macro was only invoked conditionally." >&2;}
8363 { (exit 1); exit 1; }; }
8365 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8366 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8367 Usually this means the macro was only invoked conditionally." >&5
8368 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8369 Usually this means the macro was only invoked conditionally." >&2;}
8370 { (exit 1); exit 1; }; }
8373 : ${CONFIG_STATUS=./config.status}
8374 ac_clean_files_save
=$ac_clean_files
8375 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8376 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8377 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8378 cat >$CONFIG_STATUS <<_ACEOF
8380 # Generated by $as_me.
8381 # Run this file to recreate the current configuration.
8382 # Compiler output produced by configure, useful for debugging
8383 # configure, is in config.log if it exists.
8388 SHELL=\${CONFIG_SHELL-$SHELL}
8391 cat >>$CONFIG_STATUS <<\_ACEOF
8392 ## --------------------- ##
8393 ## M4sh Initialization. ##
8394 ## --------------------- ##
8396 # Be Bourne compatible
8397 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8400 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8401 # is contrary to our usage. Disable this feature.
8402 alias -g '${1+"$@"}'='"$@"'
8403 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8406 DUALCASE
=1; export DUALCASE
# for MKS sh
8408 # Support unset when possible.
8409 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8416 # Work around bugs in pre-3.0 UWIN ksh.
8417 $as_unset ENV MAIL MAILPATH
8424 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8425 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8426 LC_TELEPHONE LC_TIME
8428 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8429 eval $as_var=C
; export $as_var
8435 # Required to use basename.
8436 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8442 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8443 as_basename
=basename
8449 # Name of the executable.
8450 as_me
=`$as_basename "$0" ||
8451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8452 X"$0" : 'X\(//\)$' \| \
8453 X"$0" : 'X\(/\)$' \| \
8454 . : '\(.\)' 2>/dev/null ||
8456 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8457 /^X\/\(\/\/\)$/{ s//\1/; q; }
8458 /^X\/\(\/\).*/{ s//\1/; q; }
8462 # PATH needs CR, and LINENO needs CR and PATH.
8463 # Avoid depending upon Character Ranges.
8464 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8465 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8466 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8467 as_cr_digits
='0123456789'
8468 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8470 # The user is always right.
8471 if test "${PATH_SEPARATOR+set}" != set; then
8472 echo "#! /bin/sh" >conf$$.sh
8473 echo "exit 0" >>conf$$.sh
8475 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8486 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8487 test "x$as_lineno_1" != "x$as_lineno_2" &&
8488 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8489 # Find who we are. Look in the path if we contain no path at all
8492 *[\\/]* ) as_myself
=$0 ;;
8493 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8497 test -z "$as_dir" && as_dir
=.
8498 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8503 # We did not find ourselves, most probably we were run as `sh COMMAND'
8504 # in which case we are not to be found in the path.
8505 if test "x$as_myself" = x
; then
8508 if test ! -f "$as_myself"; then
8509 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8510 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8511 { (exit 1); exit 1; }; }
8513 case $CONFIG_SHELL in
8515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8516 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8519 test -z "$as_dir" && as_dir
=.
8520 for as_base
in sh bash ksh sh5
; do
8523 if ("$as_dir/$as_base" -c '
8526 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8527 test "x$as_lineno_1" != "x$as_lineno_2" &&
8528 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8529 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8530 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8531 CONFIG_SHELL
=$as_dir/$as_base
8533 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8541 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8542 # uniformly replaced by the line number. The first 'sed' inserts a
8543 # line-number line before each line; the second 'sed' does the real
8544 # work. The second script uses 'N' to pair each line-number line
8545 # with the numbered line, and appends trailing '-' during
8546 # substitution so that $LINENO is not a special case at line end.
8547 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8548 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8549 sed '=' <$as_myself |
8554 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8557 s,^['$as_cr_digits']*\n,,
8559 chmod +x
$as_me.lineno ||
8560 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8561 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8562 { (exit 1); exit 1; }; }
8564 # Don't try to exec as it changes $[0], causing all sort of problems
8565 # (the dirname of $[0] is not the place where we might find the
8566 # original and so on. Autoconf is especially sensible to this).
8568 # Exit status is that of the last command.
8573 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8574 *c
*,-n*) ECHO_N
= ECHO_C
='
8576 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8577 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8580 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8586 rm -f conf$$ conf$$.exe conf$$.
file
8588 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8589 # We could just check for DJGPP; but this test a) works b) is more generic
8590 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8591 if test -f conf$$.exe
; then
8592 # Don't use ln at all; we don't have any links
8597 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8602 rm -f conf$$ conf$$.exe conf$$.
file
8604 if mkdir
-p .
2>/dev
/null
; then
8607 test -d .
/-p && rmdir .
/-p
8611 as_executable_p
="test -f"
8613 # Sed expression to map a string onto a valid CPP name.
8614 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8616 # Sed expression to map a string onto a valid variable name.
8617 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8621 # We need space, tab and new line, in precisely that order.
8631 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8632 # report actual input values of CONFIG_FILES etc. instead of their
8633 # values after options handling. Logging --version etc. is OK.
8637 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8638 ## Running $as_me. ##
8643 This file was extended by $as_me, which was
8644 generated by GNU Autoconf 2.59. Invocation command line was
8646 CONFIG_FILES = $CONFIG_FILES
8647 CONFIG_HEADERS = $CONFIG_HEADERS
8648 CONFIG_LINKS = $CONFIG_LINKS
8649 CONFIG_COMMANDS = $CONFIG_COMMANDS
8653 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8657 # Files that config.status was made for.
8658 if test -n "$ac_config_files"; then
8659 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8662 if test -n "$ac_config_headers"; then
8663 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8666 if test -n "$ac_config_links"; then
8667 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8670 if test -n "$ac_config_commands"; then
8671 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8674 cat >>$CONFIG_STATUS <<\_ACEOF
8677 \`$as_me' instantiates files from templates according to the
8678 current configuration.
8680 Usage: $0 [OPTIONS] [FILE]...
8682 -h, --help print this help, then exit
8683 -V, --version print version number, then exit
8684 -q, --quiet do not print progress messages
8685 -d, --debug don't remove temporary files
8686 --recheck update $as_me by reconfiguring in the same conditions
8687 --file=FILE[:TEMPLATE]
8688 instantiate the configuration file FILE
8689 --header=FILE[:TEMPLATE]
8690 instantiate the configuration header FILE
8692 Configuration files:
8695 Configuration headers:
8698 Configuration commands:
8701 Report bugs to <bug-autoconf@gnu.org>."
8704 cat >>$CONFIG_STATUS <<_ACEOF
8707 configured by $0, generated by GNU Autoconf 2.59,
8708 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8710 Copyright (C) 2003 Free Software Foundation, Inc.
8711 This config.status script is free software; the Free Software Foundation
8712 gives unlimited permission to copy, distribute and modify it."
8717 cat >>$CONFIG_STATUS <<\_ACEOF
8718 # If no file are specified by the user, then we need to provide default
8719 # value. By we need to know if files were specified by the user.
8725 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8726 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8734 *) # This is not an option, so the user has probably given explicit
8737 ac_need_defaults
=false
;;
8741 # Handling of the options.
8743 cat >>$CONFIG_STATUS <<\_ACEOF
8744 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8746 --version |
--vers* |
-V )
8747 echo "$ac_cs_version"; exit 0 ;;
8749 # Conflict between --help and --header
8750 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8751 Try \`$0 --help' for more information." >&5
8752 echo "$as_me: error: ambiguous option: $1
8753 Try \`$0 --help' for more information." >&2;}
8754 { (exit 1); exit 1; }; };;
8755 --help |
--hel |
-h )
8756 echo "$ac_cs_usage"; exit 0 ;;
8757 --debug |
--d* |
-d )
8759 --file |
--fil |
--fi |
--f )
8761 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8762 ac_need_defaults
=false
;;
8763 --header |
--heade |
--head |
--hea )
8765 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8766 ac_need_defaults
=false
;;
8767 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8768 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8772 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8773 Try \`$0 --help' for more information." >&5
8774 echo "$as_me: error: unrecognized option: $1
8775 Try \`$0 --help' for more information." >&2;}
8776 { (exit 1); exit 1; }; } ;;
8778 *) ac_config_targets
="$ac_config_targets $1" ;;
8784 ac_configure_extra_args
=
8786 if $ac_cs_silent; then
8788 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8792 cat >>$CONFIG_STATUS <<_ACEOF
8793 if \$ac_cs_recheck; then
8794 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8795 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8800 cat >>$CONFIG_STATUS <<_ACEOF
8802 # INIT-COMMANDS section.
8805 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8812 cat >>$CONFIG_STATUS <<\_ACEOF
8813 for ac_config_target
in $ac_config_targets
8815 case "$ac_config_target" in
8816 # Handling of arguments.
8817 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8818 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8819 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8820 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8821 "gconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
8822 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8823 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8824 { (exit 1); exit 1; }; };;
8828 # If the user did not use the arguments to specify the items to instantiate,
8829 # then the envvar interface is used. Set only those that are not.
8830 # We use the long form for the default assignment because of an extremely
8831 # bizarre bug on SunOS 4.1.3.
8832 if $ac_need_defaults; then
8833 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8834 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8835 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8838 # Have a temporary directory for convenience. Make it in the build tree
8839 # simply because there is no reason to put it here, and in addition,
8840 # creating and moving files from /tmp can sometimes cause problems.
8841 # Create a temporary directory, and hook for its removal unless debugging.
8844 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8845 trap '{ (exit 1); exit 1; }' 1 2 13 15
8848 # Create a (secure) tmp directory for tmp files.
8851 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8852 test -n "$tmp" && test -d "$tmp"
8855 tmp
=.
/confstat$$
-$RANDOM
8856 (umask 077 && mkdir
$tmp)
8859 echo "$me: cannot create a temporary directory in ." >&2
8860 { (exit 1); exit 1; }
8865 cat >>$CONFIG_STATUS <<_ACEOF
8868 # CONFIG_FILES section.
8871 # No need to generate the scripts if there are no CONFIG_FILES.
8872 # This happens for instance when ./config.status config.h
8873 if test -n "\$CONFIG_FILES"; then
8874 # Protect against being on the right side of a sed subst in config.status.
8875 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8876 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8877 s,@SHELL@,$SHELL,;t t
8878 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8879 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8880 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8881 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8882 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8883 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8884 s,@exec_prefix@,$exec_prefix,;t t
8885 s,@prefix@,$prefix,;t t
8886 s,@program_transform_name@,$program_transform_name,;t t
8887 s,@bindir@,$bindir,;t t
8888 s,@sbindir@,$sbindir,;t t
8889 s,@libexecdir@,$libexecdir,;t t
8890 s,@datadir@,$datadir,;t t
8891 s,@sysconfdir@,$sysconfdir,;t t
8892 s,@sharedstatedir@,$sharedstatedir,;t t
8893 s,@localstatedir@,$localstatedir,;t t
8894 s,@libdir@,$libdir,;t t
8895 s,@includedir@,$includedir,;t t
8896 s,@oldincludedir@,$oldincludedir,;t t
8897 s,@infodir@,$infodir,;t t
8898 s,@mandir@,$mandir,;t t
8899 s,@build_alias@,$build_alias,;t t
8900 s,@host_alias@,$host_alias,;t t
8901 s,@target_alias@,$target_alias,;t t
8903 s,@ECHO_C@,$ECHO_C,;t t
8904 s,@ECHO_N@,$ECHO_N,;t t
8905 s,@ECHO_T@,$ECHO_T,;t t
8907 s,@build@,$build,;t t
8908 s,@build_cpu@,$build_cpu,;t t
8909 s,@build_vendor@,$build_vendor,;t t
8910 s,@build_os@,$build_os,;t t
8912 s,@host_cpu@,$host_cpu,;t t
8913 s,@host_vendor@,$host_vendor,;t t
8914 s,@host_os@,$host_os,;t t
8915 s,@target@,$target,;t t
8916 s,@target_cpu@,$target_cpu,;t t
8917 s,@target_vendor@,$target_vendor,;t t
8918 s,@target_os@,$target_os,;t t
8920 s,@CFLAGS@,$CFLAGS,;t t
8921 s,@LDFLAGS@,$LDFLAGS,;t t
8922 s,@CPPFLAGS@,$CPPFLAGS,;t t
8923 s,@ac_ct_CC@,$ac_ct_CC,;t t
8924 s,@EXEEXT@,$EXEEXT,;t t
8925 s,@OBJEXT@,$OBJEXT,;t t
8926 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8927 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8928 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8929 s,@CYGPATH_W@,$CYGPATH_W,;t t
8930 s,@PACKAGE@,$PACKAGE,;t t
8931 s,@VERSION@,$VERSION,;t t
8932 s,@ACLOCAL@,$ACLOCAL,;t t
8933 s,@AUTOCONF@,$AUTOCONF,;t t
8934 s,@AUTOMAKE@,$AUTOMAKE,;t t
8935 s,@AUTOHEADER@,$AUTOHEADER,;t t
8936 s,@MAKEINFO@,$MAKEINFO,;t t
8937 s,@AMTAR@,$AMTAR,;t t
8938 s,@install_sh@,$install_sh,;t t
8939 s,@STRIP@,$STRIP,;t t
8940 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8941 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8942 s,@mkdir_p@,$mkdir_p,;t t
8944 s,@SET_MAKE@,$SET_MAKE,;t t
8945 s,@am__leading_dot@,$am__leading_dot,;t t
8946 s,@DEPDIR@,$DEPDIR,;t t
8947 s,@am__include@,$am__include,;t t
8948 s,@am__quote@,$am__quote,;t t
8949 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8950 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8951 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8952 s,@CCDEPMODE@,$CCDEPMODE,;t t
8953 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8954 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8956 s,@RANLIB@,$RANLIB,;t t
8957 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8958 s,@LIBTOOL@,$LIBTOOL,;t t
8960 s,@EGREP@,$EGREP,;t t
8961 s,@ALLOCA@,$ALLOCA,;t t
8962 s,@USE_NLS@,$USE_NLS,;t t
8963 s,@MSGFMT@,$MSGFMT,;t t
8964 s,@GMSGFMT@,$GMSGFMT,;t t
8965 s,@XGETTEXT@,$XGETTEXT,;t t
8966 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
8967 s,@CATALOGS@,$CATALOGS,;t t
8968 s,@CATOBJEXT@,$CATOBJEXT,;t t
8969 s,@DATADIRNAME@,$DATADIRNAME,;t t
8970 s,@GMOFILES@,$GMOFILES,;t t
8971 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
8972 s,@INTLDEPS@,$INTLDEPS,;t t
8973 s,@INTLLIBS@,$INTLLIBS,;t t
8974 s,@INTLOBJS@,$INTLOBJS,;t t
8975 s,@POFILES@,$POFILES,;t t
8976 s,@POSUB@,$POSUB,;t t
8977 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
8978 s,@GT_NO@,$GT_NO,;t t
8979 s,@GT_YES@,$GT_YES,;t t
8980 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8982 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8983 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8984 s,@MAINT@,$MAINT,;t t
8985 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
8986 s,@LIBOBJS@,$LIBOBJS,;t t
8987 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8992 cat >>$CONFIG_STATUS <<\_ACEOF
8993 # Split the substitutions into bite-sized pieces for seds with
8994 # small command number limits, like on Digital OSF/1 and HP-UX.
8996 ac_sed_frag
=1 # Number of current file.
8997 ac_beg
=1 # First line for current file.
8998 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9001 while $ac_more_lines; do
9002 if test $ac_beg -gt 1; then
9003 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9005 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9007 if test ! -s $tmp/subs.frag
; then
9010 # The purpose of the label and of the branching condition is to
9011 # speed up the sed processing (if there are no `@' at all, there
9012 # is no need to browse any of the substitutions).
9013 # These are the two extra sed commands mentioned above.
9015 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9016 if test -z "$ac_sed_cmds"; then
9017 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9019 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9021 ac_sed_frag
=`expr $ac_sed_frag + 1`
9023 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9026 if test -z "$ac_sed_cmds"; then
9029 fi # test -n "$CONFIG_FILES"
9032 cat >>$CONFIG_STATUS <<\_ACEOF
9033 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9034 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9036 - |
*:- |
*:-:* ) # input from stdin
9038 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9039 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9040 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9041 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9042 * ) ac_file_in
=$ac_file.
in ;;
9045 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9046 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9047 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9048 X"$ac_file" : 'X\(//\)[^/]' \| \
9049 X"$ac_file" : 'X\(//\)$' \| \
9050 X"$ac_file" : 'X\(/\)' \| \
9051 . : '\(.\)' 2>/dev/null ||
9053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9054 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9055 /^X\(\/\/\)$/{ s//\1/; q; }
9056 /^X\(\/\).*/{ s//\1/; q; }
9058 { if $as_mkdir_p; then
9063 while test ! -d "$as_dir"; do
9064 as_dirs
="$as_dir $as_dirs"
9065 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9066 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9067 X"$as_dir" : 'X\(//\)[^/]' \| \
9068 X"$as_dir" : 'X\(//\)$' \| \
9069 X"$as_dir" : 'X\(/\)' \| \
9070 . : '\(.\)' 2>/dev/null ||
9072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9073 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9074 /^X\(\/\/\)$/{ s//\1/; q; }
9075 /^X\(\/\).*/{ s//\1/; q; }
9078 test ! -n "$as_dirs" || mkdir
$as_dirs
9079 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9080 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9081 { (exit 1); exit 1; }; }; }
9085 if test "$ac_dir" != .
; then
9086 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9087 # A "../" for each directory in $ac_dir_suffix.
9088 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9090 ac_dir_suffix
= ac_top_builddir
=
9094 .
) # No --srcdir option. We are building in place.
9096 if test -z "$ac_top_builddir"; then
9099 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9101 [\\/]* | ?
:[\\/]* ) # Absolute path.
9102 ac_srcdir
=$srcdir$ac_dir_suffix;
9103 ac_top_srcdir
=$srcdir ;;
9105 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9106 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9109 # Do not use `cd foo && pwd` to compute absolute paths, because
9110 # the directories may not exist.
9112 .
) ac_abs_builddir
="$ac_dir";;
9115 .
) ac_abs_builddir
=`pwd`;;
9116 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9117 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9120 case $ac_abs_builddir in
9121 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9123 case ${ac_top_builddir}.
in
9124 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9125 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9126 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9129 case $ac_abs_builddir in
9130 .
) ac_abs_srcdir
=$ac_srcdir;;
9133 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9134 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9135 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9138 case $ac_abs_builddir in
9139 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9141 case $ac_top_srcdir in
9142 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9143 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9144 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9150 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9151 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9154 # Let's still pretend it is `configure' which instantiates (i.e., don't
9155 # use $as_me), people would be surprised to read:
9156 # /* config.h. Generated by config.status. */
9157 if test x
"$ac_file" = x-
; then
9160 configure_input
="$ac_file. "
9162 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9163 sed 's,.*/,,'` by configure."
9165 # First look for the input files in the build tree, otherwise in the
9167 ac_file_inputs
=`IFS=:
9168 for f in $ac_file_in; do
9170 -) echo $tmp/stdin ;;
9172 # Absolute (can't be DOS-style, as IFS=:)
9173 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9174 echo "$as_me: error: cannot find input file: $f" >&2;}
9175 { (exit 1); exit 1; }; }
9178 if test -f "$f"; then
9181 elif test -f "$srcdir/$f"; then
9186 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9187 echo "$as_me: error: cannot find input file: $f" >&2;}
9188 { (exit 1); exit 1; }; }
9191 done` ||
{ (exit 1); exit 1; }
9193 if test x
"$ac_file" != x-
; then
9194 { echo "$as_me:$LINENO: creating $ac_file" >&5
9195 echo "$as_me: creating $ac_file" >&6;}
9199 cat >>$CONFIG_STATUS <<_ACEOF
9203 cat >>$CONFIG_STATUS <<\_ACEOF
9205 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9206 s
,@configure_input@
,$configure_input,;t t
9207 s
,@srcdir@
,$ac_srcdir,;t t
9208 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9209 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9210 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9211 s
,@builddir@
,$ac_builddir,;t t
9212 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9213 s
,@top_builddir@
,$ac_top_builddir,;t t
9214 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9215 s
,@INSTALL@
,$ac_INSTALL,;t t
9216 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9218 if test x"$ac_file" != x-; then
9219 mv $tmp/out $ac_file
9227 cat >>$CONFIG_STATUS <<\_ACEOF
9230 # CONFIG_HEADER section.
9233 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9234 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9236 # ac_d sets the value in "#define NAME VALUE" lines.
9237 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9238 ac_dB
='[ ].*$,\1#\2'
9241 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9242 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9243 ac_uB
='$,\1#\2define\3'
9247 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9248 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9250 - |
*:- |
*:-:* ) # input from stdin
9252 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9253 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9254 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9255 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9256 * ) ac_file_in
=$ac_file.
in ;;
9259 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9260 echo "$as_me: creating $ac_file" >&6;}
9262 # First look for the input files in the build tree, otherwise in the
9264 ac_file_inputs
=`IFS=:
9265 for f in $ac_file_in; do
9267 -) echo $tmp/stdin ;;
9269 # Absolute (can't be DOS-style, as IFS=:)
9270 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9271 echo "$as_me: error: cannot find input file: $f" >&2;}
9272 { (exit 1); exit 1; }; }
9273 # Do quote $f, to prevent DOS paths from being IFS'd.
9276 if test -f "$f"; then
9279 elif test -f "$srcdir/$f"; then
9284 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9285 echo "$as_me: error: cannot find input file: $f" >&2;}
9286 { (exit 1); exit 1; }; }
9289 done` ||
{ (exit 1); exit 1; }
9290 # Remove the trailing spaces.
9291 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9295 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9296 # `conftest.undefs', that substitutes the proper values into
9297 # config.h.in to produce config.h. The first handles `#define'
9298 # templates, and the second `#undef' templates.
9299 # And first: Protect against being on the right side of a sed subst in
9300 # config.status. Protect against being in an unquoted here document
9302 rm -f conftest.defines conftest.undefs
9303 # Using a here document instead of a string reduces the quoting nightmare.
9304 # Putting comments in sed scripts is not portable.
9306 # `end' is used to avoid that the second main sed command (meant for
9307 # 0-ary CPP macros) applies to n-ary macro definitions.
9308 # See the Autoconf documentation for `clear'.
9309 cat >confdef2sed.
sed <<\_ACEOF
9314 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9316 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9319 # If some macros were called several times there might be several times
9320 # the same #defines, which is useless. Nevertheless, we may not want to
9321 # sort them, since we want the *last* AC-DEFINE to be honored.
9322 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9323 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9324 rm -f confdef2sed.sed
9326 # This sed command replaces #undef with comments. This is necessary, for
9327 # example, in the case of _POSIX_SOURCE, which is predefined and required
9328 # on some systems where configure will not decide to define it.
9329 cat >>conftest.undefs <<\_ACEOF
9330 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9333 # Break up conftest.defines because some shells have a limit on the size
9334 # of here documents, and old seds have small limits too (100 cmds).
9335 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9336 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9337 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9338 echo ' :' >>$CONFIG_STATUS
9340 while grep . conftest.defines >/dev/null
9342 # Write a limited-size here document to $tmp/defines.sed.
9343 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9344 # Speed up: don't consider the non `#define' lines.
9345 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9346 # Work around the forget-to-reset-the-flag bug.
9347 echo 't clr' >>$CONFIG_STATUS
9348 echo ': clr' >>$CONFIG_STATUS
9349 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9351 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9355 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9356 rm -f conftest.defines
9357 mv conftest.
tail conftest.defines
9359 rm -f conftest.defines
9360 echo ' fi # grep' >>$CONFIG_STATUS
9361 echo >>$CONFIG_STATUS
9363 # Break up conftest.undefs because some shells have a limit on the size
9364 # of here documents, and old seds have small limits too (100 cmds).
9365 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9367 while grep . conftest.undefs
>/dev
/null
9369 # Write a limited-size here document to $tmp/undefs.sed.
9370 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9371 # Speed up: don't consider the non
`#undef'
9372 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9373 # Work around the forget-to-reset-the-flag bug.
9374 echo 't clr' >>$CONFIG_STATUS
9375 echo ': clr' >>$CONFIG_STATUS
9376 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9378 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9382 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9383 rm -f conftest.undefs
9384 mv conftest.tail conftest.undefs
9386 rm -f conftest.undefs
9388 cat >>$CONFIG_STATUS <<\_ACEOF
9389 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9390 # use $as_me), people would be surprised to read:
9391 # /* config.h. Generated by config.status. */
9392 if test x
"$ac_file" = x-
; then
9393 echo "/* Generated by configure. */" >$tmp/config.h
9395 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9397 cat $tmp/in >>$tmp/config.h
9399 if test x
"$ac_file" != x-
; then
9400 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9401 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9402 echo "$as_me: $ac_file is unchanged" >&6;}
9404 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9405 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9406 X"$ac_file" : 'X\(//\)[^/]' \| \
9407 X"$ac_file" : 'X\(//\)$' \| \
9408 X"$ac_file" : 'X\(/\)' \| \
9409 . : '\(.\)' 2>/dev/null ||
9411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9412 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9413 /^X\(\/\/\)$/{ s//\1/; q; }
9414 /^X\(\/\).*/{ s//\1/; q; }
9416 { if $as_mkdir_p; then
9421 while test ! -d "$as_dir"; do
9422 as_dirs
="$as_dir $as_dirs"
9423 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9424 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9425 X"$as_dir" : 'X\(//\)[^/]' \| \
9426 X"$as_dir" : 'X\(//\)$' \| \
9427 X"$as_dir" : 'X\(/\)' \| \
9428 . : '\(.\)' 2>/dev/null ||
9430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9431 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9432 /^X\(\/\/\)$/{ s//\1/; q; }
9433 /^X\(\/\).*/{ s//\1/; q; }
9436 test ! -n "$as_dirs" || mkdir
$as_dirs
9437 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9438 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9439 { (exit 1); exit 1; }; }; }
9442 mv $tmp/config.h
$ac_file
9448 # Compute $ac_file's index in $config_headers.
9450 for _am_header
in $config_headers :; do
9452 $ac_file |
$ac_file:* )
9455 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9458 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9459 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9460 X$ac_file : 'X\(//\)[^/]' \| \
9461 X$ac_file : 'X\(//\)$' \| \
9462 X$ac_file : 'X\(/\)' \| \
9463 . : '\(.\)' 2>/dev/null ||
9465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9466 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9467 /^X\(\/\/\)$/{ s//\1/; q; }
9468 /^X\(\/\).*/{ s//\1/; q; }
9469 s/.*/./; q'`/stamp-h
$_am_stamp_count
9472 cat >>$CONFIG_STATUS <<\_ACEOF
9475 # CONFIG_COMMANDS section.
9477 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9478 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9479 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9480 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9481 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9482 X"$ac_dest" : 'X\(//\)[^/]' \| \
9483 X"$ac_dest" : 'X\(//\)$' \| \
9484 X"$ac_dest" : 'X\(/\)' \| \
9485 . : '\(.\)' 2>/dev/null ||
9487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9488 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9489 /^X\(\/\/\)$/{ s//\1/; q; }
9490 /^X\(\/\).*/{ s//\1/; q; }
9492 { if $as_mkdir_p; then
9497 while test ! -d "$as_dir"; do
9498 as_dirs
="$as_dir $as_dirs"
9499 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9500 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9501 X"$as_dir" : 'X\(//\)[^/]' \| \
9502 X"$as_dir" : 'X\(//\)$' \| \
9503 X"$as_dir" : 'X\(/\)' \| \
9504 . : '\(.\)' 2>/dev/null ||
9506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9507 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9508 /^X\(\/\/\)$/{ s//\1/; q; }
9509 /^X\(\/\).*/{ s//\1/; q; }
9512 test ! -n "$as_dirs" || mkdir
$as_dirs
9513 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9514 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9515 { (exit 1); exit 1; }; }; }
9519 if test "$ac_dir" != .
; then
9520 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9521 # A "../" for each directory in $ac_dir_suffix.
9522 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9524 ac_dir_suffix
= ac_top_builddir
=
9528 .
) # No --srcdir option. We are building in place.
9530 if test -z "$ac_top_builddir"; then
9533 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9535 [\\/]* | ?
:[\\/]* ) # Absolute path.
9536 ac_srcdir
=$srcdir$ac_dir_suffix;
9537 ac_top_srcdir
=$srcdir ;;
9539 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9540 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9543 # Do not use `cd foo && pwd` to compute absolute paths, because
9544 # the directories may not exist.
9546 .
) ac_abs_builddir
="$ac_dir";;
9549 .
) ac_abs_builddir
=`pwd`;;
9550 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9551 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9554 case $ac_abs_builddir in
9555 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9557 case ${ac_top_builddir}.
in
9558 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9559 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9560 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9563 case $ac_abs_builddir in
9564 .
) ac_abs_srcdir
=$ac_srcdir;;
9567 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9568 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9569 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9572 case $ac_abs_builddir in
9573 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9575 case $ac_top_srcdir in
9576 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9577 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9578 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9583 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9584 echo "$as_me: executing $ac_dest commands" >&6;}
9586 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
9587 # Strip MF so we end up with the name of the file.
9588 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9589 # Check whether this is an Automake generated Makefile or not.
9590 # We used to match only the files named `Makefile.in', but
9591 # some people rename them; so instead we look at the file content.
9592 # Grep'ing the first line is not enough: some people post-process
9593 # each Makefile.in and add a new line on top of each file to say so.
9594 # So let's grep whole file.
9595 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
9596 dirpart
=`(dirname "$mf") 2>/dev/null ||
9597 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9598 X"$mf" : 'X\(//\)[^/]' \| \
9599 X"$mf" : 'X\(//\)$' \| \
9600 X"$mf" : 'X\(/\)' \| \
9601 . : '\(.\)' 2>/dev/null ||
9603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9604 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9605 /^X\(\/\/\)$/{ s//\1/; q; }
9606 /^X\(\/\).*/{ s//\1/; q; }
9611 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
9612 # Extract the definition of DEP_FILES from the Makefile without
9614 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9615 test -z "$DEPDIR" && continue
9616 # When using ansi2knr, U may be empty or an underscore; expand it
9617 U
=`sed -n 's/^U = //p' < "$mf"`
9618 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
9619 # We invoke sed twice because it is the simplest approach to
9620 # changing $(DEPDIR) to its actual value in the expansion.
9621 for file in `sed -n '
9622 /^DEP_FILES = .*\\\\$/ {
9631 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9632 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9633 # Make sure the directory exists.
9634 test -f "$dirpart/$file" && continue
9635 fdir
=`(dirname "$file") 2>/dev/null ||
9636 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9637 X"$file" : 'X\(//\)[^/]' \| \
9638 X"$file" : 'X\(//\)$' \| \
9639 X"$file" : 'X\(/\)' \| \
9640 . : '\(.\)' 2>/dev/null ||
9642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9643 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9644 /^X\(\/\/\)$/{ s//\1/; q; }
9645 /^X\(\/\).*/{ s//\1/; q; }
9647 { if $as_mkdir_p; then
9648 mkdir
-p $dirpart/$fdir
9650 as_dir
=$dirpart/$fdir
9652 while test ! -d "$as_dir"; do
9653 as_dirs
="$as_dir $as_dirs"
9654 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9656 X"$as_dir" : 'X\(//\)[^/]' \| \
9657 X"$as_dir" : 'X\(//\)$' \| \
9658 X"$as_dir" : 'X\(/\)' \| \
9659 . : '\(.\)' 2>/dev/null ||
9661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9663 /^X\(\/\/\)$/{ s//\1/; q; }
9664 /^X\(\/\).*/{ s//\1/; q; }
9667 test ! -n "$as_dirs" || mkdir
$as_dirs
9668 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9669 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9670 { (exit 1); exit 1; }; }; }
9672 # echo "creating $dirpart/$file"
9673 echo '# dummy' > "$dirpart/$file"
9677 default
) sed -e '/POTFILES =/r po/POTFILES' po
/Makefile.
in > po
/Makefile
;;
9682 cat >>$CONFIG_STATUS <<\_ACEOF
9684 { (exit 0); exit 0; }
9686 chmod +x
$CONFIG_STATUS
9687 ac_clean_files
=$ac_clean_files_save
9690 # configure is writing to config.log, and then calls config.status.
9691 # config.status does its own redirection, appending to config.log.
9692 # Unfortunately, on DOS this fails, as config.log is still kept open
9693 # by configure, so config.status won't be able to write to it; its
9694 # output is simply discarded. So we exec the FD to /dev/null,
9695 # effectively closing config.log, so it can be properly (re)opened and
9696 # appended to by config.status. When coming back to configure, we
9697 # need to make the FD available again.
9698 if test "$no_create" != yes; then
9700 ac_config_status_args
=
9701 test "$silent" = yes &&
9702 ac_config_status_args
="$ac_config_status_args --quiet"
9704 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9706 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9707 # would make configure fail if this is the last instruction.
9708 $ac_cs_success ||
{ (exit 1); exit 1; }