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
="ldmain.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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL use_sysroot TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS NO_WERROR 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 YACC LEX LEXLIB LEX_OUTPUT_ROOT MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT HDEFINES HOSTING_CRT0 HOSTING_LIBS NATIVE_LIB_DIRS STRINGIFY EMUL EMULATION_OFILES EMUL_EXTRA_OFILES LIB_PATH EMULATION_LIBPATH TESTBFDLIB LIBOBJS LTLIBOBJS'
313 ac_subst_files
='TDIRS'
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 --enable-targets alternative target configurations
860 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
861 --enable-werror treat compile warnings as errors
862 --enable-build-warnings Enable build-time compiler warnings
863 --disable-nls do not use Native Language Support
864 --enable-maintainer-mode enable make rules and dependencies not useful
865 (and sometimes confusing
) to the casual installer
868 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
869 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
870 --with-gnu-ld assume the C compiler uses GNU ld default
=no
871 --with-pic try to use only PIC
/non-PIC objects default
=use both
872 --with-lib-path=dir1
:dir2...
set default LIB_PATH
873 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
874 --with-included-gettext use the GNU
gettext library included here
876 Some influential environment variables
:
877 CC C compiler
command
878 CFLAGS C compiler flags
879 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
880 nonstandard directory
<lib dir
>
881 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
882 headers
in a nonstandard directory
<include dir
>
885 Use these variables to override the choices made by
`configure' or to help
886 it to find libraries and programs with nonstandard names/locations.
891 if test "$ac_init_help" = "recursive"; then
892 # If there are subdirs, report their specific --help.
894 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
895 test -d $ac_dir || continue
898 if test "$ac_dir" != .; then
899 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
900 # A "../" for each directory in $ac_dir_suffix.
901 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
903 ac_dir_suffix= ac_top_builddir=
907 .) # No --srcdir option. We are building in place.
909 if test -z "$ac_top_builddir"; then
912 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
914 [\\/]* | ?:[\\/]* ) # Absolute path.
915 ac_srcdir=$srcdir$ac_dir_suffix;
916 ac_top_srcdir=$srcdir ;;
918 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
919 ac_top_srcdir=$ac_top_builddir$srcdir ;;
922 # Do not use `cd foo
&& pwd` to compute absolute paths, because
923 # the directories may not exist.
925 .) ac_abs_builddir="$ac_dir";;
928 .) ac_abs_builddir=`pwd`;;
929 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
930 *) ac_abs_builddir=`pwd`/"$ac_dir";;
933 case $ac_abs_builddir in
934 .) ac_abs_top_builddir=${ac_top_builddir}.;;
936 case ${ac_top_builddir}. in
937 .) ac_abs_top_builddir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
939 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
942 case $ac_abs_builddir in
943 .) ac_abs_srcdir=$ac_srcdir;;
946 .) ac_abs_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
948 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
951 case $ac_abs_builddir in
952 .) ac_abs_top_srcdir=$ac_top_srcdir;;
954 case $ac_top_srcdir in
955 .) ac_abs_top_srcdir=$ac_abs_builddir;;
956 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
957 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
962 # Check for guested configure; otherwise get Cygnus style configure.
963 if test -f $ac_srcdir/configure.gnu; then
965 $SHELL $ac_srcdir/configure.gnu --help=recursive
966 elif test -f $ac_srcdir/configure; then
968 $SHELL $ac_srcdir/configure --help=recursive
969 elif test -f $ac_srcdir/configure.ac ||
970 test -f $ac_srcdir/configure.in; then
974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
980 test -n "$ac_init_help" && exit 0
981 if $ac_init_version; then
984 Copyright (C) 2003 Free Software Foundation, Inc.
985 This configure script is free software; the Free Software Foundation
986 gives unlimited permission to copy, distribute and modify it.
992 This file contains any messages produced by compilers while
993 running configure, to aid debugging if configure makes a mistake.
995 It was created by $as_me, which was
996 generated by GNU Autoconf 2.59. Invocation command line was
1007 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1008 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1009 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1010 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1011 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1014 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1016 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1018 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1019 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1020 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1021 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1022 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1030 test -z "$as_dir" && as_dir=.
1031 echo "PATH: $as_dir"
1046 # Keep a trace of the command line.
1047 # Strip out --no-create and --no-recursion so they do not pile up.
1048 # Strip out --silent because we don't want to record it for future runs.
1049 # Also quote any args containing shell meta-characters.
1050 # Make two passes to allow for proper duplicate-argument suppression.
1055 ac_must_keep_next=false
1061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063 | -silent | --silent | --silen | --sile | --sil)
1065 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1066 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1069 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1071 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1072 if test $ac_must_keep_next = true; then
1073 ac_must_keep_next=false # Got value, back to normal.
1076 *=* | --config-cache | -C | -disable-* | --disable-* \
1077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1079 | -with-* | --with-* | -without-* | --without-* | --x)
1080 case "$ac_configure_args0 " in
1081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1084 -* ) ac_must_keep_next=true ;;
1087 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1088 # Get rid of the leading space.
1094 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1095 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1097 # When interrupted or exit'd, cleanup temporary files, and complete
1098 # config.log. We remove comments because anyway the quotes in there
1099 # would cause problems or look ugly.
1100 # WARNING: Be sure not to use single quotes in there, as some shells,
1101 # such as our DU 5.0 friend, will then `close
' the trap.
1102 trap 'exit_status
=$?
1103 # Save into config.log some information that might help in debugging.
1108 ## ---------------- ##
1109 ## Cache variables. ##
1110 ## ---------------- ##
1113 # The following way of writing the cache mishandles newlines in values,
1116 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1119 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1131 ## ----------------- ##
1132 ## Output variables. ##
1133 ## ----------------- ##
1136 for ac_var
in $ac_subst_vars
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -n "$ac_subst_files"; then
1150 for ac_var
in $ac_subst_files
1152 eval ac_val
=$
`echo $ac_var`
1153 echo "$ac_var='"'"'$ac_val'"'"'"
1158 if test -s confdefs.h
; then
1165 sed "/^$/d" confdefs.h |
sort
1168 test "$ac_signal" != 0 &&
1169 echo "$as_me: caught signal $ac_signal"
1170 echo "$as_me: exit $exit_status"
1172 rm -f core
*.core
&&
1173 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1176 for ac_signal in 1 2 13 15; do
1177 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1181 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1182 rm -rf conftest* confdefs.h
1183 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1186 # Predefined preprocessor variables.
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_NAME "$PACKAGE_NAME"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_STRING "$PACKAGE_STRING"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1213 # Let the site file select an alternate cache file if it wants to.
1214 # Prefer explicitly selected file to automatically selected ones.
1215 if test -z "$CONFIG_SITE"; then
1216 if test "x$prefix" != xNONE; then
1217 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1222 for ac_site_file in $CONFIG_SITE; do
1223 if test -r "$ac_site_file"; then
1224 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1225 echo "$as_me: loading site script $ac_site_file" >&6;}
1226 sed 's
/^
/|
/' "$ac_site_file" >&5
1231 if test -r "$cache_file"; then
1232 # Some versions of bash will fail to source /dev/null (special
1233 # files actually), so we avoid doing that.
1234 if test -f "$cache_file"; then
1235 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1236 echo "$as_me: loading cache $cache_file" >&6;}
1238 [\\/]* | ?:[\\/]* ) . $cache_file;;
1239 *) . ./$cache_file;;
1243 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1244 echo "$as_me: creating cache $cache_file" >&6;}
1248 # Check that the precious variables saved in the cache have kept the same
1250 ac_cache_corrupted=false
1251 for ac_var in `(set) 2>&1 |
1252 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1253 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1254 eval ac_new_set=\$ac_env_${ac_var}_set
1255 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1256 eval ac_new_val="\$ac_env_${ac_var}_value"
1257 case $ac_old_set,$ac_new_set in
1259 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1261 ac_cache_corrupted=: ;;
1263 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1265 ac_cache_corrupted=: ;;
1268 if test "x$ac_old_val" != "x$ac_new_val"; then
1269 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1270 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1271 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1272 echo "$as_me: former value: $ac_old_val" >&2;}
1273 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1274 echo "$as_me: current value: $ac_new_val" >&2;}
1275 ac_cache_corrupted=:
1278 # Pass precious variables to config.status.
1279 if test "$ac_new_set" = set; then
1281 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1282 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1283 *) ac_arg=$ac_var=$ac_new_val ;;
1285 case " $ac_configure_args " in
1286 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1287 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1291 if $ac_cache_corrupted; then
1292 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1293 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1294 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1295 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1296 { (exit 1); exit 1; }; }
1300 ac_cpp='$CPP $CPPFLAGS'
1301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1302 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1325 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1326 if test -f $ac_dir/install-sh; then
1328 ac_install_sh="$ac_aux_dir/install-sh -c"
1330 elif test -f $ac_dir/install.sh; then
1332 ac_install_sh="$ac_aux_dir/install.sh -c"
1334 elif test -f $ac_dir/shtool; then
1336 ac_install_sh="$ac_aux_dir/shtool install -c"
1340 if test -z "$ac_aux_dir"; then
1341 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1342 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1343 { (exit 1); exit 1; }; }
1345 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1346 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1347 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1349 # Make sure we can run config.sub.
1350 $ac_config_sub sun4 >/dev/null 2>&1 ||
1351 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1352 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1353 { (exit 1); exit 1; }; }
1355 echo "$as_me:$LINENO: checking build system type" >&5
1356 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1357 if test "${ac_cv_build+set}" = set; then
1358 echo $ECHO_N "(cached) $ECHO_C" >&6
1360 ac_cv_build_alias=$build_alias
1361 test -z "$ac_cv_build_alias" &&
1362 ac_cv_build_alias=`$ac_config_guess`
1363 test -z "$ac_cv_build_alias" &&
1364 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1365 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1366 { (exit 1); exit 1; }; }
1367 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1368 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1369 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1370 { (exit 1); exit 1; }; }
1373 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1374 echo "${ECHO_T}$ac_cv_build" >&6
1376 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1377 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1378 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1381 echo "$as_me:$LINENO: checking host system type" >&5
1382 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1383 if test "${ac_cv_host+set}" = set; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 ac_cv_host_alias=$host_alias
1387 test -z "$ac_cv_host_alias" &&
1388 ac_cv_host_alias=$ac_cv_build_alias
1389 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1390 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1391 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1392 { (exit 1); exit 1; }; }
1395 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1396 echo "${ECHO_T}$ac_cv_host" >&6
1398 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1399 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1400 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1403 echo "$as_me:$LINENO: checking target system type" >&5
1404 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1405 if test "${ac_cv_target+set}" = set; then
1406 echo $ECHO_N "(cached) $ECHO_C" >&6
1408 ac_cv_target_alias=$target_alias
1409 test "x$ac_cv_target_alias" = "x" &&
1410 ac_cv_target_alias=$ac_cv_host_alias
1411 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1412 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1413 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1414 { (exit 1); exit 1; }; }
1417 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1418 echo "${ECHO_T}$ac_cv_target" >&6
1419 target=$ac_cv_target
1420 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1421 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1422 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1425 # The aliases save the names the user supplied, while $host etc.
1426 # will get canonicalized.
1427 test -n "$target_alias" &&
1428 test "$program_prefix$program_suffix$program_transform_name" = \
1430 program_prefix=${target_alias}-
1432 ac_cpp='$CPP $CPPFLAGS'
1433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1434 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1436 if test -n "$ac_tool_prefix"; then
1437 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1438 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1439 echo "$as_me:$LINENO: checking for $ac_word" >&5
1440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1441 if test "${ac_cv_prog_CC+set}" = set; then
1442 echo $ECHO_N "(cached) $ECHO_C" >&6
1444 if test -n "$CC"; then
1445 ac_cv_prog_CC="$CC" # Let the user override the test.
1447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1451 test -z "$as_dir" && as_dir=.
1452 for ac_exec_ext in '' $ac_executable_extensions; do
1453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1454 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1464 if test -n "$CC"; then
1465 echo "$as_me:$LINENO: result: $CC" >&5
1466 echo "${ECHO_T}$CC" >&6
1468 echo "$as_me:$LINENO: result: no" >&5
1469 echo "${ECHO_T}no" >&6
1473 if test -z "$ac_cv_prog_CC"; then
1475 # Extract the first word of "gcc", so it can be a program name with args.
1476 set dummy gcc; ac_word=$2
1477 echo "$as_me:$LINENO: checking for $ac_word" >&5
1478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1480 echo $ECHO_N "(cached) $ECHO_C" >&6
1482 if test -n "$ac_ct_CC"; then
1483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1489 test -z "$as_dir" && as_dir=.
1490 for ac_exec_ext in '' $ac_executable_extensions; do
1491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1492 ac_cv_prog_ac_ct_CC="gcc"
1493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1502 if test -n "$ac_ct_CC"; then
1503 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1504 echo "${ECHO_T}$ac_ct_CC" >&6
1506 echo "$as_me:$LINENO: result: no" >&5
1507 echo "${ECHO_T}no" >&6
1515 if test -z "$CC"; then
1516 if test -n "$ac_tool_prefix"; then
1517 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1518 set dummy ${ac_tool_prefix}cc; ac_word=$2
1519 echo "$as_me:$LINENO: checking for $ac_word" >&5
1520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1521 if test "${ac_cv_prog_CC+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1524 if test -n "$CC"; then
1525 ac_cv_prog_CC="$CC" # Let the user override the test.
1527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1531 test -z "$as_dir" && as_dir=.
1532 for ac_exec_ext in '' $ac_executable_extensions; do
1533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1534 ac_cv_prog_CC="${ac_tool_prefix}cc"
1535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1544 if test -n "$CC"; then
1545 echo "$as_me:$LINENO: result: $CC" >&5
1546 echo "${ECHO_T}$CC" >&6
1548 echo "$as_me:$LINENO: result: no" >&5
1549 echo "${ECHO_T}no" >&6
1553 if test -z "$ac_cv_prog_CC"; then
1555 # Extract the first word of "cc", so it can be a program name with args.
1556 set dummy cc; ac_word=$2
1557 echo "$as_me:$LINENO: checking for $ac_word" >&5
1558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1560 echo $ECHO_N "(cached) $ECHO_C" >&6
1562 if test -n "$ac_ct_CC"; then
1563 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1569 test -z "$as_dir" && as_dir=.
1570 for ac_exec_ext in '' $ac_executable_extensions; do
1571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1572 ac_cv_prog_ac_ct_CC="cc"
1573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1581 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1582 if test -n "$ac_ct_CC"; then
1583 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1584 echo "${ECHO_T}$ac_ct_CC" >&6
1586 echo "$as_me:$LINENO: result: no" >&5
1587 echo "${ECHO_T}no" >&6
1596 if test -z "$CC"; then
1597 # Extract the first word of "cc", so it can be a program name with args.
1598 set dummy cc; ac_word=$2
1599 echo "$as_me:$LINENO: checking for $ac_word" >&5
1600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1601 if test "${ac_cv_prog_CC+set}" = set; then
1602 echo $ECHO_N "(cached) $ECHO_C" >&6
1604 if test -n "$CC"; then
1605 ac_cv_prog_CC="$CC" # Let the user override the test.
1608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612 test -z "$as_dir" && as_dir=.
1613 for ac_exec_ext in '' $ac_executable_extensions; do
1614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1615 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1616 ac_prog_rejected=yes
1620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1626 if test $ac_prog_rejected = yes; then
1627 # We found a bogon in the path, so make sure we never use it.
1628 set dummy $ac_cv_prog_CC
1630 if test $# != 0; then
1631 # We chose a different compiler from the bogus one.
1632 # However, it has the same basename, so the bogon will be chosen
1633 # first if we set CC to just the basename; use the full file name.
1635 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1641 if test -n "$CC"; then
1642 echo "$as_me:$LINENO: result: $CC" >&5
1643 echo "${ECHO_T}$CC" >&6
1645 echo "$as_me:$LINENO: result: no" >&5
1646 echo "${ECHO_T}no" >&6
1650 if test -z "$CC"; then
1651 if test -n "$ac_tool_prefix"; then
1654 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1655 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1656 echo "$as_me:$LINENO: checking for $ac_word" >&5
1657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1658 if test "${ac_cv_prog_CC+set}" = set; then
1659 echo $ECHO_N "(cached) $ECHO_C" >&6
1661 if test -n "$CC"; then
1662 ac_cv_prog_CC="$CC" # Let the user override the test.
1664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1668 test -z "$as_dir" && as_dir=.
1669 for ac_exec_ext in '' $ac_executable_extensions; do
1670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1671 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1681 if test -n "$CC"; then
1682 echo "$as_me:$LINENO: result: $CC" >&5
1683 echo "${ECHO_T}$CC" >&6
1685 echo "$as_me:$LINENO: result: no" >&5
1686 echo "${ECHO_T}no" >&6
1689 test -n "$CC" && break
1692 if test -z "$CC"; then
1696 # Extract the first word of "$ac_prog", so it can be a program name with args.
1697 set dummy $ac_prog; ac_word=$2
1698 echo "$as_me:$LINENO: checking for $ac_word" >&5
1699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1700 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1701 echo $ECHO_N "(cached) $ECHO_C" >&6
1703 if test -n "$ac_ct_CC"; then
1704 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1710 test -z "$as_dir" && as_dir=.
1711 for ac_exec_ext in '' $ac_executable_extensions; do
1712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1713 ac_cv_prog_ac_ct_CC="$ac_prog"
1714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1722 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1723 if test -n "$ac_ct_CC"; then
1724 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1725 echo "${ECHO_T}$ac_ct_CC" >&6
1727 echo "$as_me:$LINENO: result: no" >&5
1728 echo "${ECHO_T}no" >&6
1731 test -n "$ac_ct_CC" && break
1740 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1741 See \`config.log' for more details.
" >&5
1742 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1743 See \
`config.log' for more details." >&2;}
1744 { (exit 1); exit 1; }; }
1746 # Provide some information about the compiler.
1747 echo "$as_me:$LINENO:" \
1748 "checking for C compiler version" >&5
1749 ac_compiler=`set X
$ac_compile; echo $2`
1750 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1751 (eval $ac_compiler --version </dev/null >&5) 2>&5
1753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1754 (exit $ac_status); }
1755 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1756 (eval $ac_compiler -v </dev/null >&5) 2>&5
1758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1759 (exit $ac_status); }
1760 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1761 (eval $ac_compiler -V </dev/null >&5) 2>&5
1763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1764 (exit $ac_status); }
1766 cat >conftest.$ac_ext <<_ACEOF
1769 cat confdefs.h >>conftest.$ac_ext
1770 cat >>conftest.$ac_ext <<_ACEOF
1771 /* end confdefs.h. */
1781 ac_clean_files_save=$ac_clean_files
1782 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1783 # Try to create an executable without -o first, disregard a.out.
1784 # It will help us diagnose broken compilers, and finding out an intuition
1786 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1787 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1788 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1789 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1790 (eval $ac_link_default) 2>&5
1792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793 (exit $ac_status); }; then
1794 # Find the output, starting from the most likely. This scheme is
1795 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1798 # Be careful to initialize this variable, since it used to be cached.
1799 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1801 # b.out is created by i960 compilers.
1802 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1804 test -f "$ac_file" || continue
1806 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1809 # This is the source file.
1812 # We found the default executable, but exeext='' is most
1816 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1817 # FIXME: I believe we export ac_cv_exeext for Libtool,
1818 # but it would be cool to find out if it's true. Does anybody
1819 # maintain Libtool? --akim.
1827 echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1830 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1831 See \`config.log
' for more details." >&5
1832 echo "$as_me: error: C compiler cannot create executables
1833 See \`config.log' for more details.
" >&2;}
1834 { (exit 77); exit 77; }; }
1837 ac_exeext=$ac_cv_exeext
1838 echo "$as_me:$LINENO: result
: $ac_file" >&5
1839 echo "${ECHO_T}$ac_file" >&6
1841 # Check the compiler produces executables we can run. If not, either
1842 # the compiler is broken, or we cross compile.
1843 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1844 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1845 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1846 # If not cross compiling, check that we can run a simple program.
1847 if test "$cross_compiling" != yes; then
1848 if { ac_try='./$ac_file'
1849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1853 (exit $ac_status); }; }; then
1856 if test "$cross_compiling" = maybe; then
1859 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1860 If you meant to cross compile
, use \
`--host'.
1861 See \`config.log
' for more details." >&5
1862 echo "$as_me: error: cannot run C compiled programs.
1863 If you meant to cross compile, use \`--host'.
1864 See \
`config.log' for more details." >&2;}
1865 { (exit 1); exit 1; }; }
1869 echo "$as_me:$LINENO: result: yes" >&5
1870 echo "${ECHO_T}yes" >&6
1872 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1873 ac_clean_files=$ac_clean_files_save
1874 # Check the compiler produces executables we can run. If not, either
1875 # the compiler is broken, or we cross compile.
1876 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1877 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1878 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1879 echo "${ECHO_T}$cross_compiling" >&6
1881 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1882 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1884 (eval $ac_link) 2>&5
1886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1887 (exit $ac_status); }; then
1888 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1889 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1890 # work properly (i.e., refer to `conftest.exe'), while it won't with
1892 for ac_file
in conftest.exe conftest conftest.
*; do
1893 test -f "$ac_file" ||
continue
1895 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1896 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1903 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1904 See \`config.log' for more details." >&5
1905 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1906 See \`config.log' for more details." >&2;}
1907 { (exit 1); exit 1; }; }
1910 rm -f conftest
$ac_cv_exeext
1911 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1912 echo "${ECHO_T}$ac_cv_exeext" >&6
1914 rm -f conftest.
$ac_ext
1915 EXEEXT
=$ac_cv_exeext
1917 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1918 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1919 if test "${ac_cv_objext+set}" = set; then
1920 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 cat >conftest.
$ac_ext <<_ACEOF
1925 cat confdefs.h
>>conftest.
$ac_ext
1926 cat >>conftest.
$ac_ext <<_ACEOF
1927 /* end confdefs.h. */
1937 rm -f conftest.o conftest.obj
1938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1939 (eval $ac_compile) 2>&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); }; then
1943 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1945 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1946 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1951 echo "$as_me: failed program was:" >&5
1952 sed 's/^/| /' conftest.
$ac_ext >&5
1954 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1955 See \`config.log' for more details." >&5
1956 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1957 See \`config.log' for more details." >&2;}
1958 { (exit 1); exit 1; }; }
1961 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1963 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1964 echo "${ECHO_T}$ac_cv_objext" >&6
1965 OBJEXT
=$ac_cv_objext
1967 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1968 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1969 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 cat >conftest.
$ac_ext <<_ACEOF
1975 cat confdefs.h
>>conftest.
$ac_ext
1976 cat >>conftest.
$ac_ext <<_ACEOF
1977 /* end confdefs.h. */
1990 rm -f conftest.
$ac_objext
1991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1992 (eval $ac_compile) 2>conftest.er1
1994 grep -v '^ *+' conftest.er1
>conftest.err
1996 cat conftest.err
>&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); } &&
1999 { ac_try
='test -z "$ac_c_werror_flag"
2000 || test ! -s conftest.err'
2001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 (exit $ac_status); }; } &&
2006 { ac_try
='test -s conftest.$ac_objext'
2007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }; }; then
2014 echo "$as_me: failed program was:" >&5
2015 sed 's/^/| /' conftest.
$ac_ext >&5
2019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2020 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2023 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2024 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2025 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2026 ac_test_CFLAGS
=${CFLAGS+set}
2027 ac_save_CFLAGS
=$CFLAGS
2029 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2030 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2031 if test "${ac_cv_prog_cc_g+set}" = set; then
2032 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 cat >conftest.
$ac_ext <<_ACEOF
2037 cat confdefs.h
>>conftest.
$ac_ext
2038 cat >>conftest.
$ac_ext <<_ACEOF
2039 /* end confdefs.h. */
2049 rm -f conftest.
$ac_objext
2050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2051 (eval $ac_compile) 2>conftest.er1
2053 grep -v '^ *+' conftest.er1
>conftest.err
2055 cat conftest.err
>&5
2056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057 (exit $ac_status); } &&
2058 { ac_try
='test -z "$ac_c_werror_flag"
2059 || test ! -s conftest.err'
2060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); }; } &&
2065 { ac_try
='test -s conftest.$ac_objext'
2066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }; }; then
2073 echo "$as_me: failed program was:" >&5
2074 sed 's/^/| /' conftest.
$ac_ext >&5
2078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2080 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2081 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2082 if test "$ac_test_CFLAGS" = set; then
2083 CFLAGS
=$ac_save_CFLAGS
2084 elif test $ac_cv_prog_cc_g = yes; then
2085 if test "$GCC" = yes; then
2091 if test "$GCC" = yes; then
2097 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2098 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2099 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 ac_cv_prog_cc_stdc
=no
2104 cat >conftest.
$ac_ext <<_ACEOF
2107 cat confdefs.h
>>conftest.
$ac_ext
2108 cat >>conftest.
$ac_ext <<_ACEOF
2109 /* end confdefs.h. */
2112 #include <sys/types.h>
2113 #include <sys/stat.h>
2114 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2115 struct buf { int x; };
2116 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2117 static char *e (p, i)
2123 static char *f (char * (*g) (char **, int), char **p, ...)
2128 s = g (p, va_arg (v,int));
2133 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2134 function prototypes and stuff, but not '\xHH' hex character constants.
2135 These don't provoke an error unfortunately, instead are silently treated
2136 as 'x'. The following induces an error, until -std1 is added to get
2137 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2138 array size at least. It's necessary to write '\x00'==0 to get something
2139 that's true only with -std1. */
2140 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2142 int test (int i, double x);
2143 struct s1 {int (*f) (int a);};
2144 struct s2 {int (*f) (double a);};
2145 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2151 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2156 # Don't try gcc -ansi; that turns off useful extensions and
2157 # breaks some systems' header files.
2158 # AIX -qlanglvl=ansi
2159 # Ultrix and OSF/1 -std1
2160 # HP-UX 10.20 and later -Ae
2161 # HP-UX older versions -Aa -D_HPUX_SOURCE
2162 # SVR4 -Xc -D__EXTENSIONS__
2163 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2165 CC
="$ac_save_CC $ac_arg"
2166 rm -f conftest.
$ac_objext
2167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2168 (eval $ac_compile) 2>conftest.er1
2170 grep -v '^ *+' conftest.er1
>conftest.err
2172 cat conftest.err
>&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); } &&
2175 { ac_try
='test -z "$ac_c_werror_flag"
2176 || test ! -s conftest.err'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; } &&
2182 { ac_try
='test -s conftest.$ac_objext'
2183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; }; then
2188 ac_cv_prog_cc_stdc
=$ac_arg
2191 echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.
$ac_ext >&5
2195 rm -f conftest.err conftest.
$ac_objext
2197 rm -f conftest.
$ac_ext conftest.
$ac_objext
2202 case "x$ac_cv_prog_cc_stdc" in
2204 echo "$as_me:$LINENO: result: none needed" >&5
2205 echo "${ECHO_T}none needed" >&6 ;;
2207 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2208 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2209 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2212 # Some people use a C++ compiler to compile C. Since we use `exit',
2213 # in C++ we need to declare it. In case someone uses the same compiler
2214 # for both compiling C and C++ we need to have the C++ compiler decide
2215 # the declaration of exit, since it's the most demanding environment.
2216 cat >conftest.
$ac_ext <<_ACEOF
2221 rm -f conftest.
$ac_objext
2222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2223 (eval $ac_compile) 2>conftest.er1
2225 grep -v '^ *+' conftest.er1
>conftest.err
2227 cat conftest.err
>&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); } &&
2230 { ac_try
='test -z "$ac_c_werror_flag"
2231 || test ! -s conftest.err'
2232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }; } &&
2237 { ac_try
='test -s conftest.$ac_objext'
2238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); }; }; then
2243 for ac_declaration
in \
2245 'extern "C" void std::exit (int) throw (); using std::exit;' \
2246 'extern "C" void std::exit (int); using std::exit;' \
2247 'extern "C" void exit (int) throw ();' \
2248 'extern "C" void exit (int);' \
2251 cat >conftest.
$ac_ext <<_ACEOF
2254 cat confdefs.h
>>conftest.
$ac_ext
2255 cat >>conftest.
$ac_ext <<_ACEOF
2256 /* end confdefs.h. */
2267 rm -f conftest.
$ac_objext
2268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2269 (eval $ac_compile) 2>conftest.er1
2271 grep -v '^ *+' conftest.er1
>conftest.err
2273 cat conftest.err
>&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); } &&
2276 { ac_try
='test -z "$ac_c_werror_flag"
2277 || test ! -s conftest.err'
2278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }; } &&
2283 { ac_try
='test -s conftest.$ac_objext'
2284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288 (exit $ac_status); }; }; then
2291 echo "$as_me: failed program was:" >&5
2292 sed 's/^/| /' conftest.
$ac_ext >&5
2296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2297 cat >conftest.
$ac_ext <<_ACEOF
2300 cat confdefs.h
>>conftest.
$ac_ext
2301 cat >>conftest.
$ac_ext <<_ACEOF
2302 /* end confdefs.h. */
2312 rm -f conftest.
$ac_objext
2313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2314 (eval $ac_compile) 2>conftest.er1
2316 grep -v '^ *+' conftest.er1
>conftest.err
2318 cat conftest.err
>&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); } &&
2321 { ac_try
='test -z "$ac_c_werror_flag"
2322 || test ! -s conftest.err'
2323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); }; } &&
2328 { ac_try
='test -s conftest.$ac_objext'
2329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }; }; then
2336 echo "$as_me: failed program was:" >&5
2337 sed 's/^/| /' conftest.
$ac_ext >&5
2340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2343 if test -n "$ac_declaration"; then
2344 echo '#ifdef __cplusplus' >>confdefs.h
2345 echo $ac_declaration >>confdefs.h
2346 echo '#endif' >>confdefs.h
2350 echo "$as_me: failed program was:" >&5
2351 sed 's/^/| /' conftest.
$ac_ext >&5
2354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2356 ac_cpp
='$CPP $CPPFLAGS'
2357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2362 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2363 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2364 if test "${ac_cv_search_strerror+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 ac_func_search_save_LIBS
=$LIBS
2368 ac_cv_search_strerror
=no
2369 cat >conftest.
$ac_ext <<_ACEOF
2372 cat confdefs.h
>>conftest.
$ac_ext
2373 cat >>conftest.
$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2376 /* Override any gcc2 internal prototype to avoid an error. */
2380 /* We use char because int might match the return type of a gcc2
2381 builtin and then its argument prototype would still apply. */
2391 rm -f conftest.
$ac_objext conftest
$ac_exeext
2392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2393 (eval $ac_link) 2>conftest.er1
2395 grep -v '^ *+' conftest.er1
>conftest.err
2397 cat conftest.err
>&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); } &&
2400 { ac_try
='test -z "$ac_c_werror_flag"
2401 || test ! -s conftest.err'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; } &&
2407 { ac_try
='test -s conftest$ac_exeext'
2408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; }; then
2413 ac_cv_search_strerror
="none required"
2415 echo "$as_me: failed program was:" >&5
2416 sed 's/^/| /' conftest.
$ac_ext >&5
2419 rm -f conftest.err conftest.
$ac_objext \
2420 conftest
$ac_exeext conftest.
$ac_ext
2421 if test "$ac_cv_search_strerror" = no
; then
2422 for ac_lib
in cposix
; do
2423 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2424 cat >conftest.
$ac_ext <<_ACEOF
2427 cat confdefs.h
>>conftest.
$ac_ext
2428 cat >>conftest.
$ac_ext <<_ACEOF
2429 /* end confdefs.h. */
2431 /* Override any gcc2 internal prototype to avoid an error. */
2435 /* We use char because int might match the return type of a gcc2
2436 builtin and then its argument prototype would still apply. */
2446 rm -f conftest.
$ac_objext conftest
$ac_exeext
2447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2448 (eval $ac_link) 2>conftest.er1
2450 grep -v '^ *+' conftest.er1
>conftest.err
2452 cat conftest.err
>&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); } &&
2455 { ac_try
='test -z "$ac_c_werror_flag"
2456 || test ! -s conftest.err'
2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; } &&
2462 { ac_try
='test -s conftest$ac_exeext'
2463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); }; }; then
2468 ac_cv_search_strerror
="-l$ac_lib"
2471 echo "$as_me: failed program was:" >&5
2472 sed 's/^/| /' conftest.
$ac_ext >&5
2475 rm -f conftest.err conftest.
$ac_objext \
2476 conftest
$ac_exeext conftest.
$ac_ext
2479 LIBS
=$ac_func_search_save_LIBS
2481 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2482 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2483 if test "$ac_cv_search_strerror" != no
; then
2484 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2489 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2490 am__api_version
="1.9"
2491 # Find a good install program. We prefer a C program (faster),
2492 # so one script is as good as another. But avoid the broken or
2493 # incompatible versions:
2494 # SysV /etc/install, /usr/sbin/install
2495 # SunOS /usr/etc/install
2496 # IRIX /sbin/install
2498 # AmigaOS /C/install, which installs bootblocks on floppy discs
2499 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2500 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2501 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2502 # OS/2's system install, which has a completely different semantic
2503 # ./install, which can be erroneously created by make from ./install.sh.
2504 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2505 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2506 if test -z "$INSTALL"; then
2507 if test "${ac_cv_path_install+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2514 test -z "$as_dir" && as_dir
=.
2515 # Account for people who put trailing slashes in PATH elements.
2517 .
/ | .
// |
/cC
/* | \
2518 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2519 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2522 # OSF1 and SCO ODT 3.0 have their own names for install.
2523 # Don't use installbsd from OSF since it installs stuff as root
2525 for ac_prog
in ginstall scoinst
install; do
2526 for ac_exec_ext
in '' $ac_executable_extensions; do
2527 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2528 if test $ac_prog = install &&
2529 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2530 # AIX install. It has an incompatible calling convention.
2532 elif test $ac_prog = install &&
2533 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2534 # program-specific install script used by HP pwplus--don't use.
2537 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2549 if test "${ac_cv_path_install+set}" = set; then
2550 INSTALL
=$ac_cv_path_install
2552 # As a last resort, use the slow shell script. We don't cache a
2553 # path for INSTALL within a source directory, because that will
2554 # break other packages using the cache if that directory is
2555 # removed, or if the path is relative.
2556 INSTALL
=$ac_install_sh
2559 echo "$as_me:$LINENO: result: $INSTALL" >&5
2560 echo "${ECHO_T}$INSTALL" >&6
2562 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2563 # It thinks the first close brace ends the variable substitution.
2564 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2566 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2568 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2570 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2571 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2574 echo timestamp
> conftest.
file
2575 # Do `set' in a subshell so we don't clobber the current shell's
2576 # arguments. Must try -L first in case configure is actually a
2577 # symlink; some systems play weird games with the mod time of symlinks
2578 # (eg FreeBSD returns the mod time of the symlink's containing
2581 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2582 if test "$*" = "X"; then
2584 set X
`ls -t $srcdir/configure conftest.file`
2587 if test "$*" != "X $srcdir/configure conftest.file" \
2588 && test "$*" != "X conftest.file $srcdir/configure"; then
2590 # If neither matched, then we have a broken ls. This can happen
2591 # if, for instance, CONFIG_SHELL is bash and it inherits a
2592 # broken ls alias from the environment. This has actually
2593 # happened. Such a system could not be considered "sane".
2594 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2595 alias in your environment" >&5
2596 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2597 alias in your environment" >&2;}
2598 { (exit 1); exit 1; }; }
2601 test "$2" = conftest.
file
2607 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2608 Check your system clock" >&5
2609 echo "$as_me: error: newly created file is older than distributed files!
2610 Check your system clock" >&2;}
2611 { (exit 1); exit 1; }; }
2613 echo "$as_me:$LINENO: result: yes" >&5
2614 echo "${ECHO_T}yes" >&6
2615 test "$program_prefix" != NONE
&&
2616 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2617 # Use a double $ so make ignores it.
2618 test "$program_suffix" != NONE
&&
2619 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2620 # Double any \ or $. echo might interpret backslashes.
2621 # By default was `s,x,x', remove it if useless.
2622 cat <<\_ACEOF
>conftest.
sed
2623 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2625 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2628 # expand $ac_aux_dir to an absolute path
2629 am_aux_dir
=`cd $ac_aux_dir && pwd`
2631 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2632 # Use eval to expand $SHELL
2633 if eval "$MISSING --run true"; then
2634 am_missing_run
="$MISSING --run "
2637 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2638 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2641 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2642 # We used to keeping the `.' as first argument, in order to
2643 # allow $(mkdir_p) to be used without argument. As in
2644 # $(mkdir_p) $(somedir)
2645 # where $(somedir) is conditionally defined. However this is wrong
2647 # 1. if the package is installed by a user who cannot write `.'
2648 # make install will fail,
2649 # 2. the above comment should most certainly read
2650 # $(mkdir_p) $(DESTDIR)$(somedir)
2651 # so it does not work when $(somedir) is undefined and
2652 # $(DESTDIR) is not.
2653 # To support the latter case, we have to write
2654 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2655 # so the `.' trick is pointless.
2656 mkdir_p
='mkdir -p --'
2658 # On NextStep and OpenStep, the `mkdir' command does not
2659 # recognize any option. It will interpret all options as
2660 # directories to create, and then abort because `.' already
2662 for d
in .
/-p .
/--version;
2664 test -d $d && rmdir $d
2666 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2667 if test -f "$ac_aux_dir/mkinstalldirs"; then
2668 mkdir_p
='$(mkinstalldirs)'
2670 mkdir_p
='$(install_sh) -d'
2674 for ac_prog
in gawk mawk nawk
awk
2676 # Extract the first word of "$ac_prog", so it can be a program name with args.
2677 set dummy
$ac_prog; ac_word
=$2
2678 echo "$as_me:$LINENO: checking for $ac_word" >&5
2679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2680 if test "${ac_cv_prog_AWK+set}" = set; then
2681 echo $ECHO_N "(cached) $ECHO_C" >&6
2683 if test -n "$AWK"; then
2684 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 for ac_exec_ext
in '' $ac_executable_extensions; do
2692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2693 ac_cv_prog_AWK
="$ac_prog"
2694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 if test -n "$AWK"; then
2704 echo "$as_me:$LINENO: result: $AWK" >&5
2705 echo "${ECHO_T}$AWK" >&6
2707 echo "$as_me:$LINENO: result: no" >&5
2708 echo "${ECHO_T}no" >&6
2711 test -n "$AWK" && break
2714 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2715 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2716 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2717 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 cat >conftest.
make <<\_ACEOF
2722 @
echo 'ac_maketemp="$(MAKE)"'
2724 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2725 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2726 if test -n "$ac_maketemp"; then
2727 eval ac_cv_prog_make_
${ac_make}_set
=yes
2729 eval ac_cv_prog_make_
${ac_make}_set
=no
2733 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2734 echo "$as_me:$LINENO: result: yes" >&5
2735 echo "${ECHO_T}yes" >&6
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2740 SET_MAKE
="MAKE=${MAKE-make}"
2743 rm -rf .tst
2>/dev
/null
2744 mkdir .tst
2>/dev
/null
2745 if test -d .tst
; then
2750 rmdir .tst
2>/dev
/null
2752 DEPDIR
="${am__leading_dot}deps"
2754 ac_config_commands
="$ac_config_commands depfiles"
2757 am_make
=${MAKE-make}
2758 cat > confinc
<< 'END'
2763 # If we don't find an include directive, just comment out the code.
2764 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2765 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2769 # First try GNU make style include.
2770 echo "include confinc" > confmf
2771 # We grep out `Entering directory' and `Leaving directory'
2772 # messages which can occur if `w' ends up in MAKEFLAGS.
2773 # In particular we don't look at `^make:' because GNU make might
2774 # be invoked under some other name (usually "gmake"), in which
2775 # case it prints its new name instead of `make'.
2776 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2781 # Now try BSD make style include.
2782 if test "$am__include" = "#"; then
2783 echo '.include "confinc"' > confmf
2784 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2785 am__include
=.include
2792 echo "$as_me:$LINENO: result: $_am_result" >&5
2793 echo "${ECHO_T}$_am_result" >&6
2794 rm -f confinc confmf
2796 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2797 if test "${enable_dependency_tracking+set}" = set; then
2798 enableval
="$enable_dependency_tracking"
2801 if test "x$enable_dependency_tracking" != xno
; then
2802 am_depcomp
="$ac_aux_dir/depcomp"
2807 if test "x$enable_dependency_tracking" != xno; then
2817 # test to see if srcdir already configured
2818 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2819 test -f $srcdir/config.status
; then
2820 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2821 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2822 { (exit 1); exit 1; }; }
2825 # test whether we have cygpath
2826 if test -z "$CYGPATH_W"; then
2827 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2828 CYGPATH_W
='cygpath -w'
2835 # Define the identity of the package.
2837 VERSION
=${BFD_VERSION}
2840 cat >>confdefs.h
<<_ACEOF
2841 #define PACKAGE "$PACKAGE"
2845 cat >>confdefs.h
<<_ACEOF
2846 #define VERSION "$VERSION"
2849 # Some tools Automake needs.
2851 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2854 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2857 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2860 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2863 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2865 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2867 # Installed binaries are usually stripped using `strip' when the user
2868 # run `make install-strip'. However `strip' might not be the right
2869 # tool to use in cross-compilation environments, therefore Automake
2870 # will honor the `STRIP' environment variable to overrule this program.
2871 if test "$cross_compiling" != no
; then
2872 if test -n "$ac_tool_prefix"; then
2873 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2874 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2875 echo "$as_me:$LINENO: checking for $ac_word" >&5
2876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2877 if test "${ac_cv_prog_STRIP+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 if test -n "$STRIP"; then
2881 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir
=.
2888 for ac_exec_ext
in '' $ac_executable_extensions; do
2889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2890 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 STRIP
=$ac_cv_prog_STRIP
2900 if test -n "$STRIP"; then
2901 echo "$as_me:$LINENO: result: $STRIP" >&5
2902 echo "${ECHO_T}$STRIP" >&6
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2909 if test -z "$ac_cv_prog_STRIP"; then
2911 # Extract the first word of "strip", so it can be a program name with args.
2912 set dummy strip
; ac_word
=$2
2913 echo "$as_me:$LINENO: checking for $ac_word" >&5
2914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2915 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2916 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 if test -n "$ac_ct_STRIP"; then
2919 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir
=.
2926 for ac_exec_ext
in '' $ac_executable_extensions; do
2927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2928 ac_cv_prog_ac_ct_STRIP
="strip"
2929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2938 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2939 if test -n "$ac_ct_STRIP"; then
2940 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2941 echo "${ECHO_T}$ac_ct_STRIP" >&6
2943 echo "$as_me:$LINENO: result: no" >&5
2944 echo "${ECHO_T}no" >&6
2949 STRIP
="$ac_cv_prog_STRIP"
2953 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2955 # We need awk for the "check" target. The system "awk" is bad on
2957 # Always define AMTAR for backward compatibility.
2959 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2961 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2966 depcc
="$CC" am_compiler_list
=
2968 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2969 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2970 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2971 echo $ECHO_N "(cached) $ECHO_C" >&6
2973 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2974 # We make a subdir and do the tests there. Otherwise we can end up
2975 # making bogus files that we don't know about and never remove. For
2976 # instance it was reported that on HP-UX the gcc test will end up
2977 # making a dummy file named `D' -- because `-MD' means `put the output
2980 # Copy depcomp to subdir because otherwise we won't find it if we're
2981 # using a relative directory.
2982 cp "$am_depcomp" conftest.dir
2984 # We will build objects and dependencies in a subdirectory because
2985 # it helps to detect inapplicable dependency modes. For instance
2986 # both Tru64's cc and ICC support -MD to output dependencies as a
2987 # side effect of compilation, but ICC will put the dependencies in
2988 # the current directory while Tru64 will put them in the object
2992 am_cv_CC_dependencies_compiler_type
=none
2993 if test "$am_compiler_list" = ""; then
2994 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2996 for depmode
in $am_compiler_list; do
2997 # Setup a source with many dependencies, because some compilers
2998 # like to wrap large dependency lists on column 80 (with \), and
2999 # we should not choose a depcomp mode which is confused by this.
3001 # We need to recreate these files for each test, as the compiler may
3002 # overwrite some of them when testing with obscure command lines.
3003 # This happens at least with the AIX C compiler.
3005 for i
in 1 2 3 4 5 6; do
3006 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3007 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3008 # Solaris 8's {/usr,}/bin/sh.
3009 touch sub
/conftst
$i.h
3011 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3015 # after this tag, mechanisms are not by side-effect, so they'll
3016 # only be used when explicitly requested
3017 if test "x$enable_dependency_tracking" = xyes
; then
3025 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3026 # mode. It turns out that the SunPro C++ compiler does not properly
3027 # handle `-M -o', and we need to detect this.
3028 if depmode
=$depmode \
3029 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3030 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3031 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3032 >/dev
/null
2>conftest.err
&&
3033 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3034 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3035 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3036 # icc doesn't choke on unknown options, it will just issue warnings
3037 # or remarks (even with -Werror). So we grep stderr for any message
3038 # that says an option was ignored or not supported.
3039 # When given -MP, icc 7.0 and 7.1 complain thusly:
3040 # icc: Command line warning: ignoring option '-M'; no argument required
3041 # The diagnosis changed in icc 8.0:
3042 # icc: Command line remark: option '-MP' not supported
3043 if (grep 'ignoring option' conftest.err ||
3044 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3045 am_cv_CC_dependencies_compiler_type
=$depmode
3054 am_cv_CC_dependencies_compiler_type
=none
3058 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3059 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3060 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3065 test "x$enable_dependency_tracking" != xno \
3066 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3068 am__fastdepCC_FALSE
='#'
3070 am__fastdepCC_TRUE
='#'
3071 am__fastdepCC_FALSE
=
3077 # Check whether --enable-shared or --disable-shared was given.
3078 if test "${enable_shared+set}" = set; then
3079 enableval
="$enable_shared"
3080 p
=${PACKAGE-default}
3082 yes) enable_shared
=yes ;;
3083 no
) enable_shared
=no
;;
3086 # Look at the argument we got. We use all the common list separators.
3087 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3088 for pkg
in $enableval; do
3089 if test "X$pkg" = "X$p"; then
3099 # Check whether --enable-static or --disable-static was given.
3100 if test "${enable_static+set}" = set; then
3101 enableval
="$enable_static"
3102 p
=${PACKAGE-default}
3104 yes) enable_static
=yes ;;
3105 no
) enable_static
=no
;;
3108 # Look at the argument we got. We use all the common list separators.
3109 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3110 for pkg
in $enableval; do
3111 if test "X$pkg" = "X$p"; then
3121 # Check whether --enable-fast-install or --disable-fast-install was given.
3122 if test "${enable_fast_install+set}" = set; then
3123 enableval
="$enable_fast_install"
3124 p
=${PACKAGE-default}
3126 yes) enable_fast_install
=yes ;;
3127 no
) enable_fast_install
=no
;;
3129 enable_fast_install
=no
3130 # Look at the argument we got. We use all the common list separators.
3131 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3132 for pkg
in $enableval; do
3133 if test "X$pkg" = "X$p"; then
3134 enable_fast_install
=yes
3141 enable_fast_install
=yes
3144 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3145 if test "${with_gnu_ld+set}" = set; then
3146 withval
="$with_gnu_ld"
3147 test "$withval" = no || with_gnu_ld
=yes
3152 if test "$GCC" = yes; then
3153 # Check if gcc -print-prog-name=ld gives a path.
3154 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3155 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3158 # gcc leaves a trailing carriage return which upsets mingw
3159 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3161 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3164 # Accept absolute paths.
3165 [\\/]* |
[A-Za-z
]:[\\/]*)
3166 re_direlt
='/[^/][^/]*/\.\./'
3167 # Canonicalize the path of ld
3168 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3169 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3170 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3172 test -z "$LD" && LD
="$ac_prog"
3175 # If it fails, then pretend we aren't using GCC.
3179 # If it is relative, then search for the first ld in PATH.
3183 elif test "$with_gnu_ld" = yes; then
3184 echo "$as_me:$LINENO: checking for GNU ld" >&5
3185 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3187 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3188 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3190 if test "${lt_cv_path_LD+set}" = set; then
3191 echo $ECHO_N "(cached) $ECHO_C" >&6
3193 if test -z "$LD"; then
3194 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3195 for ac_dir
in $PATH; do
3196 test -z "$ac_dir" && ac_dir
=.
3197 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3198 lt_cv_path_LD
="$ac_dir/$ac_prog"
3199 # Check to see if the program is GNU ld. I'd rather use --version,
3200 # but apparently some GNU ld's only accept -v.
3201 # Break only if it was the GNU/non-GNU ld that we prefer.
3202 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3203 test "$with_gnu_ld" != no
&& break
3205 test "$with_gnu_ld" != yes && break
3211 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3216 if test -n "$LD"; then
3217 echo "$as_me:$LINENO: result: $LD" >&5
3218 echo "${ECHO_T}$LD" >&6
3220 echo "$as_me:$LINENO: result: no" >&5
3221 echo "${ECHO_T}no" >&6
3223 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3224 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3225 { (exit 1); exit 1; }; }
3226 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3227 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3228 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3231 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3232 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3233 lt_cv_prog_gnu_ld
=yes
3235 lt_cv_prog_gnu_ld
=no
3238 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3239 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3240 with_gnu_ld
=$lt_cv_prog_gnu_ld
3243 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3244 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3245 if test "${lt_cv_ld_reload_flag+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
3248 lt_cv_ld_reload_flag
='-r'
3250 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3251 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3252 reload_flag
=$lt_cv_ld_reload_flag
3253 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3255 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3256 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3257 if test "${lt_cv_path_NM+set}" = set; then
3258 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 if test -n "$NM"; then
3261 # Let the user override the test.
3264 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3265 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3266 test -z "$ac_dir" && ac_dir
=.
3267 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3268 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3269 # Check to see if the nm accepts a BSD-compat flag.
3270 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3271 # nm: unknown option "B" ignored
3272 # Tru64's nm complains that /dev/null is an invalid object file
3273 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3274 lt_cv_path_NM
="$tmp_nm -B"
3276 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3277 lt_cv_path_NM
="$tmp_nm -p"
3280 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3281 continue # so that we can try to find one that supports BSD flags
3286 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3291 echo "$as_me:$LINENO: result: $NM" >&5
3292 echo "${ECHO_T}$NM" >&6
3294 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3295 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3297 if test "$LN_S" = "ln -s"; then
3298 echo "$as_me:$LINENO: result: yes" >&5
3299 echo "${ECHO_T}yes" >&6
3301 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3302 echo "${ECHO_T}no, using $LN_S" >&6
3305 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3306 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3307 if test "${lt_cv_deplibs_check_method+set}" = set; then
3308 echo $ECHO_N "(cached) $ECHO_C" >&6
3310 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3311 lt_cv_file_magic_test_file
=
3312 lt_cv_deplibs_check_method
='unknown'
3313 # Need to set the preceding variable on all platforms that support
3314 # interlibrary dependencies.
3315 # 'none' -- dependencies not supported.
3316 # `unknown' -- same as none, but documents that we really don't know.
3317 # 'pass_all' -- all dependencies passed with no checks.
3318 # 'test_compile' -- check by making test program.
3319 # 'file_magic [regex]' -- check by looking for files in library path
3320 # which responds to the $file_magic_cmd with a given egrep regex.
3321 # If you have `file' or equivalent on your system and you're not sure
3322 # whether `pass_all' will *always* work, you probably want this one.
3326 lt_cv_deplibs_check_method
=pass_all
3330 lt_cv_deplibs_check_method
=pass_all
3334 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3335 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3336 lt_cv_file_magic_test_file
=/shlib
/libc.so
3339 cygwin
* | mingw
* |pw32
*)
3340 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3341 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3344 darwin
* | rhapsody
*)
3345 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3346 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3348 rhapsody
* | darwin1.012
)
3349 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3352 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3357 freebsd
* | kfreebsd
*-gnu)
3358 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3361 # Not sure whether the presence of OpenBSD here was a mistake.
3362 # Let's accept both of them until this is cleared up.
3363 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3364 lt_cv_file_magic_cmd
=/usr
/bin
/file
3365 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3369 lt_cv_deplibs_check_method
=pass_all
3374 lt_cv_deplibs_check_method
=pass_all
3380 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3381 lt_cv_file_magic_cmd
=/usr
/bin
/file
3382 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3385 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3386 lt_cv_file_magic_cmd
=/usr
/bin
/file
3387 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3395 # this will be overridden with pass_all, but let us keep it just in case
3396 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3400 *-32|
*"-32 ") libmagic
=32-bit;;
3401 *-n32|
*"-n32 ") libmagic
=N32
;;
3402 *-64|
*"-64 ") libmagic
=64-bit;;
3403 *) libmagic
=never-match
;;
3405 # this will be overridden with pass_all, but let us keep it just in case
3406 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3409 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3410 lt_cv_deplibs_check_method
=pass_all
3413 # This must be Linux ELF.
3416 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3417 lt_cv_deplibs_check_method
=pass_all
;;
3419 # glibc up to 2.1.1 does not perform some relocations on ARM
3420 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3422 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3425 netbsd
* | knetbsd
*-gnu)
3426 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3427 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3429 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3434 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3435 lt_cv_file_magic_cmd
=/usr
/bin
/file
3436 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3439 osf3
* | osf4
* | osf5
*)
3440 # this will be overridden with pass_all, but let us keep it just in case
3441 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3442 lt_cv_file_magic_test_file
=/shlib
/libc.so
3443 lt_cv_deplibs_check_method
=pass_all
3447 lt_cv_deplibs_check_method
=pass_all
3451 lt_cv_deplibs_check_method
=pass_all
3452 lt_cv_file_magic_test_file
=/lib
/libc.so
3455 sysv5uw
[78]* | sysv4
*uw2
*)
3456 lt_cv_deplibs_check_method
=pass_all
3459 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3460 case $host_vendor in
3462 lt_cv_deplibs_check_method
=pass_all
3465 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]'
3466 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3473 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3474 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3475 file_magic_cmd
=$lt_cv_file_magic_cmd
3476 deplibs_check_method
=$lt_cv_deplibs_check_method
3481 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3483 # Only perform the check for file, if the check method requires it
3484 case $deplibs_check_method in
3486 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3487 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3488 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3489 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3494 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3497 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3500 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3501 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3502 ac_dummy
="/usr/bin:$PATH"
3503 for ac_dir
in $ac_dummy; do
3504 test -z "$ac_dir" && ac_dir
=.
3505 if test -f $ac_dir/${ac_tool_prefix}file; then
3506 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3507 if test -n "$file_magic_test_file"; then
3508 case $deplibs_check_method in
3510 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3511 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3512 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3513 egrep "$file_magic_regex" > /dev
/null
; then
3518 *** Warning: the command libtool uses to detect shared libraries,
3519 *** $file_magic_cmd, produces output that libtool cannot recognize.
3520 *** The result is that libtool may fail to recognize shared libraries
3521 *** as such. This will affect the creation of libtool libraries that
3522 *** depend on shared libraries, but programs linked with such libtool
3523 *** libraries will work regardless of this problem. Nevertheless, you
3524 *** may want to report the problem to your system manager and/or to
3525 *** bug-libtool@gnu.org
3535 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3540 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3541 if test -n "$MAGIC_CMD"; then
3542 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3543 echo "${ECHO_T}$MAGIC_CMD" >&6
3545 echo "$as_me:$LINENO: result: no" >&5
3546 echo "${ECHO_T}no" >&6
3549 if test -z "$lt_cv_path_MAGIC_CMD"; then
3550 if test -n "$ac_tool_prefix"; then
3551 echo "$as_me:$LINENO: checking for file" >&5
3552 echo $ECHO_N "checking for file... $ECHO_C" >&6
3553 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3561 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3564 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3565 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3566 ac_dummy
="/usr/bin:$PATH"
3567 for ac_dir
in $ac_dummy; do
3568 test -z "$ac_dir" && ac_dir
=.
3569 if test -f $ac_dir/file; then
3570 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3571 if test -n "$file_magic_test_file"; then
3572 case $deplibs_check_method in
3574 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3575 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3576 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3577 egrep "$file_magic_regex" > /dev
/null
; then
3582 *** Warning: the command libtool uses to detect shared libraries,
3583 *** $file_magic_cmd, produces output that libtool cannot recognize.
3584 *** The result is that libtool may fail to recognize shared libraries
3585 *** as such. This will affect the creation of libtool libraries that
3586 *** depend on shared libraries, but programs linked with such libtool
3587 *** libraries will work regardless of this problem. Nevertheless, you
3588 *** may want to report the problem to your system manager and/or to
3589 *** bug-libtool@gnu.org
3599 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3604 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3605 if test -n "$MAGIC_CMD"; then
3606 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3607 echo "${ECHO_T}$MAGIC_CMD" >&6
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3622 if test -n "$ac_tool_prefix"; then
3623 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3624 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3625 echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3627 if test "${ac_cv_prog_RANLIB+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
3630 if test -n "$RANLIB"; then
3631 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3637 test -z "$as_dir" && as_dir
=.
3638 for ac_exec_ext
in '' $ac_executable_extensions; do
3639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3640 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 RANLIB
=$ac_cv_prog_RANLIB
3650 if test -n "$RANLIB"; then
3651 echo "$as_me:$LINENO: result: $RANLIB" >&5
3652 echo "${ECHO_T}$RANLIB" >&6
3654 echo "$as_me:$LINENO: result: no" >&5
3655 echo "${ECHO_T}no" >&6
3659 if test -z "$ac_cv_prog_RANLIB"; then
3660 ac_ct_RANLIB
=$RANLIB
3661 # Extract the first word of "ranlib", so it can be a program name with args.
3662 set dummy ranlib
; ac_word
=$2
3663 echo "$as_me:$LINENO: checking for $ac_word" >&5
3664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3665 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 if test -n "$ac_ct_RANLIB"; then
3669 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3675 test -z "$as_dir" && as_dir
=.
3676 for ac_exec_ext
in '' $ac_executable_extensions; do
3677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3678 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3685 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3688 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3689 if test -n "$ac_ct_RANLIB"; then
3690 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3691 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3693 echo "$as_me:$LINENO: result: no" >&5
3694 echo "${ECHO_T}no" >&6
3697 RANLIB
=$ac_ct_RANLIB
3699 RANLIB
="$ac_cv_prog_RANLIB"
3702 if test -n "$ac_tool_prefix"; then
3703 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3704 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3705 echo "$as_me:$LINENO: checking for $ac_word" >&5
3706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3707 if test "${ac_cv_prog_STRIP+set}" = set; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 if test -n "$STRIP"; then
3711 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3717 test -z "$as_dir" && as_dir
=.
3718 for ac_exec_ext
in '' $ac_executable_extensions; do
3719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3720 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3729 STRIP
=$ac_cv_prog_STRIP
3730 if test -n "$STRIP"; then
3731 echo "$as_me:$LINENO: result: $STRIP" >&5
3732 echo "${ECHO_T}$STRIP" >&6
3734 echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6
3739 if test -z "$ac_cv_prog_STRIP"; then
3741 # Extract the first word of "strip", so it can be a program name with args.
3742 set dummy strip
; ac_word
=$2
3743 echo "$as_me:$LINENO: checking for $ac_word" >&5
3744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3745 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 if test -n "$ac_ct_STRIP"; then
3749 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3755 test -z "$as_dir" && as_dir
=.
3756 for ac_exec_ext
in '' $ac_executable_extensions; do
3757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3758 ac_cv_prog_ac_ct_STRIP
="strip"
3759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3768 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3769 if test -n "$ac_ct_STRIP"; then
3770 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3771 echo "${ECHO_T}$ac_ct_STRIP" >&6
3773 echo "$as_me:$LINENO: result: no" >&5
3774 echo "${ECHO_T}no" >&6
3779 STRIP
="$ac_cv_prog_STRIP"
3783 # Check for any special flags to pass to ltconfig.
3784 libtool_flags
="--cache-file=$cache_file"
3785 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3786 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3787 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3788 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3789 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3792 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3793 if test "${enable_libtool_lock+set}" = set; then
3794 enableval
="$enable_libtool_lock"
3797 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3798 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3801 # Check whether --with-pic or --without-pic was given.
3802 if test "${with_pic+set}" = set; then
3808 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3809 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3811 # Some flags need to be propagated to the compiler or linker for good
3815 # Find out which ABI we are using.
3816 echo '#line 3816 "configure"' > conftest.
$ac_ext
3817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3818 (eval $ac_compile) 2>&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; then
3822 if test "$lt_cv_prog_gnu_ld" = yes; then
3823 case `/usr/bin/file conftest.$ac_objext` in
3825 LD
="${LD-ld} -melf32bsmip"
3828 LD
="${LD-ld} -melf32bmipn32"
3831 LD
="${LD-ld} -melf64bmip"
3835 case `/usr/bin/file conftest.$ac_objext` in
3852 # Find out which ABI we are using.
3853 echo 'int i;' > conftest.
$ac_ext
3854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3855 (eval $ac_compile) 2>&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); }; then
3859 case "`/usr/bin/file conftest.o`" in
3872 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3873 SAVE_CFLAGS
="$CFLAGS"
3874 CFLAGS
="$CFLAGS -belf"
3875 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3876 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3877 if test "${lt_cv_cc_needs_belf+set}" = set; then
3878 echo $ECHO_N "(cached) $ECHO_C" >&6
3883 ac_cpp
='$CPP $CPPFLAGS'
3884 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3885 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3886 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3888 cat >conftest.
$ac_ext <<_ACEOF
3891 cat confdefs.h
>>conftest.
$ac_ext
3892 cat >>conftest.
$ac_ext <<_ACEOF
3893 /* end confdefs.h. */
3903 rm -f conftest.
$ac_objext conftest
$ac_exeext
3904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3905 (eval $ac_link) 2>conftest.er1
3907 grep -v '^ *+' conftest.er1
>conftest.err
3909 cat conftest.err
>&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); } &&
3912 { ac_try
='test -z "$ac_c_werror_flag"
3913 || test ! -s conftest.err'
3914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); }; } &&
3919 { ac_try
='test -s conftest$ac_exeext'
3920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924 (exit $ac_status); }; }; then
3925 lt_cv_cc_needs_belf
=yes
3927 echo "$as_me: failed program was:" >&5
3928 sed 's/^/| /' conftest.
$ac_ext >&5
3930 lt_cv_cc_needs_belf
=no
3932 rm -f conftest.err conftest.
$ac_objext \
3933 conftest
$ac_exeext conftest.
$ac_ext
3935 ac_cpp
='$CPP $CPPFLAGS'
3936 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3937 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3941 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3942 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3943 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3944 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3945 CFLAGS
="$SAVE_CFLAGS"
3953 # Save cache, so that ltconfig can load it
3954 cat >confcache
<<\_ACEOF
3955 # This file is a shell script that caches the results of configure
3956 # tests run on this system so they can be shared between configure
3957 # scripts and configure runs, see configure's option --config-cache.
3958 # It is not useful on other systems. If it contains results you don't
3959 # want to keep, you may remove or edit it.
3961 # config.status only pays attention to the cache file if you give it
3962 # the --recheck option to rerun configure.
3964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3970 # The following way of writing the cache mishandles newlines in values,
3971 # but we know of no workaround that is simple, portable, and efficient.
3972 # So, don't put newlines in cache variables' values.
3973 # Ultrix sh set writes to stderr and can't be redirected directly,
3974 # and sets the high bit in the cache file unless we assign to the vars.
3977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3979 # `set' does not quote correctly, so add quotes (double-quote
3980 # substitution turns \\\\ into \\, and sed turns \\ into \).
3983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3986 # `set' quotes correctly as required by POSIX, so do not add quotes.
3988 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3997 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3999 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4000 if test -w $cache_file; then
4001 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4002 cat confcache
>$cache_file
4004 echo "not updating unwritable cache $cache_file"
4009 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4010 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4011 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4012 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4013 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4014 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4015 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4016 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4017 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4018 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4019 echo "$as_me: error: libtool configure failed" >&2;}
4020 { (exit 1); exit 1; }; }
4022 # Reload cache, that may have been modified by ltconfig
4023 if test -r "$cache_file"; then
4024 # Some versions of bash will fail to source /dev/null (special
4025 # files actually), so we avoid doing that.
4026 if test -f "$cache_file"; then
4027 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4028 echo "$as_me: loading cache $cache_file" >&6;}
4030 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4031 *) . .
/$cache_file;;
4035 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4036 echo "$as_me: creating cache $cache_file" >&6;}
4041 # This can be used to rebuild libtool when needed
4042 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4044 # Always use our own libtool.
4045 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4047 # Redirect the config.log output again, so that the ltconfig log is not
4048 # clobbered by the next message.
4049 exec 5>>.
/config.log
4058 # Check whether --with-lib-path or --without-lib-path was given.
4059 if test "${with_lib_path+set}" = set; then
4060 withval
="$with_lib_path"
4063 # Check whether --enable-targets or --disable-targets was given.
4064 if test "${enable_targets+set}" = set; then
4065 enableval
="$enable_targets"
4066 case "${enableval}" in
4067 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4068 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4069 { (exit 1); exit 1; }; }
4071 no
) enable_targets
= ;;
4072 *) enable_targets
=$enableval ;;
4074 fi; # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4075 if test "${enable_64_bit_bfd+set}" = set; then
4076 enableval
="$enable_64_bit_bfd"
4077 case "${enableval}" in
4080 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4081 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
4082 { (exit 1); exit 1; }; } ;;
4088 # Check whether --with-sysroot or --without-sysroot was given.
4089 if test "${with_sysroot+set}" = set; then
4090 withval
="$with_sysroot"
4092 case ${with_sysroot} in
4093 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
4094 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
4097 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
4100 if test "x$exec_prefix" = xNONE
; then
4101 if test "x$prefix" = xNONE
; then
4102 test_prefix
=/usr
/local
4107 test_prefix
=$exec_prefix
4109 case ${TARGET_SYSTEM_ROOT} in
4110 "${test_prefix}"|
"${test_prefix}/"*|\
4111 '${exec_prefix}'|
'${exec_prefix}/'*)
4112 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
4113 TARGET_SYSTEM_ROOT_DEFINE
="$t"
4121 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
4129 WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4131 # Check whether --enable-werror or --disable-werror was given.
4132 if test "${enable_werror+set}" = set; then
4133 enableval
="$enable_werror"
4134 case "${enableval}" in
4135 yes | y
) ERROR_ON_WARNING
="yes" ;;
4136 no | n
) ERROR_ON_WARNING
="no" ;;
4137 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4138 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4139 { (exit 1); exit 1; }; } ;;
4143 # Enable -Werror by default when using gcc
4144 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4145 ERROR_ON_WARNING
=yes
4149 if test "${ERROR_ON_WARNING}" = yes ; then
4150 WARN_CFLAGS
="$WARN_CFLAGS -Werror"
4151 NO_WERROR
="-Wno-error"
4154 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4155 if test "${enable_build_warnings+set}" = set; then
4156 enableval
="$enable_build_warnings"
4157 case "${enableval}" in
4159 no
) WARN_CFLAGS
="-w";;
4160 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4161 WARN_CFLAGS
="${WARN_CFLAGS} ${t}";;
4162 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4163 WARN_CFLAGS
="${t} ${WARN_CFLAGS}";;
4164 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4168 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4169 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4176 ac_config_headers
="$ac_config_headers config.h:config.in"
4179 if test -z "$target" ; then
4180 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4181 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4182 { (exit 1); exit 1; }; }
4184 if test -z "$host" ; then
4185 { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
4186 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
4187 { (exit 1); exit 1; }; }
4190 # host-specific stuff:
4193 ac_cpp
='$CPP $CPPFLAGS'
4194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4197 if test -n "$ac_tool_prefix"; then
4198 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4199 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4200 echo "$as_me:$LINENO: checking for $ac_word" >&5
4201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4202 if test "${ac_cv_prog_CC+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 if test -n "$CC"; then
4206 ac_cv_prog_CC
="$CC" # Let the user override the test.
4208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4212 test -z "$as_dir" && as_dir
=.
4213 for ac_exec_ext
in '' $ac_executable_extensions; do
4214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4215 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 if test -n "$CC"; then
4226 echo "$as_me:$LINENO: result: $CC" >&5
4227 echo "${ECHO_T}$CC" >&6
4229 echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6
4234 if test -z "$ac_cv_prog_CC"; then
4236 # Extract the first word of "gcc", so it can be a program name with args.
4237 set dummy gcc
; ac_word
=$2
4238 echo "$as_me:$LINENO: checking for $ac_word" >&5
4239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4240 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 if test -n "$ac_ct_CC"; then
4244 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4250 test -z "$as_dir" && as_dir
=.
4251 for ac_exec_ext
in '' $ac_executable_extensions; do
4252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4253 ac_cv_prog_ac_ct_CC
="gcc"
4254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4262 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4263 if test -n "$ac_ct_CC"; then
4264 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4265 echo "${ECHO_T}$ac_ct_CC" >&6
4267 echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6
4276 if test -z "$CC"; then
4277 if test -n "$ac_tool_prefix"; then
4278 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4279 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4280 echo "$as_me:$LINENO: checking for $ac_word" >&5
4281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4282 if test "${ac_cv_prog_CC+set}" = set; then
4283 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 if test -n "$CC"; then
4286 ac_cv_prog_CC
="$CC" # Let the user override the test.
4288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4292 test -z "$as_dir" && as_dir
=.
4293 for ac_exec_ext
in '' $ac_executable_extensions; do
4294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4295 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4305 if test -n "$CC"; then
4306 echo "$as_me:$LINENO: result: $CC" >&5
4307 echo "${ECHO_T}$CC" >&6
4309 echo "$as_me:$LINENO: result: no" >&5
4310 echo "${ECHO_T}no" >&6
4314 if test -z "$ac_cv_prog_CC"; then
4316 # Extract the first word of "cc", so it can be a program name with args.
4317 set dummy cc
; ac_word
=$2
4318 echo "$as_me:$LINENO: checking for $ac_word" >&5
4319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4320 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 if test -n "$ac_ct_CC"; then
4324 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4330 test -z "$as_dir" && as_dir
=.
4331 for ac_exec_ext
in '' $ac_executable_extensions; do
4332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4333 ac_cv_prog_ac_ct_CC
="cc"
4334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4342 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4343 if test -n "$ac_ct_CC"; then
4344 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4345 echo "${ECHO_T}$ac_ct_CC" >&6
4347 echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6
4357 if test -z "$CC"; then
4358 # Extract the first word of "cc", so it can be a program name with args.
4359 set dummy cc
; ac_word
=$2
4360 echo "$as_me:$LINENO: checking for $ac_word" >&5
4361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4362 if test "${ac_cv_prog_CC+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 if test -n "$CC"; then
4366 ac_cv_prog_CC
="$CC" # Let the user override the test.
4369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4373 test -z "$as_dir" && as_dir
=.
4374 for ac_exec_ext
in '' $ac_executable_extensions; do
4375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4376 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4377 ac_prog_rejected
=yes
4381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4387 if test $ac_prog_rejected = yes; then
4388 # We found a bogon in the path, so make sure we never use it.
4389 set dummy
$ac_cv_prog_CC
4391 if test $# != 0; then
4392 # We chose a different compiler from the bogus one.
4393 # However, it has the same basename, so the bogon will be chosen
4394 # first if we set CC to just the basename; use the full file name.
4396 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4402 if test -n "$CC"; then
4403 echo "$as_me:$LINENO: result: $CC" >&5
4404 echo "${ECHO_T}$CC" >&6
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4411 if test -z "$CC"; then
4412 if test -n "$ac_tool_prefix"; then
4415 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4416 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4417 echo "$as_me:$LINENO: checking for $ac_word" >&5
4418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4419 if test "${ac_cv_prog_CC+set}" = set; then
4420 echo $ECHO_N "(cached) $ECHO_C" >&6
4422 if test -n "$CC"; then
4423 ac_cv_prog_CC
="$CC" # Let the user override the test.
4425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4429 test -z "$as_dir" && as_dir
=.
4430 for ac_exec_ext
in '' $ac_executable_extensions; do
4431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4432 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 if test -n "$CC"; then
4443 echo "$as_me:$LINENO: result: $CC" >&5
4444 echo "${ECHO_T}$CC" >&6
4446 echo "$as_me:$LINENO: result: no" >&5
4447 echo "${ECHO_T}no" >&6
4450 test -n "$CC" && break
4453 if test -z "$CC"; then
4457 # Extract the first word of "$ac_prog", so it can be a program name with args.
4458 set dummy
$ac_prog; ac_word
=$2
4459 echo "$as_me:$LINENO: checking for $ac_word" >&5
4460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4461 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4462 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 if test -n "$ac_ct_CC"; then
4465 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4471 test -z "$as_dir" && as_dir
=.
4472 for ac_exec_ext
in '' $ac_executable_extensions; do
4473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4474 ac_cv_prog_ac_ct_CC
="$ac_prog"
4475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4483 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4484 if test -n "$ac_ct_CC"; then
4485 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4486 echo "${ECHO_T}$ac_ct_CC" >&6
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4492 test -n "$ac_ct_CC" && break
4501 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4502 See \`config.log' for more details." >&5
4503 echo "$as_me: error: no acceptable C compiler found in \$PATH
4504 See \`config.log' for more details." >&2;}
4505 { (exit 1); exit 1; }; }
4507 # Provide some information about the compiler.
4508 echo "$as_me:$LINENO:" \
4509 "checking for C compiler version" >&5
4510 ac_compiler
=`set X $ac_compile; echo $2`
4511 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4512 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); }
4516 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4517 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); }
4521 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4522 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); }
4527 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4528 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4529 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 cat >conftest.
$ac_ext <<_ACEOF
4535 cat confdefs.h
>>conftest.
$ac_ext
4536 cat >>conftest.
$ac_ext <<_ACEOF
4537 /* end confdefs.h. */
4550 rm -f conftest.
$ac_objext
4551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4552 (eval $ac_compile) 2>conftest.er1
4554 grep -v '^ *+' conftest.er1
>conftest.err
4556 cat conftest.err
>&5
4557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558 (exit $ac_status); } &&
4559 { ac_try
='test -z "$ac_c_werror_flag"
4560 || test ! -s conftest.err'
4561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); }; } &&
4566 { ac_try
='test -s conftest.$ac_objext'
4567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); }; }; then
4574 echo "$as_me: failed program was:" >&5
4575 sed 's/^/| /' conftest.
$ac_ext >&5
4579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4580 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4583 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4584 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4585 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4586 ac_test_CFLAGS
=${CFLAGS+set}
4587 ac_save_CFLAGS
=$CFLAGS
4589 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4590 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4591 if test "${ac_cv_prog_cc_g+set}" = set; then
4592 echo $ECHO_N "(cached) $ECHO_C" >&6
4594 cat >conftest.
$ac_ext <<_ACEOF
4597 cat confdefs.h
>>conftest.
$ac_ext
4598 cat >>conftest.
$ac_ext <<_ACEOF
4599 /* end confdefs.h. */
4609 rm -f conftest.
$ac_objext
4610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4611 (eval $ac_compile) 2>conftest.er1
4613 grep -v '^ *+' conftest.er1
>conftest.err
4615 cat conftest.err
>&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); } &&
4618 { ac_try
='test -z "$ac_c_werror_flag"
4619 || test ! -s conftest.err'
4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); }; } &&
4625 { ac_try
='test -s conftest.$ac_objext'
4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); }; }; then
4633 echo "$as_me: failed program was:" >&5
4634 sed 's/^/| /' conftest.
$ac_ext >&5
4638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4640 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4641 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4642 if test "$ac_test_CFLAGS" = set; then
4643 CFLAGS
=$ac_save_CFLAGS
4644 elif test $ac_cv_prog_cc_g = yes; then
4645 if test "$GCC" = yes; then
4651 if test "$GCC" = yes; then
4657 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4658 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4659 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4660 echo $ECHO_N "(cached) $ECHO_C" >&6
4662 ac_cv_prog_cc_stdc
=no
4664 cat >conftest.
$ac_ext <<_ACEOF
4667 cat confdefs.h
>>conftest.
$ac_ext
4668 cat >>conftest.
$ac_ext <<_ACEOF
4669 /* end confdefs.h. */
4672 #include <sys/types.h>
4673 #include <sys/stat.h>
4674 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4675 struct buf { int x; };
4676 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4677 static char *e (p, i)
4683 static char *f (char * (*g) (char **, int), char **p, ...)
4688 s = g (p, va_arg (v,int));
4693 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4694 function prototypes and stuff, but not '\xHH' hex character constants.
4695 These don't provoke an error unfortunately, instead are silently treated
4696 as 'x'. The following induces an error, until -std1 is added to get
4697 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4698 array size at least. It's necessary to write '\x00'==0 to get something
4699 that's true only with -std1. */
4700 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4702 int test (int i, double x);
4703 struct s1 {int (*f) (int a);};
4704 struct s2 {int (*f) (double a);};
4705 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4711 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4716 # Don't try gcc -ansi; that turns off useful extensions and
4717 # breaks some systems' header files.
4718 # AIX -qlanglvl=ansi
4719 # Ultrix and OSF/1 -std1
4720 # HP-UX 10.20 and later -Ae
4721 # HP-UX older versions -Aa -D_HPUX_SOURCE
4722 # SVR4 -Xc -D__EXTENSIONS__
4723 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4725 CC
="$ac_save_CC $ac_arg"
4726 rm -f conftest.
$ac_objext
4727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4728 (eval $ac_compile) 2>conftest.er1
4730 grep -v '^ *+' conftest.er1
>conftest.err
4732 cat conftest.err
>&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); } &&
4735 { ac_try
='test -z "$ac_c_werror_flag"
4736 || test ! -s conftest.err'
4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; } &&
4742 { ac_try
='test -s conftest.$ac_objext'
4743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }; }; then
4748 ac_cv_prog_cc_stdc
=$ac_arg
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.
$ac_ext >&5
4755 rm -f conftest.err conftest.
$ac_objext
4757 rm -f conftest.
$ac_ext conftest.
$ac_objext
4762 case "x$ac_cv_prog_cc_stdc" in
4764 echo "$as_me:$LINENO: result: none needed" >&5
4765 echo "${ECHO_T}none needed" >&6 ;;
4767 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4768 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4769 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4772 # Some people use a C++ compiler to compile C. Since we use `exit',
4773 # in C++ we need to declare it. In case someone uses the same compiler
4774 # for both compiling C and C++ we need to have the C++ compiler decide
4775 # the declaration of exit, since it's the most demanding environment.
4776 cat >conftest.
$ac_ext <<_ACEOF
4781 rm -f conftest.
$ac_objext
4782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4783 (eval $ac_compile) 2>conftest.er1
4785 grep -v '^ *+' conftest.er1
>conftest.err
4787 cat conftest.err
>&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); } &&
4790 { ac_try
='test -z "$ac_c_werror_flag"
4791 || test ! -s conftest.err'
4792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); }; } &&
4797 { ac_try
='test -s conftest.$ac_objext'
4798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); }; }; then
4803 for ac_declaration
in \
4805 'extern "C" void std::exit (int) throw (); using std::exit;' \
4806 'extern "C" void std::exit (int); using std::exit;' \
4807 'extern "C" void exit (int) throw ();' \
4808 'extern "C" void exit (int);' \
4811 cat >conftest.
$ac_ext <<_ACEOF
4814 cat confdefs.h
>>conftest.
$ac_ext
4815 cat >>conftest.
$ac_ext <<_ACEOF
4816 /* end confdefs.h. */
4827 rm -f conftest.
$ac_objext
4828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4829 (eval $ac_compile) 2>conftest.er1
4831 grep -v '^ *+' conftest.er1
>conftest.err
4833 cat conftest.err
>&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } &&
4836 { ac_try
='test -z "$ac_c_werror_flag"
4837 || test ! -s conftest.err'
4838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); }; } &&
4843 { ac_try
='test -s conftest.$ac_objext'
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; }; then
4851 echo "$as_me: failed program was:" >&5
4852 sed 's/^/| /' conftest.
$ac_ext >&5
4856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4857 cat >conftest.
$ac_ext <<_ACEOF
4860 cat confdefs.h
>>conftest.
$ac_ext
4861 cat >>conftest.
$ac_ext <<_ACEOF
4862 /* end confdefs.h. */
4872 rm -f conftest.
$ac_objext
4873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4874 (eval $ac_compile) 2>conftest.er1
4876 grep -v '^ *+' conftest.er1
>conftest.err
4878 cat conftest.err
>&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); } &&
4881 { ac_try
='test -z "$ac_c_werror_flag"
4882 || test ! -s conftest.err'
4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; } &&
4888 { ac_try
='test -s conftest.$ac_objext'
4889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; }; then
4896 echo "$as_me: failed program was:" >&5
4897 sed 's/^/| /' conftest.
$ac_ext >&5
4900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4903 if test -n "$ac_declaration"; then
4904 echo '#ifdef __cplusplus' >>confdefs.h
4905 echo $ac_declaration >>confdefs.h
4906 echo '#endif' >>confdefs.h
4910 echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.
$ac_ext >&5
4914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4916 ac_cpp
='$CPP $CPPFLAGS'
4917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4921 # Find a good install program. We prefer a C program (faster),
4922 # so one script is as good as another. But avoid the broken or
4923 # incompatible versions:
4924 # SysV /etc/install, /usr/sbin/install
4925 # SunOS /usr/etc/install
4926 # IRIX /sbin/install
4928 # AmigaOS /C/install, which installs bootblocks on floppy discs
4929 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4930 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4931 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4932 # OS/2's system install, which has a completely different semantic
4933 # ./install, which can be erroneously created by make from ./install.sh.
4934 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4935 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4936 if test -z "$INSTALL"; then
4937 if test "${ac_cv_path_install+set}" = set; then
4938 echo $ECHO_N "(cached) $ECHO_C" >&6
4940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4944 test -z "$as_dir" && as_dir
=.
4945 # Account for people who put trailing slashes in PATH elements.
4947 .
/ | .
// |
/cC
/* | \
4948 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4949 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4952 # OSF1 and SCO ODT 3.0 have their own names for install.
4953 # Don't use installbsd from OSF since it installs stuff as root
4955 for ac_prog
in ginstall scoinst
install; do
4956 for ac_exec_ext
in '' $ac_executable_extensions; do
4957 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4958 if test $ac_prog = install &&
4959 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4960 # AIX install. It has an incompatible calling convention.
4962 elif test $ac_prog = install &&
4963 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4964 # program-specific install script used by HP pwplus--don't use.
4967 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4979 if test "${ac_cv_path_install+set}" = set; then
4980 INSTALL
=$ac_cv_path_install
4982 # As a last resort, use the slow shell script. We don't cache a
4983 # path for INSTALL within a source directory, because that will
4984 # break other packages using the cache if that directory is
4985 # removed, or if the path is relative.
4986 INSTALL
=$ac_install_sh
4989 echo "$as_me:$LINENO: result: $INSTALL" >&5
4990 echo "${ECHO_T}$INSTALL" >&6
4992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4993 # It thinks the first close brace ends the variable substitution.
4994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4998 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5001 ALL_LINGUAS
="fr sv tr es da"
5002 if test -n "$ac_tool_prefix"; then
5003 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5004 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5005 echo "$as_me:$LINENO: checking for $ac_word" >&5
5006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5007 if test "${ac_cv_prog_RANLIB+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5010 if test -n "$RANLIB"; then
5011 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5017 test -z "$as_dir" && as_dir
=.
5018 for ac_exec_ext
in '' $ac_executable_extensions; do
5019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5020 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 RANLIB
=$ac_cv_prog_RANLIB
5030 if test -n "$RANLIB"; then
5031 echo "$as_me:$LINENO: result: $RANLIB" >&5
5032 echo "${ECHO_T}$RANLIB" >&6
5034 echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6
5039 if test -z "$ac_cv_prog_RANLIB"; then
5040 ac_ct_RANLIB
=$RANLIB
5041 # Extract the first word of "ranlib", so it can be a program name with args.
5042 set dummy ranlib
; ac_word
=$2
5043 echo "$as_me:$LINENO: checking for $ac_word" >&5
5044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5045 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5046 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 if test -n "$ac_ct_RANLIB"; then
5049 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir
=.
5056 for ac_exec_ext
in '' $ac_executable_extensions; do
5057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5058 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5068 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5069 if test -n "$ac_ct_RANLIB"; then
5070 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5071 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5073 echo "$as_me:$LINENO: result: no" >&5
5074 echo "${ECHO_T}no" >&6
5077 RANLIB
=$ac_ct_RANLIB
5079 RANLIB
="$ac_cv_prog_RANLIB"
5083 ac_cpp
='$CPP $CPPFLAGS'
5084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5087 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5088 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5089 # On Suns, sometimes $CPP names a directory.
5090 if test -n "$CPP" && test -d "$CPP"; then
5093 if test -z "$CPP"; then
5094 if test "${ac_cv_prog_CPP+set}" = set; then
5095 echo $ECHO_N "(cached) $ECHO_C" >&6
5097 # Double quotes because CPP needs to be expanded
5098 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5101 for ac_c_preproc_warn_flag
in '' yes
5103 # Use a header file that comes with gcc, so configuring glibc
5104 # with a fresh cross-compiler works.
5105 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5106 # <limits.h> exists even on freestanding compilers.
5107 # On the NeXT, cc -E runs the code through the compiler's parser,
5108 # not just through cpp. "Syntax error" is here to catch this case.
5109 cat >conftest.
$ac_ext <<_ACEOF
5112 cat confdefs.h
>>conftest.
$ac_ext
5113 cat >>conftest.
$ac_ext <<_ACEOF
5114 /* end confdefs.h. */
5116 # include <limits.h>
5118 # include <assert.h>
5122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5125 grep -v '^ *+' conftest.er1
>conftest.err
5127 cat conftest.err
>&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); } >/dev
/null
; then
5130 if test -s conftest.err
; then
5131 ac_cpp_err
=$ac_c_preproc_warn_flag
5132 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5139 if test -z "$ac_cpp_err"; then
5142 echo "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.
$ac_ext >&5
5145 # Broken: fails on valid input.
5148 rm -f conftest.err conftest.
$ac_ext
5150 # OK, works on sane cases. Now check whether non-existent headers
5151 # can be detected and how.
5152 cat >conftest.
$ac_ext <<_ACEOF
5155 cat confdefs.h
>>conftest.
$ac_ext
5156 cat >>conftest.
$ac_ext <<_ACEOF
5157 /* end confdefs.h. */
5158 #include <ac_nonexistent.h>
5160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5161 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5163 grep -v '^ *+' conftest.er1
>conftest.err
5165 cat conftest.err
>&5
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); } >/dev
/null
; then
5168 if test -s conftest.err
; then
5169 ac_cpp_err
=$ac_c_preproc_warn_flag
5170 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5177 if test -z "$ac_cpp_err"; then
5178 # Broken: success on invalid input.
5181 echo "$as_me: failed program was:" >&5
5182 sed 's/^/| /' conftest.
$ac_ext >&5
5184 # Passes both tests.
5188 rm -f conftest.err conftest.
$ac_ext
5191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5192 rm -f conftest.err conftest.
$ac_ext
5193 if $ac_preproc_ok; then
5205 echo "$as_me:$LINENO: result: $CPP" >&5
5206 echo "${ECHO_T}$CPP" >&6
5208 for ac_c_preproc_warn_flag
in '' yes
5210 # Use a header file that comes with gcc, so configuring glibc
5211 # with a fresh cross-compiler works.
5212 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5213 # <limits.h> exists even on freestanding compilers.
5214 # On the NeXT, cc -E runs the code through the compiler's parser,
5215 # not just through cpp. "Syntax error" is here to catch this case.
5216 cat >conftest.
$ac_ext <<_ACEOF
5219 cat confdefs.h
>>conftest.
$ac_ext
5220 cat >>conftest.
$ac_ext <<_ACEOF
5221 /* end confdefs.h. */
5223 # include <limits.h>
5225 # include <assert.h>
5229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5230 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5232 grep -v '^ *+' conftest.er1
>conftest.err
5234 cat conftest.err
>&5
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); } >/dev
/null
; then
5237 if test -s conftest.err
; then
5238 ac_cpp_err
=$ac_c_preproc_warn_flag
5239 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5246 if test -z "$ac_cpp_err"; then
5249 echo "$as_me: failed program was:" >&5
5250 sed 's/^/| /' conftest.
$ac_ext >&5
5252 # Broken: fails on valid input.
5255 rm -f conftest.err conftest.
$ac_ext
5257 # OK, works on sane cases. Now check whether non-existent headers
5258 # can be detected and how.
5259 cat >conftest.
$ac_ext <<_ACEOF
5262 cat confdefs.h
>>conftest.
$ac_ext
5263 cat >>conftest.
$ac_ext <<_ACEOF
5264 /* end confdefs.h. */
5265 #include <ac_nonexistent.h>
5267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5268 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5270 grep -v '^ *+' conftest.er1
>conftest.err
5272 cat conftest.err
>&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); } >/dev
/null
; then
5275 if test -s conftest.err
; then
5276 ac_cpp_err
=$ac_c_preproc_warn_flag
5277 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5284 if test -z "$ac_cpp_err"; then
5285 # Broken: success on invalid input.
5288 echo "$as_me: failed program was:" >&5
5289 sed 's/^/| /' conftest.
$ac_ext >&5
5291 # Passes both tests.
5295 rm -f conftest.err conftest.
$ac_ext
5298 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5299 rm -f conftest.err conftest.
$ac_ext
5300 if $ac_preproc_ok; then
5303 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5304 See \`config.log' for more details." >&5
5305 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5306 See \`config.log' for more details." >&2;}
5307 { (exit 1); exit 1; }; }
5311 ac_cpp
='$CPP $CPPFLAGS'
5312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5317 echo "$as_me:$LINENO: checking for egrep" >&5
5318 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5319 if test "${ac_cv_prog_egrep+set}" = set; then
5320 echo $ECHO_N "(cached) $ECHO_C" >&6
5322 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5323 then ac_cv_prog_egrep
='grep -E'
5324 else ac_cv_prog_egrep
='egrep'
5327 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5328 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5329 EGREP
=$ac_cv_prog_egrep
5332 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5333 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5334 if test "${ac_cv_header_stdc+set}" = set; then
5335 echo $ECHO_N "(cached) $ECHO_C" >&6
5337 cat >conftest.
$ac_ext <<_ACEOF
5340 cat confdefs.h
>>conftest.
$ac_ext
5341 cat >>conftest.
$ac_ext <<_ACEOF
5342 /* end confdefs.h. */
5356 rm -f conftest.
$ac_objext
5357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5358 (eval $ac_compile) 2>conftest.er1
5360 grep -v '^ *+' conftest.er1
>conftest.err
5362 cat conftest.err
>&5
5363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364 (exit $ac_status); } &&
5365 { ac_try
='test -z "$ac_c_werror_flag"
5366 || test ! -s conftest.err'
5367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); }; } &&
5372 { ac_try
='test -s conftest.$ac_objext'
5373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }; }; then
5378 ac_cv_header_stdc
=yes
5380 echo "$as_me: failed program was:" >&5
5381 sed 's/^/| /' conftest.
$ac_ext >&5
5383 ac_cv_header_stdc
=no
5385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5387 if test $ac_cv_header_stdc = yes; then
5388 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5389 cat >conftest.
$ac_ext <<_ACEOF
5392 cat confdefs.h
>>conftest.
$ac_ext
5393 cat >>conftest.
$ac_ext <<_ACEOF
5394 /* end confdefs.h. */
5398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5399 $EGREP "memchr" >/dev
/null
2>&1; then
5402 ac_cv_header_stdc
=no
5408 if test $ac_cv_header_stdc = yes; then
5409 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5410 cat >conftest.
$ac_ext <<_ACEOF
5413 cat confdefs.h
>>conftest.
$ac_ext
5414 cat >>conftest.
$ac_ext <<_ACEOF
5415 /* end confdefs.h. */
5419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5420 $EGREP "free" >/dev
/null
2>&1; then
5423 ac_cv_header_stdc
=no
5429 if test $ac_cv_header_stdc = yes; then
5430 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5431 if test "$cross_compiling" = yes; then
5434 cat >conftest.
$ac_ext <<_ACEOF
5437 cat confdefs.h
>>conftest.
$ac_ext
5438 cat >>conftest.
$ac_ext <<_ACEOF
5439 /* end confdefs.h. */
5441 #if ((' ' & 0x0FF) == 0x020)
5442 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5443 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5445 # define ISLOWER(c) \
5446 (('a' <= (c) && (c) <= 'i') \
5447 || ('j' <= (c) && (c) <= 'r') \
5448 || ('s' <= (c) && (c) <= 'z'))
5449 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5452 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5457 for (i = 0; i < 256; i++)
5458 if (XOR (islower (i), ISLOWER (i))
5459 || toupper (i) != TOUPPER (i))
5464 rm -f conftest
$ac_exeext
5465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5466 (eval $ac_link) 2>&5
5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474 (exit $ac_status); }; }; then
5477 echo "$as_me: program exited with status $ac_status" >&5
5478 echo "$as_me: failed program was:" >&5
5479 sed 's/^/| /' conftest.
$ac_ext >&5
5482 ac_cv_header_stdc
=no
5484 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5488 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5489 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5490 if test $ac_cv_header_stdc = yes; then
5492 cat >>confdefs.h
<<\_ACEOF
5493 #define STDC_HEADERS 1
5498 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5499 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5500 if test "${ac_cv_c_const+set}" = set; then
5501 echo $ECHO_N "(cached) $ECHO_C" >&6
5503 cat >conftest.
$ac_ext <<_ACEOF
5506 cat confdefs.h
>>conftest.
$ac_ext
5507 cat >>conftest.
$ac_ext <<_ACEOF
5508 /* end confdefs.h. */
5513 /* FIXME: Include the comments suggested by Paul. */
5515 /* Ultrix mips cc rejects this. */
5516 typedef int charset[2];
5518 /* SunOS 4.1.1 cc rejects this. */
5519 char const *const *ccp;
5521 /* NEC SVR4.0.2 mips cc rejects this. */
5522 struct point {int x, y;};
5523 static struct point const zero = {0,0};
5524 /* AIX XL C 1.02.0.0 rejects this.
5525 It does not let you subtract one const X* pointer from another in
5526 an arm of an if-expression whose if-part is not a constant
5528 const char *g = "string";
5529 ccp = &g + (g ? g-g : 0);
5530 /* HPUX 7.0 cc rejects these. */
5533 ccp = (char const *const *) p;
5534 { /* SCO 3.2v4 cc rejects this. */
5536 char const *s = 0 ? (char *) 0 : (char const *) 0;
5540 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5542 const int *foo = &x[0];
5545 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5546 typedef const int *iptr;
5550 { /* AIX XL C 1.02.0.0 rejects this saying
5551 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5552 struct s { int j; const int *ap[3]; };
5553 struct s *b; b->j = 5;
5555 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5564 rm -f conftest.
$ac_objext
5565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5566 (eval $ac_compile) 2>conftest.er1
5568 grep -v '^ *+' conftest.er1
>conftest.err
5570 cat conftest.err
>&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); } &&
5573 { ac_try
='test -z "$ac_c_werror_flag"
5574 || test ! -s conftest.err'
5575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 (exit $ac_status); }; } &&
5580 { ac_try
='test -s conftest.$ac_objext'
5581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5585 (exit $ac_status); }; }; then
5588 echo "$as_me: failed program was:" >&5
5589 sed 's/^/| /' conftest.
$ac_ext >&5
5593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5595 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5596 echo "${ECHO_T}$ac_cv_c_const" >&6
5597 if test $ac_cv_c_const = no
; then
5599 cat >>confdefs.h
<<\_ACEOF
5605 echo "$as_me:$LINENO: checking for inline" >&5
5606 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5607 if test "${ac_cv_c_inline+set}" = set; then
5608 echo $ECHO_N "(cached) $ECHO_C" >&6
5611 for ac_kw
in inline __inline__ __inline
; do
5612 cat >conftest.
$ac_ext <<_ACEOF
5615 cat confdefs.h
>>conftest.
$ac_ext
5616 cat >>conftest.
$ac_ext <<_ACEOF
5617 /* end confdefs.h. */
5620 static $ac_kw foo_t static_foo () {return 0; }
5621 $ac_kw foo_t foo () {return 0; }
5625 rm -f conftest.
$ac_objext
5626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5627 (eval $ac_compile) 2>conftest.er1
5629 grep -v '^ *+' conftest.er1
>conftest.err
5631 cat conftest.err
>&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); } &&
5634 { ac_try
='test -z "$ac_c_werror_flag"
5635 || test ! -s conftest.err'
5636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); }; } &&
5641 { ac_try
='test -s conftest.$ac_objext'
5642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; }; then
5647 ac_cv_c_inline
=$ac_kw; break
5649 echo "$as_me: failed program was:" >&5
5650 sed 's/^/| /' conftest.
$ac_ext >&5
5653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5657 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5658 echo "${ECHO_T}$ac_cv_c_inline" >&6
5661 case $ac_cv_c_inline in
5664 case $ac_cv_c_inline in
5666 *) ac_val
=$ac_cv_c_inline;;
5668 cat >>confdefs.h
<<_ACEOF
5670 #define inline $ac_val
5676 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5686 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5687 inttypes.h stdint.h unistd.h
5689 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5690 echo "$as_me:$LINENO: checking for $ac_header" >&5
5691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5693 echo $ECHO_N "(cached) $ECHO_C" >&6
5695 cat >conftest.
$ac_ext <<_ACEOF
5698 cat confdefs.h
>>conftest.
$ac_ext
5699 cat >>conftest.
$ac_ext <<_ACEOF
5700 /* end confdefs.h. */
5701 $ac_includes_default
5703 #include <$ac_header>
5705 rm -f conftest.
$ac_objext
5706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5707 (eval $ac_compile) 2>conftest.er1
5709 grep -v '^ *+' conftest.er1
>conftest.err
5711 cat conftest.err
>&5
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); } &&
5714 { ac_try
='test -z "$ac_c_werror_flag"
5715 || 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 eval "$as_ac_Header=yes"
5729 echo "$as_me: failed program was:" >&5
5730 sed 's/^/| /' conftest.
$ac_ext >&5
5732 eval "$as_ac_Header=no"
5734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5739 cat >>confdefs.h
<<_ACEOF
5740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5748 echo "$as_me:$LINENO: checking for off_t" >&5
5749 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5750 if test "${ac_cv_type_off_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
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"
5781 || test ! -s conftest.err'
5782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); }; } &&
5787 { ac_try
='test -s conftest.$ac_objext'
5788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); }; }; then
5793 ac_cv_type_off_t
=yes
5795 echo "$as_me: failed program was:" >&5
5796 sed 's/^/| /' conftest.
$ac_ext >&5
5800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5802 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5803 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5804 if test $ac_cv_type_off_t = yes; then
5808 cat >>confdefs.h
<<_ACEOF
5814 echo "$as_me:$LINENO: checking for size_t" >&5
5815 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5816 if test "${ac_cv_type_size_t+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 cat >conftest.
$ac_ext <<_ACEOF
5822 cat confdefs.h
>>conftest.
$ac_ext
5823 cat >>conftest.
$ac_ext <<_ACEOF
5824 /* end confdefs.h. */
5825 $ac_includes_default
5831 if (sizeof (size_t))
5837 rm -f conftest.
$ac_objext
5838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5839 (eval $ac_compile) 2>conftest.er1
5841 grep -v '^ *+' conftest.er1
>conftest.err
5843 cat conftest.err
>&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); } &&
5846 { ac_try
='test -z "$ac_c_werror_flag"
5847 || test ! -s conftest.err'
5848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); }; } &&
5853 { ac_try
='test -s conftest.$ac_objext'
5854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); }; }; then
5859 ac_cv_type_size_t
=yes
5861 echo "$as_me: failed program was:" >&5
5862 sed 's/^/| /' conftest.
$ac_ext >&5
5864 ac_cv_type_size_t
=no
5866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5868 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5869 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5870 if test $ac_cv_type_size_t = yes; then
5874 cat >>confdefs.h
<<_ACEOF
5875 #define size_t unsigned
5880 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5881 # for constant arguments. Useless!
5882 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5883 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5884 if test "${ac_cv_working_alloca_h+set}" = set; then
5885 echo $ECHO_N "(cached) $ECHO_C" >&6
5887 cat >conftest.
$ac_ext <<_ACEOF
5890 cat confdefs.h
>>conftest.
$ac_ext
5891 cat >>conftest.
$ac_ext <<_ACEOF
5892 /* end confdefs.h. */
5897 char *p = (char *) alloca (2 * sizeof (int));
5902 rm -f conftest.
$ac_objext conftest
$ac_exeext
5903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5904 (eval $ac_link) 2>conftest.er1
5906 grep -v '^ *+' conftest.er1
>conftest.err
5908 cat conftest.err
>&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); } &&
5911 { ac_try
='test -z "$ac_c_werror_flag"
5912 || test ! -s conftest.err'
5913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 (exit $ac_status); }; } &&
5918 { ac_try
='test -s conftest$ac_exeext'
5919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923 (exit $ac_status); }; }; then
5924 ac_cv_working_alloca_h
=yes
5926 echo "$as_me: failed program was:" >&5
5927 sed 's/^/| /' conftest.
$ac_ext >&5
5929 ac_cv_working_alloca_h
=no
5931 rm -f conftest.err conftest.
$ac_objext \
5932 conftest
$ac_exeext conftest.
$ac_ext
5934 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5935 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5936 if test $ac_cv_working_alloca_h = yes; then
5938 cat >>confdefs.h
<<\_ACEOF
5939 #define HAVE_ALLOCA_H 1
5944 echo "$as_me:$LINENO: checking for alloca" >&5
5945 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5946 if test "${ac_cv_func_alloca_works+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 cat >conftest.
$ac_ext <<_ACEOF
5952 cat confdefs.h
>>conftest.
$ac_ext
5953 cat >>conftest.
$ac_ext <<_ACEOF
5954 /* end confdefs.h. */
5956 # define alloca __builtin_alloca
5959 # include <malloc.h>
5960 # define alloca _alloca
5963 # include <alloca.h>
5968 # ifndef alloca /* predefined by HP cc +Olibcalls */
5979 char *p = (char *) alloca (1);
5984 rm -f conftest.
$ac_objext conftest
$ac_exeext
5985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5986 (eval $ac_link) 2>conftest.er1
5988 grep -v '^ *+' conftest.er1
>conftest.err
5990 cat conftest.err
>&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); } &&
5993 { ac_try
='test -z "$ac_c_werror_flag"
5994 || test ! -s conftest.err'
5995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 (exit $ac_status); }; } &&
6000 { ac_try
='test -s conftest$ac_exeext'
6001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); }; }; then
6006 ac_cv_func_alloca_works
=yes
6008 echo "$as_me: failed program was:" >&5
6009 sed 's/^/| /' conftest.
$ac_ext >&5
6011 ac_cv_func_alloca_works
=no
6013 rm -f conftest.err conftest.
$ac_objext \
6014 conftest
$ac_exeext conftest.
$ac_ext
6016 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6017 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6019 if test $ac_cv_func_alloca_works = yes; then
6021 cat >>confdefs.h
<<\_ACEOF
6022 #define HAVE_ALLOCA 1
6026 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6027 # that cause trouble. Some versions do not even contain alloca or
6028 # contain a buggy version. If you still want to use their alloca,
6029 # use ar to extract alloca.o from them instead of compiling alloca.c.
6031 ALLOCA
=alloca.
$ac_objext
6033 cat >>confdefs.h
<<\_ACEOF
6038 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6039 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6040 if test "${ac_cv_os_cray+set}" = set; then
6041 echo $ECHO_N "(cached) $ECHO_C" >&6
6043 cat >conftest.
$ac_ext <<_ACEOF
6046 cat confdefs.h
>>conftest.
$ac_ext
6047 cat >>conftest.
$ac_ext <<_ACEOF
6048 /* end confdefs.h. */
6049 #if defined(CRAY) && ! defined(CRAY2)
6056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6057 $EGREP "webecray" >/dev
/null
2>&1; then
6065 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6066 echo "${ECHO_T}$ac_cv_os_cray" >&6
6067 if test $ac_cv_os_cray = yes; then
6068 for ac_func
in _getb67 GETB67 getb67
; do
6069 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6070 echo "$as_me:$LINENO: checking for $ac_func" >&5
6071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6072 if eval "test \"\${$as_ac_var+set}\" = set"; then
6073 echo $ECHO_N "(cached) $ECHO_C" >&6
6075 cat >conftest.
$ac_ext <<_ACEOF
6078 cat confdefs.h
>>conftest.
$ac_ext
6079 cat >>conftest.
$ac_ext <<_ACEOF
6080 /* end confdefs.h. */
6081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6083 #define $ac_func innocuous_$ac_func
6085 /* System header to define __stub macros and hopefully few prototypes,
6086 which can conflict with char $ac_func (); below.
6087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6088 <limits.h> exists even on freestanding compilers. */
6091 # include <limits.h>
6093 # include <assert.h>
6098 /* Override any gcc2 internal prototype to avoid an error. */
6103 /* We use char because int might match the return type of a gcc2
6104 builtin and then its argument prototype would still apply. */
6106 /* The GNU C library defines this for functions which it implements
6107 to always fail with ENOSYS. Some functions are actually named
6108 something starting with __ and the normal name is an alias. */
6109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6112 char (*f) () = $ac_func;
6121 return f != $ac_func;
6126 rm -f conftest.
$ac_objext conftest
$ac_exeext
6127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6128 (eval $ac_link) 2>conftest.er1
6130 grep -v '^ *+' conftest.er1
>conftest.err
6132 cat conftest.err
>&5
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); } &&
6135 { ac_try
='test -z "$ac_c_werror_flag"
6136 || test ! -s conftest.err'
6137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6141 (exit $ac_status); }; } &&
6142 { ac_try
='test -s conftest$ac_exeext'
6143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); }; }; then
6148 eval "$as_ac_var=yes"
6150 echo "$as_me: failed program was:" >&5
6151 sed 's/^/| /' conftest.
$ac_ext >&5
6153 eval "$as_ac_var=no"
6155 rm -f conftest.err conftest.
$ac_objext \
6156 conftest
$ac_exeext conftest.
$ac_ext
6158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6160 if test `eval echo '${'$as_ac_var'}'` = yes; then
6162 cat >>confdefs.h
<<_ACEOF
6163 #define CRAY_STACKSEG_END $ac_func
6172 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6173 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6174 if test "${ac_cv_c_stack_direction+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6177 if test "$cross_compiling" = yes; then
6178 ac_cv_c_stack_direction
=0
6180 cat >conftest.
$ac_ext <<_ACEOF
6183 cat confdefs.h
>>conftest.
$ac_ext
6184 cat >>conftest.
$ac_ext <<_ACEOF
6185 /* end confdefs.h. */
6187 find_stack_direction ()
6189 static char *addr = 0;
6194 return find_stack_direction ();
6197 return (&dummy > addr) ? 1 : -1;
6203 exit (find_stack_direction () < 0);
6206 rm -f conftest
$ac_exeext
6207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6208 (eval $ac_link) 2>&5
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); }; }; then
6217 ac_cv_c_stack_direction
=1
6219 echo "$as_me: program exited with status $ac_status" >&5
6220 echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.
$ac_ext >&5
6224 ac_cv_c_stack_direction
=-1
6226 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6229 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6230 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6232 cat >>confdefs.h
<<_ACEOF
6233 #define STACK_DIRECTION $ac_cv_c_stack_direction
6241 for ac_header
in stdlib.h unistd.h
6243 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6245 echo "$as_me:$LINENO: checking for $ac_header" >&5
6246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6253 # Is the header compilable?
6254 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6255 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6256 cat >conftest.
$ac_ext <<_ACEOF
6259 cat confdefs.h
>>conftest.
$ac_ext
6260 cat >>conftest.
$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6262 $ac_includes_default
6263 #include <$ac_header>
6265 rm -f conftest.
$ac_objext
6266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6267 (eval $ac_compile) 2>conftest.er1
6269 grep -v '^ *+' conftest.er1
>conftest.err
6271 cat conftest.err
>&5
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); } &&
6274 { ac_try
='test -z "$ac_c_werror_flag"
6275 || test ! -s conftest.err'
6276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280 (exit $ac_status); }; } &&
6281 { ac_try
='test -s conftest.$ac_objext'
6282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); }; }; then
6287 ac_header_compiler
=yes
6289 echo "$as_me: failed program was:" >&5
6290 sed 's/^/| /' conftest.
$ac_ext >&5
6292 ac_header_compiler
=no
6294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6296 echo "${ECHO_T}$ac_header_compiler" >&6
6298 # Is the header present?
6299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6301 cat >conftest.
$ac_ext <<_ACEOF
6304 cat confdefs.h
>>conftest.
$ac_ext
6305 cat >>conftest.
$ac_ext <<_ACEOF
6306 /* end confdefs.h. */
6307 #include <$ac_header>
6309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6312 grep -v '^ *+' conftest.er1
>conftest.err
6314 cat conftest.err
>&5
6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 (exit $ac_status); } >/dev
/null
; then
6317 if test -s conftest.err
; then
6318 ac_cpp_err
=$ac_c_preproc_warn_flag
6319 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6326 if test -z "$ac_cpp_err"; then
6327 ac_header_preproc
=yes
6329 echo "$as_me: failed program was:" >&5
6330 sed 's/^/| /' conftest.
$ac_ext >&5
6332 ac_header_preproc
=no
6334 rm -f conftest.err conftest.
$ac_ext
6335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6336 echo "${ECHO_T}$ac_header_preproc" >&6
6338 # So? What about this header?
6339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6345 ac_header_preproc
=yes
6348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6352 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6354 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6355 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6358 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6362 ## ------------------------------------------ ##
6363 ## Report this to the AC_PACKAGE_NAME lists. ##
6364 ## ------------------------------------------ ##
6367 sed "s/^/$as_me: WARNING: /" >&2
6370 echo "$as_me:$LINENO: checking for $ac_header" >&5
6371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 eval "$as_ac_Header=\$ac_header_preproc"
6377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6382 cat >>confdefs.h
<<_ACEOF
6383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6391 for ac_func
in getpagesize
6393 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6394 echo "$as_me:$LINENO: checking for $ac_func" >&5
6395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6396 if eval "test \"\${$as_ac_var+set}\" = set"; then
6397 echo $ECHO_N "(cached) $ECHO_C" >&6
6399 cat >conftest.
$ac_ext <<_ACEOF
6402 cat confdefs.h
>>conftest.
$ac_ext
6403 cat >>conftest.
$ac_ext <<_ACEOF
6404 /* end confdefs.h. */
6405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6407 #define $ac_func innocuous_$ac_func
6409 /* System header to define __stub macros and hopefully few prototypes,
6410 which can conflict with char $ac_func (); below.
6411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6412 <limits.h> exists even on freestanding compilers. */
6415 # include <limits.h>
6417 # include <assert.h>
6422 /* Override any gcc2 internal prototype to avoid an error. */
6427 /* We use char because int might match the return type of a gcc2
6428 builtin and then its argument prototype would still apply. */
6430 /* The GNU C library defines this for functions which it implements
6431 to always fail with ENOSYS. Some functions are actually named
6432 something starting with __ and the normal name is an alias. */
6433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6436 char (*f) () = $ac_func;
6445 return f != $ac_func;
6450 rm -f conftest.
$ac_objext conftest
$ac_exeext
6451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6452 (eval $ac_link) 2>conftest.er1
6454 grep -v '^ *+' conftest.er1
>conftest.err
6456 cat conftest.err
>&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } &&
6459 { ac_try
='test -z "$ac_c_werror_flag"
6460 || test ! -s conftest.err'
6461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); }; } &&
6466 { ac_try
='test -s conftest$ac_exeext'
6467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); }; }; then
6472 eval "$as_ac_var=yes"
6474 echo "$as_me: failed program was:" >&5
6475 sed 's/^/| /' conftest.
$ac_ext >&5
6477 eval "$as_ac_var=no"
6479 rm -f conftest.err conftest.
$ac_objext \
6480 conftest
$ac_exeext conftest.
$ac_ext
6482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6484 if test `eval echo '${'$as_ac_var'}'` = yes; then
6485 cat >>confdefs.h
<<_ACEOF
6486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6492 echo "$as_me:$LINENO: checking for working mmap" >&5
6493 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6494 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 if test "$cross_compiling" = yes; then
6498 ac_cv_func_mmap_fixed_mapped
=no
6500 cat >conftest.
$ac_ext <<_ACEOF
6503 cat confdefs.h
>>conftest.
$ac_ext
6504 cat >>conftest.
$ac_ext <<_ACEOF
6505 /* end confdefs.h. */
6506 $ac_includes_default
6507 /* malloc might have been renamed as rpl_malloc. */
6510 /* Thanks to Mike Haertel and Jim Avera for this test.
6511 Here is a matrix of mmap possibilities:
6512 mmap private not fixed
6513 mmap private fixed at somewhere currently unmapped
6514 mmap private fixed at somewhere already mapped
6515 mmap shared not fixed
6516 mmap shared fixed at somewhere currently unmapped
6517 mmap shared fixed at somewhere already mapped
6518 For private mappings, we should verify that changes cannot be read()
6519 back from the file, nor mmap's back from the file at a different
6520 address. (There have been systems where private was not correctly
6521 implemented like the infamous i386 svr4.0, and systems where the
6522 VM page cache was not coherent with the file system buffer cache
6523 like early versions of FreeBSD and possibly contemporary NetBSD.)
6524 For shared mappings, we should conversely verify that changes get
6525 propagated back to all the places they're supposed to be.
6527 Grep wants private fixed already mapped.
6528 The main things grep needs to know about mmap are:
6529 * does it exist and is it safe to write into the mmap'd area
6530 * how to use it (BSD variants) */
6533 #include <sys/mman.h>
6535 #if !STDC_HEADERS && !HAVE_STDLIB_H
6539 /* This mess was copied from the GNU getpagesize.h. */
6540 #if !HAVE_GETPAGESIZE
6541 /* Assume that all systems that can run configure have sys/param.h. */
6542 # if !HAVE_SYS_PARAM_H
6543 # define HAVE_SYS_PARAM_H 1
6546 # ifdef _SC_PAGESIZE
6547 # define getpagesize() sysconf(_SC_PAGESIZE)
6548 # else /* no _SC_PAGESIZE */
6549 # if HAVE_SYS_PARAM_H
6550 # include <sys/param.h>
6551 # ifdef EXEC_PAGESIZE
6552 # define getpagesize() EXEC_PAGESIZE
6553 # else /* no EXEC_PAGESIZE */
6555 # define getpagesize() NBPG * CLSIZE
6558 # endif /* no CLSIZE */
6559 # else /* no NBPG */
6561 # define getpagesize() NBPC
6562 # else /* no NBPC */
6564 # define getpagesize() PAGESIZE
6565 # endif /* PAGESIZE */
6566 # endif /* no NBPC */
6567 # endif /* no NBPG */
6568 # endif /* no EXEC_PAGESIZE */
6569 # else /* no HAVE_SYS_PARAM_H */
6570 # define getpagesize() 8192 /* punt totally */
6571 # endif /* no HAVE_SYS_PARAM_H */
6572 # endif /* no _SC_PAGESIZE */
6574 #endif /* no HAVE_GETPAGESIZE */
6579 char *data, *data2, *data3;
6583 pagesize = getpagesize ();
6585 /* First, make a file with some known garbage in it. */
6586 data = (char *) malloc (pagesize);
6589 for (i = 0; i < pagesize; ++i)
6590 *(data + i) = rand ();
6592 fd = creat ("conftest.mmap", 0600);
6595 if (write (fd, data, pagesize) != pagesize)
6599 /* Next, try to mmap the file at a fixed address which already has
6600 something else allocated at it. If we can, also make sure that
6601 we see the same garbage. */
6602 fd = open ("conftest.mmap", O_RDWR);
6605 data2 = (char *) malloc (2 * pagesize);
6608 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6609 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6610 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6612 for (i = 0; i < pagesize; ++i)
6613 if (*(data + i) != *(data2 + i))
6616 /* Finally, make sure that changes to the mapped area do not
6617 percolate back to the file as seen by read(). (This is a bug on
6618 some variants of i386 svr4.0.) */
6619 for (i = 0; i < pagesize; ++i)
6620 *(data2 + i) = *(data2 + i) + 1;
6621 data3 = (char *) malloc (pagesize);
6624 if (read (fd, data3, pagesize) != pagesize)
6626 for (i = 0; i < pagesize; ++i)
6627 if (*(data + i) != *(data3 + i))
6633 rm -f conftest
$ac_exeext
6634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6635 (eval $ac_link) 2>&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643 (exit $ac_status); }; }; then
6644 ac_cv_func_mmap_fixed_mapped
=yes
6646 echo "$as_me: program exited with status $ac_status" >&5
6647 echo "$as_me: failed program was:" >&5
6648 sed 's/^/| /' conftest.
$ac_ext >&5
6651 ac_cv_func_mmap_fixed_mapped
=no
6653 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6656 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6657 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6658 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6660 cat >>confdefs.h
<<\_ACEOF
6677 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6678 unistd.h values.h sys
/param.h
6680 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6682 echo "$as_me:$LINENO: checking for $ac_header" >&5
6683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6685 echo $ECHO_N "(cached) $ECHO_C" >&6
6687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6690 # Is the header compilable?
6691 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6692 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6693 cat >conftest.
$ac_ext <<_ACEOF
6696 cat confdefs.h
>>conftest.
$ac_ext
6697 cat >>conftest.
$ac_ext <<_ACEOF
6698 /* end confdefs.h. */
6699 $ac_includes_default
6700 #include <$ac_header>
6702 rm -f conftest.
$ac_objext
6703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6704 (eval $ac_compile) 2>conftest.er1
6706 grep -v '^ *+' conftest.er1
>conftest.err
6708 cat conftest.err
>&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } &&
6711 { ac_try
='test -z "$ac_c_werror_flag"
6712 || test ! -s conftest.err'
6713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; } &&
6718 { ac_try
='test -s conftest.$ac_objext'
6719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); }; }; then
6724 ac_header_compiler
=yes
6726 echo "$as_me: failed program was:" >&5
6727 sed 's/^/| /' conftest.
$ac_ext >&5
6729 ac_header_compiler
=no
6731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6733 echo "${ECHO_T}$ac_header_compiler" >&6
6735 # Is the header present?
6736 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6738 cat >conftest.
$ac_ext <<_ACEOF
6741 cat confdefs.h
>>conftest.
$ac_ext
6742 cat >>conftest.
$ac_ext <<_ACEOF
6743 /* end confdefs.h. */
6744 #include <$ac_header>
6746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6747 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6749 grep -v '^ *+' conftest.er1
>conftest.err
6751 cat conftest.err
>&5
6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); } >/dev
/null
; then
6754 if test -s conftest.err
; then
6755 ac_cpp_err
=$ac_c_preproc_warn_flag
6756 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6763 if test -z "$ac_cpp_err"; then
6764 ac_header_preproc
=yes
6766 echo "$as_me: failed program was:" >&5
6767 sed 's/^/| /' conftest.
$ac_ext >&5
6769 ac_header_preproc
=no
6771 rm -f conftest.err conftest.
$ac_ext
6772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6773 echo "${ECHO_T}$ac_header_preproc" >&6
6775 # So? What about this header?
6776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6778 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6779 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6781 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6782 ac_header_preproc
=yes
6785 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6786 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6787 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6788 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6789 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6790 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6791 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6792 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6795 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6796 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6799 ## ------------------------------------------ ##
6800 ## Report this to the AC_PACKAGE_NAME lists. ##
6801 ## ------------------------------------------ ##
6804 sed "s/^/$as_me: WARNING: /" >&2
6807 echo "$as_me:$LINENO: checking for $ac_header" >&5
6808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6810 echo $ECHO_N "(cached) $ECHO_C" >&6
6812 eval "$as_ac_Header=\$ac_header_preproc"
6814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6819 cat >>confdefs.h
<<_ACEOF
6820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6837 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6838 __argz_count __argz_stringify __argz_next
6840 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6841 echo "$as_me:$LINENO: checking for $ac_func" >&5
6842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6843 if eval "test \"\${$as_ac_var+set}\" = set"; then
6844 echo $ECHO_N "(cached) $ECHO_C" >&6
6846 cat >conftest.
$ac_ext <<_ACEOF
6849 cat confdefs.h
>>conftest.
$ac_ext
6850 cat >>conftest.
$ac_ext <<_ACEOF
6851 /* end confdefs.h. */
6852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6854 #define $ac_func innocuous_$ac_func
6856 /* System header to define __stub macros and hopefully few prototypes,
6857 which can conflict with char $ac_func (); below.
6858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6859 <limits.h> exists even on freestanding compilers. */
6862 # include <limits.h>
6864 # include <assert.h>
6869 /* Override any gcc2 internal prototype to avoid an error. */
6874 /* We use char because int might match the return type of a gcc2
6875 builtin and then its argument prototype would still apply. */
6877 /* The GNU C library defines this for functions which it implements
6878 to always fail with ENOSYS. Some functions are actually named
6879 something starting with __ and the normal name is an alias. */
6880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6883 char (*f) () = $ac_func;
6892 return f != $ac_func;
6897 rm -f conftest.
$ac_objext conftest
$ac_exeext
6898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6899 (eval $ac_link) 2>conftest.er1
6901 grep -v '^ *+' conftest.er1
>conftest.err
6903 cat conftest.err
>&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); } &&
6906 { ac_try
='test -z "$ac_c_werror_flag"
6907 || test ! -s conftest.err'
6908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); }; } &&
6913 { ac_try
='test -s conftest$ac_exeext'
6914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 (exit $ac_status); }; }; then
6919 eval "$as_ac_var=yes"
6921 echo "$as_me: failed program was:" >&5
6922 sed 's/^/| /' conftest.
$ac_ext >&5
6924 eval "$as_ac_var=no"
6926 rm -f conftest.err conftest.
$ac_objext \
6927 conftest
$ac_exeext conftest.
$ac_ext
6929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6931 if test `eval echo '${'$as_ac_var'}'` = yes; then
6932 cat >>confdefs.h
<<_ACEOF
6933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6940 if test "${ac_cv_func_stpcpy+set}" != "set"; then
6942 for ac_func
in stpcpy
6944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6945 echo "$as_me:$LINENO: checking for $ac_func" >&5
6946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6947 if eval "test \"\${$as_ac_var+set}\" = set"; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 cat >conftest.
$ac_ext <<_ACEOF
6953 cat confdefs.h
>>conftest.
$ac_ext
6954 cat >>conftest.
$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6958 #define $ac_func innocuous_$ac_func
6960 /* System header to define __stub macros and hopefully few prototypes,
6961 which can conflict with char $ac_func (); below.
6962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6963 <limits.h> exists even on freestanding compilers. */
6966 # include <limits.h>
6968 # include <assert.h>
6973 /* Override any gcc2 internal prototype to avoid an error. */
6978 /* We use char because int might match the return type of a gcc2
6979 builtin and then its argument prototype would still apply. */
6981 /* The GNU C library defines this for functions which it implements
6982 to always fail with ENOSYS. Some functions are actually named
6983 something starting with __ and the normal name is an alias. */
6984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6987 char (*f) () = $ac_func;
6996 return f != $ac_func;
7001 rm -f conftest.
$ac_objext conftest
$ac_exeext
7002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7003 (eval $ac_link) 2>conftest.er1
7005 grep -v '^ *+' conftest.er1
>conftest.err
7007 cat conftest.err
>&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); } &&
7010 { ac_try
='test -z "$ac_c_werror_flag"
7011 || test ! -s conftest.err'
7012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; } &&
7017 { ac_try
='test -s conftest$ac_exeext'
7018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022 (exit $ac_status); }; }; then
7023 eval "$as_ac_var=yes"
7025 echo "$as_me: failed program was:" >&5
7026 sed 's/^/| /' conftest.
$ac_ext >&5
7028 eval "$as_ac_var=no"
7030 rm -f conftest.err conftest.
$ac_objext \
7031 conftest
$ac_exeext conftest.
$ac_ext
7033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7035 if test `eval echo '${'$as_ac_var'}'` = yes; then
7036 cat >>confdefs.h
<<_ACEOF
7037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7044 if test "${ac_cv_func_stpcpy}" = "yes"; then
7046 cat >>confdefs.h
<<\_ACEOF
7047 #define HAVE_STPCPY 1
7052 if test $ac_cv_header_locale_h = yes; then
7053 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7054 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7055 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7056 echo $ECHO_N "(cached) $ECHO_C" >&6
7058 cat >conftest.
$ac_ext <<_ACEOF
7061 cat confdefs.h
>>conftest.
$ac_ext
7062 cat >>conftest.
$ac_ext <<_ACEOF
7063 /* end confdefs.h. */
7073 rm -f conftest.
$ac_objext conftest
$ac_exeext
7074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7075 (eval $ac_link) 2>conftest.er1
7077 grep -v '^ *+' conftest.er1
>conftest.err
7079 cat conftest.err
>&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); } &&
7082 { ac_try
='test -z "$ac_c_werror_flag"
7083 || test ! -s conftest.err'
7084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); }; } &&
7089 { ac_try
='test -s conftest$ac_exeext'
7090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); }; }; then
7095 am_cv_val_LC_MESSAGES
=yes
7097 echo "$as_me: failed program was:" >&5
7098 sed 's/^/| /' conftest.
$ac_ext >&5
7100 am_cv_val_LC_MESSAGES
=no
7102 rm -f conftest.err conftest.
$ac_objext \
7103 conftest
$ac_exeext conftest.
$ac_ext
7105 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7106 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7107 if test $am_cv_val_LC_MESSAGES = yes; then
7109 cat >>confdefs.h
<<\_ACEOF
7110 #define HAVE_LC_MESSAGES 1
7115 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7116 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7117 # Check whether --enable-nls or --disable-nls was given.
7118 if test "${enable_nls+set}" = set; then
7119 enableval
="$enable_nls"
7124 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7125 echo "${ECHO_T}$USE_NLS" >&6
7128 USE_INCLUDED_LIBINTL
=no
7130 if test "$USE_NLS" = "yes"; then
7131 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7132 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7134 # Check whether --with-included-gettext or --without-included-gettext was given.
7135 if test "${with_included_gettext+set}" = set; then
7136 withval
="$with_included_gettext"
7137 nls_cv_force_use_gnu_gettext
=$withval
7139 nls_cv_force_use_gnu_gettext
=no
7141 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7142 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7144 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7145 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7147 nls_cv_header_libgt
=
7150 if test "${ac_cv_header_libintl_h+set}" = set; then
7151 echo "$as_me:$LINENO: checking for libintl.h" >&5
7152 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7153 if test "${ac_cv_header_libintl_h+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7156 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7157 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7159 # Is the header compilable?
7160 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7161 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7162 cat >conftest.
$ac_ext <<_ACEOF
7165 cat confdefs.h
>>conftest.
$ac_ext
7166 cat >>conftest.
$ac_ext <<_ACEOF
7167 /* end confdefs.h. */
7168 $ac_includes_default
7169 #include <libintl.h>
7171 rm -f conftest.
$ac_objext
7172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7173 (eval $ac_compile) 2>conftest.er1
7175 grep -v '^ *+' conftest.er1
>conftest.err
7177 cat conftest.err
>&5
7178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179 (exit $ac_status); } &&
7180 { ac_try
='test -z "$ac_c_werror_flag"
7181 || test ! -s conftest.err'
7182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); }; } &&
7187 { ac_try
='test -s conftest.$ac_objext'
7188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); }; }; then
7193 ac_header_compiler
=yes
7195 echo "$as_me: failed program was:" >&5
7196 sed 's/^/| /' conftest.
$ac_ext >&5
7198 ac_header_compiler
=no
7200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7202 echo "${ECHO_T}$ac_header_compiler" >&6
7204 # Is the header present?
7205 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7206 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7207 cat >conftest.
$ac_ext <<_ACEOF
7210 cat confdefs.h
>>conftest.
$ac_ext
7211 cat >>conftest.
$ac_ext <<_ACEOF
7212 /* end confdefs.h. */
7213 #include <libintl.h>
7215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7218 grep -v '^ *+' conftest.er1
>conftest.err
7220 cat conftest.err
>&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); } >/dev
/null
; then
7223 if test -s conftest.err
; then
7224 ac_cpp_err
=$ac_c_preproc_warn_flag
7225 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7232 if test -z "$ac_cpp_err"; then
7233 ac_header_preproc
=yes
7235 echo "$as_me: failed program was:" >&5
7236 sed 's/^/| /' conftest.
$ac_ext >&5
7238 ac_header_preproc
=no
7240 rm -f conftest.err conftest.
$ac_ext
7241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7242 echo "${ECHO_T}$ac_header_preproc" >&6
7244 # So? What about this header?
7245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7247 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7248 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7249 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7250 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7251 ac_header_preproc
=yes
7254 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7255 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7256 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7257 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7258 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7259 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7260 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7261 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7262 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7263 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7264 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7265 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7268 ## ------------------------------------------ ##
7269 ## Report this to the AC_PACKAGE_NAME lists. ##
7270 ## ------------------------------------------ ##
7273 sed "s/^/$as_me: WARNING: /" >&2
7276 echo "$as_me:$LINENO: checking for libintl.h" >&5
7277 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7278 if test "${ac_cv_header_libintl_h+set}" = set; then
7279 echo $ECHO_N "(cached) $ECHO_C" >&6
7281 ac_cv_header_libintl_h
=$ac_header_preproc
7283 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7284 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7287 if test $ac_cv_header_libintl_h = yes; then
7288 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7289 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7290 if test "${gt_cv_func_gettext_libc+set}" = set; then
7291 echo $ECHO_N "(cached) $ECHO_C" >&6
7293 cat >conftest.
$ac_ext <<_ACEOF
7296 cat confdefs.h
>>conftest.
$ac_ext
7297 cat >>conftest.
$ac_ext <<_ACEOF
7298 /* end confdefs.h. */
7299 #include <libintl.h>
7303 return (int) gettext ("")
7308 rm -f conftest.
$ac_objext conftest
$ac_exeext
7309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7310 (eval $ac_link) 2>conftest.er1
7312 grep -v '^ *+' conftest.er1
>conftest.err
7314 cat conftest.err
>&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); } &&
7317 { ac_try
='test -z "$ac_c_werror_flag"
7318 || test ! -s conftest.err'
7319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); }; } &&
7324 { ac_try
='test -s conftest$ac_exeext'
7325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); }; }; then
7330 gt_cv_func_gettext_libc
=yes
7332 echo "$as_me: failed program was:" >&5
7333 sed 's/^/| /' conftest.
$ac_ext >&5
7335 gt_cv_func_gettext_libc
=no
7337 rm -f conftest.err conftest.
$ac_objext \
7338 conftest
$ac_exeext conftest.
$ac_ext
7340 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7341 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7343 if test "$gt_cv_func_gettext_libc" != "yes"; then
7344 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7345 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7346 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7347 echo $ECHO_N "(cached) $ECHO_C" >&6
7349 ac_check_lib_save_LIBS
=$LIBS
7351 cat >conftest.
$ac_ext <<_ACEOF
7354 cat confdefs.h
>>conftest.
$ac_ext
7355 cat >>conftest.
$ac_ext <<_ACEOF
7356 /* end confdefs.h. */
7358 /* Override any gcc2 internal prototype to avoid an error. */
7362 /* We use char because int might match the return type of a gcc2
7363 builtin and then its argument prototype would still apply. */
7364 char bindtextdomain ();
7373 rm -f conftest.
$ac_objext conftest
$ac_exeext
7374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7375 (eval $ac_link) 2>conftest.er1
7377 grep -v '^ *+' conftest.er1
>conftest.err
7379 cat conftest.err
>&5
7380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7381 (exit $ac_status); } &&
7382 { ac_try
='test -z "$ac_c_werror_flag"
7383 || test ! -s conftest.err'
7384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); }; } &&
7389 { ac_try
='test -s conftest$ac_exeext'
7390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 (exit $ac_status); }; }; then
7395 ac_cv_lib_intl_bindtextdomain
=yes
7397 echo "$as_me: failed program was:" >&5
7398 sed 's/^/| /' conftest.
$ac_ext >&5
7400 ac_cv_lib_intl_bindtextdomain
=no
7402 rm -f conftest.err conftest.
$ac_objext \
7403 conftest
$ac_exeext conftest.
$ac_ext
7404 LIBS
=$ac_check_lib_save_LIBS
7406 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7407 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7408 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7409 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7410 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7411 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7412 echo $ECHO_N "(cached) $ECHO_C" >&6
7414 cat >conftest.
$ac_ext <<_ACEOF
7417 cat confdefs.h
>>conftest.
$ac_ext
7418 cat >>conftest.
$ac_ext <<_ACEOF
7419 /* end confdefs.h. */
7424 return (int) gettext ("")
7429 rm -f conftest.
$ac_objext conftest
$ac_exeext
7430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7431 (eval $ac_link) 2>conftest.er1
7433 grep -v '^ *+' conftest.er1
>conftest.err
7435 cat conftest.err
>&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); } &&
7438 { ac_try
='test -z "$ac_c_werror_flag"
7439 || test ! -s conftest.err'
7440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; } &&
7445 { ac_try
='test -s conftest$ac_exeext'
7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; }; then
7451 gt_cv_func_gettext_libintl
=yes
7453 echo "$as_me: failed program was:" >&5
7454 sed 's/^/| /' conftest.
$ac_ext >&5
7456 gt_cv_func_gettext_libintl
=no
7458 rm -f conftest.err conftest.
$ac_objext \
7459 conftest
$ac_exeext conftest.
$ac_ext
7461 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7462 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7467 if test "$gt_cv_func_gettext_libc" = "yes" \
7468 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7470 cat >>confdefs.h
<<\_ACEOF
7471 #define HAVE_GETTEXT 1
7474 # Extract the first word of "msgfmt", so it can be a program name with args.
7475 set dummy msgfmt
; ac_word
=$2
7476 echo "$as_me:$LINENO: checking for $ac_word" >&5
7477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7478 if test "${ac_cv_path_MSGFMT+set}" = set; then
7479 echo $ECHO_N "(cached) $ECHO_C" >&6
7483 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7486 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7487 for ac_dir
in $PATH; do
7488 test -z "$ac_dir" && ac_dir
=.
7489 if test -f $ac_dir/$ac_word; then
7490 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7491 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7497 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7501 MSGFMT
="$ac_cv_path_MSGFMT"
7502 if test -n "$MSGFMT"; then
7503 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7504 echo "${ECHO_T}$MSGFMT" >&6
7506 echo "$as_me:$LINENO: result: no" >&5
7507 echo "${ECHO_T}no" >&6
7509 if test "$MSGFMT" != "no"; then
7511 for ac_func
in dcgettext
7513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7514 echo "$as_me:$LINENO: checking for $ac_func" >&5
7515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7516 if eval "test \"\${$as_ac_var+set}\" = set"; then
7517 echo $ECHO_N "(cached) $ECHO_C" >&6
7519 cat >conftest.
$ac_ext <<_ACEOF
7522 cat confdefs.h
>>conftest.
$ac_ext
7523 cat >>conftest.
$ac_ext <<_ACEOF
7524 /* end confdefs.h. */
7525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7527 #define $ac_func innocuous_$ac_func
7529 /* System header to define __stub macros and hopefully few prototypes,
7530 which can conflict with char $ac_func (); below.
7531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7532 <limits.h> exists even on freestanding compilers. */
7535 # include <limits.h>
7537 # include <assert.h>
7542 /* Override any gcc2 internal prototype to avoid an error. */
7547 /* We use char because int might match the return type of a gcc2
7548 builtin and then its argument prototype would still apply. */
7550 /* The GNU C library defines this for functions which it implements
7551 to always fail with ENOSYS. Some functions are actually named
7552 something starting with __ and the normal name is an alias. */
7553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7556 char (*f) () = $ac_func;
7565 return f != $ac_func;
7570 rm -f conftest.
$ac_objext conftest
$ac_exeext
7571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7572 (eval $ac_link) 2>conftest.er1
7574 grep -v '^ *+' conftest.er1
>conftest.err
7576 cat conftest.err
>&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); } &&
7579 { ac_try
='test -z "$ac_c_werror_flag"
7580 || test ! -s conftest.err'
7581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); }; } &&
7586 { ac_try
='test -s conftest$ac_exeext'
7587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591 (exit $ac_status); }; }; then
7592 eval "$as_ac_var=yes"
7594 echo "$as_me: failed program was:" >&5
7595 sed 's/^/| /' conftest.
$ac_ext >&5
7597 eval "$as_ac_var=no"
7599 rm -f conftest.err conftest.
$ac_objext \
7600 conftest
$ac_exeext conftest.
$ac_ext
7602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7604 if test `eval echo '${'$as_ac_var'}'` = yes; then
7605 cat >>confdefs.h
<<_ACEOF
7606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7612 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7613 set dummy gmsgfmt
; ac_word
=$2
7614 echo "$as_me:$LINENO: checking for $ac_word" >&5
7615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7616 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7617 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7628 test -z "$as_dir" && as_dir
=.
7629 for ac_exec_ext
in '' $ac_executable_extensions; do
7630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7631 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7638 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7642 GMSGFMT
=$ac_cv_path_GMSGFMT
7644 if test -n "$GMSGFMT"; then
7645 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7646 echo "${ECHO_T}$GMSGFMT" >&6
7648 echo "$as_me:$LINENO: result: no" >&5
7649 echo "${ECHO_T}no" >&6
7652 # Extract the first word of "xgettext", so it can be a program name with args.
7653 set dummy xgettext
; ac_word
=$2
7654 echo "$as_me:$LINENO: checking for $ac_word" >&5
7655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7656 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7657 echo $ECHO_N "(cached) $ECHO_C" >&6
7661 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7664 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7665 for ac_dir
in $PATH; do
7666 test -z "$ac_dir" && ac_dir
=.
7667 if test -f $ac_dir/$ac_word; then
7668 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7669 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7675 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7679 XGETTEXT
="$ac_cv_path_XGETTEXT"
7680 if test -n "$XGETTEXT"; then
7681 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7682 echo "${ECHO_T}$XGETTEXT" >&6
7684 echo "$as_me:$LINENO: result: no" >&5
7685 echo "${ECHO_T}no" >&6
7688 cat >conftest.
$ac_ext <<_ACEOF
7691 cat confdefs.h
>>conftest.
$ac_ext
7692 cat >>conftest.
$ac_ext <<_ACEOF
7693 /* end confdefs.h. */
7698 extern int _nl_msg_cat_cntr;
7699 return _nl_msg_cat_cntr
7704 rm -f conftest.
$ac_objext conftest
$ac_exeext
7705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7706 (eval $ac_link) 2>conftest.er1
7708 grep -v '^ *+' conftest.er1
>conftest.err
7710 cat conftest.err
>&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); } &&
7713 { ac_try
='test -z "$ac_c_werror_flag"
7714 || test ! -s conftest.err'
7715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); }; } &&
7720 { ac_try
='test -s conftest$ac_exeext'
7721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; }; then
7729 echo "$as_me: failed program was:" >&5
7730 sed 's/^/| /' conftest.
$ac_ext >&5
7735 rm -f conftest.err conftest.
$ac_objext \
7736 conftest
$ac_exeext conftest.
$ac_ext
7746 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
7747 # Neither gettext nor catgets in included in the C library.
7748 # Fall back on GNU gettext library (assuming it is present).
7749 nls_cv_use_gnu_gettext
=yes
7753 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7754 INTLOBJS
="\$(GETTOBJS)"
7755 # Extract the first word of "msgfmt", so it can be a program name with args.
7756 set dummy msgfmt
; ac_word
=$2
7757 echo "$as_me:$LINENO: checking for $ac_word" >&5
7758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7759 if test "${ac_cv_path_MSGFMT+set}" = set; then
7760 echo $ECHO_N "(cached) $ECHO_C" >&6
7764 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7767 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7768 for ac_dir
in $PATH; do
7769 test -z "$ac_dir" && ac_dir
=.
7770 if test -f $ac_dir/$ac_word; then
7771 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7772 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7778 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7782 MSGFMT
="$ac_cv_path_MSGFMT"
7783 if test -n "$MSGFMT"; then
7784 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7785 echo "${ECHO_T}$MSGFMT" >&6
7787 echo "$as_me:$LINENO: result: no" >&5
7788 echo "${ECHO_T}no" >&6
7791 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7792 set dummy gmsgfmt
; ac_word
=$2
7793 echo "$as_me:$LINENO: checking for $ac_word" >&5
7794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7795 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7800 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7807 test -z "$as_dir" && as_dir
=.
7808 for ac_exec_ext
in '' $ac_executable_extensions; do
7809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7810 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7817 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7821 GMSGFMT
=$ac_cv_path_GMSGFMT
7823 if test -n "$GMSGFMT"; then
7824 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7825 echo "${ECHO_T}$GMSGFMT" >&6
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7831 # Extract the first word of "xgettext", so it can be a program name with args.
7832 set dummy xgettext
; ac_word
=$2
7833 echo "$as_me:$LINENO: checking for $ac_word" >&5
7834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7835 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7836 echo $ECHO_N "(cached) $ECHO_C" >&6
7840 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7843 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7844 for ac_dir
in $PATH; do
7845 test -z "$ac_dir" && ac_dir
=.
7846 if test -f $ac_dir/$ac_word; then
7847 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7848 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7854 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7858 XGETTEXT
="$ac_cv_path_XGETTEXT"
7859 if test -n "$XGETTEXT"; then
7860 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7861 echo "${ECHO_T}$XGETTEXT" >&6
7863 echo "$as_me:$LINENO: result: no" >&5
7864 echo "${ECHO_T}no" >&6
7868 USE_INCLUDED_LIBINTL
=yes
7872 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
7874 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
7875 nls_cv_header_intl
=libintl.h
7876 nls_cv_header_libgt
=libgettext.h
7879 if test "$XGETTEXT" != ":"; then
7880 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7883 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
7884 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
7889 # We need to process the po/ directory.
7893 nls_cv_header_intl
=libintl.h
7894 nls_cv_header_libgt
=libgettext.h
7897 # If this is used in GNU gettext we have to set USE_NLS to `yes'
7898 # because some of the sources are only built for this goal.
7899 if test "$PACKAGE" = gettext; then
7901 USE_INCLUDED_LIBINTL
=yes
7904 for lang
in $ALL_LINGUAS; do
7905 GMOFILES
="$GMOFILES $lang.gmo"
7906 POFILES
="$POFILES $lang.po"
7920 if test "x$CATOBJEXT" != "x"; then
7922 cat >>confdefs.h
<<\_ACEOF
7923 #define ENABLE_NLS 1
7929 if test "x$CATOBJEXT" != "x"; then
7930 if test "x$ALL_LINGUAS" = "x"; then
7933 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7934 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7936 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
7937 case "$ALL_LINGUAS" in
7938 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
7941 LINGUAS
=$NEW_LINGUAS
7942 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7943 echo "${ECHO_T}$LINGUAS" >&6
7946 if test -n "$LINGUAS"; then
7947 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
7951 if test $ac_cv_header_locale_h = yes; then
7952 INCLUDE_LOCALE_H
="#include <locale.h>"
7955 /* The system does not provide the header <locale.h>. Take care yourself. */"
7959 if test -f $srcdir/po2tbl.
sed.
in; then
7960 if test "$CATOBJEXT" = ".cat"; then
7961 if test "${ac_cv_header_linux_version_h+set}" = set; then
7962 echo "$as_me:$LINENO: checking for linux/version.h" >&5
7963 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7964 if test "${ac_cv_header_linux_version_h+set}" = set; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7967 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
7968 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7970 # Is the header compilable?
7971 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
7972 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
7973 cat >conftest.
$ac_ext <<_ACEOF
7976 cat confdefs.h
>>conftest.
$ac_ext
7977 cat >>conftest.
$ac_ext <<_ACEOF
7978 /* end confdefs.h. */
7979 $ac_includes_default
7980 #include <linux/version.h>
7982 rm -f conftest.
$ac_objext
7983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7984 (eval $ac_compile) 2>conftest.er1
7986 grep -v '^ *+' conftest.er1
>conftest.err
7988 cat conftest.err
>&5
7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 (exit $ac_status); } &&
7991 { ac_try
='test -z "$ac_c_werror_flag"
7992 || test ! -s conftest.err'
7993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); }; } &&
7998 { ac_try
='test -s conftest.$ac_objext'
7999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); }; }; then
8004 ac_header_compiler
=yes
8006 echo "$as_me: failed program was:" >&5
8007 sed 's/^/| /' conftest.
$ac_ext >&5
8009 ac_header_compiler
=no
8011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8013 echo "${ECHO_T}$ac_header_compiler" >&6
8015 # Is the header present?
8016 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8017 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8018 cat >conftest.
$ac_ext <<_ACEOF
8021 cat confdefs.h
>>conftest.
$ac_ext
8022 cat >>conftest.
$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8024 #include <linux/version.h>
8026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8027 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8029 grep -v '^ *+' conftest.er1
>conftest.err
8031 cat conftest.err
>&5
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); } >/dev
/null
; then
8034 if test -s conftest.err
; then
8035 ac_cpp_err
=$ac_c_preproc_warn_flag
8036 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8043 if test -z "$ac_cpp_err"; then
8044 ac_header_preproc
=yes
8046 echo "$as_me: failed program was:" >&5
8047 sed 's/^/| /' conftest.
$ac_ext >&5
8049 ac_header_preproc
=no
8051 rm -f conftest.err conftest.
$ac_ext
8052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8053 echo "${ECHO_T}$ac_header_preproc" >&6
8055 # So? What about this header?
8056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8058 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8059 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8060 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8061 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8062 ac_header_preproc
=yes
8065 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8066 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8067 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8068 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8069 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8070 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8071 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8072 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8073 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8074 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8075 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8076 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8079 ## ------------------------------------------ ##
8080 ## Report this to the AC_PACKAGE_NAME lists. ##
8081 ## ------------------------------------------ ##
8084 sed "s/^/$as_me: WARNING: /" >&2
8087 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8088 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8089 if test "${ac_cv_header_linux_version_h+set}" = set; then
8090 echo $ECHO_N "(cached) $ECHO_C" >&6
8092 ac_cv_header_linux_version_h
=$ac_header_preproc
8094 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8095 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8098 if test $ac_cv_header_linux_version_h = yes; then
8106 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8108 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8109 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8112 if test "$PACKAGE" = "gettext"; then
8122 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8128 if test -f $srcdir/po
/POTFILES.
in; then
8129 test -d po || mkdir po
8130 if test "x$srcdir" != "x."; then
8131 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8132 posrcprefix
="$srcdir/"
8134 posrcprefix
="../$srcdir/"
8140 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8141 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8147 for ac_prog
in 'bison -y' byacc
8149 # Extract the first word of "$ac_prog", so it can be a program name with args.
8150 set dummy
$ac_prog; ac_word
=$2
8151 echo "$as_me:$LINENO: checking for $ac_word" >&5
8152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8153 if test "${ac_cv_prog_YACC+set}" = set; then
8154 echo $ECHO_N "(cached) $ECHO_C" >&6
8156 if test -n "$YACC"; then
8157 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8163 test -z "$as_dir" && as_dir
=.
8164 for ac_exec_ext
in '' $ac_executable_extensions; do
8165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8166 ac_cv_prog_YACC
="$ac_prog"
8167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8175 YACC
=$ac_cv_prog_YACC
8176 if test -n "$YACC"; then
8177 echo "$as_me:$LINENO: result: $YACC" >&5
8178 echo "${ECHO_T}$YACC" >&6
8180 echo "$as_me:$LINENO: result: no" >&5
8181 echo "${ECHO_T}no" >&6
8184 test -n "$YACC" && break
8186 test -n "$YACC" || YACC
="yacc"
8188 for ac_prog
in flex
lex
8190 # Extract the first word of "$ac_prog", so it can be a program name with args.
8191 set dummy
$ac_prog; ac_word
=$2
8192 echo "$as_me:$LINENO: checking for $ac_word" >&5
8193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8194 if test "${ac_cv_prog_LEX+set}" = set; then
8195 echo $ECHO_N "(cached) $ECHO_C" >&6
8197 if test -n "$LEX"; then
8198 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8204 test -z "$as_dir" && as_dir
=.
8205 for ac_exec_ext
in '' $ac_executable_extensions; do
8206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8207 ac_cv_prog_LEX
="$ac_prog"
8208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8217 if test -n "$LEX"; then
8218 echo "$as_me:$LINENO: result: $LEX" >&5
8219 echo "${ECHO_T}$LEX" >&6
8221 echo "$as_me:$LINENO: result: no" >&5
8222 echo "${ECHO_T}no" >&6
8225 test -n "$LEX" && break
8227 test -n "$LEX" || LEX
=":"
8229 if test -z "$LEXLIB"
8231 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
8232 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
8233 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
8234 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 ac_check_lib_save_LIBS
=$LIBS
8238 cat >conftest.
$ac_ext <<_ACEOF
8241 cat confdefs.h
>>conftest.
$ac_ext
8242 cat >>conftest.
$ac_ext <<_ACEOF
8243 /* end confdefs.h. */
8245 /* Override any gcc2 internal prototype to avoid an error. */
8249 /* We use char because int might match the return type of a gcc2
8250 builtin and then its argument prototype would still apply. */
8260 rm -f conftest.
$ac_objext conftest
$ac_exeext
8261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8262 (eval $ac_link) 2>conftest.er1
8264 grep -v '^ *+' conftest.er1
>conftest.err
8266 cat conftest.err
>&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); } &&
8269 { ac_try
='test -z "$ac_c_werror_flag"
8270 || test ! -s conftest.err'
8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); }; } &&
8276 { ac_try
='test -s conftest$ac_exeext'
8277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); }; }; then
8282 ac_cv_lib_fl_yywrap
=yes
8284 echo "$as_me: failed program was:" >&5
8285 sed 's/^/| /' conftest.
$ac_ext >&5
8287 ac_cv_lib_fl_yywrap
=no
8289 rm -f conftest.err conftest.
$ac_objext \
8290 conftest
$ac_exeext conftest.
$ac_ext
8291 LIBS
=$ac_check_lib_save_LIBS
8293 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
8294 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
8295 if test $ac_cv_lib_fl_yywrap = yes; then
8298 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
8299 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
8300 if test "${ac_cv_lib_l_yywrap+set}" = set; then
8301 echo $ECHO_N "(cached) $ECHO_C" >&6
8303 ac_check_lib_save_LIBS
=$LIBS
8305 cat >conftest.
$ac_ext <<_ACEOF
8308 cat confdefs.h
>>conftest.
$ac_ext
8309 cat >>conftest.
$ac_ext <<_ACEOF
8310 /* end confdefs.h. */
8312 /* Override any gcc2 internal prototype to avoid an error. */
8316 /* We use char because int might match the return type of a gcc2
8317 builtin and then its argument prototype would still apply. */
8327 rm -f conftest.
$ac_objext conftest
$ac_exeext
8328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8329 (eval $ac_link) 2>conftest.er1
8331 grep -v '^ *+' conftest.er1
>conftest.err
8333 cat conftest.err
>&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); } &&
8336 { ac_try
='test -z "$ac_c_werror_flag"
8337 || test ! -s conftest.err'
8338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); }; } &&
8343 { ac_try
='test -s conftest$ac_exeext'
8344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); }; }; then
8349 ac_cv_lib_l_yywrap
=yes
8351 echo "$as_me: failed program was:" >&5
8352 sed 's/^/| /' conftest.
$ac_ext >&5
8354 ac_cv_lib_l_yywrap
=no
8356 rm -f conftest.err conftest.
$ac_objext \
8357 conftest
$ac_exeext conftest.
$ac_ext
8358 LIBS
=$ac_check_lib_save_LIBS
8360 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
8361 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
8362 if test $ac_cv_lib_l_yywrap = yes; then
8370 if test "x$LEX" != "x:"; then
8371 echo "$as_me:$LINENO: checking lex output file root" >&5
8372 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
8373 if test "${ac_cv_prog_lex_root+set}" = set; then
8374 echo $ECHO_N "(cached) $ECHO_C" >&6
8376 # The minimal lex program is just a single line: %%. But some broken lexes
8377 # (Solaris, I think it was) want two %% lines, so accommodate them.
8378 cat >conftest.l
<<_ACEOF
8382 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
8383 (eval $LEX conftest.l
) 2>&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); }
8387 if test -f lex.yy.c
; then
8388 ac_cv_prog_lex_root
=lex.yy
8389 elif test -f lexyy.c
; then
8390 ac_cv_prog_lex_root
=lexyy
8392 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
8393 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
8394 { (exit 1); exit 1; }; }
8397 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
8398 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
8400 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
8402 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
8403 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
8404 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
8405 echo $ECHO_N "(cached) $ECHO_C" >&6
8407 # POSIX says lex can declare yytext either as a pointer or an array; the
8408 # default is implementation-dependent. Figure out which it is, since
8409 # not all implementations provide the %pointer and %array declarations.
8410 ac_cv_prog_lex_yytext_pointer
=no
8411 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
8413 LIBS
="$LIBS $LEXLIB"
8414 cat >conftest.
$ac_ext <<_ACEOF
8415 `cat $LEX_OUTPUT_ROOT.c`
8417 rm -f conftest.
$ac_objext conftest
$ac_exeext
8418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8419 (eval $ac_link) 2>conftest.er1
8421 grep -v '^ *+' conftest.er1
>conftest.err
8423 cat conftest.err
>&5
8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8425 (exit $ac_status); } &&
8426 { ac_try
='test -z "$ac_c_werror_flag"
8427 || test ! -s conftest.err'
8428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); }; } &&
8433 { ac_try
='test -s conftest$ac_exeext'
8434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438 (exit $ac_status); }; }; then
8439 ac_cv_prog_lex_yytext_pointer
=yes
8441 echo "$as_me: failed program was:" >&5
8442 sed 's/^/| /' conftest.
$ac_ext >&5
8445 rm -f conftest.err conftest.
$ac_objext \
8446 conftest
$ac_exeext conftest.
$ac_ext
8448 rm -f "${LEX_OUTPUT_ROOT}.c"
8451 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
8452 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
8453 if test $ac_cv_prog_lex_yytext_pointer = yes; then
8455 cat >>confdefs.h
<<\_ACEOF
8456 #define YYTEXT_POINTER 1
8462 if test "$LEX" = :; then
8463 LEX
=${am_missing_run}flex
8466 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
8467 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
8468 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8469 if test "${enable_maintainer_mode+set}" = set; then
8470 enableval
="$enable_maintainer_mode"
8471 USE_MAINTAINER_MODE
=$enableval
8473 USE_MAINTAINER_MODE
=no
8475 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
8476 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
8479 if test $USE_MAINTAINER_MODE = yes; then
8480 MAINTAINER_MODE_TRUE
=
8481 MAINTAINER_MODE_FALSE
='#'
8483 MAINTAINER_MODE_TRUE
='#'
8484 MAINTAINER_MODE_FALSE
=
8487 MAINT
=$MAINTAINER_MODE_TRUE
8491 .
${srcdir}/configure.
host
8502 for ac_header
in string.h
strings.h stdlib.h unistd.h
8504 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8506 echo "$as_me:$LINENO: checking for $ac_header" >&5
8507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8509 echo $ECHO_N "(cached) $ECHO_C" >&6
8511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8514 # Is the header compilable?
8515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8517 cat >conftest.
$ac_ext <<_ACEOF
8520 cat confdefs.h
>>conftest.
$ac_ext
8521 cat >>conftest.
$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8523 $ac_includes_default
8524 #include <$ac_header>
8526 rm -f conftest.
$ac_objext
8527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8528 (eval $ac_compile) 2>conftest.er1
8530 grep -v '^ *+' conftest.er1
>conftest.err
8532 cat conftest.err
>&5
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); } &&
8535 { ac_try
='test -z "$ac_c_werror_flag"
8536 || test ! -s conftest.err'
8537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }; } &&
8542 { ac_try
='test -s conftest.$ac_objext'
8543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); }; }; then
8548 ac_header_compiler
=yes
8550 echo "$as_me: failed program was:" >&5
8551 sed 's/^/| /' conftest.
$ac_ext >&5
8553 ac_header_compiler
=no
8555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8557 echo "${ECHO_T}$ac_header_compiler" >&6
8559 # Is the header present?
8560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8562 cat >conftest.
$ac_ext <<_ACEOF
8565 cat confdefs.h
>>conftest.
$ac_ext
8566 cat >>conftest.
$ac_ext <<_ACEOF
8567 /* end confdefs.h. */
8568 #include <$ac_header>
8570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8571 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8573 grep -v '^ *+' conftest.er1
>conftest.err
8575 cat conftest.err
>&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 (exit $ac_status); } >/dev
/null
; then
8578 if test -s conftest.err
; then
8579 ac_cpp_err
=$ac_c_preproc_warn_flag
8580 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8587 if test -z "$ac_cpp_err"; then
8588 ac_header_preproc
=yes
8590 echo "$as_me: failed program was:" >&5
8591 sed 's/^/| /' conftest.
$ac_ext >&5
8593 ac_header_preproc
=no
8595 rm -f conftest.err conftest.
$ac_ext
8596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8597 echo "${ECHO_T}$ac_header_preproc" >&6
8599 # So? What about this header?
8600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8606 ac_header_preproc
=yes
8609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8623 ## ------------------------------------------ ##
8624 ## Report this to the AC_PACKAGE_NAME lists. ##
8625 ## ------------------------------------------ ##
8628 sed "s/^/$as_me: WARNING: /" >&2
8631 echo "$as_me:$LINENO: checking for $ac_header" >&5
8632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8634 echo $ECHO_N "(cached) $ECHO_C" >&6
8636 eval "$as_ac_Header=\$ac_header_preproc"
8638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8643 cat >>confdefs.h
<<_ACEOF
8644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8654 for ac_func
in sbrk realpath glob
8656 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8657 echo "$as_me:$LINENO: checking for $ac_func" >&5
8658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8659 if eval "test \"\${$as_ac_var+set}\" = set"; then
8660 echo $ECHO_N "(cached) $ECHO_C" >&6
8662 cat >conftest.
$ac_ext <<_ACEOF
8665 cat confdefs.h
>>conftest.
$ac_ext
8666 cat >>conftest.
$ac_ext <<_ACEOF
8667 /* end confdefs.h. */
8668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8670 #define $ac_func innocuous_$ac_func
8672 /* System header to define __stub macros and hopefully few prototypes,
8673 which can conflict with char $ac_func (); below.
8674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8675 <limits.h> exists even on freestanding compilers. */
8678 # include <limits.h>
8680 # include <assert.h>
8685 /* Override any gcc2 internal prototype to avoid an error. */
8690 /* We use char because int might match the return type of a gcc2
8691 builtin and then its argument prototype would still apply. */
8693 /* The GNU C library defines this for functions which it implements
8694 to always fail with ENOSYS. Some functions are actually named
8695 something starting with __ and the normal name is an alias. */
8696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8699 char (*f) () = $ac_func;
8708 return f != $ac_func;
8713 rm -f conftest.
$ac_objext conftest
$ac_exeext
8714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8715 (eval $ac_link) 2>conftest.er1
8717 grep -v '^ *+' conftest.er1
>conftest.err
8719 cat conftest.err
>&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } &&
8722 { ac_try
='test -z "$ac_c_werror_flag"
8723 || test ! -s conftest.err'
8724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; } &&
8729 { ac_try
='test -s conftest$ac_exeext'
8730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); }; }; then
8735 eval "$as_ac_var=yes"
8737 echo "$as_me: failed program was:" >&5
8738 sed 's/^/| /' conftest.
$ac_ext >&5
8740 eval "$as_ac_var=no"
8742 rm -f conftest.err conftest.
$ac_objext \
8743 conftest
$ac_exeext conftest.
$ac_ext
8745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8747 if test `eval echo '${'$as_ac_var'}'` = yes; then
8748 cat >>confdefs.h
<<_ACEOF
8749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8761 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8762 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8763 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8764 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8766 echo $ECHO_N "(cached) $ECHO_C" >&6
8768 cat >conftest.
$ac_ext <<_ACEOF
8771 cat confdefs.h
>>conftest.
$ac_ext
8772 cat >>conftest.
$ac_ext <<_ACEOF
8773 /* end confdefs.h. */
8774 #include <sys/types.h>
8786 rm -f conftest.
$ac_objext
8787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8788 (eval $ac_compile) 2>conftest.er1
8790 grep -v '^ *+' conftest.er1
>conftest.err
8792 cat conftest.err
>&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 (exit $ac_status); } &&
8795 { ac_try
='test -z "$ac_c_werror_flag"
8796 || test ! -s conftest.err'
8797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); }; } &&
8802 { ac_try
='test -s conftest.$ac_objext'
8803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); }; }; then
8808 eval "$as_ac_Header=yes"
8810 echo "$as_me: failed program was:" >&5
8811 sed 's/^/| /' conftest.
$ac_ext >&5
8813 eval "$as_ac_Header=no"
8815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8820 cat >>confdefs.h
<<_ACEOF
8821 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8824 ac_header_dirent
=$ac_hdr; break
8828 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8829 if test $ac_header_dirent = dirent.h
; then
8830 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8831 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8832 if test "${ac_cv_search_opendir+set}" = set; then
8833 echo $ECHO_N "(cached) $ECHO_C" >&6
8835 ac_func_search_save_LIBS
=$LIBS
8836 ac_cv_search_opendir
=no
8837 cat >conftest.
$ac_ext <<_ACEOF
8840 cat confdefs.h
>>conftest.
$ac_ext
8841 cat >>conftest.
$ac_ext <<_ACEOF
8842 /* end confdefs.h. */
8844 /* Override any gcc2 internal prototype to avoid an error. */
8848 /* We use char because int might match the return type of a gcc2
8849 builtin and then its argument prototype would still apply. */
8859 rm -f conftest.
$ac_objext conftest
$ac_exeext
8860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8861 (eval $ac_link) 2>conftest.er1
8863 grep -v '^ *+' conftest.er1
>conftest.err
8865 cat conftest.err
>&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); } &&
8868 { ac_try
='test -z "$ac_c_werror_flag"
8869 || test ! -s conftest.err'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; } &&
8875 { ac_try
='test -s conftest$ac_exeext'
8876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; }; then
8881 ac_cv_search_opendir
="none required"
8883 echo "$as_me: failed program was:" >&5
8884 sed 's/^/| /' conftest.
$ac_ext >&5
8887 rm -f conftest.err conftest.
$ac_objext \
8888 conftest
$ac_exeext conftest.
$ac_ext
8889 if test "$ac_cv_search_opendir" = no
; then
8890 for ac_lib
in dir
; do
8891 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8892 cat >conftest.
$ac_ext <<_ACEOF
8895 cat confdefs.h
>>conftest.
$ac_ext
8896 cat >>conftest.
$ac_ext <<_ACEOF
8897 /* end confdefs.h. */
8899 /* Override any gcc2 internal prototype to avoid an error. */
8903 /* We use char because int might match the return type of a gcc2
8904 builtin and then its argument prototype would still apply. */
8914 rm -f conftest.
$ac_objext conftest
$ac_exeext
8915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8916 (eval $ac_link) 2>conftest.er1
8918 grep -v '^ *+' conftest.er1
>conftest.err
8920 cat conftest.err
>&5
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); } &&
8923 { ac_try
='test -z "$ac_c_werror_flag"
8924 || test ! -s conftest.err'
8925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); }; } &&
8930 { ac_try
='test -s conftest$ac_exeext'
8931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); }; }; then
8936 ac_cv_search_opendir
="-l$ac_lib"
8939 echo "$as_me: failed program was:" >&5
8940 sed 's/^/| /' conftest.
$ac_ext >&5
8943 rm -f conftest.err conftest.
$ac_objext \
8944 conftest
$ac_exeext conftest.
$ac_ext
8947 LIBS
=$ac_func_search_save_LIBS
8949 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8950 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8951 if test "$ac_cv_search_opendir" != no
; then
8952 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8957 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8958 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8959 if test "${ac_cv_search_opendir+set}" = set; then
8960 echo $ECHO_N "(cached) $ECHO_C" >&6
8962 ac_func_search_save_LIBS
=$LIBS
8963 ac_cv_search_opendir
=no
8964 cat >conftest.
$ac_ext <<_ACEOF
8967 cat confdefs.h
>>conftest.
$ac_ext
8968 cat >>conftest.
$ac_ext <<_ACEOF
8969 /* end confdefs.h. */
8971 /* Override any gcc2 internal prototype to avoid an error. */
8975 /* We use char because int might match the return type of a gcc2
8976 builtin and then its argument prototype would still apply. */
8986 rm -f conftest.
$ac_objext conftest
$ac_exeext
8987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8988 (eval $ac_link) 2>conftest.er1
8990 grep -v '^ *+' conftest.er1
>conftest.err
8992 cat conftest.err
>&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); } &&
8995 { ac_try
='test -z "$ac_c_werror_flag"
8996 || test ! -s conftest.err'
8997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9001 (exit $ac_status); }; } &&
9002 { ac_try
='test -s conftest$ac_exeext'
9003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); }; }; then
9008 ac_cv_search_opendir
="none required"
9010 echo "$as_me: failed program was:" >&5
9011 sed 's/^/| /' conftest.
$ac_ext >&5
9014 rm -f conftest.err conftest.
$ac_objext \
9015 conftest
$ac_exeext conftest.
$ac_ext
9016 if test "$ac_cv_search_opendir" = no
; then
9018 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9019 cat >conftest.
$ac_ext <<_ACEOF
9022 cat confdefs.h
>>conftest.
$ac_ext
9023 cat >>conftest.
$ac_ext <<_ACEOF
9024 /* end confdefs.h. */
9026 /* Override any gcc2 internal prototype to avoid an error. */
9030 /* We use char because int might match the return type of a gcc2
9031 builtin and then its argument prototype would still apply. */
9041 rm -f conftest.
$ac_objext conftest
$ac_exeext
9042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9043 (eval $ac_link) 2>conftest.er1
9045 grep -v '^ *+' conftest.er1
>conftest.err
9047 cat conftest.err
>&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); } &&
9050 { ac_try
='test -z "$ac_c_werror_flag"
9051 || test ! -s conftest.err'
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; } &&
9057 { ac_try
='test -s conftest$ac_exeext'
9058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); }; }; then
9063 ac_cv_search_opendir
="-l$ac_lib"
9066 echo "$as_me: failed program was:" >&5
9067 sed 's/^/| /' conftest.
$ac_ext >&5
9070 rm -f conftest.err conftest.
$ac_objext \
9071 conftest
$ac_exeext conftest.
$ac_ext
9074 LIBS
=$ac_func_search_save_LIBS
9076 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9077 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9078 if test "$ac_cv_search_opendir" != no
; then
9079 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9086 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
9087 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
9088 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then
9089 echo $ECHO_N "(cached) $ECHO_C" >&6
9091 cat >conftest.
$ac_ext <<_ACEOF
9094 cat confdefs.h
>>conftest.
$ac_ext
9095 cat >>conftest.
$ac_ext <<_ACEOF
9096 /* end confdefs.h. */
9101 extern int getopt (int, char *const*, const char *);
9106 rm -f conftest.
$ac_objext
9107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9108 (eval $ac_compile) 2>conftest.er1
9110 grep -v '^ *+' conftest.er1
>conftest.err
9112 cat conftest.err
>&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); } &&
9115 { ac_try
='test -z "$ac_c_werror_flag"
9116 || test ! -s conftest.err'
9117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); }; } &&
9122 { ac_try
='test -s conftest.$ac_objext'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; }; then
9128 ld_cv_decl_getopt_unistd_h
=yes
9130 echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.
$ac_ext >&5
9133 ld_cv_decl_getopt_unistd_h
=no
9135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9138 echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
9139 echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6
9140 if test $ld_cv_decl_getopt_unistd_h = yes; then
9142 cat >>confdefs.h
<<\_ACEOF
9143 #define HAVE_DECL_GETOPT 1
9150 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
9152 cat >>confdefs.h
<<\_ACEOF
9153 #define USE_BINARY_FOPEN 1
9158 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
9159 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
9160 if test "${ac_cv_have_decl_strstr+set}" = set; then
9161 echo $ECHO_N "(cached) $ECHO_C" >&6
9163 cat >conftest.
$ac_ext <<_ACEOF
9166 cat confdefs.h
>>conftest.
$ac_ext
9167 cat >>conftest.
$ac_ext <<_ACEOF
9168 /* end confdefs.h. */
9169 $ac_includes_default
9174 char *p = (char *) strstr;
9181 rm -f conftest.
$ac_objext
9182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9183 (eval $ac_compile) 2>conftest.er1
9185 grep -v '^ *+' conftest.er1
>conftest.err
9187 cat conftest.err
>&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); } &&
9190 { ac_try
='test -z "$ac_c_werror_flag"
9191 || test ! -s conftest.err'
9192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196 (exit $ac_status); }; } &&
9197 { ac_try
='test -s conftest.$ac_objext'
9198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); }; }; then
9203 ac_cv_have_decl_strstr
=yes
9205 echo "$as_me: failed program was:" >&5
9206 sed 's/^/| /' conftest.
$ac_ext >&5
9208 ac_cv_have_decl_strstr
=no
9210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9212 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
9213 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
9214 if test $ac_cv_have_decl_strstr = yes; then
9216 cat >>confdefs.h
<<_ACEOF
9217 #define HAVE_DECL_STRSTR 1
9222 cat >>confdefs.h
<<_ACEOF
9223 #define HAVE_DECL_STRSTR 0
9228 echo "$as_me:$LINENO: checking whether free is declared" >&5
9229 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
9230 if test "${ac_cv_have_decl_free+set}" = set; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9233 cat >conftest.
$ac_ext <<_ACEOF
9236 cat confdefs.h
>>conftest.
$ac_ext
9237 cat >>conftest.
$ac_ext <<_ACEOF
9238 /* end confdefs.h. */
9239 $ac_includes_default
9244 char *p = (char *) free;
9251 rm -f conftest.
$ac_objext
9252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9253 (eval $ac_compile) 2>conftest.er1
9255 grep -v '^ *+' conftest.er1
>conftest.err
9257 cat conftest.err
>&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); } &&
9260 { ac_try
='test -z "$ac_c_werror_flag"
9261 || test ! -s conftest.err'
9262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266 (exit $ac_status); }; } &&
9267 { ac_try
='test -s conftest.$ac_objext'
9268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272 (exit $ac_status); }; }; then
9273 ac_cv_have_decl_free
=yes
9275 echo "$as_me: failed program was:" >&5
9276 sed 's/^/| /' conftest.
$ac_ext >&5
9278 ac_cv_have_decl_free
=no
9280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9282 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
9283 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
9284 if test $ac_cv_have_decl_free = yes; then
9286 cat >>confdefs.h
<<_ACEOF
9287 #define HAVE_DECL_FREE 1
9292 cat >>confdefs.h
<<_ACEOF
9293 #define HAVE_DECL_FREE 0
9298 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
9299 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
9300 if test "${ac_cv_have_decl_sbrk+set}" = set; then
9301 echo $ECHO_N "(cached) $ECHO_C" >&6
9303 cat >conftest.
$ac_ext <<_ACEOF
9306 cat confdefs.h
>>conftest.
$ac_ext
9307 cat >>conftest.
$ac_ext <<_ACEOF
9308 /* end confdefs.h. */
9309 $ac_includes_default
9314 char *p = (char *) sbrk;
9321 rm -f conftest.
$ac_objext
9322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9323 (eval $ac_compile) 2>conftest.er1
9325 grep -v '^ *+' conftest.er1
>conftest.err
9327 cat conftest.err
>&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); } &&
9330 { ac_try
='test -z "$ac_c_werror_flag"
9331 || test ! -s conftest.err'
9332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); }; } &&
9337 { ac_try
='test -s conftest.$ac_objext'
9338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); }; }; then
9343 ac_cv_have_decl_sbrk
=yes
9345 echo "$as_me: failed program was:" >&5
9346 sed 's/^/| /' conftest.
$ac_ext >&5
9348 ac_cv_have_decl_sbrk
=no
9350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9352 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
9353 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
9354 if test $ac_cv_have_decl_sbrk = yes; then
9356 cat >>confdefs.h
<<_ACEOF
9357 #define HAVE_DECL_SBRK 1
9362 cat >>confdefs.h
<<_ACEOF
9363 #define HAVE_DECL_SBRK 0
9368 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
9369 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
9370 if test "${ac_cv_have_decl_getenv+set}" = set; then
9371 echo $ECHO_N "(cached) $ECHO_C" >&6
9373 cat >conftest.
$ac_ext <<_ACEOF
9376 cat confdefs.h
>>conftest.
$ac_ext
9377 cat >>conftest.
$ac_ext <<_ACEOF
9378 /* end confdefs.h. */
9379 $ac_includes_default
9384 char *p = (char *) getenv;
9391 rm -f conftest.
$ac_objext
9392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9393 (eval $ac_compile) 2>conftest.er1
9395 grep -v '^ *+' conftest.er1
>conftest.err
9397 cat conftest.err
>&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); } &&
9400 { ac_try
='test -z "$ac_c_werror_flag"
9401 || test ! -s conftest.err'
9402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); }; } &&
9407 { ac_try
='test -s conftest.$ac_objext'
9408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); }; }; then
9413 ac_cv_have_decl_getenv
=yes
9415 echo "$as_me: failed program was:" >&5
9416 sed 's/^/| /' conftest.
$ac_ext >&5
9418 ac_cv_have_decl_getenv
=no
9420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9422 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
9423 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
9424 if test $ac_cv_have_decl_getenv = yes; then
9426 cat >>confdefs.h
<<_ACEOF
9427 #define HAVE_DECL_GETENV 1
9432 cat >>confdefs.h
<<_ACEOF
9433 #define HAVE_DECL_GETENV 0
9438 echo "$as_me:$LINENO: checking whether environ is declared" >&5
9439 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
9440 if test "${ac_cv_have_decl_environ+set}" = set; then
9441 echo $ECHO_N "(cached) $ECHO_C" >&6
9443 cat >conftest.
$ac_ext <<_ACEOF
9446 cat confdefs.h
>>conftest.
$ac_ext
9447 cat >>conftest.
$ac_ext <<_ACEOF
9448 /* end confdefs.h. */
9449 $ac_includes_default
9454 char *p = (char *) environ;
9461 rm -f conftest.
$ac_objext
9462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9463 (eval $ac_compile) 2>conftest.er1
9465 grep -v '^ *+' conftest.er1
>conftest.err
9467 cat conftest.err
>&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); } &&
9470 { ac_try
='test -z "$ac_c_werror_flag"
9471 || test ! -s conftest.err'
9472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; } &&
9477 { ac_try
='test -s conftest.$ac_objext'
9478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); }; }; then
9483 ac_cv_have_decl_environ
=yes
9485 echo "$as_me: failed program was:" >&5
9486 sed 's/^/| /' conftest.
$ac_ext >&5
9488 ac_cv_have_decl_environ
=no
9490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9492 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
9493 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
9494 if test $ac_cv_have_decl_environ = yes; then
9496 cat >>confdefs.h
<<_ACEOF
9497 #define HAVE_DECL_ENVIRON 1
9502 cat >>confdefs.h
<<_ACEOF
9503 #define HAVE_DECL_ENVIRON 0
9511 # When converting linker scripts into strings for use in emulation
9512 # files, use astring.sed if the compiler supports ANSI string
9513 # concatenation, or ostring.sed otherwise. This is to support the
9514 # broken Microsoft MSVC compiler, which limits the length of string
9515 # constants, while still supporting pre-ANSI compilers which do not
9516 # support string concatenation.
9517 echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
9518 echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6
9519 if test "${ld_cv_string_concatenation+set}" = set; then
9520 echo $ECHO_N "(cached) $ECHO_C" >&6
9522 cat >conftest.
$ac_ext <<_ACEOF
9525 cat confdefs.h
>>conftest.
$ac_ext
9526 cat >>conftest.
$ac_ext <<_ACEOF
9527 /* end confdefs.h. */
9537 rm -f conftest.
$ac_objext
9538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9539 (eval $ac_compile) 2>conftest.er1
9541 grep -v '^ *+' conftest.er1
>conftest.err
9543 cat conftest.err
>&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); } &&
9546 { ac_try
='test -z "$ac_c_werror_flag"
9547 || test ! -s conftest.err'
9548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); }; } &&
9553 { ac_try
='test -s conftest.$ac_objext'
9554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); }; }; then
9559 ld_cv_string_concatenation
=yes
9561 echo "$as_me: failed program was:" >&5
9562 sed 's/^/| /' conftest.
$ac_ext >&5
9564 ld_cv_string_concatenation
=no
9566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9569 echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
9570 echo "${ECHO_T}$ld_cv_string_concatenation" >&6
9571 if test "$ld_cv_string_concatenation" = "yes"; then
9572 STRINGIFY
=astring.
sed
9574 STRINGIFY
=ostring.
sed
9578 # target-specific stuff:
9588 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
9590 if test "$targ_alias" = "all"; then
9593 # Canonicalize the secondary target names.
9594 result
=`$ac_config_sub $targ_alias 2>/dev/null`
9595 if test -n "$result"; then
9601 .
${srcdir}/configure.tgt
9603 if test "$targ" = "$target"; then
9607 for i
in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
9608 case " $all_emuls " in
9611 all_emuls
="$all_emuls e${i}.o"
9612 eval result
=\
$tdir_$i
9613 test -z "$result" && result
=$targ_alias
9614 echo tdir_
$i=$result >> tdirs
9619 for i
in $targ_emul $targ_extra_libpath; do
9620 case " $all_libpath " in
9623 if test -z "$all_libpath"; then
9626 all_libpath
="$all_libpath ${i}"
9632 for i
in $targ_extra_ofiles; do
9633 case " $all_emul_extras " in
9636 all_emul_extras
="$all_emul_extras ${i}"
9648 if test x
${all_targets} = xtrue
; then
9649 if test x
${want64} = xtrue
; then
9650 EMULATION_OFILES
='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
9652 EMULATION_OFILES
='$(ALL_EMULATIONS)'
9654 EMUL_EXTRA_OFILES
='$(ALL_EMUL_EXTRA_OFILES)'
9656 EMULATION_OFILES
=$all_emuls
9657 EMUL_EXTRA_OFILES
=$all_emul_extras
9663 EMULATION_LIBPATH
=$all_libpath
9666 if test x
${enable_static} = xno
; then
9667 TESTBFDLIB
="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
9669 TESTBFDLIB
="../bfd/.libs/libbfd.a"
9673 target_vendor
=${target_vendor=$host_vendor}
9674 case "$target_vendor" in
9675 hp
) EXTRA_SHLIB_EXTENSION
=".sl" ;;
9676 *) EXTRA_SHLIB_EXTENSION
= ;;
9679 case "$target_os" in
9680 lynxos
) EXTRA_SHLIB_EXTENSION
=".a" ;;
9683 if test x
${EXTRA_SHLIB_EXTENSION} != x
; then
9685 cat >>confdefs.h
<<_ACEOF
9686 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
9691 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
9692 ac_config_commands
="$ac_config_commands default"
9693 cat >confcache
<<\_ACEOF
9694 # This file is a shell script that caches the results of configure
9695 # tests run on this system so they can be shared between configure
9696 # scripts and configure runs, see configure's option --config-cache.
9697 # It is not useful on other systems. If it contains results you don't
9698 # want to keep, you may remove or edit it.
9700 # config.status only pays attention to the cache file if you give it
9701 # the --recheck option to rerun configure.
9703 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9704 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9709 # The following way of writing the cache mishandles newlines in values,
9710 # but we know of no workaround that is simple, portable, and efficient.
9711 # So, don't put newlines in cache variables' values.
9712 # Ultrix sh set writes to stderr and can't be redirected directly,
9713 # and sets the high bit in the cache file unless we assign to the vars.
9716 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9718 # `set' does not quote correctly, so add quotes (double-quote
9719 # substitution turns \\\\ into \\, and sed turns \\ into \).
9722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9725 # `set' quotes correctly as required by POSIX, so do not add quotes.
9727 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9736 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9738 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9739 if test -w $cache_file; then
9740 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9741 cat confcache
>$cache_file
9743 echo "not updating unwritable cache $cache_file"
9748 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9749 # Let make expand exec_prefix.
9750 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9752 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9753 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9754 # trailing colons and then remove the whole line if VPATH becomes empty
9755 # (actually we leave an empty line to preserve line numbers).
9756 if test "x$srcdir" = x.
; then
9757 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9758 s/:*\$(srcdir):*/:/;
9759 s/:*\${srcdir}:*/:/;
9761 s/^\([^=]*=[ ]*\):*/\1/;
9767 DEFS
=-DHAVE_CONFIG_H
9771 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9772 # 1. Remove the extension, and $U if already installed.
9773 ac_i
=`echo "$ac_i" |
9774 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9776 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
9777 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
9781 LTLIBOBJS
=$ac_ltlibobjs
9784 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9785 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9786 Usually this means the macro was only invoked conditionally." >&5
9787 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9788 Usually this means the macro was only invoked conditionally." >&2;}
9789 { (exit 1); exit 1; }; }
9791 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9792 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9793 Usually this means the macro was only invoked conditionally." >&5
9794 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9795 Usually this means the macro was only invoked conditionally." >&2;}
9796 { (exit 1); exit 1; }; }
9798 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9799 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
9800 Usually this means the macro was only invoked conditionally." >&5
9801 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
9802 Usually this means the macro was only invoked conditionally." >&2;}
9803 { (exit 1); exit 1; }; }
9806 : ${CONFIG_STATUS=./config.status}
9807 ac_clean_files_save
=$ac_clean_files
9808 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9809 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9810 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9811 cat >$CONFIG_STATUS <<_ACEOF
9813 # Generated by $as_me.
9814 # Run this file to recreate the current configuration.
9815 # Compiler output produced by configure, useful for debugging
9816 # configure, is in config.log if it exists.
9821 SHELL=\${CONFIG_SHELL-$SHELL}
9824 cat >>$CONFIG_STATUS <<\_ACEOF
9825 ## --------------------- ##
9826 ## M4sh Initialization. ##
9827 ## --------------------- ##
9829 # Be Bourne compatible
9830 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9833 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9834 # is contrary to our usage. Disable this feature.
9835 alias -g '${1+"$@"}'='"$@"'
9836 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
9839 DUALCASE
=1; export DUALCASE
# for MKS sh
9841 # Support unset when possible.
9842 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9849 # Work around bugs in pre-3.0 UWIN ksh.
9850 $as_unset ENV MAIL MAILPATH
9857 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9858 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9859 LC_TELEPHONE LC_TIME
9861 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9862 eval $as_var=C
; export $as_var
9868 # Required to use basename.
9869 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9875 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
9876 as_basename
=basename
9882 # Name of the executable.
9883 as_me
=`$as_basename "$0" ||
9884 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9885 X"$0" : 'X\(//\)$' \| \
9886 X"$0" : 'X\(/\)$' \| \
9887 . : '\(.\)' 2>/dev/null ||
9889 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9890 /^X\/\(\/\/\)$/{ s//\1/; q; }
9891 /^X\/\(\/\).*/{ s//\1/; q; }
9895 # PATH needs CR, and LINENO needs CR and PATH.
9896 # Avoid depending upon Character Ranges.
9897 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9898 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9899 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9900 as_cr_digits
='0123456789'
9901 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9903 # The user is always right.
9904 if test "${PATH_SEPARATOR+set}" != set; then
9905 echo "#! /bin/sh" >conf$$.sh
9906 echo "exit 0" >>conf$$.sh
9908 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9919 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9920 test "x$as_lineno_1" != "x$as_lineno_2" &&
9921 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
9922 # Find who we are. Look in the path if we contain no path at all
9925 *[\\/]* ) as_myself
=$0 ;;
9926 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9930 test -z "$as_dir" && as_dir
=.
9931 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9936 # We did not find ourselves, most probably we were run as `sh COMMAND'
9937 # in which case we are not to be found in the path.
9938 if test "x$as_myself" = x
; then
9941 if test ! -f "$as_myself"; then
9942 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9943 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9944 { (exit 1); exit 1; }; }
9946 case $CONFIG_SHELL in
9948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9949 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9952 test -z "$as_dir" && as_dir
=.
9953 for as_base
in sh bash ksh sh5
; do
9956 if ("$as_dir/$as_base" -c '
9959 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9960 test "x$as_lineno_1" != "x$as_lineno_2" &&
9961 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9962 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
9963 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9964 CONFIG_SHELL
=$as_dir/$as_base
9966 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9974 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9975 # uniformly replaced by the line number. The first 'sed' inserts a
9976 # line-number line before each line; the second 'sed' does the real
9977 # work. The second script uses 'N' to pair each line-number line
9978 # with the numbered line, and appends trailing '-' during
9979 # substitution so that $LINENO is not a special case at line end.
9980 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9981 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9982 sed '=' <$as_myself |
9987 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9990 s,^['$as_cr_digits']*\n,,
9992 chmod +x
$as_me.lineno ||
9993 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9994 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9995 { (exit 1); exit 1; }; }
9997 # Don't try to exec as it changes $[0], causing all sort of problems
9998 # (the dirname of $[0] is not the place where we might find the
9999 # original and so on. Autoconf is especially sensible to this).
10001 # Exit status is that of the last command.
10006 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10007 *c
*,-n*) ECHO_N
= ECHO_C
='
10009 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
10010 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
10013 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10019 rm -f conf$$ conf$$.exe conf$$.
file
10021 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10022 # We could just check for DJGPP; but this test a) works b) is more generic
10023 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10024 if test -f conf$$.exe
; then
10025 # Don't use ln at all; we don't have any links
10030 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10035 rm -f conf$$ conf$$.exe conf$$.
file
10037 if mkdir
-p .
2>/dev
/null
; then
10040 test -d .
/-p && rmdir .
/-p
10044 as_executable_p
="test -f"
10046 # Sed expression to map a string onto a valid CPP name.
10047 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10049 # Sed expression to map a string onto a valid variable name.
10050 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10054 # We need space, tab and new line, in precisely that order.
10064 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10065 # report actual input values of CONFIG_FILES etc. instead of their
10066 # values after options handling. Logging --version etc. is OK.
10070 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10071 ## Running $as_me. ##
10076 This file was extended by $as_me, which was
10077 generated by GNU Autoconf 2.59. Invocation command line was
10079 CONFIG_FILES = $CONFIG_FILES
10080 CONFIG_HEADERS = $CONFIG_HEADERS
10081 CONFIG_LINKS = $CONFIG_LINKS
10082 CONFIG_COMMANDS = $CONFIG_COMMANDS
10086 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10090 # Files that config.status was made for.
10091 if test -n "$ac_config_files"; then
10092 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10095 if test -n "$ac_config_headers"; then
10096 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10099 if test -n "$ac_config_links"; then
10100 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10103 if test -n "$ac_config_commands"; then
10104 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10107 cat >>$CONFIG_STATUS <<\_ACEOF
10110 \`$as_me' instantiates files from templates according to the
10111 current configuration.
10113 Usage: $0 [OPTIONS] [FILE]...
10115 -h, --help print this help, then exit
10116 -V, --version print version number, then exit
10117 -q, --quiet do not print progress messages
10118 -d, --debug don't remove temporary files
10119 --recheck update $as_me by reconfiguring in the same conditions
10120 --file=FILE[:TEMPLATE]
10121 instantiate the configuration file FILE
10122 --header=FILE[:TEMPLATE]
10123 instantiate the configuration header FILE
10125 Configuration files:
10128 Configuration headers:
10131 Configuration commands:
10134 Report bugs to <bug-autoconf@gnu.org>."
10137 cat >>$CONFIG_STATUS <<_ACEOF
10140 configured by $0, generated by GNU Autoconf 2.59,
10141 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10143 Copyright (C) 2003 Free Software Foundation, Inc.
10144 This config.status script is free software; the Free Software Foundation
10145 gives unlimited permission to copy, distribute and modify it."
10150 cat >>$CONFIG_STATUS <<\_ACEOF
10151 # If no file are specified by the user, then we need to provide default
10152 # value. By we need to know if files were specified by the user.
10158 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10159 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10167 *) # This is not an option, so the user has probably given explicit
10170 ac_need_defaults
=false
;;
10174 # Handling of the options.
10176 cat >>$CONFIG_STATUS <<\_ACEOF
10177 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10179 --version |
--vers* |
-V )
10180 echo "$ac_cs_version"; exit 0 ;;
10182 # Conflict between --help and --header
10183 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10184 Try \`$0 --help' for more information." >&5
10185 echo "$as_me: error: ambiguous option: $1
10186 Try \`$0 --help' for more information." >&2;}
10187 { (exit 1); exit 1; }; };;
10188 --help |
--hel |
-h )
10189 echo "$ac_cs_usage"; exit 0 ;;
10190 --debug |
--d* |
-d )
10192 --file |
--fil |
--fi |
--f )
10194 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10195 ac_need_defaults
=false
;;
10196 --header |
--heade |
--head |
--hea )
10198 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10199 ac_need_defaults
=false
;;
10200 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10201 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10204 # This is an error.
10205 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10206 Try \`$0 --help' for more information." >&5
10207 echo "$as_me: error: unrecognized option: $1
10208 Try \`$0 --help' for more information." >&2;}
10209 { (exit 1); exit 1; }; } ;;
10211 *) ac_config_targets
="$ac_config_targets $1" ;;
10217 ac_configure_extra_args
=
10219 if $ac_cs_silent; then
10221 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10225 cat >>$CONFIG_STATUS <<_ACEOF
10226 if \$ac_cs_recheck; then
10227 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10228 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10233 cat >>$CONFIG_STATUS <<_ACEOF
10235 # INIT-COMMANDS section.
10238 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10244 cat >>$CONFIG_STATUS <<\_ACEOF
10245 for ac_config_target
in $ac_config_targets
10247 case "$ac_config_target" in
10248 # Handling of arguments.
10249 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10250 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
10251 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10252 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
10253 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
10254 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10255 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10256 { (exit 1); exit 1; }; };;
10260 # If the user did not use the arguments to specify the items to instantiate,
10261 # then the envvar interface is used. Set only those that are not.
10262 # We use the long form for the default assignment because of an extremely
10263 # bizarre bug on SunOS 4.1.3.
10264 if $ac_need_defaults; then
10265 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10266 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10267 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10270 # Have a temporary directory for convenience. Make it in the build tree
10271 # simply because there is no reason to put it here, and in addition,
10272 # creating and moving files from /tmp can sometimes cause problems.
10273 # Create a temporary directory, and hook for its removal unless debugging.
10276 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10277 trap '{ (exit 1); exit 1; }' 1 2 13 15
10280 # Create a (secure) tmp directory for tmp files.
10283 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10284 test -n "$tmp" && test -d "$tmp"
10287 tmp
=.
/confstat$$
-$RANDOM
10288 (umask 077 && mkdir
$tmp)
10291 echo "$me: cannot create a temporary directory in ." >&2
10292 { (exit 1); exit 1; }
10297 cat >>$CONFIG_STATUS <<_ACEOF
10300 # CONFIG_FILES section.
10303 # No need to generate the scripts if there are no CONFIG_FILES.
10304 # This happens for instance when ./config.status config.h
10305 if test -n "\$CONFIG_FILES"; then
10306 # Protect against being on the right side of a sed subst in config.status.
10307 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10308 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10309 s,@SHELL@,$SHELL,;t t
10310 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10311 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10312 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10313 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10314 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10315 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10316 s,@exec_prefix@,$exec_prefix,;t t
10317 s,@prefix@,$prefix,;t t
10318 s,@program_transform_name@,$program_transform_name,;t t
10319 s,@bindir@,$bindir,;t t
10320 s,@sbindir@,$sbindir,;t t
10321 s,@libexecdir@,$libexecdir,;t t
10322 s,@datadir@,$datadir,;t t
10323 s,@sysconfdir@,$sysconfdir,;t t
10324 s,@sharedstatedir@,$sharedstatedir,;t t
10325 s,@localstatedir@,$localstatedir,;t t
10326 s,@libdir@,$libdir,;t t
10327 s,@includedir@,$includedir,;t t
10328 s,@oldincludedir@,$oldincludedir,;t t
10329 s,@infodir@,$infodir,;t t
10330 s,@mandir@,$mandir,;t t
10331 s,@build_alias@,$build_alias,;t t
10332 s,@host_alias@,$host_alias,;t t
10333 s,@target_alias@,$target_alias,;t t
10334 s,@DEFS@,$DEFS,;t t
10335 s,@ECHO_C@,$ECHO_C,;t t
10336 s,@ECHO_N@,$ECHO_N,;t t
10337 s,@ECHO_T@,$ECHO_T,;t t
10338 s,@LIBS@,$LIBS,;t t
10339 s,@build@,$build,;t t
10340 s,@build_cpu@,$build_cpu,;t t
10341 s,@build_vendor@,$build_vendor,;t t
10342 s,@build_os@,$build_os,;t t
10343 s,@host@,$host,;t t
10344 s,@host_cpu@,$host_cpu,;t t
10345 s,@host_vendor@,$host_vendor,;t t
10346 s,@host_os@,$host_os,;t t
10347 s,@target@,$target,;t t
10348 s,@target_cpu@,$target_cpu,;t t
10349 s,@target_vendor@,$target_vendor,;t t
10350 s,@target_os@,$target_os,;t t
10352 s,@CFLAGS@,$CFLAGS,;t t
10353 s,@LDFLAGS@,$LDFLAGS,;t t
10354 s,@CPPFLAGS@,$CPPFLAGS,;t t
10355 s,@ac_ct_CC@,$ac_ct_CC,;t t
10356 s,@EXEEXT@,$EXEEXT,;t t
10357 s,@OBJEXT@,$OBJEXT,;t t
10358 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10359 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10360 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10361 s,@CYGPATH_W@,$CYGPATH_W,;t t
10362 s,@PACKAGE@,$PACKAGE,;t t
10363 s,@VERSION@,$VERSION,;t t
10364 s,@ACLOCAL@,$ACLOCAL,;t t
10365 s,@AUTOCONF@,$AUTOCONF,;t t
10366 s,@AUTOMAKE@,$AUTOMAKE,;t t
10367 s,@AUTOHEADER@,$AUTOHEADER,;t t
10368 s,@MAKEINFO@,$MAKEINFO,;t t
10369 s,@install_sh@,$install_sh,;t t
10370 s,@STRIP@,$STRIP,;t t
10371 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
10372 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
10373 s,@mkdir_p@,$mkdir_p,;t t
10375 s,@SET_MAKE@,$SET_MAKE,;t t
10376 s,@am__leading_dot@,$am__leading_dot,;t t
10377 s,@AMTAR@,$AMTAR,;t t
10378 s,@am__tar@,$am__tar,;t t
10379 s,@am__untar@,$am__untar,;t t
10380 s,@DEPDIR@,$DEPDIR,;t t
10381 s,@am__include@,$am__include,;t t
10382 s,@am__quote@,$am__quote,;t t
10383 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
10384 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
10385 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
10386 s,@CCDEPMODE@,$CCDEPMODE,;t t
10387 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
10388 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
10389 s,@LN_S@,$LN_S,;t t
10390 s,@RANLIB@,$RANLIB,;t t
10391 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10392 s,@LIBTOOL@,$LIBTOOL,;t t
10393 s,@use_sysroot@,$use_sysroot,;t t
10394 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
10395 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
10396 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
10397 s,@NO_WERROR@,$NO_WERROR,;t t
10399 s,@EGREP@,$EGREP,;t t
10400 s,@ALLOCA@,$ALLOCA,;t t
10401 s,@USE_NLS@,$USE_NLS,;t t
10402 s,@MSGFMT@,$MSGFMT,;t t
10403 s,@GMSGFMT@,$GMSGFMT,;t t
10404 s,@XGETTEXT@,$XGETTEXT,;t t
10405 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
10406 s,@CATALOGS@,$CATALOGS,;t t
10407 s,@CATOBJEXT@,$CATOBJEXT,;t t
10408 s,@DATADIRNAME@,$DATADIRNAME,;t t
10409 s,@GMOFILES@,$GMOFILES,;t t
10410 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
10411 s,@INTLDEPS@,$INTLDEPS,;t t
10412 s,@INTLLIBS@,$INTLLIBS,;t t
10413 s,@INTLOBJS@,$INTLOBJS,;t t
10414 s,@POFILES@,$POFILES,;t t
10415 s,@POSUB@,$POSUB,;t t
10416 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
10417 s,@GT_NO@,$GT_NO,;t t
10418 s,@GT_YES@,$GT_YES,;t t
10419 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
10421 s,@YACC@,$YACC,;t t
10423 s,@LEXLIB@,$LEXLIB,;t t
10424 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
10425 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
10426 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
10427 s,@MAINT@,$MAINT,;t t
10428 s,@HDEFINES@,$HDEFINES,;t t
10429 s,@HOSTING_CRT0@,$HOSTING_CRT0,;t t
10430 s,@HOSTING_LIBS@,$HOSTING_LIBS,;t t
10431 s,@NATIVE_LIB_DIRS@,$NATIVE_LIB_DIRS,;t t
10432 s,@STRINGIFY@,$STRINGIFY,;t t
10433 s,@EMUL@,$EMUL,;t t
10434 s,@EMULATION_OFILES@,$EMULATION_OFILES,;t t
10435 s,@EMUL_EXTRA_OFILES@,$EMUL_EXTRA_OFILES,;t t
10436 s,@LIB_PATH@,$LIB_PATH,;t t
10437 s,@EMULATION_LIBPATH@,$EMULATION_LIBPATH,;t t
10438 s,@TESTBFDLIB@,$TESTBFDLIB,;t t
10439 s,@LIBOBJS@,$LIBOBJS,;t t
10440 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10447 cat >>$CONFIG_STATUS <<\_ACEOF
10448 # Split the substitutions into bite-sized pieces for seds with
10449 # small command number limits, like on Digital OSF/1 and HP-UX.
10450 ac_max_sed_lines
=48
10451 ac_sed_frag
=1 # Number of current file.
10452 ac_beg
=1 # First line for current file.
10453 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10456 while $ac_more_lines; do
10457 if test $ac_beg -gt 1; then
10458 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10460 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10462 if test ! -s $tmp/subs.frag
; then
10463 ac_more_lines
=false
10465 # The purpose of the label and of the branching condition is to
10466 # speed up the sed processing (if there are no `@' at all, there
10467 # is no need to browse any of the substitutions).
10468 # These are the two extra sed commands mentioned above.
10470 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
10471 if test -z "$ac_sed_cmds"; then
10472 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10474 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10476 ac_sed_frag
=`expr $ac_sed_frag + 1`
10478 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10481 if test -z "$ac_sed_cmds"; then
10484 fi # test -n "$CONFIG_FILES"
10487 cat >>$CONFIG_STATUS <<\_ACEOF
10488 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10489 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10491 - |
*:- |
*:-:* ) # input from stdin
10493 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10494 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10495 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10496 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10497 * ) ac_file_in
=$ac_file.
in ;;
10500 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10501 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10503 X"$ac_file" : 'X\(//\)[^/]' \| \
10504 X"$ac_file" : 'X\(//\)$' \| \
10505 X"$ac_file" : 'X\(/\)' \| \
10506 . : '\(.\)' 2>/dev/null ||
10508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10509 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10510 /^X\(\/\/\)$/{ s//\1/; q; }
10511 /^X\(\/\).*/{ s//\1/; q; }
10513 { if $as_mkdir_p; then
10518 while test ! -d "$as_dir"; do
10519 as_dirs
="$as_dir $as_dirs"
10520 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10521 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10522 X"$as_dir" : 'X\(//\)[^/]' \| \
10523 X"$as_dir" : 'X\(//\)$' \| \
10524 X"$as_dir" : 'X\(/\)' \| \
10525 . : '\(.\)' 2>/dev/null ||
10527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10528 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10529 /^X\(\/\/\)$/{ s//\1/; q; }
10530 /^X\(\/\).*/{ s//\1/; q; }
10533 test ! -n "$as_dirs" || mkdir
$as_dirs
10534 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10535 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10536 { (exit 1); exit 1; }; }; }
10540 if test "$ac_dir" != .
; then
10541 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10542 # A "../" for each directory in $ac_dir_suffix.
10543 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10545 ac_dir_suffix
= ac_top_builddir
=
10549 .
) # No --srcdir option. We are building in place.
10551 if test -z "$ac_top_builddir"; then
10554 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10556 [\\/]* | ?
:[\\/]* ) # Absolute path.
10557 ac_srcdir
=$srcdir$ac_dir_suffix;
10558 ac_top_srcdir
=$srcdir ;;
10559 *) # Relative path.
10560 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10561 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10564 # Do not use `cd foo && pwd` to compute absolute paths, because
10565 # the directories may not exist.
10567 .
) ac_abs_builddir
="$ac_dir";;
10570 .
) ac_abs_builddir
=`pwd`;;
10571 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10572 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10575 case $ac_abs_builddir in
10576 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10578 case ${ac_top_builddir}.
in
10579 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10580 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10581 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10584 case $ac_abs_builddir in
10585 .
) ac_abs_srcdir
=$ac_srcdir;;
10588 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10589 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10590 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10593 case $ac_abs_builddir in
10594 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10596 case $ac_top_srcdir in
10597 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10598 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10599 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10605 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10606 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
10609 if test x
"$ac_file" != x-
; then
10610 { echo "$as_me:$LINENO: creating $ac_file" >&5
10611 echo "$as_me: creating $ac_file" >&6;}
10614 # Let's still pretend it is `configure' which instantiates (i.e., don't
10615 # use $as_me), people would be surprised to read:
10616 # /* config.h. Generated by config.status. */
10617 if test x
"$ac_file" = x-
; then
10620 configure_input
="$ac_file. "
10622 configure_input
=$configure_input"Generated from `echo $ac_file_in |
10623 sed 's,.*/,,'` by configure."
10625 # First look for the input files in the build tree, otherwise in the
10627 ac_file_inputs
=`IFS=:
10628 for f in $ac_file_in; do
10630 -) echo $tmp/stdin ;;
10632 # Absolute (can't be DOS-style, as IFS=:)
10633 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10634 echo "$as_me: error: cannot find input file: $f" >&2;}
10635 { (exit 1); exit 1; }; }
10638 if test -f "$f"; then
10641 elif test -f "$srcdir/$f"; then
10646 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10647 echo "$as_me: error: cannot find input file: $f" >&2;}
10648 { (exit 1); exit 1; }; }
10651 done` ||
{ (exit 1); exit 1; }
10653 cat >>$CONFIG_STATUS <<_ACEOF
10657 cat >>$CONFIG_STATUS <<\_ACEOF
10659 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10660 s
,@configure_input@
,$configure_input,;t t
10661 s
,@srcdir@
,$ac_srcdir,;t t
10662 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
10663 s
,@top_srcdir@
,$ac_top_srcdir,;t t
10664 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
10665 s
,@builddir@
,$ac_builddir,;t t
10666 s
,@abs_builddir@
,$ac_abs_builddir,;t t
10667 s
,@top_builddir@
,$ac_top_builddir,;t t
10668 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
10669 s
,@INSTALL@
,$ac_INSTALL,;t t
10670 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10672 if test x"$ac_file" != x-; then
10673 mv $tmp/out $ac_file
10681 cat >>$CONFIG_STATUS <<\_ACEOF
10684 # CONFIG_HEADER section.
10687 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
10688 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10690 # ac_d sets the value in "#define NAME VALUE" lines.
10691 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10692 ac_dB
='[ ].*$,\1#\2'
10695 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10696 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10697 ac_uB
='$,\1#\2define\3'
10701 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
10702 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10704 - |
*:- |
*:-:* ) # input from stdin
10706 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10707 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10708 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10709 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10710 * ) ac_file_in
=$ac_file.
in ;;
10713 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
10714 echo "$as_me: creating $ac_file" >&6;}
10716 # First look for the input files in the build tree, otherwise in the
10718 ac_file_inputs
=`IFS=:
10719 for f in $ac_file_in; do
10721 -) echo $tmp/stdin ;;
10723 # Absolute (can't be DOS-style, as IFS=:)
10724 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10725 echo "$as_me: error: cannot find input file: $f" >&2;}
10726 { (exit 1); exit 1; }; }
10727 # Do quote $f, to prevent DOS paths from being IFS'd.
10730 if test -f "$f"; then
10733 elif test -f "$srcdir/$f"; then
10738 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10739 echo "$as_me: error: cannot find input file: $f" >&2;}
10740 { (exit 1); exit 1; }; }
10743 done` ||
{ (exit 1); exit 1; }
10744 # Remove the trailing spaces.
10745 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10749 # Transform confdefs.h into two sed scripts, `conftest.defines' and
10750 # `conftest.undefs', that substitutes the proper values into
10751 # config.h.in to produce config.h. The first handles `#define'
10752 # templates, and the second `#undef' templates.
10753 # And first: Protect against being on the right side of a sed subst in
10754 # config.status. Protect against being in an unquoted here document
10755 # in config.status.
10756 rm -f conftest.defines conftest.undefs
10757 # Using a here document instead of a string reduces the quoting nightmare.
10758 # Putting comments in sed scripts is not portable.
10760 # `end' is used to avoid that the second main sed command (meant for
10761 # 0-ary CPP macros) applies to n-ary macro definitions.
10762 # See the Autoconf documentation for `clear'.
10763 cat >confdef2sed.
sed <<\_ACEOF
10768 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10770 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10773 # If some macros were called several times there might be several times
10774 # the same #defines, which is useless. Nevertheless, we may not want to
10775 # sort them, since we want the *last* AC-DEFINE to be honored.
10776 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10777 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10778 rm -f confdef2sed.sed
10780 # This sed command replaces #undef with comments. This is necessary, for
10781 # example, in the case of _POSIX_SOURCE, which is predefined and required
10782 # on some systems where configure will not decide to define it.
10783 cat >>conftest.undefs <<\_ACEOF
10784 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10787 # Break up conftest.defines because some shells have a limit on the size
10788 # of here documents, and old seds have small limits too (100 cmds).
10789 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10790 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10791 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10792 echo ' :' >>$CONFIG_STATUS
10793 rm -f conftest.tail
10794 while grep . conftest.defines >/dev/null
10796 # Write a limited-size here document to $tmp/defines.sed.
10797 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10798 # Speed up: don't consider the non `#define' lines.
10799 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10800 # Work around the forget-to-reset-the-flag bug.
10801 echo 't clr' >>$CONFIG_STATUS
10802 echo ': clr' >>$CONFIG_STATUS
10803 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
10805 sed -f $tmp/defines.sed $tmp/in >$tmp/out
10807 mv $tmp/out $tmp/in
10809 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
10810 rm -f conftest.defines
10811 mv conftest.
tail conftest.defines
10813 rm -f conftest.defines
10814 echo ' fi # grep' >>$CONFIG_STATUS
10815 echo >>$CONFIG_STATUS
10817 # Break up conftest.undefs because some shells have a limit on the size
10818 # of here documents, and old seds have small limits too (100 cmds).
10819 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10820 rm -f conftest.
tail
10821 while grep . conftest.undefs
>/dev
/null
10823 # Write a limited-size here document to $tmp/undefs.sed.
10824 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10825 # Speed up: don't consider the non
`#undef'
10826 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10827 # Work around the forget-to-reset-the-flag bug.
10828 echo 't clr' >>$CONFIG_STATUS
10829 echo ': clr' >>$CONFIG_STATUS
10830 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10832 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10834 mv $tmp/out $tmp/in
10836 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10837 rm -f conftest.undefs
10838 mv conftest.tail conftest.undefs
10840 rm -f conftest.undefs
10842 cat >>$CONFIG_STATUS <<\_ACEOF
10843 # Let's still pretend it is `configure
' which instantiates (i.e., don't
10844 # use $as_me), people would be surprised to read:
10845 # /* config.h. Generated by config.status. */
10846 if test x
"$ac_file" = x-
; then
10847 echo "/* Generated by configure. */" >$tmp/config.h
10849 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10851 cat $tmp/in >>$tmp/config.h
10853 if test x
"$ac_file" != x-
; then
10854 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
10855 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10856 echo "$as_me: $ac_file is unchanged" >&6;}
10858 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10859 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10860 X"$ac_file" : 'X\(//\)[^/]' \| \
10861 X"$ac_file" : 'X\(//\)$' \| \
10862 X"$ac_file" : 'X\(/\)' \| \
10863 . : '\(.\)' 2>/dev/null ||
10865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10867 /^X\(\/\/\)$/{ s//\1/; q; }
10868 /^X\(\/\).*/{ s//\1/; q; }
10870 { if $as_mkdir_p; then
10875 while test ! -d "$as_dir"; do
10876 as_dirs
="$as_dir $as_dirs"
10877 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10878 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10879 X"$as_dir" : 'X\(//\)[^/]' \| \
10880 X"$as_dir" : 'X\(//\)$' \| \
10881 X"$as_dir" : 'X\(/\)' \| \
10882 . : '\(.\)' 2>/dev/null ||
10884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10885 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10886 /^X\(\/\/\)$/{ s//\1/; q; }
10887 /^X\(\/\).*/{ s//\1/; q; }
10890 test ! -n "$as_dirs" || mkdir
$as_dirs
10891 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10892 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10893 { (exit 1); exit 1; }; }; }
10896 mv $tmp/config.h
$ac_file
10900 rm -f $tmp/config.h
10902 # Compute $ac_file's index in $config_headers.
10904 for _am_header
in $config_headers :; do
10905 case $_am_header in
10906 $ac_file |
$ac_file:* )
10909 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
10912 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10913 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10914 X$ac_file : 'X\(//\)[^/]' \| \
10915 X$ac_file : 'X\(//\)$' \| \
10916 X$ac_file : 'X\(/\)' \| \
10917 . : '\(.\)' 2>/dev/null ||
10919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10920 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10921 /^X\(\/\/\)$/{ s//\1/; q; }
10922 /^X\(\/\).*/{ s//\1/; q; }
10923 s/.*/./; q'`/stamp-h
$_am_stamp_count
10926 cat >>$CONFIG_STATUS <<\_ACEOF
10929 # CONFIG_COMMANDS section.
10931 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
10932 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10933 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10934 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10935 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10936 X"$ac_dest" : 'X\(//\)[^/]' \| \
10937 X"$ac_dest" : 'X\(//\)$' \| \
10938 X"$ac_dest" : 'X\(/\)' \| \
10939 . : '\(.\)' 2>/dev/null ||
10941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10943 /^X\(\/\/\)$/{ s//\1/; q; }
10944 /^X\(\/\).*/{ s//\1/; q; }
10946 { if $as_mkdir_p; then
10951 while test ! -d "$as_dir"; do
10952 as_dirs
="$as_dir $as_dirs"
10953 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10955 X"$as_dir" : 'X\(//\)[^/]' \| \
10956 X"$as_dir" : 'X\(//\)$' \| \
10957 X"$as_dir" : 'X\(/\)' \| \
10958 . : '\(.\)' 2>/dev/null ||
10960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10962 /^X\(\/\/\)$/{ s//\1/; q; }
10963 /^X\(\/\).*/{ s//\1/; q; }
10966 test ! -n "$as_dirs" || mkdir
$as_dirs
10967 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10968 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10969 { (exit 1); exit 1; }; }; }
10973 if test "$ac_dir" != .
; then
10974 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10975 # A "../" for each directory in $ac_dir_suffix.
10976 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10978 ac_dir_suffix
= ac_top_builddir
=
10982 .
) # No --srcdir option. We are building in place.
10984 if test -z "$ac_top_builddir"; then
10987 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10989 [\\/]* | ?
:[\\/]* ) # Absolute path.
10990 ac_srcdir
=$srcdir$ac_dir_suffix;
10991 ac_top_srcdir
=$srcdir ;;
10992 *) # Relative path.
10993 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10994 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10997 # Do not use `cd foo && pwd` to compute absolute paths, because
10998 # the directories may not exist.
11000 .
) ac_abs_builddir
="$ac_dir";;
11003 .
) ac_abs_builddir
=`pwd`;;
11004 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11005 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11008 case $ac_abs_builddir in
11009 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11011 case ${ac_top_builddir}.
in
11012 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11013 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11014 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11017 case $ac_abs_builddir in
11018 .
) ac_abs_srcdir
=$ac_srcdir;;
11021 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11022 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11023 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11026 case $ac_abs_builddir in
11027 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11029 case $ac_top_srcdir in
11030 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11031 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11032 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11037 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11038 echo "$as_me: executing $ac_dest commands" >&6;}
11040 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
11041 # Strip MF so we end up with the name of the file.
11042 mf
=`echo "$mf" | sed -e 's/:.*$//'`
11043 # Check whether this is an Automake generated Makefile or not.
11044 # We used to match only the files named `Makefile.in', but
11045 # some people rename them; so instead we look at the file content.
11046 # Grep'ing the first line is not enough: some people post-process
11047 # each Makefile.in and add a new line on top of each file to say so.
11048 # So let's grep whole file.
11049 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
11050 dirpart
=`(dirname "$mf") 2>/dev/null ||
11051 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11052 X"$mf" : 'X\(//\)[^/]' \| \
11053 X"$mf" : 'X\(//\)$' \| \
11054 X"$mf" : 'X\(/\)' \| \
11055 . : '\(.\)' 2>/dev/null ||
11057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11058 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11059 /^X\(\/\/\)$/{ s//\1/; q; }
11060 /^X\(\/\).*/{ s//\1/; q; }
11065 # Extract the definition of DEPDIR, am__include, and am__quote
11066 # from the Makefile without running `make'.
11067 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
11068 test -z "$DEPDIR" && continue
11069 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
11070 test -z "am__include" && continue
11071 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
11072 # When using ansi2knr, U may be empty or an underscore; expand it
11073 U
=`sed -n 's/^U = //p' < "$mf"`
11074 # Find all dependency output files, they are included files with
11075 # $(DEPDIR) in their names. We invoke sed twice because it is the
11076 # simplest approach to changing $(DEPDIR) to its actual value in the
11078 for file in `sed -n "
11079 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11080 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11081 # Make sure the directory exists.
11082 test -f "$dirpart/$file" && continue
11083 fdir
=`(dirname "$file") 2>/dev/null ||
11084 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11085 X"$file" : 'X\(//\)[^/]' \| \
11086 X"$file" : 'X\(//\)$' \| \
11087 X"$file" : 'X\(/\)' \| \
11088 . : '\(.\)' 2>/dev/null ||
11090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11091 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11092 /^X\(\/\/\)$/{ s//\1/; q; }
11093 /^X\(\/\).*/{ s//\1/; q; }
11095 { if $as_mkdir_p; then
11096 mkdir
-p $dirpart/$fdir
11098 as_dir
=$dirpart/$fdir
11100 while test ! -d "$as_dir"; do
11101 as_dirs
="$as_dir $as_dirs"
11102 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11103 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11104 X"$as_dir" : 'X\(//\)[^/]' \| \
11105 X"$as_dir" : 'X\(//\)$' \| \
11106 X"$as_dir" : 'X\(/\)' \| \
11107 . : '\(.\)' 2>/dev/null ||
11109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11110 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11111 /^X\(\/\/\)$/{ s//\1/; q; }
11112 /^X\(\/\).*/{ s//\1/; q; }
11115 test ! -n "$as_dirs" || mkdir
$as_dirs
11116 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
11117 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
11118 { (exit 1); exit 1; }; }; }
11120 # echo "creating $dirpart/$file"
11121 echo '# dummy' > "$dirpart/$file"
11125 default
) sed -e '/POTFILES =/r po/POTFILES' po
/Makefile.
in > po
/Makefile
;;
11130 cat >>$CONFIG_STATUS <<\_ACEOF
11132 { (exit 0); exit 0; }
11134 chmod +x
$CONFIG_STATUS
11135 ac_clean_files
=$ac_clean_files_save
11138 # configure is writing to config.log, and then calls config.status.
11139 # config.status does its own redirection, appending to config.log.
11140 # Unfortunately, on DOS this fails, as config.log is still kept open
11141 # by configure, so config.status won't be able to write to it; its
11142 # output is simply discarded. So we exec the FD to /dev/null,
11143 # effectively closing config.log, so it can be properly (re)opened and
11144 # appended to by config.status. When coming back to configure, we
11145 # need to make the FD available again.
11146 if test "$no_create" != yes; then
11148 ac_config_status_args
=
11149 test "$silent" = yes &&
11150 ac_config_status_args
="$ac_config_status_args --quiet"
11152 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11154 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11155 # would make configure fail if this is the last instruction.
11156 $ac_cs_success ||
{ (exit 1); exit 1; }