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 USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE YACC LEX LEXLIB LEX_OUTPUT_ROOT MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE HDEFINES HOSTING_CRT0 HOSTING_LIBS NATIVE_LIB_DIRS CPP EGREP STRINGIFY EMUL EMULATION_OFILES EMUL_EXTRA_OFILES LIB_PATH EMULATION_LIBPATH TESTBFDLIB datarootdir docdir htmldir 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.
875 Some influential environment variables
:
876 CC C compiler
command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
879 nonstandard directory
<lib dir
>
880 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
881 headers
in a nonstandard directory
<include dir
>
884 Use these variables to override the choices made by
`configure' or to help
885 it to find libraries and programs with nonstandard names/locations.
890 if test "$ac_init_help" = "recursive"; then
891 # If there are subdirs, report their specific --help.
893 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
894 test -d $ac_dir || continue
897 if test "$ac_dir" != .; then
898 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
899 # A "../" for each directory in $ac_dir_suffix.
900 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
902 ac_dir_suffix= ac_top_builddir=
906 .) # No --srcdir option. We are building in place.
908 if test -z "$ac_top_builddir"; then
911 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
913 [\\/]* | ?:[\\/]* ) # Absolute path.
914 ac_srcdir=$srcdir$ac_dir_suffix;
915 ac_top_srcdir=$srcdir ;;
917 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
918 ac_top_srcdir=$ac_top_builddir$srcdir ;;
921 # Do not use `cd foo
&& pwd` to compute absolute paths, because
922 # the directories may not exist.
924 .) ac_abs_builddir="$ac_dir";;
927 .) ac_abs_builddir=`pwd`;;
928 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
929 *) ac_abs_builddir=`pwd`/"$ac_dir";;
932 case $ac_abs_builddir in
933 .) ac_abs_top_builddir=${ac_top_builddir}.;;
935 case ${ac_top_builddir}. in
936 .) ac_abs_top_builddir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
938 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
941 case $ac_abs_builddir in
942 .) ac_abs_srcdir=$ac_srcdir;;
945 .) ac_abs_srcdir=$ac_abs_builddir;;
946 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
947 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
950 case $ac_abs_builddir in
951 .) ac_abs_top_srcdir=$ac_top_srcdir;;
953 case $ac_top_srcdir in
954 .) ac_abs_top_srcdir=$ac_abs_builddir;;
955 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
956 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
961 # Check for guested configure; otherwise get Cygnus style configure.
962 if test -f $ac_srcdir/configure.gnu; then
964 $SHELL $ac_srcdir/configure.gnu --help=recursive
965 elif test -f $ac_srcdir/configure; then
967 $SHELL $ac_srcdir/configure --help=recursive
968 elif test -f $ac_srcdir/configure.ac ||
969 test -f $ac_srcdir/configure.in; then
973 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
979 test -n "$ac_init_help" && exit 0
980 if $ac_init_version; then
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by $as_me, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
1006 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1007 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1008 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1009 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1010 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1013 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1015 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1017 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1018 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1019 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1020 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1021 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close
' the trap.
1101 trap 'exit_status
=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var
in $ac_subst_vars
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var
in $ac_subst_files
1151 eval ac_val
=$
`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h
; then
1164 sed "/^$/d" confdefs.h |
sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core
*.core
&&
1172 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's
/^
/|
/' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1269 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1294 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1301 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1324 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1325 if test -f $ac_dir/install-sh; then
1327 ac_install_sh="$ac_aux_dir/install-sh -c"
1329 elif test -f $ac_dir/install.sh; then
1331 ac_install_sh="$ac_aux_dir/install.sh -c"
1333 elif test -f $ac_dir/shtool; then
1335 ac_install_sh="$ac_aux_dir/shtool install -c"
1339 if test -z "$ac_aux_dir"; then
1340 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1341 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1342 { (exit 1); exit 1; }; }
1344 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1345 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1346 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1348 # Make sure we can run config.sub.
1349 $ac_config_sub sun4 >/dev/null 2>&1 ||
1350 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1351 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1352 { (exit 1); exit 1; }; }
1354 echo "$as_me:$LINENO: checking build system type" >&5
1355 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1356 if test "${ac_cv_build+set}" = set; then
1357 echo $ECHO_N "(cached) $ECHO_C" >&6
1359 ac_cv_build_alias=$build_alias
1360 test -z "$ac_cv_build_alias" &&
1361 ac_cv_build_alias=`$ac_config_guess`
1362 test -z "$ac_cv_build_alias" &&
1363 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1364 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1365 { (exit 1); exit 1; }; }
1366 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1367 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1368 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1369 { (exit 1); exit 1; }; }
1372 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1373 echo "${ECHO_T}$ac_cv_build" >&6
1375 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1376 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1377 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1380 echo "$as_me:$LINENO: checking host system type" >&5
1381 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1382 if test "${ac_cv_host+set}" = set; then
1383 echo $ECHO_N "(cached) $ECHO_C" >&6
1385 ac_cv_host_alias=$host_alias
1386 test -z "$ac_cv_host_alias" &&
1387 ac_cv_host_alias=$ac_cv_build_alias
1388 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1389 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1390 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1391 { (exit 1); exit 1; }; }
1394 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1395 echo "${ECHO_T}$ac_cv_host" >&6
1397 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1398 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1399 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1402 echo "$as_me:$LINENO: checking target system type" >&5
1403 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1404 if test "${ac_cv_target+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 ac_cv_target_alias=$target_alias
1408 test "x$ac_cv_target_alias" = "x" &&
1409 ac_cv_target_alias=$ac_cv_host_alias
1410 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1411 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1412 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1413 { (exit 1); exit 1; }; }
1416 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1417 echo "${ECHO_T}$ac_cv_target" >&6
1418 target=$ac_cv_target
1419 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1420 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1421 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1424 # The aliases save the names the user supplied, while $host etc.
1425 # will get canonicalized.
1426 test -n "$target_alias" &&
1427 test "$program_prefix$program_suffix$program_transform_name" = \
1429 program_prefix=${target_alias}-
1431 ac_cpp='$CPP $CPPFLAGS'
1432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1433 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1435 if test -n "$ac_tool_prefix"; then
1436 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1437 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1438 echo "$as_me:$LINENO: checking for $ac_word" >&5
1439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1440 if test "${ac_cv_prog_CC+set}" = set; then
1441 echo $ECHO_N "(cached) $ECHO_C" >&6
1443 if test -n "$CC"; then
1444 ac_cv_prog_CC="$CC" # Let the user override the test.
1446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir=.
1451 for ac_exec_ext in '' $ac_executable_extensions; do
1452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1453 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1463 if test -n "$CC"; then
1464 echo "$as_me:$LINENO: result: $CC" >&5
1465 echo "${ECHO_T}$CC" >&6
1467 echo "$as_me:$LINENO: result: no" >&5
1468 echo "${ECHO_T}no" >&6
1472 if test -z "$ac_cv_prog_CC"; then
1474 # Extract the first word of "gcc", so it can be a program name with args.
1475 set dummy gcc; ac_word=$2
1476 echo "$as_me:$LINENO: checking for $ac_word" >&5
1477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1479 echo $ECHO_N "(cached) $ECHO_C" >&6
1481 if test -n "$ac_ct_CC"; then
1482 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1488 test -z "$as_dir" && as_dir=.
1489 for ac_exec_ext in '' $ac_executable_extensions; do
1490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1491 ac_cv_prog_ac_ct_CC="gcc"
1492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1500 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1501 if test -n "$ac_ct_CC"; then
1502 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1503 echo "${ECHO_T}$ac_ct_CC" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1514 if test -z "$CC"; then
1515 if test -n "$ac_tool_prefix"; then
1516 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1517 set dummy ${ac_tool_prefix}cc; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC="$CC" # Let the user override the test.
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_CC="${ac_tool_prefix}cc"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$ac_cv_prog_CC"; then
1554 # Extract the first word of "cc", so it can be a program name with args.
1555 set dummy cc; ac_word=$2
1556 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 if test -n "$ac_ct_CC"; then
1562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir=.
1569 for ac_exec_ext in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571 ac_cv_prog_ac_ct_CC="cc"
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1581 if test -n "$ac_ct_CC"; then
1582 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1583 echo "${ECHO_T}$ac_ct_CC" >&6
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1595 if test -z "$CC"; then
1596 # Extract the first word of "cc", so it can be a program name with args.
1597 set dummy cc; ac_word=$2
1598 echo "$as_me:$LINENO: checking for $ac_word" >&5
1599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600 if test "${ac_cv_prog_CC+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC="$CC" # Let the user override the test.
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 test -z "$as_dir" && as_dir=.
1612 for ac_exec_ext in '' $ac_executable_extensions; do
1613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1614 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1615 ac_prog_rejected=yes
1619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1625 if test $ac_prog_rejected = yes; then
1626 # We found a bogon in the path, so make sure we never use it.
1627 set dummy $ac_cv_prog_CC
1629 if test $# != 0; then
1630 # We chose a different compiler from the bogus one.
1631 # However, it has the same basename, so the bogon will be chosen
1632 # first if we set CC to just the basename; use the full file name.
1634 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1640 if test -n "$CC"; then
1641 echo "$as_me:$LINENO: result: $CC" >&5
1642 echo "${ECHO_T}$CC" >&6
1644 echo "$as_me:$LINENO: result: no" >&5
1645 echo "${ECHO_T}no" >&6
1649 if test -z "$CC"; then
1650 if test -n "$ac_tool_prefix"; then
1653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1655 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_CC+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 if test -n "$CC"; then
1661 ac_cv_prog_CC="$CC" # Let the user override the test.
1663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667 test -z "$as_dir" && as_dir=.
1668 for ac_exec_ext in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1680 if test -n "$CC"; then
1681 echo "$as_me:$LINENO: result: $CC" >&5
1682 echo "${ECHO_T}$CC" >&6
1684 echo "$as_me:$LINENO: result: no" >&5
1685 echo "${ECHO_T}no" >&6
1688 test -n "$CC" && break
1691 if test -z "$CC"; then
1695 # Extract the first word of "$ac_prog", so it can be a program name with args.
1696 set dummy $ac_prog; ac_word=$2
1697 echo "$as_me:$LINENO: checking for $ac_word" >&5
1698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1700 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 if test -n "$ac_ct_CC"; then
1703 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1709 test -z "$as_dir" && as_dir=.
1710 for ac_exec_ext in '' $ac_executable_extensions; do
1711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1712 ac_cv_prog_ac_ct_CC="$ac_prog"
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1721 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1722 if test -n "$ac_ct_CC"; then
1723 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1724 echo "${ECHO_T}$ac_ct_CC" >&6
1726 echo "$as_me:$LINENO: result: no" >&5
1727 echo "${ECHO_T}no" >&6
1730 test -n "$ac_ct_CC" && break
1739 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1740 See \`config.log' for more details.
" >&5
1741 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1742 See \
`config.log' for more details." >&2;}
1743 { (exit 1); exit 1; }; }
1745 # Provide some information about the compiler.
1746 echo "$as_me:$LINENO:" \
1747 "checking for C compiler version" >&5
1748 ac_compiler=`set X
$ac_compile; echo $2`
1749 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1750 (eval $ac_compiler --version </dev/null >&5) 2>&5
1752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753 (exit $ac_status); }
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1755 (eval $ac_compiler -v </dev/null >&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1759 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1760 (eval $ac_compiler -V </dev/null >&5) 2>&5
1762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1763 (exit $ac_status); }
1765 cat >conftest.$ac_ext <<_ACEOF
1768 cat confdefs.h >>conftest.$ac_ext
1769 cat >>conftest.$ac_ext <<_ACEOF
1770 /* end confdefs.h. */
1780 ac_clean_files_save=$ac_clean_files
1781 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1782 # Try to create an executable without -o first, disregard a.out.
1783 # It will help us diagnose broken compilers, and finding out an intuition
1785 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1786 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1787 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1788 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1789 (eval $ac_link_default) 2>&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }; then
1793 # Find the output, starting from the most likely. This scheme is
1794 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1797 # Be careful to initialize this variable, since it used to be cached.
1798 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1800 # b.out is created by i960 compilers.
1801 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1803 test -f "$ac_file" || continue
1805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1808 # This is the source file.
1811 # We found the default executable, but exeext='' is most
1815 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1816 # FIXME: I believe we export ac_cv_exeext for Libtool,
1817 # but it would be cool to find out if it's true. Does anybody
1818 # maintain Libtool? --akim.
1826 echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1829 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1830 See \`config.log
' for more details." >&5
1831 echo "$as_me: error: C compiler cannot create executables
1832 See \`config.log' for more details.
" >&2;}
1833 { (exit 77); exit 77; }; }
1836 ac_exeext=$ac_cv_exeext
1837 echo "$as_me:$LINENO: result
: $ac_file" >&5
1838 echo "${ECHO_T}$ac_file" >&6
1840 # Check the compiler produces executables we can run. If not, either
1841 # the compiler is broken, or we cross compile.
1842 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1843 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1844 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1845 # If not cross compiling, check that we can run a simple program.
1846 if test "$cross_compiling" != yes; then
1847 if { ac_try='./$ac_file'
1848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1852 (exit $ac_status); }; }; then
1855 if test "$cross_compiling" = maybe; then
1858 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1859 If you meant to cross compile
, use \
`--host'.
1860 See \`config.log
' for more details." >&5
1861 echo "$as_me: error: cannot run C compiled programs.
1862 If you meant to cross compile, use \`--host'.
1863 See \
`config.log' for more details." >&2;}
1864 { (exit 1); exit 1; }; }
1868 echo "$as_me:$LINENO: result: yes" >&5
1869 echo "${ECHO_T}yes" >&6
1871 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1872 ac_clean_files=$ac_clean_files_save
1873 # Check the compiler produces executables we can run. If not, either
1874 # the compiler is broken, or we cross compile.
1875 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1876 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1877 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1878 echo "${ECHO_T}$cross_compiling" >&6
1880 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1881 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1883 (eval $ac_link) 2>&5
1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 (exit $ac_status); }; then
1887 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1888 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1889 # work properly (i.e., refer to `conftest.exe'), while it won't with
1891 for ac_file
in conftest.exe conftest conftest.
*; do
1892 test -f "$ac_file" ||
continue
1894 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1895 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1902 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1903 See \`config.log' for more details." >&5
1904 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1905 See \`config.log' for more details." >&2;}
1906 { (exit 1); exit 1; }; }
1909 rm -f conftest
$ac_cv_exeext
1910 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1911 echo "${ECHO_T}$ac_cv_exeext" >&6
1913 rm -f conftest.
$ac_ext
1914 EXEEXT
=$ac_cv_exeext
1916 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1917 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1918 if test "${ac_cv_objext+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 cat >conftest.
$ac_ext <<_ACEOF
1924 cat confdefs.h
>>conftest.
$ac_ext
1925 cat >>conftest.
$ac_ext <<_ACEOF
1926 /* end confdefs.h. */
1936 rm -f conftest.o conftest.obj
1937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1938 (eval $ac_compile) 2>&5
1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941 (exit $ac_status); }; then
1942 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1944 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1945 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1950 echo "$as_me: failed program was:" >&5
1951 sed 's/^/| /' conftest.
$ac_ext >&5
1953 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1954 See \`config.log' for more details." >&5
1955 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1956 See \`config.log' for more details." >&2;}
1957 { (exit 1); exit 1; }; }
1960 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1962 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1963 echo "${ECHO_T}$ac_cv_objext" >&6
1964 OBJEXT
=$ac_cv_objext
1966 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1967 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1968 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 cat >conftest.
$ac_ext <<_ACEOF
1974 cat confdefs.h
>>conftest.
$ac_ext
1975 cat >>conftest.
$ac_ext <<_ACEOF
1976 /* end confdefs.h. */
1989 rm -f conftest.
$ac_objext
1990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1991 (eval $ac_compile) 2>conftest.er1
1993 grep -v '^ *+' conftest.er1
>conftest.err
1995 cat conftest.err
>&5
1996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997 (exit $ac_status); } &&
1998 { ac_try
='test -z "$ac_c_werror_flag"
1999 || test ! -s conftest.err'
2000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2004 (exit $ac_status); }; } &&
2005 { ac_try
='test -s conftest.$ac_objext'
2006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010 (exit $ac_status); }; }; then
2013 echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.
$ac_ext >&5
2018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2019 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2022 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2023 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2024 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2025 ac_test_CFLAGS
=${CFLAGS+set}
2026 ac_save_CFLAGS
=$CFLAGS
2028 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2029 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2030 if test "${ac_cv_prog_cc_g+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 cat >conftest.
$ac_ext <<_ACEOF
2036 cat confdefs.h
>>conftest.
$ac_ext
2037 cat >>conftest.
$ac_ext <<_ACEOF
2038 /* end confdefs.h. */
2048 rm -f conftest.
$ac_objext
2049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2050 (eval $ac_compile) 2>conftest.er1
2052 grep -v '^ *+' conftest.er1
>conftest.err
2054 cat conftest.err
>&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); } &&
2057 { ac_try
='test -z "$ac_c_werror_flag"
2058 || test ! -s conftest.err'
2059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2063 (exit $ac_status); }; } &&
2064 { ac_try
='test -s conftest.$ac_objext'
2065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069 (exit $ac_status); }; }; then
2072 echo "$as_me: failed program was:" >&5
2073 sed 's/^/| /' conftest.
$ac_ext >&5
2077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2079 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2080 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2081 if test "$ac_test_CFLAGS" = set; then
2082 CFLAGS
=$ac_save_CFLAGS
2083 elif test $ac_cv_prog_cc_g = yes; then
2084 if test "$GCC" = yes; then
2090 if test "$GCC" = yes; then
2096 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2097 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2098 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2101 ac_cv_prog_cc_stdc
=no
2103 cat >conftest.
$ac_ext <<_ACEOF
2106 cat confdefs.h
>>conftest.
$ac_ext
2107 cat >>conftest.
$ac_ext <<_ACEOF
2108 /* end confdefs.h. */
2111 #include <sys/types.h>
2112 #include <sys/stat.h>
2113 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2114 struct buf { int x; };
2115 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2116 static char *e (p, i)
2122 static char *f (char * (*g) (char **, int), char **p, ...)
2127 s = g (p, va_arg (v,int));
2132 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2133 function prototypes and stuff, but not '\xHH' hex character constants.
2134 These don't provoke an error unfortunately, instead are silently treated
2135 as 'x'. The following induces an error, until -std1 is added to get
2136 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2137 array size at least. It's necessary to write '\x00'==0 to get something
2138 that's true only with -std1. */
2139 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2141 int test (int i, double x);
2142 struct s1 {int (*f) (int a);};
2143 struct s2 {int (*f) (double a);};
2144 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2150 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2155 # Don't try gcc -ansi; that turns off useful extensions and
2156 # breaks some systems' header files.
2157 # AIX -qlanglvl=ansi
2158 # Ultrix and OSF/1 -std1
2159 # HP-UX 10.20 and later -Ae
2160 # HP-UX older versions -Aa -D_HPUX_SOURCE
2161 # SVR4 -Xc -D__EXTENSIONS__
2162 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2164 CC
="$ac_save_CC $ac_arg"
2165 rm -f conftest.
$ac_objext
2166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2167 (eval $ac_compile) 2>conftest.er1
2169 grep -v '^ *+' conftest.er1
>conftest.err
2171 cat conftest.err
>&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); } &&
2174 { ac_try
='test -z "$ac_c_werror_flag"
2175 || test ! -s conftest.err'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; } &&
2181 { ac_try
='test -s conftest.$ac_objext'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; }; then
2187 ac_cv_prog_cc_stdc
=$ac_arg
2190 echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.
$ac_ext >&5
2194 rm -f conftest.err conftest.
$ac_objext
2196 rm -f conftest.
$ac_ext conftest.
$ac_objext
2201 case "x$ac_cv_prog_cc_stdc" in
2203 echo "$as_me:$LINENO: result: none needed" >&5
2204 echo "${ECHO_T}none needed" >&6 ;;
2206 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2207 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2208 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2211 # Some people use a C++ compiler to compile C. Since we use `exit',
2212 # in C++ we need to declare it. In case someone uses the same compiler
2213 # for both compiling C and C++ we need to have the C++ compiler decide
2214 # the declaration of exit, since it's the most demanding environment.
2215 cat >conftest.
$ac_ext <<_ACEOF
2220 rm -f conftest.
$ac_objext
2221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2222 (eval $ac_compile) 2>conftest.er1
2224 grep -v '^ *+' conftest.er1
>conftest.err
2226 cat conftest.err
>&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); } &&
2229 { ac_try
='test -z "$ac_c_werror_flag"
2230 || test ! -s conftest.err'
2231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); }; } &&
2236 { ac_try
='test -s conftest.$ac_objext'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; }; then
2242 for ac_declaration
in \
2244 'extern "C" void std::exit (int) throw (); using std::exit;' \
2245 'extern "C" void std::exit (int); using std::exit;' \
2246 'extern "C" void exit (int) throw ();' \
2247 'extern "C" void exit (int);' \
2250 cat >conftest.
$ac_ext <<_ACEOF
2253 cat confdefs.h
>>conftest.
$ac_ext
2254 cat >>conftest.
$ac_ext <<_ACEOF
2255 /* end confdefs.h. */
2266 rm -f conftest.
$ac_objext
2267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268 (eval $ac_compile) 2>conftest.er1
2270 grep -v '^ *+' conftest.er1
>conftest.err
2272 cat conftest.err
>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); } &&
2275 { ac_try
='test -z "$ac_c_werror_flag"
2276 || test ! -s conftest.err'
2277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; } &&
2282 { ac_try
='test -s conftest.$ac_objext'
2283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); }; }; then
2290 echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.
$ac_ext >&5
2295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2296 cat >conftest.
$ac_ext <<_ACEOF
2299 cat confdefs.h
>>conftest.
$ac_ext
2300 cat >>conftest.
$ac_ext <<_ACEOF
2301 /* end confdefs.h. */
2311 rm -f conftest.
$ac_objext
2312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2313 (eval $ac_compile) 2>conftest.er1
2315 grep -v '^ *+' conftest.er1
>conftest.err
2317 cat conftest.err
>&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); } &&
2320 { ac_try
='test -z "$ac_c_werror_flag"
2321 || test ! -s conftest.err'
2322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }; } &&
2327 { ac_try
='test -s conftest.$ac_objext'
2328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }; }; then
2335 echo "$as_me: failed program was:" >&5
2336 sed 's/^/| /' conftest.
$ac_ext >&5
2339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2342 if test -n "$ac_declaration"; then
2343 echo '#ifdef __cplusplus' >>confdefs.h
2344 echo $ac_declaration >>confdefs.h
2345 echo '#endif' >>confdefs.h
2349 echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.
$ac_ext >&5
2353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2355 ac_cpp
='$CPP $CPPFLAGS'
2356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2361 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2362 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2363 if test "${ac_cv_search_strerror+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 ac_func_search_save_LIBS
=$LIBS
2367 ac_cv_search_strerror
=no
2368 cat >conftest.
$ac_ext <<_ACEOF
2371 cat confdefs.h
>>conftest.
$ac_ext
2372 cat >>conftest.
$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2375 /* Override any gcc2 internal prototype to avoid an error. */
2379 /* We use char because int might match the return type of a gcc2
2380 builtin and then its argument prototype would still apply. */
2390 rm -f conftest.
$ac_objext conftest
$ac_exeext
2391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2392 (eval $ac_link) 2>conftest.er1
2394 grep -v '^ *+' conftest.er1
>conftest.err
2396 cat conftest.err
>&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); } &&
2399 { ac_try
='test -z "$ac_c_werror_flag"
2400 || test ! -s conftest.err'
2401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); }; } &&
2406 { ac_try
='test -s conftest$ac_exeext'
2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; }; then
2412 ac_cv_search_strerror
="none required"
2414 echo "$as_me: failed program was:" >&5
2415 sed 's/^/| /' conftest.
$ac_ext >&5
2418 rm -f conftest.err conftest.
$ac_objext \
2419 conftest
$ac_exeext conftest.
$ac_ext
2420 if test "$ac_cv_search_strerror" = no
; then
2421 for ac_lib
in cposix
; do
2422 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2423 cat >conftest.
$ac_ext <<_ACEOF
2426 cat confdefs.h
>>conftest.
$ac_ext
2427 cat >>conftest.
$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2430 /* Override any gcc2 internal prototype to avoid an error. */
2434 /* We use char because int might match the return type of a gcc2
2435 builtin and then its argument prototype would still apply. */
2445 rm -f conftest.
$ac_objext conftest
$ac_exeext
2446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2447 (eval $ac_link) 2>conftest.er1
2449 grep -v '^ *+' conftest.er1
>conftest.err
2451 cat conftest.err
>&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); } &&
2454 { ac_try
='test -z "$ac_c_werror_flag"
2455 || test ! -s conftest.err'
2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; } &&
2461 { ac_try
='test -s conftest$ac_exeext'
2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; }; then
2467 ac_cv_search_strerror
="-l$ac_lib"
2470 echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.
$ac_ext >&5
2474 rm -f conftest.err conftest.
$ac_objext \
2475 conftest
$ac_exeext conftest.
$ac_ext
2478 LIBS
=$ac_func_search_save_LIBS
2480 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2481 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2482 if test "$ac_cv_search_strerror" != no
; then
2483 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2488 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2489 am__api_version
="1.9"
2490 # Find a good install program. We prefer a C program (faster),
2491 # so one script is as good as another. But avoid the broken or
2492 # incompatible versions:
2493 # SysV /etc/install, /usr/sbin/install
2494 # SunOS /usr/etc/install
2495 # IRIX /sbin/install
2497 # AmigaOS /C/install, which installs bootblocks on floppy discs
2498 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2499 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2500 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2501 # OS/2's system install, which has a completely different semantic
2502 # ./install, which can be erroneously created by make from ./install.sh.
2503 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2504 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2505 if test -z "$INSTALL"; then
2506 if test "${ac_cv_path_install+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir
=.
2514 # Account for people who put trailing slashes in PATH elements.
2516 .
/ | .
// |
/cC
/* | \
2517 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2518 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2521 # OSF1 and SCO ODT 3.0 have their own names for install.
2522 # Don't use installbsd from OSF since it installs stuff as root
2524 for ac_prog
in ginstall scoinst
install; do
2525 for ac_exec_ext
in '' $ac_executable_extensions; do
2526 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2527 if test $ac_prog = install &&
2528 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2529 # AIX install. It has an incompatible calling convention.
2531 elif test $ac_prog = install &&
2532 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2533 # program-specific install script used by HP pwplus--don't use.
2536 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2548 if test "${ac_cv_path_install+set}" = set; then
2549 INSTALL
=$ac_cv_path_install
2551 # As a last resort, use the slow shell script. We don't cache a
2552 # path for INSTALL within a source directory, because that will
2553 # break other packages using the cache if that directory is
2554 # removed, or if the path is relative.
2555 INSTALL
=$ac_install_sh
2558 echo "$as_me:$LINENO: result: $INSTALL" >&5
2559 echo "${ECHO_T}$INSTALL" >&6
2561 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2562 # It thinks the first close brace ends the variable substitution.
2563 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2565 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2567 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2569 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2570 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2573 echo timestamp
> conftest.
file
2574 # Do `set' in a subshell so we don't clobber the current shell's
2575 # arguments. Must try -L first in case configure is actually a
2576 # symlink; some systems play weird games with the mod time of symlinks
2577 # (eg FreeBSD returns the mod time of the symlink's containing
2580 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2581 if test "$*" = "X"; then
2583 set X
`ls -t $srcdir/configure conftest.file`
2586 if test "$*" != "X $srcdir/configure conftest.file" \
2587 && test "$*" != "X conftest.file $srcdir/configure"; then
2589 # If neither matched, then we have a broken ls. This can happen
2590 # if, for instance, CONFIG_SHELL is bash and it inherits a
2591 # broken ls alias from the environment. This has actually
2592 # happened. Such a system could not be considered "sane".
2593 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2594 alias in your environment" >&5
2595 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2596 alias in your environment" >&2;}
2597 { (exit 1); exit 1; }; }
2600 test "$2" = conftest.
file
2606 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2607 Check your system clock" >&5
2608 echo "$as_me: error: newly created file is older than distributed files!
2609 Check your system clock" >&2;}
2610 { (exit 1); exit 1; }; }
2612 echo "$as_me:$LINENO: result: yes" >&5
2613 echo "${ECHO_T}yes" >&6
2614 test "$program_prefix" != NONE
&&
2615 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2616 # Use a double $ so make ignores it.
2617 test "$program_suffix" != NONE
&&
2618 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2619 # Double any \ or $. echo might interpret backslashes.
2620 # By default was `s,x,x', remove it if useless.
2621 cat <<\_ACEOF
>conftest.
sed
2622 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2624 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2627 # expand $ac_aux_dir to an absolute path
2628 am_aux_dir
=`cd $ac_aux_dir && pwd`
2630 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2631 # Use eval to expand $SHELL
2632 if eval "$MISSING --run true"; then
2633 am_missing_run
="$MISSING --run "
2636 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2637 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2640 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2641 # We used to keeping the `.' as first argument, in order to
2642 # allow $(mkdir_p) to be used without argument. As in
2643 # $(mkdir_p) $(somedir)
2644 # where $(somedir) is conditionally defined. However this is wrong
2646 # 1. if the package is installed by a user who cannot write `.'
2647 # make install will fail,
2648 # 2. the above comment should most certainly read
2649 # $(mkdir_p) $(DESTDIR)$(somedir)
2650 # so it does not work when $(somedir) is undefined and
2651 # $(DESTDIR) is not.
2652 # To support the latter case, we have to write
2653 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2654 # so the `.' trick is pointless.
2655 mkdir_p
='mkdir -p --'
2657 # On NextStep and OpenStep, the `mkdir' command does not
2658 # recognize any option. It will interpret all options as
2659 # directories to create, and then abort because `.' already
2661 for d
in .
/-p .
/--version;
2663 test -d $d && rmdir $d
2665 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2666 if test -f "$ac_aux_dir/mkinstalldirs"; then
2667 mkdir_p
='$(mkinstalldirs)'
2669 mkdir_p
='$(install_sh) -d'
2673 for ac_prog
in gawk mawk nawk
awk
2675 # Extract the first word of "$ac_prog", so it can be a program name with args.
2676 set dummy
$ac_prog; ac_word
=$2
2677 echo "$as_me:$LINENO: checking for $ac_word" >&5
2678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2679 if test "${ac_cv_prog_AWK+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 if test -n "$AWK"; then
2683 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir
=.
2690 for ac_exec_ext
in '' $ac_executable_extensions; do
2691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2692 ac_cv_prog_AWK
="$ac_prog"
2693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 if test -n "$AWK"; then
2703 echo "$as_me:$LINENO: result: $AWK" >&5
2704 echo "${ECHO_T}$AWK" >&6
2706 echo "$as_me:$LINENO: result: no" >&5
2707 echo "${ECHO_T}no" >&6
2710 test -n "$AWK" && break
2713 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2714 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2715 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2716 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2717 echo $ECHO_N "(cached) $ECHO_C" >&6
2719 cat >conftest.
make <<\_ACEOF
2721 @
echo 'ac_maketemp="$(MAKE)"'
2723 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2724 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2725 if test -n "$ac_maketemp"; then
2726 eval ac_cv_prog_make_
${ac_make}_set
=yes
2728 eval ac_cv_prog_make_
${ac_make}_set
=no
2732 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2733 echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6
2737 echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6
2739 SET_MAKE
="MAKE=${MAKE-make}"
2742 rm -rf .tst
2>/dev
/null
2743 mkdir .tst
2>/dev
/null
2744 if test -d .tst
; then
2749 rmdir .tst
2>/dev
/null
2751 DEPDIR
="${am__leading_dot}deps"
2753 ac_config_commands
="$ac_config_commands depfiles"
2756 am_make
=${MAKE-make}
2757 cat > confinc
<< 'END'
2762 # If we don't find an include directive, just comment out the code.
2763 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2764 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2768 # First try GNU make style include.
2769 echo "include confinc" > confmf
2770 # We grep out `Entering directory' and `Leaving directory'
2771 # messages which can occur if `w' ends up in MAKEFLAGS.
2772 # In particular we don't look at `^make:' because GNU make might
2773 # be invoked under some other name (usually "gmake"), in which
2774 # case it prints its new name instead of `make'.
2775 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2780 # Now try BSD make style include.
2781 if test "$am__include" = "#"; then
2782 echo '.include "confinc"' > confmf
2783 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2784 am__include
=.include
2791 echo "$as_me:$LINENO: result: $_am_result" >&5
2792 echo "${ECHO_T}$_am_result" >&6
2793 rm -f confinc confmf
2795 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2796 if test "${enable_dependency_tracking+set}" = set; then
2797 enableval
="$enable_dependency_tracking"
2800 if test "x$enable_dependency_tracking" != xno
; then
2801 am_depcomp
="$ac_aux_dir/depcomp"
2806 if test "x$enable_dependency_tracking" != xno; then
2816 # test to see if srcdir already configured
2817 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2818 test -f $srcdir/config.status
; then
2819 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2820 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2821 { (exit 1); exit 1; }; }
2824 # test whether we have cygpath
2825 if test -z "$CYGPATH_W"; then
2826 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2827 CYGPATH_W
='cygpath -w'
2834 # Define the identity of the package.
2836 VERSION
=${BFD_VERSION}
2839 cat >>confdefs.h
<<_ACEOF
2840 #define PACKAGE "$PACKAGE"
2844 cat >>confdefs.h
<<_ACEOF
2845 #define VERSION "$VERSION"
2848 # Some tools Automake needs.
2850 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2853 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2856 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2859 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2862 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2864 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2866 # Installed binaries are usually stripped using `strip' when the user
2867 # run `make install-strip'. However `strip' might not be the right
2868 # tool to use in cross-compilation environments, therefore Automake
2869 # will honor the `STRIP' environment variable to overrule this program.
2870 if test "$cross_compiling" != no
; then
2871 if test -n "$ac_tool_prefix"; then
2872 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2873 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2874 echo "$as_me:$LINENO: checking for $ac_word" >&5
2875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2876 if test "${ac_cv_prog_STRIP+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 if test -n "$STRIP"; then
2880 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir
=.
2887 for ac_exec_ext
in '' $ac_executable_extensions; do
2888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2889 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 STRIP
=$ac_cv_prog_STRIP
2899 if test -n "$STRIP"; then
2900 echo "$as_me:$LINENO: result: $STRIP" >&5
2901 echo "${ECHO_T}$STRIP" >&6
2903 echo "$as_me:$LINENO: result: no" >&5
2904 echo "${ECHO_T}no" >&6
2908 if test -z "$ac_cv_prog_STRIP"; then
2910 # Extract the first word of "strip", so it can be a program name with args.
2911 set dummy strip
; ac_word
=$2
2912 echo "$as_me:$LINENO: checking for $ac_word" >&5
2913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2914 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2917 if test -n "$ac_ct_STRIP"; then
2918 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2924 test -z "$as_dir" && as_dir
=.
2925 for ac_exec_ext
in '' $ac_executable_extensions; do
2926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2927 ac_cv_prog_ac_ct_STRIP
="strip"
2928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2937 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2938 if test -n "$ac_ct_STRIP"; then
2939 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2940 echo "${ECHO_T}$ac_ct_STRIP" >&6
2942 echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2948 STRIP
="$ac_cv_prog_STRIP"
2952 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2954 # We need awk for the "check" target. The system "awk" is bad on
2956 # Always define AMTAR for backward compatibility.
2958 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2960 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2965 depcc
="$CC" am_compiler_list
=
2967 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2968 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2969 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2970 echo $ECHO_N "(cached) $ECHO_C" >&6
2972 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2973 # We make a subdir and do the tests there. Otherwise we can end up
2974 # making bogus files that we don't know about and never remove. For
2975 # instance it was reported that on HP-UX the gcc test will end up
2976 # making a dummy file named `D' -- because `-MD' means `put the output
2979 # Copy depcomp to subdir because otherwise we won't find it if we're
2980 # using a relative directory.
2981 cp "$am_depcomp" conftest.dir
2983 # We will build objects and dependencies in a subdirectory because
2984 # it helps to detect inapplicable dependency modes. For instance
2985 # both Tru64's cc and ICC support -MD to output dependencies as a
2986 # side effect of compilation, but ICC will put the dependencies in
2987 # the current directory while Tru64 will put them in the object
2991 am_cv_CC_dependencies_compiler_type
=none
2992 if test "$am_compiler_list" = ""; then
2993 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2995 for depmode
in $am_compiler_list; do
2996 # Setup a source with many dependencies, because some compilers
2997 # like to wrap large dependency lists on column 80 (with \), and
2998 # we should not choose a depcomp mode which is confused by this.
3000 # We need to recreate these files for each test, as the compiler may
3001 # overwrite some of them when testing with obscure command lines.
3002 # This happens at least with the AIX C compiler.
3004 for i
in 1 2 3 4 5 6; do
3005 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3006 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3007 # Solaris 8's {/usr,}/bin/sh.
3008 touch sub
/conftst
$i.h
3010 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3014 # after this tag, mechanisms are not by side-effect, so they'll
3015 # only be used when explicitly requested
3016 if test "x$enable_dependency_tracking" = xyes
; then
3024 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3025 # mode. It turns out that the SunPro C++ compiler does not properly
3026 # handle `-M -o', and we need to detect this.
3027 if depmode
=$depmode \
3028 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3029 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3030 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3031 >/dev
/null
2>conftest.err
&&
3032 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3033 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3034 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3035 # icc doesn't choke on unknown options, it will just issue warnings
3036 # or remarks (even with -Werror). So we grep stderr for any message
3037 # that says an option was ignored or not supported.
3038 # When given -MP, icc 7.0 and 7.1 complain thusly:
3039 # icc: Command line warning: ignoring option '-M'; no argument required
3040 # The diagnosis changed in icc 8.0:
3041 # icc: Command line remark: option '-MP' not supported
3042 if (grep 'ignoring option' conftest.err ||
3043 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3044 am_cv_CC_dependencies_compiler_type
=$depmode
3053 am_cv_CC_dependencies_compiler_type
=none
3057 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3058 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3059 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3064 test "x$enable_dependency_tracking" != xno \
3065 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3067 am__fastdepCC_FALSE
='#'
3069 am__fastdepCC_TRUE
='#'
3070 am__fastdepCC_FALSE
=
3076 # Check whether --enable-shared or --disable-shared was given.
3077 if test "${enable_shared+set}" = set; then
3078 enableval
="$enable_shared"
3079 p
=${PACKAGE-default}
3081 yes) enable_shared
=yes ;;
3082 no
) enable_shared
=no
;;
3085 # Look at the argument we got. We use all the common list separators.
3086 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3087 for pkg
in $enableval; do
3088 if test "X$pkg" = "X$p"; then
3098 # Check whether --enable-static or --disable-static was given.
3099 if test "${enable_static+set}" = set; then
3100 enableval
="$enable_static"
3101 p
=${PACKAGE-default}
3103 yes) enable_static
=yes ;;
3104 no
) enable_static
=no
;;
3107 # Look at the argument we got. We use all the common list separators.
3108 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3109 for pkg
in $enableval; do
3110 if test "X$pkg" = "X$p"; then
3120 # Check whether --enable-fast-install or --disable-fast-install was given.
3121 if test "${enable_fast_install+set}" = set; then
3122 enableval
="$enable_fast_install"
3123 p
=${PACKAGE-default}
3125 yes) enable_fast_install
=yes ;;
3126 no
) enable_fast_install
=no
;;
3128 enable_fast_install
=no
3129 # Look at the argument we got. We use all the common list separators.
3130 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3131 for pkg
in $enableval; do
3132 if test "X$pkg" = "X$p"; then
3133 enable_fast_install
=yes
3140 enable_fast_install
=yes
3143 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3144 if test "${with_gnu_ld+set}" = set; then
3145 withval
="$with_gnu_ld"
3146 test "$withval" = no || with_gnu_ld
=yes
3151 if test "$GCC" = yes; then
3152 # Check if gcc -print-prog-name=ld gives a path.
3153 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3154 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3157 # gcc leaves a trailing carriage return which upsets mingw
3158 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3160 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3163 # Accept absolute paths.
3164 [\\/]* |
[A-Za-z
]:[\\/]*)
3165 re_direlt
='/[^/][^/]*/\.\./'
3166 # Canonicalize the path of ld
3167 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3168 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3169 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3171 test -z "$LD" && LD
="$ac_prog"
3174 # If it fails, then pretend we aren't using GCC.
3178 # If it is relative, then search for the first ld in PATH.
3182 elif test "$with_gnu_ld" = yes; then
3183 echo "$as_me:$LINENO: checking for GNU ld" >&5
3184 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3186 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3187 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3189 if test "${lt_cv_path_LD+set}" = set; then
3190 echo $ECHO_N "(cached) $ECHO_C" >&6
3192 if test -z "$LD"; then
3193 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3194 for ac_dir
in $PATH; do
3195 test -z "$ac_dir" && ac_dir
=.
3196 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3197 lt_cv_path_LD
="$ac_dir/$ac_prog"
3198 # Check to see if the program is GNU ld. I'd rather use --version,
3199 # but apparently some GNU ld's only accept -v.
3200 # Break only if it was the GNU/non-GNU ld that we prefer.
3201 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3202 test "$with_gnu_ld" != no
&& break
3204 test "$with_gnu_ld" != yes && break
3210 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3215 if test -n "$LD"; then
3216 echo "$as_me:$LINENO: result: $LD" >&5
3217 echo "${ECHO_T}$LD" >&6
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3222 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3223 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3224 { (exit 1); exit 1; }; }
3225 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3226 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3227 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3228 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3231 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3232 lt_cv_prog_gnu_ld
=yes
3234 lt_cv_prog_gnu_ld
=no
3237 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3238 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3239 with_gnu_ld
=$lt_cv_prog_gnu_ld
3242 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3243 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3244 if test "${lt_cv_ld_reload_flag+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 lt_cv_ld_reload_flag
='-r'
3249 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3250 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3251 reload_flag
=$lt_cv_ld_reload_flag
3252 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3254 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3255 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3256 if test "${lt_cv_path_NM+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 if test -n "$NM"; then
3260 # Let the user override the test.
3263 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3264 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3265 test -z "$ac_dir" && ac_dir
=.
3266 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3267 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3268 # Check to see if the nm accepts a BSD-compat flag.
3269 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3270 # nm: unknown option "B" ignored
3271 # Tru64's nm complains that /dev/null is an invalid object file
3272 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3273 lt_cv_path_NM
="$tmp_nm -B"
3275 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3276 lt_cv_path_NM
="$tmp_nm -p"
3279 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3280 continue # so that we can try to find one that supports BSD flags
3285 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3290 echo "$as_me:$LINENO: result: $NM" >&5
3291 echo "${ECHO_T}$NM" >&6
3293 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3294 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3296 if test "$LN_S" = "ln -s"; then
3297 echo "$as_me:$LINENO: result: yes" >&5
3298 echo "${ECHO_T}yes" >&6
3300 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3301 echo "${ECHO_T}no, using $LN_S" >&6
3304 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3305 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3306 if test "${lt_cv_deplibs_check_method+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3309 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3310 lt_cv_file_magic_test_file
=
3311 lt_cv_deplibs_check_method
='unknown'
3312 # Need to set the preceding variable on all platforms that support
3313 # interlibrary dependencies.
3314 # 'none' -- dependencies not supported.
3315 # `unknown' -- same as none, but documents that we really don't know.
3316 # 'pass_all' -- all dependencies passed with no checks.
3317 # 'test_compile' -- check by making test program.
3318 # 'file_magic [regex]' -- check by looking for files in library path
3319 # which responds to the $file_magic_cmd with a given egrep regex.
3320 # If you have `file' or equivalent on your system and you're not sure
3321 # whether `pass_all' will *always* work, you probably want this one.
3325 lt_cv_deplibs_check_method
=pass_all
3329 lt_cv_deplibs_check_method
=pass_all
3333 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3334 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3335 lt_cv_file_magic_test_file
=/shlib
/libc.so
3338 cygwin
* | mingw
* |pw32
*)
3339 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3340 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3343 darwin
* | rhapsody
*)
3344 # this will be overwritten by pass_all, but leave it in just in case
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'
3355 lt_cv_deplibs_check_method
=pass_all
3358 freebsd
* | kfreebsd
*-gnu)
3359 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3362 # Not sure whether the presence of OpenBSD here was a mistake.
3363 # Let's accept both of them until this is cleared up.
3364 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3365 lt_cv_file_magic_cmd
=/usr
/bin
/file
3366 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3370 lt_cv_deplibs_check_method
=pass_all
3375 lt_cv_deplibs_check_method
=pass_all
3381 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3382 lt_cv_file_magic_cmd
=/usr
/bin
/file
3383 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3386 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3387 lt_cv_file_magic_cmd
=/usr
/bin
/file
3388 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3396 # this will be overridden with pass_all, but let us keep it just in case
3397 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3401 *-32|
*"-32 ") libmagic
=32-bit;;
3402 *-n32|
*"-n32 ") libmagic
=N32
;;
3403 *-64|
*"-64 ") libmagic
=64-bit;;
3404 *) libmagic
=never-match
;;
3406 # this will be overridden with pass_all, but let us keep it just in case
3407 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3410 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3411 lt_cv_deplibs_check_method
=pass_all
3414 # This must be Linux ELF.
3416 lt_cv_deplibs_check_method
=pass_all
3419 netbsd
* | knetbsd
*-gnu)
3420 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3421 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3423 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3428 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3429 lt_cv_file_magic_cmd
=/usr
/bin
/file
3430 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3433 osf3
* | osf4
* | osf5
*)
3434 # this will be overridden with pass_all, but let us keep it just in case
3435 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3436 lt_cv_file_magic_test_file
=/shlib
/libc.so
3437 lt_cv_deplibs_check_method
=pass_all
3441 lt_cv_deplibs_check_method
=pass_all
3445 lt_cv_deplibs_check_method
=pass_all
3446 lt_cv_file_magic_test_file
=/lib
/libc.so
3449 sysv5uw
[78]* | sysv4
*uw2
*)
3450 lt_cv_deplibs_check_method
=pass_all
3453 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3454 case $host_vendor in
3456 lt_cv_deplibs_check_method
=pass_all
3459 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]'
3460 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3467 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3468 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3469 file_magic_cmd
=$lt_cv_file_magic_cmd
3470 deplibs_check_method
=$lt_cv_deplibs_check_method
3475 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3477 # find the maximum length of command line arguments
3478 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3479 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3480 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3481 echo $ECHO_N "(cached) $ECHO_C" >&6
3488 # On DJGPP, this test can blow up pretty badly due to problems in libc
3489 # (any single argument exceeding 2000 bytes causes a buffer overrun
3490 # during glob expansion). Even if it were fixed, the result of this
3491 # check would be larger than it should be.
3492 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3496 # On Win9x/ME, this test blows up -- it succeeds, but takes
3497 # about 5 minutes as the teststring grows exponentially.
3498 # Worse, since 9x/ME are not pre-emptively multitasking,
3499 # you end up with a "frozen" computer, even though with patience
3500 # the test eventually succeeds (with a max line length of 256k).
3501 # Instead, let's just punt: use the minimum linelength reported by
3502 # all of the supported platforms: 8192 (on NT/2K/XP).
3503 lt_cv_sys_max_cmd_len
=8192;
3507 # On AmigaOS with pdksh, this test takes hours, literally.
3508 # So we just punt and use a minimum line length of 8192.
3509 lt_cv_sys_max_cmd_len
=8192;
3512 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3513 # This has been around since 386BSD, at least. Likely further.
3514 if test -x /sbin
/sysctl
; then
3515 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3516 elif test -x /usr
/sbin
/sysctl
; then
3517 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3519 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3521 # And add a safety zone
3522 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3523 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3529 if test -n "$lt_cv_sys_max_cmd_len" ; then
3530 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3531 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3533 echo "$as_me:$LINENO: result: none" >&5
3534 echo "${ECHO_T}none" >&6
3538 # Only perform the check for file, if the check method requires it
3539 case $deplibs_check_method in
3541 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3542 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3543 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3544 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3549 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3552 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3555 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3556 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3557 ac_dummy
="/usr/bin:$PATH"
3558 for ac_dir
in $ac_dummy; do
3559 test -z "$ac_dir" && ac_dir
=.
3560 if test -f $ac_dir/${ac_tool_prefix}file; then
3561 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3562 if test -n "$file_magic_test_file"; then
3563 case $deplibs_check_method in
3565 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3566 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3567 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3568 egrep "$file_magic_regex" > /dev
/null
; then
3573 *** Warning: the command libtool uses to detect shared libraries,
3574 *** $file_magic_cmd, produces output that libtool cannot recognize.
3575 *** The result is that libtool may fail to recognize shared libraries
3576 *** as such. This will affect the creation of libtool libraries that
3577 *** depend on shared libraries, but programs linked with such libtool
3578 *** libraries will work regardless of this problem. Nevertheless, you
3579 *** may want to report the problem to your system manager and/or to
3580 *** bug-libtool@gnu.org
3590 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3595 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3596 if test -n "$MAGIC_CMD"; then
3597 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3598 echo "${ECHO_T}$MAGIC_CMD" >&6
3600 echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6
3604 if test -z "$lt_cv_path_MAGIC_CMD"; then
3605 if test -n "$ac_tool_prefix"; then
3606 echo "$as_me:$LINENO: checking for file" >&5
3607 echo $ECHO_N "checking for file... $ECHO_C" >&6
3608 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3609 echo $ECHO_N "(cached) $ECHO_C" >&6
3613 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3616 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3619 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3620 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3621 ac_dummy
="/usr/bin:$PATH"
3622 for ac_dir
in $ac_dummy; do
3623 test -z "$ac_dir" && ac_dir
=.
3624 if test -f $ac_dir/file; then
3625 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3626 if test -n "$file_magic_test_file"; then
3627 case $deplibs_check_method in
3629 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3630 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3631 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3632 egrep "$file_magic_regex" > /dev
/null
; then
3637 *** Warning: the command libtool uses to detect shared libraries,
3638 *** $file_magic_cmd, produces output that libtool cannot recognize.
3639 *** The result is that libtool may fail to recognize shared libraries
3640 *** as such. This will affect the creation of libtool libraries that
3641 *** depend on shared libraries, but programs linked with such libtool
3642 *** libraries will work regardless of this problem. Nevertheless, you
3643 *** may want to report the problem to your system manager and/or to
3644 *** bug-libtool@gnu.org
3654 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3659 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3660 if test -n "$MAGIC_CMD"; then
3661 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3662 echo "${ECHO_T}$MAGIC_CMD" >&6
3664 echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6
3677 if test -n "$ac_tool_prefix"; then
3678 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3679 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3680 echo "$as_me:$LINENO: checking for $ac_word" >&5
3681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3682 if test "${ac_cv_prog_RANLIB+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3685 if test -n "$RANLIB"; then
3686 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3692 test -z "$as_dir" && as_dir
=.
3693 for ac_exec_ext
in '' $ac_executable_extensions; do
3694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3695 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 RANLIB
=$ac_cv_prog_RANLIB
3705 if test -n "$RANLIB"; then
3706 echo "$as_me:$LINENO: result: $RANLIB" >&5
3707 echo "${ECHO_T}$RANLIB" >&6
3709 echo "$as_me:$LINENO: result: no" >&5
3710 echo "${ECHO_T}no" >&6
3714 if test -z "$ac_cv_prog_RANLIB"; then
3715 ac_ct_RANLIB
=$RANLIB
3716 # Extract the first word of "ranlib", so it can be a program name with args.
3717 set dummy ranlib
; ac_word
=$2
3718 echo "$as_me:$LINENO: checking for $ac_word" >&5
3719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3720 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 if test -n "$ac_ct_RANLIB"; then
3724 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir
=.
3731 for ac_exec_ext
in '' $ac_executable_extensions; do
3732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3733 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3743 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3744 if test -n "$ac_ct_RANLIB"; then
3745 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3746 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3748 echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6
3752 RANLIB
=$ac_ct_RANLIB
3754 RANLIB
="$ac_cv_prog_RANLIB"
3757 if test -n "$ac_tool_prefix"; then
3758 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3759 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3760 echo "$as_me:$LINENO: checking for $ac_word" >&5
3761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3762 if test "${ac_cv_prog_STRIP+set}" = set; then
3763 echo $ECHO_N "(cached) $ECHO_C" >&6
3765 if test -n "$STRIP"; then
3766 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3772 test -z "$as_dir" && as_dir
=.
3773 for ac_exec_ext
in '' $ac_executable_extensions; do
3774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3775 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 STRIP
=$ac_cv_prog_STRIP
3785 if test -n "$STRIP"; then
3786 echo "$as_me:$LINENO: result: $STRIP" >&5
3787 echo "${ECHO_T}$STRIP" >&6
3789 echo "$as_me:$LINENO: result: no" >&5
3790 echo "${ECHO_T}no" >&6
3794 if test -z "$ac_cv_prog_STRIP"; then
3796 # Extract the first word of "strip", so it can be a program name with args.
3797 set dummy strip
; ac_word
=$2
3798 echo "$as_me:$LINENO: checking for $ac_word" >&5
3799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3800 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3801 echo $ECHO_N "(cached) $ECHO_C" >&6
3803 if test -n "$ac_ct_STRIP"; then
3804 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3810 test -z "$as_dir" && as_dir
=.
3811 for ac_exec_ext
in '' $ac_executable_extensions; do
3812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3813 ac_cv_prog_ac_ct_STRIP
="strip"
3814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3823 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3824 if test -n "$ac_ct_STRIP"; then
3825 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3826 echo "${ECHO_T}$ac_ct_STRIP" >&6
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3834 STRIP
="$ac_cv_prog_STRIP"
3838 # Check for any special flags to pass to ltconfig.
3839 libtool_flags
="--cache-file=$cache_file"
3840 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3841 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3842 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3843 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3844 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3847 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3848 if test "${enable_libtool_lock+set}" = set; then
3849 enableval
="$enable_libtool_lock"
3852 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3853 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3856 # Check whether --with-pic or --without-pic was given.
3857 if test "${with_pic+set}" = set; then
3863 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3864 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3866 # Some flags need to be propagated to the compiler or linker for good
3870 # Find out which ABI we are using.
3871 echo '#line 3871 "configure"' > conftest.
$ac_ext
3872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3873 (eval $ac_compile) 2>&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); }; then
3877 if test "$lt_cv_prog_gnu_ld" = yes; then
3878 case `/usr/bin/file conftest.$ac_objext` in
3880 LD
="${LD-ld} -melf32bsmip"
3883 LD
="${LD-ld} -melf32bmipn32"
3886 LD
="${LD-ld} -melf64bmip"
3890 case `/usr/bin/file conftest.$ac_objext` in
3907 # Find out which ABI we are using.
3908 echo 'int i;' > conftest.
$ac_ext
3909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3910 (eval $ac_compile) 2>&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); }; then
3914 case "`/usr/bin/file conftest.o`" in
3926 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3927 # Find out which ABI we are using.
3928 echo 'int i;' > conftest.
$ac_ext
3929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3930 (eval $ac_compile) 2>&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; then
3934 case "`/usr/bin/file conftest.o`" in
3938 LD
="${LD-ld} -m elf_i386"
3940 ppc64-
*linux
*|powerpc64-
*linux
*)
3941 LD
="${LD-ld} -m elf32ppclinux"
3944 LD
="${LD-ld} -m elf_s390"
3947 LD
="${LD-ld} -m elf32_sparc"
3954 LD
="${LD-ld} -m elf_x86_64"
3956 ppc
*-*linux
*|powerpc
*-*linux
*)
3957 LD
="${LD-ld} -m elf64ppc"
3960 LD
="${LD-ld} -m elf64_s390"
3963 LD
="${LD-ld} -m elf64_sparc"
3973 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3974 SAVE_CFLAGS
="$CFLAGS"
3975 CFLAGS
="$CFLAGS -belf"
3976 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3977 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3978 if test "${lt_cv_cc_needs_belf+set}" = set; then
3979 echo $ECHO_N "(cached) $ECHO_C" >&6
3984 ac_cpp
='$CPP $CPPFLAGS'
3985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3989 cat >conftest.
$ac_ext <<_ACEOF
3992 cat confdefs.h
>>conftest.
$ac_ext
3993 cat >>conftest.
$ac_ext <<_ACEOF
3994 /* end confdefs.h. */
4004 rm -f conftest.
$ac_objext conftest
$ac_exeext
4005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4006 (eval $ac_link) 2>conftest.er1
4008 grep -v '^ *+' conftest.er1
>conftest.err
4010 cat conftest.err
>&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } &&
4013 { ac_try
='test -z "$ac_c_werror_flag"
4014 || test ! -s conftest.err'
4015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); }; } &&
4020 { ac_try
='test -s conftest$ac_exeext'
4021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); }; }; then
4026 lt_cv_cc_needs_belf
=yes
4028 echo "$as_me: failed program was:" >&5
4029 sed 's/^/| /' conftest.
$ac_ext >&5
4031 lt_cv_cc_needs_belf
=no
4033 rm -f conftest.err conftest.
$ac_objext \
4034 conftest
$ac_exeext conftest.
$ac_ext
4036 ac_cpp
='$CPP $CPPFLAGS'
4037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4042 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4043 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4044 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4045 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4046 CFLAGS
="$SAVE_CFLAGS"
4054 # Save cache, so that ltconfig can load it
4055 cat >confcache
<<\_ACEOF
4056 # This file is a shell script that caches the results of configure
4057 # tests run on this system so they can be shared between configure
4058 # scripts and configure runs, see configure's option --config-cache.
4059 # It is not useful on other systems. If it contains results you don't
4060 # want to keep, you may remove or edit it.
4062 # config.status only pays attention to the cache file if you give it
4063 # the --recheck option to rerun configure.
4065 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4066 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4071 # The following way of writing the cache mishandles newlines in values,
4072 # but we know of no workaround that is simple, portable, and efficient.
4073 # So, don't put newlines in cache variables' values.
4074 # Ultrix sh set writes to stderr and can't be redirected directly,
4075 # and sets the high bit in the cache file unless we assign to the vars.
4078 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4080 # `set' does not quote correctly, so add quotes (double-quote
4081 # substitution turns \\\\ into \\, and sed turns \\ into \).
4084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4087 # `set' quotes correctly as required by POSIX, so do not add quotes.
4089 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4096 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4098 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4100 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4101 if test -w $cache_file; then
4102 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4103 cat confcache
>$cache_file
4105 echo "not updating unwritable cache $cache_file"
4110 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4111 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4112 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4113 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4114 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4115 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4116 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4117 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4118 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4119 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4120 echo "$as_me: error: libtool configure failed" >&2;}
4121 { (exit 1); exit 1; }; }
4123 # Reload cache, that may have been modified by ltconfig
4124 if test -r "$cache_file"; then
4125 # Some versions of bash will fail to source /dev/null (special
4126 # files actually), so we avoid doing that.
4127 if test -f "$cache_file"; then
4128 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4129 echo "$as_me: loading cache $cache_file" >&6;}
4131 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4132 *) . .
/$cache_file;;
4136 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4137 echo "$as_me: creating cache $cache_file" >&6;}
4142 # This can be used to rebuild libtool when needed
4143 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4145 # Always use our own libtool.
4146 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4148 # Redirect the config.log output again, so that the ltconfig log is not
4149 # clobbered by the next message.
4150 exec 5>>.
/config.log
4159 # Check whether --with-lib-path or --without-lib-path was given.
4160 if test "${with_lib_path+set}" = set; then
4161 withval
="$with_lib_path"
4164 # Check whether --enable-targets or --disable-targets was given.
4165 if test "${enable_targets+set}" = set; then
4166 enableval
="$enable_targets"
4167 case "${enableval}" in
4168 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4169 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4170 { (exit 1); exit 1; }; }
4172 no
) enable_targets
= ;;
4173 *) enable_targets
=$enableval ;;
4175 fi; # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4176 if test "${enable_64_bit_bfd+set}" = set; then
4177 enableval
="$enable_64_bit_bfd"
4178 case "${enableval}" in
4181 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4182 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
4183 { (exit 1); exit 1; }; } ;;
4189 # Check whether --with-sysroot or --without-sysroot was given.
4190 if test "${with_sysroot+set}" = set; then
4191 withval
="$with_sysroot"
4193 case ${with_sysroot} in
4194 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
4195 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
4198 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
4201 if test "x$exec_prefix" = xNONE
; then
4202 if test "x$prefix" = xNONE
; then
4203 test_prefix
=/usr
/local
4208 test_prefix
=$exec_prefix
4210 case ${TARGET_SYSTEM_ROOT} in
4211 "${test_prefix}"|
"${test_prefix}/"*|\
4212 '${exec_prefix}'|
'${exec_prefix}/'*)
4213 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
4214 TARGET_SYSTEM_ROOT_DEFINE
="$t"
4222 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
4230 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4232 # Check whether --enable-werror or --disable-werror was given.
4233 if test "${enable_werror+set}" = set; then
4234 enableval
="$enable_werror"
4235 case "${enableval}" in
4236 yes | y
) ERROR_ON_WARNING
="yes" ;;
4237 no | n
) ERROR_ON_WARNING
="no" ;;
4238 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4239 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4240 { (exit 1); exit 1; }; } ;;
4244 # Enable -Werror by default when using gcc
4245 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4246 ERROR_ON_WARNING
=yes
4250 if test "${ERROR_ON_WARNING}" = yes ; then
4251 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4252 NO_WERROR
="-Wno-error"
4255 if test "${GCC}" = yes ; then
4256 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4259 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4260 if test "${enable_build_warnings+set}" = set; then
4261 enableval
="$enable_build_warnings"
4262 case "${enableval}" in
4263 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4264 no
) if test "${GCC}" = yes ; then
4267 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4268 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4269 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4270 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4271 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4275 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4276 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4283 ac_config_headers
="$ac_config_headers config.h:config.in"
4286 if test -z "$target" ; then
4287 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4288 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4289 { (exit 1); exit 1; }; }
4291 if test -z "$host" ; then
4292 { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
4293 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
4294 { (exit 1); exit 1; }; }
4297 # host-specific stuff:
4300 ac_cpp
='$CPP $CPPFLAGS'
4301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4304 if test -n "$ac_tool_prefix"; then
4305 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4306 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4307 echo "$as_me:$LINENO: checking for $ac_word" >&5
4308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4309 if test "${ac_cv_prog_CC+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 if test -n "$CC"; then
4313 ac_cv_prog_CC
="$CC" # Let the user override the test.
4315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir
=.
4320 for ac_exec_ext
in '' $ac_executable_extensions; do
4321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4322 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 if test -n "$CC"; then
4333 echo "$as_me:$LINENO: result: $CC" >&5
4334 echo "${ECHO_T}$CC" >&6
4336 echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6
4341 if test -z "$ac_cv_prog_CC"; then
4343 # Extract the first word of "gcc", so it can be a program name with args.
4344 set dummy gcc
; ac_word
=$2
4345 echo "$as_me:$LINENO: checking for $ac_word" >&5
4346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4347 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4348 echo $ECHO_N "(cached) $ECHO_C" >&6
4350 if test -n "$ac_ct_CC"; then
4351 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir
=.
4358 for ac_exec_ext
in '' $ac_executable_extensions; do
4359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4360 ac_cv_prog_ac_ct_CC
="gcc"
4361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4370 if test -n "$ac_ct_CC"; then
4371 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4372 echo "${ECHO_T}$ac_ct_CC" >&6
4374 echo "$as_me:$LINENO: result: no" >&5
4375 echo "${ECHO_T}no" >&6
4383 if test -z "$CC"; then
4384 if test -n "$ac_tool_prefix"; then
4385 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4386 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4387 echo "$as_me:$LINENO: checking for $ac_word" >&5
4388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4389 if test "${ac_cv_prog_CC+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 if test -n "$CC"; then
4393 ac_cv_prog_CC
="$CC" # Let the user override the test.
4395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir
=.
4400 for ac_exec_ext
in '' $ac_executable_extensions; do
4401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4402 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 if test -n "$CC"; then
4413 echo "$as_me:$LINENO: result: $CC" >&5
4414 echo "${ECHO_T}$CC" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4421 if test -z "$ac_cv_prog_CC"; then
4423 # Extract the first word of "cc", so it can be a program name with args.
4424 set dummy cc
; ac_word
=$2
4425 echo "$as_me:$LINENO: checking for $ac_word" >&5
4426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4427 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 if test -n "$ac_ct_CC"; then
4431 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir
=.
4438 for ac_exec_ext
in '' $ac_executable_extensions; do
4439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_ac_ct_CC
="cc"
4441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4450 if test -n "$ac_ct_CC"; then
4451 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4452 echo "${ECHO_T}$ac_ct_CC" >&6
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4464 if test -z "$CC"; then
4465 # Extract the first word of "cc", so it can be a program name with args.
4466 set dummy cc
; ac_word
=$2
4467 echo "$as_me:$LINENO: checking for $ac_word" >&5
4468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4469 if test "${ac_cv_prog_CC+set}" = set; then
4470 echo $ECHO_N "(cached) $ECHO_C" >&6
4472 if test -n "$CC"; then
4473 ac_cv_prog_CC
="$CC" # Let the user override the test.
4476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4480 test -z "$as_dir" && as_dir
=.
4481 for ac_exec_ext
in '' $ac_executable_extensions; do
4482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4483 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4484 ac_prog_rejected
=yes
4488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 if test $ac_prog_rejected = yes; then
4495 # We found a bogon in the path, so make sure we never use it.
4496 set dummy
$ac_cv_prog_CC
4498 if test $# != 0; then
4499 # We chose a different compiler from the bogus one.
4500 # However, it has the same basename, so the bogon will be chosen
4501 # first if we set CC to just the basename; use the full file name.
4503 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4509 if test -n "$CC"; then
4510 echo "$as_me:$LINENO: result: $CC" >&5
4511 echo "${ECHO_T}$CC" >&6
4513 echo "$as_me:$LINENO: result: no" >&5
4514 echo "${ECHO_T}no" >&6
4518 if test -z "$CC"; then
4519 if test -n "$ac_tool_prefix"; then
4522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4523 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4524 echo "$as_me:$LINENO: checking for $ac_word" >&5
4525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4526 if test "${ac_cv_prog_CC+set}" = set; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4529 if test -n "$CC"; then
4530 ac_cv_prog_CC
="$CC" # Let the user override the test.
4532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir
=.
4537 for ac_exec_ext
in '' $ac_executable_extensions; do
4538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4539 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 if test -n "$CC"; then
4550 echo "$as_me:$LINENO: result: $CC" >&5
4551 echo "${ECHO_T}$CC" >&6
4553 echo "$as_me:$LINENO: result: no" >&5
4554 echo "${ECHO_T}no" >&6
4557 test -n "$CC" && break
4560 if test -z "$CC"; then
4564 # Extract the first word of "$ac_prog", so it can be a program name with args.
4565 set dummy
$ac_prog; ac_word
=$2
4566 echo "$as_me:$LINENO: checking for $ac_word" >&5
4567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4568 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 if test -n "$ac_ct_CC"; then
4572 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir
=.
4579 for ac_exec_ext
in '' $ac_executable_extensions; do
4580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4581 ac_cv_prog_ac_ct_CC
="$ac_prog"
4582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4590 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4591 if test -n "$ac_ct_CC"; then
4592 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4593 echo "${ECHO_T}$ac_ct_CC" >&6
4595 echo "$as_me:$LINENO: result: no" >&5
4596 echo "${ECHO_T}no" >&6
4599 test -n "$ac_ct_CC" && break
4608 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4609 See \`config.log' for more details." >&5
4610 echo "$as_me: error: no acceptable C compiler found in \$PATH
4611 See \`config.log' for more details." >&2;}
4612 { (exit 1); exit 1; }; }
4614 # Provide some information about the compiler.
4615 echo "$as_me:$LINENO:" \
4616 "checking for C compiler version" >&5
4617 ac_compiler
=`set X $ac_compile; echo $2`
4618 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4619 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); }
4623 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4624 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); }
4628 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4629 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); }
4634 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4635 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4636 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 cat >conftest.
$ac_ext <<_ACEOF
4642 cat confdefs.h
>>conftest.
$ac_ext
4643 cat >>conftest.
$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4657 rm -f conftest.
$ac_objext
4658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4659 (eval $ac_compile) 2>conftest.er1
4661 grep -v '^ *+' conftest.er1
>conftest.err
4663 cat conftest.err
>&5
4664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665 (exit $ac_status); } &&
4666 { ac_try
='test -z "$ac_c_werror_flag"
4667 || test ! -s conftest.err'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; } &&
4673 { ac_try
='test -s conftest.$ac_objext'
4674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); }; }; then
4681 echo "$as_me: failed program was:" >&5
4682 sed 's/^/| /' conftest.
$ac_ext >&5
4686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4687 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4690 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4691 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4692 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4693 ac_test_CFLAGS
=${CFLAGS+set}
4694 ac_save_CFLAGS
=$CFLAGS
4696 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4697 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4698 if test "${ac_cv_prog_cc_g+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 cat >conftest.
$ac_ext <<_ACEOF
4704 cat confdefs.h
>>conftest.
$ac_ext
4705 cat >>conftest.
$ac_ext <<_ACEOF
4706 /* end confdefs.h. */
4716 rm -f conftest.
$ac_objext
4717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4718 (eval $ac_compile) 2>conftest.er1
4720 grep -v '^ *+' conftest.er1
>conftest.err
4722 cat conftest.err
>&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); } &&
4725 { ac_try
='test -z "$ac_c_werror_flag"
4726 || test ! -s conftest.err'
4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); }; } &&
4732 { ac_try
='test -s conftest.$ac_objext'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; }; then
4740 echo "$as_me: failed program was:" >&5
4741 sed 's/^/| /' conftest.
$ac_ext >&5
4745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4747 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4748 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4749 if test "$ac_test_CFLAGS" = set; then
4750 CFLAGS
=$ac_save_CFLAGS
4751 elif test $ac_cv_prog_cc_g = yes; then
4752 if test "$GCC" = yes; then
4758 if test "$GCC" = yes; then
4764 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4765 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4766 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 ac_cv_prog_cc_stdc
=no
4771 cat >conftest.
$ac_ext <<_ACEOF
4774 cat confdefs.h
>>conftest.
$ac_ext
4775 cat >>conftest.
$ac_ext <<_ACEOF
4776 /* end confdefs.h. */
4779 #include <sys/types.h>
4780 #include <sys/stat.h>
4781 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4782 struct buf { int x; };
4783 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4784 static char *e (p, i)
4790 static char *f (char * (*g) (char **, int), char **p, ...)
4795 s = g (p, va_arg (v,int));
4800 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4801 function prototypes and stuff, but not '\xHH' hex character constants.
4802 These don't provoke an error unfortunately, instead are silently treated
4803 as 'x'. The following induces an error, until -std1 is added to get
4804 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4805 array size at least. It's necessary to write '\x00'==0 to get something
4806 that's true only with -std1. */
4807 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4809 int test (int i, double x);
4810 struct s1 {int (*f) (int a);};
4811 struct s2 {int (*f) (double a);};
4812 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4818 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4823 # Don't try gcc -ansi; that turns off useful extensions and
4824 # breaks some systems' header files.
4825 # AIX -qlanglvl=ansi
4826 # Ultrix and OSF/1 -std1
4827 # HP-UX 10.20 and later -Ae
4828 # HP-UX older versions -Aa -D_HPUX_SOURCE
4829 # SVR4 -Xc -D__EXTENSIONS__
4830 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4832 CC
="$ac_save_CC $ac_arg"
4833 rm -f conftest.
$ac_objext
4834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4835 (eval $ac_compile) 2>conftest.er1
4837 grep -v '^ *+' conftest.er1
>conftest.err
4839 cat conftest.err
>&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); } &&
4842 { ac_try
='test -z "$ac_c_werror_flag"
4843 || test ! -s conftest.err'
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; } &&
4849 { ac_try
='test -s conftest.$ac_objext'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
4855 ac_cv_prog_cc_stdc
=$ac_arg
4858 echo "$as_me: failed program was:" >&5
4859 sed 's/^/| /' conftest.
$ac_ext >&5
4862 rm -f conftest.err conftest.
$ac_objext
4864 rm -f conftest.
$ac_ext conftest.
$ac_objext
4869 case "x$ac_cv_prog_cc_stdc" in
4871 echo "$as_me:$LINENO: result: none needed" >&5
4872 echo "${ECHO_T}none needed" >&6 ;;
4874 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4875 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4876 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4879 # Some people use a C++ compiler to compile C. Since we use `exit',
4880 # in C++ we need to declare it. In case someone uses the same compiler
4881 # for both compiling C and C++ we need to have the C++ compiler decide
4882 # the declaration of exit, since it's the most demanding environment.
4883 cat >conftest.
$ac_ext <<_ACEOF
4888 rm -f conftest.
$ac_objext
4889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4890 (eval $ac_compile) 2>conftest.er1
4892 grep -v '^ *+' conftest.er1
>conftest.err
4894 cat conftest.err
>&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } &&
4897 { ac_try
='test -z "$ac_c_werror_flag"
4898 || test ! -s conftest.err'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; } &&
4904 { ac_try
='test -s conftest.$ac_objext'
4905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); }; }; then
4910 for ac_declaration
in \
4912 'extern "C" void std::exit (int) throw (); using std::exit;' \
4913 'extern "C" void std::exit (int); using std::exit;' \
4914 'extern "C" void exit (int) throw ();' \
4915 'extern "C" void exit (int);' \
4918 cat >conftest.
$ac_ext <<_ACEOF
4921 cat confdefs.h
>>conftest.
$ac_ext
4922 cat >>conftest.
$ac_ext <<_ACEOF
4923 /* end confdefs.h. */
4934 rm -f conftest.
$ac_objext
4935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4936 (eval $ac_compile) 2>conftest.er1
4938 grep -v '^ *+' conftest.er1
>conftest.err
4940 cat conftest.err
>&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); } &&
4943 { ac_try
='test -z "$ac_c_werror_flag"
4944 || test ! -s conftest.err'
4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); }; } &&
4950 { ac_try
='test -s conftest.$ac_objext'
4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); }; }; then
4958 echo "$as_me: failed program was:" >&5
4959 sed 's/^/| /' conftest.
$ac_ext >&5
4963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4964 cat >conftest.
$ac_ext <<_ACEOF
4967 cat confdefs.h
>>conftest.
$ac_ext
4968 cat >>conftest.
$ac_ext <<_ACEOF
4969 /* end confdefs.h. */
4979 rm -f conftest.
$ac_objext
4980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4981 (eval $ac_compile) 2>conftest.er1
4983 grep -v '^ *+' conftest.er1
>conftest.err
4985 cat conftest.err
>&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } &&
4988 { ac_try
='test -z "$ac_c_werror_flag"
4989 || test ! -s conftest.err'
4990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); }; } &&
4995 { ac_try
='test -s conftest.$ac_objext'
4996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000 (exit $ac_status); }; }; then
5003 echo "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.
$ac_ext >&5
5007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5010 if test -n "$ac_declaration"; then
5011 echo '#ifdef __cplusplus' >>confdefs.h
5012 echo $ac_declaration >>confdefs.h
5013 echo '#endif' >>confdefs.h
5017 echo "$as_me: failed program was:" >&5
5018 sed 's/^/| /' conftest.
$ac_ext >&5
5021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5023 ac_cpp
='$CPP $CPPFLAGS'
5024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5028 # Find a good install program. We prefer a C program (faster),
5029 # so one script is as good as another. But avoid the broken or
5030 # incompatible versions:
5031 # SysV /etc/install, /usr/sbin/install
5032 # SunOS /usr/etc/install
5033 # IRIX /sbin/install
5035 # AmigaOS /C/install, which installs bootblocks on floppy discs
5036 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5037 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5038 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5039 # OS/2's system install, which has a completely different semantic
5040 # ./install, which can be erroneously created by make from ./install.sh.
5041 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5042 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5043 if test -z "$INSTALL"; then
5044 if test "${ac_cv_path_install+set}" = set; then
5045 echo $ECHO_N "(cached) $ECHO_C" >&6
5047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5051 test -z "$as_dir" && as_dir
=.
5052 # Account for people who put trailing slashes in PATH elements.
5054 .
/ | .
// |
/cC
/* | \
5055 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5056 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5059 # OSF1 and SCO ODT 3.0 have their own names for install.
5060 # Don't use installbsd from OSF since it installs stuff as root
5062 for ac_prog
in ginstall scoinst
install; do
5063 for ac_exec_ext
in '' $ac_executable_extensions; do
5064 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5065 if test $ac_prog = install &&
5066 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5067 # AIX install. It has an incompatible calling convention.
5069 elif test $ac_prog = install &&
5070 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5071 # program-specific install script used by HP pwplus--don't use.
5074 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5086 if test "${ac_cv_path_install+set}" = set; then
5087 INSTALL
=$ac_cv_path_install
5089 # As a last resort, use the slow shell script. We don't cache a
5090 # path for INSTALL within a source directory, because that will
5091 # break other packages using the cache if that directory is
5092 # removed, or if the path is relative.
5093 INSTALL
=$ac_install_sh
5096 echo "$as_me:$LINENO: result: $INSTALL" >&5
5097 echo "${ECHO_T}$INSTALL" >&6
5099 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5100 # It thinks the first close brace ends the variable substitution.
5101 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5103 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5105 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5108 ALL_LINGUAS
="fr sv tr es da vi zh_CN zh_TW ga"
5109 # If we haven't got the data from the intl directory,
5110 # assume NLS is disabled.
5119 if test -f ..
/intl
/config.intl
; then
5120 . ..
/intl
/config.intl
5122 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5123 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5124 if test x
"$USE_NLS" != xyes
; then
5125 echo "$as_me:$LINENO: result: no" >&5
5126 echo "${ECHO_T}no" >&6
5128 echo "$as_me:$LINENO: result: yes" >&5
5129 echo "${ECHO_T}yes" >&6
5131 cat >>confdefs.h
<<\_ACEOF
5132 #define ENABLE_NLS 1
5136 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5137 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5138 # Look for .po and .gmo files in the source directory.
5141 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5142 # If there aren't any .gmo files the shell will give us the
5143 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5145 case "$cat" in *\
**)
5148 # The quadruple backslash is collapsed to a double backslash
5149 # by the backticks, then collapsed again by the double quotes,
5150 # leaving us with one backslash in the sed expression (right
5151 # before the dot that mustn't act as a wildcard).
5152 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5153 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5154 # The user is allowed to set LINGUAS to a list of languages to
5155 # install catalogs for. If it's empty that means "all of them."
5156 if test "x$LINGUAS" = x
; then
5157 CATALOGS
="$CATALOGS $cat"
5158 XLINGUAS
="$XLINGUAS $lang"
5160 case "$LINGUAS" in *$lang*)
5161 CATALOGS
="$CATALOGS $cat"
5162 XLINGUAS
="$XLINGUAS $lang"
5168 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5169 echo "${ECHO_T}$LINGUAS" >&6
5183 if test -n "$ac_aux_dir"; then
5184 case "$ac_aux_dir" in
5185 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5186 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5189 if test -z "$MKINSTALLDIRS"; then
5190 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5195 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5196 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5197 # Check whether --enable-nls or --disable-nls was given.
5198 if test "${enable_nls+set}" = set; then
5199 enableval
="$enable_nls"
5204 echo "$as_me:$LINENO: result: $USE_NLS" >&5
5205 echo "${ECHO_T}$USE_NLS" >&6
5212 # Prepare PATH_SEPARATOR.
5213 # The user is always right.
5214 if test "${PATH_SEPARATOR+set}" != set; then
5215 echo "#! /bin/sh" >conf$$.sh
5216 echo "exit 0" >>conf$$.sh
5218 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5226 # Find out how to test for executable files. Don't use a zero-byte file,
5227 # as systems may use methods other than mode bits to determine executability.
5228 cat >conf$$.
file <<_ASEOF
5232 chmod +x conf$$.
file
5233 if test -x conf$$.
file >/dev
/null
2>&1; then
5234 ac_executable_p
="test -x"
5236 ac_executable_p
="test -f"
5240 # Extract the first word of "msgfmt", so it can be a program name with args.
5241 set dummy msgfmt
; ac_word
=$2
5242 echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5244 if test "${ac_cv_path_MSGFMT+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5252 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5253 for ac_dir
in $PATH; do
5255 test -z "$ac_dir" && ac_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5258 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5259 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5260 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5267 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5271 MSGFMT
="$ac_cv_path_MSGFMT"
5272 if test "$MSGFMT" != ":"; then
5273 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5274 echo "${ECHO_T}$MSGFMT" >&6
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5280 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5281 set dummy gmsgfmt
; ac_word
=$2
5282 echo "$as_me:$LINENO: checking for $ac_word" >&5
5283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5284 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5285 echo $ECHO_N "(cached) $ECHO_C" >&6
5289 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5296 test -z "$as_dir" && as_dir
=.
5297 for ac_exec_ext
in '' $ac_executable_extensions; do
5298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5310 GMSGFMT
=$ac_cv_path_GMSGFMT
5312 if test -n "$GMSGFMT"; then
5313 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5314 echo "${ECHO_T}$GMSGFMT" >&6
5316 echo "$as_me:$LINENO: result: no" >&5
5317 echo "${ECHO_T}no" >&6
5322 # Prepare PATH_SEPARATOR.
5323 # The user is always right.
5324 if test "${PATH_SEPARATOR+set}" != set; then
5325 echo "#! /bin/sh" >conf$$.sh
5326 echo "exit 0" >>conf$$.sh
5328 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5336 # Find out how to test for executable files. Don't use a zero-byte file,
5337 # as systems may use methods other than mode bits to determine executability.
5338 cat >conf$$.
file <<_ASEOF
5342 chmod +x conf$$.
file
5343 if test -x conf$$.
file >/dev
/null
2>&1; then
5344 ac_executable_p
="test -x"
5346 ac_executable_p
="test -f"
5350 # Extract the first word of "xgettext", so it can be a program name with args.
5351 set dummy xgettext
; ac_word
=$2
5352 echo "$as_me:$LINENO: checking for $ac_word" >&5
5353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5354 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5355 echo $ECHO_N "(cached) $ECHO_C" >&6
5359 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5362 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5363 for ac_dir
in $PATH; do
5365 test -z "$ac_dir" && ac_dir
=.
5366 for ac_exec_ext
in '' $ac_executable_extensions; do
5367 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5368 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5369 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5370 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5377 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5381 XGETTEXT
="$ac_cv_path_XGETTEXT"
5382 if test "$XGETTEXT" != ":"; then
5383 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5384 echo "${ECHO_T}$XGETTEXT" >&6
5386 echo "$as_me:$LINENO: result: no" >&5
5387 echo "${ECHO_T}no" >&6
5393 # Prepare PATH_SEPARATOR.
5394 # The user is always right.
5395 if test "${PATH_SEPARATOR+set}" != set; then
5396 echo "#! /bin/sh" >conf$$.sh
5397 echo "exit 0" >>conf$$.sh
5399 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5407 # Find out how to test for executable files. Don't use a zero-byte file,
5408 # as systems may use methods other than mode bits to determine executability.
5409 cat >conf$$.
file <<_ASEOF
5413 chmod +x conf$$.
file
5414 if test -x conf$$.
file >/dev
/null
2>&1; then
5415 ac_executable_p
="test -x"
5417 ac_executable_p
="test -f"
5421 # Extract the first word of "msgmerge", so it can be a program name with args.
5422 set dummy msgmerge
; ac_word
=$2
5423 echo "$as_me:$LINENO: checking for $ac_word" >&5
5424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5425 if test "${ac_cv_path_MSGMERGE+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5433 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5434 for ac_dir
in $PATH; do
5436 test -z "$ac_dir" && ac_dir
=.
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5439 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5440 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5447 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5451 MSGMERGE
="$ac_cv_path_MSGMERGE"
5452 if test "$MSGMERGE" != ":"; then
5453 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
5454 echo "${ECHO_T}$MSGMERGE" >&6
5456 echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6
5461 if test "$GMSGFMT" != ":"; then
5462 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5463 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5466 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5467 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5468 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
5473 if test "$XGETTEXT" != ":"; then
5474 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5475 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5478 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5479 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5485 ac_config_commands
="$ac_config_commands default-1"
5491 for ac_prog
in 'bison -y' byacc
5493 # Extract the first word of "$ac_prog", so it can be a program name with args.
5494 set dummy
$ac_prog; ac_word
=$2
5495 echo "$as_me:$LINENO: checking for $ac_word" >&5
5496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5497 if test "${ac_cv_prog_YACC+set}" = set; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5500 if test -n "$YACC"; then
5501 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir
=.
5508 for ac_exec_ext
in '' $ac_executable_extensions; do
5509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5510 ac_cv_prog_YACC
="$ac_prog"
5511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5519 YACC
=$ac_cv_prog_YACC
5520 if test -n "$YACC"; then
5521 echo "$as_me:$LINENO: result: $YACC" >&5
5522 echo "${ECHO_T}$YACC" >&6
5524 echo "$as_me:$LINENO: result: no" >&5
5525 echo "${ECHO_T}no" >&6
5528 test -n "$YACC" && break
5530 test -n "$YACC" || YACC
="yacc"
5532 for ac_prog
in flex
lex
5534 # Extract the first word of "$ac_prog", so it can be a program name with args.
5535 set dummy
$ac_prog; ac_word
=$2
5536 echo "$as_me:$LINENO: checking for $ac_word" >&5
5537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5538 if test "${ac_cv_prog_LEX+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 if test -n "$LEX"; then
5542 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir
=.
5549 for ac_exec_ext
in '' $ac_executable_extensions; do
5550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_LEX
="$ac_prog"
5552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 if test -n "$LEX"; then
5562 echo "$as_me:$LINENO: result: $LEX" >&5
5563 echo "${ECHO_T}$LEX" >&6
5565 echo "$as_me:$LINENO: result: no" >&5
5566 echo "${ECHO_T}no" >&6
5569 test -n "$LEX" && break
5571 test -n "$LEX" || LEX
=":"
5573 if test -z "$LEXLIB"
5575 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5576 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
5577 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5578 echo $ECHO_N "(cached) $ECHO_C" >&6
5580 ac_check_lib_save_LIBS
=$LIBS
5582 cat >conftest.
$ac_ext <<_ACEOF
5585 cat confdefs.h
>>conftest.
$ac_ext
5586 cat >>conftest.
$ac_ext <<_ACEOF
5587 /* end confdefs.h. */
5589 /* Override any gcc2 internal prototype to avoid an error. */
5593 /* We use char because int might match the return type of a gcc2
5594 builtin and then its argument prototype would still apply. */
5604 rm -f conftest.
$ac_objext conftest
$ac_exeext
5605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5606 (eval $ac_link) 2>conftest.er1
5608 grep -v '^ *+' conftest.er1
>conftest.err
5610 cat conftest.err
>&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } &&
5613 { ac_try
='test -z "$ac_c_werror_flag"
5614 || test ! -s conftest.err'
5615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); }; } &&
5620 { ac_try
='test -s conftest$ac_exeext'
5621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); }; }; then
5626 ac_cv_lib_fl_yywrap
=yes
5628 echo "$as_me: failed program was:" >&5
5629 sed 's/^/| /' conftest.
$ac_ext >&5
5631 ac_cv_lib_fl_yywrap
=no
5633 rm -f conftest.err conftest.
$ac_objext \
5634 conftest
$ac_exeext conftest.
$ac_ext
5635 LIBS
=$ac_check_lib_save_LIBS
5637 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5638 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
5639 if test $ac_cv_lib_fl_yywrap = yes; then
5642 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5643 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
5644 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5645 echo $ECHO_N "(cached) $ECHO_C" >&6
5647 ac_check_lib_save_LIBS
=$LIBS
5649 cat >conftest.
$ac_ext <<_ACEOF
5652 cat confdefs.h
>>conftest.
$ac_ext
5653 cat >>conftest.
$ac_ext <<_ACEOF
5654 /* end confdefs.h. */
5656 /* Override any gcc2 internal prototype to avoid an error. */
5660 /* We use char because int might match the return type of a gcc2
5661 builtin and then its argument prototype would still apply. */
5671 rm -f conftest.
$ac_objext conftest
$ac_exeext
5672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5673 (eval $ac_link) 2>conftest.er1
5675 grep -v '^ *+' conftest.er1
>conftest.err
5677 cat conftest.err
>&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); } &&
5680 { ac_try
='test -z "$ac_c_werror_flag"
5681 || test ! -s conftest.err'
5682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 (exit $ac_status); }; } &&
5687 { ac_try
='test -s conftest$ac_exeext'
5688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); }; }; then
5693 ac_cv_lib_l_yywrap
=yes
5695 echo "$as_me: failed program was:" >&5
5696 sed 's/^/| /' conftest.
$ac_ext >&5
5698 ac_cv_lib_l_yywrap
=no
5700 rm -f conftest.err conftest.
$ac_objext \
5701 conftest
$ac_exeext conftest.
$ac_ext
5702 LIBS
=$ac_check_lib_save_LIBS
5704 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5705 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
5706 if test $ac_cv_lib_l_yywrap = yes; then
5714 if test "x$LEX" != "x:"; then
5715 echo "$as_me:$LINENO: checking lex output file root" >&5
5716 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
5717 if test "${ac_cv_prog_lex_root+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 # The minimal lex program is just a single line: %%. But some broken lexes
5721 # (Solaris, I think it was) want two %% lines, so accommodate them.
5722 cat >conftest.l
<<_ACEOF
5726 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
5727 (eval $LEX conftest.l
) 2>&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); }
5731 if test -f lex.yy.c
; then
5732 ac_cv_prog_lex_root
=lex.yy
5733 elif test -f lexyy.c
; then
5734 ac_cv_prog_lex_root
=lexyy
5736 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5737 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5738 { (exit 1); exit 1; }; }
5741 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5742 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
5744 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
5746 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5747 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
5748 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5749 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 # POSIX says lex can declare yytext either as a pointer or an array; the
5752 # default is implementation-dependent. Figure out which it is, since
5753 # not all implementations provide the %pointer and %array declarations.
5754 ac_cv_prog_lex_yytext_pointer
=no
5755 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5757 LIBS
="$LIBS $LEXLIB"
5758 cat >conftest.
$ac_ext <<_ACEOF
5759 `cat $LEX_OUTPUT_ROOT.c`
5761 rm -f conftest.
$ac_objext conftest
$ac_exeext
5762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5763 (eval $ac_link) 2>conftest.er1
5765 grep -v '^ *+' conftest.er1
>conftest.err
5767 cat conftest.err
>&5
5768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769 (exit $ac_status); } &&
5770 { ac_try
='test -z "$ac_c_werror_flag"
5771 || test ! -s conftest.err'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; } &&
5777 { ac_try
='test -s conftest$ac_exeext'
5778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); }; }; then
5783 ac_cv_prog_lex_yytext_pointer
=yes
5785 echo "$as_me: failed program was:" >&5
5786 sed 's/^/| /' conftest.
$ac_ext >&5
5789 rm -f conftest.err conftest.
$ac_objext \
5790 conftest
$ac_exeext conftest.
$ac_ext
5792 rm -f "${LEX_OUTPUT_ROOT}.c"
5795 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5796 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
5797 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5799 cat >>confdefs.h
<<\_ACEOF
5800 #define YYTEXT_POINTER 1
5806 if test "$LEX" = :; then
5807 LEX
=${am_missing_run}flex
5810 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5811 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5812 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5813 if test "${enable_maintainer_mode+set}" = set; then
5814 enableval
="$enable_maintainer_mode"
5815 USE_MAINTAINER_MODE
=$enableval
5817 USE_MAINTAINER_MODE
=no
5819 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5820 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5823 if test $USE_MAINTAINER_MODE = yes; then
5824 MAINTAINER_MODE_TRUE
=
5825 MAINTAINER_MODE_FALSE
='#'
5827 MAINTAINER_MODE_TRUE
='#'
5828 MAINTAINER_MODE_FALSE
=
5831 MAINT
=$MAINTAINER_MODE_TRUE
5837 GENINSRC_NEVER_TRUE
=
5838 GENINSRC_NEVER_FALSE
='#'
5840 GENINSRC_NEVER_TRUE
='#'
5841 GENINSRC_NEVER_FALSE
=
5845 .
${srcdir}/configure.
host
5853 ac_cpp
='$CPP $CPPFLAGS'
5854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5857 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5858 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5859 # On Suns, sometimes $CPP names a directory.
5860 if test -n "$CPP" && test -d "$CPP"; then
5863 if test -z "$CPP"; then
5864 if test "${ac_cv_prog_CPP+set}" = set; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5867 # Double quotes because CPP needs to be expanded
5868 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5871 for ac_c_preproc_warn_flag
in '' yes
5873 # Use a header file that comes with gcc, so configuring glibc
5874 # with a fresh cross-compiler works.
5875 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5876 # <limits.h> exists even on freestanding compilers.
5877 # On the NeXT, cc -E runs the code through the compiler's parser,
5878 # not just through cpp. "Syntax error" is here to catch this case.
5879 cat >conftest.
$ac_ext <<_ACEOF
5882 cat confdefs.h
>>conftest.
$ac_ext
5883 cat >>conftest.
$ac_ext <<_ACEOF
5884 /* end confdefs.h. */
5886 # include <limits.h>
5888 # include <assert.h>
5892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5893 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5895 grep -v '^ *+' conftest.er1
>conftest.err
5897 cat conftest.err
>&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); } >/dev
/null
; then
5900 if test -s conftest.err
; then
5901 ac_cpp_err
=$ac_c_preproc_warn_flag
5902 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5909 if test -z "$ac_cpp_err"; then
5912 echo "$as_me: failed program was:" >&5
5913 sed 's/^/| /' conftest.
$ac_ext >&5
5915 # Broken: fails on valid input.
5918 rm -f conftest.err conftest.
$ac_ext
5920 # OK, works on sane cases. Now check whether non-existent headers
5921 # can be detected and how.
5922 cat >conftest.
$ac_ext <<_ACEOF
5925 cat confdefs.h
>>conftest.
$ac_ext
5926 cat >>conftest.
$ac_ext <<_ACEOF
5927 /* end confdefs.h. */
5928 #include <ac_nonexistent.h>
5930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5931 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5933 grep -v '^ *+' conftest.er1
>conftest.err
5935 cat conftest.err
>&5
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); } >/dev
/null
; then
5938 if test -s conftest.err
; then
5939 ac_cpp_err
=$ac_c_preproc_warn_flag
5940 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5947 if test -z "$ac_cpp_err"; then
5948 # Broken: success on invalid input.
5951 echo "$as_me: failed program was:" >&5
5952 sed 's/^/| /' conftest.
$ac_ext >&5
5954 # Passes both tests.
5958 rm -f conftest.err conftest.
$ac_ext
5961 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5962 rm -f conftest.err conftest.
$ac_ext
5963 if $ac_preproc_ok; then
5975 echo "$as_me:$LINENO: result: $CPP" >&5
5976 echo "${ECHO_T}$CPP" >&6
5978 for ac_c_preproc_warn_flag
in '' yes
5980 # Use a header file that comes with gcc, so configuring glibc
5981 # with a fresh cross-compiler works.
5982 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5983 # <limits.h> exists even on freestanding compilers.
5984 # On the NeXT, cc -E runs the code through the compiler's parser,
5985 # not just through cpp. "Syntax error" is here to catch this case.
5986 cat >conftest.
$ac_ext <<_ACEOF
5989 cat confdefs.h
>>conftest.
$ac_ext
5990 cat >>conftest.
$ac_ext <<_ACEOF
5991 /* end confdefs.h. */
5993 # include <limits.h>
5995 # include <assert.h>
5999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6000 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6002 grep -v '^ *+' conftest.er1
>conftest.err
6004 cat conftest.err
>&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); } >/dev
/null
; then
6007 if test -s conftest.err
; then
6008 ac_cpp_err
=$ac_c_preproc_warn_flag
6009 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6016 if test -z "$ac_cpp_err"; then
6019 echo "$as_me: failed program was:" >&5
6020 sed 's/^/| /' conftest.
$ac_ext >&5
6022 # Broken: fails on valid input.
6025 rm -f conftest.err conftest.
$ac_ext
6027 # OK, works on sane cases. Now check whether non-existent headers
6028 # can be detected and how.
6029 cat >conftest.
$ac_ext <<_ACEOF
6032 cat confdefs.h
>>conftest.
$ac_ext
6033 cat >>conftest.
$ac_ext <<_ACEOF
6034 /* end confdefs.h. */
6035 #include <ac_nonexistent.h>
6037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6038 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6040 grep -v '^ *+' conftest.er1
>conftest.err
6042 cat conftest.err
>&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); } >/dev
/null
; then
6045 if test -s conftest.err
; then
6046 ac_cpp_err
=$ac_c_preproc_warn_flag
6047 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6054 if test -z "$ac_cpp_err"; then
6055 # Broken: success on invalid input.
6058 echo "$as_me: failed program was:" >&5
6059 sed 's/^/| /' conftest.
$ac_ext >&5
6061 # Passes both tests.
6065 rm -f conftest.err conftest.
$ac_ext
6068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6069 rm -f conftest.err conftest.
$ac_ext
6070 if $ac_preproc_ok; then
6073 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6074 See \`config.log' for more details." >&5
6075 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6076 See \`config.log' for more details." >&2;}
6077 { (exit 1); exit 1; }; }
6081 ac_cpp
='$CPP $CPPFLAGS'
6082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6087 echo "$as_me:$LINENO: checking for egrep" >&5
6088 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6089 if test "${ac_cv_prog_egrep+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6093 then ac_cv_prog_egrep
='grep -E'
6094 else ac_cv_prog_egrep
='egrep'
6097 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6098 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6099 EGREP
=$ac_cv_prog_egrep
6102 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6103 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6104 if test "${ac_cv_header_stdc+set}" = set; then
6105 echo $ECHO_N "(cached) $ECHO_C" >&6
6107 cat >conftest.
$ac_ext <<_ACEOF
6110 cat confdefs.h
>>conftest.
$ac_ext
6111 cat >>conftest.
$ac_ext <<_ACEOF
6112 /* end confdefs.h. */
6126 rm -f conftest.
$ac_objext
6127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6128 (eval $ac_compile) 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_objext'
6143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); }; }; then
6148 ac_cv_header_stdc
=yes
6150 echo "$as_me: failed program was:" >&5
6151 sed 's/^/| /' conftest.
$ac_ext >&5
6153 ac_cv_header_stdc
=no
6155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6157 if test $ac_cv_header_stdc = yes; then
6158 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6159 cat >conftest.
$ac_ext <<_ACEOF
6162 cat confdefs.h
>>conftest.
$ac_ext
6163 cat >>conftest.
$ac_ext <<_ACEOF
6164 /* end confdefs.h. */
6168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6169 $EGREP "memchr" >/dev
/null
2>&1; then
6172 ac_cv_header_stdc
=no
6178 if test $ac_cv_header_stdc = yes; then
6179 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6180 cat >conftest.
$ac_ext <<_ACEOF
6183 cat confdefs.h
>>conftest.
$ac_ext
6184 cat >>conftest.
$ac_ext <<_ACEOF
6185 /* end confdefs.h. */
6189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6190 $EGREP "free" >/dev
/null
2>&1; then
6193 ac_cv_header_stdc
=no
6199 if test $ac_cv_header_stdc = yes; then
6200 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6201 if test "$cross_compiling" = yes; then
6204 cat >conftest.
$ac_ext <<_ACEOF
6207 cat confdefs.h
>>conftest.
$ac_ext
6208 cat >>conftest.
$ac_ext <<_ACEOF
6209 /* end confdefs.h. */
6211 #if ((' ' & 0x0FF) == 0x020)
6212 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6213 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6215 # define ISLOWER(c) \
6216 (('a' <= (c) && (c) <= 'i') \
6217 || ('j' <= (c) && (c) <= 'r') \
6218 || ('s' <= (c) && (c) <= 'z'))
6219 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6222 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6227 for (i = 0; i < 256; i++)
6228 if (XOR (islower (i), ISLOWER (i))
6229 || toupper (i) != TOUPPER (i))
6234 rm -f conftest
$ac_exeext
6235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6236 (eval $ac_link) 2>&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); }; }; then
6247 echo "$as_me: program exited with status $ac_status" >&5
6248 echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.
$ac_ext >&5
6252 ac_cv_header_stdc
=no
6254 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6258 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6259 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6260 if test $ac_cv_header_stdc = yes; then
6262 cat >>confdefs.h
<<\_ACEOF
6263 #define STDC_HEADERS 1
6268 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6278 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6279 inttypes.h stdint.h unistd.h
6281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6282 echo "$as_me:$LINENO: checking for $ac_header" >&5
6283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 cat >conftest.
$ac_ext <<_ACEOF
6290 cat confdefs.h
>>conftest.
$ac_ext
6291 cat >>conftest.
$ac_ext <<_ACEOF
6292 /* end confdefs.h. */
6293 $ac_includes_default
6295 #include <$ac_header>
6297 rm -f conftest.
$ac_objext
6298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6299 (eval $ac_compile) 2>conftest.er1
6301 grep -v '^ *+' conftest.er1
>conftest.err
6303 cat conftest.err
>&5
6304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305 (exit $ac_status); } &&
6306 { ac_try
='test -z "$ac_c_werror_flag"
6307 || test ! -s conftest.err'
6308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); }; } &&
6313 { ac_try
='test -s conftest.$ac_objext'
6314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); }; }; then
6319 eval "$as_ac_Header=yes"
6321 echo "$as_me: failed program was:" >&5
6322 sed 's/^/| /' conftest.
$ac_ext >&5
6324 eval "$as_ac_Header=no"
6326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6331 cat >>confdefs.h
<<_ACEOF
6332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6347 for ac_header
in string.h
strings.h stdlib.h unistd.h elf-hints.h limits.h sys
/param.h
6349 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6351 echo "$as_me:$LINENO: checking for $ac_header" >&5
6352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6354 echo $ECHO_N "(cached) $ECHO_C" >&6
6356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6359 # Is the header compilable?
6360 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6362 cat >conftest.
$ac_ext <<_ACEOF
6365 cat confdefs.h
>>conftest.
$ac_ext
6366 cat >>conftest.
$ac_ext <<_ACEOF
6367 /* end confdefs.h. */
6368 $ac_includes_default
6369 #include <$ac_header>
6371 rm -f conftest.
$ac_objext
6372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6373 (eval $ac_compile) 2>conftest.er1
6375 grep -v '^ *+' conftest.er1
>conftest.err
6377 cat conftest.err
>&5
6378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379 (exit $ac_status); } &&
6380 { ac_try
='test -z "$ac_c_werror_flag"
6381 || test ! -s conftest.err'
6382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); }; } &&
6387 { ac_try
='test -s conftest.$ac_objext'
6388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); }; }; then
6393 ac_header_compiler
=yes
6395 echo "$as_me: failed program was:" >&5
6396 sed 's/^/| /' conftest.
$ac_ext >&5
6398 ac_header_compiler
=no
6400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6402 echo "${ECHO_T}$ac_header_compiler" >&6
6404 # Is the header present?
6405 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6407 cat >conftest.
$ac_ext <<_ACEOF
6410 cat confdefs.h
>>conftest.
$ac_ext
6411 cat >>conftest.
$ac_ext <<_ACEOF
6412 /* end confdefs.h. */
6413 #include <$ac_header>
6415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6416 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6418 grep -v '^ *+' conftest.er1
>conftest.err
6420 cat conftest.err
>&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); } >/dev
/null
; then
6423 if test -s conftest.err
; then
6424 ac_cpp_err
=$ac_c_preproc_warn_flag
6425 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6432 if test -z "$ac_cpp_err"; then
6433 ac_header_preproc
=yes
6435 echo "$as_me: failed program was:" >&5
6436 sed 's/^/| /' conftest.
$ac_ext >&5
6438 ac_header_preproc
=no
6440 rm -f conftest.err conftest.
$ac_ext
6441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6442 echo "${ECHO_T}$ac_header_preproc" >&6
6444 # So? What about this header?
6445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6450 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6451 ac_header_preproc
=yes
6454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6458 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6459 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6460 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6468 ## ------------------------------------------ ##
6469 ## Report this to the AC_PACKAGE_NAME lists. ##
6470 ## ------------------------------------------ ##
6473 sed "s/^/$as_me: WARNING: /" >&2
6476 echo "$as_me:$LINENO: checking for $ac_header" >&5
6477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6479 echo $ECHO_N "(cached) $ECHO_C" >&6
6481 eval "$as_ac_Header=\$ac_header_preproc"
6483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6488 cat >>confdefs.h
<<_ACEOF
6489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6501 for ac_func
in glob mkstemp realpath sbrk waitpid
6503 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6504 echo "$as_me:$LINENO: checking for $ac_func" >&5
6505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6506 if eval "test \"\${$as_ac_var+set}\" = set"; then
6507 echo $ECHO_N "(cached) $ECHO_C" >&6
6509 cat >conftest.
$ac_ext <<_ACEOF
6512 cat confdefs.h
>>conftest.
$ac_ext
6513 cat >>conftest.
$ac_ext <<_ACEOF
6514 /* end confdefs.h. */
6515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6517 #define $ac_func innocuous_$ac_func
6519 /* System header to define __stub macros and hopefully few prototypes,
6520 which can conflict with char $ac_func (); below.
6521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6522 <limits.h> exists even on freestanding compilers. */
6525 # include <limits.h>
6527 # include <assert.h>
6532 /* Override any gcc2 internal prototype to avoid an error. */
6537 /* We use char because int might match the return type of a gcc2
6538 builtin and then its argument prototype would still apply. */
6540 /* The GNU C library defines this for functions which it implements
6541 to always fail with ENOSYS. Some functions are actually named
6542 something starting with __ and the normal name is an alias. */
6543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6546 char (*f) () = $ac_func;
6555 return f != $ac_func;
6560 rm -f conftest.
$ac_objext conftest
$ac_exeext
6561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6562 (eval $ac_link) 2>conftest.er1
6564 grep -v '^ *+' conftest.er1
>conftest.err
6566 cat conftest.err
>&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); } &&
6569 { ac_try
='test -z "$ac_c_werror_flag"
6570 || test ! -s conftest.err'
6571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); }; } &&
6576 { ac_try
='test -s conftest$ac_exeext'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; }; then
6582 eval "$as_ac_var=yes"
6584 echo "$as_me: failed program was:" >&5
6585 sed 's/^/| /' conftest.
$ac_ext >&5
6587 eval "$as_ac_var=no"
6589 rm -f conftest.err conftest.
$ac_objext \
6590 conftest
$ac_exeext conftest.
$ac_ext
6592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6594 if test `eval echo '${'$as_ac_var'}'` = yes; then
6595 cat >>confdefs.h
<<_ACEOF
6596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6608 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6609 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6610 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6611 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6613 echo $ECHO_N "(cached) $ECHO_C" >&6
6615 cat >conftest.
$ac_ext <<_ACEOF
6618 cat confdefs.h
>>conftest.
$ac_ext
6619 cat >>conftest.
$ac_ext <<_ACEOF
6620 /* end confdefs.h. */
6621 #include <sys/types.h>
6633 rm -f conftest.
$ac_objext
6634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6635 (eval $ac_compile) 2>conftest.er1
6637 grep -v '^ *+' conftest.er1
>conftest.err
6639 cat conftest.err
>&5
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); } &&
6642 { ac_try
='test -z "$ac_c_werror_flag"
6643 || test ! -s conftest.err'
6644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; } &&
6649 { ac_try
='test -s conftest.$ac_objext'
6650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); }; }; then
6655 eval "$as_ac_Header=yes"
6657 echo "$as_me: failed program was:" >&5
6658 sed 's/^/| /' conftest.
$ac_ext >&5
6660 eval "$as_ac_Header=no"
6662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6667 cat >>confdefs.h
<<_ACEOF
6668 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6671 ac_header_dirent
=$ac_hdr; break
6675 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6676 if test $ac_header_dirent = dirent.h
; then
6677 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6678 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6679 if test "${ac_cv_search_opendir+set}" = set; then
6680 echo $ECHO_N "(cached) $ECHO_C" >&6
6682 ac_func_search_save_LIBS
=$LIBS
6683 ac_cv_search_opendir
=no
6684 cat >conftest.
$ac_ext <<_ACEOF
6687 cat confdefs.h
>>conftest.
$ac_ext
6688 cat >>conftest.
$ac_ext <<_ACEOF
6689 /* end confdefs.h. */
6691 /* Override any gcc2 internal prototype to avoid an error. */
6695 /* We use char because int might match the return type of a gcc2
6696 builtin and then its argument prototype would still apply. */
6706 rm -f conftest.
$ac_objext conftest
$ac_exeext
6707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6708 (eval $ac_link) 2>conftest.er1
6710 grep -v '^ *+' conftest.er1
>conftest.err
6712 cat conftest.err
>&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); } &&
6715 { ac_try
='test -z "$ac_c_werror_flag"
6716 || test ! -s conftest.err'
6717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); }; } &&
6722 { ac_try
='test -s conftest$ac_exeext'
6723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); }; }; then
6728 ac_cv_search_opendir
="none required"
6730 echo "$as_me: failed program was:" >&5
6731 sed 's/^/| /' conftest.
$ac_ext >&5
6734 rm -f conftest.err conftest.
$ac_objext \
6735 conftest
$ac_exeext conftest.
$ac_ext
6736 if test "$ac_cv_search_opendir" = no
; then
6737 for ac_lib
in dir
; do
6738 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6739 cat >conftest.
$ac_ext <<_ACEOF
6742 cat confdefs.h
>>conftest.
$ac_ext
6743 cat >>conftest.
$ac_ext <<_ACEOF
6744 /* end confdefs.h. */
6746 /* Override any gcc2 internal prototype to avoid an error. */
6750 /* We use char because int might match the return type of a gcc2
6751 builtin and then its argument prototype would still apply. */
6761 rm -f conftest.
$ac_objext conftest
$ac_exeext
6762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6763 (eval $ac_link) 2>conftest.er1
6765 grep -v '^ *+' conftest.er1
>conftest.err
6767 cat conftest.err
>&5
6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); } &&
6770 { ac_try
='test -z "$ac_c_werror_flag"
6771 || test ! -s conftest.err'
6772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); }; } &&
6777 { ac_try
='test -s conftest$ac_exeext'
6778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); }; }; then
6783 ac_cv_search_opendir
="-l$ac_lib"
6786 echo "$as_me: failed program was:" >&5
6787 sed 's/^/| /' conftest.
$ac_ext >&5
6790 rm -f conftest.err conftest.
$ac_objext \
6791 conftest
$ac_exeext conftest.
$ac_ext
6794 LIBS
=$ac_func_search_save_LIBS
6796 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6797 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6798 if test "$ac_cv_search_opendir" != no
; then
6799 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6804 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6805 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6806 if test "${ac_cv_search_opendir+set}" = set; then
6807 echo $ECHO_N "(cached) $ECHO_C" >&6
6809 ac_func_search_save_LIBS
=$LIBS
6810 ac_cv_search_opendir
=no
6811 cat >conftest.
$ac_ext <<_ACEOF
6814 cat confdefs.h
>>conftest.
$ac_ext
6815 cat >>conftest.
$ac_ext <<_ACEOF
6816 /* end confdefs.h. */
6818 /* Override any gcc2 internal prototype to avoid an error. */
6822 /* We use char because int might match the return type of a gcc2
6823 builtin and then its argument prototype would still apply. */
6833 rm -f conftest.
$ac_objext conftest
$ac_exeext
6834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6835 (eval $ac_link) 2>conftest.er1
6837 grep -v '^ *+' conftest.er1
>conftest.err
6839 cat conftest.err
>&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } &&
6842 { ac_try
='test -z "$ac_c_werror_flag"
6843 || test ! -s conftest.err'
6844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); }; } &&
6849 { ac_try
='test -s conftest$ac_exeext'
6850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); }; }; then
6855 ac_cv_search_opendir
="none required"
6857 echo "$as_me: failed program was:" >&5
6858 sed 's/^/| /' conftest.
$ac_ext >&5
6861 rm -f conftest.err conftest.
$ac_objext \
6862 conftest
$ac_exeext conftest.
$ac_ext
6863 if test "$ac_cv_search_opendir" = no
; then
6865 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6866 cat >conftest.
$ac_ext <<_ACEOF
6869 cat confdefs.h
>>conftest.
$ac_ext
6870 cat >>conftest.
$ac_ext <<_ACEOF
6871 /* end confdefs.h. */
6873 /* Override any gcc2 internal prototype to avoid an error. */
6877 /* We use char because int might match the return type of a gcc2
6878 builtin and then its argument prototype would still apply. */
6888 rm -f conftest.
$ac_objext conftest
$ac_exeext
6889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6890 (eval $ac_link) 2>conftest.er1
6892 grep -v '^ *+' conftest.er1
>conftest.err
6894 cat conftest.err
>&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } &&
6897 { ac_try
='test -z "$ac_c_werror_flag"
6898 || test ! -s conftest.err'
6899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); }; } &&
6904 { ac_try
='test -s conftest$ac_exeext'
6905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); }; }; then
6910 ac_cv_search_opendir
="-l$ac_lib"
6913 echo "$as_me: failed program was:" >&5
6914 sed 's/^/| /' conftest.
$ac_ext >&5
6917 rm -f conftest.err conftest.
$ac_objext \
6918 conftest
$ac_exeext conftest.
$ac_ext
6921 LIBS
=$ac_func_search_save_LIBS
6923 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6924 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6925 if test "$ac_cv_search_opendir" != no
; then
6926 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
6933 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
6934 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
6935 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then
6936 echo $ECHO_N "(cached) $ECHO_C" >&6
6938 cat >conftest.
$ac_ext <<_ACEOF
6941 cat confdefs.h
>>conftest.
$ac_ext
6942 cat >>conftest.
$ac_ext <<_ACEOF
6943 /* end confdefs.h. */
6948 extern int getopt (int, char *const*, const char *);
6953 rm -f conftest.
$ac_objext
6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6955 (eval $ac_compile) 2>conftest.er1
6957 grep -v '^ *+' conftest.er1
>conftest.err
6959 cat conftest.err
>&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } &&
6962 { ac_try
='test -z "$ac_c_werror_flag"
6963 || test ! -s conftest.err'
6964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); }; } &&
6969 { ac_try
='test -s conftest.$ac_objext'
6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; }; then
6975 ld_cv_decl_getopt_unistd_h
=yes
6977 echo "$as_me: failed program was:" >&5
6978 sed 's/^/| /' conftest.
$ac_ext >&5
6980 ld_cv_decl_getopt_unistd_h
=no
6982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6985 echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
6986 echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6
6987 if test $ld_cv_decl_getopt_unistd_h = yes; then
6989 cat >>confdefs.h
<<\_ACEOF
6990 #define HAVE_DECL_GETOPT 1
6997 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
6999 cat >>confdefs.h
<<\_ACEOF
7000 #define USE_BINARY_FOPEN 1
7005 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
7006 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
7007 if test "${ac_cv_have_decl_strstr+set}" = set; then
7008 echo $ECHO_N "(cached) $ECHO_C" >&6
7010 cat >conftest.
$ac_ext <<_ACEOF
7013 cat confdefs.h
>>conftest.
$ac_ext
7014 cat >>conftest.
$ac_ext <<_ACEOF
7015 /* end confdefs.h. */
7016 $ac_includes_default
7021 char *p = (char *) strstr;
7028 rm -f conftest.
$ac_objext
7029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7030 (eval $ac_compile) 2>conftest.er1
7032 grep -v '^ *+' conftest.er1
>conftest.err
7034 cat conftest.err
>&5
7035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7036 (exit $ac_status); } &&
7037 { ac_try
='test -z "$ac_c_werror_flag"
7038 || test ! -s conftest.err'
7039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043 (exit $ac_status); }; } &&
7044 { ac_try
='test -s conftest.$ac_objext'
7045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049 (exit $ac_status); }; }; then
7050 ac_cv_have_decl_strstr
=yes
7052 echo "$as_me: failed program was:" >&5
7053 sed 's/^/| /' conftest.
$ac_ext >&5
7055 ac_cv_have_decl_strstr
=no
7057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7059 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
7060 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
7061 if test $ac_cv_have_decl_strstr = yes; then
7063 cat >>confdefs.h
<<_ACEOF
7064 #define HAVE_DECL_STRSTR 1
7069 cat >>confdefs.h
<<_ACEOF
7070 #define HAVE_DECL_STRSTR 0
7075 echo "$as_me:$LINENO: checking whether free is declared" >&5
7076 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
7077 if test "${ac_cv_have_decl_free+set}" = set; then
7078 echo $ECHO_N "(cached) $ECHO_C" >&6
7080 cat >conftest.
$ac_ext <<_ACEOF
7083 cat confdefs.h
>>conftest.
$ac_ext
7084 cat >>conftest.
$ac_ext <<_ACEOF
7085 /* end confdefs.h. */
7086 $ac_includes_default
7091 char *p = (char *) free;
7098 rm -f conftest.
$ac_objext
7099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7100 (eval $ac_compile) 2>conftest.er1
7102 grep -v '^ *+' conftest.er1
>conftest.err
7104 cat conftest.err
>&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); } &&
7107 { ac_try
='test -z "$ac_c_werror_flag"
7108 || test ! -s conftest.err'
7109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); }; } &&
7114 { ac_try
='test -s conftest.$ac_objext'
7115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); }; }; then
7120 ac_cv_have_decl_free
=yes
7122 echo "$as_me: failed program was:" >&5
7123 sed 's/^/| /' conftest.
$ac_ext >&5
7125 ac_cv_have_decl_free
=no
7127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7129 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
7130 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
7131 if test $ac_cv_have_decl_free = yes; then
7133 cat >>confdefs.h
<<_ACEOF
7134 #define HAVE_DECL_FREE 1
7139 cat >>confdefs.h
<<_ACEOF
7140 #define HAVE_DECL_FREE 0
7145 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
7146 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
7147 if test "${ac_cv_have_decl_sbrk+set}" = set; then
7148 echo $ECHO_N "(cached) $ECHO_C" >&6
7150 cat >conftest.
$ac_ext <<_ACEOF
7153 cat confdefs.h
>>conftest.
$ac_ext
7154 cat >>conftest.
$ac_ext <<_ACEOF
7155 /* end confdefs.h. */
7156 $ac_includes_default
7161 char *p = (char *) sbrk;
7168 rm -f conftest.
$ac_objext
7169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7170 (eval $ac_compile) 2>conftest.er1
7172 grep -v '^ *+' conftest.er1
>conftest.err
7174 cat conftest.err
>&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); } &&
7177 { ac_try
='test -z "$ac_c_werror_flag"
7178 || test ! -s conftest.err'
7179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); }; } &&
7184 { ac_try
='test -s conftest.$ac_objext'
7185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); }; }; then
7190 ac_cv_have_decl_sbrk
=yes
7192 echo "$as_me: failed program was:" >&5
7193 sed 's/^/| /' conftest.
$ac_ext >&5
7195 ac_cv_have_decl_sbrk
=no
7197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7199 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
7200 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
7201 if test $ac_cv_have_decl_sbrk = yes; then
7203 cat >>confdefs.h
<<_ACEOF
7204 #define HAVE_DECL_SBRK 1
7209 cat >>confdefs.h
<<_ACEOF
7210 #define HAVE_DECL_SBRK 0
7215 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
7216 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
7217 if test "${ac_cv_have_decl_getenv+set}" = set; then
7218 echo $ECHO_N "(cached) $ECHO_C" >&6
7220 cat >conftest.
$ac_ext <<_ACEOF
7223 cat confdefs.h
>>conftest.
$ac_ext
7224 cat >>conftest.
$ac_ext <<_ACEOF
7225 /* end confdefs.h. */
7226 $ac_includes_default
7231 char *p = (char *) getenv;
7238 rm -f conftest.
$ac_objext
7239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7240 (eval $ac_compile) 2>conftest.er1
7242 grep -v '^ *+' conftest.er1
>conftest.err
7244 cat conftest.err
>&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); } &&
7247 { ac_try
='test -z "$ac_c_werror_flag"
7248 || test ! -s conftest.err'
7249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); }; } &&
7254 { ac_try
='test -s conftest.$ac_objext'
7255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); }; }; then
7260 ac_cv_have_decl_getenv
=yes
7262 echo "$as_me: failed program was:" >&5
7263 sed 's/^/| /' conftest.
$ac_ext >&5
7265 ac_cv_have_decl_getenv
=no
7267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7269 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
7270 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
7271 if test $ac_cv_have_decl_getenv = yes; then
7273 cat >>confdefs.h
<<_ACEOF
7274 #define HAVE_DECL_GETENV 1
7279 cat >>confdefs.h
<<_ACEOF
7280 #define HAVE_DECL_GETENV 0
7285 echo "$as_me:$LINENO: checking whether environ is declared" >&5
7286 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
7287 if test "${ac_cv_have_decl_environ+set}" = set; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7290 cat >conftest.
$ac_ext <<_ACEOF
7293 cat confdefs.h
>>conftest.
$ac_ext
7294 cat >>conftest.
$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7296 $ac_includes_default
7301 char *p = (char *) environ;
7308 rm -f conftest.
$ac_objext
7309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7310 (eval $ac_compile) 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_objext'
7325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); }; }; then
7330 ac_cv_have_decl_environ
=yes
7332 echo "$as_me: failed program was:" >&5
7333 sed 's/^/| /' conftest.
$ac_ext >&5
7335 ac_cv_have_decl_environ
=no
7337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7339 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
7340 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
7341 if test $ac_cv_have_decl_environ = yes; then
7343 cat >>confdefs.h
<<_ACEOF
7344 #define HAVE_DECL_ENVIRON 1
7349 cat >>confdefs.h
<<_ACEOF
7350 #define HAVE_DECL_ENVIRON 0
7358 # When converting linker scripts into strings for use in emulation
7359 # files, use astring.sed if the compiler supports ANSI string
7360 # concatenation, or ostring.sed otherwise. This is to support the
7361 # broken Microsoft MSVC compiler, which limits the length of string
7362 # constants, while still supporting pre-ANSI compilers which do not
7363 # support string concatenation.
7364 echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
7365 echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6
7366 if test "${ld_cv_string_concatenation+set}" = set; then
7367 echo $ECHO_N "(cached) $ECHO_C" >&6
7369 cat >conftest.
$ac_ext <<_ACEOF
7372 cat confdefs.h
>>conftest.
$ac_ext
7373 cat >>conftest.
$ac_ext <<_ACEOF
7374 /* end confdefs.h. */
7384 rm -f conftest.
$ac_objext
7385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7386 (eval $ac_compile) 2>conftest.er1
7388 grep -v '^ *+' conftest.er1
>conftest.err
7390 cat conftest.err
>&5
7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392 (exit $ac_status); } &&
7393 { ac_try
='test -z "$ac_c_werror_flag"
7394 || test ! -s conftest.err'
7395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7399 (exit $ac_status); }; } &&
7400 { ac_try
='test -s conftest.$ac_objext'
7401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); }; }; then
7406 ld_cv_string_concatenation
=yes
7408 echo "$as_me: failed program was:" >&5
7409 sed 's/^/| /' conftest.
$ac_ext >&5
7411 ld_cv_string_concatenation
=no
7413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7416 echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
7417 echo "${ECHO_T}$ld_cv_string_concatenation" >&6
7418 if test "$ld_cv_string_concatenation" = "yes"; then
7419 STRINGIFY
=astring.
sed
7421 STRINGIFY
=ostring.
sed
7425 # target-specific stuff:
7435 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
7437 if test "$targ_alias" = "all"; then
7440 # Canonicalize the secondary target names.
7441 result
=`$ac_config_sub $targ_alias 2>/dev/null`
7442 if test -n "$result"; then
7448 .
${srcdir}/configure.tgt
7450 if test "$targ" = "$target"; then
7454 if test x
${want64} = xfalse
; then
7455 .
${srcdir}/..
/bfd
/config.bfd
7458 if test x
${want64} = xtrue
; then
7459 targ_extra_emuls
="$targ_extra_emuls $targ64_extra_emuls"
7460 targ_extra_libpath
="$targ_extra_libpath $targ64_extra_libpath"
7463 for i
in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
7464 case " $all_emuls " in
7467 all_emuls
="$all_emuls e${i}.o"
7468 eval result
=\
$tdir_$i
7469 test -z "$result" && result
=$targ_alias
7470 echo tdir_
$i=$result >> tdirs
7475 for i
in $targ_emul $targ_extra_libpath; do
7476 case " $all_libpath " in
7479 if test -z "$all_libpath"; then
7482 all_libpath
="$all_libpath ${i}"
7488 for i
in $targ_extra_ofiles; do
7489 case " $all_emul_extras " in
7492 all_emul_extras
="$all_emul_extras ${i}"
7504 if test x
${all_targets} = xtrue
; then
7505 if test x
${want64} = xfalse
; then
7506 echo "$as_me:$LINENO: checking for long" >&5
7507 echo $ECHO_N "checking for long... $ECHO_C" >&6
7508 if test "${ac_cv_type_long+set}" = set; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 cat >conftest.
$ac_ext <<_ACEOF
7514 cat confdefs.h
>>conftest.
$ac_ext
7515 cat >>conftest.
$ac_ext <<_ACEOF
7516 /* end confdefs.h. */
7517 $ac_includes_default
7529 rm -f conftest.
$ac_objext
7530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7531 (eval $ac_compile) 2>conftest.er1
7533 grep -v '^ *+' conftest.er1
>conftest.err
7535 cat conftest.err
>&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); } &&
7538 { ac_try
='test -z "$ac_c_werror_flag"
7539 || test ! -s conftest.err'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; } &&
7545 { ac_try
='test -s conftest.$ac_objext'
7546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550 (exit $ac_status); }; }; then
7553 echo "$as_me: failed program was:" >&5
7554 sed 's/^/| /' conftest.
$ac_ext >&5
7558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7560 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7561 echo "${ECHO_T}$ac_cv_type_long" >&6
7563 echo "$as_me:$LINENO: checking size of long" >&5
7564 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7565 if test "${ac_cv_sizeof_long+set}" = set; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 if test "$ac_cv_type_long" = yes; then
7569 # The cast to unsigned long works around a bug in the HP C Compiler
7570 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7571 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7572 # This bug is HP SR number 8606223364.
7573 if test "$cross_compiling" = yes; then
7574 # Depending upon the size, compute the lo and hi bounds.
7575 cat >conftest.
$ac_ext <<_ACEOF
7578 cat confdefs.h
>>conftest.
$ac_ext
7579 cat >>conftest.
$ac_ext <<_ACEOF
7580 /* end confdefs.h. */
7581 $ac_includes_default
7585 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7592 rm -f conftest.
$ac_objext
7593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7594 (eval $ac_compile) 2>conftest.er1
7596 grep -v '^ *+' conftest.er1
>conftest.err
7598 cat conftest.err
>&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); } &&
7601 { ac_try
='test -z "$ac_c_werror_flag"
7602 || test ! -s conftest.err'
7603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); }; } &&
7608 { ac_try
='test -s conftest.$ac_objext'
7609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); }; }; then
7616 cat >conftest.
$ac_ext <<_ACEOF
7619 cat confdefs.h
>>conftest.
$ac_ext
7620 cat >>conftest.
$ac_ext <<_ACEOF
7621 /* end confdefs.h. */
7622 $ac_includes_default
7626 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7633 rm -f conftest.
$ac_objext
7634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7635 (eval $ac_compile) 2>conftest.er1
7637 grep -v '^ *+' conftest.er1
>conftest.err
7639 cat conftest.err
>&5
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); } &&
7642 { ac_try
='test -z "$ac_c_werror_flag"
7643 || test ! -s conftest.err'
7644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 (exit $ac_status); }; } &&
7649 { ac_try
='test -s conftest.$ac_objext'
7650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 (exit $ac_status); }; }; then
7655 ac_hi
=$ac_mid; break
7657 echo "$as_me: failed program was:" >&5
7658 sed 's/^/| /' conftest.
$ac_ext >&5
7660 ac_lo
=`expr $ac_mid + 1`
7661 if test $ac_lo -le $ac_mid; then
7665 ac_mid
=`expr 2 '*' $ac_mid + 1`
7667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7670 echo "$as_me: failed program was:" >&5
7671 sed 's/^/| /' conftest.
$ac_ext >&5
7673 cat >conftest.
$ac_ext <<_ACEOF
7676 cat confdefs.h
>>conftest.
$ac_ext
7677 cat >>conftest.
$ac_ext <<_ACEOF
7678 /* end confdefs.h. */
7679 $ac_includes_default
7683 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7690 rm -f conftest.
$ac_objext
7691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7692 (eval $ac_compile) 2>conftest.er1
7694 grep -v '^ *+' conftest.er1
>conftest.err
7696 cat conftest.err
>&5
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); } &&
7699 { ac_try
='test -z "$ac_c_werror_flag"
7700 || test ! -s conftest.err'
7701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); }; } &&
7706 { ac_try
='test -s conftest.$ac_objext'
7707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711 (exit $ac_status); }; }; then
7714 cat >conftest.
$ac_ext <<_ACEOF
7717 cat confdefs.h
>>conftest.
$ac_ext
7718 cat >>conftest.
$ac_ext <<_ACEOF
7719 /* end confdefs.h. */
7720 $ac_includes_default
7724 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7731 rm -f conftest.
$ac_objext
7732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7733 (eval $ac_compile) 2>conftest.er1
7735 grep -v '^ *+' conftest.er1
>conftest.err
7737 cat conftest.err
>&5
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); } &&
7740 { ac_try
='test -z "$ac_c_werror_flag"
7741 || test ! -s conftest.err'
7742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); }; } &&
7747 { ac_try
='test -s conftest.$ac_objext'
7748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); }; }; then
7753 ac_lo
=$ac_mid; break
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.
$ac_ext >&5
7758 ac_hi
=`expr '(' $ac_mid ')' - 1`
7759 if test $ac_mid -le $ac_hi; then
7763 ac_mid
=`expr 2 '*' $ac_mid`
7765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7768 echo "$as_me: failed program was:" >&5
7769 sed 's/^/| /' conftest.
$ac_ext >&5
7773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7776 # Binary search between lo and hi bounds.
7777 while test "x$ac_lo" != "x$ac_hi"; do
7778 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7779 cat >conftest.
$ac_ext <<_ACEOF
7782 cat confdefs.h
>>conftest.
$ac_ext
7783 cat >>conftest.
$ac_ext <<_ACEOF
7784 /* end confdefs.h. */
7785 $ac_includes_default
7789 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7796 rm -f conftest.
$ac_objext
7797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7798 (eval $ac_compile) 2>conftest.er1
7800 grep -v '^ *+' conftest.er1
>conftest.err
7802 cat conftest.err
>&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); } &&
7805 { ac_try
='test -z "$ac_c_werror_flag"
7806 || test ! -s conftest.err'
7807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); }; } &&
7812 { ac_try
='test -s conftest.$ac_objext'
7813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 (exit $ac_status); }; }; then
7820 echo "$as_me: failed program was:" >&5
7821 sed 's/^/| /' conftest.
$ac_ext >&5
7823 ac_lo
=`expr '(' $ac_mid ')' + 1`
7825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7828 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7829 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7830 See \`config.log' for more details." >&5
7831 echo "$as_me: error: cannot compute sizeof (long), 77
7832 See \`config.log' for more details." >&2;}
7833 { (exit 1); exit 1; }; } ;;
7836 if test "$cross_compiling" = yes; then
7837 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7838 See \`config.log' for more details." >&5
7839 echo "$as_me: error: cannot run test program while cross compiling
7840 See \`config.log' for more details." >&2;}
7841 { (exit 1); exit 1; }; }
7843 cat >conftest.
$ac_ext <<_ACEOF
7846 cat confdefs.h
>>conftest.
$ac_ext
7847 cat >>conftest.
$ac_ext <<_ACEOF
7848 /* end confdefs.h. */
7849 $ac_includes_default
7850 long longval () { return (long) (sizeof (long)); }
7851 unsigned long ulongval () { return (long) (sizeof (long)); }
7858 FILE *f = fopen ("conftest.val", "w");
7861 if (((long) (sizeof (long))) < 0)
7863 long i = longval ();
7864 if (i != ((long) (sizeof (long))))
7866 fprintf (f, "%ld\n", i);
7870 unsigned long i = ulongval ();
7871 if (i != ((long) (sizeof (long))))
7873 fprintf (f, "%lu\n", i);
7875 exit (ferror (f) || fclose (f) != 0);
7881 rm -f conftest
$ac_exeext
7882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7883 (eval $ac_link) 2>&5
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); }; }; then
7892 ac_cv_sizeof_long
=`cat conftest.val`
7894 echo "$as_me: program exited with status $ac_status" >&5
7895 echo "$as_me: failed program was:" >&5
7896 sed 's/^/| /' conftest.
$ac_ext >&5
7899 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7900 See \`config.log' for more details." >&5
7901 echo "$as_me: error: cannot compute sizeof (long), 77
7902 See \`config.log' for more details." >&2;}
7903 { (exit 1); exit 1; }; }
7905 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7913 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7914 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7915 cat >>confdefs.h
<<_ACEOF
7916 #define SIZEOF_LONG $ac_cv_sizeof_long
7920 if test "x${ac_cv_sizeof_long}" = "x8"; then
7924 if test x
${want64} = xtrue
; then
7925 EMULATION_OFILES
='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
7927 EMULATION_OFILES
='$(ALL_EMULATIONS)'
7929 EMUL_EXTRA_OFILES
='$(ALL_EMUL_EXTRA_OFILES)'
7931 EMULATION_OFILES
=$all_emuls
7932 EMUL_EXTRA_OFILES
=$all_emul_extras
7938 EMULATION_LIBPATH
=$all_libpath
7941 if test x
${enable_static} = xno
; then
7942 TESTBFDLIB
="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
7944 TESTBFDLIB
="../bfd/.libs/libbfd.a"
7948 target_vendor
=${target_vendor=$host_vendor}
7949 case "$target_vendor" in
7950 hp
) EXTRA_SHLIB_EXTENSION
=".sl" ;;
7951 *) EXTRA_SHLIB_EXTENSION
= ;;
7954 case "$target_os" in
7955 lynxos
) EXTRA_SHLIB_EXTENSION
=".a" ;;
7958 if test x
${EXTRA_SHLIB_EXTENSION} != x
; then
7960 cat >>confdefs.h
<<_ACEOF
7961 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
7970 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
7971 cat >confcache
<<\_ACEOF
7972 # This file is a shell script that caches the results of configure
7973 # tests run on this system so they can be shared between configure
7974 # scripts and configure runs, see configure's option --config-cache.
7975 # It is not useful on other systems. If it contains results you don't
7976 # want to keep, you may remove or edit it.
7978 # config.status only pays attention to the cache file if you give it
7979 # the --recheck option to rerun configure.
7981 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7982 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7987 # The following way of writing the cache mishandles newlines in values,
7988 # but we know of no workaround that is simple, portable, and efficient.
7989 # So, don't put newlines in cache variables' values.
7990 # Ultrix sh set writes to stderr and can't be redirected directly,
7991 # and sets the high bit in the cache file unless we assign to the vars.
7994 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7996 # `set' does not quote correctly, so add quotes (double-quote
7997 # substitution turns \\\\ into \\, and sed turns \\ into \).
8000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8003 # `set' quotes correctly as required by POSIX, so do not add quotes.
8005 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8012 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8014 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8016 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8017 if test -w $cache_file; then
8018 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8019 cat confcache
>$cache_file
8021 echo "not updating unwritable cache $cache_file"
8026 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8027 # Let make expand exec_prefix.
8028 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8030 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8031 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8032 # trailing colons and then remove the whole line if VPATH becomes empty
8033 # (actually we leave an empty line to preserve line numbers).
8034 if test "x$srcdir" = x.
; then
8035 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8036 s/:*\$(srcdir):*/:/;
8037 s/:*\${srcdir}:*/:/;
8039 s/^\([^=]*=[ ]*\):*/\1/;
8045 DEFS
=-DHAVE_CONFIG_H
8049 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8050 # 1. Remove the extension, and $U if already installed.
8051 ac_i
=`echo "$ac_i" |
8052 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8054 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8055 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8059 LTLIBOBJS
=$ac_ltlibobjs
8062 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8063 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8064 Usually this means the macro was only invoked conditionally." >&5
8065 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8066 Usually this means the macro was only invoked conditionally." >&2;}
8067 { (exit 1); exit 1; }; }
8069 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8070 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8071 Usually this means the macro was only invoked conditionally." >&5
8072 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8073 Usually this means the macro was only invoked conditionally." >&2;}
8074 { (exit 1); exit 1; }; }
8076 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8077 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8078 Usually this means the macro was only invoked conditionally." >&5
8079 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8080 Usually this means the macro was only invoked conditionally." >&2;}
8081 { (exit 1); exit 1; }; }
8083 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
8084 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
8085 Usually this means the macro was only invoked conditionally." >&5
8086 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
8087 Usually this means the macro was only invoked conditionally." >&2;}
8088 { (exit 1); exit 1; }; }
8091 : ${CONFIG_STATUS=./config.status}
8092 ac_clean_files_save
=$ac_clean_files
8093 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8094 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8095 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8096 cat >$CONFIG_STATUS <<_ACEOF
8098 # Generated by $as_me.
8099 # Run this file to recreate the current configuration.
8100 # Compiler output produced by configure, useful for debugging
8101 # configure, is in config.log if it exists.
8106 SHELL=\${CONFIG_SHELL-$SHELL}
8109 cat >>$CONFIG_STATUS <<\_ACEOF
8110 ## --------------------- ##
8111 ## M4sh Initialization. ##
8112 ## --------------------- ##
8114 # Be Bourne compatible
8115 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8118 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8119 # is contrary to our usage. Disable this feature.
8120 alias -g '${1+"$@"}'='"$@"'
8121 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8124 DUALCASE
=1; export DUALCASE
# for MKS sh
8126 # Support unset when possible.
8127 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8134 # Work around bugs in pre-3.0 UWIN ksh.
8135 $as_unset ENV MAIL MAILPATH
8142 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8143 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8144 LC_TELEPHONE LC_TIME
8146 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8147 eval $as_var=C
; export $as_var
8153 # Required to use basename.
8154 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8160 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8161 as_basename
=basename
8167 # Name of the executable.
8168 as_me
=`$as_basename "$0" ||
8169 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8170 X"$0" : 'X\(//\)$' \| \
8171 X"$0" : 'X\(/\)$' \| \
8172 . : '\(.\)' 2>/dev/null ||
8174 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8175 /^X\/\(\/\/\)$/{ s//\1/; q; }
8176 /^X\/\(\/\).*/{ s//\1/; q; }
8180 # PATH needs CR, and LINENO needs CR and PATH.
8181 # Avoid depending upon Character Ranges.
8182 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8183 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8184 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8185 as_cr_digits
='0123456789'
8186 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8188 # The user is always right.
8189 if test "${PATH_SEPARATOR+set}" != set; then
8190 echo "#! /bin/sh" >conf$$.sh
8191 echo "exit 0" >>conf$$.sh
8193 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8204 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8205 test "x$as_lineno_1" != "x$as_lineno_2" &&
8206 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8207 # Find who we are. Look in the path if we contain no path at all
8210 *[\\/]* ) as_myself
=$0 ;;
8211 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8215 test -z "$as_dir" && as_dir
=.
8216 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8221 # We did not find ourselves, most probably we were run as `sh COMMAND'
8222 # in which case we are not to be found in the path.
8223 if test "x$as_myself" = x
; then
8226 if test ! -f "$as_myself"; then
8227 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8228 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8229 { (exit 1); exit 1; }; }
8231 case $CONFIG_SHELL in
8233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8234 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8237 test -z "$as_dir" && as_dir
=.
8238 for as_base
in sh bash ksh sh5
; do
8241 if ("$as_dir/$as_base" -c '
8244 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8245 test "x$as_lineno_1" != "x$as_lineno_2" &&
8246 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8247 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8248 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8249 CONFIG_SHELL
=$as_dir/$as_base
8251 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8259 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8260 # uniformly replaced by the line number. The first 'sed' inserts a
8261 # line-number line before each line; the second 'sed' does the real
8262 # work. The second script uses 'N' to pair each line-number line
8263 # with the numbered line, and appends trailing '-' during
8264 # substitution so that $LINENO is not a special case at line end.
8265 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8266 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8267 sed '=' <$as_myself |
8272 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8275 s,^['$as_cr_digits']*\n,,
8277 chmod +x
$as_me.lineno ||
8278 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8279 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8280 { (exit 1); exit 1; }; }
8282 # Don't try to exec as it changes $[0], causing all sort of problems
8283 # (the dirname of $[0] is not the place where we might find the
8284 # original and so on. Autoconf is especially sensible to this).
8286 # Exit status is that of the last command.
8291 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8292 *c
*,-n*) ECHO_N
= ECHO_C
='
8294 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8295 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8298 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8304 rm -f conf$$ conf$$.exe conf$$.
file
8306 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8307 # We could just check for DJGPP; but this test a) works b) is more generic
8308 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8309 if test -f conf$$.exe
; then
8310 # Don't use ln at all; we don't have any links
8315 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8320 rm -f conf$$ conf$$.exe conf$$.
file
8322 if mkdir
-p .
2>/dev
/null
; then
8325 test -d .
/-p && rmdir .
/-p
8329 as_executable_p
="test -f"
8331 # Sed expression to map a string onto a valid CPP name.
8332 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8334 # Sed expression to map a string onto a valid variable name.
8335 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8339 # We need space, tab and new line, in precisely that order.
8349 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8350 # report actual input values of CONFIG_FILES etc. instead of their
8351 # values after options handling. Logging --version etc. is OK.
8355 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8356 ## Running $as_me. ##
8361 This file was extended by $as_me, which was
8362 generated by GNU Autoconf 2.59. Invocation command line was
8364 CONFIG_FILES = $CONFIG_FILES
8365 CONFIG_HEADERS = $CONFIG_HEADERS
8366 CONFIG_LINKS = $CONFIG_LINKS
8367 CONFIG_COMMANDS = $CONFIG_COMMANDS
8371 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8375 # Files that config.status was made for.
8376 if test -n "$ac_config_files"; then
8377 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8380 if test -n "$ac_config_headers"; then
8381 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8384 if test -n "$ac_config_links"; then
8385 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8388 if test -n "$ac_config_commands"; then
8389 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8392 cat >>$CONFIG_STATUS <<\_ACEOF
8395 \`$as_me' instantiates files from templates according to the
8396 current configuration.
8398 Usage: $0 [OPTIONS] [FILE]...
8400 -h, --help print this help, then exit
8401 -V, --version print version number, then exit
8402 -q, --quiet do not print progress messages
8403 -d, --debug don't remove temporary files
8404 --recheck update $as_me by reconfiguring in the same conditions
8405 --file=FILE[:TEMPLATE]
8406 instantiate the configuration file FILE
8407 --header=FILE[:TEMPLATE]
8408 instantiate the configuration header FILE
8410 Configuration files:
8413 Configuration headers:
8416 Configuration commands:
8419 Report bugs to <bug-autoconf@gnu.org>."
8422 cat >>$CONFIG_STATUS <<_ACEOF
8425 configured by $0, generated by GNU Autoconf 2.59,
8426 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8428 Copyright (C) 2003 Free Software Foundation, Inc.
8429 This config.status script is free software; the Free Software Foundation
8430 gives unlimited permission to copy, distribute and modify it."
8435 cat >>$CONFIG_STATUS <<\_ACEOF
8436 # If no file are specified by the user, then we need to provide default
8437 # value. By we need to know if files were specified by the user.
8443 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8444 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8452 *) # This is not an option, so the user has probably given explicit
8455 ac_need_defaults
=false
;;
8459 # Handling of the options.
8461 cat >>$CONFIG_STATUS <<\_ACEOF
8462 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8464 --version |
--vers* |
-V )
8465 echo "$ac_cs_version"; exit 0 ;;
8467 # Conflict between --help and --header
8468 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8469 Try \`$0 --help' for more information." >&5
8470 echo "$as_me: error: ambiguous option: $1
8471 Try \`$0 --help' for more information." >&2;}
8472 { (exit 1); exit 1; }; };;
8473 --help |
--hel |
-h )
8474 echo "$ac_cs_usage"; exit 0 ;;
8475 --debug |
--d* |
-d )
8477 --file |
--fil |
--fi |
--f )
8479 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8480 ac_need_defaults
=false
;;
8481 --header |
--heade |
--head |
--hea )
8483 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8484 ac_need_defaults
=false
;;
8485 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8486 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8490 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8491 Try \`$0 --help' for more information." >&5
8492 echo "$as_me: error: unrecognized option: $1
8493 Try \`$0 --help' for more information." >&2;}
8494 { (exit 1); exit 1; }; } ;;
8496 *) ac_config_targets
="$ac_config_targets $1" ;;
8502 ac_configure_extra_args
=
8504 if $ac_cs_silent; then
8506 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8510 cat >>$CONFIG_STATUS <<_ACEOF
8511 if \$ac_cs_recheck; then
8512 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8513 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8518 cat >>$CONFIG_STATUS <<_ACEOF
8520 # INIT-COMMANDS section.
8523 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8524 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8525 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
8527 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8528 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8529 LINGUAS="${LINGUAS-%UNSET%}"
8536 cat >>$CONFIG_STATUS <<\_ACEOF
8537 for ac_config_target
in $ac_config_targets
8539 case "$ac_config_target" in
8540 # Handling of arguments.
8541 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8542 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8543 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8544 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8545 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8546 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8547 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8548 { (exit 1); exit 1; }; };;
8552 # If the user did not use the arguments to specify the items to instantiate,
8553 # then the envvar interface is used. Set only those that are not.
8554 # We use the long form for the default assignment because of an extremely
8555 # bizarre bug on SunOS 4.1.3.
8556 if $ac_need_defaults; then
8557 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8558 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8559 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8562 # Have a temporary directory for convenience. Make it in the build tree
8563 # simply because there is no reason to put it here, and in addition,
8564 # creating and moving files from /tmp can sometimes cause problems.
8565 # Create a temporary directory, and hook for its removal unless debugging.
8568 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8569 trap '{ (exit 1); exit 1; }' 1 2 13 15
8572 # Create a (secure) tmp directory for tmp files.
8575 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8576 test -n "$tmp" && test -d "$tmp"
8579 tmp
=.
/confstat$$
-$RANDOM
8580 (umask 077 && mkdir
$tmp)
8583 echo "$me: cannot create a temporary directory in ." >&2
8584 { (exit 1); exit 1; }
8589 cat >>$CONFIG_STATUS <<_ACEOF
8592 # CONFIG_FILES section.
8595 # No need to generate the scripts if there are no CONFIG_FILES.
8596 # This happens for instance when ./config.status config.h
8597 if test -n "\$CONFIG_FILES"; then
8598 # Protect against being on the right side of a sed subst in config.status.
8599 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8600 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8601 s,@SHELL@,$SHELL,;t t
8602 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8603 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8604 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8605 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8606 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8607 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8608 s,@exec_prefix@,$exec_prefix,;t t
8609 s,@prefix@,$prefix,;t t
8610 s,@program_transform_name@,$program_transform_name,;t t
8611 s,@bindir@,$bindir,;t t
8612 s,@sbindir@,$sbindir,;t t
8613 s,@libexecdir@,$libexecdir,;t t
8614 s,@datadir@,$datadir,;t t
8615 s,@sysconfdir@,$sysconfdir,;t t
8616 s,@sharedstatedir@,$sharedstatedir,;t t
8617 s,@localstatedir@,$localstatedir,;t t
8618 s,@libdir@,$libdir,;t t
8619 s,@includedir@,$includedir,;t t
8620 s,@oldincludedir@,$oldincludedir,;t t
8621 s,@infodir@,$infodir,;t t
8622 s,@mandir@,$mandir,;t t
8623 s,@build_alias@,$build_alias,;t t
8624 s,@host_alias@,$host_alias,;t t
8625 s,@target_alias@,$target_alias,;t t
8627 s,@ECHO_C@,$ECHO_C,;t t
8628 s,@ECHO_N@,$ECHO_N,;t t
8629 s,@ECHO_T@,$ECHO_T,;t t
8631 s,@build@,$build,;t t
8632 s,@build_cpu@,$build_cpu,;t t
8633 s,@build_vendor@,$build_vendor,;t t
8634 s,@build_os@,$build_os,;t t
8636 s,@host_cpu@,$host_cpu,;t t
8637 s,@host_vendor@,$host_vendor,;t t
8638 s,@host_os@,$host_os,;t t
8639 s,@target@,$target,;t t
8640 s,@target_cpu@,$target_cpu,;t t
8641 s,@target_vendor@,$target_vendor,;t t
8642 s,@target_os@,$target_os,;t t
8644 s,@CFLAGS@,$CFLAGS,;t t
8645 s,@LDFLAGS@,$LDFLAGS,;t t
8646 s,@CPPFLAGS@,$CPPFLAGS,;t t
8647 s,@ac_ct_CC@,$ac_ct_CC,;t t
8648 s,@EXEEXT@,$EXEEXT,;t t
8649 s,@OBJEXT@,$OBJEXT,;t t
8650 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8651 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8652 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8653 s,@CYGPATH_W@,$CYGPATH_W,;t t
8654 s,@PACKAGE@,$PACKAGE,;t t
8655 s,@VERSION@,$VERSION,;t t
8656 s,@ACLOCAL@,$ACLOCAL,;t t
8657 s,@AUTOCONF@,$AUTOCONF,;t t
8658 s,@AUTOMAKE@,$AUTOMAKE,;t t
8659 s,@AUTOHEADER@,$AUTOHEADER,;t t
8660 s,@MAKEINFO@,$MAKEINFO,;t t
8661 s,@install_sh@,$install_sh,;t t
8662 s,@STRIP@,$STRIP,;t t
8663 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8664 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8665 s,@mkdir_p@,$mkdir_p,;t t
8667 s,@SET_MAKE@,$SET_MAKE,;t t
8668 s,@am__leading_dot@,$am__leading_dot,;t t
8669 s,@AMTAR@,$AMTAR,;t t
8670 s,@am__tar@,$am__tar,;t t
8671 s,@am__untar@,$am__untar,;t t
8672 s,@DEPDIR@,$DEPDIR,;t t
8673 s,@am__include@,$am__include,;t t
8674 s,@am__quote@,$am__quote,;t t
8675 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8676 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8677 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8678 s,@CCDEPMODE@,$CCDEPMODE,;t t
8679 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8680 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8682 s,@RANLIB@,$RANLIB,;t t
8683 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8684 s,@LIBTOOL@,$LIBTOOL,;t t
8685 s,@use_sysroot@,$use_sysroot,;t t
8686 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
8687 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
8688 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
8689 s,@NO_WERROR@,$NO_WERROR,;t t
8690 s,@USE_NLS@,$USE_NLS,;t t
8691 s,@LIBINTL@,$LIBINTL,;t t
8692 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
8693 s,@INCINTL@,$INCINTL,;t t
8694 s,@XGETTEXT@,$XGETTEXT,;t t
8695 s,@GMSGFMT@,$GMSGFMT,;t t
8696 s,@POSUB@,$POSUB,;t t
8697 s,@CATALOGS@,$CATALOGS,;t t
8698 s,@DATADIRNAME@,$DATADIRNAME,;t t
8699 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
8700 s,@GENCAT@,$GENCAT,;t t
8701 s,@CATOBJEXT@,$CATOBJEXT,;t t
8702 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8703 s,@MSGFMT@,$MSGFMT,;t t
8704 s,@MSGMERGE@,$MSGMERGE,;t t
8707 s,@LEXLIB@,$LEXLIB,;t t
8708 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
8709 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8710 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8711 s,@MAINT@,$MAINT,;t t
8712 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
8713 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
8714 s,@HDEFINES@,$HDEFINES,;t t
8715 s,@HOSTING_CRT0@,$HOSTING_CRT0,;t t
8716 s,@HOSTING_LIBS@,$HOSTING_LIBS,;t t
8717 s,@NATIVE_LIB_DIRS@,$NATIVE_LIB_DIRS,;t t
8719 s,@EGREP@,$EGREP,;t t
8720 s,@STRINGIFY@,$STRINGIFY,;t t
8722 s,@EMULATION_OFILES@,$EMULATION_OFILES,;t t
8723 s,@EMUL_EXTRA_OFILES@,$EMUL_EXTRA_OFILES,;t t
8724 s,@LIB_PATH@,$LIB_PATH,;t t
8725 s,@EMULATION_LIBPATH@,$EMULATION_LIBPATH,;t t
8726 s,@TESTBFDLIB@,$TESTBFDLIB,;t t
8727 s,@datarootdir@,$datarootdir,;t t
8728 s,@docdir@,$docdir,;t t
8729 s,@htmldir@,$htmldir,;t t
8730 s,@LIBOBJS@,$LIBOBJS,;t t
8731 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8738 cat >>$CONFIG_STATUS <<\_ACEOF
8739 # Split the substitutions into bite-sized pieces for seds with
8740 # small command number limits, like on Digital OSF/1 and HP-UX.
8742 ac_sed_frag
=1 # Number of current file.
8743 ac_beg
=1 # First line for current file.
8744 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8747 while $ac_more_lines; do
8748 if test $ac_beg -gt 1; then
8749 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8751 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8753 if test ! -s $tmp/subs.frag
; then
8756 # The purpose of the label and of the branching condition is to
8757 # speed up the sed processing (if there are no `@' at all, there
8758 # is no need to browse any of the substitutions).
8759 # These are the two extra sed commands mentioned above.
8761 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8762 if test -z "$ac_sed_cmds"; then
8763 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8765 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8767 ac_sed_frag
=`expr $ac_sed_frag + 1`
8769 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8772 if test -z "$ac_sed_cmds"; then
8775 fi # test -n "$CONFIG_FILES"
8778 cat >>$CONFIG_STATUS <<\_ACEOF
8779 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8780 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8782 - |
*:- |
*:-:* ) # input from stdin
8784 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8785 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8786 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8787 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8788 * ) ac_file_in
=$ac_file.
in ;;
8791 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8792 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8793 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8794 X"$ac_file" : 'X\(//\)[^/]' \| \
8795 X"$ac_file" : 'X\(//\)$' \| \
8796 X"$ac_file" : 'X\(/\)' \| \
8797 . : '\(.\)' 2>/dev/null ||
8799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8800 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8801 /^X\(\/\/\)$/{ s//\1/; q; }
8802 /^X\(\/\).*/{ s//\1/; q; }
8804 { if $as_mkdir_p; then
8809 while test ! -d "$as_dir"; do
8810 as_dirs
="$as_dir $as_dirs"
8811 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8812 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8813 X"$as_dir" : 'X\(//\)[^/]' \| \
8814 X"$as_dir" : 'X\(//\)$' \| \
8815 X"$as_dir" : 'X\(/\)' \| \
8816 . : '\(.\)' 2>/dev/null ||
8818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8819 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8820 /^X\(\/\/\)$/{ s//\1/; q; }
8821 /^X\(\/\).*/{ s//\1/; q; }
8824 test ! -n "$as_dirs" || mkdir
$as_dirs
8825 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8826 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8827 { (exit 1); exit 1; }; }; }
8831 if test "$ac_dir" != .
; then
8832 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8833 # A "../" for each directory in $ac_dir_suffix.
8834 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8836 ac_dir_suffix
= ac_top_builddir
=
8840 .
) # No --srcdir option. We are building in place.
8842 if test -z "$ac_top_builddir"; then
8845 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8847 [\\/]* | ?
:[\\/]* ) # Absolute path.
8848 ac_srcdir
=$srcdir$ac_dir_suffix;
8849 ac_top_srcdir
=$srcdir ;;
8851 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8852 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8855 # Do not use `cd foo && pwd` to compute absolute paths, because
8856 # the directories may not exist.
8858 .
) ac_abs_builddir
="$ac_dir";;
8861 .
) ac_abs_builddir
=`pwd`;;
8862 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8863 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8866 case $ac_abs_builddir in
8867 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8869 case ${ac_top_builddir}.
in
8870 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8871 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8872 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8875 case $ac_abs_builddir in
8876 .
) ac_abs_srcdir
=$ac_srcdir;;
8879 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8880 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8881 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8884 case $ac_abs_builddir in
8885 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8887 case $ac_top_srcdir in
8888 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8889 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8890 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8896 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8897 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8900 if test x
"$ac_file" != x-
; then
8901 { echo "$as_me:$LINENO: creating $ac_file" >&5
8902 echo "$as_me: creating $ac_file" >&6;}
8905 # Let's still pretend it is `configure' which instantiates (i.e., don't
8906 # use $as_me), people would be surprised to read:
8907 # /* config.h. Generated by config.status. */
8908 if test x
"$ac_file" = x-
; then
8911 configure_input
="$ac_file. "
8913 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8914 sed 's,.*/,,'` by configure."
8916 # First look for the input files in the build tree, otherwise in the
8918 ac_file_inputs
=`IFS=:
8919 for f in $ac_file_in; do
8921 -) echo $tmp/stdin ;;
8923 # Absolute (can't be DOS-style, as IFS=:)
8924 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8925 echo "$as_me: error: cannot find input file: $f" >&2;}
8926 { (exit 1); exit 1; }; }
8929 if test -f "$f"; then
8932 elif test -f "$srcdir/$f"; then
8937 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8938 echo "$as_me: error: cannot find input file: $f" >&2;}
8939 { (exit 1); exit 1; }; }
8942 done` ||
{ (exit 1); exit 1; }
8944 cat >>$CONFIG_STATUS <<_ACEOF
8948 cat >>$CONFIG_STATUS <<\_ACEOF
8950 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8951 s
,@configure_input@
,$configure_input,;t t
8952 s
,@srcdir@
,$ac_srcdir,;t t
8953 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8954 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8955 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8956 s
,@builddir@
,$ac_builddir,;t t
8957 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8958 s
,@top_builddir@
,$ac_top_builddir,;t t
8959 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8960 s
,@INSTALL@
,$ac_INSTALL,;t t
8961 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8963 if test x"$ac_file" != x-; then
8964 mv $tmp/out $ac_file
8972 cat >>$CONFIG_STATUS <<\_ACEOF
8975 # CONFIG_HEADER section.
8978 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8979 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8981 # ac_d sets the value in "#define NAME VALUE" lines.
8982 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8983 ac_dB
='[ ].*$,\1#\2'
8986 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8987 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8988 ac_uB
='$,\1#\2define\3'
8992 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8993 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8995 - |
*:- |
*:-:* ) # input from stdin
8997 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8998 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8999 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9000 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9001 * ) ac_file_in
=$ac_file.
in ;;
9004 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9005 echo "$as_me: creating $ac_file" >&6;}
9007 # First look for the input files in the build tree, otherwise in the
9009 ac_file_inputs
=`IFS=:
9010 for f in $ac_file_in; do
9012 -) echo $tmp/stdin ;;
9014 # Absolute (can't be DOS-style, as IFS=:)
9015 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9016 echo "$as_me: error: cannot find input file: $f" >&2;}
9017 { (exit 1); exit 1; }; }
9018 # Do quote $f, to prevent DOS paths from being IFS'd.
9021 if test -f "$f"; then
9024 elif test -f "$srcdir/$f"; then
9029 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9030 echo "$as_me: error: cannot find input file: $f" >&2;}
9031 { (exit 1); exit 1; }; }
9034 done` ||
{ (exit 1); exit 1; }
9035 # Remove the trailing spaces.
9036 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9040 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9041 # `conftest.undefs', that substitutes the proper values into
9042 # config.h.in to produce config.h. The first handles `#define'
9043 # templates, and the second `#undef' templates.
9044 # And first: Protect against being on the right side of a sed subst in
9045 # config.status. Protect against being in an unquoted here document
9047 rm -f conftest.defines conftest.undefs
9048 # Using a here document instead of a string reduces the quoting nightmare.
9049 # Putting comments in sed scripts is not portable.
9051 # `end' is used to avoid that the second main sed command (meant for
9052 # 0-ary CPP macros) applies to n-ary macro definitions.
9053 # See the Autoconf documentation for `clear'.
9054 cat >confdef2sed.
sed <<\_ACEOF
9059 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9061 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9064 # If some macros were called several times there might be several times
9065 # the same #defines, which is useless. Nevertheless, we may not want to
9066 # sort them, since we want the *last* AC-DEFINE to be honored.
9067 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9068 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9069 rm -f confdef2sed.sed
9071 # This sed command replaces #undef with comments. This is necessary, for
9072 # example, in the case of _POSIX_SOURCE, which is predefined and required
9073 # on some systems where configure will not decide to define it.
9074 cat >>conftest.undefs <<\_ACEOF
9075 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9078 # Break up conftest.defines because some shells have a limit on the size
9079 # of here documents, and old seds have small limits too (100 cmds).
9080 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9081 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9082 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9083 echo ' :' >>$CONFIG_STATUS
9085 while grep . conftest.defines >/dev/null
9087 # Write a limited-size here document to $tmp/defines.sed.
9088 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9089 # Speed up: don't consider the non `#define' lines.
9090 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9091 # Work around the forget-to-reset-the-flag bug.
9092 echo 't clr' >>$CONFIG_STATUS
9093 echo ': clr' >>$CONFIG_STATUS
9094 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9096 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9100 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9101 rm -f conftest.defines
9102 mv conftest.
tail conftest.defines
9104 rm -f conftest.defines
9105 echo ' fi # grep' >>$CONFIG_STATUS
9106 echo >>$CONFIG_STATUS
9108 # Break up conftest.undefs because some shells have a limit on the size
9109 # of here documents, and old seds have small limits too (100 cmds).
9110 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9112 while grep . conftest.undefs
>/dev
/null
9114 # Write a limited-size here document to $tmp/undefs.sed.
9115 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9116 # Speed up: don't consider the non
`#undef'
9117 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9118 # Work around the forget-to-reset-the-flag bug.
9119 echo 't clr' >>$CONFIG_STATUS
9120 echo ': clr' >>$CONFIG_STATUS
9121 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9123 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9127 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9128 rm -f conftest.undefs
9129 mv conftest.tail conftest.undefs
9131 rm -f conftest.undefs
9133 cat >>$CONFIG_STATUS <<\_ACEOF
9134 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9135 # use $as_me), people would be surprised to read:
9136 # /* config.h. Generated by config.status. */
9137 if test x
"$ac_file" = x-
; then
9138 echo "/* Generated by configure. */" >$tmp/config.h
9140 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9142 cat $tmp/in >>$tmp/config.h
9144 if test x
"$ac_file" != x-
; then
9145 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9146 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9147 echo "$as_me: $ac_file is unchanged" >&6;}
9149 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9150 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9151 X"$ac_file" : 'X\(//\)[^/]' \| \
9152 X"$ac_file" : 'X\(//\)$' \| \
9153 X"$ac_file" : 'X\(/\)' \| \
9154 . : '\(.\)' 2>/dev/null ||
9156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9157 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9158 /^X\(\/\/\)$/{ s//\1/; q; }
9159 /^X\(\/\).*/{ s//\1/; q; }
9161 { if $as_mkdir_p; then
9166 while test ! -d "$as_dir"; do
9167 as_dirs
="$as_dir $as_dirs"
9168 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9169 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9170 X"$as_dir" : 'X\(//\)[^/]' \| \
9171 X"$as_dir" : 'X\(//\)$' \| \
9172 X"$as_dir" : 'X\(/\)' \| \
9173 . : '\(.\)' 2>/dev/null ||
9175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9176 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9177 /^X\(\/\/\)$/{ s//\1/; q; }
9178 /^X\(\/\).*/{ s//\1/; q; }
9181 test ! -n "$as_dirs" || mkdir
$as_dirs
9182 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9183 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9184 { (exit 1); exit 1; }; }; }
9187 mv $tmp/config.h
$ac_file
9193 # Compute $ac_file's index in $config_headers.
9195 for _am_header
in $config_headers :; do
9197 $ac_file |
$ac_file:* )
9200 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9203 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9204 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9205 X$ac_file : 'X\(//\)[^/]' \| \
9206 X$ac_file : 'X\(//\)$' \| \
9207 X$ac_file : 'X\(/\)' \| \
9208 . : '\(.\)' 2>/dev/null ||
9210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9211 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9212 /^X\(\/\/\)$/{ s//\1/; q; }
9213 /^X\(\/\).*/{ s//\1/; q; }
9214 s/.*/./; q'`/stamp-h
$_am_stamp_count
9217 cat >>$CONFIG_STATUS <<\_ACEOF
9220 # CONFIG_COMMANDS section.
9222 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9223 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9224 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9225 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9226 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9227 X"$ac_dest" : 'X\(//\)[^/]' \| \
9228 X"$ac_dest" : 'X\(//\)$' \| \
9229 X"$ac_dest" : 'X\(/\)' \| \
9230 . : '\(.\)' 2>/dev/null ||
9232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9233 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9234 /^X\(\/\/\)$/{ s//\1/; q; }
9235 /^X\(\/\).*/{ s//\1/; q; }
9237 { if $as_mkdir_p; then
9242 while test ! -d "$as_dir"; do
9243 as_dirs
="$as_dir $as_dirs"
9244 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9245 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9246 X"$as_dir" : 'X\(//\)[^/]' \| \
9247 X"$as_dir" : 'X\(//\)$' \| \
9248 X"$as_dir" : 'X\(/\)' \| \
9249 . : '\(.\)' 2>/dev/null ||
9251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9252 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9253 /^X\(\/\/\)$/{ s//\1/; q; }
9254 /^X\(\/\).*/{ s//\1/; q; }
9257 test ! -n "$as_dirs" || mkdir
$as_dirs
9258 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9259 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9260 { (exit 1); exit 1; }; }; }
9264 if test "$ac_dir" != .
; then
9265 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9266 # A "../" for each directory in $ac_dir_suffix.
9267 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9269 ac_dir_suffix
= ac_top_builddir
=
9273 .
) # No --srcdir option. We are building in place.
9275 if test -z "$ac_top_builddir"; then
9278 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9280 [\\/]* | ?
:[\\/]* ) # Absolute path.
9281 ac_srcdir
=$srcdir$ac_dir_suffix;
9282 ac_top_srcdir
=$srcdir ;;
9284 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9285 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9288 # Do not use `cd foo && pwd` to compute absolute paths, because
9289 # the directories may not exist.
9291 .
) ac_abs_builddir
="$ac_dir";;
9294 .
) ac_abs_builddir
=`pwd`;;
9295 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9296 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9299 case $ac_abs_builddir in
9300 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9302 case ${ac_top_builddir}.
in
9303 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9304 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9305 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9308 case $ac_abs_builddir in
9309 .
) ac_abs_srcdir
=$ac_srcdir;;
9312 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9313 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9314 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9317 case $ac_abs_builddir in
9318 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9320 case $ac_top_srcdir in
9321 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9322 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9323 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9328 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9329 echo "$as_me: executing $ac_dest commands" >&6;}
9331 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
9332 # Strip MF so we end up with the name of the file.
9333 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9334 # Check whether this is an Automake generated Makefile or not.
9335 # We used to match only the files named `Makefile.in', but
9336 # some people rename them; so instead we look at the file content.
9337 # Grep'ing the first line is not enough: some people post-process
9338 # each Makefile.in and add a new line on top of each file to say so.
9339 # So let's grep whole file.
9340 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
9341 dirpart
=`(dirname "$mf") 2>/dev/null ||
9342 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9343 X"$mf" : 'X\(//\)[^/]' \| \
9344 X"$mf" : 'X\(//\)$' \| \
9345 X"$mf" : 'X\(/\)' \| \
9346 . : '\(.\)' 2>/dev/null ||
9348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9349 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9350 /^X\(\/\/\)$/{ s//\1/; q; }
9351 /^X\(\/\).*/{ s//\1/; q; }
9356 # Extract the definition of DEPDIR, am__include, and am__quote
9357 # from the Makefile without running `make'.
9358 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9359 test -z "$DEPDIR" && continue
9360 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9361 test -z "am__include" && continue
9362 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9363 # When using ansi2knr, U may be empty or an underscore; expand it
9364 U
=`sed -n 's/^U = //p' < "$mf"`
9365 # Find all dependency output files, they are included files with
9366 # $(DEPDIR) in their names. We invoke sed twice because it is the
9367 # simplest approach to changing $(DEPDIR) to its actual value in the
9369 for file in `sed -n "
9370 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9371 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9372 # Make sure the directory exists.
9373 test -f "$dirpart/$file" && continue
9374 fdir
=`(dirname "$file") 2>/dev/null ||
9375 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9376 X"$file" : 'X\(//\)[^/]' \| \
9377 X"$file" : 'X\(//\)$' \| \
9378 X"$file" : 'X\(/\)' \| \
9379 . : '\(.\)' 2>/dev/null ||
9381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9382 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9383 /^X\(\/\/\)$/{ s//\1/; q; }
9384 /^X\(\/\).*/{ s//\1/; q; }
9386 { if $as_mkdir_p; then
9387 mkdir
-p $dirpart/$fdir
9389 as_dir
=$dirpart/$fdir
9391 while test ! -d "$as_dir"; do
9392 as_dirs
="$as_dir $as_dirs"
9393 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9395 X"$as_dir" : 'X\(//\)[^/]' \| \
9396 X"$as_dir" : 'X\(//\)$' \| \
9397 X"$as_dir" : 'X\(/\)' \| \
9398 . : '\(.\)' 2>/dev/null ||
9400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9401 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9402 /^X\(\/\/\)$/{ s//\1/; q; }
9403 /^X\(\/\).*/{ s//\1/; q; }
9406 test ! -n "$as_dirs" || mkdir
$as_dirs
9407 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9408 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9409 { (exit 1); exit 1; }; }; }
9411 # echo "creating $dirpart/$file"
9412 echo '# dummy' > "$dirpart/$file"
9417 for ac_file
in $CONFIG_FILES; do
9418 # Support "outfile[:infile[:infile...]]"
9420 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9422 # PO directories have a Makefile.in generated from Makefile.in.in.
9423 case "$ac_file" in */Makefile.
in)
9424 # Adjust a relative srcdir.
9425 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9426 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
9427 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9428 # In autoconf-2.13 it is called $ac_given_srcdir.
9429 # In autoconf-2.50 it is called $srcdir.
9430 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9431 case "$ac_given_srcdir" in
9432 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9433 /*) top_srcdir
="$ac_given_srcdir" ;;
9434 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9436 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9437 rm -f "$ac_dir/POTFILES"
9438 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
9439 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9440 POMAKEFILEDEPS
="POTFILES.in"
9441 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
9442 # on $ac_dir but don't depend on user-specified configuration
9444 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9445 # The LINGUAS file contains the set of available languages.
9446 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9447 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
9449 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9450 # Hide the ALL_LINGUAS assigment from automake.
9451 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9452 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
9454 # The set of available languages was given in configure.in.
9455 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9457 case "$ac_given_srcdir" in
9459 *) srcdirpre
='$(srcdir)/' ;;
9465 for lang
in $ALL_LINGUAS; do
9466 POFILES
="$POFILES $srcdirpre$lang.po"
9467 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
9468 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
9469 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
9471 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9472 # environment variable.
9474 if test -n "$ALL_LINGUAS"; then
9475 for presentlang
in $ALL_LINGUAS; do
9477 if test "%UNSET%" != "$LINGUAS"; then
9478 desiredlanguages
="$LINGUAS"
9480 desiredlanguages
="$ALL_LINGUAS"
9482 for desiredlang
in $desiredlanguages; do
9483 # Use the presentlang catalog if desiredlang is
9484 # a. equal to presentlang, or
9485 # b. a variant of presentlang (because in this case,
9486 # presentlang can be used as a fallback for messages
9487 # which are not translated in the desiredlang catalog).
9488 case "$desiredlang" in
9489 "$presentlang"*) useit
=yes;;
9492 if test $useit = yes; then
9493 INST_LINGUAS
="$INST_LINGUAS $presentlang"
9498 if test -n "$INST_LINGUAS"; then
9499 for lang
in $INST_LINGUAS; do
9500 CATALOGS
="$CATALOGS $lang.gmo"
9503 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
9504 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
9505 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
9506 if test -f "$f"; then
9508 *.orig |
*.bak |
*~
) ;;
9509 *) cat "$f" >> "$ac_dir/Makefile" ;;
9521 cat >>$CONFIG_STATUS <<\_ACEOF
9523 { (exit 0); exit 0; }
9525 chmod +x
$CONFIG_STATUS
9526 ac_clean_files
=$ac_clean_files_save
9529 # configure is writing to config.log, and then calls config.status.
9530 # config.status does its own redirection, appending to config.log.
9531 # Unfortunately, on DOS this fails, as config.log is still kept open
9532 # by configure, so config.status won't be able to write to it; its
9533 # output is simply discarded. So we exec the FD to /dev/null,
9534 # effectively closing config.log, so it can be properly (re)opened and
9535 # appended to by config.status. When coming back to configure, we
9536 # need to make the FD available again.
9537 if test "$no_create" != yes; then
9539 ac_config_status_args
=
9540 test "$silent" = yes &&
9541 ac_config_status_args
="$ac_config_status_args --quiet"
9543 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9545 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9546 # would make configure fail if this is the last instruction.
9547 $ac_cs_success ||
{ (exit 1); exit 1; }