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 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file
="ar.c"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 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 CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO WARN_CFLAGS NO_WERROR YACC LEX LEXLIB LEX_OUTPUT_ROOT USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE HDEFINES CC_FOR_BUILD EXEEXT_FOR_BUILD DEMANGLER_NAME ALLOCA LIBICONV LTLIBICONV NLMCONV_DEFS BUILD_NLMCONV BUILD_SRCONV BUILD_DLLTOOL DLLTOOL_DEFS BUILD_WINDRES BUILD_WINDMC BUILD_DLLWRAP BUILD_MISC BUILD_INSTALL_MISC OBJDUMP_DEFS EMULATION EMULATION_VECTOR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version
=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name
=s
,x
,x
,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir
='${exec_prefix}/bin'
491 sbindir
='${exec_prefix}/sbin'
492 libexecdir
='${exec_prefix}/libexec'
493 datadir
='${prefix}/share'
494 sysconfdir
='${prefix}/etc'
495 sharedstatedir
='${prefix}/com'
496 localstatedir
='${prefix}/var'
497 libdir
='${exec_prefix}/lib'
498 includedir
='${prefix}/include'
499 oldincludedir
='/usr/include'
500 infodir
='${prefix}/info'
501 mandir
='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
524 -build |
--build |
--buil |
--bui |
--bu)
525 ac_prev
=build_alias
;;
526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
527 build_alias
=$ac_optarg ;;
529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
531 ac_prev
=cache_file
;;
532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
534 cache_file
=$ac_optarg ;;
537 cache_file
=config.cache
;;
539 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
543 datadir
=$ac_optarg ;;
545 -disable-* |
--disable-*)
546 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* |
--enable-*)
555 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
568 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
569 |
--exec |
--exe |
--ex)
570 ac_prev
=exec_prefix
;;
571 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
572 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
573 |
--exec=* |
--exe=* |
--ex=*)
574 exec_prefix
=$ac_optarg ;;
576 -gas |
--gas |
--ga |
--g)
577 # Obsolete; use --with-gas.
580 -help |
--help |
--hel |
--he |
-h)
582 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
583 ac_init_help
=recursive
;;
584 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
585 ac_init_help
=short
;;
587 -host |
--host |
--hos |
--ho)
588 ac_prev
=host_alias
;;
589 -host=* |
--host=* |
--hos=* |
--ho=*)
590 host_alias
=$ac_optarg ;;
592 -includedir |
--includedir |
--includedi |
--included |
--include \
593 |
--includ |
--inclu |
--incl |
--inc)
594 ac_prev
=includedir
;;
595 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
596 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
597 includedir
=$ac_optarg ;;
599 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
601 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
602 infodir
=$ac_optarg ;;
604 -libdir |
--libdir |
--libdi |
--libd)
606 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
609 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
610 |
--libexe |
--libex |
--libe)
611 ac_prev
=libexecdir
;;
612 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
613 |
--libexe=* |
--libex=* |
--libe=*)
614 libexecdir
=$ac_optarg ;;
616 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
617 |
--localstate |
--localstat |
--localsta |
--localst \
618 |
--locals |
--local |
--loca |
--loc |
--lo)
619 ac_prev
=localstatedir
;;
620 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
621 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
622 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
623 localstatedir
=$ac_optarg ;;
625 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
627 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
631 # Obsolete; use --without-fp.
634 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
635 |
--no-cr |
--no-c |
-n)
638 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
639 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
642 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
643 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
644 |
--oldin |
--oldi |
--old |
--ol |
--o)
645 ac_prev
=oldincludedir
;;
646 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
647 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
648 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
649 oldincludedir
=$ac_optarg ;;
651 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
653 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
656 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
657 |
--program-pre |
--program-pr |
--program-p)
658 ac_prev
=program_prefix
;;
659 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
660 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
661 program_prefix
=$ac_optarg ;;
663 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
664 |
--program-suf |
--program-su |
--program-s)
665 ac_prev
=program_suffix
;;
666 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
667 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
668 program_suffix
=$ac_optarg ;;
670 -program-transform-name |
--program-transform-name \
671 |
--program-transform-nam |
--program-transform-na \
672 |
--program-transform-n |
--program-transform- \
673 |
--program-transform |
--program-transfor \
674 |
--program-transfo |
--program-transf \
675 |
--program-trans |
--program-tran \
676 |
--progr-tra |
--program-tr |
--program-t)
677 ac_prev
=program_transform_name
;;
678 -program-transform-name=* |
--program-transform-name=* \
679 |
--program-transform-nam=* |
--program-transform-na=* \
680 |
--program-transform-n=* |
--program-transform-=* \
681 |
--program-transform=* |
--program-transfor=* \
682 |
--program-transfo=* |
--program-transf=* \
683 |
--program-trans=* |
--program-tran=* \
684 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
685 program_transform_name
=$ac_optarg ;;
687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
688 |
-silent |
--silent |
--silen |
--sile |
--sil)
691 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
693 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
695 sbindir
=$ac_optarg ;;
697 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
698 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
699 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
701 ac_prev
=sharedstatedir
;;
702 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
703 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
704 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
706 sharedstatedir
=$ac_optarg ;;
708 -site |
--site |
--sit)
710 -site=* |
--site=* |
--sit=*)
713 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
715 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
718 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
719 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
720 ac_prev
=sysconfdir
;;
721 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
722 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
723 sysconfdir
=$ac_optarg ;;
725 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
726 ac_prev
=target_alias
;;
727 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
728 target_alias
=$ac_optarg ;;
730 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
733 -version |
--version |
--versio |
--versi |
--vers |
-V)
737 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* |
--without-*)
750 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package
=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
763 |
--x-incl |
--x-inc |
--x-in |
--x-i)
764 ac_prev
=x_includes
;;
765 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
766 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
767 x_includes
=$ac_optarg ;;
769 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
770 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
771 ac_prev
=x_libraries
;;
772 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
773 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
774 x_libraries
=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var
in exec_prefix prefix
811 eval ac_val
=$
`echo $ac_var`
813 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x
; then
840 if test "x$build_alias" = x
; then
841 cross_compiling
=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
852 test "$silent" = yes && exec 6>/dev
/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted
=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir
=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted
=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set
=${build_alias+set}
892 ac_env_build_alias_value
=$build_alias
893 ac_cv_env_build_alias_set
=${build_alias+set}
894 ac_cv_env_build_alias_value
=$build_alias
895 ac_env_host_alias_set
=${host_alias+set}
896 ac_env_host_alias_value
=$host_alias
897 ac_cv_env_host_alias_set
=${host_alias+set}
898 ac_cv_env_host_alias_value
=$host_alias
899 ac_env_target_alias_set
=${target_alias+set}
900 ac_env_target_alias_value
=$target_alias
901 ac_cv_env_target_alias_set
=${target_alias+set}
902 ac_cv_env_target_alias_value
=$target_alias
903 ac_env_CC_set
=${CC+set}
905 ac_cv_env_CC_set
=${CC+set}
906 ac_cv_env_CC_value
=$CC
907 ac_env_CFLAGS_set
=${CFLAGS+set}
908 ac_env_CFLAGS_value
=$CFLAGS
909 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
910 ac_cv_env_CFLAGS_value
=$CFLAGS
911 ac_env_LDFLAGS_set
=${LDFLAGS+set}
912 ac_env_LDFLAGS_value
=$LDFLAGS
913 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
914 ac_cv_env_LDFLAGS_value
=$LDFLAGS
915 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
916 ac_env_CPPFLAGS_value
=$CPPFLAGS
917 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
918 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
919 ac_env_CPP_set
=${CPP+set}
920 ac_env_CPP_value
=$CPP
921 ac_cv_env_CPP_set
=${CPP+set}
922 ac_cv_env_CPP_value
=$CPP
925 # Report the --help message.
927 if test "$ac_init_help" = "long"; then
928 # Omit some internal or obsolete options to make the list less imposing.
929 # This message is too long to be a string in the A/UX 3.1 sh.
931 \`configure' configures this package to adapt to many kinds of systems.
933 Usage: $0 [OPTION]... [VAR=VALUE]...
935 To assign environment variables (e.g., CC, CFLAGS...), specify them as
936 VAR=VALUE. See below for descriptions of some of the useful variables.
938 Defaults for the options are specified in brackets.
941 -h, --help display this help and exit
942 --help=short display options specific to this package
943 --help=recursive display the short help of all the included packages
944 -V, --version display version information and exit
945 -q, --quiet, --silent do not print \`checking...' messages
946 --cache-file=FILE cache test results in FILE [disabled]
947 -C, --config-cache alias for \`--cache-file=config.cache'
948 -n, --no-create do not create output files
949 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 Installation directories:
955 --prefix=PREFIX install architecture-independent files in PREFIX
957 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
960 By default, \`make install' will install all the files in
961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
963 for instance \`--prefix=\$HOME'.
965 For better control, use the options below.
967 Fine tuning of the installation directories:
968 --bindir=DIR user executables [EPREFIX/bin]
969 --sbindir=DIR system admin executables [EPREFIX/sbin]
970 --libexecdir=DIR program executables [EPREFIX/libexec]
971 --datadir=DIR read-only architecture-independent data [PREFIX/share]
972 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
973 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
974 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
975 --libdir=DIR object code libraries [EPREFIX/lib]
976 --includedir=DIR C header files [PREFIX/include]
977 --oldincludedir=DIR C header files for non-gcc [/usr/include]
978 --infodir=DIR info documentation [PREFIX/info]
979 --mandir=DIR man documentation [PREFIX/man]
985 --program-prefix=PREFIX prepend PREFIX to installed program names
986 --program-suffix=SUFFIX append SUFFIX to installed program names
987 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
990 --build=BUILD configure
for building on BUILD
[guessed
]
991 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
992 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
996 if test -n "$ac_init_help"; then
1001 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1002 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1003 --disable-dependency-tracking speeds up one-time build
1004 --enable-dependency-tracking do not reject slow dependency extractors
1005 --enable-shared[=PKGS
]
1006 build shared libraries
[default
=yes]
1007 --enable-static[=PKGS
]
1008 build static libraries
[default
=yes]
1009 --enable-fast-install[=PKGS
]
1010 optimize
for fast installation
[default
=yes]
1011 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1012 --enable-targets alternative target configurations
1013 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
1014 --enable-werror treat compile warnings as errors
1015 --enable-build-warnings enable build-time compiler warnings
1016 --disable-nls do not use Native Language Support
1017 --enable-maintainer-mode enable make rules and dependencies not useful
1018 (and sometimes confusing
) to the casual installer
1019 --disable-rpath do not hardcode runtime library paths
1022 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1023 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1024 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1026 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1027 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1028 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1029 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1031 Some influential environment variables:
1032 CC C compiler command
1033 CFLAGS C compiler flags
1034 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1035 nonstandard directory <lib dir>
1036 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1037 headers in a nonstandard directory <include dir>
1040 Use these variables to override the choices made by `configure' or to
help
1041 it to
find libraries and programs with nonstandard names
/locations.
1046 if test "$ac_init_help" = "recursive"; then
1047 # If there are subdirs, report their specific --help.
1049 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1050 test -d $ac_dir ||
continue
1053 if test "$ac_dir" != .
; then
1054 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1055 # A "../" for each directory in $ac_dir_suffix.
1056 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1058 ac_dir_suffix
= ac_top_builddir
=
1062 .
) # No --srcdir option. We are building in place.
1064 if test -z "$ac_top_builddir"; then
1067 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1069 [\\/]* | ?
:[\\/]* ) # Absolute path.
1070 ac_srcdir
=$srcdir$ac_dir_suffix;
1071 ac_top_srcdir
=$srcdir ;;
1073 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1074 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1077 # Do not use `cd foo && pwd` to compute absolute paths, because
1078 # the directories may not exist.
1080 .
) ac_abs_builddir
="$ac_dir";;
1083 .
) ac_abs_builddir
=`pwd`;;
1084 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1085 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1088 case $ac_abs_builddir in
1089 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1091 case ${ac_top_builddir}.
in
1092 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1093 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1094 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1097 case $ac_abs_builddir in
1098 .
) ac_abs_srcdir
=$ac_srcdir;;
1101 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1102 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1103 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1106 case $ac_abs_builddir in
1107 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1109 case $ac_top_srcdir in
1110 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1111 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1112 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1117 # Check for guested configure; otherwise get Cygnus style configure.
1118 if test -f $ac_srcdir/configure.gnu
; then
1120 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1121 elif test -f $ac_srcdir/configure
; then
1123 $SHELL $ac_srcdir/configure
--help=recursive
1124 elif test -f $ac_srcdir/configure.ac ||
1125 test -f $ac_srcdir/configure.
in; then
1127 $ac_configure --help
1129 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1135 test -n "$ac_init_help" && exit 0
1136 if $ac_init_version; then
1139 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1140 This configure
script is free software
; the Free Software Foundation
1141 gives unlimited permission to copy
, distribute and modify it.
1147 This file contains any messages produced by compilers while
1148 running configure, to aid debugging if configure makes a mistake.
1150 It was created by $as_me, which was
1151 generated by GNU Autoconf 2.59. Invocation command line was
1162 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1163 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1164 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1165 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1166 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1168 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1169 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1171 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1172 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1173 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1174 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1175 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1176 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1177 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1185 test -z "$as_dir" && as_dir
=.
1186 echo "PATH: $as_dir"
1201 # Keep a trace of the command line.
1202 # Strip out --no-create and --no-recursion so they do not pile up.
1203 # Strip out --silent because we don't want to record it for future runs.
1204 # Also quote any args containing shell meta-characters.
1205 # Make two passes to allow for proper duplicate-argument suppression.
1210 ac_must_keep_next
=false
1216 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1217 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1218 |
-silent |
--silent |
--silen |
--sile |
--sil)
1220 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1224 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1226 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1227 if test $ac_must_keep_next = true
; then
1228 ac_must_keep_next
=false
# Got value, back to normal.
1231 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1232 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1233 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1234 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1235 case "$ac_configure_args0 " in
1236 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1239 -* ) ac_must_keep_next
=true
;;
1242 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1243 # Get rid of the leading space.
1249 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1250 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1252 # When interrupted or exit'd, cleanup temporary files, and complete
1253 # config.log. We remove comments because anyway the quotes in there
1254 # would cause problems or look ugly.
1255 # WARNING: Be sure not to use single quotes in there, as some shells,
1256 # such as our DU 5.0 friend, will then `close' the trap.
1257 trap 'exit_status=$?
1258 # Save into config.log some information that might help in debugging.
1263 ## ---------------- ##
1264 ## Cache variables. ##
1265 ## ---------------- ##
1268 # The following way of writing the cache mishandles newlines in values,
1271 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1274 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1279 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1286 ## ----------------- ##
1287 ## Output variables. ##
1288 ## ----------------- ##
1291 for ac_var in $ac_subst_vars
1293 eval ac_val=$`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1298 if test -n "$ac_subst_files"; then
1305 for ac_var in $ac_subst_files
1307 eval ac_val=$`echo $ac_var`
1308 echo "$ac_var='"'"'$ac_val'"'"'"
1313 if test -s confdefs.h; then
1320 sed "/^$/d" confdefs.h | sort
1323 test "$ac_signal" != 0 &&
1324 echo "$as_me: caught signal $ac_signal"
1325 echo "$as_me: exit $exit_status"
1327 rm -f core *.core &&
1328 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1331 for ac_signal
in 1 2 13 15; do
1332 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1337 rm -rf conftest
* confdefs.h
1338 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1341 # Predefined preprocessor variables.
1343 cat >>confdefs.h
<<_ACEOF
1344 #define PACKAGE_NAME "$PACKAGE_NAME"
1348 cat >>confdefs.h
<<_ACEOF
1349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1353 cat >>confdefs.h
<<_ACEOF
1354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1358 cat >>confdefs.h
<<_ACEOF
1359 #define PACKAGE_STRING "$PACKAGE_STRING"
1363 cat >>confdefs.h
<<_ACEOF
1364 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1368 # Let the site file select an alternate cache file if it wants to.
1369 # Prefer explicitly selected file to automatically selected ones.
1370 if test -z "$CONFIG_SITE"; then
1371 if test "x$prefix" != xNONE
; then
1372 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1374 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1377 for ac_site_file
in $CONFIG_SITE; do
1378 if test -r "$ac_site_file"; then
1379 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1380 echo "$as_me: loading site script $ac_site_file" >&6;}
1381 sed 's/^/| /' "$ac_site_file" >&5
1386 if test -r "$cache_file"; then
1387 # Some versions of bash will fail to source /dev/null (special
1388 # files actually), so we avoid doing that.
1389 if test -f "$cache_file"; then
1390 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1391 echo "$as_me: loading cache $cache_file" >&6;}
1393 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1394 *) . .
/$cache_file;;
1398 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1399 echo "$as_me: creating cache $cache_file" >&6;}
1403 # Check that the precious variables saved in the cache have kept the same
1405 ac_cache_corrupted
=false
1406 for ac_var
in `(set) 2>&1 |
1407 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1408 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1409 eval ac_new_set
=\
$ac_env_${ac_var}_set
1410 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1411 eval ac_new_val
="\$ac_env_${ac_var}_value"
1412 case $ac_old_set,$ac_new_set in
1414 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1415 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1416 ac_cache_corrupted
=: ;;
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1420 ac_cache_corrupted
=: ;;
1423 if test "x$ac_old_val" != "x$ac_new_val"; then
1424 # differences in whitespace do not lead to failure.
1425 ac_old_val_w
=`echo x $ac_old_val`
1426 ac_new_val_w
=`echo x $ac_new_val`
1427 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1429 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1430 ac_cache_corrupted
=:
1432 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1433 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1434 eval $ac_var=\
$ac_old_val
1436 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1437 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1438 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1439 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1442 # Pass precious variables to config.status.
1443 if test "$ac_new_set" = set; then
1445 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1446 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1447 *) ac_arg
=$ac_var=$ac_new_val ;;
1449 case " $ac_configure_args " in
1450 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1451 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1455 if $ac_cache_corrupted; then
1456 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1457 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1458 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1459 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1460 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1461 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1462 { (exit 1); exit 1; }; }
1466 ac_cpp
='$CPP $CPPFLAGS'
1467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1495 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1496 if test -f $ac_dir/install-sh
; then
1498 ac_install_sh
="$ac_aux_dir/install-sh -c"
1500 elif test -f $ac_dir/install.sh
; then
1502 ac_install_sh
="$ac_aux_dir/install.sh -c"
1504 elif test -f $ac_dir/shtool
; then
1506 ac_install_sh
="$ac_aux_dir/shtool install -c"
1510 if test -z "$ac_aux_dir"; then
1511 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1512 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1513 { (exit 1); exit 1; }; }
1515 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1516 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1517 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1519 # Make sure we can run config.sub.
1520 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1521 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1522 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1523 { (exit 1); exit 1; }; }
1525 echo "$as_me:$LINENO: checking build system type" >&5
1526 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1527 if test "${ac_cv_build+set}" = set; then
1528 echo $ECHO_N "(cached) $ECHO_C" >&6
1530 ac_cv_build_alias
=$build_alias
1531 test -z "$ac_cv_build_alias" &&
1532 ac_cv_build_alias
=`$ac_config_guess`
1533 test -z "$ac_cv_build_alias" &&
1534 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1535 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1536 { (exit 1); exit 1; }; }
1537 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1538 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1539 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1540 { (exit 1); exit 1; }; }
1543 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1544 echo "${ECHO_T}$ac_cv_build" >&6
1546 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1547 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1548 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1551 echo "$as_me:$LINENO: checking host system type" >&5
1552 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1553 if test "${ac_cv_host+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 ac_cv_host_alias
=$host_alias
1557 test -z "$ac_cv_host_alias" &&
1558 ac_cv_host_alias
=$ac_cv_build_alias
1559 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1560 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1561 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1562 { (exit 1); exit 1; }; }
1565 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1566 echo "${ECHO_T}$ac_cv_host" >&6
1568 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1569 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1570 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1573 echo "$as_me:$LINENO: checking target system type" >&5
1574 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1575 if test "${ac_cv_target+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 ac_cv_target_alias
=$target_alias
1579 test "x$ac_cv_target_alias" = "x" &&
1580 ac_cv_target_alias
=$ac_cv_host_alias
1581 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1583 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1587 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1588 echo "${ECHO_T}$ac_cv_target" >&6
1589 target
=$ac_cv_target
1590 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1591 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1592 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595 # The aliases save the names the user supplied, while $host etc.
1596 # will get canonicalized.
1597 test -n "$target_alias" &&
1598 test "$program_prefix$program_suffix$program_transform_name" = \
1600 program_prefix
=${target_alias}-
1602 ac_cpp
='$CPP $CPPFLAGS'
1603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1606 if test -n "$ac_tool_prefix"; then
1607 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1608 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1609 echo "$as_me:$LINENO: checking for $ac_word" >&5
1610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1611 if test "${ac_cv_prog_CC+set}" = set; then
1612 echo $ECHO_N "(cached) $ECHO_C" >&6
1614 if test -n "$CC"; then
1615 ac_cv_prog_CC
="$CC" # Let the user override the test.
1617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1621 test -z "$as_dir" && as_dir
=.
1622 for ac_exec_ext
in '' $ac_executable_extensions; do
1623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1624 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1634 if test -n "$CC"; then
1635 echo "$as_me:$LINENO: result: $CC" >&5
1636 echo "${ECHO_T}$CC" >&6
1638 echo "$as_me:$LINENO: result: no" >&5
1639 echo "${ECHO_T}no" >&6
1643 if test -z "$ac_cv_prog_CC"; then
1645 # Extract the first word of "gcc", so it can be a program name with args.
1646 set dummy gcc
; ac_word
=$2
1647 echo "$as_me:$LINENO: checking for $ac_word" >&5
1648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1649 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1650 echo $ECHO_N "(cached) $ECHO_C" >&6
1652 if test -n "$ac_ct_CC"; then
1653 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1659 test -z "$as_dir" && as_dir
=.
1660 for ac_exec_ext
in '' $ac_executable_extensions; do
1661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1662 ac_cv_prog_ac_ct_CC
="gcc"
1663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1671 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1672 if test -n "$ac_ct_CC"; then
1673 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1674 echo "${ECHO_T}$ac_ct_CC" >&6
1676 echo "$as_me:$LINENO: result: no" >&5
1677 echo "${ECHO_T}no" >&6
1685 if test -z "$CC"; then
1686 if test -n "$ac_tool_prefix"; then
1687 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1688 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1689 echo "$as_me:$LINENO: checking for $ac_word" >&5
1690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1691 if test "${ac_cv_prog_CC+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1694 if test -n "$CC"; then
1695 ac_cv_prog_CC
="$CC" # Let the user override the test.
1697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1701 test -z "$as_dir" && as_dir
=.
1702 for ac_exec_ext
in '' $ac_executable_extensions; do
1703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1704 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 if test -n "$CC"; then
1715 echo "$as_me:$LINENO: result: $CC" >&5
1716 echo "${ECHO_T}$CC" >&6
1718 echo "$as_me:$LINENO: result: no" >&5
1719 echo "${ECHO_T}no" >&6
1723 if test -z "$ac_cv_prog_CC"; then
1725 # Extract the first word of "cc", so it can be a program name with args.
1726 set dummy cc
; ac_word
=$2
1727 echo "$as_me:$LINENO: checking for $ac_word" >&5
1728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1729 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1730 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 if test -n "$ac_ct_CC"; then
1733 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1739 test -z "$as_dir" && as_dir
=.
1740 for ac_exec_ext
in '' $ac_executable_extensions; do
1741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1742 ac_cv_prog_ac_ct_CC
="cc"
1743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1751 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1752 if test -n "$ac_ct_CC"; then
1753 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1754 echo "${ECHO_T}$ac_ct_CC" >&6
1756 echo "$as_me:$LINENO: result: no" >&5
1757 echo "${ECHO_T}no" >&6
1766 if test -z "$CC"; then
1767 # Extract the first word of "cc", so it can be a program name with args.
1768 set dummy cc
; ac_word
=$2
1769 echo "$as_me:$LINENO: checking for $ac_word" >&5
1770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1771 if test "${ac_cv_prog_CC+set}" = set; then
1772 echo $ECHO_N "(cached) $ECHO_C" >&6
1774 if test -n "$CC"; then
1775 ac_cv_prog_CC
="$CC" # Let the user override the test.
1778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1782 test -z "$as_dir" && as_dir
=.
1783 for ac_exec_ext
in '' $ac_executable_extensions; do
1784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1785 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1786 ac_prog_rejected
=yes
1790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1796 if test $ac_prog_rejected = yes; then
1797 # We found a bogon in the path, so make sure we never use it.
1798 set dummy
$ac_cv_prog_CC
1800 if test $# != 0; then
1801 # We chose a different compiler from the bogus one.
1802 # However, it has the same basename, so the bogon will be chosen
1803 # first if we set CC to just the basename; use the full file name.
1805 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1811 if test -n "$CC"; then
1812 echo "$as_me:$LINENO: result: $CC" >&5
1813 echo "${ECHO_T}$CC" >&6
1815 echo "$as_me:$LINENO: result: no" >&5
1816 echo "${ECHO_T}no" >&6
1820 if test -z "$CC"; then
1821 if test -n "$ac_tool_prefix"; then
1824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1825 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1826 echo "$as_me:$LINENO: checking for $ac_word" >&5
1827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1828 if test "${ac_cv_prog_CC+set}" = set; then
1829 echo $ECHO_N "(cached) $ECHO_C" >&6
1831 if test -n "$CC"; then
1832 ac_cv_prog_CC
="$CC" # Let the user override the test.
1834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1838 test -z "$as_dir" && as_dir
=.
1839 for ac_exec_ext
in '' $ac_executable_extensions; do
1840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1841 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1851 if test -n "$CC"; then
1852 echo "$as_me:$LINENO: result: $CC" >&5
1853 echo "${ECHO_T}$CC" >&6
1855 echo "$as_me:$LINENO: result: no" >&5
1856 echo "${ECHO_T}no" >&6
1859 test -n "$CC" && break
1862 if test -z "$CC"; then
1866 # Extract the first word of "$ac_prog", so it can be a program name with args.
1867 set dummy
$ac_prog; ac_word
=$2
1868 echo "$as_me:$LINENO: checking for $ac_word" >&5
1869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1870 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 if test -n "$ac_ct_CC"; then
1874 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1880 test -z "$as_dir" && as_dir
=.
1881 for ac_exec_ext
in '' $ac_executable_extensions; do
1882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1883 ac_cv_prog_ac_ct_CC
="$ac_prog"
1884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1892 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1893 if test -n "$ac_ct_CC"; then
1894 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1895 echo "${ECHO_T}$ac_ct_CC" >&6
1897 echo "$as_me:$LINENO: result: no" >&5
1898 echo "${ECHO_T}no" >&6
1901 test -n "$ac_ct_CC" && break
1910 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1911 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1912 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1913 See \`config.log' for more details." >&5
1914 echo "$as_me: error: no acceptable C compiler found in \$PATH
1915 See \`config.log' for more details." >&2;}
1916 { (exit 1); exit 1; }; }; }
1918 # Provide some information about the compiler.
1919 echo "$as_me:$LINENO:" \
1920 "checking for C compiler version" >&5
1921 ac_compiler
=`set X $ac_compile; echo $2`
1922 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1923 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1926 (exit $ac_status); }
1927 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1928 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1931 (exit $ac_status); }
1932 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1933 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }
1938 cat >conftest.
$ac_ext <<_ACEOF
1941 cat confdefs.h
>>conftest.
$ac_ext
1942 cat >>conftest.
$ac_ext <<_ACEOF
1943 /* end confdefs.h. */
1953 ac_clean_files_save
=$ac_clean_files
1954 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1955 # Try to create an executable without -o first, disregard a.out.
1956 # It will help us diagnose broken compilers, and finding out an intuition
1958 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1959 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1960 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1961 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1962 (eval $ac_link_default) 2>&5
1964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1965 (exit $ac_status); }; then
1966 # Find the output, starting from the most likely. This scheme is
1967 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1970 # Be careful to initialize this variable, since it used to be cached.
1971 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1973 # b.out is created by i960 compilers.
1974 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1976 test -f "$ac_file" ||
continue
1978 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1981 # This is the source file.
1984 # We found the default executable, but exeext='' is most
1988 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1989 # FIXME: I believe we export ac_cv_exeext for Libtool,
1990 # but it would be cool to find out if it's true. Does anybody
1991 # maintain Libtool? --akim.
1999 echo "$as_me: failed program was:" >&5
2000 sed 's/^/| /' conftest.
$ac_ext >&5
2002 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2003 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2004 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2005 See \`config.log' for more details." >&5
2006 echo "$as_me: error: C compiler cannot create executables
2007 See \`config.log' for more details." >&2;}
2008 { (exit 77); exit 77; }; }; }
2011 ac_exeext
=$ac_cv_exeext
2012 echo "$as_me:$LINENO: result: $ac_file" >&5
2013 echo "${ECHO_T}$ac_file" >&6
2015 # Check the compiler produces executables we can run. If not, either
2016 # the compiler is broken, or we cross compile.
2017 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2018 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2019 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2020 # If not cross compiling, check that we can run a simple program.
2021 if test "$cross_compiling" != yes; then
2022 if { ac_try
='./$ac_file'
2023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027 (exit $ac_status); }; }; then
2030 if test "$cross_compiling" = maybe
; then
2033 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2034 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2035 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2036 If you meant to cross compile, use \`--host'.
2037 See \`config.log' for more details." >&5
2038 echo "$as_me: error: cannot run C compiled programs.
2039 If you meant to cross compile, use \`--host'.
2040 See \`config.log' for more details." >&2;}
2041 { (exit 1); exit 1; }; }; }
2045 echo "$as_me:$LINENO: result: yes" >&5
2046 echo "${ECHO_T}yes" >&6
2048 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2049 ac_clean_files
=$ac_clean_files_save
2050 # Check the compiler produces executables we can run. If not, either
2051 # the compiler is broken, or we cross compile.
2052 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2053 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2054 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2055 echo "${ECHO_T}$cross_compiling" >&6
2057 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2058 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2060 (eval $ac_link) 2>&5
2062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2063 (exit $ac_status); }; then
2064 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2065 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2066 # work properly (i.e., refer to `conftest.exe'), while it won't with
2068 for ac_file
in conftest.exe conftest conftest.
*; do
2069 test -f "$ac_file" ||
continue
2071 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2072 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2079 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2080 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2081 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2082 See \`config.log' for more details." >&5
2083 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2084 See \`config.log' for more details." >&2;}
2085 { (exit 1); exit 1; }; }; }
2088 rm -f conftest
$ac_cv_exeext
2089 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2090 echo "${ECHO_T}$ac_cv_exeext" >&6
2092 rm -f conftest.
$ac_ext
2093 EXEEXT
=$ac_cv_exeext
2095 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2096 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2097 if test "${ac_cv_objext+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 cat >conftest.
$ac_ext <<_ACEOF
2103 cat confdefs.h
>>conftest.
$ac_ext
2104 cat >>conftest.
$ac_ext <<_ACEOF
2105 /* end confdefs.h. */
2115 rm -f conftest.o conftest.obj
2116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2117 (eval $ac_compile) 2>&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; then
2121 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2123 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2124 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2129 echo "$as_me: failed program was:" >&5
2130 sed 's/^/| /' conftest.
$ac_ext >&5
2132 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2133 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2135 See \`config.log' for more details." >&5
2136 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2137 See \`config.log' for more details." >&2;}
2138 { (exit 1); exit 1; }; }; }
2141 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2143 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2144 echo "${ECHO_T}$ac_cv_objext" >&6
2145 OBJEXT
=$ac_cv_objext
2147 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2148 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2149 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 cat >conftest.
$ac_ext <<_ACEOF
2155 cat confdefs.h
>>conftest.
$ac_ext
2156 cat >>conftest.
$ac_ext <<_ACEOF
2157 /* end confdefs.h. */
2170 rm -f conftest.
$ac_objext
2171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2172 (eval $ac_compile) 2>conftest.er1
2174 grep -v '^ *+' conftest.er1
>conftest.err
2176 cat conftest.err
>&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); } &&
2179 { ac_try
='test -z "$ac_c_werror_flag"
2180 || test ! -s conftest.err'
2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; } &&
2186 { ac_try
='test -s conftest.$ac_objext'
2187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; }; then
2194 echo "$as_me: failed program was:" >&5
2195 sed 's/^/| /' conftest.
$ac_ext >&5
2199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2200 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2203 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2204 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2205 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2206 ac_test_CFLAGS
=${CFLAGS+set}
2207 ac_save_CFLAGS
=$CFLAGS
2209 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2210 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2211 if test "${ac_cv_prog_cc_g+set}" = set; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2214 cat >conftest.
$ac_ext <<_ACEOF
2217 cat confdefs.h
>>conftest.
$ac_ext
2218 cat >>conftest.
$ac_ext <<_ACEOF
2219 /* end confdefs.h. */
2229 rm -f conftest.
$ac_objext
2230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2231 (eval $ac_compile) 2>conftest.er1
2233 grep -v '^ *+' conftest.er1
>conftest.err
2235 cat conftest.err
>&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); } &&
2238 { ac_try
='test -z "$ac_c_werror_flag"
2239 || test ! -s conftest.err'
2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }; } &&
2245 { ac_try
='test -s conftest.$ac_objext'
2246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); }; }; then
2253 echo "$as_me: failed program was:" >&5
2254 sed 's/^/| /' conftest.
$ac_ext >&5
2258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2260 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2261 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2262 if test "$ac_test_CFLAGS" = set; then
2263 CFLAGS
=$ac_save_CFLAGS
2264 elif test $ac_cv_prog_cc_g = yes; then
2265 if test "$GCC" = yes; then
2271 if test "$GCC" = yes; then
2277 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2278 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2279 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2282 ac_cv_prog_cc_stdc
=no
2284 cat >conftest.
$ac_ext <<_ACEOF
2287 cat confdefs.h
>>conftest.
$ac_ext
2288 cat >>conftest.
$ac_ext <<_ACEOF
2289 /* end confdefs.h. */
2292 #include <sys/types.h>
2293 #include <sys/stat.h>
2294 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2295 struct buf { int x; };
2296 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2297 static char *e (p, i)
2303 static char *f (char * (*g) (char **, int), char **p, ...)
2308 s = g (p, va_arg (v,int));
2313 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2314 function prototypes and stuff, but not '\xHH' hex character constants.
2315 These don't provoke an error unfortunately, instead are silently treated
2316 as 'x'. The following induces an error, until -std1 is added to get
2317 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2318 array size at least. It's necessary to write '\x00'==0 to get something
2319 that's true only with -std1. */
2320 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2322 int test (int i, double x);
2323 struct s1 {int (*f) (int a);};
2324 struct s2 {int (*f) (double a);};
2325 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2331 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2336 # Don't try gcc -ansi; that turns off useful extensions and
2337 # breaks some systems' header files.
2338 # AIX -qlanglvl=ansi
2339 # Ultrix and OSF/1 -std1
2340 # HP-UX 10.20 and later -Ae
2341 # HP-UX older versions -Aa -D_HPUX_SOURCE
2342 # SVR4 -Xc -D__EXTENSIONS__
2343 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2345 CC
="$ac_save_CC $ac_arg"
2346 rm -f conftest.
$ac_objext
2347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2348 (eval $ac_compile) 2>conftest.er1
2350 grep -v '^ *+' conftest.er1
>conftest.err
2352 cat conftest.err
>&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); } &&
2355 { ac_try
='test -z "$ac_c_werror_flag"
2356 || test ! -s conftest.err'
2357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }; } &&
2362 { ac_try
='test -s conftest.$ac_objext'
2363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }; }; then
2368 ac_cv_prog_cc_stdc
=$ac_arg
2371 echo "$as_me: failed program was:" >&5
2372 sed 's/^/| /' conftest.
$ac_ext >&5
2375 rm -f conftest.err conftest.
$ac_objext
2377 rm -f conftest.
$ac_ext conftest.
$ac_objext
2382 case "x$ac_cv_prog_cc_stdc" in
2384 echo "$as_me:$LINENO: result: none needed" >&5
2385 echo "${ECHO_T}none needed" >&6 ;;
2387 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2388 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2389 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2392 # Some people use a C++ compiler to compile C. Since we use `exit',
2393 # in C++ we need to declare it. In case someone uses the same compiler
2394 # for both compiling C and C++ we need to have the C++ compiler decide
2395 # the declaration of exit, since it's the most demanding environment.
2396 cat >conftest.
$ac_ext <<_ACEOF
2401 rm -f conftest.
$ac_objext
2402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2403 (eval $ac_compile) 2>conftest.er1
2405 grep -v '^ *+' conftest.er1
>conftest.err
2407 cat conftest.err
>&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); } &&
2410 { ac_try
='test -z "$ac_c_werror_flag"
2411 || test ! -s conftest.err'
2412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; } &&
2417 { ac_try
='test -s conftest.$ac_objext'
2418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }; }; then
2423 for ac_declaration
in \
2425 'extern "C" void std::exit (int) throw (); using std::exit;' \
2426 'extern "C" void std::exit (int); using std::exit;' \
2427 'extern "C" void exit (int) throw ();' \
2428 'extern "C" void exit (int);' \
2431 cat >conftest.
$ac_ext <<_ACEOF
2434 cat confdefs.h
>>conftest.
$ac_ext
2435 cat >>conftest.
$ac_ext <<_ACEOF
2436 /* end confdefs.h. */
2447 rm -f conftest.
$ac_objext
2448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2449 (eval $ac_compile) 2>conftest.er1
2451 grep -v '^ *+' conftest.er1
>conftest.err
2453 cat conftest.err
>&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); } &&
2456 { ac_try
='test -z "$ac_c_werror_flag"
2457 || test ! -s conftest.err'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; } &&
2463 { ac_try
='test -s conftest.$ac_objext'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; }; then
2471 echo "$as_me: failed program was:" >&5
2472 sed 's/^/| /' conftest.
$ac_ext >&5
2476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2477 cat >conftest.
$ac_ext <<_ACEOF
2480 cat confdefs.h
>>conftest.
$ac_ext
2481 cat >>conftest.
$ac_ext <<_ACEOF
2482 /* end confdefs.h. */
2492 rm -f conftest.
$ac_objext
2493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2494 (eval $ac_compile) 2>conftest.er1
2496 grep -v '^ *+' conftest.er1
>conftest.err
2498 cat conftest.err
>&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); } &&
2501 { ac_try
='test -z "$ac_c_werror_flag"
2502 || test ! -s conftest.err'
2503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }; } &&
2508 { ac_try
='test -s conftest.$ac_objext'
2509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); }; }; then
2516 echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.
$ac_ext >&5
2520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2523 if test -n "$ac_declaration"; then
2524 echo '#ifdef __cplusplus' >>confdefs.h
2525 echo $ac_declaration >>confdefs.h
2526 echo '#endif' >>confdefs.h
2530 echo "$as_me: failed program was:" >&5
2531 sed 's/^/| /' conftest.
$ac_ext >&5
2534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2536 ac_cpp
='$CPP $CPPFLAGS'
2537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2542 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2543 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2544 if test "${ac_cv_search_strerror+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 ac_func_search_save_LIBS
=$LIBS
2548 ac_cv_search_strerror
=no
2549 cat >conftest.
$ac_ext <<_ACEOF
2552 cat confdefs.h
>>conftest.
$ac_ext
2553 cat >>conftest.
$ac_ext <<_ACEOF
2554 /* end confdefs.h. */
2556 /* Override any gcc2 internal prototype to avoid an error. */
2560 /* We use char because int might match the return type of a gcc2
2561 builtin and then its argument prototype would still apply. */
2571 rm -f conftest.
$ac_objext conftest
$ac_exeext
2572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2573 (eval $ac_link) 2>conftest.er1
2575 grep -v '^ *+' conftest.er1
>conftest.err
2577 cat conftest.err
>&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); } &&
2580 { ac_try
='test -z "$ac_c_werror_flag"
2581 || test ! -s conftest.err'
2582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; } &&
2587 { ac_try
='test -s conftest$ac_exeext'
2588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; }; then
2593 ac_cv_search_strerror
="none required"
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.
$ac_ext >&5
2599 rm -f conftest.err conftest.
$ac_objext \
2600 conftest
$ac_exeext conftest.
$ac_ext
2601 if test "$ac_cv_search_strerror" = no
; then
2602 for ac_lib
in cposix
; do
2603 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2604 cat >conftest.
$ac_ext <<_ACEOF
2607 cat confdefs.h
>>conftest.
$ac_ext
2608 cat >>conftest.
$ac_ext <<_ACEOF
2609 /* end confdefs.h. */
2611 /* Override any gcc2 internal prototype to avoid an error. */
2615 /* We use char because int might match the return type of a gcc2
2616 builtin and then its argument prototype would still apply. */
2626 rm -f conftest.
$ac_objext conftest
$ac_exeext
2627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2628 (eval $ac_link) 2>conftest.er1
2630 grep -v '^ *+' conftest.er1
>conftest.err
2632 cat conftest.err
>&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); } &&
2635 { ac_try
='test -z "$ac_c_werror_flag"
2636 || test ! -s conftest.err'
2637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }; } &&
2642 { ac_try
='test -s conftest$ac_exeext'
2643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); }; }; then
2648 ac_cv_search_strerror
="-l$ac_lib"
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.
$ac_ext >&5
2655 rm -f conftest.err conftest.
$ac_objext \
2656 conftest
$ac_exeext conftest.
$ac_ext
2659 LIBS
=$ac_func_search_save_LIBS
2661 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2662 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2663 if test "$ac_cv_search_strerror" != no
; then
2664 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2669 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2670 am__api_version
="1.9"
2671 # Find a good install program. We prefer a C program (faster),
2672 # so one script is as good as another. But avoid the broken or
2673 # incompatible versions:
2674 # SysV /etc/install, /usr/sbin/install
2675 # SunOS /usr/etc/install
2676 # IRIX /sbin/install
2678 # AmigaOS /C/install, which installs bootblocks on floppy discs
2679 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2680 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2681 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2682 # OS/2's system install, which has a completely different semantic
2683 # ./install, which can be erroneously created by make from ./install.sh.
2684 # Reject install programs that cannot install multiple files.
2685 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2686 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2687 if test -z "$INSTALL"; then
2688 if test "${ac_cv_path_install+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir
=.
2696 # Account for people who put trailing slashes in PATH elements.
2698 .
/ | .
// |
/cC
/* | \
2699 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2700 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2703 # OSF1 and SCO ODT 3.0 have their own names for install.
2704 # Don't use installbsd from OSF since it installs stuff as root
2706 for ac_prog
in ginstall scoinst
install; do
2707 for ac_exec_ext
in '' $ac_executable_extensions; do
2708 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2709 if test $ac_prog = install &&
2710 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2711 # AIX install. It has an incompatible calling convention.
2713 elif test $ac_prog = install &&
2714 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2715 # program-specific install script used by HP pwplus--don't use.
2718 rm -rf conftest.one conftest.two conftest.dir
2719 echo one
> conftest.one
2720 echo two
> conftest.two
2722 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2723 test -s conftest.one
&& test -s conftest.two
&&
2724 test -s conftest.dir
/conftest.one
&&
2725 test -s conftest.dir
/conftest.two
2727 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2738 rm -rf conftest.one conftest.two conftest.dir
2741 if test "${ac_cv_path_install+set}" = set; then
2742 INSTALL
=$ac_cv_path_install
2744 # As a last resort, use the slow shell script. Don't cache a
2745 # value for INSTALL within a source directory, because that will
2746 # break other packages using the cache if that directory is
2747 # removed, or if the value is a relative name.
2748 INSTALL
=$ac_install_sh
2751 echo "$as_me:$LINENO: result: $INSTALL" >&5
2752 echo "${ECHO_T}$INSTALL" >&6
2754 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2755 # It thinks the first close brace ends the variable substitution.
2756 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2758 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2760 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2762 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2763 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2766 echo timestamp
> conftest.
file
2767 # Do `set' in a subshell so we don't clobber the current shell's
2768 # arguments. Must try -L first in case configure is actually a
2769 # symlink; some systems play weird games with the mod time of symlinks
2770 # (eg FreeBSD returns the mod time of the symlink's containing
2773 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2774 if test "$*" = "X"; then
2776 set X
`ls -t $srcdir/configure conftest.file`
2779 if test "$*" != "X $srcdir/configure conftest.file" \
2780 && test "$*" != "X conftest.file $srcdir/configure"; then
2782 # If neither matched, then we have a broken ls. This can happen
2783 # if, for instance, CONFIG_SHELL is bash and it inherits a
2784 # broken ls alias from the environment. This has actually
2785 # happened. Such a system could not be considered "sane".
2786 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2787 alias in your environment" >&5
2788 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2789 alias in your environment" >&2;}
2790 { (exit 1); exit 1; }; }
2793 test "$2" = conftest.
file
2799 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2800 Check your system clock" >&5
2801 echo "$as_me: error: newly created file is older than distributed files!
2802 Check your system clock" >&2;}
2803 { (exit 1); exit 1; }; }
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 test "$program_prefix" != NONE
&&
2808 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2809 # Use a double $ so make ignores it.
2810 test "$program_suffix" != NONE
&&
2811 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2812 # Double any \ or $. echo might interpret backslashes.
2813 # By default was `s,x,x', remove it if useless.
2814 cat <<\_ACEOF
>conftest.
sed
2815 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2817 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2820 # expand $ac_aux_dir to an absolute path
2821 am_aux_dir
=`cd $ac_aux_dir && pwd`
2823 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2824 # Use eval to expand $SHELL
2825 if eval "$MISSING --run true"; then
2826 am_missing_run
="$MISSING --run "
2829 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2830 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2833 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2834 # We used to keeping the `.' as first argument, in order to
2835 # allow $(mkdir_p) to be used without argument. As in
2836 # $(mkdir_p) $(somedir)
2837 # where $(somedir) is conditionally defined. However this is wrong
2839 # 1. if the package is installed by a user who cannot write `.'
2840 # make install will fail,
2841 # 2. the above comment should most certainly read
2842 # $(mkdir_p) $(DESTDIR)$(somedir)
2843 # so it does not work when $(somedir) is undefined and
2844 # $(DESTDIR) is not.
2845 # To support the latter case, we have to write
2846 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2847 # so the `.' trick is pointless.
2848 mkdir_p
='mkdir -p --'
2850 # On NextStep and OpenStep, the `mkdir' command does not
2851 # recognize any option. It will interpret all options as
2852 # directories to create, and then abort because `.' already
2854 for d
in .
/-p .
/--version;
2856 test -d $d && rmdir $d
2858 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2859 if test -f "$ac_aux_dir/mkinstalldirs"; then
2860 mkdir_p
='$(mkinstalldirs)'
2862 mkdir_p
='$(install_sh) -d'
2866 for ac_prog
in gawk mawk nawk
awk
2868 # Extract the first word of "$ac_prog", so it can be a program name with args.
2869 set dummy
$ac_prog; ac_word
=$2
2870 echo "$as_me:$LINENO: checking for $ac_word" >&5
2871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2872 if test "${ac_cv_prog_AWK+set}" = set; then
2873 echo $ECHO_N "(cached) $ECHO_C" >&6
2875 if test -n "$AWK"; then
2876 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir
=.
2883 for ac_exec_ext
in '' $ac_executable_extensions; do
2884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2885 ac_cv_prog_AWK
="$ac_prog"
2886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2895 if test -n "$AWK"; then
2896 echo "$as_me:$LINENO: result: $AWK" >&5
2897 echo "${ECHO_T}$AWK" >&6
2899 echo "$as_me:$LINENO: result: no" >&5
2900 echo "${ECHO_T}no" >&6
2903 test -n "$AWK" && break
2906 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2907 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2908 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2909 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2910 echo $ECHO_N "(cached) $ECHO_C" >&6
2912 cat >conftest.
make <<\_ACEOF
2914 @
echo 'ac_maketemp="$(MAKE)"'
2916 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2917 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2918 if test -n "$ac_maketemp"; then
2919 eval ac_cv_prog_make_
${ac_make}_set
=yes
2921 eval ac_cv_prog_make_
${ac_make}_set
=no
2925 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2926 echo "$as_me:$LINENO: result: yes" >&5
2927 echo "${ECHO_T}yes" >&6
2930 echo "$as_me:$LINENO: result: no" >&5
2931 echo "${ECHO_T}no" >&6
2932 SET_MAKE
="MAKE=${MAKE-make}"
2935 rm -rf .tst
2>/dev
/null
2936 mkdir .tst
2>/dev
/null
2937 if test -d .tst
; then
2942 rmdir .tst
2>/dev
/null
2944 DEPDIR
="${am__leading_dot}deps"
2946 ac_config_commands
="$ac_config_commands depfiles"
2949 am_make
=${MAKE-make}
2950 cat > confinc
<< 'END'
2955 # If we don't find an include directive, just comment out the code.
2956 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2957 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2961 # First try GNU make style include.
2962 echo "include confinc" > confmf
2963 # We grep out `Entering directory' and `Leaving directory'
2964 # messages which can occur if `w' ends up in MAKEFLAGS.
2965 # In particular we don't look at `^make:' because GNU make might
2966 # be invoked under some other name (usually "gmake"), in which
2967 # case it prints its new name instead of `make'.
2968 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2973 # Now try BSD make style include.
2974 if test "$am__include" = "#"; then
2975 echo '.include "confinc"' > confmf
2976 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2977 am__include
=.include
2984 echo "$as_me:$LINENO: result: $_am_result" >&5
2985 echo "${ECHO_T}$_am_result" >&6
2986 rm -f confinc confmf
2988 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2989 if test "${enable_dependency_tracking+set}" = set; then
2990 enableval
="$enable_dependency_tracking"
2993 if test "x$enable_dependency_tracking" != xno
; then
2994 am_depcomp
="$ac_aux_dir/depcomp"
2999 if test "x$enable_dependency_tracking" != xno; then
3009 # test to see if srcdir already configured
3010 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3011 test -f $srcdir/config.status
; then
3012 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3013 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3014 { (exit 1); exit 1; }; }
3017 # test whether we have cygpath
3018 if test -z "$CYGPATH_W"; then
3019 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3020 CYGPATH_W
='cygpath -w'
3027 # Define the identity of the package.
3029 VERSION
=${BFD_VERSION}
3032 cat >>confdefs.h
<<_ACEOF
3033 #define PACKAGE "$PACKAGE"
3037 cat >>confdefs.h
<<_ACEOF
3038 #define VERSION "$VERSION"
3041 # Some tools Automake needs.
3043 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3046 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3049 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3052 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3055 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3057 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3059 # Installed binaries are usually stripped using `strip' when the user
3060 # run `make install-strip'. However `strip' might not be the right
3061 # tool to use in cross-compilation environments, therefore Automake
3062 # will honor the `STRIP' environment variable to overrule this program.
3063 if test "$cross_compiling" != no
; then
3064 if test -n "$ac_tool_prefix"; then
3065 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3066 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3067 echo "$as_me:$LINENO: checking for $ac_word" >&5
3068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3069 if test "${ac_cv_prog_STRIP+set}" = set; then
3070 echo $ECHO_N "(cached) $ECHO_C" >&6
3072 if test -n "$STRIP"; then
3073 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3079 test -z "$as_dir" && as_dir
=.
3080 for ac_exec_ext
in '' $ac_executable_extensions; do
3081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3082 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 STRIP
=$ac_cv_prog_STRIP
3092 if test -n "$STRIP"; then
3093 echo "$as_me:$LINENO: result: $STRIP" >&5
3094 echo "${ECHO_T}$STRIP" >&6
3096 echo "$as_me:$LINENO: result: no" >&5
3097 echo "${ECHO_T}no" >&6
3101 if test -z "$ac_cv_prog_STRIP"; then
3103 # Extract the first word of "strip", so it can be a program name with args.
3104 set dummy strip
; ac_word
=$2
3105 echo "$as_me:$LINENO: checking for $ac_word" >&5
3106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3107 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3108 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 if test -n "$ac_ct_STRIP"; then
3111 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3117 test -z "$as_dir" && as_dir
=.
3118 for ac_exec_ext
in '' $ac_executable_extensions; do
3119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3120 ac_cv_prog_ac_ct_STRIP
="strip"
3121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3127 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3130 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3131 if test -n "$ac_ct_STRIP"; then
3132 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3133 echo "${ECHO_T}$ac_ct_STRIP" >&6
3135 echo "$as_me:$LINENO: result: no" >&5
3136 echo "${ECHO_T}no" >&6
3141 STRIP
="$ac_cv_prog_STRIP"
3145 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3147 # We need awk for the "check" target. The system "awk" is bad on
3149 # Always define AMTAR for backward compatibility.
3151 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3153 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3158 depcc
="$CC" am_compiler_list
=
3160 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3161 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3162 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3163 echo $ECHO_N "(cached) $ECHO_C" >&6
3165 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3166 # We make a subdir and do the tests there. Otherwise we can end up
3167 # making bogus files that we don't know about and never remove. For
3168 # instance it was reported that on HP-UX the gcc test will end up
3169 # making a dummy file named `D' -- because `-MD' means `put the output
3172 # Copy depcomp to subdir because otherwise we won't find it if we're
3173 # using a relative directory.
3174 cp "$am_depcomp" conftest.dir
3176 # We will build objects and dependencies in a subdirectory because
3177 # it helps to detect inapplicable dependency modes. For instance
3178 # both Tru64's cc and ICC support -MD to output dependencies as a
3179 # side effect of compilation, but ICC will put the dependencies in
3180 # the current directory while Tru64 will put them in the object
3184 am_cv_CC_dependencies_compiler_type
=none
3185 if test "$am_compiler_list" = ""; then
3186 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3188 for depmode
in $am_compiler_list; do
3189 # Setup a source with many dependencies, because some compilers
3190 # like to wrap large dependency lists on column 80 (with \), and
3191 # we should not choose a depcomp mode which is confused by this.
3193 # We need to recreate these files for each test, as the compiler may
3194 # overwrite some of them when testing with obscure command lines.
3195 # This happens at least with the AIX C compiler.
3197 for i
in 1 2 3 4 5 6; do
3198 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3199 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3200 # Solaris 8's {/usr,}/bin/sh.
3201 touch sub
/conftst
$i.h
3203 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3207 # after this tag, mechanisms are not by side-effect, so they'll
3208 # only be used when explicitly requested
3209 if test "x$enable_dependency_tracking" = xyes
; then
3217 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3218 # mode. It turns out that the SunPro C++ compiler does not properly
3219 # handle `-M -o', and we need to detect this.
3220 if depmode
=$depmode \
3221 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3222 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3223 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3224 >/dev
/null
2>conftest.err
&&
3225 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3226 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3227 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3228 # icc doesn't choke on unknown options, it will just issue warnings
3229 # or remarks (even with -Werror). So we grep stderr for any message
3230 # that says an option was ignored or not supported.
3231 # When given -MP, icc 7.0 and 7.1 complain thusly:
3232 # icc: Command line warning: ignoring option '-M'; no argument required
3233 # The diagnosis changed in icc 8.0:
3234 # icc: Command line remark: option '-MP' not supported
3235 if (grep 'ignoring option' conftest.err ||
3236 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3237 am_cv_CC_dependencies_compiler_type
=$depmode
3246 am_cv_CC_dependencies_compiler_type
=none
3250 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3251 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3252 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3257 test "x$enable_dependency_tracking" != xno \
3258 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3260 am__fastdepCC_FALSE
='#'
3262 am__fastdepCC_TRUE
='#'
3263 am__fastdepCC_FALSE
=
3270 ac_cpp
='$CPP $CPPFLAGS'
3271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3274 if test -n "$ac_tool_prefix"; then
3275 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3276 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3277 echo "$as_me:$LINENO: checking for $ac_word" >&5
3278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3279 if test "${ac_cv_prog_CC+set}" = set; then
3280 echo $ECHO_N "(cached) $ECHO_C" >&6
3282 if test -n "$CC"; then
3283 ac_cv_prog_CC
="$CC" # Let the user override the test.
3285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3289 test -z "$as_dir" && as_dir
=.
3290 for ac_exec_ext
in '' $ac_executable_extensions; do
3291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3292 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 if test -n "$CC"; then
3303 echo "$as_me:$LINENO: result: $CC" >&5
3304 echo "${ECHO_T}$CC" >&6
3306 echo "$as_me:$LINENO: result: no" >&5
3307 echo "${ECHO_T}no" >&6
3311 if test -z "$ac_cv_prog_CC"; then
3313 # Extract the first word of "gcc", so it can be a program name with args.
3314 set dummy gcc
; ac_word
=$2
3315 echo "$as_me:$LINENO: checking for $ac_word" >&5
3316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 if test -n "$ac_ct_CC"; then
3321 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3327 test -z "$as_dir" && as_dir
=.
3328 for ac_exec_ext
in '' $ac_executable_extensions; do
3329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3330 ac_cv_prog_ac_ct_CC
="gcc"
3331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3339 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3340 if test -n "$ac_ct_CC"; then
3341 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3342 echo "${ECHO_T}$ac_ct_CC" >&6
3344 echo "$as_me:$LINENO: result: no" >&5
3345 echo "${ECHO_T}no" >&6
3353 if test -z "$CC"; then
3354 if test -n "$ac_tool_prefix"; then
3355 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3356 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3357 echo "$as_me:$LINENO: checking for $ac_word" >&5
3358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3359 if test "${ac_cv_prog_CC+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 if test -n "$CC"; then
3363 ac_cv_prog_CC
="$CC" # Let the user override the test.
3365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3369 test -z "$as_dir" && as_dir
=.
3370 for ac_exec_ext
in '' $ac_executable_extensions; do
3371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 if test -n "$CC"; then
3383 echo "$as_me:$LINENO: result: $CC" >&5
3384 echo "${ECHO_T}$CC" >&6
3386 echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6
3391 if test -z "$ac_cv_prog_CC"; then
3393 # Extract the first word of "cc", so it can be a program name with args.
3394 set dummy cc
; ac_word
=$2
3395 echo "$as_me:$LINENO: checking for $ac_word" >&5
3396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3397 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 if test -n "$ac_ct_CC"; then
3401 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir
=.
3408 for ac_exec_ext
in '' $ac_executable_extensions; do
3409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410 ac_cv_prog_ac_ct_CC
="cc"
3411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3419 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3420 if test -n "$ac_ct_CC"; then
3421 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3422 echo "${ECHO_T}$ac_ct_CC" >&6
3424 echo "$as_me:$LINENO: result: no" >&5
3425 echo "${ECHO_T}no" >&6
3434 if test -z "$CC"; then
3435 # Extract the first word of "cc", so it can be a program name with args.
3436 set dummy cc
; ac_word
=$2
3437 echo "$as_me:$LINENO: checking for $ac_word" >&5
3438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3439 if test "${ac_cv_prog_CC+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 if test -n "$CC"; then
3443 ac_cv_prog_CC
="$CC" # Let the user override the test.
3446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3450 test -z "$as_dir" && as_dir
=.
3451 for ac_exec_ext
in '' $ac_executable_extensions; do
3452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3453 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3454 ac_prog_rejected
=yes
3458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3464 if test $ac_prog_rejected = yes; then
3465 # We found a bogon in the path, so make sure we never use it.
3466 set dummy
$ac_cv_prog_CC
3468 if test $# != 0; then
3469 # We chose a different compiler from the bogus one.
3470 # However, it has the same basename, so the bogon will be chosen
3471 # first if we set CC to just the basename; use the full file name.
3473 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3479 if test -n "$CC"; then
3480 echo "$as_me:$LINENO: result: $CC" >&5
3481 echo "${ECHO_T}$CC" >&6
3483 echo "$as_me:$LINENO: result: no" >&5
3484 echo "${ECHO_T}no" >&6
3488 if test -z "$CC"; then
3489 if test -n "$ac_tool_prefix"; then
3492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3493 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3494 echo "$as_me:$LINENO: checking for $ac_word" >&5
3495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3496 if test "${ac_cv_prog_CC+set}" = set; then
3497 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 if test -n "$CC"; then
3500 ac_cv_prog_CC
="$CC" # Let the user override the test.
3502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3506 test -z "$as_dir" && as_dir
=.
3507 for ac_exec_ext
in '' $ac_executable_extensions; do
3508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3509 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3519 if test -n "$CC"; then
3520 echo "$as_me:$LINENO: result: $CC" >&5
3521 echo "${ECHO_T}$CC" >&6
3523 echo "$as_me:$LINENO: result: no" >&5
3524 echo "${ECHO_T}no" >&6
3527 test -n "$CC" && break
3530 if test -z "$CC"; then
3534 # Extract the first word of "$ac_prog", so it can be a program name with args.
3535 set dummy
$ac_prog; ac_word
=$2
3536 echo "$as_me:$LINENO: checking for $ac_word" >&5
3537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3538 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3539 echo $ECHO_N "(cached) $ECHO_C" >&6
3541 if test -n "$ac_ct_CC"; then
3542 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3548 test -z "$as_dir" && as_dir
=.
3549 for ac_exec_ext
in '' $ac_executable_extensions; do
3550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551 ac_cv_prog_ac_ct_CC
="$ac_prog"
3552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3560 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3561 if test -n "$ac_ct_CC"; then
3562 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3563 echo "${ECHO_T}$ac_ct_CC" >&6
3565 echo "$as_me:$LINENO: result: no" >&5
3566 echo "${ECHO_T}no" >&6
3569 test -n "$ac_ct_CC" && break
3578 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3579 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3581 See \`config.log' for more details." >&5
3582 echo "$as_me: error: no acceptable C compiler found in \$PATH
3583 See \`config.log' for more details." >&2;}
3584 { (exit 1); exit 1; }; }; }
3586 # Provide some information about the compiler.
3587 echo "$as_me:$LINENO:" \
3588 "checking for C compiler version" >&5
3589 ac_compiler
=`set X $ac_compile; echo $2`
3590 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3591 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); }
3595 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3596 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); }
3600 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3601 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }
3606 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3607 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3608 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3609 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 cat >conftest.
$ac_ext <<_ACEOF
3614 cat confdefs.h
>>conftest.
$ac_ext
3615 cat >>conftest.
$ac_ext <<_ACEOF
3616 /* end confdefs.h. */
3629 rm -f conftest.
$ac_objext
3630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3631 (eval $ac_compile) 2>conftest.er1
3633 grep -v '^ *+' conftest.er1
>conftest.err
3635 cat conftest.err
>&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); } &&
3638 { ac_try
='test -z "$ac_c_werror_flag"
3639 || test ! -s conftest.err'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; } &&
3645 { ac_try
='test -s conftest.$ac_objext'
3646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; }; then
3653 echo "$as_me: failed program was:" >&5
3654 sed 's/^/| /' conftest.
$ac_ext >&5
3658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3659 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3662 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3663 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3664 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3665 ac_test_CFLAGS
=${CFLAGS+set}
3666 ac_save_CFLAGS
=$CFLAGS
3668 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3669 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3670 if test "${ac_cv_prog_cc_g+set}" = set; then
3671 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 cat >conftest.
$ac_ext <<_ACEOF
3676 cat confdefs.h
>>conftest.
$ac_ext
3677 cat >>conftest.
$ac_ext <<_ACEOF
3678 /* end confdefs.h. */
3688 rm -f conftest.
$ac_objext
3689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3690 (eval $ac_compile) 2>conftest.er1
3692 grep -v '^ *+' conftest.er1
>conftest.err
3694 cat conftest.err
>&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); } &&
3697 { ac_try
='test -z "$ac_c_werror_flag"
3698 || test ! -s conftest.err'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; } &&
3704 { ac_try
='test -s conftest.$ac_objext'
3705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); }; }; then
3712 echo "$as_me: failed program was:" >&5
3713 sed 's/^/| /' conftest.
$ac_ext >&5
3717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3719 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3720 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3721 if test "$ac_test_CFLAGS" = set; then
3722 CFLAGS
=$ac_save_CFLAGS
3723 elif test $ac_cv_prog_cc_g = yes; then
3724 if test "$GCC" = yes; then
3730 if test "$GCC" = yes; then
3736 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3737 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3738 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3739 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 ac_cv_prog_cc_stdc
=no
3743 cat >conftest.
$ac_ext <<_ACEOF
3746 cat confdefs.h
>>conftest.
$ac_ext
3747 cat >>conftest.
$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3751 #include <sys/types.h>
3752 #include <sys/stat.h>
3753 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3754 struct buf { int x; };
3755 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3756 static char *e (p, i)
3762 static char *f (char * (*g) (char **, int), char **p, ...)
3767 s = g (p, va_arg (v,int));
3772 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3773 function prototypes and stuff, but not '\xHH' hex character constants.
3774 These don't provoke an error unfortunately, instead are silently treated
3775 as 'x'. The following induces an error, until -std1 is added to get
3776 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3777 array size at least. It's necessary to write '\x00'==0 to get something
3778 that's true only with -std1. */
3779 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3781 int test (int i, double x);
3782 struct s1 {int (*f) (int a);};
3783 struct s2 {int (*f) (double a);};
3784 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3790 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3795 # Don't try gcc -ansi; that turns off useful extensions and
3796 # breaks some systems' header files.
3797 # AIX -qlanglvl=ansi
3798 # Ultrix and OSF/1 -std1
3799 # HP-UX 10.20 and later -Ae
3800 # HP-UX older versions -Aa -D_HPUX_SOURCE
3801 # SVR4 -Xc -D__EXTENSIONS__
3802 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3804 CC
="$ac_save_CC $ac_arg"
3805 rm -f conftest.
$ac_objext
3806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3807 (eval $ac_compile) 2>conftest.er1
3809 grep -v '^ *+' conftest.er1
>conftest.err
3811 cat conftest.err
>&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); } &&
3814 { ac_try
='test -z "$ac_c_werror_flag"
3815 || test ! -s conftest.err'
3816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); }; } &&
3821 { ac_try
='test -s conftest.$ac_objext'
3822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826 (exit $ac_status); }; }; then
3827 ac_cv_prog_cc_stdc
=$ac_arg
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.
$ac_ext >&5
3834 rm -f conftest.err conftest.
$ac_objext
3836 rm -f conftest.
$ac_ext conftest.
$ac_objext
3841 case "x$ac_cv_prog_cc_stdc" in
3843 echo "$as_me:$LINENO: result: none needed" >&5
3844 echo "${ECHO_T}none needed" >&6 ;;
3846 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3847 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3848 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3851 # Some people use a C++ compiler to compile C. Since we use `exit',
3852 # in C++ we need to declare it. In case someone uses the same compiler
3853 # for both compiling C and C++ we need to have the C++ compiler decide
3854 # the declaration of exit, since it's the most demanding environment.
3855 cat >conftest.
$ac_ext <<_ACEOF
3860 rm -f conftest.
$ac_objext
3861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3862 (eval $ac_compile) 2>conftest.er1
3864 grep -v '^ *+' conftest.er1
>conftest.err
3866 cat conftest.err
>&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); } &&
3869 { ac_try
='test -z "$ac_c_werror_flag"
3870 || test ! -s conftest.err'
3871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; } &&
3876 { ac_try
='test -s conftest.$ac_objext'
3877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); }; }; then
3882 for ac_declaration
in \
3884 'extern "C" void std::exit (int) throw (); using std::exit;' \
3885 'extern "C" void std::exit (int); using std::exit;' \
3886 'extern "C" void exit (int) throw ();' \
3887 'extern "C" void exit (int);' \
3890 cat >conftest.
$ac_ext <<_ACEOF
3893 cat confdefs.h
>>conftest.
$ac_ext
3894 cat >>conftest.
$ac_ext <<_ACEOF
3895 /* end confdefs.h. */
3906 rm -f conftest.
$ac_objext
3907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3908 (eval $ac_compile) 2>conftest.er1
3910 grep -v '^ *+' conftest.er1
>conftest.err
3912 cat conftest.err
>&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } &&
3915 { ac_try
='test -z "$ac_c_werror_flag"
3916 || test ! -s conftest.err'
3917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); }; } &&
3922 { ac_try
='test -s conftest.$ac_objext'
3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }; }; then
3930 echo "$as_me: failed program was:" >&5
3931 sed 's/^/| /' conftest.
$ac_ext >&5
3935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3936 cat >conftest.
$ac_ext <<_ACEOF
3939 cat confdefs.h
>>conftest.
$ac_ext
3940 cat >>conftest.
$ac_ext <<_ACEOF
3941 /* end confdefs.h. */
3951 rm -f conftest.
$ac_objext
3952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3953 (eval $ac_compile) 2>conftest.er1
3955 grep -v '^ *+' conftest.er1
>conftest.err
3957 cat conftest.err
>&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); } &&
3960 { ac_try
='test -z "$ac_c_werror_flag"
3961 || test ! -s conftest.err'
3962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); }; } &&
3967 { ac_try
='test -s conftest.$ac_objext'
3968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); }; }; then
3975 echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.
$ac_ext >&5
3979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3982 if test -n "$ac_declaration"; then
3983 echo '#ifdef __cplusplus' >>confdefs.h
3984 echo $ac_declaration >>confdefs.h
3985 echo '#endif' >>confdefs.h
3989 echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.
$ac_ext >&5
3993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3995 ac_cpp
='$CPP $CPPFLAGS'
3996 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3997 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3998 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4001 cat >>confdefs.h
<<\_ACEOF
4002 #define _GNU_SOURCE 1
4007 ac_cpp
='$CPP $CPPFLAGS'
4008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4011 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4012 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4013 # On Suns, sometimes $CPP names a directory.
4014 if test -n "$CPP" && test -d "$CPP"; then
4017 if test -z "$CPP"; then
4018 if test "${ac_cv_prog_CPP+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 # Double quotes because CPP needs to be expanded
4022 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4025 for ac_c_preproc_warn_flag
in '' yes
4027 # Use a header file that comes with gcc, so configuring glibc
4028 # with a fresh cross-compiler works.
4029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4030 # <limits.h> exists even on freestanding compilers.
4031 # On the NeXT, cc -E runs the code through the compiler's parser,
4032 # not just through cpp. "Syntax error" is here to catch this case.
4033 cat >conftest.
$ac_ext <<_ACEOF
4036 cat confdefs.h
>>conftest.
$ac_ext
4037 cat >>conftest.
$ac_ext <<_ACEOF
4038 /* end confdefs.h. */
4040 # include <limits.h>
4042 # include <assert.h>
4046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4047 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4049 grep -v '^ *+' conftest.er1
>conftest.err
4051 cat conftest.err
>&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); } >/dev
/null
; then
4054 if test -s conftest.err
; then
4055 ac_cpp_err
=$ac_c_preproc_warn_flag
4056 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4063 if test -z "$ac_cpp_err"; then
4066 echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.
$ac_ext >&5
4069 # Broken: fails on valid input.
4072 rm -f conftest.err conftest.
$ac_ext
4074 # OK, works on sane cases. Now check whether non-existent headers
4075 # can be detected and how.
4076 cat >conftest.
$ac_ext <<_ACEOF
4079 cat confdefs.h
>>conftest.
$ac_ext
4080 cat >>conftest.
$ac_ext <<_ACEOF
4081 /* end confdefs.h. */
4082 #include <ac_nonexistent.h>
4084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4085 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4087 grep -v '^ *+' conftest.er1
>conftest.err
4089 cat conftest.err
>&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); } >/dev
/null
; then
4092 if test -s conftest.err
; then
4093 ac_cpp_err
=$ac_c_preproc_warn_flag
4094 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4101 if test -z "$ac_cpp_err"; then
4102 # Broken: success on invalid input.
4105 echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.
$ac_ext >&5
4108 # Passes both tests.
4112 rm -f conftest.err conftest.
$ac_ext
4115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4116 rm -f conftest.err conftest.
$ac_ext
4117 if $ac_preproc_ok; then
4129 echo "$as_me:$LINENO: result: $CPP" >&5
4130 echo "${ECHO_T}$CPP" >&6
4132 for ac_c_preproc_warn_flag
in '' yes
4134 # Use a header file that comes with gcc, so configuring glibc
4135 # with a fresh cross-compiler works.
4136 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4137 # <limits.h> exists even on freestanding compilers.
4138 # On the NeXT, cc -E runs the code through the compiler's parser,
4139 # not just through cpp. "Syntax error" is here to catch this case.
4140 cat >conftest.
$ac_ext <<_ACEOF
4143 cat confdefs.h
>>conftest.
$ac_ext
4144 cat >>conftest.
$ac_ext <<_ACEOF
4145 /* end confdefs.h. */
4147 # include <limits.h>
4149 # include <assert.h>
4153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4154 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4156 grep -v '^ *+' conftest.er1
>conftest.err
4158 cat conftest.err
>&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); } >/dev
/null
; then
4161 if test -s conftest.err
; then
4162 ac_cpp_err
=$ac_c_preproc_warn_flag
4163 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4170 if test -z "$ac_cpp_err"; then
4173 echo "$as_me: failed program was:" >&5
4174 sed 's/^/| /' conftest.
$ac_ext >&5
4176 # Broken: fails on valid input.
4179 rm -f conftest.err conftest.
$ac_ext
4181 # OK, works on sane cases. Now check whether non-existent headers
4182 # can be detected and how.
4183 cat >conftest.
$ac_ext <<_ACEOF
4186 cat confdefs.h
>>conftest.
$ac_ext
4187 cat >>conftest.
$ac_ext <<_ACEOF
4188 /* end confdefs.h. */
4189 #include <ac_nonexistent.h>
4191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4192 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4194 grep -v '^ *+' conftest.er1
>conftest.err
4196 cat conftest.err
>&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); } >/dev
/null
; then
4199 if test -s conftest.err
; then
4200 ac_cpp_err
=$ac_c_preproc_warn_flag
4201 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4208 if test -z "$ac_cpp_err"; then
4209 # Broken: success on invalid input.
4212 echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.
$ac_ext >&5
4215 # Passes both tests.
4219 rm -f conftest.err conftest.
$ac_ext
4222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4223 rm -f conftest.err conftest.
$ac_ext
4224 if $ac_preproc_ok; then
4227 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4228 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4229 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4230 See \`config.log' for more details." >&5
4231 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4232 See \`config.log' for more details." >&2;}
4233 { (exit 1); exit 1; }; }; }
4237 ac_cpp
='$CPP $CPPFLAGS'
4238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4243 echo "$as_me:$LINENO: checking for egrep" >&5
4244 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4245 if test "${ac_cv_prog_egrep+set}" = set; then
4246 echo $ECHO_N "(cached) $ECHO_C" >&6
4248 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4249 then ac_cv_prog_egrep
='grep -E'
4250 else ac_cv_prog_egrep
='egrep'
4253 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4254 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4255 EGREP
=$ac_cv_prog_egrep
4258 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4259 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4260 if test "${ac_cv_header_stdc+set}" = set; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 cat >conftest.
$ac_ext <<_ACEOF
4266 cat confdefs.h
>>conftest.
$ac_ext
4267 cat >>conftest.
$ac_ext <<_ACEOF
4268 /* end confdefs.h. */
4282 rm -f conftest.
$ac_objext
4283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4284 (eval $ac_compile) 2>conftest.er1
4286 grep -v '^ *+' conftest.er1
>conftest.err
4288 cat conftest.err
>&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); } &&
4291 { ac_try
='test -z "$ac_c_werror_flag"
4292 || test ! -s conftest.err'
4293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); }; } &&
4298 { ac_try
='test -s conftest.$ac_objext'
4299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); }; }; then
4304 ac_cv_header_stdc
=yes
4306 echo "$as_me: failed program was:" >&5
4307 sed 's/^/| /' conftest.
$ac_ext >&5
4309 ac_cv_header_stdc
=no
4311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4313 if test $ac_cv_header_stdc = yes; then
4314 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4315 cat >conftest.
$ac_ext <<_ACEOF
4318 cat confdefs.h
>>conftest.
$ac_ext
4319 cat >>conftest.
$ac_ext <<_ACEOF
4320 /* end confdefs.h. */
4324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4325 $EGREP "memchr" >/dev
/null
2>&1; then
4328 ac_cv_header_stdc
=no
4334 if test $ac_cv_header_stdc = yes; then
4335 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4336 cat >conftest.
$ac_ext <<_ACEOF
4339 cat confdefs.h
>>conftest.
$ac_ext
4340 cat >>conftest.
$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4346 $EGREP "free" >/dev
/null
2>&1; then
4349 ac_cv_header_stdc
=no
4355 if test $ac_cv_header_stdc = yes; then
4356 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4357 if test "$cross_compiling" = yes; then
4360 cat >conftest.
$ac_ext <<_ACEOF
4363 cat confdefs.h
>>conftest.
$ac_ext
4364 cat >>conftest.
$ac_ext <<_ACEOF
4365 /* end confdefs.h. */
4367 #if ((' ' & 0x0FF) == 0x020)
4368 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4369 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4371 # define ISLOWER(c) \
4372 (('a' <= (c) && (c) <= 'i') \
4373 || ('j' <= (c) && (c) <= 'r') \
4374 || ('s' <= (c) && (c) <= 'z'))
4375 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4378 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4383 for (i = 0; i < 256; i++)
4384 if (XOR (islower (i), ISLOWER (i))
4385 || toupper (i) != TOUPPER (i))
4390 rm -f conftest
$ac_exeext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4392 (eval $ac_link) 2>&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; }; then
4403 echo "$as_me: program exited with status $ac_status" >&5
4404 echo "$as_me: failed program was:" >&5
4405 sed 's/^/| /' conftest.
$ac_ext >&5
4408 ac_cv_header_stdc
=no
4410 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4414 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4415 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4416 if test $ac_cv_header_stdc = yes; then
4418 cat >>confdefs.h
<<\_ACEOF
4419 #define STDC_HEADERS 1
4424 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4434 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4435 inttypes.h stdint.h unistd.h
4437 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4438 echo "$as_me:$LINENO: checking for $ac_header" >&5
4439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4441 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 cat >conftest.
$ac_ext <<_ACEOF
4446 cat confdefs.h
>>conftest.
$ac_ext
4447 cat >>conftest.
$ac_ext <<_ACEOF
4448 /* end confdefs.h. */
4449 $ac_includes_default
4451 #include <$ac_header>
4453 rm -f conftest.
$ac_objext
4454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4455 (eval $ac_compile) 2>conftest.er1
4457 grep -v '^ *+' conftest.er1
>conftest.err
4459 cat conftest.err
>&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); } &&
4462 { ac_try
='test -z "$ac_c_werror_flag"
4463 || test ! -s conftest.err'
4464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); }; } &&
4469 { ac_try
='test -s conftest.$ac_objext'
4470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; }; then
4475 eval "$as_ac_Header=yes"
4477 echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.
$ac_ext >&5
4480 eval "$as_ac_Header=no"
4482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4487 cat >>confdefs.h
<<_ACEOF
4488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4497 if test "${ac_cv_header_minix_config_h+set}" = set; then
4498 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4499 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4500 if test "${ac_cv_header_minix_config_h+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4504 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4506 # Is the header compilable?
4507 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4508 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
4509 cat >conftest.
$ac_ext <<_ACEOF
4512 cat confdefs.h
>>conftest.
$ac_ext
4513 cat >>conftest.
$ac_ext <<_ACEOF
4514 /* end confdefs.h. */
4515 $ac_includes_default
4516 #include <minix/config.h>
4518 rm -f conftest.
$ac_objext
4519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4520 (eval $ac_compile) 2>conftest.er1
4522 grep -v '^ *+' conftest.er1
>conftest.err
4524 cat conftest.err
>&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } &&
4527 { ac_try
='test -z "$ac_c_werror_flag"
4528 || test ! -s conftest.err'
4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }; } &&
4534 { ac_try
='test -s conftest.$ac_objext'
4535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); }; }; then
4540 ac_header_compiler
=yes
4542 echo "$as_me: failed program was:" >&5
4543 sed 's/^/| /' conftest.
$ac_ext >&5
4545 ac_header_compiler
=no
4547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4548 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4549 echo "${ECHO_T}$ac_header_compiler" >&6
4551 # Is the header present?
4552 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4553 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
4554 cat >conftest.
$ac_ext <<_ACEOF
4557 cat confdefs.h
>>conftest.
$ac_ext
4558 cat >>conftest.
$ac_ext <<_ACEOF
4559 /* end confdefs.h. */
4560 #include <minix/config.h>
4562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4563 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4565 grep -v '^ *+' conftest.er1
>conftest.err
4567 cat conftest.err
>&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } >/dev
/null
; then
4570 if test -s conftest.err
; then
4571 ac_cpp_err
=$ac_c_preproc_warn_flag
4572 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4579 if test -z "$ac_cpp_err"; then
4580 ac_header_preproc
=yes
4582 echo "$as_me: failed program was:" >&5
4583 sed 's/^/| /' conftest.
$ac_ext >&5
4585 ac_header_preproc
=no
4587 rm -f conftest.err conftest.
$ac_ext
4588 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4589 echo "${ECHO_T}$ac_header_preproc" >&6
4591 # So? What about this header?
4592 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4594 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4595 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4596 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4597 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4598 ac_header_preproc
=yes
4601 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4602 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4603 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4604 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4605 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4606 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4607 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4608 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4609 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4610 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4611 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4612 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4615 ## ------------------------------------------ ##
4616 ## Report this to the AC_PACKAGE_NAME lists. ##
4617 ## ------------------------------------------ ##
4620 sed "s/^/$as_me: WARNING: /" >&2
4623 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4624 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4625 if test "${ac_cv_header_minix_config_h+set}" = set; then
4626 echo $ECHO_N "(cached) $ECHO_C" >&6
4628 ac_cv_header_minix_config_h
=$ac_header_preproc
4630 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4631 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4634 if test $ac_cv_header_minix_config_h = yes; then
4641 if test "$MINIX" = yes; then
4643 cat >>confdefs.h
<<\_ACEOF
4644 #define _POSIX_SOURCE 1
4648 cat >>confdefs.h
<<\_ACEOF
4649 #define _POSIX_1_SOURCE 2
4653 cat >>confdefs.h
<<\_ACEOF
4661 echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4662 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
4663 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4664 echo $ECHO_N "(cached) $ECHO_C" >&6
4666 cat >conftest.
$ac_ext <<_ACEOF
4669 cat confdefs.h
>>conftest.
$ac_ext
4670 cat >>conftest.
$ac_ext <<_ACEOF
4671 /* end confdefs.h. */
4673 # define __EXTENSIONS__ 1
4674 $ac_includes_default
4683 rm -f conftest.
$ac_objext
4684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4685 (eval $ac_compile) 2>conftest.er1
4687 grep -v '^ *+' conftest.er1
>conftest.err
4689 cat conftest.err
>&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } &&
4692 { ac_try
='test -z "$ac_c_werror_flag"
4693 || test ! -s conftest.err'
4694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); }; } &&
4699 { ac_try
='test -s conftest.$ac_objext'
4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); }; }; then
4705 ac_cv_safe_to_define___extensions__
=yes
4707 echo "$as_me: failed program was:" >&5
4708 sed 's/^/| /' conftest.
$ac_ext >&5
4710 ac_cv_safe_to_define___extensions__
=no
4712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4714 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4715 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
4716 test $ac_cv_safe_to_define___extensions__ = yes &&
4717 cat >>confdefs.h
<<\_ACEOF
4718 #define __EXTENSIONS__ 1
4721 cat >>confdefs.h
<<\_ACEOF
4722 #define _ALL_SOURCE 1
4725 cat >>confdefs.h
<<\_ACEOF
4726 #define _GNU_SOURCE 1
4729 cat >>confdefs.h
<<\_ACEOF
4730 #define _POSIX_PTHREAD_SEMANTICS 1
4733 cat >>confdefs.h
<<\_ACEOF
4734 #define _TANDEM_SOURCE 1
4740 macro_version
='2.1a'
4741 macro_revision
='1.2435'
4754 ltmain
="$ac_aux_dir/ltmain.sh"
4764 # Check whether --enable-shared or --disable-shared was given.
4765 if test "${enable_shared+set}" = set; then
4766 enableval
="$enable_shared"
4767 p
=${PACKAGE-default}
4769 yes) enable_shared
=yes ;;
4770 no
) enable_shared
=no
;;
4773 # Look at the argument we got. We use all the common list separators.
4774 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4775 for pkg
in $enableval; do
4777 if test "X$pkg" = "X$p"; then
4795 # Check whether --enable-static or --disable-static was given.
4796 if test "${enable_static+set}" = set; then
4797 enableval
="$enable_static"
4798 p
=${PACKAGE-default}
4800 yes) enable_static
=yes ;;
4801 no
) enable_static
=no
;;
4804 # Look at the argument we got. We use all the common list separators.
4805 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4806 for pkg
in $enableval; do
4808 if test "X$pkg" = "X$p"; then
4827 # Check whether --with-pic or --without-pic was given.
4828 if test "${with_pic+set}" = set; then
4835 test -z "$pic_mode" && pic_mode
=default
4843 # Check whether --enable-fast-install or --disable-fast-install was given.
4844 if test "${enable_fast_install+set}" = set; then
4845 enableval
="$enable_fast_install"
4846 p
=${PACKAGE-default}
4848 yes) enable_fast_install
=yes ;;
4849 no
) enable_fast_install
=no
;;
4851 enable_fast_install
=no
4852 # Look at the argument we got. We use all the common list separators.
4853 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4854 for pkg
in $enableval; do
4856 if test "X$pkg" = "X$p"; then
4857 enable_fast_install
=yes
4864 enable_fast_install
=yes
4874 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4875 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4876 if test "${lt_cv_path_SED+set}" = set; then
4877 echo $ECHO_N "(cached) $ECHO_C" >&6
4879 # Loop through the user's path and test for sed and gsed.
4880 # Then use that list of sed's as ones to test for truncation.
4881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4885 test -z "$as_dir" && as_dir
=.
4886 for lt_ac_prog
in sed gsed
; do
4887 for ac_exec_ext
in '' $ac_executable_extensions; do
4888 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4889 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4897 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4898 # along with /bin/sed that truncates output.
4899 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4900 test ! -f $lt_ac_sed && continue
4901 cat /dev
/null
> conftest.
in
4903 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4904 # Check for GNU sed and select it if it is found.
4905 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4906 lt_cv_path_SED
=$lt_ac_sed
4910 cat conftest.
in conftest.
in >conftest.tmp
4911 mv conftest.tmp conftest.
in
4912 cp conftest.
in conftest.
nl
4914 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4915 cmp -s conftest.out conftest.
nl ||
break
4916 # 10000 chars as input seems more than enough
4917 test $lt_ac_count -gt 10 && break
4918 lt_ac_count
=`expr $lt_ac_count + 1`
4919 if test $lt_ac_count -gt $lt_ac_max; then
4920 lt_ac_max
=$lt_ac_count
4921 lt_cv_path_SED
=$lt_ac_sed
4930 echo "$as_me:$LINENO: result: $SED" >&5
4931 echo "${ECHO_T}$SED" >&6
4933 test -z "$SED" && SED
=sed
4934 Xsed
="$SED -e 1s/^X//"
4946 echo "$as_me:$LINENO: checking for fgrep" >&5
4947 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4948 if test "${ac_cv_prog_fgrep+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4952 then ac_cv_prog_fgrep
='grep -F'
4953 else ac_cv_prog_fgrep
='fgrep'
4956 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4957 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4958 FGREP
=$ac_cv_prog_fgrep
4961 test -z "$GREP" && GREP
=grep
4981 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4982 if test "${with_gnu_ld+set}" = set; then
4983 withval
="$with_gnu_ld"
4984 test "$withval" = no || with_gnu_ld
=yes
4989 if test "$GCC" = yes; then
4990 # Check if gcc -print-prog-name=ld gives a path.
4991 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4992 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4995 # gcc leaves a trailing carriage return which upsets mingw
4996 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4998 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5001 # Accept absolute paths.
5003 re_direlt
='/[^/][^/]*/\.\./'
5004 # Canonicalize the pathname of ld
5005 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5006 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5007 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5009 test -z "$LD" && LD
="$ac_prog"
5012 # If it fails, then pretend we aren't using GCC.
5016 # If it is relative, then search for the first ld in PATH.
5020 elif test "$with_gnu_ld" = yes; then
5021 echo "$as_me:$LINENO: checking for GNU ld" >&5
5022 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5024 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5025 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5027 if test "${lt_cv_path_LD+set}" = set; then
5028 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 if test -z "$LD"; then
5031 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5032 for ac_dir
in $PATH; do
5034 test -z "$ac_dir" && ac_dir
=.
5035 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5036 lt_cv_path_LD
="$ac_dir/$ac_prog"
5037 # Check to see if the program is GNU ld. I'd rather use --version,
5038 # but apparently some variants of GNU ld only accept -v.
5039 # Break only if it was the GNU/non-GNU ld that we prefer.
5040 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5041 *GNU
* |
*'with BFD'*)
5042 test "$with_gnu_ld" != no
&& break
5045 test "$with_gnu_ld" != yes && break
5052 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5057 if test -n "$LD"; then
5058 echo "$as_me:$LINENO: result: $LD" >&5
5059 echo "${ECHO_T}$LD" >&6
5061 echo "$as_me:$LINENO: result: no" >&5
5062 echo "${ECHO_T}no" >&6
5064 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5065 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5066 { (exit 1); exit 1; }; }
5067 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5068 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5069 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5070 echo $ECHO_N "(cached) $ECHO_C" >&6
5072 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5073 case `$LD -v 2>&1 </dev/null` in
5074 *GNU
* |
*'with BFD'*)
5075 lt_cv_prog_gnu_ld
=yes
5078 lt_cv_prog_gnu_ld
=no
5082 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5083 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5084 with_gnu_ld
=$lt_cv_prog_gnu_ld
5095 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5096 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5097 if test "${lt_cv_path_NM+set}" = set; then
5098 echo $ECHO_N "(cached) $ECHO_C" >&6
5100 if test -n "$NM"; then
5101 # Let the user override the test.
5104 lt_nm_to_check
="${ac_tool_prefix}nm"
5105 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5106 lt_nm_to_check
="$lt_nm_to_check nm"
5108 for lt_tmp_nm
in $lt_nm_to_check; do
5109 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5110 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5112 test -z "$ac_dir" && ac_dir
=.
5113 tmp_nm
="$ac_dir/$lt_tmp_nm"
5114 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5115 # Check to see if the nm accepts a BSD-compat flag.
5116 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5117 # nm: unknown option "B" ignored
5118 # Tru64's nm complains that /dev/null is an invalid object file
5119 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5120 */dev
/null
* |
*'Invalid file or object type'*)
5121 lt_cv_path_NM
="$tmp_nm -B"
5125 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5127 lt_cv_path_NM
="$tmp_nm -p"
5131 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5132 continue # so that we can try to find one that supports BSD flags
5141 : ${lt_cv_path_NM=no}
5144 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5145 echo "${ECHO_T}$lt_cv_path_NM" >&6
5146 if test "$lt_cv_path_NM" != "no"; then
5149 # Didn't find any BSD compatible name lister, look for dumpbin.
5150 if test -n "$ac_tool_prefix"; then
5151 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5153 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5154 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5155 echo "$as_me:$LINENO: checking for $ac_word" >&5
5156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5157 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5158 echo $ECHO_N "(cached) $ECHO_C" >&6
5160 if test -n "$DUMPBIN"; then
5161 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir
=.
5168 for ac_exec_ext
in '' $ac_executable_extensions; do
5169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5170 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 DUMPBIN
=$ac_cv_prog_DUMPBIN
5180 if test -n "$DUMPBIN"; then
5181 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5182 echo "${ECHO_T}$DUMPBIN" >&6
5184 echo "$as_me:$LINENO: result: no" >&5
5185 echo "${ECHO_T}no" >&6
5188 test -n "$DUMPBIN" && break
5191 if test -z "$DUMPBIN"; then
5192 ac_ct_DUMPBIN
=$DUMPBIN
5193 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5195 # Extract the first word of "$ac_prog", so it can be a program name with args.
5196 set dummy
$ac_prog; ac_word
=$2
5197 echo "$as_me:$LINENO: checking for $ac_word" >&5
5198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5199 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5200 echo $ECHO_N "(cached) $ECHO_C" >&6
5202 if test -n "$ac_ct_DUMPBIN"; then
5203 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5209 test -z "$as_dir" && as_dir
=.
5210 for ac_exec_ext
in '' $ac_executable_extensions; do
5211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5212 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5222 if test -n "$ac_ct_DUMPBIN"; then
5223 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5224 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5226 echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6
5230 test -n "$ac_ct_DUMPBIN" && break
5232 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5234 DUMPBIN
=$ac_ct_DUMPBIN
5238 if test "$DUMPBIN" != ":"; then
5242 test -z "$NM" && NM
=nm
5249 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5250 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5251 if test "${lt_cv_nm_interface+set}" = set; then
5252 echo $ECHO_N "(cached) $ECHO_C" >&6
5254 lt_cv_nm_interface
="BSD nm"
5255 echo "int some_variable = 0;" > conftest.
$ac_ext
5256 (eval echo "\"\$as_me:5256: $ac_compile\"" >&5)
5257 (eval "$ac_compile" 2>conftest.err
)
5258 cat conftest.err
>&5
5259 (eval echo "\"\$as_me:5259: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5260 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5261 cat conftest.err
>&5
5262 (eval echo "\"\$as_me:5262: output\"" >&5)
5263 cat conftest.out
>&5
5264 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5265 lt_cv_nm_interface
="MS dumpbin"
5269 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5270 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5272 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5273 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5275 if test "$LN_S" = "ln -s"; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5279 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5280 echo "${ECHO_T}no, using $LN_S" >&6
5283 # find the maximum length of command line arguments
5284 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5285 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5286 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5287 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 # On DJGPP, this test can blow up pretty badly due to problems in libc
5295 # (any single argument exceeding 2000 bytes causes a buffer overrun
5296 # during glob expansion). Even if it were fixed, the result of this
5297 # check would be larger than it should be.
5298 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5302 # Under GNU Hurd, this test is not required because there is
5303 # no limit to the length of command line arguments.
5304 # Libtool will interpret -1 as no limit whatsoever
5305 lt_cv_sys_max_cmd_len
=-1;
5309 # On Win9x/ME, this test blows up -- it succeeds, but takes
5310 # about 5 minutes as the teststring grows exponentially.
5311 # Worse, since 9x/ME are not pre-emptively multitasking,
5312 # you end up with a "frozen" computer, even though with patience
5313 # the test eventually succeeds (with a max line length of 256k).
5314 # Instead, let's just punt: use the minimum linelength reported by
5315 # all of the supported platforms: 8192 (on NT/2K/XP).
5316 lt_cv_sys_max_cmd_len
=8192;
5320 # On AmigaOS with pdksh, this test takes hours, literally.
5321 # So we just punt and use a minimum line length of 8192.
5322 lt_cv_sys_max_cmd_len
=8192;
5325 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5326 # This has been around since 386BSD, at least. Likely further.
5327 if test -x /sbin
/sysctl
; then
5328 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5329 elif test -x /usr
/sbin
/sysctl
; then
5330 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5332 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5334 # And add a safety zone
5335 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5336 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5340 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5341 lt_cv_sys_max_cmd_len
=196608
5345 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5346 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5347 # nice to cause kernel panics so lets avoid the loop below.
5348 # First set a reasonable default.
5349 lt_cv_sys_max_cmd_len
=16384
5351 if test -x /sbin
/sysconfig
; then
5352 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5353 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5358 lt_cv_sys_max_cmd_len
=102400
5360 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5361 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5362 if test -n "$kargmax"; then
5363 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5365 lt_cv_sys_max_cmd_len
=32768
5369 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
5370 if test -n $lt_cv_sys_max_cmd_len; then
5371 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5372 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5374 # Make teststring a little bigger before we do anything with it.
5375 # a 1K string should be a reasonable start.
5376 for i
in 1 2 3 4 5 6 7 8 ; do
5377 teststring
=$teststring$teststring
5379 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5380 # If test is not a shell built-in, we'll probably end up computing a
5381 # maximum length that is only half of the actual maximum length, but
5383 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5384 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5385 test $i != 17 # 1/2 MB should be enough
5388 teststring
=$teststring$teststring
5390 # Only check the string length outside the loop.
5391 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5393 # Add a significant safety factor because C++ compilers can tack on
5394 # massive amounts of additional arguments before passing them to the
5395 # linker. It appears as though 1/2 is a usable value.
5396 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5403 if test -n $lt_cv_sys_max_cmd_len ; then
5404 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5405 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5407 echo "$as_me:$LINENO: result: none" >&5
5408 echo "${ECHO_T}none" >&6
5410 max_cmd_len
=$lt_cv_sys_max_cmd_len
5422 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5423 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5424 # Try some XSI features
5427 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5428 = c,a/b,, ) >/dev/null 2>&1 \
5430 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5431 echo "${ECHO_T}$xsi_shell" >&6
5434 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5435 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
5437 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5439 && lt_shell_append=yes
5440 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5441 echo "${ECHO_T}$lt_shell_append" >&6
5444 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5454 # test EBCDIC or ASCII
5455 case `echo X|tr X '\101'` in
5456 A) # ASCII based system
5457 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5458 lt_SP2NL='tr \040 \012'
5459 lt_NL2SP='tr \015\012 \040\040'
5461 *) # EBCDIC based system
5462 lt_SP2NL='tr \100 \n'
5463 lt_NL2SP='tr \r\n \100\100'
5475 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5476 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
5477 if test "${lt_cv_ld_reload_flag+set}" = set; then
5478 echo $ECHO_N "(cached
) $ECHO_C" >&6
5480 lt_cv_ld_reload_flag='-r'
5482 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5483 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5484 reload_flag=$lt_cv_ld_reload_flag
5485 case $reload_flag in
5487 *) reload_flag=" $reload_flag" ;;
5489 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5492 if test "$GCC" = yes; then
5493 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5495 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5509 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5510 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
5511 if test "${lt_cv_deplibs_check_method+set}" = set; then
5512 echo $ECHO_N "(cached
) $ECHO_C" >&6
5514 lt_cv_file_magic_cmd='$MAGIC_CMD'
5515 lt_cv_file_magic_test_file=
5516 lt_cv_deplibs_check_method='unknown'
5517 # Need to set the preceding variable on all platforms that support
5518 # interlibrary dependencies.
5519 # 'none' -- dependencies not supported.
5520 # `unknown' -- same as none, but documents that we really don't know.
5521 # 'pass_all' -- all dependencies passed with no checks.
5522 # 'test_compile' -- check by making test program.
5523 # 'file_magic [[regex]]' -- check by looking for files in library path
5524 # which responds to the $file_magic_cmd with a given extended regex.
5525 # If you have `file' or equivalent on your system and you're not sure
5526 # whether `pass_all' will *always* work, you probably want this one.
5530 lt_cv_deplibs_check_method=pass_all
5534 lt_cv_deplibs_check_method=pass_all
5538 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5539 lt_cv_file_magic_cmd='/usr/bin/file -L'
5540 lt_cv_file_magic_test_file=/shlib/libc.so
5544 # func_win32_libid is a shell function defined in ltmain.sh
5545 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5546 lt_cv_file_magic_cmd='func_win32_libid'
5550 # Base MSYS/MinGW do not provide the 'file' command needed by
5551 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5552 # unless we find 'file', for example because we are cross-compiling.
5553 if ( file / ) >/dev/null 2>&1; then
5554 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5555 lt_cv_file_magic_cmd='func_win32_libid'
5557 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5558 lt_cv_file_magic_cmd='$OBJDUMP -f'
5562 darwin* | rhapsody*)
5563 lt_cv_deplibs_check_method=pass_all
5566 freebsd* | dragonfly*)
5567 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5570 # Not sure whether the presence of OpenBSD here was a mistake.
5571 # Let's accept both of them until this is cleared up.
5572 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5573 lt_cv_file_magic_cmd=/usr/bin/file
5574 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5578 lt_cv_deplibs_check_method=pass_all
5583 lt_cv_deplibs_check_method=pass_all
5586 hpux10.20* | hpux11*)
5587 lt_cv_file_magic_cmd=/usr/bin/file
5590 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5591 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5594 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5595 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5598 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5599 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5605 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5606 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5609 irix5* | irix6* | nonstopux*)
5611 *-32|*"-32 ") libmagic=32-bit;;
5612 *-n32|*"-n32 ") libmagic=N32;;
5613 *-64|*"-64 ") libmagic=64-bit;;
5614 *) libmagic=never-match;;
5616 lt_cv_deplibs_check_method=pass_all
5619 # This must be Linux ELF.
5620 linux* | k*bsd*-gnu)
5621 lt_cv_deplibs_check_method=pass_all
5625 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5626 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5628 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5633 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5634 lt_cv_file_magic_cmd=/usr/bin/file
5635 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5639 lt_cv_deplibs_check_method=pass_all
5643 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5644 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5646 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5650 osf3* | osf4* | osf5*)
5651 lt_cv_deplibs_check_method=pass_all
5655 lt_cv_deplibs_check_method=pass_all
5659 lt_cv_deplibs_check_method=pass_all
5662 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5663 lt_cv_deplibs_check_method=pass_all
5667 case $host_vendor in
5669 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]'
5670 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5673 lt_cv_deplibs_check_method=pass_all
5676 lt_cv_file_magic_cmd='/bin/file'
5677 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5680 lt_cv_file_magic_cmd='/bin/file'
5681 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5682 lt_cv_file_magic_test_file=/lib/libc.so
5685 lt_cv_deplibs_check_method=pass_all
5688 lt_cv_deplibs_check_method=pass_all
5694 lt_cv_deplibs_check_method=pass_all
5699 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5700 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5701 file_magic_cmd=$lt_cv_file_magic_cmd
5702 deplibs_check_method=$lt_cv_deplibs_check_method
5703 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5716 if test -n "$ac_tool_prefix"; then
5717 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5718 set dummy ${ac_tool_prefix}ar; ac_word=$2
5719 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5720 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5721 if test "${ac_cv_prog_AR+set}" = set; then
5722 echo $ECHO_N "(cached
) $ECHO_C" >&6
5724 if test -n "$AR"; then
5725 ac_cv_prog_AR="$AR" # Let the user override the test.
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_AR="${ac_tool_prefix}ar"
5735 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5744 if test -n "$AR"; then
5745 echo "$as_me:$LINENO: result
: $AR" >&5
5746 echo "${ECHO_T}$AR" >&6
5748 echo "$as_me:$LINENO: result
: no
" >&5
5749 echo "${ECHO_T}no
" >&6
5753 if test -z "$ac_cv_prog_AR"; then
5755 # Extract the first word of "ar", so it can be a program name with args.
5756 set dummy ar; ac_word=$2
5757 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5758 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5759 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5760 echo $ECHO_N "(cached
) $ECHO_C" >&6
5762 if test -n "$ac_ct_AR"; then
5763 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 test -z "$as_dir" && as_dir=.
5770 for ac_exec_ext in '' $ac_executable_extensions; do
5771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5772 ac_cv_prog_ac_ct_AR="ar"
5773 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5779 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5782 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5783 if test -n "$ac_ct_AR"; then
5784 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5785 echo "${ECHO_T}$ac_ct_AR" >&6
5787 echo "$as_me:$LINENO: result
: no
" >&5
5788 echo "${ECHO_T}no
" >&6
5796 test -z "$AR" && AR=ar
5797 test -z "$AR_FLAGS" && AR_FLAGS=cru
5809 if test -n "$ac_tool_prefix"; then
5810 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5811 set dummy ${ac_tool_prefix}strip; ac_word=$2
5812 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5813 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5814 if test "${ac_cv_prog_STRIP+set}" = set; then
5815 echo $ECHO_N "(cached
) $ECHO_C" >&6
5817 if test -n "$STRIP"; then
5818 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5827 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5828 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5836 STRIP=$ac_cv_prog_STRIP
5837 if test -n "$STRIP"; then
5838 echo "$as_me:$LINENO: result
: $STRIP" >&5
5839 echo "${ECHO_T}$STRIP" >&6
5841 echo "$as_me:$LINENO: result
: no
" >&5
5842 echo "${ECHO_T}no
" >&6
5846 if test -z "$ac_cv_prog_STRIP"; then
5848 # Extract the first word of "strip
", so it can be a program name with args.
5849 set dummy strip; ac_word=$2
5850 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5851 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5852 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5853 echo $ECHO_N "(cached
) $ECHO_C" >&6
5855 if test -n "$ac_ct_STRIP"; then
5856 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5865 ac_cv_prog_ac_ct_STRIP="strip
"
5866 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5872 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5875 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5876 if test -n "$ac_ct_STRIP"; then
5877 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5878 echo "${ECHO_T}$ac_ct_STRIP" >&6
5880 echo "$as_me:$LINENO: result
: no
" >&5
5881 echo "${ECHO_T}no
" >&6
5886 STRIP="$ac_cv_prog_STRIP"
5889 test -z "$STRIP" && STRIP=:
5896 if test -n "$ac_tool_prefix"; then
5897 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5898 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5899 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5900 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5901 if test "${ac_cv_prog_RANLIB+set}" = set; then
5902 echo $ECHO_N "(cached
) $ECHO_C" >&6
5904 if test -n "$RANLIB"; then
5905 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5914 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5915 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5923 RANLIB=$ac_cv_prog_RANLIB
5924 if test -n "$RANLIB"; then
5925 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5926 echo "${ECHO_T}$RANLIB" >&6
5928 echo "$as_me:$LINENO: result
: no
" >&5
5929 echo "${ECHO_T}no
" >&6
5933 if test -z "$ac_cv_prog_RANLIB"; then
5934 ac_ct_RANLIB=$RANLIB
5935 # Extract the first word of "ranlib
", so it can be a program name with args.
5936 set dummy ranlib; ac_word=$2
5937 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5938 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5939 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5940 echo $ECHO_N "(cached
) $ECHO_C" >&6
5942 if test -n "$ac_ct_RANLIB"; then
5943 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 test -z "$as_dir" && as_dir=.
5950 for ac_exec_ext in '' $ac_executable_extensions; do
5951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5952 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5953 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5959 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5962 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5963 if test -n "$ac_ct_RANLIB"; then
5964 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5965 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5967 echo "$as_me:$LINENO: result
: no
" >&5
5968 echo "${ECHO_T}no
" >&6
5971 RANLIB=$ac_ct_RANLIB
5973 RANLIB="$ac_cv_prog_RANLIB"
5976 test -z "$RANLIB" && RANLIB=:
5983 # Determine commands to create old-style static archives.
5984 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5985 old_postinstall_cmds='chmod 644 $oldlib'
5986 old_postuninstall_cmds=
5988 if test -n "$RANLIB"; then
5991 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5994 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5997 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6033 # If no C compiler was specified, use CC.
6036 # If no C compiler flags were specified, use CFLAGS.
6037 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6039 # Allow CC to be a program name with arguments.
6043 # Check for command to grab the raw symbol name followed by C symbol from nm.
6044 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6045 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6046 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6047 echo $ECHO_N "(cached
) $ECHO_C" >&6
6050 # These are sane defaults that work on at least a few old systems.
6051 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6053 # Character class describing NM global symbol codes.
6054 symcode='[BCDEGRST]'
6056 # Regexp to match symbols that can be accessed directly from C.
6057 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6059 # Define system-specific variables.
6064 cygwin* | mingw* | pw32*)
6065 symcode='[ABCDGISTW]'
6068 if test "$host_cpu" = ia64; then
6069 symcode='[ABCDEGRST]'
6073 symcode='[BCDEGRST]'
6076 symcode='[BCDEGQRST]'
6087 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6095 # If we're using GNU nm, then use its standard symbol codes.
6096 case `$NM -V 2>&1` in
6097 *GNU* | *'with BFD'*)
6098 symcode='[ABCDGIRSTW]' ;;
6101 # Transform an extracted symbol line into a proper C declaration.
6102 # Some systems (esp. on ia64) link data and code symbols differently,
6103 # so use this general approach.
6104 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6106 # Transform an extracted symbol line into symbol name and symbol address
6107 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6109 # Handle CRLF in mingw tool chain
6113 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6117 # Try without a prefix underscore, then with it.
6118 for ac_symprfx in "" "_
"; do
6120 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6121 symxfrm="\\1 $ac_symprfx\\2 \\2"
6123 # Write the raw and C identifiers.
6124 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6125 # Fake it for dumpbin and say T for any non-static function
6126 # and D for any global variable.
6127 # Also find C++ and __fastcall symbols from MSVC++,
6128 # which start with @ or ?.
6129 lt_cv_sys_global_symbol_pipe="$AWK '"\
6130 " {last_section=section; section=\$ 3};"\
6131 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6132 " \$ 0!~/External *\|/{next};"\
6133 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6134 " {if(hide[section]) next};"\
6135 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6136 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6137 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6138 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6139 " ' prfx
=^
$ac_symprfx"
6141 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6144 # Check to see that the pipe works correctly.
6148 cat > conftest.$ac_ext <<_LT_EOF
6153 void nm_test_func(void);
6154 void nm_test_func(void){}
6158 int main(){nm_test_var='a';nm_test_func();return(0);}
6161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6162 (eval $ac_compile) 2>&5
6164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6165 (exit $ac_status); }; then
6166 # Now try to grab the symbols.
6168 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6169 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6172 (exit $ac_status); } && test -s "$nlist"; then
6173 # Try sorting and uniquifying the output.
6174 if sort "$nlist" | uniq > "$nlist"T; then
6175 mv -f "$nlist"T "$nlist"
6180 # Make sure that we snagged all the symbols we need.
6181 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6182 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6183 cat <<_LT_EOF > conftest.$ac_ext
6189 # Now generate the symbol file.
6190 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6192 cat <<_LT_EOF >> conftest.$ac_ext
6194 /* The mapping between symbol names and symbols. */
6199 lt__PROGRAM__LTX_preloaded_symbols[] =
6201 { "@PROGRAM@
", (void *) 0 },
6203 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6204 cat <<\_LT_EOF >> conftest.$ac_ext
6208 /* This works around a problem in FreeBSD linker */
6209 #ifdef FREEBSD_WORKAROUND
6210 static const void *lt_preloaded_setup() {
6211 return lt__PROGRAM__LTX_preloaded_symbols;
6219 # Now try linking the two files.
6220 mv conftest.$ac_objext conftstm.$ac_objext
6221 lt_save_LIBS="$LIBS"
6222 lt_save_CFLAGS="$CFLAGS"
6223 LIBS="conftstm.
$ac_objext"
6224 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6226 (eval $ac_link) 2>&5
6228 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6229 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6232 LIBS="$lt_save_LIBS"
6233 CFLAGS="$lt_save_CFLAGS"
6235 echo "cannot
find nm_test_func
in $nlist" >&5
6238 echo "cannot
find nm_test_var
in $nlist" >&5
6241 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6244 echo "$progname: failed program was
:" >&5
6245 cat conftest.$ac_ext >&5
6247 rm -f conftest* conftst*
6249 # Do not use the global_symbol_pipe unless it works.
6250 if test "$pipe_works" = yes; then
6253 lt_cv_sys_global_symbol_pipe=
6259 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6260 lt_cv_sys_global_symbol_to_cdecl=
6262 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6263 echo "$as_me:$LINENO: result
: failed
" >&5
6264 echo "${ECHO_T}failed
" >&6
6266 echo "$as_me:$LINENO: result
: ok
" >&5
6267 echo "${ECHO_T}ok
" >&6
6286 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6287 if test "${enable_libtool_lock+set}" = set; then
6288 enableval="$enable_libtool_lock"
6291 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6293 # Some flags need to be propagated to the compiler or linker for good
6297 # Find out which ABI we are using.
6298 echo 'int i;' > conftest.$ac_ext
6299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6300 (eval $ac_compile) 2>&5
6302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6303 (exit $ac_status); }; then
6304 case `/usr/bin/file conftest.$ac_objext` in
6316 # Find out which ABI we are using.
6317 echo '#line 6317 "configure
"' > conftest.$ac_ext
6318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6319 (eval $ac_compile) 2>&5
6321 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6322 (exit $ac_status); }; then
6323 if test "$lt_cv_prog_gnu_ld" = yes; then
6324 case `/usr/bin/file conftest.$ac_objext` in
6326 LD="${LD-ld} -melf32bsmip"
6329 LD="${LD-ld} -melf32bmipn32"
6332 LD="${LD-ld} -melf64bmip"
6336 case `/usr/bin/file conftest.$ac_objext` in
6352 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6353 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6354 # Find out which ABI we are using.
6355 echo 'int i;' > conftest.$ac_ext
6356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6357 (eval $ac_compile) 2>&5
6359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6360 (exit $ac_status); }; then
6361 case `/usr/bin/file conftest.o` in
6364 x86_64-*kfreebsd*-gnu)
6365 LD="${LD-ld} -m elf_i386_fbsd
"
6368 LD="${LD-ld} -m elf_i386
"
6370 ppc64-*linux*|powerpc64-*linux*)
6371 LD="${LD-ld} -m elf32ppclinux
"
6374 LD="${LD-ld} -m elf_s390
"
6377 LD="${LD-ld} -m elf32_sparc
"
6383 x86_64-*kfreebsd*-gnu)
6384 LD="${LD-ld} -m elf_x86_64_fbsd
"
6387 LD="${LD-ld} -m elf_x86_64
"
6389 ppc*-*linux*|powerpc*-*linux*)
6390 LD="${LD-ld} -m elf64ppc
"
6392 s390*-*linux*|s390*-*tpf*)
6393 LD="${LD-ld} -m elf64_s390
"
6396 LD="${LD-ld} -m elf64_sparc
"
6406 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6407 SAVE_CFLAGS="$CFLAGS"
6408 CFLAGS="$CFLAGS -belf"
6409 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6410 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
6411 if test "${lt_cv_cc_needs_belf+set}" = set; then
6412 echo $ECHO_N "(cached
) $ECHO_C" >&6
6415 ac_cpp='$CPP $CPPFLAGS'
6416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6420 cat >conftest.$ac_ext <<_ACEOF
6423 cat confdefs.h >>conftest.$ac_ext
6424 cat >>conftest.$ac_ext <<_ACEOF
6425 /* end confdefs.h. */
6435 rm -f conftest.$ac_objext conftest$ac_exeext
6436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6437 (eval $ac_link) 2>conftest.er1
6439 grep -v '^ *+' conftest.er1 >conftest.err
6441 cat conftest.err >&5
6442 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6443 (exit $ac_status); } &&
6444 { ac_try='test -z "$ac_c_werror_flag"
6445 || test ! -s conftest.err'
6446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6450 (exit $ac_status); }; } &&
6451 { ac_try='test -s conftest$ac_exeext'
6452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6455 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6456 (exit $ac_status); }; }; then
6457 lt_cv_cc_needs_belf=yes
6459 echo "$as_me: failed program was
:" >&5
6460 sed 's/^/| /' conftest.$ac_ext >&5
6462 lt_cv_cc_needs_belf=no
6464 rm -f conftest.err conftest.$ac_objext \
6465 conftest$ac_exeext conftest.$ac_ext
6467 ac_cpp='$CPP $CPPFLAGS'
6468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6473 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6474 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6475 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6476 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6477 CFLAGS="$SAVE_CFLAGS"
6481 # Find out which ABI we are using.
6482 echo 'int i;' > conftest.$ac_ext
6483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6484 (eval $ac_compile) 2>&5
6486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6487 (exit $ac_status); }; then
6488 case `/usr/bin/file conftest.o` in
6490 case $lt_cv_prog_gnu_ld in
6491 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6492 *) LD="${LD-ld} -64" ;;
6501 need_locks="$enable_libtool_lock"
6504 for ac_header in dlfcn.h
6506 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6507 echo "$as_me:$LINENO: checking
for $ac_header" >&5
6508 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
6509 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
6510 echo $ECHO_N "(cached
) $ECHO_C" >&6
6512 cat >conftest.$ac_ext <<_ACEOF
6515 cat confdefs.h >>conftest.$ac_ext
6516 cat >>conftest.$ac_ext <<_ACEOF
6517 /* end confdefs.h. */
6518 $ac_includes_default
6520 #include <$ac_header>
6522 rm -f conftest.$ac_objext
6523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6524 (eval $ac_compile) 2>conftest.er1
6526 grep -v '^ *+' conftest.er1 >conftest.err
6528 cat conftest.err >&5
6529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6530 (exit $ac_status); } &&
6531 { ac_try='test -z "$ac_c_werror_flag"
6532 || test ! -s conftest.err'
6533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6537 (exit $ac_status); }; } &&
6538 { ac_try='test -s conftest.$ac_objext'
6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6543 (exit $ac_status); }; }; then
6544 eval "$as_ac_Header=yes"
6546 echo "$as_me: failed program was
:" >&5
6547 sed 's/^/| /' conftest.$ac_ext >&5
6549 eval "$as_ac_Header=no
"
6551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6553 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
6554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6556 cat >>confdefs.h <<_ACEOF
6557 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6566 # This can be used to rebuild libtool when needed
6567 LIBTOOL_DEPS="$ltmain"
6569 # Always use our own libtool.
6570 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6596 test -z "$LN_S" && LN_S="ln -s"
6611 if test -n "${ZSH_VERSION+set}" ; then
6612 setopt NO_GLOB_SUBST
6615 echo "$as_me:$LINENO: checking
for objdir
" >&5
6616 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
6617 if test "${lt_cv_objdir+set}" = set; then
6618 echo $ECHO_N "(cached
) $ECHO_C" >&6
6620 rm -f .libs 2>/dev/null
6621 mkdir .libs 2>/dev/null
6622 if test -d .libs; then
6625 # MS-DOS does not allow filenames that begin with a dot.
6628 rmdir .libs 2>/dev/null
6630 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
6631 echo "${ECHO_T}$lt_cv_objdir" >&6
6632 objdir=$lt_cv_objdir
6638 cat >>confdefs.h <<_ACEOF
6639 #define LT_OBJDIR "$lt_cv_objdir/"
6660 # AIX sometimes has problems with the GCC collect2 program. For some
6661 # reason, if we set the COLLECT_NAMES environment variable, the problems
6662 # vanish in a puff of smoke.
6663 if test "X
${COLLECT_NAMES+set}" != Xset; then
6665 export COLLECT_NAMES
6670 # Sed substitution that helps us do robust quoting. It backslashifies
6671 # metacharacters that are still active within double-quoted strings.
6672 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6674 # Same as above, but do not quote variable references.
6675 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
6677 # Sed substitution to delay expansion of an escaped shell variable in a
6678 # double_quote_subst'ed string.
6679 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6681 # Sed substitution to delay expansion of an escaped single quote.
6682 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6684 # Sed substitution to avoid accidental globbing in evaled expressions
6685 no_glob_subst
='s/\*/\\\*/g'
6689 can_build_shared
=yes
6691 # All known linkers require a `.a' archive for static linking (except MSVC,
6692 # which needs '.lib').
6695 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6698 old_CFLAGS
="$CFLAGS"
6700 # Set sane defaults for various variables
6701 test -z "$CC" && CC
=cc
6702 test -z "$LTCC" && LTCC
=$CC
6703 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6704 test -z "$LD" && LD
=ld
6705 test -z "$ac_objext" && ac_objext
=o
6707 for cc_temp
in $compiler""; do
6709 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6710 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6715 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6718 # Only perform the check for file, if the check method requires it
6719 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6720 case $deplibs_check_method in
6722 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6723 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6724 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6725 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6726 echo $ECHO_N "(cached) $ECHO_C" >&6
6730 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6733 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6734 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6735 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6736 for ac_dir
in $ac_dummy; do
6738 test -z "$ac_dir" && ac_dir
=.
6739 if test -f $ac_dir/${ac_tool_prefix}file; then
6740 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6741 if test -n "$file_magic_test_file"; then
6742 case $deplibs_check_method in
6744 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6745 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6746 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6747 $EGREP "$file_magic_regex" > /dev
/null
; then
6752 *** Warning: the command libtool uses to detect shared libraries,
6753 *** $file_magic_cmd, produces output that libtool cannot recognize.
6754 *** The result is that libtool may fail to recognize shared libraries
6755 *** as such. This will affect the creation of libtool libraries that
6756 *** depend on shared libraries, but programs linked with such libtool
6757 *** libraries will work regardless of this problem. Nevertheless, you
6758 *** may want to report the problem to your system manager and/or to
6759 *** bug-libtool@gnu.org
6769 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6774 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6775 if test -n "$MAGIC_CMD"; then
6776 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6777 echo "${ECHO_T}$MAGIC_CMD" >&6
6779 echo "$as_me:$LINENO: result: no" >&5
6780 echo "${ECHO_T}no" >&6
6787 if test -z "$lt_cv_path_MAGIC_CMD"; then
6788 if test -n "$ac_tool_prefix"; then
6789 echo "$as_me:$LINENO: checking for file" >&5
6790 echo $ECHO_N "checking for file... $ECHO_C" >&6
6791 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6792 echo $ECHO_N "(cached) $ECHO_C" >&6
6796 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6799 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6800 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6801 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6802 for ac_dir
in $ac_dummy; do
6804 test -z "$ac_dir" && ac_dir
=.
6805 if test -f $ac_dir/file; then
6806 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6807 if test -n "$file_magic_test_file"; then
6808 case $deplibs_check_method in
6810 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6811 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6812 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6813 $EGREP "$file_magic_regex" > /dev
/null
; then
6818 *** Warning: the command libtool uses to detect shared libraries,
6819 *** $file_magic_cmd, produces output that libtool cannot recognize.
6820 *** The result is that libtool may fail to recognize shared libraries
6821 *** as such. This will affect the creation of libtool libraries that
6822 *** depend on shared libraries, but programs linked with such libtool
6823 *** libraries will work regardless of this problem. Nevertheless, you
6824 *** may want to report the problem to your system manager and/or to
6825 *** bug-libtool@gnu.org
6835 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6840 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6841 if test -n "$MAGIC_CMD"; then
6842 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6843 echo "${ECHO_T}$MAGIC_CMD" >&6
6845 echo "$as_me:$LINENO: result: no" >&5
6846 echo "${ECHO_T}no" >&6
6859 # Use C for the default configuration in the libtool script
6863 ac_cpp
='$CPP $CPPFLAGS'
6864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6869 # Source file extension for C test sources.
6872 # Object file extension for compiled C test sources.
6876 # Code to be used in simple compile tests
6877 lt_simple_compile_test_code
="int some_variable = 0;"
6879 # Code to be used in simple link tests
6880 lt_simple_link_test_code
='int main(){return(0);}'
6888 # If no C compiler was specified, use CC.
6891 # If no C compiler flags were specified, use CFLAGS.
6892 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6894 # Allow CC to be a program name with arguments.
6897 # Save the default compiler, since it gets overwritten when the other
6898 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6899 compiler_DEFAULT
=$CC
6901 # save warnings/boilerplate of simple test code
6902 ac_outfile
=conftest.
$ac_objext
6903 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6904 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6905 _lt_compiler_boilerplate
=`cat conftest.err`
6908 ac_outfile
=conftest.
$ac_objext
6909 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6910 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6911 _lt_linker_boilerplate
=`cat conftest.err`
6916 ## There is no encapsulation within the following macros, do not change
6917 ## the running order or otherwise move them around unless you know exactly
6918 ## what you are doing...
6919 if test -n "$compiler"; then
6921 lt_prog_compiler_no_builtin_flag
=
6923 if test "$GCC" = yes; then
6924 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6926 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6927 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6928 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6929 echo $ECHO_N "(cached) $ECHO_C" >&6
6931 lt_cv_prog_compiler_rtti_exceptions
=no
6932 ac_outfile
=conftest.
$ac_objext
6933 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6934 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6935 # Insert the option either (1) after the last *FLAGS variable, or
6936 # (2) before a word containing "conftest.", or (3) at the end.
6937 # Note that $ac_compile itself does not contain backslashes and begins
6938 # with a dollar sign (not a hyphen), so the echo should work correctly.
6939 # The option is referenced via a variable to avoid confusing sed.
6940 lt_compile
=`echo "$ac_compile" | $SED \
6941 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6942 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6943 -e 's:$: $lt_compiler_flag:'`
6944 (eval echo "\"\$as_me:6944: $lt_compile\"" >&5)
6945 (eval "$lt_compile" 2>conftest.err
)
6947 cat conftest.err
>&5
6948 echo "$as_me:6948: \$? = $ac_status" >&5
6949 if (exit $ac_status) && test -s "$ac_outfile"; then
6950 # The compiler can only warn and ignore the option if not recognized
6951 # So say no if there are warnings other than the usual output.
6952 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6953 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6954 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6955 lt_cv_prog_compiler_rtti_exceptions
=yes
6961 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6962 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6964 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6965 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6977 lt_prog_compiler_wl
=
6978 lt_prog_compiler_pic
=
6979 lt_prog_compiler_static
=
6981 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6982 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6984 if test "$GCC" = yes; then
6985 lt_prog_compiler_wl
='-Wl,'
6986 lt_prog_compiler_static
='-static'
6990 # All AIX code is PIC.
6991 if test "$host_cpu" = ia64
; then
6992 # AIX 5 now supports IA64 processor
6993 lt_prog_compiler_static
='-Bstatic'
6998 if test "$host_cpu" = m68k
; then
6999 # FIXME: we need at least 68020 code to build shared libraries, but
7000 # adding the `-m68020' flag to GCC prevents building anything better,
7002 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7006 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7007 # PIC is the default for these OSes.
7010 mingw
* | cygwin
* | pw32
* | os2
*)
7011 # This hack is so that the source file can tell whether it is being
7012 # built for inclusion in a dll (and should export symbols for example).
7013 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7014 # (--disable-auto-import) libraries
7015 lt_prog_compiler_pic
='-DDLL_EXPORT'
7018 darwin
* | rhapsody
*)
7019 # PIC is the default on this platform
7020 # Common symbols not allowed in MH_DYLIB files
7021 lt_prog_compiler_pic
='-fno-common'
7025 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7032 lt_prog_compiler_pic
='-fPIC'
7038 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7039 # Instead, we relocate shared libraries at runtime.
7043 # Just because we use GCC doesn't mean we suddenly get shared libraries
7044 # on systems that don't support them.
7045 lt_prog_compiler_can_build_shared
=no
7050 # QNX uses GNU C++, but need to define -shared option too, otherwise
7052 lt_prog_compiler_pic
='-fPIC -shared'
7056 if test -d /usr
/nec
; then
7057 lt_prog_compiler_pic
=-Kconform_pic
7062 lt_prog_compiler_pic
='-fPIC'
7066 # PORTME Check for flag to pass linker flags through the system compiler.
7069 lt_prog_compiler_wl
='-Wl,'
7070 if test "$host_cpu" = ia64
; then
7071 # AIX 5 now supports IA64 processor
7072 lt_prog_compiler_static
='-Bstatic'
7074 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7078 # PIC is the default on this platform
7079 # Common symbols not allowed in MH_DYLIB files
7080 case $cc_basename in
7082 lt_prog_compiler_pic
='-qnocommon'
7083 lt_prog_compiler_wl
='-Wl,'
7088 mingw
* | cygwin
* | pw32
* | os2
*)
7089 # This hack is so that the source file can tell whether it is being
7090 # built for inclusion in a dll (and should export symbols for example).
7091 lt_prog_compiler_pic
='-DDLL_EXPORT'
7094 hpux9
* | hpux10
* | hpux11
*)
7095 lt_prog_compiler_wl
='-Wl,'
7096 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7103 lt_prog_compiler_pic
='+Z'
7106 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7107 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7110 irix5
* | irix6
* | nonstopux
*)
7111 lt_prog_compiler_wl
='-Wl,'
7112 # PIC (with -KPIC) is the default.
7113 lt_prog_compiler_static
='-non_shared'
7116 linux
* | k
*bsd
*-gnu)
7117 case $cc_basename in
7119 lt_prog_compiler_wl
='-Wl,'
7120 lt_prog_compiler_pic
='-KPIC'
7121 lt_prog_compiler_static
='-static'
7123 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7124 # Portland Group compilers (*not* the Pentium gcc compiler,
7125 # which looks to be a dead project)
7126 lt_prog_compiler_wl
='-Wl,'
7127 lt_prog_compiler_pic
='-fpic'
7128 lt_prog_compiler_static
='-Bstatic'
7131 lt_prog_compiler_wl
='-Wl,'
7132 # All Alpha code is PIC.
7133 lt_prog_compiler_static
='-non_shared'
7136 case `$CC -V 2>&1 | sed 5q` in
7139 lt_prog_compiler_pic
='-KPIC'
7140 lt_prog_compiler_static
='-Bstatic'
7141 lt_prog_compiler_wl
='-Wl,'
7144 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7145 lt_prog_compiler_pic
='-KPIC'
7146 lt_prog_compiler_static
='-Bstatic'
7147 lt_prog_compiler_wl
=''
7155 lt_prog_compiler_pic
='-KPIC'
7156 lt_prog_compiler_static
='-Bstatic'
7160 # QNX uses GNU C++, but need to define -shared option too, otherwise
7162 lt_prog_compiler_pic
='-fPIC -shared'
7165 osf3
* | osf4
* | osf5
*)
7166 lt_prog_compiler_wl
='-Wl,'
7167 # All OSF/1 code is PIC.
7168 lt_prog_compiler_static
='-non_shared'
7172 lt_prog_compiler_static
='-non_shared'
7176 lt_prog_compiler_pic
='-KPIC'
7177 lt_prog_compiler_static
='-Bstatic'
7178 case $cc_basename in
7180 lt_prog_compiler_wl
='-Qoption ld ';;
7182 lt_prog_compiler_wl
='-Wl,';;
7187 lt_prog_compiler_wl
='-Qoption ld '
7188 lt_prog_compiler_pic
='-PIC'
7189 lt_prog_compiler_static
='-Bstatic'
7192 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7193 lt_prog_compiler_wl
='-Wl,'
7194 lt_prog_compiler_pic
='-KPIC'
7195 lt_prog_compiler_static
='-Bstatic'
7199 if test -d /usr
/nec
;then
7200 lt_prog_compiler_pic
='-Kconform_pic'
7201 lt_prog_compiler_static
='-Bstatic'
7205 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7206 lt_prog_compiler_wl
='-Wl,'
7207 lt_prog_compiler_pic
='-KPIC'
7208 lt_prog_compiler_static
='-Bstatic'
7212 lt_prog_compiler_wl
='-Wl,'
7213 lt_prog_compiler_can_build_shared
=no
7217 lt_prog_compiler_pic
='-pic'
7218 lt_prog_compiler_static
='-Bstatic'
7222 lt_prog_compiler_can_build_shared
=no
7228 # For platforms which do not support PIC, -DPIC is meaningless:
7230 lt_prog_compiler_pic
=
7233 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7236 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7237 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7245 # Check to make sure the PIC flag actually works.
7247 if test -n "$lt_prog_compiler_pic"; then
7248 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7249 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7250 if test "${lt_prog_compiler_pic_works+set}" = set; then
7251 echo $ECHO_N "(cached) $ECHO_C" >&6
7253 lt_prog_compiler_pic_works
=no
7254 ac_outfile
=conftest.
$ac_objext
7255 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7256 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7257 # Insert the option either (1) after the last *FLAGS variable, or
7258 # (2) before a word containing "conftest.", or (3) at the end.
7259 # Note that $ac_compile itself does not contain backslashes and begins
7260 # with a dollar sign (not a hyphen), so the echo should work correctly.
7261 # The option is referenced via a variable to avoid confusing sed.
7262 lt_compile
=`echo "$ac_compile" | $SED \
7263 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7264 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7265 -e 's:$: $lt_compiler_flag:'`
7266 (eval echo "\"\$as_me:7266: $lt_compile\"" >&5)
7267 (eval "$lt_compile" 2>conftest.err
)
7269 cat conftest.err
>&5
7270 echo "$as_me:7270: \$? = $ac_status" >&5
7271 if (exit $ac_status) && test -s "$ac_outfile"; then
7272 # The compiler can only warn and ignore the option if not recognized
7273 # So say no if there are warnings other than the usual output.
7274 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7275 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7276 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7277 lt_prog_compiler_pic_works
=yes
7283 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7284 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7286 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7287 case $lt_prog_compiler_pic in
7289 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7292 lt_prog_compiler_pic
=
7293 lt_prog_compiler_can_build_shared
=no
7304 # Check to make sure the static flag actually works.
7306 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7307 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7308 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7309 if test "${lt_prog_compiler_static_works+set}" = set; then
7310 echo $ECHO_N "(cached) $ECHO_C" >&6
7312 lt_prog_compiler_static_works
=no
7313 save_LDFLAGS
="$LDFLAGS"
7314 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7315 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7316 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7317 # The linker can only warn and ignore the option if not recognized
7318 # So say no if there are warnings
7319 if test -s conftest.err
; then
7320 # Append any errors to the config.log.
7321 cat conftest.err
1>&5
7322 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7323 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7324 if diff conftest.exp conftest.er2
>/dev
/null
; then
7325 lt_prog_compiler_static_works
=yes
7328 lt_prog_compiler_static_works
=yes
7332 LDFLAGS
="$save_LDFLAGS"
7335 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7336 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7338 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7341 lt_prog_compiler_static
=
7350 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7351 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7352 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 lt_cv_prog_compiler_c_o
=no
7356 $RM -r conftest
2>/dev
/null
7360 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7362 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7363 # Insert the option either (1) after the last *FLAGS variable, or
7364 # (2) before a word containing "conftest.", or (3) at the end.
7365 # Note that $ac_compile itself does not contain backslashes and begins
7366 # with a dollar sign (not a hyphen), so the echo should work correctly.
7367 lt_compile
=`echo "$ac_compile" | $SED \
7368 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7369 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7370 -e 's:$: $lt_compiler_flag:'`
7371 (eval echo "\"\$as_me:7371: $lt_compile\"" >&5)
7372 (eval "$lt_compile" 2>out
/conftest.err
)
7374 cat out
/conftest.err
>&5
7375 echo "$as_me:7375: \$? = $ac_status" >&5
7376 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7378 # The compiler can only warn and ignore the option if not recognized
7379 # So say no if there are warnings
7380 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7381 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7382 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7383 lt_cv_prog_compiler_c_o
=yes
7388 # SGI C++ compiler will create directory out/ii_files/ for
7389 # template instantiation
7390 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7391 $RM out
/* && rmdir out
7397 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7398 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7405 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7406 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7407 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7408 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 lt_cv_prog_compiler_c_o
=no
7411 $RM -r conftest
2>/dev
/null
7415 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7417 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7418 # Insert the option either (1) after the last *FLAGS variable, or
7419 # (2) before a word containing "conftest.", or (3) at the end.
7420 # Note that $ac_compile itself does not contain backslashes and begins
7421 # with a dollar sign (not a hyphen), so the echo should work correctly.
7422 lt_compile
=`echo "$ac_compile" | $SED \
7423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7425 -e 's:$: $lt_compiler_flag:'`
7426 (eval echo "\"\$as_me:7426: $lt_compile\"" >&5)
7427 (eval "$lt_compile" 2>out
/conftest.err
)
7429 cat out
/conftest.err
>&5
7430 echo "$as_me:7430: \$? = $ac_status" >&5
7431 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7433 # The compiler can only warn and ignore the option if not recognized
7434 # So say no if there are warnings
7435 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7436 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7437 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7438 lt_cv_prog_compiler_c_o
=yes
7443 # SGI C++ compiler will create directory out/ii_files/ for
7444 # template instantiation
7445 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7446 $RM out
/* && rmdir out
7452 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7453 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7458 hard_links
="nottested"
7459 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7460 # do not overwrite the value of need_locks provided by the user
7461 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7462 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7465 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7467 ln conftest.a conftest.b
2>&5 || hard_links
=no
7468 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7469 echo "$as_me:$LINENO: result: $hard_links" >&5
7470 echo "${ECHO_T}$hard_links" >&6
7471 if test "$hard_links" = no
; then
7472 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7473 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7485 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7486 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7489 allow_undefined_flag
=
7490 always_export_symbols
=no
7492 archive_expsym_cmds
=
7493 compiler_needs_object
=no
7494 enable_shared_with_static_runtimes
=no
7495 export_dynamic_flag_spec
=
7496 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7497 hardcode_automatic
=no
7499 hardcode_direct_absolute
=no
7500 hardcode_libdir_flag_spec
=
7501 hardcode_libdir_flag_spec_ld
=
7502 hardcode_libdir_separator
=
7504 hardcode_shlibpath_var
=unsupported
7506 link_all_deplibs
=unknown
7509 old_archive_from_new_cmds
=
7510 old_archive_from_expsyms_cmds
=
7511 thread_safe_flag_spec
=
7512 whole_archive_flag_spec
=
7513 # include_expsyms should be a list of space-separated symbols to be *always*
7514 # included in the symbol list
7516 # exclude_expsyms can be an extended regexp of symbols to exclude
7517 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7518 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7519 # as well as any symbol that contains `d'.
7520 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7521 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7522 # platforms (ab)use it in PIC code, but their linkers get confused if
7523 # the symbol is explicitly referenced. Since portable code cannot
7524 # rely on this symbol name, it's probably fine to never include it in
7525 # preloaded symbol tables.
7526 extract_expsyms_cmds
=
7529 cygwin
* | mingw
* | pw32
*)
7530 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7531 # When not using gcc, we currently assume that we are using
7532 # Microsoft Visual C++.
7533 if test "$GCC" != yes; then
7538 # we just hope/assume this is gcc and not c89 (= MSVC++)
7547 if test "$with_gnu_ld" = yes; then
7548 # If archive_cmds runs LD, not CC, wlarc should be empty
7551 # Set some defaults for GNU ld with shared library support. These
7552 # are reset later if shared libraries are not supported. Putting them
7553 # here allows them to be overridden if necessary.
7554 runpath_var
=LD_RUN_PATH
7555 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7556 export_dynamic_flag_spec
='${wl}--export-dynamic'
7557 # ancient GNU ld didn't support --whole-archive et. al.
7558 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7559 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7561 whole_archive_flag_spec
=
7563 supports_anon_versioning
=no
7564 case `$LD -v 2>&1` in
7565 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7566 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7567 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7568 *\
2.11.
*) ;; # other 2.11 versions
7569 *) supports_anon_versioning
=yes ;;
7572 # See if GNU ld supports shared libraries.
7575 # On AIX/PPC, the GNU linker is very broken
7576 if test "$host_cpu" != ia64
; then
7580 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7581 *** to be unable to reliably create shared libraries on AIX.
7582 *** Therefore, libtool is disabling shared libraries support. If you
7583 *** really care for shared libraries, you may want to modify your PATH
7584 *** so that a non-GNU linker is found, and then restart.
7591 if test "$host_cpu" = m68k
; then
7592 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7593 hardcode_libdir_flag_spec
='-L$libdir'
7594 hardcode_minus_L
=yes
7597 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7598 # that the semantics of dynamic libraries on AmigaOS, at least up
7599 # to version 4, is to share data among multiple programs linked
7600 # with the same dynamic library. Since this doesn't match the
7601 # behavior of shared libraries on other platforms, we can't use
7607 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7608 allow_undefined_flag
=unsupported
7609 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7610 # support --undefined. This deserves some investigation. FIXME
7611 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7617 cygwin
* | mingw
* | pw32
*)
7618 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7619 # as there is no search path for DLLs.
7620 hardcode_libdir_flag_spec
='-L$libdir'
7621 allow_undefined_flag
=unsupported
7622 always_export_symbols
=no
7623 enable_shared_with_static_runtimes
=yes
7624 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7626 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7627 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7628 # If the export-symbols file already is a .def file (1st line
7629 # is EXPORTS), use it as is; otherwise, prepend...
7630 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7631 cp $export_symbols $output_objdir/$soname.def;
7633 echo EXPORTS > $output_objdir/$soname.def;
7634 cat $export_symbols >> $output_objdir/$soname.def;
7636 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7644 hardcode_shlibpath_var
=no
7645 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7646 export_dynamic_flag_spec
='${wl}-E'
7647 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7648 # Instead, shared libraries are loaded at an image base (0x10000000 by
7649 # default) and relocated if they conflict, which is a slow very memory
7650 # consuming and fragmenting process. To avoid this, we pick a random,
7651 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7652 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7653 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7654 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7657 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7659 if test "$host_os" = linux-dietlibc
; then
7660 case $cc_basename in
7661 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7664 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7665 && test "$tmp_diet" = no
7668 case $cc_basename,$host_cpu in
7669 pgcc
*) # Portland Group C compiler
7670 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7671 tmp_addflag
=' $pic_flag'
7673 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7674 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7675 tmp_addflag
=' $pic_flag -Mnomain' ;;
7676 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7677 tmp_addflag
=' -i_dynamic' ;;
7678 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7679 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7680 ifc
* | ifort
*) # Intel Fortran compiler
7681 tmp_addflag
=' -nofor_main' ;;
7683 case `$CC -V 2>&1 | sed 5q` in
7684 *Sun\ C
*) # Sun C 5.9
7685 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7686 compiler_needs_object
=yes
7687 tmp_sharedflag
='-G' ;;
7688 *Sun\ F
*) # Sun Fortran 8.3
7689 tmp_sharedflag
='-G' ;;
7691 tmp_sharedflag
='-shared' ;;
7693 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7695 if test "x$supports_anon_versioning" = xyes
; then
7696 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7697 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7698 echo "local: *; };" >> $output_objdir/$libname.ver~
7699 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7707 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7708 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7711 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7712 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7717 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7721 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7722 *** create shared libraries on Solaris systems. Therefore, libtool
7723 *** is disabling shared libraries support. We urge you to upgrade GNU
7724 *** binutils to release 2.9.1 or newer. Another option is to modify
7725 *** your PATH or compiler configuration so that the native linker is
7726 *** used, and then restart.
7729 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7730 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7731 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7737 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7738 case `$LD -v 2>&1` in
7739 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7743 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7744 *** reliably create shared libraries on SCO systems. Therefore, libtool
7745 *** is disabling shared libraries support. We urge you to upgrade GNU
7746 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7747 *** your PATH or compiler configuration so that the native linker is
7748 *** used, and then restart.
7753 # For security reasons, it is highly recommended that you always
7754 # use absolute paths for naming shared libraries, and exclude the
7755 # DT_RUNPATH tag from executables and libraries. But doing so
7756 # requires that you compile everything twice, which is a pain.
7757 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7758 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7759 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7760 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7769 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7772 hardcode_shlibpath_var
=no
7776 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7777 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7778 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7785 if test "$ld_shlibs" = no
; then
7787 hardcode_libdir_flag_spec
=
7788 export_dynamic_flag_spec
=
7789 whole_archive_flag_spec
=
7792 # PORTME fill in a description of your system's linker (not GNU ld)
7795 allow_undefined_flag
=unsupported
7796 always_export_symbols
=yes
7797 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7798 # Note: this linker hardcodes the directories in LIBPATH if there
7799 # are no directories specified by -L.
7800 hardcode_minus_L
=yes
7801 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7802 # Neither direct hardcoding nor static linking is supported with a
7804 hardcode_direct
=unsupported
7809 if test "$host_cpu" = ia64
; then
7810 # On IA64, the linker does run time linking by default, so we don't
7811 # have to do anything special.
7812 aix_use_runtimelinking
=no
7813 exp_sym_flag
='-Bexport'
7816 # If we're using GNU nm, then we don't want the "-C" option.
7817 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7818 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7819 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7821 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7823 aix_use_runtimelinking
=no
7825 # Test if we are trying to use run time linking or normal
7826 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7827 # need to do runtime linking.
7828 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7829 for ld_flag
in $LDFLAGS; do
7830 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7831 aix_use_runtimelinking
=yes
7838 exp_sym_flag
='-bexport'
7839 no_entry_flag
='-bnoentry'
7842 # When large executables or shared objects are built, AIX ld can
7843 # have problems creating the table of contents. If linking a library
7844 # or program results in "error TOC overflow" add -mminimal-toc to
7845 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7846 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7850 hardcode_direct_absolute
=yes
7851 hardcode_libdir_separator
=':'
7852 link_all_deplibs
=yes
7853 file_list_spec
='${wl}-f,'
7855 if test "$GCC" = yes; then
7856 case $host_os in aix4.
[012]|aix4.
[012].
*)
7857 # We only want to do this on AIX 4.2 and lower, the check
7858 # below for broken collect2 doesn't work under 4.3+
7859 collect2name
=`${CC} -print-prog-name=collect2`
7860 if test -f "$collect2name" &&
7861 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7863 # We have reworked collect2
7866 # We have old collect2
7867 hardcode_direct
=unsupported
7868 # It fails to find uninstalled libraries when the uninstalled
7869 # path is not listed in the libpath. Setting hardcode_minus_L
7870 # to unsupported forces relinking
7871 hardcode_minus_L
=yes
7872 hardcode_libdir_flag_spec
='-L$libdir'
7873 hardcode_libdir_separator
=
7877 shared_flag
='-shared'
7878 if test "$aix_use_runtimelinking" = yes; then
7879 shared_flag
="$shared_flag "'${wl}-G'
7883 if test "$host_cpu" = ia64
; then
7884 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7885 # chokes on -Wl,-G. The following line is correct:
7888 if test "$aix_use_runtimelinking" = yes; then
7889 shared_flag
='${wl}-G'
7891 shared_flag
='${wl}-bM:SRE'
7896 # It seems that -bexpall does not export symbols beginning with
7897 # underscore (_), so it is better to generate a list of symbols to export.
7898 always_export_symbols
=yes
7899 if test "$aix_use_runtimelinking" = yes; then
7900 # Warning - without using the other runtime loading flags (-brtl),
7901 # -berok will link without error, but may produce a broken library.
7902 allow_undefined_flag
='-berok'
7903 # Determine the default libpath from the value encoded in an
7905 cat >conftest.
$ac_ext <<_ACEOF
7908 cat confdefs.h
>>conftest.
$ac_ext
7909 cat >>conftest.
$ac_ext <<_ACEOF
7910 /* end confdefs.h. */
7920 rm -f conftest.
$ac_objext conftest
$ac_exeext
7921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7922 (eval $ac_link) 2>conftest.er1
7924 grep -v '^ *+' conftest.er1
>conftest.err
7926 cat conftest.err
>&5
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); } &&
7929 { ac_try
='test -z "$ac_c_werror_flag"
7930 || test ! -s conftest.err'
7931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935 (exit $ac_status); }; } &&
7936 { ac_try
='test -s conftest$ac_exeext'
7937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); }; }; then
7943 lt_aix_libpath_sed
='
7944 /Import File Strings/,/^$/ {
7950 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7951 # Check for a 64-bit object if we didn't find anything.
7952 if test -z "$aix_libpath"; then
7953 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7956 echo "$as_me: failed program was:" >&5
7957 sed 's/^/| /' conftest.
$ac_ext >&5
7960 rm -f conftest.err conftest.
$ac_objext \
7961 conftest
$ac_exeext conftest.
$ac_ext
7962 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7964 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7965 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7967 if test "$host_cpu" = ia64
; then
7968 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7969 allow_undefined_flag
="-z nodefs"
7970 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7972 # Determine the default libpath from the value encoded in an
7974 cat >conftest.
$ac_ext <<_ACEOF
7977 cat confdefs.h
>>conftest.
$ac_ext
7978 cat >>conftest.
$ac_ext <<_ACEOF
7979 /* end confdefs.h. */
7989 rm -f conftest.
$ac_objext conftest
$ac_exeext
7990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7991 (eval $ac_link) 2>conftest.er1
7993 grep -v '^ *+' conftest.er1
>conftest.err
7995 cat conftest.err
>&5
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); } &&
7998 { ac_try
='test -z "$ac_c_werror_flag"
7999 || test ! -s conftest.err'
8000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 (exit $ac_status); }; } &&
8005 { ac_try
='test -s conftest$ac_exeext'
8006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); }; }; then
8012 lt_aix_libpath_sed
='
8013 /Import File Strings/,/^$/ {
8019 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8020 # Check for a 64-bit object if we didn't find anything.
8021 if test -z "$aix_libpath"; then
8022 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8025 echo "$as_me: failed program was:" >&5
8026 sed 's/^/| /' conftest.
$ac_ext >&5
8029 rm -f conftest.err conftest.
$ac_objext \
8030 conftest
$ac_exeext conftest.
$ac_ext
8031 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8033 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8034 # Warning - without using the other run time loading flags,
8035 # -berok will link without error, but may produce a broken library.
8036 no_undefined_flag
=' ${wl}-bernotok'
8037 allow_undefined_flag
=' ${wl}-berok'
8038 # Exported symbols can be pulled into shared objects from archives
8039 whole_archive_flag_spec
='$convenience'
8040 archive_cmds_need_lc
=yes
8041 # This is similar to how AIX traditionally builds its shared libraries.
8042 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8048 if test "$host_cpu" = m68k
; then
8049 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8050 hardcode_libdir_flag_spec
='-L$libdir'
8051 hardcode_minus_L
=yes
8053 # see comment about different semantics on the GNU ld section
8058 export_dynamic_flag_spec
=-rdynamic
8061 cygwin
* | mingw
* | pw32
*)
8062 # When not using gcc, we currently assume that we are using
8063 # Microsoft Visual C++.
8064 # hardcode_libdir_flag_spec is actually meaningless, as there is
8065 # no search path for DLLs.
8066 hardcode_libdir_flag_spec
=' '
8067 allow_undefined_flag
=unsupported
8068 # Tell ltmain to make .lib files, not .a files.
8070 # Tell ltmain to make .dll files, not .so files.
8072 # FIXME: Setting linknames here is a bad hack.
8073 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8074 # The linker will automatically build a .lib file if we build a DLL.
8075 old_archive_from_new_cmds
='true'
8076 # FIXME: Should let the user specify the lib program.
8077 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8078 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8079 enable_shared_with_static_runtimes
=yes
8082 darwin
* | rhapsody
*)
8084 rhapsody
* | darwin1.
[012])
8085 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8088 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8090 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8093 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8098 archive_cmds_need_lc
=no
8100 hardcode_automatic
=yes
8101 hardcode_shlibpath_var
=unsupported
8102 whole_archive_flag_spec
=''
8103 link_all_deplibs
=yes
8104 if test "$GCC" = yes ; then
8105 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8106 echo $ECHO_N "(cached) $ECHO_C" >&6
8108 lt_cv_apple_cc_single_mod
=no
8109 if test -z "${LT_MULTI_MODULE}"; then
8110 # By default we will add the -single_module flag. You can override
8111 # by either setting the environment variable LT_MULTI_MODULE
8112 # non-empty at configure time, or by adding -multi-module to the
8114 echo "int foo(void){return 1;}" > conftest.c
8115 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8116 -dynamiclib ${wl}-single_module conftest.c
8117 if test -f libconftest.dylib
; then
8118 lt_cv_apple_cc_single_mod
=yes
8119 rm libconftest.dylib
8125 output_verbose_link_cmd
=echo
8126 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8127 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8128 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8130 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8131 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8133 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8134 module_expsym_cmds
='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8136 case $cc_basename in
8138 output_verbose_link_cmd
=echo
8139 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8140 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8141 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8142 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8143 module_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8153 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8154 hardcode_libdir_flag_spec
='-L$libdir'
8155 hardcode_shlibpath_var
=no
8162 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8163 # support. Future versions do this automatically, but an explicit c++rt0.o
8164 # does not break anything, and helps significantly (at the cost of a little
8167 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8168 hardcode_libdir_flag_spec
='-R$libdir'
8170 hardcode_shlibpath_var
=no
8173 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8175 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8177 hardcode_minus_L
=yes
8178 hardcode_shlibpath_var
=no
8181 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8182 freebsd
* | dragonfly
*)
8183 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8184 hardcode_libdir_flag_spec
='-R$libdir'
8186 hardcode_shlibpath_var
=no
8190 if test "$GCC" = yes; then
8191 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8193 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8195 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8196 hardcode_libdir_separator
=:
8199 # hardcode_minus_L: Not really in the search PATH,
8200 # but as the default location of the library.
8201 hardcode_minus_L
=yes
8202 export_dynamic_flag_spec
='${wl}-E'
8206 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8207 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8209 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8211 if test "$with_gnu_ld" = no
; then
8212 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8213 hardcode_libdir_flag_spec_ld
='+b $libdir'
8214 hardcode_libdir_separator
=:
8216 hardcode_direct_absolute
=yes
8217 export_dynamic_flag_spec
='${wl}-E'
8218 # hardcode_minus_L: Not really in the search PATH,
8219 # but as the default location of the library.
8220 hardcode_minus_L
=yes
8225 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8228 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8231 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8234 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8240 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8243 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8246 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8250 if test "$with_gnu_ld" = no
; then
8251 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8252 hardcode_libdir_separator
=:
8257 hardcode_shlibpath_var
=no
8261 hardcode_direct_absolute
=yes
8262 export_dynamic_flag_spec
='${wl}-E'
8264 # hardcode_minus_L: Not really in the search PATH,
8265 # but as the default location of the library.
8266 hardcode_minus_L
=yes
8272 irix5
* | irix6
* | nonstopux
*)
8273 if test "$GCC" = yes; then
8274 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8275 # Try to use the -exported_symbol ld option, if it does not
8276 # work, assume that -exports_file does not work either and
8277 # implicitly export all symbols.
8278 save_LDFLAGS
="$LDFLAGS"
8279 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8280 cat >conftest.
$ac_ext <<_ACEOF
8283 rm -f conftest.
$ac_objext conftest
$ac_exeext
8284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8285 (eval $ac_link) 2>conftest.er1
8287 grep -v '^ *+' conftest.er1
>conftest.err
8289 cat conftest.err
>&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); } &&
8292 { ac_try
='test -z "$ac_c_werror_flag"
8293 || test ! -s conftest.err'
8294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; } &&
8299 { ac_try
='test -s conftest$ac_exeext'
8300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); }; }; then
8305 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8308 echo "$as_me: failed program was:" >&5
8309 sed 's/^/| /' conftest.
$ac_ext >&5
8312 rm -f conftest.err conftest.
$ac_objext \
8313 conftest
$ac_exeext conftest.
$ac_ext
8314 LDFLAGS
="$save_LDFLAGS"
8316 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8317 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8319 archive_cmds_need_lc
='no'
8320 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8321 hardcode_libdir_separator
=:
8323 link_all_deplibs
=yes
8327 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8328 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8330 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8332 hardcode_libdir_flag_spec
='-R$libdir'
8334 hardcode_shlibpath_var
=no
8338 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8340 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8341 hardcode_libdir_separator
=:
8342 hardcode_shlibpath_var
=no
8350 hardcode_shlibpath_var
=no
8351 hardcode_direct_absolute
=yes
8352 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8353 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8354 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8355 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8356 export_dynamic_flag_spec
='${wl}-E'
8359 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8360 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8361 hardcode_libdir_flag_spec
='-R$libdir'
8364 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8365 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8372 hardcode_libdir_flag_spec
='-L$libdir'
8373 hardcode_minus_L
=yes
8374 allow_undefined_flag
=unsupported
8375 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8376 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8380 if test "$GCC" = yes; then
8381 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8382 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8384 allow_undefined_flag
=' -expect_unresolved \*'
8385 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8387 archive_cmds_need_lc
='no'
8388 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8389 hardcode_libdir_separator
=:
8392 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8393 if test "$GCC" = yes; then
8394 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8395 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8396 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8398 allow_undefined_flag
=' -expect_unresolved \*'
8399 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8400 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8401 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8403 # Both c and cxx compiler support -rpath directly
8404 hardcode_libdir_flag_spec
='-rpath $libdir'
8406 archive_cmds_need_lc
='no'
8407 hardcode_libdir_separator
=:
8411 no_undefined_flag
=' -z defs'
8412 if test "$GCC" = yes; then
8414 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8415 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8416 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8418 case `$CC -V 2>&1` in
8421 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8422 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8423 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8427 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8428 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8429 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8433 hardcode_libdir_flag_spec
='-R$libdir'
8434 hardcode_shlibpath_var
=no
8436 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8438 # The compiler driver will combine and reorder linker options,
8439 # but understands `-z linker_flag'. GCC discards it without `$wl',
8440 # but is careful enough not to reorder.
8441 # Supported since Solaris 2.6 (maybe 2.5.1?)
8442 if test "$GCC" = yes; then
8443 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8445 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8449 link_all_deplibs
=yes
8453 if test "x$host_vendor" = xsequent
; then
8454 # Use $CC to link under sequent, because it throws in some extra .o
8455 # files that make .init and .fini sections work.
8456 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8458 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8460 hardcode_libdir_flag_spec
='-L$libdir'
8462 hardcode_minus_L
=yes
8463 hardcode_shlibpath_var
=no
8467 case $host_vendor in
8469 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8470 hardcode_direct
=yes # is this really true???
8473 ## LD is ld it makes a PLAMLIB
8474 ## CC just makes a GrossModule.
8475 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8476 reload_cmds
='$CC -r -o $output$reload_objs'
8480 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8481 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8484 runpath_var
='LD_RUN_PATH'
8485 hardcode_shlibpath_var
=no
8489 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8490 hardcode_shlibpath_var
=no
8491 export_dynamic_flag_spec
='-Bexport'
8495 if test -d /usr
/nec
; then
8496 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8497 hardcode_shlibpath_var
=no
8498 runpath_var
=LD_RUN_PATH
8499 hardcode_runpath_var
=yes
8504 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8505 no_undefined_flag
='${wl}-z,text'
8506 archive_cmds_need_lc
=no
8507 hardcode_shlibpath_var
=no
8508 runpath_var
='LD_RUN_PATH'
8510 if test "$GCC" = yes; then
8511 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8512 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8514 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8515 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8519 sysv5
* | sco3.2v5
* | sco5v6
*)
8520 # Note: We can NOT use -z defs as we might desire, because we do not
8521 # link with -lc, and that would cause any symbols used from libc to
8522 # always be unresolved, which means just about no library would
8523 # ever link correctly. If we're not using GNU ld we use -z text
8524 # though, which does catch some bad symbols but isn't as heavy-handed
8526 no_undefined_flag
='${wl}-z,text'
8527 allow_undefined_flag
='${wl}-z,nodefs'
8528 archive_cmds_need_lc
=no
8529 hardcode_shlibpath_var
=no
8530 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8531 hardcode_libdir_separator
=':'
8532 link_all_deplibs
=yes
8533 export_dynamic_flag_spec
='${wl}-Bexport'
8534 runpath_var
='LD_RUN_PATH'
8536 if test "$GCC" = yes; then
8537 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8538 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8540 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8541 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8546 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8547 hardcode_libdir_flag_spec
='-L$libdir'
8548 hardcode_shlibpath_var
=no
8556 if test x
$host_vendor = xsni
; then
8558 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8559 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8565 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8566 echo "${ECHO_T}$ld_shlibs" >&6
8567 test "$ld_shlibs" = no
&& can_build_shared
=no
8569 with_gnu_ld
=$with_gnu_ld
8586 # Do we need to explicitly link libc?
8588 case "x$archive_cmds_need_lc" in
8590 # Assume -lc should be added
8591 archive_cmds_need_lc
=yes
8593 if test "$enable_shared" = yes && test "$GCC" = yes; then
8594 case $archive_cmds in
8596 # FIXME: we may have to deal with multi-command sequences.
8599 # Test whether the compiler implicitly links with -lc since on some
8600 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8601 # to ld, don't add -lc before -lgcc.
8602 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8603 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8605 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8608 (eval $ac_compile) 2>&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); } 2>conftest.err
; then
8614 libobjs
=conftest.
$ac_objext
8616 wl
=$lt_prog_compiler_wl
8617 pic_flag
=$lt_prog_compiler_pic
8623 lt_save_allow_undefined_flag
=$allow_undefined_flag
8624 allow_undefined_flag
=
8625 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8626 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); }
8631 archive_cmds_need_lc
=no
8633 archive_cmds_need_lc
=yes
8635 allow_undefined_flag
=$lt_save_allow_undefined_flag
8637 cat conftest.err
1>&5
8640 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8641 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8804 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8805 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8807 if test "$withGCC" = yes; then
8809 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8810 *) lt_awk_arg
="/^libraries:/" ;;
8812 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8813 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8814 # if the path contains ";" then we assume it to be the separator
8815 # otherwise default to the standard path separator (i.e. ":") - it is
8816 # assumed that no part of a normal pathname contains ";" but that should
8817 # okay in the real world where ";" in dirpaths is itself problematic.
8818 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8820 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8822 # Ok, now we have the path, separated by spaces, we can step through it
8823 # and add multilib dir if necessary.
8824 lt_tmp_lt_search_path_spec
=
8825 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8826 for lt_sys_path
in $lt_search_path_spec; do
8827 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8828 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8830 test -d "$lt_sys_path" && \
8831 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8834 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8835 BEGIN {RS=" "; FS="/|\n";} {
8838 for (lt_i = NF; lt_i > 0; lt_i--) {
8839 if ($lt_i != "" && $lt_i != ".") {
8840 if ($lt_i == "..") {
8843 if (lt_count == 0) {
8844 lt_foo="/" $lt_i lt_foo;
8851 if (lt_foo != "") { lt_freq[lt_foo]++; }
8852 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8854 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8856 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8859 libname_spec
='lib$name'
8867 shlibpath_overrides_runpath
=unknown
8869 dynamic_linker
="$host_os ld.so"
8870 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8871 need_lib_prefix
=unknown
8872 hardcode_into_libs
=no
8874 # when you set need_version to no, make sure it does not cause -set_version
8875 # flags to be left without arguments
8876 need_version
=unknown
8881 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8882 shlibpath_var
=LIBPATH
8884 # AIX 3 has no versioning support, so we append a major version to the name.
8885 soname_spec
='${libname}${release}${shared_ext}$major'
8892 hardcode_into_libs
=yes
8893 if test "$host_cpu" = ia64
; then
8894 # AIX 5 supports IA64
8895 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8896 shlibpath_var
=LD_LIBRARY_PATH
8898 # With GCC up to 2.95.x, collect2 would create an import file
8899 # for dependence libraries. The import file would start with
8900 # the line `#! .'. This would cause the generated library to
8901 # depend on `.', always an invalid library. This was fixed in
8902 # development snapshots of GCC prior to 3.0.
8904 aix4 | aix4.
[01] | aix4.
[01].
*)
8905 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8907 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8914 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8915 # soname into executable. Probably we can add versioning support to
8916 # collect2, so additional links can be useful in future.
8917 if test "$aix_use_runtimelinking" = yes; then
8918 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8919 # instead of lib<name>.a to let people know that these are not
8920 # typical AIX shared libraries.
8921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8923 # We preserve .a as extension for shared libraries through AIX4.2
8924 # and later when we are not doing run time linking.
8925 library_names_spec
='${libname}${release}.a $libname.a'
8926 soname_spec
='${libname}${release}${shared_ext}$major'
8928 shlibpath_var
=LIBPATH
8933 if test "$host_cpu" = m68k
; then
8934 library_names_spec
='$libname.ixlibrary $libname.a'
8935 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8936 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8943 library_names_spec
='${libname}${shared_ext}'
8944 dynamic_linker
="$host_os ld.so"
8945 shlibpath_var
=LIBRARY_PATH
8951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8952 soname_spec
='${libname}${release}${shared_ext}$major'
8953 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8954 shlibpath_var
=LD_LIBRARY_PATH
8955 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8956 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8957 # the default ld.so.conf also contains /usr/contrib/lib and
8958 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8959 # libtool to hard-code these into programs
8962 cygwin
* | mingw
* | pw32
*)
8963 version_type
=windows
8968 case $withGCC,$host_os in
8969 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8970 library_names_spec
='$libname.dll.a'
8971 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8972 postinstall_cmds
='base_file=`basename \${file}`~
8973 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8974 dldir=$destdir/`dirname \$dlpath`~
8975 test -d \$dldir || mkdir -p \$dldir~
8976 $install_prog $dir/$dlname \$dldir/$dlname~
8977 chmod a+x \$dldir/$dlname~
8978 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8979 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8981 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8982 dlpath=$dir/\$dldll~
8984 shlibpath_overrides_runpath
=yes
8988 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8989 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8990 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8993 # MinGW DLLs use traditional 'lib' prefix
8994 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8995 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8996 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8997 # It is most probably a Windows format PATH printed by
8998 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8999 # path with ; separators, and with drive letters. We can handle the
9000 # drive letters (cygwin fileutils understands them), so leave them,
9001 # especially as we might pass files found there to a mingw objdump,
9002 # which wouldn't understand a cygwinified path. Ahh.
9003 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9005 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9009 # pw32 DLLs use 'pw' prefix rather than 'lib'
9010 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9016 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9019 dynamic_linker
='Win32 ld.exe'
9020 # FIXME: first we should search . and the directory the executable is in
9024 darwin
* | rhapsody
*)
9025 dynamic_linker
="$host_os dyld"
9029 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9030 soname_spec
='${libname}${release}${major}$shared_ext'
9031 shlibpath_overrides_runpath
=yes
9032 shlibpath_var
=DYLD_LIBRARY_PATH
9033 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9035 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9036 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9044 soname_spec
='${libname}${release}${shared_ext}$major'
9045 shlibpath_var
=LD_LIBRARY_PATH
9052 freebsd
* | dragonfly
*)
9053 # DragonFly does not have aout. When/if they implement a new
9054 # versioning mechanism, adjust this.
9055 if test -x /usr
/bin
/objformat
; then
9056 objformat
=`/usr/bin/objformat`
9059 freebsd
[123]*) objformat
=aout
;;
9063 version_type
=freebsd-
$objformat
9064 case $version_type in
9066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9071 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9075 shlibpath_var
=LD_LIBRARY_PATH
9078 shlibpath_overrides_runpath
=yes
9080 freebsd3.
[01]* | freebsdelf3.
[01]*)
9081 shlibpath_overrides_runpath
=yes
9082 hardcode_into_libs
=yes
9084 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9085 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9086 shlibpath_overrides_runpath
=no
9087 hardcode_into_libs
=yes
9089 *) # from 4.6 on, and DragonFly
9090 shlibpath_overrides_runpath
=yes
9091 hardcode_into_libs
=yes
9100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9101 soname_spec
='${libname}${release}${shared_ext}$major'
9102 shlibpath_var
=LD_LIBRARY_PATH
9103 hardcode_into_libs
=yes
9106 hpux9
* | hpux10
* | hpux11
*)
9107 # Give a soname corresponding to the major version so that dld.sl refuses to
9108 # link against other versions.
9115 hardcode_into_libs
=yes
9116 dynamic_linker
="$host_os dld.so"
9117 shlibpath_var
=LD_LIBRARY_PATH
9118 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9120 soname_spec
='${libname}${release}${shared_ext}$major'
9121 if test "X$HPUX_IA64_MODE" = X32
; then
9122 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9124 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9126 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9130 hardcode_into_libs
=yes
9131 dynamic_linker
="$host_os dld.sl"
9132 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9133 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9135 soname_spec
='${libname}${release}${shared_ext}$major'
9136 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9137 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9141 dynamic_linker
="$host_os dld.sl"
9142 shlibpath_var
=SHLIB_PATH
9143 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9145 soname_spec
='${libname}${release}${shared_ext}$major'
9148 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9149 postinstall_cmds
='chmod 555 $lib'
9156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9157 soname_spec
='${libname}${release}${shared_ext}$major'
9158 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9159 shlibpath_var
=LD_LIBRARY_PATH
9160 shlibpath_overrides_runpath
=no
9161 hardcode_into_libs
=yes
9164 irix5
* | irix6
* | nonstopux
*)
9166 nonstopux
*) version_type
=nonstopux
;;
9168 if test "$lt_cv_prog_gnu_ld" = yes; then
9176 soname_spec
='${libname}${release}${shared_ext}$major'
9177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9179 irix5
* | nonstopux
*)
9183 case $LD in # libtool.m4 will add one of these switches to LD
9184 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9185 libsuff
= shlibsuff
= libmagic
=32-bit;;
9186 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9187 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9188 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9189 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9190 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9194 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9195 shlibpath_overrides_runpath
=no
9196 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9197 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9198 hardcode_into_libs
=yes
9201 # No shared lib support for Linux oldld, aout, or coff.
9202 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9206 # This must be Linux ELF.
9207 linux
* | k
*bsd
*-gnu)
9211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9212 soname_spec
='${libname}${release}${shared_ext}$major'
9213 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9214 shlibpath_var
=LD_LIBRARY_PATH
9215 shlibpath_overrides_runpath
=no
9216 # Some binutils ld are patched to set DT_RUNPATH
9217 save_LDFLAGS
=$LDFLAGS
9219 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9220 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9221 cat >conftest.
$ac_ext <<_ACEOF
9224 cat confdefs.h
>>conftest.
$ac_ext
9225 cat >>conftest.
$ac_ext <<_ACEOF
9226 /* end confdefs.h. */
9236 rm -f conftest.
$ac_objext conftest
$ac_exeext
9237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9238 (eval $ac_link) 2>conftest.er1
9240 grep -v '^ *+' conftest.er1
>conftest.err
9242 cat conftest.err
>&5
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); } &&
9245 { ac_try
='test -z "$ac_c_werror_flag"
9246 || test ! -s conftest.err'
9247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 (exit $ac_status); }; } &&
9252 { ac_try
='test -s conftest$ac_exeext'
9253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257 (exit $ac_status); }; }; then
9258 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9259 shlibpath_overrides_runpath
=yes
9263 echo "$as_me: failed program was:" >&5
9264 sed 's/^/| /' conftest.
$ac_ext >&5
9267 rm -f conftest.err conftest.
$ac_objext \
9268 conftest
$ac_exeext conftest.
$ac_ext
9269 LDFLAGS
=$save_LDFLAGS
9272 # This implies no fast_install, which is unacceptable.
9273 # Some rework will be needed to allow for fast_install
9274 # before this can be enabled.
9275 hardcode_into_libs
=yes
9277 # Append ld.so.conf contents to the search path
9278 if test -f /etc
/ld.so.conf
; then
9279 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9280 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9283 # We used to test for /lib/ld.so.1 and disable shared libraries on
9284 # powerpc, because MkLinux only supported shared libraries with the
9285 # GNU dynamic linker. Since this was broken with cross compilers,
9286 # most powerpc-linux boxes support dynamic linking these days and
9287 # people can always --disable-shared, the test was removed, and we
9288 # assume the GNU/Linux dynamic linker is in use.
9289 dynamic_linker
='GNU/Linux ld.so'
9296 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9298 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9299 dynamic_linker
='NetBSD (a.out) ld.so'
9301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9302 soname_spec
='${libname}${release}${shared_ext}$major'
9303 dynamic_linker
='NetBSD ld.elf_so'
9305 shlibpath_var
=LD_LIBRARY_PATH
9306 shlibpath_overrides_runpath
=yes
9307 hardcode_into_libs
=yes
9312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9313 shlibpath_var
=LD_LIBRARY_PATH
9314 shlibpath_overrides_runpath
=yes
9321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9322 soname_spec
='${libname}${release}${shared_ext}$major'
9323 shlibpath_var
=LD_LIBRARY_PATH
9324 shlibpath_overrides_runpath
=no
9325 hardcode_into_libs
=yes
9326 dynamic_linker
='ldqnx.so'
9331 sys_lib_dlsearch_path_spec
="/usr/lib"
9333 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9335 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9336 *) need_version
=no
;;
9338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9339 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9340 shlibpath_var
=LD_LIBRARY_PATH
9341 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9343 openbsd2.
[89] | openbsd2.
[89].
*)
9344 shlibpath_overrides_runpath
=no
9347 shlibpath_overrides_runpath
=yes
9351 shlibpath_overrides_runpath
=yes
9356 libname_spec
='$name'
9359 library_names_spec
='$libname${shared_ext} $libname.a'
9360 dynamic_linker
='OS/2 ld.exe'
9361 shlibpath_var
=LIBPATH
9364 osf3
* | osf4
* | osf5
*)
9368 soname_spec
='${libname}${release}${shared_ext}$major'
9369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9370 shlibpath_var
=LD_LIBRARY_PATH
9371 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9372 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9384 soname_spec
='${libname}${release}${shared_ext}$major'
9385 shlibpath_var
=LD_LIBRARY_PATH
9386 shlibpath_overrides_runpath
=yes
9387 hardcode_into_libs
=yes
9388 # ldd complains unless libraries are executable
9389 postinstall_cmds
='chmod +x $lib'
9394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9395 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9396 shlibpath_var
=LD_LIBRARY_PATH
9397 shlibpath_overrides_runpath
=yes
9398 if test "$with_gnu_ld" = yes; then
9406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9407 soname_spec
='${libname}${release}${shared_ext}$major'
9408 shlibpath_var
=LD_LIBRARY_PATH
9409 case $host_vendor in
9411 shlibpath_overrides_runpath
=no
9413 runpath_var
=LD_RUN_PATH
9421 shlibpath_overrides_runpath
=no
9422 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9428 if test -d /usr
/nec
;then
9430 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9431 soname_spec
='$libname${shared_ext}.$major'
9432 shlibpath_var
=LD_LIBRARY_PATH
9436 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9437 version_type
=freebsd-elf
9440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9441 soname_spec
='${libname}${release}${shared_ext}$major'
9442 shlibpath_var
=LD_LIBRARY_PATH
9443 shlibpath_overrides_runpath
=yes
9444 hardcode_into_libs
=yes
9445 if test "$with_gnu_ld" = yes; then
9446 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9448 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9451 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9455 sys_lib_dlsearch_path_spec
='/usr/lib'
9459 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9463 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9464 shlibpath_var
=LD_LIBRARY_PATH
9465 shlibpath_overrides_runpath
=no
9466 hardcode_into_libs
=yes
9471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9472 soname_spec
='${libname}${release}${shared_ext}$major'
9473 shlibpath_var
=LD_LIBRARY_PATH
9480 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9481 echo "${ECHO_T}$dynamic_linker" >&6
9482 test "$dynamic_linker" = no
&& can_build_shared
=no
9484 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9485 if test "$GCC" = yes; then
9486 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9575 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9576 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9578 if test -n "$hardcode_libdir_flag_spec" ||
9579 test -n "$runpath_var" ||
9580 test "X$hardcode_automatic" = "Xyes" ; then
9582 # We can hardcode non-existent directories.
9583 if test "$hardcode_direct" != no
&&
9584 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9585 # have to relink, otherwise we might link with an installed library
9586 # when we should be linking with a yet-to-be-installed one
9587 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9588 test "$hardcode_minus_L" != no
; then
9589 # Linking always hardcodes the temporary library directory.
9590 hardcode_action
=relink
9592 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9593 hardcode_action
=immediate
9596 # We cannot hardcode anything, or else we can only hardcode existing
9598 hardcode_action
=unsupported
9600 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9601 echo "${ECHO_T}$hardcode_action" >&6
9603 if test "$hardcode_action" = relink ||
9604 test "$inherit_rpath" = yes; then
9605 # Fast installation is not supported
9606 enable_fast_install
=no
9607 elif test "$shlibpath_overrides_runpath" = yes ||
9608 test "$enable_shared" = no
; then
9609 # Fast installation is not necessary
9610 enable_fast_install
=needless
9618 if test "x$enable_dlopen" != xyes
; then
9619 enable_dlopen
=unknown
9620 enable_dlopen_self
=unknown
9621 enable_dlopen_self_static
=unknown
9628 lt_cv_dlopen
="load_add_on"
9630 lt_cv_dlopen_self
=yes
9634 lt_cv_dlopen
="LoadLibrary"
9639 lt_cv_dlopen
="dlopen"
9644 # if libdl is installed we need to link against it
9645 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9646 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9647 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 ac_check_lib_save_LIBS
=$LIBS
9652 cat >conftest.
$ac_ext <<_ACEOF
9655 cat confdefs.h
>>conftest.
$ac_ext
9656 cat >>conftest.
$ac_ext <<_ACEOF
9657 /* end confdefs.h. */
9659 /* Override any gcc2 internal prototype to avoid an error. */
9663 /* We use char because int might match the return type of a gcc2
9664 builtin and then its argument prototype would still apply. */
9674 rm -f conftest.
$ac_objext conftest
$ac_exeext
9675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9676 (eval $ac_link) 2>conftest.er1
9678 grep -v '^ *+' conftest.er1
>conftest.err
9680 cat conftest.err
>&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } &&
9683 { ac_try
='test -z "$ac_c_werror_flag"
9684 || test ! -s conftest.err'
9685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); }; } &&
9690 { ac_try
='test -s conftest$ac_exeext'
9691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; }; then
9696 ac_cv_lib_dl_dlopen
=yes
9698 echo "$as_me: failed program was:" >&5
9699 sed 's/^/| /' conftest.
$ac_ext >&5
9701 ac_cv_lib_dl_dlopen
=no
9703 rm -f conftest.err conftest.
$ac_objext \
9704 conftest
$ac_exeext conftest.
$ac_ext
9705 LIBS
=$ac_check_lib_save_LIBS
9707 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9708 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9709 if test $ac_cv_lib_dl_dlopen = yes; then
9710 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9715 lt_cv_dlopen_self
=yes
9722 echo "$as_me:$LINENO: checking for shl_load" >&5
9723 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9724 if test "${ac_cv_func_shl_load+set}" = set; then
9725 echo $ECHO_N "(cached) $ECHO_C" >&6
9727 cat >conftest.
$ac_ext <<_ACEOF
9730 cat confdefs.h
>>conftest.
$ac_ext
9731 cat >>conftest.
$ac_ext <<_ACEOF
9732 /* end confdefs.h. */
9733 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9735 #define shl_load innocuous_shl_load
9737 /* System header to define __stub macros and hopefully few prototypes,
9738 which can conflict with char shl_load (); below.
9739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9740 <limits.h> exists even on freestanding compilers. */
9743 # include <limits.h>
9745 # include <assert.h>
9750 /* Override any gcc2 internal prototype to avoid an error. */
9755 /* We use char because int might match the return type of a gcc2
9756 builtin and then its argument prototype would still apply. */
9758 /* The GNU C library defines this for functions which it implements
9759 to always fail with ENOSYS. Some functions are actually named
9760 something starting with __ and the normal name is an alias. */
9761 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9764 char (*f) () = shl_load;
9773 return f != shl_load;
9778 rm -f conftest.
$ac_objext conftest
$ac_exeext
9779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9780 (eval $ac_link) 2>conftest.er1
9782 grep -v '^ *+' conftest.er1
>conftest.err
9784 cat conftest.err
>&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); } &&
9787 { ac_try
='test -z "$ac_c_werror_flag"
9788 || test ! -s conftest.err'
9789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); }; } &&
9794 { ac_try
='test -s conftest$ac_exeext'
9795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 (exit $ac_status); }; }; then
9800 ac_cv_func_shl_load
=yes
9802 echo "$as_me: failed program was:" >&5
9803 sed 's/^/| /' conftest.
$ac_ext >&5
9805 ac_cv_func_shl_load
=no
9807 rm -f conftest.err conftest.
$ac_objext \
9808 conftest
$ac_exeext conftest.
$ac_ext
9810 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9811 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9812 if test $ac_cv_func_shl_load = yes; then
9813 lt_cv_dlopen
="shl_load"
9815 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9816 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9817 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9818 echo $ECHO_N "(cached) $ECHO_C" >&6
9820 ac_check_lib_save_LIBS
=$LIBS
9822 cat >conftest.
$ac_ext <<_ACEOF
9825 cat confdefs.h
>>conftest.
$ac_ext
9826 cat >>conftest.
$ac_ext <<_ACEOF
9827 /* end confdefs.h. */
9829 /* Override any gcc2 internal prototype to avoid an error. */
9833 /* We use char because int might match the return type of a gcc2
9834 builtin and then its argument prototype would still apply. */
9844 rm -f conftest.
$ac_objext conftest
$ac_exeext
9845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9846 (eval $ac_link) 2>conftest.er1
9848 grep -v '^ *+' conftest.er1
>conftest.err
9850 cat conftest.err
>&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); } &&
9853 { ac_try
='test -z "$ac_c_werror_flag"
9854 || test ! -s conftest.err'
9855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); }; } &&
9860 { ac_try
='test -s conftest$ac_exeext'
9861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); }; }; then
9866 ac_cv_lib_dld_shl_load
=yes
9868 echo "$as_me: failed program was:" >&5
9869 sed 's/^/| /' conftest.
$ac_ext >&5
9871 ac_cv_lib_dld_shl_load
=no
9873 rm -f conftest.err conftest.
$ac_objext \
9874 conftest
$ac_exeext conftest.
$ac_ext
9875 LIBS
=$ac_check_lib_save_LIBS
9877 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9878 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9879 if test $ac_cv_lib_dld_shl_load = yes; then
9880 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9882 echo "$as_me:$LINENO: checking for dlopen" >&5
9883 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9884 if test "${ac_cv_func_dlopen+set}" = set; then
9885 echo $ECHO_N "(cached) $ECHO_C" >&6
9887 cat >conftest.
$ac_ext <<_ACEOF
9890 cat confdefs.h
>>conftest.
$ac_ext
9891 cat >>conftest.
$ac_ext <<_ACEOF
9892 /* end confdefs.h. */
9893 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9895 #define dlopen innocuous_dlopen
9897 /* System header to define __stub macros and hopefully few prototypes,
9898 which can conflict with char dlopen (); below.
9899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9900 <limits.h> exists even on freestanding compilers. */
9903 # include <limits.h>
9905 # include <assert.h>
9910 /* Override any gcc2 internal prototype to avoid an error. */
9915 /* We use char because int might match the return type of a gcc2
9916 builtin and then its argument prototype would still apply. */
9918 /* The GNU C library defines this for functions which it implements
9919 to always fail with ENOSYS. Some functions are actually named
9920 something starting with __ and the normal name is an alias. */
9921 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9924 char (*f) () = dlopen;
9938 rm -f conftest.
$ac_objext conftest
$ac_exeext
9939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9940 (eval $ac_link) 2>conftest.er1
9942 grep -v '^ *+' conftest.er1
>conftest.err
9944 cat conftest.err
>&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } &&
9947 { ac_try
='test -z "$ac_c_werror_flag"
9948 || test ! -s conftest.err'
9949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953 (exit $ac_status); }; } &&
9954 { ac_try
='test -s conftest$ac_exeext'
9955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); }; }; then
9960 ac_cv_func_dlopen
=yes
9962 echo "$as_me: failed program was:" >&5
9963 sed 's/^/| /' conftest.
$ac_ext >&5
9965 ac_cv_func_dlopen
=no
9967 rm -f conftest.err conftest.
$ac_objext \
9968 conftest
$ac_exeext conftest.
$ac_ext
9970 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9971 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9972 if test $ac_cv_func_dlopen = yes; then
9973 lt_cv_dlopen
="dlopen"
9975 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9976 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9977 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9978 echo $ECHO_N "(cached) $ECHO_C" >&6
9980 ac_check_lib_save_LIBS
=$LIBS
9982 cat >conftest.
$ac_ext <<_ACEOF
9985 cat confdefs.h
>>conftest.
$ac_ext
9986 cat >>conftest.
$ac_ext <<_ACEOF
9987 /* end confdefs.h. */
9989 /* Override any gcc2 internal prototype to avoid an error. */
9993 /* We use char because int might match the return type of a gcc2
9994 builtin and then its argument prototype would still apply. */
10004 rm -f conftest.
$ac_objext conftest
$ac_exeext
10005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10006 (eval $ac_link) 2>conftest.er1
10008 grep -v '^ *+' conftest.er1
>conftest.err
10010 cat conftest.err
>&5
10011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012 (exit $ac_status); } &&
10013 { ac_try
='test -z "$ac_c_werror_flag"
10014 || test ! -s conftest.err'
10015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10016 (eval $ac_try) 2>&5
10018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10019 (exit $ac_status); }; } &&
10020 { ac_try
='test -s conftest$ac_exeext'
10021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10022 (eval $ac_try) 2>&5
10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 (exit $ac_status); }; }; then
10026 ac_cv_lib_dl_dlopen
=yes
10028 echo "$as_me: failed program was:" >&5
10029 sed 's/^/| /' conftest.
$ac_ext >&5
10031 ac_cv_lib_dl_dlopen
=no
10033 rm -f conftest.err conftest.
$ac_objext \
10034 conftest
$ac_exeext conftest.
$ac_ext
10035 LIBS
=$ac_check_lib_save_LIBS
10037 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10038 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10039 if test $ac_cv_lib_dl_dlopen = yes; then
10040 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10042 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10043 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10044 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10045 echo $ECHO_N "(cached) $ECHO_C" >&6
10047 ac_check_lib_save_LIBS
=$LIBS
10048 LIBS
="-lsvld $LIBS"
10049 cat >conftest.
$ac_ext <<_ACEOF
10052 cat confdefs.h
>>conftest.
$ac_ext
10053 cat >>conftest.
$ac_ext <<_ACEOF
10054 /* end confdefs.h. */
10056 /* Override any gcc2 internal prototype to avoid an error. */
10060 /* We use char because int might match the return type of a gcc2
10061 builtin and then its argument prototype would still apply. */
10071 rm -f conftest.
$ac_objext conftest
$ac_exeext
10072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10073 (eval $ac_link) 2>conftest.er1
10075 grep -v '^ *+' conftest.er1
>conftest.err
10077 cat conftest.err
>&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); } &&
10080 { ac_try
='test -z "$ac_c_werror_flag"
10081 || test ! -s conftest.err'
10082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10083 (eval $ac_try) 2>&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; } &&
10087 { ac_try
='test -s conftest$ac_exeext'
10088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10089 (eval $ac_try) 2>&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); }; }; then
10093 ac_cv_lib_svld_dlopen
=yes
10095 echo "$as_me: failed program was:" >&5
10096 sed 's/^/| /' conftest.
$ac_ext >&5
10098 ac_cv_lib_svld_dlopen
=no
10100 rm -f conftest.err conftest.
$ac_objext \
10101 conftest
$ac_exeext conftest.
$ac_ext
10102 LIBS
=$ac_check_lib_save_LIBS
10104 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10105 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10106 if test $ac_cv_lib_svld_dlopen = yes; then
10107 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10109 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10110 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10111 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 ac_check_lib_save_LIBS
=$LIBS
10116 cat >conftest.
$ac_ext <<_ACEOF
10119 cat confdefs.h
>>conftest.
$ac_ext
10120 cat >>conftest.
$ac_ext <<_ACEOF
10121 /* end confdefs.h. */
10123 /* Override any gcc2 internal prototype to avoid an error. */
10127 /* We use char because int might match the return type of a gcc2
10128 builtin and then its argument prototype would still apply. */
10138 rm -f conftest.
$ac_objext conftest
$ac_exeext
10139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10140 (eval $ac_link) 2>conftest.er1
10142 grep -v '^ *+' conftest.er1
>conftest.err
10144 cat conftest.err
>&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); } &&
10147 { ac_try
='test -z "$ac_c_werror_flag"
10148 || test ! -s conftest.err'
10149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150 (eval $ac_try) 2>&5
10152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 (exit $ac_status); }; } &&
10154 { ac_try
='test -s conftest$ac_exeext'
10155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10156 (eval $ac_try) 2>&5
10158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159 (exit $ac_status); }; }; then
10160 ac_cv_lib_dld_dld_link
=yes
10162 echo "$as_me: failed program was:" >&5
10163 sed 's/^/| /' conftest.
$ac_ext >&5
10165 ac_cv_lib_dld_dld_link
=no
10167 rm -f conftest.err conftest.
$ac_objext \
10168 conftest
$ac_exeext conftest.
$ac_ext
10169 LIBS
=$ac_check_lib_save_LIBS
10171 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10172 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10173 if test $ac_cv_lib_dld_dld_link = yes; then
10174 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10195 if test "x$lt_cv_dlopen" != xno
; then
10201 case $lt_cv_dlopen in
10203 save_CPPFLAGS
="$CPPFLAGS"
10204 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10206 save_LDFLAGS
="$LDFLAGS"
10207 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10210 LIBS
="$lt_cv_dlopen_libs $LIBS"
10212 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10213 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10214 if test "${lt_cv_dlopen_self+set}" = set; then
10215 echo $ECHO_N "(cached) $ECHO_C" >&6
10217 if test "$cross_compiling" = yes; then :
10218 lt_cv_dlopen_self
=cross
10220 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10221 lt_status
=$lt_dlunknown
10222 cat > conftest.
$ac_ext <<_LT_EOF
10223 #line 10223 "configure"
10224 #include "confdefs.h"
10233 # define LT_DLGLOBAL RTLD_GLOBAL
10236 # define LT_DLGLOBAL DL_GLOBAL
10238 # define LT_DLGLOBAL 0
10242 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10243 find out it does not work in some platform. */
10244 #ifndef LT_DLLAZY_OR_NOW
10246 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10249 # define LT_DLLAZY_OR_NOW DL_LAZY
10252 # define LT_DLLAZY_OR_NOW RTLD_NOW
10255 # define LT_DLLAZY_OR_NOW DL_NOW
10257 # define LT_DLLAZY_OR_NOW 0
10265 extern "C" void exit (int);
10268 void fnord() { int i=42;}
10271 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10272 int status = $lt_dlunknown;
10276 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10277 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10278 /* dlclose (self); */
10286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10287 (eval $ac_link) 2>&5
10289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10290 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10291 (.
/conftest
; exit; ) >&5 2>/dev
/null
10293 case x
$lt_status in
10294 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10295 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10296 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10299 # compilation failed
10300 lt_cv_dlopen_self
=no
10307 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10308 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10310 if test "x$lt_cv_dlopen_self" = xyes
; then
10311 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10312 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10313 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10314 if test "${lt_cv_dlopen_self_static+set}" = set; then
10315 echo $ECHO_N "(cached) $ECHO_C" >&6
10317 if test "$cross_compiling" = yes; then :
10318 lt_cv_dlopen_self_static
=cross
10320 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10321 lt_status
=$lt_dlunknown
10322 cat > conftest.
$ac_ext <<_LT_EOF
10323 #line 10323 "configure"
10324 #include "confdefs.h"
10333 # define LT_DLGLOBAL RTLD_GLOBAL
10336 # define LT_DLGLOBAL DL_GLOBAL
10338 # define LT_DLGLOBAL 0
10342 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10343 find out it does not work in some platform. */
10344 #ifndef LT_DLLAZY_OR_NOW
10346 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10349 # define LT_DLLAZY_OR_NOW DL_LAZY
10352 # define LT_DLLAZY_OR_NOW RTLD_NOW
10355 # define LT_DLLAZY_OR_NOW DL_NOW
10357 # define LT_DLLAZY_OR_NOW 0
10365 extern "C" void exit (int);
10368 void fnord() { int i=42;}
10371 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10372 int status = $lt_dlunknown;
10376 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10377 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10378 /* dlclose (self); */
10386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10387 (eval $ac_link) 2>&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10391 (.
/conftest
; exit; ) >&5 2>/dev
/null
10393 case x
$lt_status in
10394 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10395 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10396 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10399 # compilation failed
10400 lt_cv_dlopen_self_static
=no
10407 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10408 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10411 CPPFLAGS
="$save_CPPFLAGS"
10412 LDFLAGS
="$save_LDFLAGS"
10417 case $lt_cv_dlopen_self in
10418 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10419 *) enable_dlopen_self
=unknown
;;
10422 case $lt_cv_dlopen_self_static in
10423 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10424 *) enable_dlopen_self_static
=unknown
;;
10446 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10447 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10448 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10449 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10450 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10451 echo "$as_me:$LINENO: result: yes" >&5
10452 echo "${ECHO_T}yes" >&6
10454 # FIXME - insert some real tests, host_os isn't really good enough
10457 if test -n "$STRIP" ; then
10458 striplib
="$STRIP -x"
10459 old_striplib
="$STRIP -S"
10460 echo "$as_me:$LINENO: result: yes" >&5
10461 echo "${ECHO_T}yes" >&6
10463 echo "$as_me:$LINENO: result: no" >&5
10464 echo "${ECHO_T}no" >&6
10468 echo "$as_me:$LINENO: result: no" >&5
10469 echo "${ECHO_T}no" >&6
10485 # Report which library types will actually be built
10486 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10487 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10488 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10489 echo "${ECHO_T}$can_build_shared" >&6
10491 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10492 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10493 test "$can_build_shared" = "no" && enable_shared
=no
10495 # On AIX, shared libraries and static libraries use the same namespace, and
10496 # are all built from PIC.
10499 test "$enable_shared" = yes && enable_static
=no
10500 if test -n "$RANLIB"; then
10501 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10502 postinstall_cmds
='$RANLIB $lib'
10507 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10508 test "$enable_shared" = yes && enable_static
=no
10512 echo "$as_me:$LINENO: result: $enable_shared" >&5
10513 echo "${ECHO_T}$enable_shared" >&6
10515 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10516 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10517 # Make sure either enable_shared or enable_static is yes.
10518 test "$enable_shared" = yes || enable_static
=yes
10519 echo "$as_me:$LINENO: result: $enable_static" >&5
10520 echo "${ECHO_T}$enable_static" >&6
10527 ac_cpp
='$CPP $CPPFLAGS'
10528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10546 ac_config_commands
="$ac_config_commands libtool"
10551 # Only expand once:
10555 # Check whether --enable-targets or --disable-targets was given.
10556 if test "${enable_targets+set}" = set; then
10557 enableval
="$enable_targets"
10558 case "${enableval}" in
10559 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
10560 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
10561 { (exit 1); exit 1; }; }
10563 no
) enable_targets
= ;;
10564 *) enable_targets
=$enableval ;;
10566 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
10567 if test "${enable_commonbfdlib+set}" = set; then
10568 enableval
="$enable_commonbfdlib"
10569 case "${enableval}" in
10570 yes) commonbfdlib
=true
;;
10571 no
) commonbfdlib
=false
;;
10572 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
10573 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
10574 { (exit 1); exit 1; }; } ;;
10578 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
10580 # Check whether --enable-werror or --disable-werror was given.
10581 if test "${enable_werror+set}" = set; then
10582 enableval
="$enable_werror"
10583 case "${enableval}" in
10584 yes | y
) ERROR_ON_WARNING
="yes" ;;
10585 no | n
) ERROR_ON_WARNING
="no" ;;
10586 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
10587 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
10588 { (exit 1); exit 1; }; } ;;
10592 # Enable -Wno-format by default when using gcc on mingw
10595 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10596 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
10602 # Enable -Werror by default when using gcc
10603 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10604 ERROR_ON_WARNING
=yes
10608 if test "${ERROR_ON_WARNING}" = yes ; then
10609 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
10610 NO_WERROR
="-Wno-error"
10613 if test "${GCC}" = yes ; then
10614 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
10617 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10618 if test "${enable_build_warnings+set}" = set; then
10619 enableval
="$enable_build_warnings"
10620 case "${enableval}" in
10621 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
10622 no
) if test "${GCC}" = yes ; then
10625 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10626 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
10627 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10628 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
10629 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10633 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
10634 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
10641 ac_config_headers
="$ac_config_headers config.h:config.in"
10644 if test -z "$target" ; then
10645 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
10646 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
10647 { (exit 1); exit 1; }; }
10649 if test -z "$host" ; then
10650 { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
10651 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
10652 { (exit 1); exit 1; }; }
10655 for ac_prog
in 'bison -y' byacc
10657 # Extract the first word of "$ac_prog", so it can be a program name with args.
10658 set dummy
$ac_prog; ac_word
=$2
10659 echo "$as_me:$LINENO: checking for $ac_word" >&5
10660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10661 if test "${ac_cv_prog_YACC+set}" = set; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 if test -n "$YACC"; then
10665 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
10667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10668 for as_dir
in $PATH
10671 test -z "$as_dir" && as_dir
=.
10672 for ac_exec_ext
in '' $ac_executable_extensions; do
10673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10674 ac_cv_prog_YACC
="$ac_prog"
10675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10683 YACC
=$ac_cv_prog_YACC
10684 if test -n "$YACC"; then
10685 echo "$as_me:$LINENO: result: $YACC" >&5
10686 echo "${ECHO_T}$YACC" >&6
10688 echo "$as_me:$LINENO: result: no" >&5
10689 echo "${ECHO_T}no" >&6
10692 test -n "$YACC" && break
10694 test -n "$YACC" || YACC
="yacc"
10696 for ac_prog
in flex
lex
10698 # Extract the first word of "$ac_prog", so it can be a program name with args.
10699 set dummy
$ac_prog; ac_word
=$2
10700 echo "$as_me:$LINENO: checking for $ac_word" >&5
10701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10702 if test "${ac_cv_prog_LEX+set}" = set; then
10703 echo $ECHO_N "(cached) $ECHO_C" >&6
10705 if test -n "$LEX"; then
10706 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
10708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10709 for as_dir
in $PATH
10712 test -z "$as_dir" && as_dir
=.
10713 for ac_exec_ext
in '' $ac_executable_extensions; do
10714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10715 ac_cv_prog_LEX
="$ac_prog"
10716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10724 LEX
=$ac_cv_prog_LEX
10725 if test -n "$LEX"; then
10726 echo "$as_me:$LINENO: result: $LEX" >&5
10727 echo "${ECHO_T}$LEX" >&6
10729 echo "$as_me:$LINENO: result: no" >&5
10730 echo "${ECHO_T}no" >&6
10733 test -n "$LEX" && break
10735 test -n "$LEX" || LEX
=":"
10737 if test -z "$LEXLIB"
10739 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
10740 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
10741 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 ac_check_lib_save_LIBS
=$LIBS
10746 cat >conftest.
$ac_ext <<_ACEOF
10749 cat confdefs.h
>>conftest.
$ac_ext
10750 cat >>conftest.
$ac_ext <<_ACEOF
10751 /* end confdefs.h. */
10753 /* Override any gcc2 internal prototype to avoid an error. */
10757 /* We use char because int might match the return type of a gcc2
10758 builtin and then its argument prototype would still apply. */
10768 rm -f conftest.
$ac_objext conftest
$ac_exeext
10769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10770 (eval $ac_link) 2>conftest.er1
10772 grep -v '^ *+' conftest.er1
>conftest.err
10774 cat conftest.err
>&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } &&
10777 { ac_try
='test -z "$ac_c_werror_flag"
10778 || test ! -s conftest.err'
10779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10780 (eval $ac_try) 2>&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); }; } &&
10784 { ac_try
='test -s conftest$ac_exeext'
10785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10786 (eval $ac_try) 2>&5
10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); }; }; then
10790 ac_cv_lib_fl_yywrap
=yes
10792 echo "$as_me: failed program was:" >&5
10793 sed 's/^/| /' conftest.
$ac_ext >&5
10795 ac_cv_lib_fl_yywrap
=no
10797 rm -f conftest.err conftest.
$ac_objext \
10798 conftest
$ac_exeext conftest.
$ac_ext
10799 LIBS
=$ac_check_lib_save_LIBS
10801 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
10802 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
10803 if test $ac_cv_lib_fl_yywrap = yes; then
10806 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
10807 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
10808 if test "${ac_cv_lib_l_yywrap+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 ac_check_lib_save_LIBS
=$LIBS
10813 cat >conftest.
$ac_ext <<_ACEOF
10816 cat confdefs.h
>>conftest.
$ac_ext
10817 cat >>conftest.
$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10820 /* Override any gcc2 internal prototype to avoid an error. */
10824 /* We use char because int might match the return type of a gcc2
10825 builtin and then its argument prototype would still apply. */
10835 rm -f conftest.
$ac_objext conftest
$ac_exeext
10836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10837 (eval $ac_link) 2>conftest.er1
10839 grep -v '^ *+' conftest.er1
>conftest.err
10841 cat conftest.err
>&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); } &&
10844 { ac_try
='test -z "$ac_c_werror_flag"
10845 || test ! -s conftest.err'
10846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10847 (eval $ac_try) 2>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); }; } &&
10851 { ac_try
='test -s conftest$ac_exeext'
10852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10853 (eval $ac_try) 2>&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); }; }; then
10857 ac_cv_lib_l_yywrap
=yes
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.
$ac_ext >&5
10862 ac_cv_lib_l_yywrap
=no
10864 rm -f conftest.err conftest.
$ac_objext \
10865 conftest
$ac_exeext conftest.
$ac_ext
10866 LIBS
=$ac_check_lib_save_LIBS
10868 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
10869 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
10870 if test $ac_cv_lib_l_yywrap = yes; then
10878 if test "x$LEX" != "x:"; then
10879 echo "$as_me:$LINENO: checking lex output file root" >&5
10880 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
10881 if test "${ac_cv_prog_lex_root+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10884 # The minimal lex program is just a single line: %%. But some broken lexes
10885 # (Solaris, I think it was) want two %% lines, so accommodate them.
10886 cat >conftest.l
<<_ACEOF
10890 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
10891 (eval $LEX conftest.l
) 2>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); }
10895 if test -f lex.yy.c
; then
10896 ac_cv_prog_lex_root
=lex.yy
10897 elif test -f lexyy.c
; then
10898 ac_cv_prog_lex_root
=lexyy
10900 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
10901 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
10902 { (exit 1); exit 1; }; }
10905 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
10906 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
10908 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
10910 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
10911 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
10912 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
10913 echo $ECHO_N "(cached) $ECHO_C" >&6
10915 # POSIX says lex can declare yytext either as a pointer or an array; the
10916 # default is implementation-dependent. Figure out which it is, since
10917 # not all implementations provide the %pointer and %array declarations.
10918 ac_cv_prog_lex_yytext_pointer
=no
10919 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
10921 LIBS
="$LIBS $LEXLIB"
10922 cat >conftest.
$ac_ext <<_ACEOF
10923 `cat $LEX_OUTPUT_ROOT.c`
10925 rm -f conftest.
$ac_objext conftest
$ac_exeext
10926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10927 (eval $ac_link) 2>conftest.er1
10929 grep -v '^ *+' conftest.er1
>conftest.err
10931 cat conftest.err
>&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } &&
10934 { ac_try
='test -z "$ac_c_werror_flag"
10935 || test ! -s conftest.err'
10936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10937 (eval $ac_try) 2>&5
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); }; } &&
10941 { ac_try
='test -s conftest$ac_exeext'
10942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10943 (eval $ac_try) 2>&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }; }; then
10947 ac_cv_prog_lex_yytext_pointer
=yes
10949 echo "$as_me: failed program was:" >&5
10950 sed 's/^/| /' conftest.
$ac_ext >&5
10953 rm -f conftest.err conftest.
$ac_objext \
10954 conftest
$ac_exeext conftest.
$ac_ext
10956 rm -f "${LEX_OUTPUT_ROOT}.c"
10959 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
10960 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
10961 if test $ac_cv_prog_lex_yytext_pointer = yes; then
10963 cat >>confdefs.h
<<\_ACEOF
10964 #define YYTEXT_POINTER 1
10970 if test "$LEX" = :; then
10971 LEX
=${am_missing_run}flex
10974 ALL_LINGUAS
="fr tr ja es sv da zh_CN ru ro rw zh_TW fi vi uk sk"
10975 # If we haven't got the data from the intl directory,
10976 # assume NLS is disabled.
10985 if test -f ..
/intl
/config.intl
; then
10986 . ..
/intl
/config.intl
10988 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10989 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10990 if test x
"$USE_NLS" != xyes
; then
10991 echo "$as_me:$LINENO: result: no" >&5
10992 echo "${ECHO_T}no" >&6
10994 echo "$as_me:$LINENO: result: yes" >&5
10995 echo "${ECHO_T}yes" >&6
10997 cat >>confdefs.h
<<\_ACEOF
10998 #define ENABLE_NLS 1
11002 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
11003 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
11004 # Look for .po and .gmo files in the source directory.
11007 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11008 # If there aren't any .gmo files the shell will give us the
11009 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11011 case "$cat" in *\
**)
11014 # The quadruple backslash is collapsed to a double backslash
11015 # by the backticks, then collapsed again by the double quotes,
11016 # leaving us with one backslash in the sed expression (right
11017 # before the dot that mustn't act as a wildcard).
11018 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11019 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11020 # The user is allowed to set LINGUAS to a list of languages to
11021 # install catalogs for. If it's empty that means "all of them."
11022 if test "x$LINGUAS" = x
; then
11023 CATALOGS
="$CATALOGS $cat"
11024 XLINGUAS
="$XLINGUAS $lang"
11026 case "$LINGUAS" in *$lang*)
11027 CATALOGS
="$CATALOGS $cat"
11028 XLINGUAS
="$XLINGUAS $lang"
11033 LINGUAS
="$XLINGUAS"
11034 echo "$as_me:$LINENO: result: $LINGUAS" >&5
11035 echo "${ECHO_T}$LINGUAS" >&6
11049 if test -n "$ac_aux_dir"; then
11050 case "$ac_aux_dir" in
11051 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11052 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11055 if test -z "$MKINSTALLDIRS"; then
11056 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11061 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11062 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11063 # Check whether --enable-nls or --disable-nls was given.
11064 if test "${enable_nls+set}" = set; then
11065 enableval
="$enable_nls"
11070 echo "$as_me:$LINENO: result: $USE_NLS" >&5
11071 echo "${ECHO_T}$USE_NLS" >&6
11078 # Prepare PATH_SEPARATOR.
11079 # The user is always right.
11080 if test "${PATH_SEPARATOR+set}" != set; then
11081 echo "#! /bin/sh" >conf$$.sh
11082 echo "exit 0" >>conf$$.sh
11084 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11092 # Find out how to test for executable files. Don't use a zero-byte file,
11093 # as systems may use methods other than mode bits to determine executability.
11094 cat >conf$$.
file <<_ASEOF
11098 chmod +x conf$$.
file
11099 if test -x conf$$.
file >/dev
/null
2>&1; then
11100 ac_executable_p
="test -x"
11102 ac_executable_p
="test -f"
11106 # Extract the first word of "msgfmt", so it can be a program name with args.
11107 set dummy msgfmt
; ac_word
=$2
11108 echo "$as_me:$LINENO: checking for $ac_word" >&5
11109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11110 if test "${ac_cv_path_MSGFMT+set}" = set; then
11111 echo $ECHO_N "(cached) $ECHO_C" >&6
11115 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11118 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11119 for ac_dir
in $PATH; do
11121 test -z "$ac_dir" && ac_dir
=.
11122 for ac_exec_ext
in '' $ac_executable_extensions; do
11123 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11124 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11125 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11126 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11133 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11137 MSGFMT
="$ac_cv_path_MSGFMT"
11138 if test "$MSGFMT" != ":"; then
11139 echo "$as_me:$LINENO: result: $MSGFMT" >&5
11140 echo "${ECHO_T}$MSGFMT" >&6
11142 echo "$as_me:$LINENO: result: no" >&5
11143 echo "${ECHO_T}no" >&6
11146 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11147 set dummy gmsgfmt
; ac_word
=$2
11148 echo "$as_me:$LINENO: checking for $ac_word" >&5
11149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11150 if test "${ac_cv_path_GMSGFMT+set}" = set; then
11151 echo $ECHO_N "(cached) $ECHO_C" >&6
11155 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11159 for as_dir
in $PATH
11162 test -z "$as_dir" && as_dir
=.
11163 for ac_exec_ext
in '' $ac_executable_extensions; do
11164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11165 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11172 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11176 GMSGFMT
=$ac_cv_path_GMSGFMT
11178 if test -n "$GMSGFMT"; then
11179 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11180 echo "${ECHO_T}$GMSGFMT" >&6
11182 echo "$as_me:$LINENO: result: no" >&5
11183 echo "${ECHO_T}no" >&6
11188 # Prepare PATH_SEPARATOR.
11189 # The user is always right.
11190 if test "${PATH_SEPARATOR+set}" != set; then
11191 echo "#! /bin/sh" >conf$$.sh
11192 echo "exit 0" >>conf$$.sh
11194 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11202 # Find out how to test for executable files. Don't use a zero-byte file,
11203 # as systems may use methods other than mode bits to determine executability.
11204 cat >conf$$.
file <<_ASEOF
11208 chmod +x conf$$.
file
11209 if test -x conf$$.
file >/dev
/null
2>&1; then
11210 ac_executable_p
="test -x"
11212 ac_executable_p
="test -f"
11216 # Extract the first word of "xgettext", so it can be a program name with args.
11217 set dummy xgettext
; ac_word
=$2
11218 echo "$as_me:$LINENO: checking for $ac_word" >&5
11219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11220 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11221 echo $ECHO_N "(cached) $ECHO_C" >&6
11223 case "$XGETTEXT" in
11225 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11228 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11229 for ac_dir
in $PATH; do
11231 test -z "$ac_dir" && ac_dir
=.
11232 for ac_exec_ext
in '' $ac_executable_extensions; do
11233 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11234 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11235 (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
11236 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11243 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11247 XGETTEXT
="$ac_cv_path_XGETTEXT"
11248 if test "$XGETTEXT" != ":"; then
11249 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11250 echo "${ECHO_T}$XGETTEXT" >&6
11252 echo "$as_me:$LINENO: result: no" >&5
11253 echo "${ECHO_T}no" >&6
11259 # Prepare PATH_SEPARATOR.
11260 # The user is always right.
11261 if test "${PATH_SEPARATOR+set}" != set; then
11262 echo "#! /bin/sh" >conf$$.sh
11263 echo "exit 0" >>conf$$.sh
11265 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11273 # Find out how to test for executable files. Don't use a zero-byte file,
11274 # as systems may use methods other than mode bits to determine executability.
11275 cat >conf$$.
file <<_ASEOF
11279 chmod +x conf$$.
file
11280 if test -x conf$$.
file >/dev
/null
2>&1; then
11281 ac_executable_p
="test -x"
11283 ac_executable_p
="test -f"
11287 # Extract the first word of "msgmerge", so it can be a program name with args.
11288 set dummy msgmerge
; ac_word
=$2
11289 echo "$as_me:$LINENO: checking for $ac_word" >&5
11290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11291 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11292 echo $ECHO_N "(cached) $ECHO_C" >&6
11294 case "$MSGMERGE" in
11296 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11299 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11300 for ac_dir
in $PATH; do
11302 test -z "$ac_dir" && ac_dir
=.
11303 for ac_exec_ext
in '' $ac_executable_extensions; do
11304 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11305 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11306 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11313 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11317 MSGMERGE
="$ac_cv_path_MSGMERGE"
11318 if test "$MSGMERGE" != ":"; then
11319 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11320 echo "${ECHO_T}$MSGMERGE" >&6
11322 echo "$as_me:$LINENO: result: no" >&5
11323 echo "${ECHO_T}no" >&6
11327 if test "$GMSGFMT" != ":"; then
11328 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11329 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11332 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11333 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11334 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11339 if test "$XGETTEXT" != ":"; then
11340 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11341 (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
11344 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11345 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11351 ac_config_commands
="$ac_config_commands default-1"
11355 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11356 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
11357 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11358 if test "${enable_maintainer_mode+set}" = set; then
11359 enableval
="$enable_maintainer_mode"
11360 USE_MAINTAINER_MODE
=$enableval
11362 USE_MAINTAINER_MODE
=no
11364 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11365 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11368 if test $USE_MAINTAINER_MODE = yes; then
11369 MAINTAINER_MODE_TRUE
=
11370 MAINTAINER_MODE_FALSE
='#'
11372 MAINTAINER_MODE_TRUE
='#'
11373 MAINTAINER_MODE_FALSE
=
11376 MAINT
=$MAINTAINER_MODE_TRUE
11382 GENINSRC_NEVER_TRUE
=
11383 GENINSRC_NEVER_FALSE
='#'
11385 GENINSRC_NEVER_TRUE
='#'
11386 GENINSRC_NEVER_FALSE
=
11390 if test -n "$EXEEXT"; then
11392 cat >>confdefs.h
<<\_ACEOF
11393 #define HAVE_EXECUTABLE_SUFFIX 1
11398 cat >>confdefs.h
<<_ACEOF
11399 #define EXECUTABLE_SUFFIX "${EXEEXT}"
11403 # host-specific stuff:
11407 .
${srcdir}/..
/bfd
/configure.
host
11412 if test -n "$ac_tool_prefix"; then
11413 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11414 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11415 echo "$as_me:$LINENO: checking for $ac_word" >&5
11416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11417 if test "${ac_cv_prog_RANLIB+set}" = set; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11420 if test -n "$RANLIB"; then
11421 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11424 for as_dir
in $PATH
11427 test -z "$as_dir" && as_dir
=.
11428 for ac_exec_ext
in '' $ac_executable_extensions; do
11429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11430 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11439 RANLIB
=$ac_cv_prog_RANLIB
11440 if test -n "$RANLIB"; then
11441 echo "$as_me:$LINENO: result: $RANLIB" >&5
11442 echo "${ECHO_T}$RANLIB" >&6
11444 echo "$as_me:$LINENO: result: no" >&5
11445 echo "${ECHO_T}no" >&6
11449 if test -z "$ac_cv_prog_RANLIB"; then
11450 ac_ct_RANLIB
=$RANLIB
11451 # Extract the first word of "ranlib", so it can be a program name with args.
11452 set dummy ranlib
; ac_word
=$2
11453 echo "$as_me:$LINENO: checking for $ac_word" >&5
11454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11455 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11456 echo $ECHO_N "(cached) $ECHO_C" >&6
11458 if test -n "$ac_ct_RANLIB"; then
11459 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11462 for as_dir
in $PATH
11465 test -z "$as_dir" && as_dir
=.
11466 for ac_exec_ext
in '' $ac_executable_extensions; do
11467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11468 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11475 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11478 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11479 if test -n "$ac_ct_RANLIB"; then
11480 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11481 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11483 echo "$as_me:$LINENO: result: no" >&5
11484 echo "${ECHO_T}no" >&6
11487 RANLIB
=$ac_ct_RANLIB
11489 RANLIB
="$ac_cv_prog_RANLIB"
11492 # Find a good install program. We prefer a C program (faster),
11493 # so one script is as good as another. But avoid the broken or
11494 # incompatible versions:
11495 # SysV /etc/install, /usr/sbin/install
11496 # SunOS /usr/etc/install
11497 # IRIX /sbin/install
11499 # AmigaOS /C/install, which installs bootblocks on floppy discs
11500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11503 # OS/2's system install, which has a completely different semantic
11504 # ./install, which can be erroneously created by make from ./install.sh.
11505 # Reject install programs that cannot install multiple files.
11506 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11507 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11508 if test -z "$INSTALL"; then
11509 if test "${ac_cv_path_install+set}" = set; then
11510 echo $ECHO_N "(cached) $ECHO_C" >&6
11512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11513 for as_dir
in $PATH
11516 test -z "$as_dir" && as_dir
=.
11517 # Account for people who put trailing slashes in PATH elements.
11519 .
/ | .
// |
/cC
/* | \
11520 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11521 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11524 # OSF1 and SCO ODT 3.0 have their own names for install.
11525 # Don't use installbsd from OSF since it installs stuff as root
11527 for ac_prog
in ginstall scoinst
install; do
11528 for ac_exec_ext
in '' $ac_executable_extensions; do
11529 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11530 if test $ac_prog = install &&
11531 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11532 # AIX install. It has an incompatible calling convention.
11534 elif test $ac_prog = install &&
11535 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11536 # program-specific install script used by HP pwplus--don't use.
11539 rm -rf conftest.one conftest.two conftest.dir
11540 echo one
> conftest.one
11541 echo two
> conftest.two
11543 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11544 test -s conftest.one
&& test -s conftest.two
&&
11545 test -s conftest.dir
/conftest.one
&&
11546 test -s conftest.dir
/conftest.two
11548 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11559 rm -rf conftest.one conftest.two conftest.dir
11562 if test "${ac_cv_path_install+set}" = set; then
11563 INSTALL
=$ac_cv_path_install
11565 # As a last resort, use the slow shell script. Don't cache a
11566 # value for INSTALL within a source directory, because that will
11567 # break other packages using the cache if that directory is
11568 # removed, or if the value is a relative name.
11569 INSTALL
=$ac_install_sh
11572 echo "$as_me:$LINENO: result: $INSTALL" >&5
11573 echo "${ECHO_T}$INSTALL" >&6
11575 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11576 # It thinks the first close brace ends the variable substitution.
11577 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11579 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11581 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11584 # Put a plausible default for CC_FOR_BUILD in Makefile.
11585 if test -z "$CC_FOR_BUILD"; then
11586 if test "x$cross_compiling" = "xno"; then
11587 CC_FOR_BUILD
='$(CC)'
11593 # Also set EXEEXT_FOR_BUILD.
11594 if test "x$cross_compiling" = "xno"; then
11595 EXEEXT_FOR_BUILD
='$(EXEEXT)'
11597 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
11598 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
11599 if test "${bfd_cv_build_exeext+set}" = set; then
11600 echo $ECHO_N "(cached) $ECHO_C" >&6
11603 echo 'int main () { return 0; }' > conftest.c
11604 bfd_cv_build_exeext
=
11605 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
11606 for file in conftest.
*; do
11608 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
11609 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
11613 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
11615 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
11616 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
11617 EXEEXT_FOR_BUILD
=""
11618 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
11622 DEMANGLER_NAME
=c
++filt
11624 *-*-go32* |
*-*-msdos*)
11625 DEMANGLER_NAME
=cxxfilt
11637 for ac_header
in string.h
strings.h stdlib.h unistd.h fcntl.h sys
/file.h limits.h sys
/param.h
11639 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11641 echo "$as_me:$LINENO: checking for $ac_header" >&5
11642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11644 echo $ECHO_N "(cached) $ECHO_C" >&6
11646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11649 # Is the header compilable?
11650 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11651 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11652 cat >conftest.
$ac_ext <<_ACEOF
11655 cat confdefs.h
>>conftest.
$ac_ext
11656 cat >>conftest.
$ac_ext <<_ACEOF
11657 /* end confdefs.h. */
11658 $ac_includes_default
11659 #include <$ac_header>
11661 rm -f conftest.
$ac_objext
11662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11663 (eval $ac_compile) 2>conftest.er1
11665 grep -v '^ *+' conftest.er1
>conftest.err
11667 cat conftest.err
>&5
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); } &&
11670 { ac_try
='test -z "$ac_c_werror_flag"
11671 || test ! -s conftest.err'
11672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11673 (eval $ac_try) 2>&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); }; } &&
11677 { ac_try
='test -s conftest.$ac_objext'
11678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11679 (eval $ac_try) 2>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; }; then
11683 ac_header_compiler
=yes
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.
$ac_ext >&5
11688 ac_header_compiler
=no
11690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11691 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11692 echo "${ECHO_T}$ac_header_compiler" >&6
11694 # Is the header present?
11695 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11696 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11697 cat >conftest.
$ac_ext <<_ACEOF
11700 cat confdefs.h
>>conftest.
$ac_ext
11701 cat >>conftest.
$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11703 #include <$ac_header>
11705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11706 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11708 grep -v '^ *+' conftest.er1
>conftest.err
11710 cat conftest.err
>&5
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); } >/dev
/null
; then
11713 if test -s conftest.err
; then
11714 ac_cpp_err
=$ac_c_preproc_warn_flag
11715 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11722 if test -z "$ac_cpp_err"; then
11723 ac_header_preproc
=yes
11725 echo "$as_me: failed program was:" >&5
11726 sed 's/^/| /' conftest.
$ac_ext >&5
11728 ac_header_preproc
=no
11730 rm -f conftest.err conftest.
$ac_ext
11731 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11732 echo "${ECHO_T}$ac_header_preproc" >&6
11734 # So? What about this header?
11735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11737 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11738 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11740 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11741 ac_header_preproc
=yes
11744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11748 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11749 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11750 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11751 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11754 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11755 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11758 ## ------------------------------------------ ##
11759 ## Report this to the AC_PACKAGE_NAME lists. ##
11760 ## ------------------------------------------ ##
11763 sed "s/^/$as_me: WARNING: /" >&2
11766 echo "$as_me:$LINENO: checking for $ac_header" >&5
11767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11769 echo $ECHO_N "(cached) $ECHO_C" >&6
11771 eval "$as_ac_Header=\$ac_header_preproc"
11773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11778 cat >>confdefs.h
<<_ACEOF
11779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11786 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
11787 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
11788 if test "${ac_cv_header_sys_wait_h+set}" = set; then
11789 echo $ECHO_N "(cached) $ECHO_C" >&6
11791 cat >conftest.
$ac_ext <<_ACEOF
11794 cat confdefs.h
>>conftest.
$ac_ext
11795 cat >>conftest.
$ac_ext <<_ACEOF
11796 /* end confdefs.h. */
11797 #include <sys/types.h>
11798 #include <sys/wait.h>
11799 #ifndef WEXITSTATUS
11800 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
11803 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11811 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11816 rm -f conftest.
$ac_objext
11817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11818 (eval $ac_compile) 2>conftest.er1
11820 grep -v '^ *+' conftest.er1
>conftest.err
11822 cat conftest.err
>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); } &&
11825 { ac_try
='test -z "$ac_c_werror_flag"
11826 || test ! -s conftest.err'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; } &&
11832 { ac_try
='test -s conftest.$ac_objext'
11833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11834 (eval $ac_try) 2>&5
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }; }; then
11838 ac_cv_header_sys_wait_h
=yes
11840 echo "$as_me: failed program was:" >&5
11841 sed 's/^/| /' conftest.
$ac_ext >&5
11843 ac_cv_header_sys_wait_h
=no
11845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11847 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
11848 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
11849 if test $ac_cv_header_sys_wait_h = yes; then
11851 cat >>confdefs.h
<<\_ACEOF
11852 #define HAVE_SYS_WAIT_H 1
11857 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11858 # for constant arguments. Useless!
11859 echo "$as_me:$LINENO: checking for working alloca.h" >&5
11860 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11861 if test "${ac_cv_working_alloca_h+set}" = set; then
11862 echo $ECHO_N "(cached) $ECHO_C" >&6
11864 cat >conftest.
$ac_ext <<_ACEOF
11867 cat confdefs.h
>>conftest.
$ac_ext
11868 cat >>conftest.
$ac_ext <<_ACEOF
11869 /* end confdefs.h. */
11870 #include <alloca.h>
11874 char *p = (char *) alloca (2 * sizeof (int));
11879 rm -f conftest.
$ac_objext conftest
$ac_exeext
11880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11881 (eval $ac_link) 2>conftest.er1
11883 grep -v '^ *+' conftest.er1
>conftest.err
11885 cat conftest.err
>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } &&
11888 { ac_try
='test -z "$ac_c_werror_flag"
11889 || test ! -s conftest.err'
11890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11891 (eval $ac_try) 2>&5
11893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); }; } &&
11895 { ac_try
='test -s conftest$ac_exeext'
11896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11897 (eval $ac_try) 2>&5
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); }; }; then
11901 ac_cv_working_alloca_h
=yes
11903 echo "$as_me: failed program was:" >&5
11904 sed 's/^/| /' conftest.
$ac_ext >&5
11906 ac_cv_working_alloca_h
=no
11908 rm -f conftest.err conftest.
$ac_objext \
11909 conftest
$ac_exeext conftest.
$ac_ext
11911 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11912 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11913 if test $ac_cv_working_alloca_h = yes; then
11915 cat >>confdefs.h
<<\_ACEOF
11916 #define HAVE_ALLOCA_H 1
11921 echo "$as_me:$LINENO: checking for alloca" >&5
11922 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11923 if test "${ac_cv_func_alloca_works+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 cat >conftest.
$ac_ext <<_ACEOF
11929 cat confdefs.h
>>conftest.
$ac_ext
11930 cat >>conftest.
$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11933 # define alloca __builtin_alloca
11936 # include <malloc.h>
11937 # define alloca _alloca
11940 # include <alloca.h>
11945 # ifndef alloca /* predefined by HP cc +Olibcalls */
11956 char *p = (char *) alloca (1);
11961 rm -f conftest.
$ac_objext conftest
$ac_exeext
11962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11963 (eval $ac_link) 2>conftest.er1
11965 grep -v '^ *+' conftest.er1
>conftest.err
11967 cat conftest.err
>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } &&
11970 { ac_try
='test -z "$ac_c_werror_flag"
11971 || test ! -s conftest.err'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; } &&
11977 { ac_try
='test -s conftest$ac_exeext'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; }; then
11983 ac_cv_func_alloca_works
=yes
11985 echo "$as_me: failed program was:" >&5
11986 sed 's/^/| /' conftest.
$ac_ext >&5
11988 ac_cv_func_alloca_works
=no
11990 rm -f conftest.err conftest.
$ac_objext \
11991 conftest
$ac_exeext conftest.
$ac_ext
11993 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11994 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11996 if test $ac_cv_func_alloca_works = yes; then
11998 cat >>confdefs.h
<<\_ACEOF
11999 #define HAVE_ALLOCA 1
12003 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12004 # that cause trouble. Some versions do not even contain alloca or
12005 # contain a buggy version. If you still want to use their alloca,
12006 # use ar to extract alloca.o from them instead of compiling alloca.c.
12008 ALLOCA
=alloca.
$ac_objext
12010 cat >>confdefs.h
<<\_ACEOF
12015 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12016 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
12017 if test "${ac_cv_os_cray+set}" = set; then
12018 echo $ECHO_N "(cached) $ECHO_C" >&6
12020 cat >conftest.
$ac_ext <<_ACEOF
12023 cat confdefs.h
>>conftest.
$ac_ext
12024 cat >>conftest.
$ac_ext <<_ACEOF
12025 /* end confdefs.h. */
12026 #if defined(CRAY) && ! defined(CRAY2)
12033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12034 $EGREP "webecray" >/dev
/null
2>&1; then
12042 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12043 echo "${ECHO_T}$ac_cv_os_cray" >&6
12044 if test $ac_cv_os_cray = yes; then
12045 for ac_func
in _getb67 GETB67 getb67
; do
12046 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12047 echo "$as_me:$LINENO: checking for $ac_func" >&5
12048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12049 if eval "test \"\${$as_ac_var+set}\" = set"; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 cat >conftest.
$ac_ext <<_ACEOF
12055 cat confdefs.h
>>conftest.
$ac_ext
12056 cat >>conftest.
$ac_ext <<_ACEOF
12057 /* end confdefs.h. */
12058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12060 #define $ac_func innocuous_$ac_func
12062 /* System header to define __stub macros and hopefully few prototypes,
12063 which can conflict with char $ac_func (); below.
12064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12065 <limits.h> exists even on freestanding compilers. */
12068 # include <limits.h>
12070 # include <assert.h>
12075 /* Override any gcc2 internal prototype to avoid an error. */
12080 /* We use char because int might match the return type of a gcc2
12081 builtin and then its argument prototype would still apply. */
12083 /* The GNU C library defines this for functions which it implements
12084 to always fail with ENOSYS. Some functions are actually named
12085 something starting with __ and the normal name is an alias. */
12086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12089 char (*f) () = $ac_func;
12098 return f != $ac_func;
12103 rm -f conftest.
$ac_objext conftest
$ac_exeext
12104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12105 (eval $ac_link) 2>conftest.er1
12107 grep -v '^ *+' conftest.er1
>conftest.err
12109 cat conftest.err
>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } &&
12112 { ac_try
='test -z "$ac_c_werror_flag"
12113 || test ! -s conftest.err'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; } &&
12119 { ac_try
='test -s conftest$ac_exeext'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; }; then
12125 eval "$as_ac_var=yes"
12127 echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.
$ac_ext >&5
12130 eval "$as_ac_var=no"
12132 rm -f conftest.err conftest.
$ac_objext \
12133 conftest
$ac_exeext conftest.
$ac_ext
12135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12137 if test `eval echo '${'$as_ac_var'}'` = yes; then
12139 cat >>confdefs.h
<<_ACEOF
12140 #define CRAY_STACKSEG_END $ac_func
12149 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
12150 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
12151 if test "${ac_cv_c_stack_direction+set}" = set; then
12152 echo $ECHO_N "(cached) $ECHO_C" >&6
12154 if test "$cross_compiling" = yes; then
12155 ac_cv_c_stack_direction
=0
12157 cat >conftest.
$ac_ext <<_ACEOF
12160 cat confdefs.h
>>conftest.
$ac_ext
12161 cat >>conftest.
$ac_ext <<_ACEOF
12162 /* end confdefs.h. */
12164 find_stack_direction ()
12166 static char *addr = 0;
12171 return find_stack_direction ();
12174 return (&dummy > addr) ? 1 : -1;
12180 exit (find_stack_direction () < 0);
12183 rm -f conftest
$ac_exeext
12184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12185 (eval $ac_link) 2>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 (eval $ac_try) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; }; then
12194 ac_cv_c_stack_direction
=1
12196 echo "$as_me: program exited with status $ac_status" >&5
12197 echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.
$ac_ext >&5
12200 ( exit $ac_status )
12201 ac_cv_c_stack_direction
=-1
12203 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12206 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
12207 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
12209 cat >>confdefs.h
<<_ACEOF
12210 #define STACK_DIRECTION $ac_cv_c_stack_direction
12221 for ac_func
in sbrk utimes setmode getc_unlocked strcoll
12223 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12224 echo "$as_me:$LINENO: checking for $ac_func" >&5
12225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12226 if eval "test \"\${$as_ac_var+set}\" = set"; then
12227 echo $ECHO_N "(cached) $ECHO_C" >&6
12229 cat >conftest.
$ac_ext <<_ACEOF
12232 cat confdefs.h
>>conftest.
$ac_ext
12233 cat >>conftest.
$ac_ext <<_ACEOF
12234 /* end confdefs.h. */
12235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12237 #define $ac_func innocuous_$ac_func
12239 /* System header to define __stub macros and hopefully few prototypes,
12240 which can conflict with char $ac_func (); below.
12241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12242 <limits.h> exists even on freestanding compilers. */
12245 # include <limits.h>
12247 # include <assert.h>
12252 /* Override any gcc2 internal prototype to avoid an error. */
12257 /* We use char because int might match the return type of a gcc2
12258 builtin and then its argument prototype would still apply. */
12260 /* The GNU C library defines this for functions which it implements
12261 to always fail with ENOSYS. Some functions are actually named
12262 something starting with __ and the normal name is an alias. */
12263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12266 char (*f) () = $ac_func;
12275 return f != $ac_func;
12280 rm -f conftest.
$ac_objext conftest
$ac_exeext
12281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12282 (eval $ac_link) 2>conftest.er1
12284 grep -v '^ *+' conftest.er1
>conftest.err
12286 cat conftest.err
>&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); } &&
12289 { ac_try
='test -z "$ac_c_werror_flag"
12290 || test ! -s conftest.err'
12291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12292 (eval $ac_try) 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }; } &&
12296 { ac_try
='test -s conftest$ac_exeext'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; }; then
12302 eval "$as_ac_var=yes"
12304 echo "$as_me: failed program was:" >&5
12305 sed 's/^/| /' conftest.
$ac_ext >&5
12307 eval "$as_ac_var=no"
12309 rm -f conftest.err conftest.
$ac_objext \
12310 conftest
$ac_exeext conftest.
$ac_ext
12312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12314 if test `eval echo '${'$as_ac_var'}'` = yes; then
12315 cat >>confdefs.h
<<_ACEOF
12316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12322 echo "$as_me:$LINENO: checking for mkstemp" >&5
12323 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
12324 if test "${ac_cv_func_mkstemp+set}" = set; then
12325 echo $ECHO_N "(cached) $ECHO_C" >&6
12327 cat >conftest.
$ac_ext <<_ACEOF
12330 cat confdefs.h
>>conftest.
$ac_ext
12331 cat >>conftest.
$ac_ext <<_ACEOF
12332 /* end confdefs.h. */
12333 /* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
12334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12335 #define mkstemp innocuous_mkstemp
12337 /* System header to define __stub macros and hopefully few prototypes,
12338 which can conflict with char mkstemp (); below.
12339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12340 <limits.h> exists even on freestanding compilers. */
12343 # include <limits.h>
12345 # include <assert.h>
12350 /* Override any gcc2 internal prototype to avoid an error. */
12355 /* We use char because int might match the return type of a gcc2
12356 builtin and then its argument prototype would still apply. */
12358 /* The GNU C library defines this for functions which it implements
12359 to always fail with ENOSYS. Some functions are actually named
12360 something starting with __ and the normal name is an alias. */
12361 #if defined (__stub_mkstemp) || defined (__stub___mkstemp)
12364 char (*f) () = mkstemp;
12373 return f != mkstemp;
12378 rm -f conftest.
$ac_objext conftest
$ac_exeext
12379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12380 (eval $ac_link) 2>conftest.er1
12382 grep -v '^ *+' conftest.er1
>conftest.err
12384 cat conftest.err
>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); } &&
12387 { ac_try
='test -z "$ac_c_werror_flag"
12388 || test ! -s conftest.err'
12389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12390 (eval $ac_try) 2>&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); }; } &&
12394 { ac_try
='test -s conftest$ac_exeext'
12395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12396 (eval $ac_try) 2>&5
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); }; }; then
12400 ac_cv_func_mkstemp
=yes
12402 echo "$as_me: failed program was:" >&5
12403 sed 's/^/| /' conftest.
$ac_ext >&5
12405 ac_cv_func_mkstemp
=no
12407 rm -f conftest.err conftest.
$ac_objext \
12408 conftest
$ac_exeext conftest.
$ac_ext
12410 echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
12411 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
12412 if test $ac_cv_func_mkstemp = yes; then
12414 cat >>confdefs.h
<<\_ACEOF
12415 #define HAVE_MKSTEMP 1
12420 echo "$as_me:$LINENO: checking for mkdtemp" >&5
12421 echo $ECHO_N "checking for mkdtemp... $ECHO_C" >&6
12422 if test "${ac_cv_func_mkdtemp+set}" = set; then
12423 echo $ECHO_N "(cached) $ECHO_C" >&6
12425 cat >conftest.
$ac_ext <<_ACEOF
12428 cat confdefs.h
>>conftest.
$ac_ext
12429 cat >>conftest.
$ac_ext <<_ACEOF
12430 /* end confdefs.h. */
12431 /* Define mkdtemp to an innocuous variant, in case <limits.h> declares mkdtemp.
12432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12433 #define mkdtemp innocuous_mkdtemp
12435 /* System header to define __stub macros and hopefully few prototypes,
12436 which can conflict with char mkdtemp (); below.
12437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12438 <limits.h> exists even on freestanding compilers. */
12441 # include <limits.h>
12443 # include <assert.h>
12448 /* Override any gcc2 internal prototype to avoid an error. */
12453 /* We use char because int might match the return type of a gcc2
12454 builtin and then its argument prototype would still apply. */
12456 /* The GNU C library defines this for functions which it implements
12457 to always fail with ENOSYS. Some functions are actually named
12458 something starting with __ and the normal name is an alias. */
12459 #if defined (__stub_mkdtemp) || defined (__stub___mkdtemp)
12462 char (*f) () = mkdtemp;
12471 return f != mkdtemp;
12476 rm -f conftest.
$ac_objext conftest
$ac_exeext
12477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12478 (eval $ac_link) 2>conftest.er1
12480 grep -v '^ *+' conftest.er1
>conftest.err
12482 cat conftest.err
>&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); } &&
12485 { ac_try
='test -z "$ac_c_werror_flag"
12486 || test ! -s conftest.err'
12487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12488 (eval $ac_try) 2>&5
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); }; } &&
12492 { ac_try
='test -s conftest$ac_exeext'
12493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12494 (eval $ac_try) 2>&5
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); }; }; then
12498 ac_cv_func_mkdtemp
=yes
12500 echo "$as_me: failed program was:" >&5
12501 sed 's/^/| /' conftest.
$ac_ext >&5
12503 ac_cv_func_mkdtemp
=no
12505 rm -f conftest.err conftest.
$ac_objext \
12506 conftest
$ac_exeext conftest.
$ac_ext
12508 echo "$as_me:$LINENO: result: $ac_cv_func_mkdtemp" >&5
12509 echo "${ECHO_T}$ac_cv_func_mkdtemp" >&6
12510 if test $ac_cv_func_mkdtemp = yes; then
12512 cat >>confdefs.h
<<\_ACEOF
12513 #define HAVE_MKDTEMP 1
12519 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
12520 # needs to be defined for it
12521 echo "$as_me:$LINENO: checking for fopen64" >&5
12522 echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
12523 if test "${bu_cv_have_fopen64+set}" = set; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 cat >conftest.
$ac_ext <<_ACEOF
12529 cat confdefs.h
>>conftest.
$ac_ext
12530 cat >>conftest.
$ac_ext <<_ACEOF
12531 /* end confdefs.h. */
12536 FILE *f = fopen64 ("/tmp/foo","r");
12541 rm -f conftest.
$ac_objext conftest
$ac_exeext
12542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12543 (eval $ac_link) 2>conftest.er1
12545 grep -v '^ *+' conftest.er1
>conftest.err
12547 cat conftest.err
>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); } &&
12550 { ac_try
='test -z "$ac_c_werror_flag"
12551 || test ! -s conftest.err'
12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 (eval $ac_try) 2>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; } &&
12557 { ac_try
='test -s conftest$ac_exeext'
12558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559 (eval $ac_try) 2>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); }; }; then
12563 bu_cv_have_fopen64
=yes
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.
$ac_ext >&5
12568 saved_CPPFLAGS
=$CPPFLAGS
12569 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12570 cat >conftest.
$ac_ext <<_ACEOF
12573 cat confdefs.h
>>conftest.
$ac_ext
12574 cat >>conftest.
$ac_ext <<_ACEOF
12575 /* end confdefs.h. */
12580 FILE *f = fopen64 ("/tmp/foo","r");
12585 rm -f conftest.
$ac_objext conftest
$ac_exeext
12586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12587 (eval $ac_link) 2>conftest.er1
12589 grep -v '^ *+' conftest.er1
>conftest.err
12591 cat conftest.err
>&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); } &&
12594 { ac_try
='test -z "$ac_c_werror_flag"
12595 || test ! -s conftest.err'
12596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 (eval $ac_try) 2>&5
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; } &&
12601 { ac_try
='test -s conftest$ac_exeext'
12602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12603 (eval $ac_try) 2>&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); }; }; then
12607 bu_cv_have_fopen64
="need -D_LARGEFILE64_SOURCE"
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.
$ac_ext >&5
12612 bu_cv_have_fopen64
=no
12614 rm -f conftest.err conftest.
$ac_objext \
12615 conftest
$ac_exeext conftest.
$ac_ext
12616 CPPFLAGS
=$saved_CPPFLAGS
12618 rm -f conftest.err conftest.
$ac_objext \
12619 conftest
$ac_exeext conftest.
$ac_ext
12622 echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
12623 echo "${ECHO_T}$bu_cv_have_fopen64" >&6
12624 if test "$bu_cv_have_fopen64" != no
; then
12626 cat >>confdefs.h
<<\_ACEOF
12627 #define HAVE_FOPEN64 1
12631 echo "$as_me:$LINENO: checking for stat64" >&5
12632 echo $ECHO_N "checking for stat64... $ECHO_C" >&6
12633 if test "${bu_cv_have_stat64+set}" = set; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 cat >conftest.
$ac_ext <<_ACEOF
12639 cat confdefs.h
>>conftest.
$ac_ext
12640 cat >>conftest.
$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12642 #include <sys/stat.h>
12646 struct stat64 st; stat64 ("/tmp/foo", &st);
12651 rm -f conftest.
$ac_objext conftest
$ac_exeext
12652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12653 (eval $ac_link) 2>conftest.er1
12655 grep -v '^ *+' conftest.er1
>conftest.err
12657 cat conftest.err
>&5
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); } &&
12660 { ac_try
='test -z "$ac_c_werror_flag"
12661 || test ! -s conftest.err'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; } &&
12667 { ac_try
='test -s conftest$ac_exeext'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; }; then
12673 bu_cv_have_stat64
=yes
12675 echo "$as_me: failed program was:" >&5
12676 sed 's/^/| /' conftest.
$ac_ext >&5
12678 saved_CPPFLAGS
=$CPPFLAGS
12679 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12680 cat >conftest.
$ac_ext <<_ACEOF
12683 cat confdefs.h
>>conftest.
$ac_ext
12684 cat >>conftest.
$ac_ext <<_ACEOF
12685 /* end confdefs.h. */
12686 #include <sys/stat.h>
12690 struct stat64 st; stat64 ("/tmp/foo", &st);
12695 rm -f conftest.
$ac_objext conftest
$ac_exeext
12696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12697 (eval $ac_link) 2>conftest.er1
12699 grep -v '^ *+' conftest.er1
>conftest.err
12701 cat conftest.err
>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); } &&
12704 { ac_try
='test -z "$ac_c_werror_flag"
12705 || test ! -s conftest.err'
12706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12707 (eval $ac_try) 2>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); }; } &&
12711 { ac_try
='test -s conftest$ac_exeext'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; }; then
12717 bu_cv_have_stat64
="need -D_LARGEFILE64_SOURCE"
12719 echo "$as_me: failed program was:" >&5
12720 sed 's/^/| /' conftest.
$ac_ext >&5
12722 bu_cv_have_stat64
=no
12724 rm -f conftest.err conftest.
$ac_objext \
12725 conftest
$ac_exeext conftest.
$ac_ext
12726 CPPFLAGS
=$saved_CPPFLAGS
12728 rm -f conftest.err conftest.
$ac_objext \
12729 conftest
$ac_exeext conftest.
$ac_ext
12732 echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
12733 echo "${ECHO_T}$bu_cv_have_stat64" >&6
12734 if test "$bu_cv_have_stat64" != no
; then
12736 cat >>confdefs.h
<<\_ACEOF
12737 #define HAVE_STAT64 1
12741 if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
12742 ||
test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
12744 cat >>confdefs.h
<<\_ACEOF
12745 #define _LARGEFILE64_SOURCE 1
12748 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12751 # Some systems have frexp only in -lm, not in -lc.
12752 echo "$as_me:$LINENO: checking for library containing frexp" >&5
12753 echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
12754 if test "${ac_cv_search_frexp+set}" = set; then
12755 echo $ECHO_N "(cached) $ECHO_C" >&6
12757 ac_func_search_save_LIBS
=$LIBS
12758 ac_cv_search_frexp
=no
12759 cat >conftest.
$ac_ext <<_ACEOF
12762 cat confdefs.h
>>conftest.
$ac_ext
12763 cat >>conftest.
$ac_ext <<_ACEOF
12764 /* end confdefs.h. */
12766 /* Override any gcc2 internal prototype to avoid an error. */
12770 /* We use char because int might match the return type of a gcc2
12771 builtin and then its argument prototype would still apply. */
12781 rm -f conftest.
$ac_objext conftest
$ac_exeext
12782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12783 (eval $ac_link) 2>conftest.er1
12785 grep -v '^ *+' conftest.er1
>conftest.err
12787 cat conftest.err
>&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); } &&
12790 { ac_try
='test -z "$ac_c_werror_flag"
12791 || test ! -s conftest.err'
12792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12793 (eval $ac_try) 2>&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); }; } &&
12797 { ac_try
='test -s conftest$ac_exeext'
12798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12799 (eval $ac_try) 2>&5
12801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802 (exit $ac_status); }; }; then
12803 ac_cv_search_frexp
="none required"
12805 echo "$as_me: failed program was:" >&5
12806 sed 's/^/| /' conftest.
$ac_ext >&5
12809 rm -f conftest.err conftest.
$ac_objext \
12810 conftest
$ac_exeext conftest.
$ac_ext
12811 if test "$ac_cv_search_frexp" = no
; then
12812 for ac_lib
in m
; do
12813 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12814 cat >conftest.
$ac_ext <<_ACEOF
12817 cat confdefs.h
>>conftest.
$ac_ext
12818 cat >>conftest.
$ac_ext <<_ACEOF
12819 /* end confdefs.h. */
12821 /* Override any gcc2 internal prototype to avoid an error. */
12825 /* We use char because int might match the return type of a gcc2
12826 builtin and then its argument prototype would still apply. */
12836 rm -f conftest.
$ac_objext conftest
$ac_exeext
12837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12838 (eval $ac_link) 2>conftest.er1
12840 grep -v '^ *+' conftest.er1
>conftest.err
12842 cat conftest.err
>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try
='test -z "$ac_c_werror_flag"
12846 || test ! -s conftest.err'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; } &&
12852 { ac_try
='test -s conftest$ac_exeext'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; }; then
12858 ac_cv_search_frexp
="-l$ac_lib"
12861 echo "$as_me: failed program was:" >&5
12862 sed 's/^/| /' conftest.
$ac_ext >&5
12865 rm -f conftest.err conftest.
$ac_objext \
12866 conftest
$ac_exeext conftest.
$ac_ext
12869 LIBS
=$ac_func_search_save_LIBS
12871 echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
12872 echo "${ECHO_T}$ac_cv_search_frexp" >&6
12873 if test "$ac_cv_search_frexp" != no
; then
12874 test "$ac_cv_search_frexp" = "none required" || LIBS
="$ac_cv_search_frexp $LIBS"
12879 echo "$as_me:$LINENO: checking for time_t in time.h" >&5
12880 echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
12881 if test "${bu_cv_decl_time_t_time_h+set}" = set; then
12882 echo $ECHO_N "(cached) $ECHO_C" >&6
12884 cat >conftest.
$ac_ext <<_ACEOF
12887 cat confdefs.h
>>conftest.
$ac_ext
12888 cat >>conftest.
$ac_ext <<_ACEOF
12889 /* end confdefs.h. */
12899 rm -f conftest.
$ac_objext
12900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12901 (eval $ac_compile) 2>conftest.er1
12903 grep -v '^ *+' conftest.er1
>conftest.err
12905 cat conftest.err
>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); } &&
12908 { ac_try
='test -z "$ac_c_werror_flag"
12909 || test ! -s conftest.err'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; } &&
12915 { ac_try
='test -s conftest.$ac_objext'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; }; then
12921 bu_cv_decl_time_t_time_h
=yes
12923 echo "$as_me: failed program was:" >&5
12924 sed 's/^/| /' conftest.
$ac_ext >&5
12926 bu_cv_decl_time_t_time_h
=no
12928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12931 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
12932 echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
12933 if test $bu_cv_decl_time_t_time_h = yes; then
12935 cat >>confdefs.h
<<\_ACEOF
12936 #define HAVE_TIME_T_IN_TIME_H 1
12941 echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
12942 echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
12943 if test "${bu_cv_decl_time_t_types_h+set}" = set; then
12944 echo $ECHO_N "(cached) $ECHO_C" >&6
12946 cat >conftest.
$ac_ext <<_ACEOF
12949 cat confdefs.h
>>conftest.
$ac_ext
12950 cat >>conftest.
$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 #include <sys/types.h>
12961 rm -f conftest.
$ac_objext
12962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12963 (eval $ac_compile) 2>conftest.er1
12965 grep -v '^ *+' conftest.er1
>conftest.err
12967 cat conftest.err
>&5
12968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12969 (exit $ac_status); } &&
12970 { ac_try
='test -z "$ac_c_werror_flag"
12971 || test ! -s conftest.err'
12972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12973 (eval $ac_try) 2>&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); }; } &&
12977 { ac_try
='test -s conftest.$ac_objext'
12978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12979 (eval $ac_try) 2>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; }; then
12983 bu_cv_decl_time_t_types_h
=yes
12985 echo "$as_me: failed program was:" >&5
12986 sed 's/^/| /' conftest.
$ac_ext >&5
12988 bu_cv_decl_time_t_types_h
=no
12990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12993 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
12994 echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
12995 if test $bu_cv_decl_time_t_types_h = yes; then
12997 cat >>confdefs.h
<<\_ACEOF
12998 #define HAVE_TIME_T_IN_TYPES_H 1
13003 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
13004 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
13005 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
13006 echo $ECHO_N "(cached) $ECHO_C" >&6
13008 cat >conftest.
$ac_ext <<_ACEOF
13011 cat confdefs.h
>>conftest.
$ac_ext
13012 cat >>conftest.
$ac_ext <<_ACEOF
13013 /* end confdefs.h. */
13014 #include <unistd.h>
13018 extern int getopt (int, char *const*, const char *);
13023 rm -f conftest.
$ac_objext
13024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13025 (eval $ac_compile) 2>conftest.er1
13027 grep -v '^ *+' conftest.er1
>conftest.err
13029 cat conftest.err
>&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); } &&
13032 { ac_try
='test -z "$ac_c_werror_flag"
13033 || test ! -s conftest.err'
13034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13035 (eval $ac_try) 2>&5
13037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 (exit $ac_status); }; } &&
13039 { ac_try
='test -s conftest.$ac_objext'
13040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13041 (eval $ac_try) 2>&5
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }; }; then
13045 bu_cv_decl_getopt_unistd_h
=yes
13047 echo "$as_me: failed program was:" >&5
13048 sed 's/^/| /' conftest.
$ac_ext >&5
13050 bu_cv_decl_getopt_unistd_h
=no
13052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13055 echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
13056 echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
13057 if test $bu_cv_decl_getopt_unistd_h = yes; then
13059 cat >>confdefs.h
<<\_ACEOF
13060 #define HAVE_DECL_GETOPT 1
13065 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
13067 echo "$as_me:$LINENO: checking for utime.h" >&5
13068 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
13069 if test "${bu_cv_header_utime_h+set}" = set; then
13070 echo $ECHO_N "(cached) $ECHO_C" >&6
13072 cat >conftest.
$ac_ext <<_ACEOF
13075 cat confdefs.h
>>conftest.
$ac_ext
13076 cat >>conftest.
$ac_ext <<_ACEOF
13077 /* end confdefs.h. */
13078 #include <sys/types.h>
13091 rm -f conftest.
$ac_objext
13092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13093 (eval $ac_compile) 2>conftest.er1
13095 grep -v '^ *+' conftest.er1
>conftest.err
13097 cat conftest.err
>&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); } &&
13100 { ac_try
='test -z "$ac_c_werror_flag"
13101 || test ! -s conftest.err'
13102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13103 (eval $ac_try) 2>&5
13105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); }; } &&
13107 { ac_try
='test -s conftest.$ac_objext'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; }; then
13113 bu_cv_header_utime_h
=yes
13115 echo "$as_me: failed program was:" >&5
13116 sed 's/^/| /' conftest.
$ac_ext >&5
13118 bu_cv_header_utime_h
=no
13120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13123 echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
13124 echo "${ECHO_T}$bu_cv_header_utime_h" >&6
13125 if test $bu_cv_header_utime_h = yes; then
13127 cat >>confdefs.h
<<\_ACEOF
13128 #define HAVE_GOOD_UTIME_H 1
13133 echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
13134 echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
13135 if test "${ac_cv_have_decl_fprintf+set}" = set; then
13136 echo $ECHO_N "(cached) $ECHO_C" >&6
13138 cat >conftest.
$ac_ext <<_ACEOF
13141 cat confdefs.h
>>conftest.
$ac_ext
13142 cat >>conftest.
$ac_ext <<_ACEOF
13143 /* end confdefs.h. */
13144 $ac_includes_default
13149 char *p = (char *) fprintf;
13156 rm -f conftest.
$ac_objext
13157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13158 (eval $ac_compile) 2>conftest.er1
13160 grep -v '^ *+' conftest.er1
>conftest.err
13162 cat conftest.err
>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); } &&
13165 { ac_try
='test -z "$ac_c_werror_flag"
13166 || test ! -s conftest.err'
13167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13168 (eval $ac_try) 2>&5
13170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13171 (exit $ac_status); }; } &&
13172 { ac_try
='test -s conftest.$ac_objext'
13173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13174 (eval $ac_try) 2>&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); }; }; then
13178 ac_cv_have_decl_fprintf
=yes
13180 echo "$as_me: failed program was:" >&5
13181 sed 's/^/| /' conftest.
$ac_ext >&5
13183 ac_cv_have_decl_fprintf
=no
13185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13187 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
13188 echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
13189 if test $ac_cv_have_decl_fprintf = yes; then
13191 cat >>confdefs.h
<<_ACEOF
13192 #define HAVE_DECL_FPRINTF 1
13197 cat >>confdefs.h
<<_ACEOF
13198 #define HAVE_DECL_FPRINTF 0
13203 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
13204 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
13205 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
13206 echo $ECHO_N "(cached) $ECHO_C" >&6
13208 cat >conftest.
$ac_ext <<_ACEOF
13211 cat confdefs.h
>>conftest.
$ac_ext
13212 cat >>conftest.
$ac_ext <<_ACEOF
13213 /* end confdefs.h. */
13214 $ac_includes_default
13219 char *p = (char *) stpcpy;
13226 rm -f conftest.
$ac_objext
13227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13228 (eval $ac_compile) 2>conftest.er1
13230 grep -v '^ *+' conftest.er1
>conftest.err
13232 cat conftest.err
>&5
13233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234 (exit $ac_status); } &&
13235 { ac_try
='test -z "$ac_c_werror_flag"
13236 || test ! -s conftest.err'
13237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13238 (eval $ac_try) 2>&5
13240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241 (exit $ac_status); }; } &&
13242 { ac_try
='test -s conftest.$ac_objext'
13243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13244 (eval $ac_try) 2>&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); }; }; then
13248 ac_cv_have_decl_stpcpy
=yes
13250 echo "$as_me: failed program was:" >&5
13251 sed 's/^/| /' conftest.
$ac_ext >&5
13253 ac_cv_have_decl_stpcpy
=no
13255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13257 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
13258 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
13259 if test $ac_cv_have_decl_stpcpy = yes; then
13261 cat >>confdefs.h
<<_ACEOF
13262 #define HAVE_DECL_STPCPY 1
13267 cat >>confdefs.h
<<_ACEOF
13268 #define HAVE_DECL_STPCPY 0
13273 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
13274 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
13275 if test "${ac_cv_have_decl_strstr+set}" = set; then
13276 echo $ECHO_N "(cached) $ECHO_C" >&6
13278 cat >conftest.
$ac_ext <<_ACEOF
13281 cat confdefs.h
>>conftest.
$ac_ext
13282 cat >>conftest.
$ac_ext <<_ACEOF
13283 /* end confdefs.h. */
13284 $ac_includes_default
13289 char *p = (char *) strstr;
13296 rm -f conftest.
$ac_objext
13297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13298 (eval $ac_compile) 2>conftest.er1
13300 grep -v '^ *+' conftest.er1
>conftest.err
13302 cat conftest.err
>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } &&
13305 { ac_try
='test -z "$ac_c_werror_flag"
13306 || test ! -s conftest.err'
13307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13308 (eval $ac_try) 2>&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); }; } &&
13312 { ac_try
='test -s conftest.$ac_objext'
13313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13314 (eval $ac_try) 2>&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; }; then
13318 ac_cv_have_decl_strstr
=yes
13320 echo "$as_me: failed program was:" >&5
13321 sed 's/^/| /' conftest.
$ac_ext >&5
13323 ac_cv_have_decl_strstr
=no
13325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13327 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
13328 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
13329 if test $ac_cv_have_decl_strstr = yes; then
13331 cat >>confdefs.h
<<_ACEOF
13332 #define HAVE_DECL_STRSTR 1
13337 cat >>confdefs.h
<<_ACEOF
13338 #define HAVE_DECL_STRSTR 0
13343 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
13344 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
13345 if test "${ac_cv_have_decl_sbrk+set}" = set; then
13346 echo $ECHO_N "(cached) $ECHO_C" >&6
13348 cat >conftest.
$ac_ext <<_ACEOF
13351 cat confdefs.h
>>conftest.
$ac_ext
13352 cat >>conftest.
$ac_ext <<_ACEOF
13353 /* end confdefs.h. */
13354 $ac_includes_default
13359 char *p = (char *) sbrk;
13366 rm -f conftest.
$ac_objext
13367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13368 (eval $ac_compile) 2>conftest.er1
13370 grep -v '^ *+' conftest.er1
>conftest.err
13372 cat conftest.err
>&5
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); } &&
13375 { ac_try
='test -z "$ac_c_werror_flag"
13376 || test ! -s conftest.err'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; } &&
13382 { ac_try
='test -s conftest.$ac_objext'
13383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384 (eval $ac_try) 2>&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); }; }; then
13388 ac_cv_have_decl_sbrk
=yes
13390 echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.
$ac_ext >&5
13393 ac_cv_have_decl_sbrk
=no
13395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13397 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
13398 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
13399 if test $ac_cv_have_decl_sbrk = yes; then
13401 cat >>confdefs.h
<<_ACEOF
13402 #define HAVE_DECL_SBRK 1
13407 cat >>confdefs.h
<<_ACEOF
13408 #define HAVE_DECL_SBRK 0
13413 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
13414 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
13415 if test "${ac_cv_have_decl_getenv+set}" = set; then
13416 echo $ECHO_N "(cached) $ECHO_C" >&6
13418 cat >conftest.
$ac_ext <<_ACEOF
13421 cat confdefs.h
>>conftest.
$ac_ext
13422 cat >>conftest.
$ac_ext <<_ACEOF
13423 /* end confdefs.h. */
13424 $ac_includes_default
13429 char *p = (char *) getenv;
13436 rm -f conftest.
$ac_objext
13437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13438 (eval $ac_compile) 2>conftest.er1
13440 grep -v '^ *+' conftest.er1
>conftest.err
13442 cat conftest.err
>&5
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); } &&
13445 { ac_try
='test -z "$ac_c_werror_flag"
13446 || test ! -s conftest.err'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; } &&
13452 { ac_try
='test -s conftest.$ac_objext'
13453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13454 (eval $ac_try) 2>&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); }; }; then
13458 ac_cv_have_decl_getenv
=yes
13460 echo "$as_me: failed program was:" >&5
13461 sed 's/^/| /' conftest.
$ac_ext >&5
13463 ac_cv_have_decl_getenv
=no
13465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13467 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
13468 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
13469 if test $ac_cv_have_decl_getenv = yes; then
13471 cat >>confdefs.h
<<_ACEOF
13472 #define HAVE_DECL_GETENV 1
13477 cat >>confdefs.h
<<_ACEOF
13478 #define HAVE_DECL_GETENV 0
13483 echo "$as_me:$LINENO: checking whether environ is declared" >&5
13484 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
13485 if test "${ac_cv_have_decl_environ+set}" = set; then
13486 echo $ECHO_N "(cached) $ECHO_C" >&6
13488 cat >conftest.
$ac_ext <<_ACEOF
13491 cat confdefs.h
>>conftest.
$ac_ext
13492 cat >>conftest.
$ac_ext <<_ACEOF
13493 /* end confdefs.h. */
13494 $ac_includes_default
13499 char *p = (char *) environ;
13506 rm -f conftest.
$ac_objext
13507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13508 (eval $ac_compile) 2>conftest.er1
13510 grep -v '^ *+' conftest.er1
>conftest.err
13512 cat conftest.err
>&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); } &&
13515 { ac_try
='test -z "$ac_c_werror_flag"
13516 || test ! -s conftest.err'
13517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13518 (eval $ac_try) 2>&5
13520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521 (exit $ac_status); }; } &&
13522 { ac_try
='test -s conftest.$ac_objext'
13523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13524 (eval $ac_try) 2>&5
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); }; }; then
13528 ac_cv_have_decl_environ
=yes
13530 echo "$as_me: failed program was:" >&5
13531 sed 's/^/| /' conftest.
$ac_ext >&5
13533 ac_cv_have_decl_environ
=no
13535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13537 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
13538 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
13539 if test $ac_cv_have_decl_environ = yes; then
13541 cat >>confdefs.h
<<_ACEOF
13542 #define HAVE_DECL_ENVIRON 1
13547 cat >>confdefs.h
<<_ACEOF
13548 #define HAVE_DECL_ENVIRON 0
13553 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
13554 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
13555 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
13556 echo $ECHO_N "(cached) $ECHO_C" >&6
13558 cat >conftest.
$ac_ext <<_ACEOF
13561 cat confdefs.h
>>conftest.
$ac_ext
13562 cat >>conftest.
$ac_ext <<_ACEOF
13563 /* end confdefs.h. */
13564 $ac_includes_default
13568 #ifndef getc_unlocked
13569 char *p = (char *) getc_unlocked;
13576 rm -f conftest.
$ac_objext
13577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13578 (eval $ac_compile) 2>conftest.er1
13580 grep -v '^ *+' conftest.er1
>conftest.err
13582 cat conftest.err
>&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); } &&
13585 { ac_try
='test -z "$ac_c_werror_flag"
13586 || test ! -s conftest.err'
13587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13588 (eval $ac_try) 2>&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); }; } &&
13592 { ac_try
='test -s conftest.$ac_objext'
13593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13594 (eval $ac_try) 2>&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); }; }; then
13598 ac_cv_have_decl_getc_unlocked
=yes
13600 echo "$as_me: failed program was:" >&5
13601 sed 's/^/| /' conftest.
$ac_ext >&5
13603 ac_cv_have_decl_getc_unlocked
=no
13605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13607 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
13608 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
13609 if test $ac_cv_have_decl_getc_unlocked = yes; then
13611 cat >>confdefs.h
<<_ACEOF
13612 #define HAVE_DECL_GETC_UNLOCKED 1
13617 cat >>confdefs.h
<<_ACEOF
13618 #define HAVE_DECL_GETC_UNLOCKED 0
13623 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
13624 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
13625 if test "${ac_cv_have_decl_snprintf+set}" = set; then
13626 echo $ECHO_N "(cached) $ECHO_C" >&6
13628 cat >conftest.
$ac_ext <<_ACEOF
13631 cat confdefs.h
>>conftest.
$ac_ext
13632 cat >>conftest.
$ac_ext <<_ACEOF
13633 /* end confdefs.h. */
13634 $ac_includes_default
13639 char *p = (char *) snprintf;
13646 rm -f conftest.
$ac_objext
13647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13648 (eval $ac_compile) 2>conftest.er1
13650 grep -v '^ *+' conftest.er1
>conftest.err
13652 cat conftest.err
>&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); } &&
13655 { ac_try
='test -z "$ac_c_werror_flag"
13656 || test ! -s conftest.err'
13657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13658 (eval $ac_try) 2>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); }; } &&
13662 { ac_try
='test -s conftest.$ac_objext'
13663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13664 (eval $ac_try) 2>&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); }; }; then
13668 ac_cv_have_decl_snprintf
=yes
13670 echo "$as_me: failed program was:" >&5
13671 sed 's/^/| /' conftest.
$ac_ext >&5
13673 ac_cv_have_decl_snprintf
=no
13675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13677 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
13678 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
13679 if test $ac_cv_have_decl_snprintf = yes; then
13681 cat >>confdefs.h
<<_ACEOF
13682 #define HAVE_DECL_SNPRINTF 1
13687 cat >>confdefs.h
<<_ACEOF
13688 #define HAVE_DECL_SNPRINTF 0
13693 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
13694 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
13695 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
13696 echo $ECHO_N "(cached) $ECHO_C" >&6
13698 cat >conftest.
$ac_ext <<_ACEOF
13701 cat confdefs.h
>>conftest.
$ac_ext
13702 cat >>conftest.
$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13704 $ac_includes_default
13709 char *p = (char *) vsnprintf;
13716 rm -f conftest.
$ac_objext
13717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13718 (eval $ac_compile) 2>conftest.er1
13720 grep -v '^ *+' conftest.er1
>conftest.err
13722 cat conftest.err
>&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); } &&
13725 { ac_try
='test -z "$ac_c_werror_flag"
13726 || test ! -s conftest.err'
13727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13728 (eval $ac_try) 2>&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); }; } &&
13732 { ac_try
='test -s conftest.$ac_objext'
13733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734 (eval $ac_try) 2>&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); }; }; then
13738 ac_cv_have_decl_vsnprintf
=yes
13740 echo "$as_me: failed program was:" >&5
13741 sed 's/^/| /' conftest.
$ac_ext >&5
13743 ac_cv_have_decl_vsnprintf
=no
13745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13747 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
13748 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
13749 if test $ac_cv_have_decl_vsnprintf = yes; then
13751 cat >>confdefs.h
<<_ACEOF
13752 #define HAVE_DECL_VSNPRINTF 1
13757 cat >>confdefs.h
<<_ACEOF
13758 #define HAVE_DECL_VSNPRINTF 0
13766 # Link in zlib if we can. This allows us to read compressed debug
13767 # sections. This is used only by readelf.c (objdump uses bfd for
13768 # reading compressed sections).
13769 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
13770 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
13771 if test "${ac_cv_search_zlibVersion+set}" = set; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6
13774 ac_func_search_save_LIBS
=$LIBS
13775 ac_cv_search_zlibVersion
=no
13776 cat >conftest.
$ac_ext <<_ACEOF
13779 cat confdefs.h
>>conftest.
$ac_ext
13780 cat >>conftest.
$ac_ext <<_ACEOF
13781 /* end confdefs.h. */
13783 /* Override any gcc2 internal prototype to avoid an error. */
13787 /* We use char because int might match the return type of a gcc2
13788 builtin and then its argument prototype would still apply. */
13789 char zlibVersion ();
13798 rm -f conftest.
$ac_objext conftest
$ac_exeext
13799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13800 (eval $ac_link) 2>conftest.er1
13802 grep -v '^ *+' conftest.er1
>conftest.err
13804 cat conftest.err
>&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); } &&
13807 { ac_try
='test -z "$ac_c_werror_flag"
13808 || test ! -s conftest.err'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; } &&
13814 { ac_try
='test -s conftest$ac_exeext'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; }; then
13820 ac_cv_search_zlibVersion
="none required"
13822 echo "$as_me: failed program was:" >&5
13823 sed 's/^/| /' conftest.
$ac_ext >&5
13826 rm -f conftest.err conftest.
$ac_objext \
13827 conftest
$ac_exeext conftest.
$ac_ext
13828 if test "$ac_cv_search_zlibVersion" = no
; then
13829 for ac_lib
in z
; do
13830 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13831 cat >conftest.
$ac_ext <<_ACEOF
13834 cat confdefs.h
>>conftest.
$ac_ext
13835 cat >>conftest.
$ac_ext <<_ACEOF
13836 /* end confdefs.h. */
13838 /* Override any gcc2 internal prototype to avoid an error. */
13842 /* We use char because int might match the return type of a gcc2
13843 builtin and then its argument prototype would still apply. */
13844 char zlibVersion ();
13853 rm -f conftest.
$ac_objext conftest
$ac_exeext
13854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13855 (eval $ac_link) 2>conftest.er1
13857 grep -v '^ *+' conftest.er1
>conftest.err
13859 cat conftest.err
>&5
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); } &&
13862 { ac_try
='test -z "$ac_c_werror_flag"
13863 || test ! -s conftest.err'
13864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13865 (eval $ac_try) 2>&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); }; } &&
13869 { ac_try
='test -s conftest$ac_exeext'
13870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13871 (eval $ac_try) 2>&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); }; }; then
13875 ac_cv_search_zlibVersion
="-l$ac_lib"
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.
$ac_ext >&5
13882 rm -f conftest.err conftest.
$ac_objext \
13883 conftest
$ac_exeext conftest.
$ac_ext
13886 LIBS
=$ac_func_search_save_LIBS
13888 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
13889 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
13890 if test "$ac_cv_search_zlibVersion" != no
; then
13891 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
13893 for ac_header
in zlib.h
13895 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13897 echo "$as_me:$LINENO: checking for $ac_header" >&5
13898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13905 # Is the header compilable?
13906 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13908 cat >conftest.
$ac_ext <<_ACEOF
13911 cat confdefs.h
>>conftest.
$ac_ext
13912 cat >>conftest.
$ac_ext <<_ACEOF
13913 /* end confdefs.h. */
13914 $ac_includes_default
13915 #include <$ac_header>
13917 rm -f conftest.
$ac_objext
13918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13919 (eval $ac_compile) 2>conftest.er1
13921 grep -v '^ *+' conftest.er1
>conftest.err
13923 cat conftest.err
>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } &&
13926 { ac_try
='test -z "$ac_c_werror_flag"
13927 || test ! -s conftest.err'
13928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13929 (eval $ac_try) 2>&5
13931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932 (exit $ac_status); }; } &&
13933 { ac_try
='test -s conftest.$ac_objext'
13934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13935 (eval $ac_try) 2>&5
13937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938 (exit $ac_status); }; }; then
13939 ac_header_compiler
=yes
13941 echo "$as_me: failed program was:" >&5
13942 sed 's/^/| /' conftest.
$ac_ext >&5
13944 ac_header_compiler
=no
13946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13948 echo "${ECHO_T}$ac_header_compiler" >&6
13950 # Is the header present?
13951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13953 cat >conftest.
$ac_ext <<_ACEOF
13956 cat confdefs.h
>>conftest.
$ac_ext
13957 cat >>conftest.
$ac_ext <<_ACEOF
13958 /* end confdefs.h. */
13959 #include <$ac_header>
13961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13962 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13964 grep -v '^ *+' conftest.er1
>conftest.err
13966 cat conftest.err
>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); } >/dev
/null
; then
13969 if test -s conftest.err
; then
13970 ac_cpp_err
=$ac_c_preproc_warn_flag
13971 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13978 if test -z "$ac_cpp_err"; then
13979 ac_header_preproc
=yes
13981 echo "$as_me: failed program was:" >&5
13982 sed 's/^/| /' conftest.
$ac_ext >&5
13984 ac_header_preproc
=no
13986 rm -f conftest.err conftest.
$ac_ext
13987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13988 echo "${ECHO_T}$ac_header_preproc" >&6
13990 # So? What about this header?
13991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13997 ac_header_preproc
=yes
14000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14014 ## ------------------------------------------ ##
14015 ## Report this to the AC_PACKAGE_NAME lists. ##
14016 ## ------------------------------------------ ##
14019 sed "s/^/$as_me: WARNING: /" >&2
14022 echo "$as_me:$LINENO: checking for $ac_header" >&5
14023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14025 echo $ECHO_N "(cached) $ECHO_C" >&6
14027 eval "$as_ac_Header=\$ac_header_preproc"
14029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14034 cat >>confdefs.h
<<_ACEOF
14035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14047 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
14049 cat >>confdefs.h
<<\_ACEOF
14050 #define USE_BINARY_FOPEN 1
14055 # target-specific stuff:
14057 # Canonicalize the secondary target names.
14058 if test -n "$enable_targets"; then
14059 for targ
in `echo $enable_targets | sed 's/,/ /g'`
14061 result
=`$ac_config_sub $targ 2>/dev/null`
14062 if test -n "$result"; then
14063 canon_targets
="$canon_targets $result"
14065 # Allow targets that config.sub doesn't recognize, like "all".
14066 canon_targets
="$canon_targets $targ"
14071 if test "${ac_cv_header_iconv_h+set}" = set; then
14072 echo "$as_me:$LINENO: checking for iconv.h" >&5
14073 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
14074 if test "${ac_cv_header_iconv_h+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
14078 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
14080 # Is the header compilable?
14081 echo "$as_me:$LINENO: checking iconv.h usability" >&5
14082 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
14083 cat >conftest.
$ac_ext <<_ACEOF
14086 cat confdefs.h
>>conftest.
$ac_ext
14087 cat >>conftest.
$ac_ext <<_ACEOF
14088 /* end confdefs.h. */
14089 $ac_includes_default
14092 rm -f conftest.
$ac_objext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14094 (eval $ac_compile) 2>conftest.er1
14096 grep -v '^ *+' conftest.er1
>conftest.err
14098 cat conftest.err
>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try
='test -z "$ac_c_werror_flag"
14102 || test ! -s conftest.err'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; } &&
14108 { ac_try
='test -s conftest.$ac_objext'
14109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14110 (eval $ac_try) 2>&5
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); }; }; then
14114 ac_header_compiler
=yes
14116 echo "$as_me: failed program was:" >&5
14117 sed 's/^/| /' conftest.
$ac_ext >&5
14119 ac_header_compiler
=no
14121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14123 echo "${ECHO_T}$ac_header_compiler" >&6
14125 # Is the header present?
14126 echo "$as_me:$LINENO: checking iconv.h presence" >&5
14127 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
14128 cat >conftest.
$ac_ext <<_ACEOF
14131 cat confdefs.h
>>conftest.
$ac_ext
14132 cat >>conftest.
$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14137 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14139 grep -v '^ *+' conftest.er1
>conftest.err
14141 cat conftest.err
>&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); } >/dev
/null
; then
14144 if test -s conftest.err
; then
14145 ac_cpp_err
=$ac_c_preproc_warn_flag
14146 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14153 if test -z "$ac_cpp_err"; then
14154 ac_header_preproc
=yes
14156 echo "$as_me: failed program was:" >&5
14157 sed 's/^/| /' conftest.
$ac_ext >&5
14159 ac_header_preproc
=no
14161 rm -f conftest.err conftest.
$ac_ext
14162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14163 echo "${ECHO_T}$ac_header_preproc" >&6
14165 # So? What about this header?
14166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14168 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
14169 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14170 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
14171 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
14172 ac_header_preproc
=yes
14175 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
14176 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
14177 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
14178 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
14179 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
14180 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
14181 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
14182 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
14183 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
14184 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
14185 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
14186 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
14189 ## ------------------------------------------ ##
14190 ## Report this to the AC_PACKAGE_NAME lists. ##
14191 ## ------------------------------------------ ##
14194 sed "s/^/$as_me: WARNING: /" >&2
14197 echo "$as_me:$LINENO: checking for iconv.h" >&5
14198 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
14199 if test "${ac_cv_header_iconv_h+set}" = set; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14202 ac_cv_header_iconv_h
=$ac_header_preproc
14204 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
14205 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
14211 if test "X$prefix" = "XNONE"; then
14212 acl_final_prefix
="$ac_default_prefix"
14214 acl_final_prefix
="$prefix"
14216 if test "X$exec_prefix" = "XNONE"; then
14217 acl_final_exec_prefix
='${prefix}'
14219 acl_final_exec_prefix
="$exec_prefix"
14221 acl_save_prefix
="$prefix"
14222 prefix
="$acl_final_prefix"
14223 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
14224 prefix
="$acl_save_prefix"
14227 # Check whether --with-gnu-ld or --without-gnu-ld was given.
14228 if test "${with_gnu_ld+set}" = set; then
14229 withval
="$with_gnu_ld"
14230 test "$withval" = no || with_gnu_ld
=yes
14234 # Prepare PATH_SEPARATOR.
14235 # The user is always right.
14236 if test "${PATH_SEPARATOR+set}" != set; then
14237 echo "#! /bin/sh" >conf$$.sh
14238 echo "exit 0" >>conf$$.sh
14240 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14248 if test "$GCC" = yes; then
14249 # Check if gcc -print-prog-name=ld gives a path.
14250 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
14251 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
14254 # gcc leaves a trailing carriage return which upsets mingw
14255 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14257 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14260 # Accept absolute paths.
14261 [\\/]* |
[A-Za-z
]:[\\/]*)
14262 re_direlt
='/[^/][^/]*/\.\./'
14263 # Canonicalize the path of ld
14264 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
14265 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
14266 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
14268 test -z "$LD" && LD
="$ac_prog"
14271 # If it fails, then pretend we aren't using GCC.
14275 # If it is relative, then search for the first ld in PATH.
14276 with_gnu_ld
=unknown
14279 elif test "$with_gnu_ld" = yes; then
14280 echo "$as_me:$LINENO: checking for GNU ld" >&5
14281 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
14283 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
14284 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
14286 if test "${acl_cv_path_LD+set}" = set; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 if test -z "$LD"; then
14290 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14291 for ac_dir
in $PATH; do
14292 test -z "$ac_dir" && ac_dir
=.
14293 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14294 acl_cv_path_LD
="$ac_dir/$ac_prog"
14295 # Check to see if the program is GNU ld. I'd rather use --version,
14296 # but apparently some GNU ld's only accept -v.
14297 # Break only if it was the GNU/non-GNU ld that we prefer.
14298 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
14299 test "$with_gnu_ld" != no
&& break
14301 test "$with_gnu_ld" != yes && break
14307 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
14311 LD
="$acl_cv_path_LD"
14312 if test -n "$LD"; then
14313 echo "$as_me:$LINENO: result: $LD" >&5
14314 echo "${ECHO_T}$LD" >&6
14316 echo "$as_me:$LINENO: result: no" >&5
14317 echo "${ECHO_T}no" >&6
14319 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14320 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14321 { (exit 1); exit 1; }; }
14322 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14323 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
14324 if test "${acl_cv_prog_gnu_ld+set}" = set; then
14325 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14328 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
14329 acl_cv_prog_gnu_ld
=yes
14331 acl_cv_prog_gnu_ld
=no
14334 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
14335 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
14336 with_gnu_ld
=$acl_cv_prog_gnu_ld
14340 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
14341 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
14342 if test "${acl_cv_rpath+set}" = set; then
14343 echo $ECHO_N "(cached) $ECHO_C" >&6
14346 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
14347 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14349 rm -f .
/conftest.sh
14353 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
14354 echo "${ECHO_T}$acl_cv_rpath" >&6
14356 libext
="$acl_cv_libext"
14357 shlibext
="$acl_cv_shlibext"
14358 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
14359 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
14360 hardcode_direct
="$acl_cv_hardcode_direct"
14361 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
14362 # Check whether --enable-rpath or --disable-rpath was given.
14363 if test "${enable_rpath+set}" = set; then
14364 enableval
="$enable_rpath"
14378 acl_save_prefix
="$prefix"
14379 prefix
="$acl_final_prefix"
14380 acl_save_exec_prefix
="$exec_prefix"
14381 exec_prefix
="$acl_final_exec_prefix"
14383 eval additional_includedir
=\"$includedir\"
14384 eval additional_libdir
=\"$libdir\"
14386 exec_prefix
="$acl_save_exec_prefix"
14387 prefix
="$acl_save_prefix"
14390 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
14391 if test "${with_libiconv_prefix+set}" = set; then
14392 withval
="$with_libiconv_prefix"
14394 if test "X$withval" = "Xno"; then
14397 if test "X$withval" = "X"; then
14399 acl_save_prefix
="$prefix"
14400 prefix
="$acl_final_prefix"
14401 acl_save_exec_prefix
="$exec_prefix"
14402 exec_prefix
="$acl_final_exec_prefix"
14404 eval additional_includedir
=\"$includedir\"
14405 eval additional_libdir
=\"$libdir\"
14407 exec_prefix
="$acl_save_exec_prefix"
14408 prefix
="$acl_save_prefix"
14411 additional_includedir
="$withval/include"
14412 additional_libdir
="$withval/lib"
14422 names_already_handled
=
14423 names_next_round
='iconv '
14424 while test -n "$names_next_round"; do
14425 names_this_round
="$names_next_round"
14427 for name
in $names_this_round; do
14429 for n
in $names_already_handled; do
14430 if test "$n" = "$name"; then
14431 already_handled
=yes
14435 if test -z "$already_handled"; then
14436 names_already_handled
="$names_already_handled $name"
14437 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14438 eval value
=\"\
$HAVE_LIB$uppername\"
14439 if test -n "$value"; then
14440 if test "$value" = yes; then
14441 eval value
=\"\
$LIB$uppername\"
14442 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
14443 eval value
=\"\
$LTLIB$uppername\"
14444 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
14453 if test $use_additional = yes; then
14454 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
14455 found_dir
="$additional_libdir"
14456 found_so
="$additional_libdir/lib$name.$shlibext"
14457 if test -f "$additional_libdir/lib$name.la"; then
14458 found_la
="$additional_libdir/lib$name.la"
14461 if test -f "$additional_libdir/lib$name.$libext"; then
14462 found_dir
="$additional_libdir"
14463 found_a
="$additional_libdir/lib$name.$libext"
14464 if test -f "$additional_libdir/lib$name.la"; then
14465 found_la
="$additional_libdir/lib$name.la"
14470 if test "X$found_dir" = "X"; then
14471 for x
in $LDFLAGS $LTLIBICONV; do
14473 acl_save_prefix
="$prefix"
14474 prefix
="$acl_final_prefix"
14475 acl_save_exec_prefix
="$exec_prefix"
14476 exec_prefix
="$acl_final_exec_prefix"
14478 exec_prefix
="$acl_save_exec_prefix"
14479 prefix
="$acl_save_prefix"
14483 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14484 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
14486 found_so
="$dir/lib$name.$shlibext"
14487 if test -f "$dir/lib$name.la"; then
14488 found_la
="$dir/lib$name.la"
14491 if test -f "$dir/lib$name.$libext"; then
14493 found_a
="$dir/lib$name.$libext"
14494 if test -f "$dir/lib$name.la"; then
14495 found_la
="$dir/lib$name.la"
14501 if test "X$found_dir" != "X"; then
14506 if test "X$found_dir" != "X"; then
14507 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14508 if test "X$found_so" != "X"; then
14509 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
14510 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14513 for x
in $ltrpathdirs; do
14514 if test "X$x" = "X$found_dir"; then
14519 if test -z "$haveit"; then
14520 ltrpathdirs
="$ltrpathdirs $found_dir"
14522 if test "$hardcode_direct" = yes; then
14523 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14525 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14526 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14528 for x
in $rpathdirs; do
14529 if test "X$x" = "X$found_dir"; then
14534 if test -z "$haveit"; then
14535 rpathdirs
="$rpathdirs $found_dir"
14539 for x
in $LDFLAGS $LIBICONV; do
14541 acl_save_prefix
="$prefix"
14542 prefix
="$acl_final_prefix"
14543 acl_save_exec_prefix
="$exec_prefix"
14544 exec_prefix
="$acl_final_exec_prefix"
14546 exec_prefix
="$acl_save_exec_prefix"
14547 prefix
="$acl_save_prefix"
14549 if test "X$x" = "X-L$found_dir"; then
14554 if test -z "$haveit"; then
14555 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14557 if test "$hardcode_minus_L" != no
; then
14558 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14560 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14566 if test "X$found_a" != "X"; then
14567 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
14569 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14572 additional_includedir
=
14573 case "$found_dir" in
14575 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
14576 additional_includedir
="$basedir/include"
14579 if test "X$additional_includedir" != "X"; then
14580 if test "X$additional_includedir" != "X/usr/include"; then
14582 if test "X$additional_includedir" = "X/usr/local/include"; then
14583 if test -n "$GCC"; then
14585 linux
*) haveit
=yes;;
14589 if test -z "$haveit"; then
14590 for x
in $CPPFLAGS $INCICONV; do
14592 acl_save_prefix
="$prefix"
14593 prefix
="$acl_final_prefix"
14594 acl_save_exec_prefix
="$exec_prefix"
14595 exec_prefix
="$acl_final_exec_prefix"
14597 exec_prefix
="$acl_save_exec_prefix"
14598 prefix
="$acl_save_prefix"
14600 if test "X$x" = "X-I$additional_includedir"; then
14605 if test -z "$haveit"; then
14606 if test -d "$additional_includedir"; then
14607 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14613 if test -n "$found_la"; then
14614 save_libdir
="$libdir"
14615 case "$found_la" in
14616 */* |
*\\*) .
"$found_la" ;;
14617 *) .
"./$found_la" ;;
14619 libdir
="$save_libdir"
14620 for dep
in $dependency_libs; do
14623 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14624 if test "X$additional_libdir" != "X/usr/lib"; then
14626 if test "X$additional_libdir" = "X/usr/local/lib"; then
14627 if test -n "$GCC"; then
14629 linux
*) haveit
=yes;;
14633 if test -z "$haveit"; then
14635 for x
in $LDFLAGS $LIBICONV; do
14637 acl_save_prefix
="$prefix"
14638 prefix
="$acl_final_prefix"
14639 acl_save_exec_prefix
="$exec_prefix"
14640 exec_prefix
="$acl_final_exec_prefix"
14642 exec_prefix
="$acl_save_exec_prefix"
14643 prefix
="$acl_save_prefix"
14645 if test "X$x" = "X-L$additional_libdir"; then
14650 if test -z "$haveit"; then
14651 if test -d "$additional_libdir"; then
14652 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14656 for x
in $LDFLAGS $LTLIBICONV; do
14658 acl_save_prefix
="$prefix"
14659 prefix
="$acl_final_prefix"
14660 acl_save_exec_prefix
="$exec_prefix"
14661 exec_prefix
="$acl_final_exec_prefix"
14663 exec_prefix
="$acl_save_exec_prefix"
14664 prefix
="$acl_save_prefix"
14666 if test "X$x" = "X-L$additional_libdir"; then
14671 if test -z "$haveit"; then
14672 if test -d "$additional_libdir"; then
14673 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14680 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14681 if test "$enable_rpath" != no
; then
14683 for x
in $rpathdirs; do
14684 if test "X$x" = "X$dir"; then
14689 if test -z "$haveit"; then
14690 rpathdirs
="$rpathdirs $dir"
14693 for x
in $ltrpathdirs; do
14694 if test "X$x" = "X$dir"; then
14699 if test -z "$haveit"; then
14700 ltrpathdirs
="$ltrpathdirs $dir"
14705 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14708 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14711 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14712 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14718 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14719 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14725 if test "X$rpathdirs" != "X"; then
14726 if test -n "$hardcode_libdir_separator"; then
14728 for found_dir
in $rpathdirs; do
14729 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14731 acl_save_libdir
="$libdir"
14733 eval flag
=\"$hardcode_libdir_flag_spec\"
14734 libdir
="$acl_save_libdir"
14735 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14737 for found_dir
in $rpathdirs; do
14738 acl_save_libdir
="$libdir"
14739 libdir
="$found_dir"
14740 eval flag
=\"$hardcode_libdir_flag_spec\"
14741 libdir
="$acl_save_libdir"
14742 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14746 if test "X$ltrpathdirs" != "X"; then
14747 for found_dir
in $ltrpathdirs; do
14748 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14758 am_save_CPPFLAGS
="$CPPFLAGS"
14760 for element
in $INCICONV; do
14762 for x
in $CPPFLAGS; do
14764 acl_save_prefix
="$prefix"
14765 prefix
="$acl_final_prefix"
14766 acl_save_exec_prefix
="$exec_prefix"
14767 exec_prefix
="$acl_final_exec_prefix"
14769 exec_prefix
="$acl_save_exec_prefix"
14770 prefix
="$acl_save_prefix"
14772 if test "X$x" = "X$element"; then
14777 if test -z "$haveit"; then
14778 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14783 echo "$as_me:$LINENO: checking for iconv" >&5
14784 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
14785 if test "${am_cv_func_iconv+set}" = set; then
14786 echo $ECHO_N "(cached) $ECHO_C" >&6
14789 am_cv_func_iconv
="no, consider installing GNU libiconv"
14791 cat >conftest.
$ac_ext <<_ACEOF
14794 cat confdefs.h
>>conftest.
$ac_ext
14795 cat >>conftest.
$ac_ext <<_ACEOF
14796 /* end confdefs.h. */
14797 #include <stdlib.h>
14802 iconv_t cd = iconv_open("","");
14803 iconv(cd,NULL,NULL,NULL,NULL);
14809 rm -f conftest.
$ac_objext conftest
$ac_exeext
14810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14811 (eval $ac_link) 2>conftest.er1
14813 grep -v '^ *+' conftest.er1
>conftest.err
14815 cat conftest.err
>&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); } &&
14818 { ac_try
='test -z "$ac_c_werror_flag"
14819 || test ! -s conftest.err'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; } &&
14825 { ac_try
='test -s conftest$ac_exeext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 am_cv_func_iconv
=yes
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.
$ac_ext >&5
14837 rm -f conftest.err conftest.
$ac_objext \
14838 conftest
$ac_exeext conftest.
$ac_ext
14839 if test "$am_cv_func_iconv" != yes; then
14840 am_save_LIBS
="$LIBS"
14841 LIBS
="$LIBS $LIBICONV"
14842 cat >conftest.
$ac_ext <<_ACEOF
14845 cat confdefs.h
>>conftest.
$ac_ext
14846 cat >>conftest.
$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14848 #include <stdlib.h>
14853 iconv_t cd = iconv_open("","");
14854 iconv(cd,NULL,NULL,NULL,NULL);
14860 rm -f conftest.
$ac_objext conftest
$ac_exeext
14861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14862 (eval $ac_link) 2>conftest.er1
14864 grep -v '^ *+' conftest.er1
>conftest.err
14866 cat conftest.err
>&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); } &&
14869 { ac_try
='test -z "$ac_c_werror_flag"
14870 || test ! -s conftest.err'
14871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14872 (eval $ac_try) 2>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); }; } &&
14876 { ac_try
='test -s conftest$ac_exeext'
14877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14878 (eval $ac_try) 2>&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); }; }; then
14882 am_cv_lib_iconv
=yes
14883 am_cv_func_iconv
=yes
14885 echo "$as_me: failed program was:" >&5
14886 sed 's/^/| /' conftest.
$ac_ext >&5
14889 rm -f conftest.err conftest.
$ac_objext \
14890 conftest
$ac_exeext conftest.
$ac_ext
14891 LIBS
="$am_save_LIBS"
14895 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
14896 echo "${ECHO_T}$am_cv_func_iconv" >&6
14897 if test "$am_cv_func_iconv" = yes; then
14899 cat >>confdefs.h
<<\_ACEOF
14900 #define HAVE_ICONV 1
14904 if test "$am_cv_lib_iconv" = yes; then
14905 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
14906 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
14907 echo "$as_me:$LINENO: result: $LIBICONV" >&5
14908 echo "${ECHO_T}$LIBICONV" >&6
14910 CPPFLAGS
="$am_save_CPPFLAGS"
14917 if test "$am_cv_func_iconv" = yes; then
14918 echo "$as_me:$LINENO: checking for iconv declaration" >&5
14919 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
14920 if test "${am_cv_proto_iconv+set}" = set; then
14921 echo $ECHO_N "(cached) $ECHO_C" >&6
14924 cat >conftest.
$ac_ext <<_ACEOF
14927 cat confdefs.h
>>conftest.
$ac_ext
14928 cat >>conftest.
$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14931 #include <stdlib.h>
14937 #if defined(__STDC__) || defined(__cplusplus)
14938 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
14951 rm -f conftest.
$ac_objext
14952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14953 (eval $ac_compile) 2>conftest.er1
14955 grep -v '^ *+' conftest.er1
>conftest.err
14957 cat conftest.err
>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); } &&
14960 { ac_try
='test -z "$ac_c_werror_flag"
14961 || test ! -s conftest.err'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; } &&
14967 { ac_try
='test -s conftest.$ac_objext'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; }; then
14973 am_cv_proto_iconv_arg1
=""
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.
$ac_ext >&5
14978 am_cv_proto_iconv_arg1
="const"
14980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14981 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
14984 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
14985 echo "$as_me:$LINENO: result: ${ac_t:-
14986 }$am_cv_proto_iconv" >&5
14987 echo "${ECHO_T}${ac_t:-
14988 }$am_cv_proto_iconv" >&6
14990 cat >>confdefs.h
<<_ACEOF
14991 #define ICONV_CONST $am_cv_proto_iconv_arg1
15008 BUILD_INSTALL_MISC
=
15011 for targ
in $target $canon_targets
15013 if test "x$targ" = "xall"; then
15015 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
15016 BUILD_SRCONV
='$(SRCONV_PROG)'
15017 NLMCONV_DEFS
="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
15018 BUILD_MISC
="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
15019 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15020 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15021 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15022 if test -z "$DLLTOOL_DEFAULT"; then
15023 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
15025 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
15026 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
15029 i
[3-7]86*-*-netware*)
15030 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
15031 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_I386"
15034 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
15035 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_ALPHA"
15037 powerpc
*-*-netware*)
15038 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
15039 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_POWERPC"
15042 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
15043 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_SPARC"
15047 *-*-hms*) BUILD_SRCONV
='$(SRCONV_PROG)' ;;
15051 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15052 if test -z "$DLLTOOL_DEFAULT"; then
15053 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_EPOC"
15055 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
15056 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15057 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15059 arm-wince-pe
* | arm-
*-wince)
15060 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15061 if test -z "$DLLTOOL_DEFAULT"; then
15062 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_WINCE"
15064 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_WINCE -DDLLTOOL_ARM"
15065 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15066 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15069 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15070 if test -z "$DLLTOOL_DEFAULT"; then
15071 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
15073 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
15074 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15075 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15078 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15079 if test -z "$DLLTOOL_DEFAULT"; then
15080 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
15082 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
15083 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15084 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15087 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15088 if test -z "$DLLTOOL_DEFAULT"; then
15089 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MX86_64"
15091 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MX86_64"
15092 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15093 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15094 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
15096 i
[3-7]86-*-pe* | i
[3-7]86-*-cygwin* | i
[3-7]86-*-mingw32** | i
[3-7]86-*-netbsdpe*)
15097 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15098 if test -z "$DLLTOOL_DEFAULT"; then
15099 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
15101 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
15102 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15103 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15104 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
15106 i
[3-7]86-*-interix)
15107 BUILD_DLLTOOL
='$(DLLTOOL_PROG)'
15108 if test -z "$DLLTOOL_DEFAULT"; then
15109 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
15111 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
15113 powerpc
*-aix5.
[01])
15116 OBJDUMP_DEFS
="-DAIX_WEAK_SUPPORT"
15118 powerpc
*-*-pe* | powerpc
*-*-cygwin*)
15119 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15120 if test -z "$DLLTOOL_DEFAULT"; then
15121 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_PPC"
15123 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_PPC"
15124 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15125 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15127 powerpc
*-*-linux* | powerpc
*-*-elf* | powerpc
*-*-eabi*)
15128 BUILD_INSTALL_MISC
="${BUILD_INSTALL_MISC} embedspu"
15131 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15132 if test -z "$DLLTOOL_DEFAULT"; then
15133 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_SH"
15135 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_SH"
15136 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15137 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15140 BUILD_MISC
="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
15143 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15144 if test -z "$DLLTOOL_DEFAULT"; then
15145 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MIPS"
15147 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
15148 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15149 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15152 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15153 if test -z "$DLLTOOL_DEFAULT"; then
15154 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE"
15156 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
15157 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15158 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15161 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15162 if test -z "$DLLTOOL_DEFAULT"; then
15163 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE_ELF"
15165 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
15168 OBJDUMP_DEFS
="-DSKIP_ZEROES=256 -DSKIP_ZEROES_AT_END=0"
15174 DLLTOOL_DEFS
="$DLLTOOL_DEFS $DLLTOOL_DEFAULT"
15176 if test "${with_windres+set}" = set; then
15177 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15180 if test "${with_windmc+set}" = set; then
15181 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15197 cat >>confdefs.h
<<_ACEOF
15198 #define TARGET "${target}"
15203 .
$srcdir/..
/bfd
/config.bfd
15204 if test "x$targ_underscore" = "xyes"; then
15210 cat >>confdefs.h
<<_ACEOF
15211 #define TARGET_PREPENDS_UNDERSCORE $UNDERSCORE
15216 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
15218 # Canonicalize the secondary target names.
15219 result
=`$ac_config_sub $targ_alias 2>/dev/null`
15220 if test -n "$result"; then
15226 .
${srcdir}/configure.tgt
15228 EMULATION
=$targ_emul
15229 EMULATION_VECTOR
=$targ_emul_vector
15235 # Required for html and install-html
15240 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
15242 cat >confcache
<<\_ACEOF
15243 # This file is a shell script that caches the results of configure
15244 # tests run on this system so they can be shared between configure
15245 # scripts and configure runs, see configure's option --config-cache.
15246 # It is not useful on other systems. If it contains results you don't
15247 # want to keep, you may remove or edit it.
15249 # config.status only pays attention to the cache file if you give it
15250 # the --recheck option to rerun configure.
15252 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15253 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15254 # following values.
15258 # The following way of writing the cache mishandles newlines in values,
15259 # but we know of no workaround that is simple, portable, and efficient.
15260 # So, don't put newlines in cache variables' values.
15261 # Ultrix sh set writes to stderr and can't be redirected directly,
15262 # and sets the high bit in the cache file unless we assign to the vars.
15265 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15267 # `set' does not quote correctly, so add quotes (double-quote
15268 # substitution turns \\\\ into \\, and sed turns \\ into \).
15271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15274 # `set' quotes correctly as required by POSIX, so do not add quotes.
15276 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15283 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15285 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15287 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
15288 if test -w $cache_file; then
15289 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15290 cat confcache
>$cache_file
15292 echo "not updating unwritable cache $cache_file"
15297 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15298 # Let make expand exec_prefix.
15299 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15301 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15302 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15303 # trailing colons and then remove the whole line if VPATH becomes empty
15304 # (actually we leave an empty line to preserve line numbers).
15305 if test "x$srcdir" = x.
; then
15306 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
15307 s/:*\$(srcdir):*/:/;
15308 s/:*\${srcdir}:*/:/;
15310 s/^\([^=]*=[ ]*\):*/\1/;
15316 DEFS
=-DHAVE_CONFIG_H
15320 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15321 # 1. Remove the extension, and $U if already installed.
15322 ac_i
=`echo "$ac_i" |
15323 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15325 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
15326 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
15328 LIBOBJS
=$ac_libobjs
15330 LTLIBOBJS
=$ac_ltlibobjs
15333 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15334 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15335 Usually this means the macro was only invoked conditionally." >&5
15336 echo "$as_me: error: conditional \"AMDEP\" was never defined.
15337 Usually this means the macro was only invoked conditionally." >&2;}
15338 { (exit 1); exit 1; }; }
15340 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15341 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15342 Usually this means the macro was only invoked conditionally." >&5
15343 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15344 Usually this means the macro was only invoked conditionally." >&2;}
15345 { (exit 1); exit 1; }; }
15347 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15348 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15349 Usually this means the macro was only invoked conditionally." >&5
15350 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15351 Usually this means the macro was only invoked conditionally." >&2;}
15352 { (exit 1); exit 1; }; }
15354 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
15355 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
15356 Usually this means the macro was only invoked conditionally." >&5
15357 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
15358 Usually this means the macro was only invoked conditionally." >&2;}
15359 { (exit 1); exit 1; }; }
15362 : ${CONFIG_STATUS=./config.status}
15363 ac_clean_files_save
=$ac_clean_files
15364 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15365 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15366 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15367 cat >$CONFIG_STATUS <<_ACEOF
15369 # Generated by $as_me.
15370 # Run this file to recreate the current configuration.
15371 # Compiler output produced by configure, useful for debugging
15372 # configure, is in config.log if it exists.
15375 ac_cs_recheck=false
15377 SHELL=\${CONFIG_SHELL-$SHELL}
15380 cat >>$CONFIG_STATUS <<\_ACEOF
15381 ## --------------------- ##
15382 ## M4sh Initialization. ##
15383 ## --------------------- ##
15385 # Be Bourne compatible
15386 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15389 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15390 # is contrary to our usage. Disable this feature.
15391 alias -g '${1+"$@"}'='"$@"'
15392 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
15395 DUALCASE
=1; export DUALCASE
# for MKS sh
15397 # Support unset when possible.
15398 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
15405 # Work around bugs in pre-3.0 UWIN ksh.
15406 $as_unset ENV MAIL MAILPATH
15413 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15414 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15415 LC_TELEPHONE LC_TIME
15417 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15418 eval $as_var=C
; export $as_var
15424 # Required to use basename.
15425 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15431 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
15432 as_basename
=basename
15438 # Name of the executable.
15439 as_me
=`$as_basename "$0" ||
15440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15441 X"$0" : 'X\(//\)$' \| \
15442 X"$0" : 'X\(/\)$' \| \
15443 . : '\(.\)' 2>/dev/null ||
15445 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15446 /^X\/\(\/\/\)$/{ s//\1/; q; }
15447 /^X\/\(\/\).*/{ s//\1/; q; }
15451 # PATH needs CR, and LINENO needs CR and PATH.
15452 # Avoid depending upon Character Ranges.
15453 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15454 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15455 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15456 as_cr_digits
='0123456789'
15457 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15459 # The user is always right.
15460 if test "${PATH_SEPARATOR+set}" != set; then
15461 echo "#! /bin/sh" >conf$$.sh
15462 echo "exit 0" >>conf$$.sh
15464 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15473 as_lineno_1
=$LINENO
15474 as_lineno_2
=$LINENO
15475 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
15476 test "x$as_lineno_1" != "x$as_lineno_2" &&
15477 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
15478 # Find who we are. Look in the path if we contain no path at all
15481 *[\\/]* ) as_myself
=$0 ;;
15482 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15483 for as_dir
in $PATH
15486 test -z "$as_dir" && as_dir
=.
15487 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15492 # We did not find ourselves, most probably we were run as `sh COMMAND'
15493 # in which case we are not to be found in the path.
15494 if test "x$as_myself" = x
; then
15497 if test ! -f "$as_myself"; then
15498 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15499 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15500 { (exit 1); exit 1; }; }
15502 case $CONFIG_SHELL in
15504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15505 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
15508 test -z "$as_dir" && as_dir
=.
15509 for as_base
in sh bash ksh sh5
; do
15512 if ("$as_dir/$as_base" -c '
15513 as_lineno_1=$LINENO
15514 as_lineno_2=$LINENO
15515 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15516 test "x$as_lineno_1" != "x$as_lineno_2" &&
15517 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
15518 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
15519 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
15520 CONFIG_SHELL
=$as_dir/$as_base
15521 export CONFIG_SHELL
15522 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15530 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15531 # uniformly replaced by the line number. The first 'sed' inserts a
15532 # line-number line before each line; the second 'sed' does the real
15533 # work. The second script uses 'N' to pair each line-number line
15534 # with the numbered line, and appends trailing '-' during
15535 # substitution so that $LINENO is not a special case at line end.
15536 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15537 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15538 sed '=' <$as_myself |
15543 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15546 s,^['$as_cr_digits']*\n,,
15547 ' >$as_me.lineno
&&
15548 chmod +x
$as_me.lineno ||
15549 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15550 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15551 { (exit 1); exit 1; }; }
15553 # Don't try to exec as it changes $[0], causing all sort of problems
15554 # (the dirname of $[0] is not the place where we might find the
15555 # original and so on. Autoconf is especially sensible to this).
15557 # Exit status is that of the last command.
15562 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15563 *c
*,-n*) ECHO_N
= ECHO_C
='
15565 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
15566 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
15569 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15575 rm -f conf$$ conf$$.exe conf$$.
file
15577 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15578 # We could just check for DJGPP; but this test a) works b) is more generic
15579 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15580 if test -f conf$$.exe
; then
15581 # Don't use ln at all; we don't have any links
15586 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15591 rm -f conf$$ conf$$.exe conf$$.
file
15593 if mkdir
-p .
2>/dev
/null
; then
15596 test -d .
/-p && rmdir .
/-p
15600 as_executable_p
="test -f"
15602 # Sed expression to map a string onto a valid CPP name.
15603 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15605 # Sed expression to map a string onto a valid variable name.
15606 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15610 # We need space, tab and new line, in precisely that order.
15620 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15621 # report actual input values of CONFIG_FILES etc. instead of their
15622 # values after options handling. Logging --version etc. is OK.
15626 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15627 ## Running $as_me. ##
15632 This file was extended by $as_me, which was
15633 generated by GNU Autoconf 2.59. Invocation command line was
15635 CONFIG_FILES = $CONFIG_FILES
15636 CONFIG_HEADERS = $CONFIG_HEADERS
15637 CONFIG_LINKS = $CONFIG_LINKS
15638 CONFIG_COMMANDS = $CONFIG_COMMANDS
15642 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15646 # Files that config.status was made for.
15647 if test -n "$ac_config_files"; then
15648 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15651 if test -n "$ac_config_headers"; then
15652 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15655 if test -n "$ac_config_links"; then
15656 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15659 if test -n "$ac_config_commands"; then
15660 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15663 cat >>$CONFIG_STATUS <<\_ACEOF
15666 \`$as_me' instantiates files from templates according to the
15667 current configuration.
15669 Usage: $0 [OPTIONS] [FILE]...
15671 -h, --help print this help, then exit
15672 -V, --version print version number, then exit
15673 -q, --quiet do not print progress messages
15674 -d, --debug don't remove temporary files
15675 --recheck update $as_me by reconfiguring in the same conditions
15676 --file=FILE[:TEMPLATE]
15677 instantiate the configuration file FILE
15678 --header=FILE[:TEMPLATE]
15679 instantiate the configuration header FILE
15681 Configuration files:
15684 Configuration headers:
15687 Configuration commands:
15690 Report bugs to <bug-autoconf@gnu.org>."
15693 cat >>$CONFIG_STATUS <<_ACEOF
15696 configured by $0, generated by GNU Autoconf 2.59,
15697 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15699 Copyright (C) 2003 Free Software Foundation, Inc.
15700 This config.status script is free software; the Free Software Foundation
15701 gives unlimited permission to copy, distribute and modify it."
15706 cat >>$CONFIG_STATUS <<\_ACEOF
15707 # If no file are specified by the user, then we need to provide default
15708 # value. By we need to know if files were specified by the user.
15714 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
15715 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
15723 *) # This is not an option, so the user has probably given explicit
15726 ac_need_defaults
=false
;;
15730 # Handling of the options.
15732 cat >>$CONFIG_STATUS <<\_ACEOF
15733 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15735 --version |
--vers* |
-V )
15736 echo "$ac_cs_version"; exit 0 ;;
15738 # Conflict between --help and --header
15739 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15740 Try \`$0 --help' for more information." >&5
15741 echo "$as_me: error: ambiguous option: $1
15742 Try \`$0 --help' for more information." >&2;}
15743 { (exit 1); exit 1; }; };;
15744 --help |
--hel |
-h )
15745 echo "$ac_cs_usage"; exit 0 ;;
15746 --debug |
--d* |
-d )
15748 --file |
--fil |
--fi |
--f )
15750 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15751 ac_need_defaults
=false
;;
15752 --header |
--heade |
--head |
--hea )
15754 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15755 ac_need_defaults
=false
;;
15756 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15757 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15760 # This is an error.
15761 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15762 Try \`$0 --help' for more information." >&5
15763 echo "$as_me: error: unrecognized option: $1
15764 Try \`$0 --help' for more information." >&2;}
15765 { (exit 1); exit 1; }; } ;;
15767 *) ac_config_targets
="$ac_config_targets $1" ;;
15773 ac_configure_extra_args
=
15775 if $ac_cs_silent; then
15777 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15781 cat >>$CONFIG_STATUS <<_ACEOF
15782 if \$ac_cs_recheck; then
15783 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15784 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15789 cat >>$CONFIG_STATUS <<_ACEOF
15791 # INIT-COMMANDS section.
15794 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15797 # The HP-UX ksh and POSIX shell print the target directory to stdout
15798 # if CDPATH is set.
15799 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15801 sed_quote_subst='$sed_quote_subst'
15802 double_quote_subst='$double_quote_subst'
15803 delay_variable_subst='$delay_variable_subst'
15804 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15805 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15806 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15807 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15808 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15809 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15810 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15811 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15812 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15813 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15814 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15815 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15816 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15817 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15818 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15819 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15820 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15821 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15822 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15823 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15824 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15825 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15826 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15827 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15828 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15829 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15830 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15831 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15832 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15833 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15834 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15835 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15836 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15837 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15838 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15839 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15840 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15841 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15842 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15843 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15844 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15845 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15846 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15847 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15848 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15849 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15850 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15851 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15852 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15853 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15854 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15855 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15856 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15857 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15858 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15859 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15860 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15861 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15862 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15863 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15864 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15865 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15866 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15867 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15868 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15869 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15870 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15871 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15872 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15873 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15874 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15875 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15876 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15877 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15878 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15879 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15880 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15881 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15882 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15883 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15884 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15885 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15886 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15887 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15888 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15889 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15890 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15891 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15892 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15893 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15894 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15895 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15896 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15897 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15898 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15899 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15900 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15901 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15902 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15903 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15904 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15905 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15906 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15907 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15908 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15909 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15910 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15911 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15912 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15913 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15914 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15917 LTCFLAGS='$LTCFLAGS'
15918 compiler='$compiler_DEFAULT'
15920 # Quote evaled strings.
15931 deplibs_check_method \
15940 lt_cv_sys_global_symbol_pipe \
15941 lt_cv_sys_global_symbol_to_cdecl \
15942 lt_cv_sys_global_symbol_to_c_name_address \
15945 lt_prog_compiler_no_builtin_flag \
15946 lt_prog_compiler_wl \
15947 lt_prog_compiler_pic \
15948 lt_prog_compiler_static \
15949 lt_cv_prog_compiler_c_o \
15952 export_dynamic_flag_spec \
15953 whole_archive_flag_spec \
15954 compiler_needs_object \
15956 allow_undefined_flag \
15957 no_undefined_flag \
15958 hardcode_libdir_flag_spec \
15959 hardcode_libdir_flag_spec_ld \
15960 hardcode_libdir_separator \
15965 variables_saved_for_relink \
15967 library_names_spec \
15972 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15973 *[\\\\\\\`\\"\\\$]*)
15974 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15977 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15982 # Double-quote double-evaled strings.
15983 for var in reload_cmds \
15984 old_postinstall_cmds \
15985 old_postuninstall_cmds \
15987 extract_expsyms_cmds \
15988 old_archive_from_new_cmds \
15989 old_archive_from_expsyms_cmds \
15991 archive_expsym_cmds \
15993 module_expsym_cmds \
15994 export_symbols_cmds \
15997 postuninstall_cmds \
15999 sys_lib_search_path_spec \
16000 sys_lib_dlsearch_path_spec; do
16001 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16002 *[\\\\\\\`\\"\\\$]*)
16003 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16006 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16011 # Fix-up fallback echo if it was mangled by the above quoting rules.
16013 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16017 ac_aux_dir='$ac_aux_dir'
16018 xsi_shell='$xsi_shell'
16019 lt_shell_append='$lt_shell_append'
16021 # See if we are running on zsh, and set the options which allow our
16022 # commands through without removal of \ escapes INIT.
16023 if test -n "\${ZSH_VERSION+set}" ; then
16024 setopt NO_GLOB_SUBST
16030 TIMESTAMP='$TIMESTAMP'
16036 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16037 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
16039 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
16040 # Capture the value of LINGUAS because we need it to compute CATALOGS.
16041 LINGUAS="${LINGUAS-%UNSET%}"
16048 cat >>$CONFIG_STATUS <<\_ACEOF
16049 for ac_config_target
in $ac_config_targets
16051 case "$ac_config_target" in
16052 # Handling of arguments.
16053 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16054 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
16055 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
16056 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16057 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16058 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16059 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
16060 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16061 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16062 { (exit 1); exit 1; }; };;
16066 # If the user did not use the arguments to specify the items to instantiate,
16067 # then the envvar interface is used. Set only those that are not.
16068 # We use the long form for the default assignment because of an extremely
16069 # bizarre bug on SunOS 4.1.3.
16070 if $ac_need_defaults; then
16071 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16072 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16073 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16076 # Have a temporary directory for convenience. Make it in the build tree
16077 # simply because there is no reason to put it here, and in addition,
16078 # creating and moving files from /tmp can sometimes cause problems.
16079 # Create a temporary directory, and hook for its removal unless debugging.
16082 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
16083 trap '{ (exit 1); exit 1; }' 1 2 13 15
16086 # Create a (secure) tmp directory for tmp files.
16089 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16090 test -n "$tmp" && test -d "$tmp"
16093 tmp
=.
/confstat$$
-$RANDOM
16094 (umask 077 && mkdir
$tmp)
16097 echo "$me: cannot create a temporary directory in ." >&2
16098 { (exit 1); exit 1; }
16103 cat >>$CONFIG_STATUS <<_ACEOF
16106 # CONFIG_FILES section.
16109 # No need to generate the scripts if there are no CONFIG_FILES.
16110 # This happens for instance when ./config.status config.h
16111 if test -n "\$CONFIG_FILES"; then
16112 # Protect against being on the right side of a sed subst in config.status.
16113 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16114 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16115 s,@SHELL@,$SHELL,;t t
16116 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16117 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16118 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16119 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16120 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16121 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16122 s,@exec_prefix@,$exec_prefix,;t t
16123 s,@prefix@,$prefix,;t t
16124 s,@program_transform_name@,$program_transform_name,;t t
16125 s,@bindir@,$bindir,;t t
16126 s,@sbindir@,$sbindir,;t t
16127 s,@libexecdir@,$libexecdir,;t t
16128 s,@datadir@,$datadir,;t t
16129 s,@sysconfdir@,$sysconfdir,;t t
16130 s,@sharedstatedir@,$sharedstatedir,;t t
16131 s,@localstatedir@,$localstatedir,;t t
16132 s,@libdir@,$libdir,;t t
16133 s,@includedir@,$includedir,;t t
16134 s,@oldincludedir@,$oldincludedir,;t t
16135 s,@infodir@,$infodir,;t t
16136 s,@mandir@,$mandir,;t t
16137 s,@build_alias@,$build_alias,;t t
16138 s,@host_alias@,$host_alias,;t t
16139 s,@target_alias@,$target_alias,;t t
16140 s,@DEFS@,$DEFS,;t t
16141 s,@ECHO_C@,$ECHO_C,;t t
16142 s,@ECHO_N@,$ECHO_N,;t t
16143 s,@ECHO_T@,$ECHO_T,;t t
16144 s,@LIBS@,$LIBS,;t t
16145 s,@build@,$build,;t t
16146 s,@build_cpu@,$build_cpu,;t t
16147 s,@build_vendor@,$build_vendor,;t t
16148 s,@build_os@,$build_os,;t t
16149 s,@host@,$host,;t t
16150 s,@host_cpu@,$host_cpu,;t t
16151 s,@host_vendor@,$host_vendor,;t t
16152 s,@host_os@,$host_os,;t t
16153 s,@target@,$target,;t t
16154 s,@target_cpu@,$target_cpu,;t t
16155 s,@target_vendor@,$target_vendor,;t t
16156 s,@target_os@,$target_os,;t t
16158 s,@CFLAGS@,$CFLAGS,;t t
16159 s,@LDFLAGS@,$LDFLAGS,;t t
16160 s,@CPPFLAGS@,$CPPFLAGS,;t t
16161 s,@ac_ct_CC@,$ac_ct_CC,;t t
16162 s,@EXEEXT@,$EXEEXT,;t t
16163 s,@OBJEXT@,$OBJEXT,;t t
16164 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16165 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16166 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
16167 s,@CYGPATH_W@,$CYGPATH_W,;t t
16168 s,@PACKAGE@,$PACKAGE,;t t
16169 s,@VERSION@,$VERSION,;t t
16170 s,@ACLOCAL@,$ACLOCAL,;t t
16171 s,@AUTOCONF@,$AUTOCONF,;t t
16172 s,@AUTOMAKE@,$AUTOMAKE,;t t
16173 s,@AUTOHEADER@,$AUTOHEADER,;t t
16174 s,@MAKEINFO@,$MAKEINFO,;t t
16175 s,@install_sh@,$install_sh,;t t
16176 s,@STRIP@,$STRIP,;t t
16177 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
16178 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
16179 s,@mkdir_p@,$mkdir_p,;t t
16181 s,@SET_MAKE@,$SET_MAKE,;t t
16182 s,@am__leading_dot@,$am__leading_dot,;t t
16183 s,@AMTAR@,$AMTAR,;t t
16184 s,@am__tar@,$am__tar,;t t
16185 s,@am__untar@,$am__untar,;t t
16186 s,@DEPDIR@,$DEPDIR,;t t
16187 s,@am__include@,$am__include,;t t
16188 s,@am__quote@,$am__quote,;t t
16189 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
16190 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
16191 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
16192 s,@CCDEPMODE@,$CCDEPMODE,;t t
16193 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
16194 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
16196 s,@EGREP@,$EGREP,;t t
16197 s,@LIBTOOL@,$LIBTOOL,;t t
16199 s,@FGREP@,$FGREP,;t t
16200 s,@GREP@,$GREP,;t t
16202 s,@DUMPBIN@,$DUMPBIN,;t t
16203 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
16205 s,@LN_S@,$LN_S,;t t
16207 s,@ac_ct_AR@,$ac_ct_AR,;t t
16208 s,@RANLIB@,$RANLIB,;t t
16209 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16210 s,@lt_ECHO@,$lt_ECHO,;t t
16211 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
16212 s,@NO_WERROR@,$NO_WERROR,;t t
16213 s,@YACC@,$YACC,;t t
16215 s,@LEXLIB@,$LEXLIB,;t t
16216 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
16217 s,@USE_NLS@,$USE_NLS,;t t
16218 s,@LIBINTL@,$LIBINTL,;t t
16219 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
16220 s,@INCINTL@,$INCINTL,;t t
16221 s,@XGETTEXT@,$XGETTEXT,;t t
16222 s,@GMSGFMT@,$GMSGFMT,;t t
16223 s,@POSUB@,$POSUB,;t t
16224 s,@CATALOGS@,$CATALOGS,;t t
16225 s,@DATADIRNAME@,$DATADIRNAME,;t t
16226 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
16227 s,@GENCAT@,$GENCAT,;t t
16228 s,@CATOBJEXT@,$CATOBJEXT,;t t
16229 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
16230 s,@MSGFMT@,$MSGFMT,;t t
16231 s,@MSGMERGE@,$MSGMERGE,;t t
16232 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
16233 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
16234 s,@MAINT@,$MAINT,;t t
16235 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
16236 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
16237 s,@HDEFINES@,$HDEFINES,;t t
16238 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
16239 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
16240 s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
16241 s,@ALLOCA@,$ALLOCA,;t t
16242 s,@LIBICONV@,$LIBICONV,;t t
16243 s,@LTLIBICONV@,$LTLIBICONV,;t t
16244 s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
16245 s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
16246 s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
16247 s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
16248 s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
16249 s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
16250 s,@BUILD_WINDMC@,$BUILD_WINDMC,;t t
16251 s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
16252 s,@BUILD_MISC@,$BUILD_MISC,;t t
16253 s,@BUILD_INSTALL_MISC@,$BUILD_INSTALL_MISC,;t t
16254 s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
16255 s,@EMULATION@,$EMULATION,;t t
16256 s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
16257 s,@datarootdir@,$datarootdir,;t t
16258 s,@docdir@,$docdir,;t t
16259 s,@htmldir@,$htmldir,;t t
16260 s,@LIBOBJS@,$LIBOBJS,;t t
16261 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16266 cat >>$CONFIG_STATUS <<\_ACEOF
16267 # Split the substitutions into bite-sized pieces for seds with
16268 # small command number limits, like on Digital OSF/1 and HP-UX.
16269 ac_max_sed_lines
=48
16270 ac_sed_frag
=1 # Number of current file.
16271 ac_beg
=1 # First line for current file.
16272 ac_end
=$ac_max_sed_lines # Line after last line for current file.
16275 while $ac_more_lines; do
16276 if test $ac_beg -gt 1; then
16277 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16279 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16281 if test ! -s $tmp/subs.frag
; then
16282 ac_more_lines
=false
16284 # The purpose of the label and of the branching condition is to
16285 # speed up the sed processing (if there are no `@' at all, there
16286 # is no need to browse any of the substitutions).
16287 # These are the two extra sed commands mentioned above.
16289 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
16290 if test -z "$ac_sed_cmds"; then
16291 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
16293 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16295 ac_sed_frag
=`expr $ac_sed_frag + 1`
16297 ac_end
=`expr $ac_end + $ac_max_sed_lines`
16300 if test -z "$ac_sed_cmds"; then
16303 fi # test -n "$CONFIG_FILES"
16306 cat >>$CONFIG_STATUS <<\_ACEOF
16307 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
16308 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16310 - |
*:- |
*:-:* ) # input from stdin
16312 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16313 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16314 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16315 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16316 * ) ac_file_in
=$ac_file.
in ;;
16319 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16320 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16321 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16322 X"$ac_file" : 'X\(//\)[^/]' \| \
16323 X"$ac_file" : 'X\(//\)$' \| \
16324 X"$ac_file" : 'X\(/\)' \| \
16325 . : '\(.\)' 2>/dev/null ||
16327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16328 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16329 /^X\(\/\/\)$/{ s//\1/; q; }
16330 /^X\(\/\).*/{ s//\1/; q; }
16332 { if $as_mkdir_p; then
16337 while test ! -d "$as_dir"; do
16338 as_dirs
="$as_dir $as_dirs"
16339 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16341 X"$as_dir" : 'X\(//\)[^/]' \| \
16342 X"$as_dir" : 'X\(//\)$' \| \
16343 X"$as_dir" : 'X\(/\)' \| \
16344 . : '\(.\)' 2>/dev/null ||
16346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16347 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16348 /^X\(\/\/\)$/{ s//\1/; q; }
16349 /^X\(\/\).*/{ s//\1/; q; }
16352 test ! -n "$as_dirs" || mkdir
$as_dirs
16353 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16354 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16355 { (exit 1); exit 1; }; }; }
16359 if test "$ac_dir" != .
; then
16360 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16361 # A "../" for each directory in $ac_dir_suffix.
16362 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16364 ac_dir_suffix
= ac_top_builddir
=
16368 .
) # No --srcdir option. We are building in place.
16370 if test -z "$ac_top_builddir"; then
16373 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16375 [\\/]* | ?
:[\\/]* ) # Absolute path.
16376 ac_srcdir
=$srcdir$ac_dir_suffix;
16377 ac_top_srcdir
=$srcdir ;;
16378 *) # Relative path.
16379 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16380 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16383 # Do not use `cd foo && pwd` to compute absolute paths, because
16384 # the directories may not exist.
16386 .
) ac_abs_builddir
="$ac_dir";;
16389 .
) ac_abs_builddir
=`pwd`;;
16390 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16391 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16394 case $ac_abs_builddir in
16395 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16397 case ${ac_top_builddir}.
in
16398 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16399 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16400 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16403 case $ac_abs_builddir in
16404 .
) ac_abs_srcdir
=$ac_srcdir;;
16407 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16408 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16409 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16412 case $ac_abs_builddir in
16413 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16415 case $ac_top_srcdir in
16416 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16417 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16418 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16424 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16425 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
16428 if test x
"$ac_file" != x-
; then
16429 { echo "$as_me:$LINENO: creating $ac_file" >&5
16430 echo "$as_me: creating $ac_file" >&6;}
16433 # Let's still pretend it is `configure' which instantiates (i.e., don't
16434 # use $as_me), people would be surprised to read:
16435 # /* config.h. Generated by config.status. */
16436 if test x
"$ac_file" = x-
; then
16439 configure_input
="$ac_file. "
16441 configure_input
=$configure_input"Generated from `echo $ac_file_in |
16442 sed 's,.*/,,'` by configure."
16444 # First look for the input files in the build tree, otherwise in the
16446 ac_file_inputs
=`IFS=:
16447 for f in $ac_file_in; do
16449 -) echo $tmp/stdin ;;
16451 # Absolute (can't be DOS-style, as IFS=:)
16452 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16453 echo "$as_me: error: cannot find input file: $f" >&2;}
16454 { (exit 1); exit 1; }; }
16457 if test -f "$f"; then
16460 elif test -f "$srcdir/$f"; then
16465 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16466 echo "$as_me: error: cannot find input file: $f" >&2;}
16467 { (exit 1); exit 1; }; }
16470 done` ||
{ (exit 1); exit 1; }
16472 cat >>$CONFIG_STATUS <<_ACEOF
16476 cat >>$CONFIG_STATUS <<\_ACEOF
16478 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16479 s
,@configure_input@
,$configure_input,;t t
16480 s
,@srcdir@
,$ac_srcdir,;t t
16481 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
16482 s
,@top_srcdir@
,$ac_top_srcdir,;t t
16483 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
16484 s
,@builddir@
,$ac_builddir,;t t
16485 s
,@abs_builddir@
,$ac_abs_builddir,;t t
16486 s
,@top_builddir@
,$ac_top_builddir,;t t
16487 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
16488 s
,@INSTALL@
,$ac_INSTALL,;t t
16489 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16491 if test x"$ac_file" != x-; then
16492 mv $tmp/out $ac_file
16500 cat >>$CONFIG_STATUS <<\_ACEOF
16503 # CONFIG_HEADER section.
16506 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
16507 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16509 # ac_d sets the value in "#define NAME VALUE" lines.
16510 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16511 ac_dB
='[ ].*$,\1#\2'
16514 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16515 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16516 ac_uB
='$,\1#\2define\3'
16520 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
16521 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16523 - |
*:- |
*:-:* ) # input from stdin
16525 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16526 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16527 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16528 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16529 * ) ac_file_in
=$ac_file.
in ;;
16532 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
16533 echo "$as_me: creating $ac_file" >&6;}
16535 # First look for the input files in the build tree, otherwise in the
16537 ac_file_inputs
=`IFS=:
16538 for f in $ac_file_in; do
16540 -) echo $tmp/stdin ;;
16542 # Absolute (can't be DOS-style, as IFS=:)
16543 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16544 echo "$as_me: error: cannot find input file: $f" >&2;}
16545 { (exit 1); exit 1; }; }
16546 # Do quote $f, to prevent DOS paths from being IFS'd.
16549 if test -f "$f"; then
16552 elif test -f "$srcdir/$f"; then
16557 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16558 echo "$as_me: error: cannot find input file: $f" >&2;}
16559 { (exit 1); exit 1; }; }
16562 done` ||
{ (exit 1); exit 1; }
16563 # Remove the trailing spaces.
16564 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16568 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16569 # `conftest.undefs', that substitutes the proper values into
16570 # config.h.in to produce config.h. The first handles `#define'
16571 # templates, and the second `#undef' templates.
16572 # And first: Protect against being on the right side of a sed subst in
16573 # config.status. Protect against being in an unquoted here document
16574 # in config.status.
16575 rm -f conftest.defines conftest.undefs
16576 # Using a here document instead of a string reduces the quoting nightmare.
16577 # Putting comments in sed scripts is not portable.
16579 # `end' is used to avoid that the second main sed command (meant for
16580 # 0-ary CPP macros) applies to n-ary macro definitions.
16581 # See the Autoconf documentation for `clear'.
16582 cat >confdef2sed.
sed <<\_ACEOF
16587 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16589 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16592 # If some macros were called several times there might be several times
16593 # the same #defines, which is useless. Nevertheless, we may not want to
16594 # sort them, since we want the *last* AC-DEFINE to be honored.
16595 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16596 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16597 rm -f confdef2sed.sed
16599 # This sed command replaces #undef with comments. This is necessary, for
16600 # example, in the case of _POSIX_SOURCE, which is predefined and required
16601 # on some systems where configure will not decide to define it.
16602 cat >>conftest.undefs <<\_ACEOF
16603 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16606 # Break up conftest.defines because some shells have a limit on the size
16607 # of here documents, and old seds have small limits too (100 cmds).
16608 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16609 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16610 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16611 echo ' :' >>$CONFIG_STATUS
16612 rm -f conftest.tail
16613 while grep . conftest.defines >/dev/null
16615 # Write a limited-size here document to $tmp/defines.sed.
16616 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16617 # Speed up: don't consider the non `#define' lines.
16618 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16619 # Work around the forget-to-reset-the-flag bug.
16620 echo 't clr' >>$CONFIG_STATUS
16621 echo ': clr' >>$CONFIG_STATUS
16622 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
16624 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16626 mv $tmp/out $tmp/in
16628 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
16629 rm -f conftest.defines
16630 mv conftest.
tail conftest.defines
16632 rm -f conftest.defines
16633 echo ' fi # grep' >>$CONFIG_STATUS
16634 echo >>$CONFIG_STATUS
16636 # Break up conftest.undefs because some shells have a limit on the size
16637 # of here documents, and old seds have small limits too (100 cmds).
16638 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16639 rm -f conftest.
tail
16640 while grep . conftest.undefs
>/dev
/null
16642 # Write a limited-size here document to $tmp/undefs.sed.
16643 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16644 # Speed up: don't consider the non
`#undef'
16645 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16646 # Work around the forget-to-reset-the-flag bug.
16647 echo 't clr' >>$CONFIG_STATUS
16648 echo ': clr' >>$CONFIG_STATUS
16649 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16651 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16653 mv $tmp/out $tmp/in
16655 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16656 rm -f conftest.undefs
16657 mv conftest.tail conftest.undefs
16659 rm -f conftest.undefs
16661 cat >>$CONFIG_STATUS <<\_ACEOF
16662 # Let's still pretend it is `configure
' which instantiates (i.e., don't
16663 # use $as_me), people would be surprised to read:
16664 # /* config.h. Generated by config.status. */
16665 if test x
"$ac_file" = x-
; then
16666 echo "/* Generated by configure. */" >$tmp/config.h
16668 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16670 cat $tmp/in >>$tmp/config.h
16672 if test x
"$ac_file" != x-
; then
16673 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
16674 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16675 echo "$as_me: $ac_file is unchanged" >&6;}
16677 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16678 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16679 X"$ac_file" : 'X\(//\)[^/]' \| \
16680 X"$ac_file" : 'X\(//\)$' \| \
16681 X"$ac_file" : 'X\(/\)' \| \
16682 . : '\(.\)' 2>/dev/null ||
16684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16685 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16686 /^X\(\/\/\)$/{ s//\1/; q; }
16687 /^X\(\/\).*/{ s//\1/; q; }
16689 { if $as_mkdir_p; then
16694 while test ! -d "$as_dir"; do
16695 as_dirs
="$as_dir $as_dirs"
16696 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16697 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16698 X"$as_dir" : 'X\(//\)[^/]' \| \
16699 X"$as_dir" : 'X\(//\)$' \| \
16700 X"$as_dir" : 'X\(/\)' \| \
16701 . : '\(.\)' 2>/dev/null ||
16703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16705 /^X\(\/\/\)$/{ s//\1/; q; }
16706 /^X\(\/\).*/{ s//\1/; q; }
16709 test ! -n "$as_dirs" || mkdir
$as_dirs
16710 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16711 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16712 { (exit 1); exit 1; }; }; }
16715 mv $tmp/config.h
$ac_file
16719 rm -f $tmp/config.h
16721 # Compute $ac_file's index in $config_headers.
16723 for _am_header
in $config_headers :; do
16724 case $_am_header in
16725 $ac_file |
$ac_file:* )
16728 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16731 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
16732 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16733 X$ac_file : 'X\(//\)[^/]' \| \
16734 X$ac_file : 'X\(//\)$' \| \
16735 X$ac_file : 'X\(/\)' \| \
16736 . : '\(.\)' 2>/dev/null ||
16738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16739 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16740 /^X\(\/\/\)$/{ s//\1/; q; }
16741 /^X\(\/\).*/{ s//\1/; q; }
16742 s/.*/./; q'`/stamp-h
$_am_stamp_count
16745 cat >>$CONFIG_STATUS <<\_ACEOF
16748 # CONFIG_COMMANDS section.
16750 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
16751 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
16752 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16753 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
16754 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16755 X"$ac_dest" : 'X\(//\)[^/]' \| \
16756 X"$ac_dest" : 'X\(//\)$' \| \
16757 X"$ac_dest" : 'X\(/\)' \| \
16758 . : '\(.\)' 2>/dev/null ||
16760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16761 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16762 /^X\(\/\/\)$/{ s//\1/; q; }
16763 /^X\(\/\).*/{ s//\1/; q; }
16765 { if $as_mkdir_p; then
16770 while test ! -d "$as_dir"; do
16771 as_dirs
="$as_dir $as_dirs"
16772 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16773 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16774 X"$as_dir" : 'X\(//\)[^/]' \| \
16775 X"$as_dir" : 'X\(//\)$' \| \
16776 X"$as_dir" : 'X\(/\)' \| \
16777 . : '\(.\)' 2>/dev/null ||
16779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16780 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16781 /^X\(\/\/\)$/{ s//\1/; q; }
16782 /^X\(\/\).*/{ s//\1/; q; }
16785 test ! -n "$as_dirs" || mkdir
$as_dirs
16786 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16787 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16788 { (exit 1); exit 1; }; }; }
16792 if test "$ac_dir" != .
; then
16793 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16794 # A "../" for each directory in $ac_dir_suffix.
16795 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16797 ac_dir_suffix
= ac_top_builddir
=
16801 .
) # No --srcdir option. We are building in place.
16803 if test -z "$ac_top_builddir"; then
16806 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16808 [\\/]* | ?
:[\\/]* ) # Absolute path.
16809 ac_srcdir
=$srcdir$ac_dir_suffix;
16810 ac_top_srcdir
=$srcdir ;;
16811 *) # Relative path.
16812 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16813 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16816 # Do not use `cd foo && pwd` to compute absolute paths, because
16817 # the directories may not exist.
16819 .
) ac_abs_builddir
="$ac_dir";;
16822 .
) ac_abs_builddir
=`pwd`;;
16823 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16824 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16827 case $ac_abs_builddir in
16828 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16830 case ${ac_top_builddir}.
in
16831 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16832 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16833 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16836 case $ac_abs_builddir in
16837 .
) ac_abs_srcdir
=$ac_srcdir;;
16840 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16841 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16842 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16845 case $ac_abs_builddir in
16846 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16848 case $ac_top_srcdir in
16849 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16850 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16851 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16856 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16857 echo "$as_me: executing $ac_dest commands" >&6;}
16859 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
16860 # Strip MF so we end up with the name of the file.
16861 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16862 # Check whether this is an Automake generated Makefile or not.
16863 # We used to match only the files named `Makefile.in', but
16864 # some people rename them; so instead we look at the file content.
16865 # Grep'ing the first line is not enough: some people post-process
16866 # each Makefile.in and add a new line on top of each file to say so.
16867 # So let's grep whole file.
16868 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
16869 dirpart
=`(dirname "$mf") 2>/dev/null ||
16870 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16871 X"$mf" : 'X\(//\)[^/]' \| \
16872 X"$mf" : 'X\(//\)$' \| \
16873 X"$mf" : 'X\(/\)' \| \
16874 . : '\(.\)' 2>/dev/null ||
16876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16877 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16878 /^X\(\/\/\)$/{ s//\1/; q; }
16879 /^X\(\/\).*/{ s//\1/; q; }
16884 # Extract the definition of DEPDIR, am__include, and am__quote
16885 # from the Makefile without running `make'.
16886 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16887 test -z "$DEPDIR" && continue
16888 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16889 test -z "am__include" && continue
16890 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16891 # When using ansi2knr, U may be empty or an underscore; expand it
16892 U
=`sed -n 's/^U = //p' < "$mf"`
16893 # Find all dependency output files, they are included files with
16894 # $(DEPDIR) in their names. We invoke sed twice because it is the
16895 # simplest approach to changing $(DEPDIR) to its actual value in the
16897 for file in `sed -n "
16898 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16899 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16900 # Make sure the directory exists.
16901 test -f "$dirpart/$file" && continue
16902 fdir
=`(dirname "$file") 2>/dev/null ||
16903 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16904 X"$file" : 'X\(//\)[^/]' \| \
16905 X"$file" : 'X\(//\)$' \| \
16906 X"$file" : 'X\(/\)' \| \
16907 . : '\(.\)' 2>/dev/null ||
16909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16910 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16911 /^X\(\/\/\)$/{ s//\1/; q; }
16912 /^X\(\/\).*/{ s//\1/; q; }
16914 { if $as_mkdir_p; then
16915 mkdir
-p $dirpart/$fdir
16917 as_dir
=$dirpart/$fdir
16919 while test ! -d "$as_dir"; do
16920 as_dirs
="$as_dir $as_dirs"
16921 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16922 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16923 X"$as_dir" : 'X\(//\)[^/]' \| \
16924 X"$as_dir" : 'X\(//\)$' \| \
16925 X"$as_dir" : 'X\(/\)' \| \
16926 . : '\(.\)' 2>/dev/null ||
16928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16929 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16930 /^X\(\/\/\)$/{ s//\1/; q; }
16931 /^X\(\/\).*/{ s//\1/; q; }
16934 test ! -n "$as_dirs" || mkdir
$as_dirs
16935 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
16936 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
16937 { (exit 1); exit 1; }; }; }
16939 # echo "creating $dirpart/$file"
16940 echo '# dummy' > "$dirpart/$file"
16946 # See if we are running on zsh, and set the options which allow our
16947 # commands through without removal of \ escapes.
16948 if test -n "${ZSH_VERSION+set}" ; then
16949 setopt NO_GLOB_SUBST
16952 cfgfile
="${ofile}T"
16953 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16956 cat <<_LT_EOF >> "$cfgfile"
16959 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16960 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
16961 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16962 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16964 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16965 # 2006, 2007 Free Software Foundation, Inc.
16967 # This file is part of GNU Libtool:
16968 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
16970 # This program is free software; you can redistribute it and/or modify
16971 # it under the terms of the GNU General Public License as published by
16972 # the Free Software Foundation; either version 2 of the License, or
16973 # (at your option) any later version.
16975 # This program is distributed in the hope that it will be useful, but
16976 # WITHOUT ANY WARRANTY; without even the implied warranty of
16977 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16978 # General Public License for more details.
16980 # You should have received a copy of the GNU General Public License
16981 # along with this program; if not, a copy can be downloaded from
16982 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
16983 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16984 # MA 02110-1301, USA.
16986 # As a special exception to the GNU General Public License, if you
16987 # distribute this file as part of a program that contains a
16988 # configuration script generated by Autoconf, you may include it under
16989 # the same distribution terms that you use for the rest of that program.
16992 # The names of the tagged configurations supported by this script.
16995 # ### BEGIN LIBTOOL CONFIG
16997 # Which release of libtool.m4 was used?
16998 macro_version=$macro_version
16999 macro_revision=$macro_revision
17001 # Whether or not to build shared libraries.
17002 build_libtool_libs=$enable_shared
17004 # Whether or not to build static libraries.
17005 build_old_libs=$enable_static
17007 # What type of objects to build.
17010 # Whether or not to optimize for fast installation.
17011 fast_install=$enable_fast_install
17014 host_alias=$host_alias
17018 # The build system.
17019 build_alias=$build_alias
17023 # A sed program that does not truncate output.
17026 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17027 Xsed="\$SED -e 1s/^X//"
17029 # A grep program that handles long lines.
17035 # A literal string matcher.
17038 # A BSD- or MS-compatible name lister.
17041 # Whether we need soft or hard links.
17044 # What is the maximum length of a command?
17045 max_cmd_len=$max_cmd_len
17047 # Object file suffix (normally "o").
17050 # Executable file suffix (normally "").
17053 # whether the shell understands "unset".
17056 # turn spaces into newlines.
17059 # turn newlines into spaces.
17062 # How to create reloadable object files.
17063 reload_flag=$lt_reload_flag
17064 reload_cmds=$lt_reload_cmds
17066 # Method to check whether dependent libraries are shared objects.
17067 deplibs_check_method=$lt_deplibs_check_method
17069 # Command to use when deplibs_check_method == "file_magic".
17070 file_magic_cmd=$lt_file_magic_cmd
17074 AR_FLAGS=$lt_AR_FLAGS
17076 # A symbol stripping program.
17079 # Commands used to install an old-style archive.
17081 old_postinstall_cmds=$lt_old_postinstall_cmds
17082 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17087 # LTCC compiler flags.
17088 LTCFLAGS=$lt_CFLAGS
17090 # Take the output of nm and produce a listing of raw symbols and C names.
17091 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17093 # Transform the output of nm in a proper C declaration.
17094 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17096 # Transform the output of nm in a C name address pair.
17097 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17099 # The name of the directory that contains temporary libtool files.
17102 # Shell to use when invoking shell scripts.
17105 # An echo program that does not interpret backslashes.
17108 # Used to examine libraries when file_magic_cmd begins with "file".
17109 MAGIC_CMD=$MAGIC_CMD
17111 # Must we lock files when doing compilation?
17112 need_locks=$lt_need_locks
17114 # Old archive suffix (normally "a").
17117 # Shared library suffix (normally ".so").
17118 shrext_cmds=$lt_shrext_cmds
17120 # The commands to extract the exported symbol list from a shared archive.
17121 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17123 # Variables whose values should be saved in libtool wrapper scripts and
17124 # restored at link time.
17125 variables_saved_for_relink=$lt_variables_saved_for_relink
17127 # Do we need the "lib" prefix for modules?
17128 need_lib_prefix=$need_lib_prefix
17130 # Do we need a version for libraries?
17131 need_version=$need_version
17133 # Library versioning type.
17134 version_type=$version_type
17136 # Shared library runtime path variable.
17137 runpath_var=$runpath_var
17139 # Shared library path variable.
17140 shlibpath_var=$shlibpath_var
17142 # Is shlibpath searched before the hard-coded library search path?
17143 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17145 # Format of library name prefix.
17146 libname_spec=$lt_libname_spec
17148 # List of archive names. First name is the real one, the rest are links.
17149 # The last name is the one that the linker finds with -lNAME
17150 library_names_spec=$lt_library_names_spec
17152 # The coded name of the library, if different from the real name.
17153 soname_spec=$lt_soname_spec
17155 # Command to use after installation of a shared archive.
17156 postinstall_cmds=$lt_postinstall_cmds
17158 # Command to use after uninstallation of a shared archive.
17159 postuninstall_cmds=$lt_postuninstall_cmds
17161 # Commands used to finish a libtool library installation in a directory.
17162 finish_cmds=$lt_finish_cmds
17164 # As "finish_cmds", except a single script fragment to be evaled but
17166 finish_eval=$lt_finish_eval
17168 # Whether we should hardcode library paths into libraries.
17169 hardcode_into_libs=$hardcode_into_libs
17171 # Compile-time system search path for libraries.
17172 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17174 # Run-time system search path for libraries.
17175 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17177 # Whether dlopen is supported.
17178 dlopen_support=$enable_dlopen
17180 # Whether dlopen of programs is supported.
17181 dlopen_self=$enable_dlopen_self
17183 # Whether dlopen of statically linked programs is supported.
17184 dlopen_self_static=$enable_dlopen_self_static
17186 # Commands to strip libraries.
17187 old_striplib=$lt_old_striplib
17188 striplib=$lt_striplib
17191 # The linker used to build libraries.
17194 # Commands used to build an old-style archive.
17195 old_archive_cmds=$lt_old_archive_cmds
17197 # A language specific compiler.
17200 # Is the compiler the GNU compiler?
17203 # Compiler flag to turn off builtin functions.
17204 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17206 # How to pass a linker flag through the compiler.
17207 wl=$lt_lt_prog_compiler_wl
17209 # Additional compiler flags for building library objects.
17210 pic_flag=$lt_lt_prog_compiler_pic
17212 # Compiler flag to prevent dynamic linking.
17213 link_static_flag=$lt_lt_prog_compiler_static
17215 # Does compiler simultaneously support -c and -o options?
17216 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17218 # Whether or not to add -lc for building shared libraries.
17219 build_libtool_need_lc=$archive_cmds_need_lc
17221 # Whether or not to disallow shared libs when runtime libs are static.
17222 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17224 # Compiler flag to allow reflexive dlopens.
17225 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17227 # Compiler flag to generate shared objects directly from archives.
17228 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17230 # Whether the compiler copes with passing no objects directly.
17231 compiler_needs_object=$lt_compiler_needs_object
17233 # Create an old-style archive from a shared archive.
17234 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17236 # Create a temporary old-style archive to link instead of a shared archive.
17237 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17239 # Commands used to build a shared archive.
17240 archive_cmds=$lt_archive_cmds
17241 archive_expsym_cmds=$lt_archive_expsym_cmds
17243 # Commands used to build a loadable module if different from building
17244 # a shared archive.
17245 module_cmds=$lt_module_cmds
17246 module_expsym_cmds=$lt_module_expsym_cmds
17248 # Whether we are building with GNU ld or not.
17249 with_gnu_ld=$lt_with_gnu_ld
17251 # Flag that allows shared libraries with undefined symbols to be built.
17252 allow_undefined_flag=$lt_allow_undefined_flag
17254 # Flag that enforces no undefined symbols.
17255 no_undefined_flag=$lt_no_undefined_flag
17257 # Flag to hardcode \$libdir into a binary during linking.
17258 # This must work even if \$libdir does not exist
17259 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17261 # If ld is used when linking, flag to hardcode \$libdir into a binary
17262 # during linking. This must work even if \$libdir does not exist.
17263 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17265 # Whether we need a single "-rpath" flag with a separated argument.
17266 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17268 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17269 # DIR into the resulting binary.
17270 hardcode_direct=$hardcode_direct
17272 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17273 # DIR into the resulting binary and the resulting library dependency is
17274 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17275 # library is relocated.
17276 hardcode_direct_absolute=$hardcode_direct_absolute
17278 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17279 # into the resulting binary.
17280 hardcode_minus_L=$hardcode_minus_L
17282 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17283 # into the resulting binary.
17284 hardcode_shlibpath_var=$hardcode_shlibpath_var
17286 # Set to "yes" if building a shared library automatically hardcodes DIR
17287 # into the library and all subsequent libraries and executables linked
17289 hardcode_automatic=$hardcode_automatic
17291 # Set to yes if linker adds runtime paths of dependent libraries
17292 # to runtime path list.
17293 inherit_rpath=$inherit_rpath
17295 # Whether libtool must link a program against all its dependency libraries.
17296 link_all_deplibs=$link_all_deplibs
17298 # Fix the shell variable \$srcfile for the compiler.
17299 fix_srcfile_path=$lt_fix_srcfile_path
17301 # Set to "yes" if exported symbols are required.
17302 always_export_symbols=$always_export_symbols
17304 # The commands to list exported symbols.
17305 export_symbols_cmds=$lt_export_symbols_cmds
17307 # Symbols that should not be listed in the preloaded symbols.
17308 exclude_expsyms=$lt_exclude_expsyms
17310 # Symbols that must always be exported.
17311 include_expsyms=$lt_include_expsyms
17313 # Commands necessary for linking programs (against libraries) with templates.
17314 prelink_cmds=$lt_prelink_cmds
17316 # Specify filename containing input files.
17317 file_list_spec=$lt_file_list_spec
17319 # How to hardcode a shared library path into an executable.
17320 hardcode_action=$hardcode_action
17322 # ### END LIBTOOL CONFIG
17328 cat <<\_LT_EOF
>> "$cfgfile"
17329 # AIX sometimes has problems with the GCC collect2 program. For some
17330 # reason, if we set the COLLECT_NAMES environment variable, the problems
17331 # vanish in a puff of smoke.
17332 if test "X${COLLECT_NAMES+set}" != Xset
; then
17334 export COLLECT_NAMES
17341 ltmain
="$ac_aux_dir/ltmain.sh"
17344 # We use sed instead of cat because bash on DJGPP gets confused if
17345 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17346 # text mode, it properly converts lines to CR/LF. This bash problem
17347 # is reportedly fixed, but why not run on old versions too?
17348 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17349 ||
(rm -f "$cfgfile"; exit 1)
17353 cat << \_LT_EOF
>> "$cfgfile"
17354 # func_dirname file append nondir_replacement
17355 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17356 # otherwise set result to NONDIR_REPLACEMENT.
17360 */*) func_dirname_result
="${1%/*}${2}" ;;
17361 * ) func_dirname_result
="${3}" ;;
17365 # func_basename file
17368 func_basename_result
="${1##*/}"
17371 # func_stripname prefix suffix name
17372 # strip PREFIX and SUFFIX off of NAME.
17373 # PREFIX and SUFFIX must not contain globbing or regex special
17374 # characters, hashes, percent signs, but SUFFIX may contain a leading
17375 # dot (in which case that matches only a dot).
17378 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17379 # positional parameters, so assign one to ordinary parameter first.
17380 func_stripname_result
=${3}
17381 func_stripname_result
=${func_stripname_result#"${1}"}
17382 func_stripname_result
=${func_stripname_result%"${2}"}
17388 func_opt_split_opt
=${1%%=*}
17389 func_opt_split_arg
=${1#*=}
17396 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17397 *) func_lo2o_result
=${1} ;;
17402 *) # Bourne compatible functions.
17403 cat << \_LT_EOF
>> "$cfgfile"
17404 # func_dirname file append nondir_replacement
17405 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17406 # otherwise set result to NONDIR_REPLACEMENT.
17409 # Extract subdirectory from the argument.
17410 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17411 if test "X$func_dirname_result" = "X${1}"; then
17412 func_dirname_result
="${3}"
17414 func_dirname_result
="$func_dirname_result${2}"
17418 # func_basename file
17421 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
17424 # func_stripname prefix suffix name
17425 # strip PREFIX and SUFFIX off of NAME.
17426 # PREFIX and SUFFIX must not contain globbing or regex special
17427 # characters, hashes, percent signs, but SUFFIX may contain a leading
17428 # dot (in which case that matches only a dot).
17429 # func_strip_suffix prefix name
17433 .
*) func_stripname_result
=`$ECHO "X${3}" \
17434 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17435 *) func_stripname_result
=`$ECHO "X${3}" \
17436 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17441 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17442 my_sed_long_arg
='1s/^-[^=]*=//'
17447 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17448 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17454 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17459 case $lt_shell_append in
17461 cat << \_LT_EOF
>> "$cfgfile"
17463 # func_append var value
17464 # Append VALUE to the end of shell variable VAR.
17472 cat << \_LT_EOF
>> "$cfgfile"
17474 # func_append var value
17475 # Append VALUE to the end of shell variable VAR.
17485 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17486 ||
(rm -f "$cfgfile"; exit 1)
17488 mv -f "$cfgfile" "$ofile" ||
17489 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17494 for ac_file
in $CONFIG_FILES; do
17495 # Support "outfile[:infile[:infile...]]"
17497 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17499 # PO directories have a Makefile.in generated from Makefile.in.in.
17500 case "$ac_file" in */Makefile.
in)
17501 # Adjust a relative srcdir.
17502 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17503 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
17504 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17505 # In autoconf-2.13 it is called $ac_given_srcdir.
17506 # In autoconf-2.50 it is called $srcdir.
17507 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17508 case "$ac_given_srcdir" in
17509 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17510 /*) top_srcdir
="$ac_given_srcdir" ;;
17511 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17513 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17514 rm -f "$ac_dir/POTFILES"
17515 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17516 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17517 POMAKEFILEDEPS
="POTFILES.in"
17518 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17519 # on $ac_dir but don't depend on user-specified configuration
17521 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17522 # The LINGUAS file contains the set of available languages.
17523 if test -n "$OBSOLETE_ALL_LINGUAS"; then
17524 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
17526 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17527 # Hide the ALL_LINGUAS assigment from automake.
17528 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17529 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
17531 # The set of available languages was given in configure.in.
17532 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17534 case "$ac_given_srcdir" in
17536 *) srcdirpre
='$(srcdir)/' ;;
17542 for lang
in $ALL_LINGUAS; do
17543 POFILES
="$POFILES $srcdirpre$lang.po"
17544 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17545 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17546 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17548 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17549 # environment variable.
17551 if test -n "$ALL_LINGUAS"; then
17552 for presentlang
in $ALL_LINGUAS; do
17554 if test "%UNSET%" != "$LINGUAS"; then
17555 desiredlanguages
="$LINGUAS"
17557 desiredlanguages
="$ALL_LINGUAS"
17559 for desiredlang
in $desiredlanguages; do
17560 # Use the presentlang catalog if desiredlang is
17561 # a. equal to presentlang, or
17562 # b. a variant of presentlang (because in this case,
17563 # presentlang can be used as a fallback for messages
17564 # which are not translated in the desiredlang catalog).
17565 case "$desiredlang" in
17566 "$presentlang"*) useit
=yes;;
17569 if test $useit = yes; then
17570 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17575 if test -n "$INST_LINGUAS"; then
17576 for lang
in $INST_LINGUAS; do
17577 CATALOGS
="$CATALOGS $lang.gmo"
17580 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17581 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"
17582 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17583 if test -f "$f"; then
17585 *.orig |
*.bak |
*~
) ;;
17586 *) cat "$f" >> "$ac_dir/Makefile" ;;
17598 cat >>$CONFIG_STATUS <<\_ACEOF
17600 { (exit 0); exit 0; }
17602 chmod +x
$CONFIG_STATUS
17603 ac_clean_files
=$ac_clean_files_save
17606 # configure is writing to config.log, and then calls config.status.
17607 # config.status does its own redirection, appending to config.log.
17608 # Unfortunately, on DOS this fails, as config.log is still kept open
17609 # by configure, so config.status won't be able to write to it; its
17610 # output is simply discarded. So we exec the FD to /dev/null,
17611 # effectively closing config.log, so it can be properly (re)opened and
17612 # appended to by config.status. When coming back to configure, we
17613 # need to make the FD available again.
17614 if test "$no_create" != yes; then
17616 ac_config_status_args
=
17617 test "$silent" = yes &&
17618 ac_config_status_args
="$ac_config_status_args --quiet"
17620 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17622 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17623 # would make configure fail if this is the last instruction.
17624 $ac_cs_success ||
{ (exit 1); exit 1; }