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 LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CPP 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
1494 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1495 if test -f $ac_dir/install-sh
; then
1497 ac_install_sh
="$ac_aux_dir/install-sh -c"
1499 elif test -f $ac_dir/install.sh
; then
1501 ac_install_sh
="$ac_aux_dir/install.sh -c"
1503 elif test -f $ac_dir/shtool
; then
1505 ac_install_sh
="$ac_aux_dir/shtool install -c"
1509 if test -z "$ac_aux_dir"; then
1510 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1511 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1512 { (exit 1); exit 1; }; }
1514 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1515 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1516 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1518 # Make sure we can run config.sub.
1519 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1520 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1521 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1522 { (exit 1); exit 1; }; }
1524 echo "$as_me:$LINENO: checking build system type" >&5
1525 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1526 if test "${ac_cv_build+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 ac_cv_build_alias
=$build_alias
1530 test -z "$ac_cv_build_alias" &&
1531 ac_cv_build_alias
=`$ac_config_guess`
1532 test -z "$ac_cv_build_alias" &&
1533 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1534 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1535 { (exit 1); exit 1; }; }
1536 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1542 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1543 echo "${ECHO_T}$ac_cv_build" >&6
1545 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1546 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1547 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1550 echo "$as_me:$LINENO: checking host system type" >&5
1551 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1552 if test "${ac_cv_host+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 ac_cv_host_alias
=$host_alias
1556 test -z "$ac_cv_host_alias" &&
1557 ac_cv_host_alias
=$ac_cv_build_alias
1558 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1564 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1565 echo "${ECHO_T}$ac_cv_host" >&6
1567 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1568 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1569 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1572 echo "$as_me:$LINENO: checking target system type" >&5
1573 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1574 if test "${ac_cv_target+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 ac_cv_target_alias
=$target_alias
1578 test "x$ac_cv_target_alias" = "x" &&
1579 ac_cv_target_alias
=$ac_cv_host_alias
1580 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1586 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1587 echo "${ECHO_T}$ac_cv_target" >&6
1588 target
=$ac_cv_target
1589 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1590 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1591 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1594 # The aliases save the names the user supplied, while $host etc.
1595 # will get canonicalized.
1596 test -n "$target_alias" &&
1597 test "$program_prefix$program_suffix$program_transform_name" = \
1599 program_prefix
=${target_alias}-
1601 ac_cpp
='$CPP $CPPFLAGS'
1602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1605 if test -n "$ac_tool_prefix"; then
1606 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1607 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1608 echo "$as_me:$LINENO: checking for $ac_word" >&5
1609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1610 if test "${ac_cv_prog_CC+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1613 if test -n "$CC"; then
1614 ac_cv_prog_CC
="$CC" # Let the user override the test.
1616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1620 test -z "$as_dir" && as_dir
=.
1621 for ac_exec_ext
in '' $ac_executable_extensions; do
1622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1623 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1633 if test -n "$CC"; then
1634 echo "$as_me:$LINENO: result: $CC" >&5
1635 echo "${ECHO_T}$CC" >&6
1637 echo "$as_me:$LINENO: result: no" >&5
1638 echo "${ECHO_T}no" >&6
1642 if test -z "$ac_cv_prog_CC"; then
1644 # Extract the first word of "gcc", so it can be a program name with args.
1645 set dummy gcc
; ac_word
=$2
1646 echo "$as_me:$LINENO: checking for $ac_word" >&5
1647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1648 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1649 echo $ECHO_N "(cached) $ECHO_C" >&6
1651 if test -n "$ac_ct_CC"; then
1652 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1658 test -z "$as_dir" && as_dir
=.
1659 for ac_exec_ext
in '' $ac_executable_extensions; do
1660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1661 ac_cv_prog_ac_ct_CC
="gcc"
1662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1670 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1671 if test -n "$ac_ct_CC"; then
1672 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1673 echo "${ECHO_T}$ac_ct_CC" >&6
1675 echo "$as_me:$LINENO: result: no" >&5
1676 echo "${ECHO_T}no" >&6
1684 if test -z "$CC"; then
1685 if test -n "$ac_tool_prefix"; then
1686 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1687 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1688 echo "$as_me:$LINENO: checking for $ac_word" >&5
1689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1690 if test "${ac_cv_prog_CC+set}" = set; then
1691 echo $ECHO_N "(cached) $ECHO_C" >&6
1693 if test -n "$CC"; then
1694 ac_cv_prog_CC
="$CC" # Let the user override the test.
1696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1700 test -z "$as_dir" && as_dir
=.
1701 for ac_exec_ext
in '' $ac_executable_extensions; do
1702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1703 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1713 if test -n "$CC"; then
1714 echo "$as_me:$LINENO: result: $CC" >&5
1715 echo "${ECHO_T}$CC" >&6
1717 echo "$as_me:$LINENO: result: no" >&5
1718 echo "${ECHO_T}no" >&6
1722 if test -z "$ac_cv_prog_CC"; then
1724 # Extract the first word of "cc", so it can be a program name with args.
1725 set dummy cc
; ac_word
=$2
1726 echo "$as_me:$LINENO: checking for $ac_word" >&5
1727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1728 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 if test -n "$ac_ct_CC"; then
1732 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1738 test -z "$as_dir" && as_dir
=.
1739 for ac_exec_ext
in '' $ac_executable_extensions; do
1740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1741 ac_cv_prog_ac_ct_CC
="cc"
1742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1751 if test -n "$ac_ct_CC"; then
1752 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1753 echo "${ECHO_T}$ac_ct_CC" >&6
1755 echo "$as_me:$LINENO: result: no" >&5
1756 echo "${ECHO_T}no" >&6
1765 if test -z "$CC"; then
1766 # Extract the first word of "cc", so it can be a program name with args.
1767 set dummy cc
; ac_word
=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_CC+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 if test -n "$CC"; then
1774 ac_cv_prog_CC
="$CC" # Let the user override the test.
1777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1781 test -z "$as_dir" && as_dir
=.
1782 for ac_exec_ext
in '' $ac_executable_extensions; do
1783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1784 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1785 ac_prog_rejected
=yes
1789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1795 if test $ac_prog_rejected = yes; then
1796 # We found a bogon in the path, so make sure we never use it.
1797 set dummy
$ac_cv_prog_CC
1799 if test $# != 0; then
1800 # We chose a different compiler from the bogus one.
1801 # However, it has the same basename, so the bogon will be chosen
1802 # first if we set CC to just the basename; use the full file name.
1804 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1810 if test -n "$CC"; then
1811 echo "$as_me:$LINENO: result: $CC" >&5
1812 echo "${ECHO_T}$CC" >&6
1814 echo "$as_me:$LINENO: result: no" >&5
1815 echo "${ECHO_T}no" >&6
1819 if test -z "$CC"; then
1820 if test -n "$ac_tool_prefix"; then
1823 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1824 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1825 echo "$as_me:$LINENO: checking for $ac_word" >&5
1826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1827 if test "${ac_cv_prog_CC+set}" = set; then
1828 echo $ECHO_N "(cached) $ECHO_C" >&6
1830 if test -n "$CC"; then
1831 ac_cv_prog_CC
="$CC" # Let the user override the test.
1833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1837 test -z "$as_dir" && as_dir
=.
1838 for ac_exec_ext
in '' $ac_executable_extensions; do
1839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1840 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1850 if test -n "$CC"; then
1851 echo "$as_me:$LINENO: result: $CC" >&5
1852 echo "${ECHO_T}$CC" >&6
1854 echo "$as_me:$LINENO: result: no" >&5
1855 echo "${ECHO_T}no" >&6
1858 test -n "$CC" && break
1861 if test -z "$CC"; then
1865 # Extract the first word of "$ac_prog", so it can be a program name with args.
1866 set dummy
$ac_prog; ac_word
=$2
1867 echo "$as_me:$LINENO: checking for $ac_word" >&5
1868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1869 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1870 echo $ECHO_N "(cached) $ECHO_C" >&6
1872 if test -n "$ac_ct_CC"; then
1873 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1879 test -z "$as_dir" && as_dir
=.
1880 for ac_exec_ext
in '' $ac_executable_extensions; do
1881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1882 ac_cv_prog_ac_ct_CC
="$ac_prog"
1883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1891 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1892 if test -n "$ac_ct_CC"; then
1893 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1894 echo "${ECHO_T}$ac_ct_CC" >&6
1896 echo "$as_me:$LINENO: result: no" >&5
1897 echo "${ECHO_T}no" >&6
1900 test -n "$ac_ct_CC" && break
1909 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1910 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1911 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1912 See \`config.log' for more details." >&5
1913 echo "$as_me: error: no acceptable C compiler found in \$PATH
1914 See \`config.log' for more details." >&2;}
1915 { (exit 1); exit 1; }; }; }
1917 # Provide some information about the compiler.
1918 echo "$as_me:$LINENO:" \
1919 "checking for C compiler version" >&5
1920 ac_compiler
=`set X $ac_compile; echo $2`
1921 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1922 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1925 (exit $ac_status); }
1926 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1927 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1930 (exit $ac_status); }
1931 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1932 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); }
1937 cat >conftest.
$ac_ext <<_ACEOF
1940 cat confdefs.h
>>conftest.
$ac_ext
1941 cat >>conftest.
$ac_ext <<_ACEOF
1942 /* end confdefs.h. */
1952 ac_clean_files_save
=$ac_clean_files
1953 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1954 # Try to create an executable without -o first, disregard a.out.
1955 # It will help us diagnose broken compilers, and finding out an intuition
1957 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1958 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1959 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1960 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1961 (eval $ac_link_default) 2>&5
1963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1964 (exit $ac_status); }; then
1965 # Find the output, starting from the most likely. This scheme is
1966 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1969 # Be careful to initialize this variable, since it used to be cached.
1970 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1972 # b.out is created by i960 compilers.
1973 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1975 test -f "$ac_file" ||
continue
1977 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1980 # This is the source file.
1983 # We found the default executable, but exeext='' is most
1987 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1988 # FIXME: I believe we export ac_cv_exeext for Libtool,
1989 # but it would be cool to find out if it's true. Does anybody
1990 # maintain Libtool? --akim.
1998 echo "$as_me: failed program was:" >&5
1999 sed 's/^/| /' conftest.
$ac_ext >&5
2001 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2002 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2003 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2004 See \`config.log' for more details." >&5
2005 echo "$as_me: error: C compiler cannot create executables
2006 See \`config.log' for more details." >&2;}
2007 { (exit 77); exit 77; }; }; }
2010 ac_exeext
=$ac_cv_exeext
2011 echo "$as_me:$LINENO: result: $ac_file" >&5
2012 echo "${ECHO_T}$ac_file" >&6
2014 # Check the compiler produces executables we can run. If not, either
2015 # the compiler is broken, or we cross compile.
2016 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2017 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2018 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2019 # If not cross compiling, check that we can run a simple program.
2020 if test "$cross_compiling" != yes; then
2021 if { ac_try
='./$ac_file'
2022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026 (exit $ac_status); }; }; then
2029 if test "$cross_compiling" = maybe
; then
2032 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2033 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2034 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2035 If you meant to cross compile, use \`--host'.
2036 See \`config.log' for more details." >&5
2037 echo "$as_me: error: cannot run C compiled programs.
2038 If you meant to cross compile, use \`--host'.
2039 See \`config.log' for more details." >&2;}
2040 { (exit 1); exit 1; }; }; }
2044 echo "$as_me:$LINENO: result: yes" >&5
2045 echo "${ECHO_T}yes" >&6
2047 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2048 ac_clean_files
=$ac_clean_files_save
2049 # Check the compiler produces executables we can run. If not, either
2050 # the compiler is broken, or we cross compile.
2051 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2052 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2053 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2054 echo "${ECHO_T}$cross_compiling" >&6
2056 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2057 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2059 (eval $ac_link) 2>&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); }; then
2063 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2064 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2065 # work properly (i.e., refer to `conftest.exe'), while it won't with
2067 for ac_file
in conftest.exe conftest conftest.
*; do
2068 test -f "$ac_file" ||
continue
2070 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2071 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2078 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2079 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2080 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2081 See \`config.log' for more details." >&5
2082 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2083 See \`config.log' for more details." >&2;}
2084 { (exit 1); exit 1; }; }; }
2087 rm -f conftest
$ac_cv_exeext
2088 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2089 echo "${ECHO_T}$ac_cv_exeext" >&6
2091 rm -f conftest.
$ac_ext
2092 EXEEXT
=$ac_cv_exeext
2094 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2095 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2096 if test "${ac_cv_objext+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 cat >conftest.
$ac_ext <<_ACEOF
2102 cat confdefs.h
>>conftest.
$ac_ext
2103 cat >>conftest.
$ac_ext <<_ACEOF
2104 /* end confdefs.h. */
2114 rm -f conftest.o conftest.obj
2115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2116 (eval $ac_compile) 2>&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; then
2120 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2122 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2123 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2128 echo "$as_me: failed program was:" >&5
2129 sed 's/^/| /' conftest.
$ac_ext >&5
2131 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2132 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2133 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2134 See \`config.log' for more details." >&5
2135 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2136 See \`config.log' for more details." >&2;}
2137 { (exit 1); exit 1; }; }; }
2140 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2142 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2143 echo "${ECHO_T}$ac_cv_objext" >&6
2144 OBJEXT
=$ac_cv_objext
2146 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2147 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2148 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 cat >conftest.
$ac_ext <<_ACEOF
2154 cat confdefs.h
>>conftest.
$ac_ext
2155 cat >>conftest.
$ac_ext <<_ACEOF
2156 /* end confdefs.h. */
2169 rm -f conftest.
$ac_objext
2170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2171 (eval $ac_compile) 2>conftest.er1
2173 grep -v '^ *+' conftest.er1
>conftest.err
2175 cat conftest.err
>&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); } &&
2178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; } &&
2184 { ac_try
='test -s conftest.$ac_objext'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; }; then
2192 echo "$as_me: failed program was:" >&5
2193 sed 's/^/| /' conftest.
$ac_ext >&5
2197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2198 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2201 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2202 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2203 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2204 ac_test_CFLAGS
=${CFLAGS+set}
2205 ac_save_CFLAGS
=$CFLAGS
2207 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2208 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2209 if test "${ac_cv_prog_cc_g+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 cat >conftest.
$ac_ext <<_ACEOF
2215 cat confdefs.h
>>conftest.
$ac_ext
2216 cat >>conftest.
$ac_ext <<_ACEOF
2217 /* end confdefs.h. */
2227 rm -f conftest.
$ac_objext
2228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2229 (eval $ac_compile) 2>conftest.er1
2231 grep -v '^ *+' conftest.er1
>conftest.err
2233 cat conftest.err
>&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); } &&
2236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; } &&
2242 { ac_try
='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2250 echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.
$ac_ext >&5
2255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2257 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2258 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2259 if test "$ac_test_CFLAGS" = set; then
2260 CFLAGS
=$ac_save_CFLAGS
2261 elif test $ac_cv_prog_cc_g = yes; then
2262 if test "$GCC" = yes; then
2268 if test "$GCC" = yes; then
2274 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2275 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2276 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 ac_cv_prog_cc_stdc
=no
2281 cat >conftest.
$ac_ext <<_ACEOF
2284 cat confdefs.h
>>conftest.
$ac_ext
2285 cat >>conftest.
$ac_ext <<_ACEOF
2286 /* end confdefs.h. */
2289 #include <sys/types.h>
2290 #include <sys/stat.h>
2291 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2292 struct buf { int x; };
2293 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2294 static char *e (p, i)
2300 static char *f (char * (*g) (char **, int), char **p, ...)
2305 s = g (p, va_arg (v,int));
2310 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2311 function prototypes and stuff, but not '\xHH' hex character constants.
2312 These don't provoke an error unfortunately, instead are silently treated
2313 as 'x'. The following induces an error, until -std1 is added to get
2314 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2315 array size at least. It's necessary to write '\x00'==0 to get something
2316 that's true only with -std1. */
2317 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2319 int test (int i, double x);
2320 struct s1 {int (*f) (int a);};
2321 struct s2 {int (*f) (double a);};
2322 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2328 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2333 # Don't try gcc -ansi; that turns off useful extensions and
2334 # breaks some systems' header files.
2335 # AIX -qlanglvl=ansi
2336 # Ultrix and OSF/1 -std1
2337 # HP-UX 10.20 and later -Ae
2338 # HP-UX older versions -Aa -D_HPUX_SOURCE
2339 # SVR4 -Xc -D__EXTENSIONS__
2340 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2342 CC
="$ac_save_CC $ac_arg"
2343 rm -f conftest.
$ac_objext
2344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2345 (eval $ac_compile) 2>conftest.er1
2347 grep -v '^ *+' conftest.er1
>conftest.err
2349 cat conftest.err
>&5
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); } &&
2352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; } &&
2358 { ac_try
='test -s conftest.$ac_objext'
2359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }; }; then
2364 ac_cv_prog_cc_stdc
=$ac_arg
2367 echo "$as_me: failed program was:" >&5
2368 sed 's/^/| /' conftest.
$ac_ext >&5
2371 rm -f conftest.err conftest.
$ac_objext
2373 rm -f conftest.
$ac_ext conftest.
$ac_objext
2378 case "x$ac_cv_prog_cc_stdc" in
2380 echo "$as_me:$LINENO: result: none needed" >&5
2381 echo "${ECHO_T}none needed" >&6 ;;
2383 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2384 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2385 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2388 # Some people use a C++ compiler to compile C. Since we use `exit',
2389 # in C++ we need to declare it. In case someone uses the same compiler
2390 # for both compiling C and C++ we need to have the C++ compiler decide
2391 # the declaration of exit, since it's the most demanding environment.
2392 cat >conftest.
$ac_ext <<_ACEOF
2397 rm -f conftest.
$ac_objext
2398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2399 (eval $ac_compile) 2>conftest.er1
2401 grep -v '^ *+' conftest.er1
>conftest.err
2403 cat conftest.err
>&5
2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); } &&
2406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; } &&
2412 { ac_try
='test -s conftest.$ac_objext'
2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }; }; then
2418 for ac_declaration
in \
2420 'extern "C" void std::exit (int) throw (); using std::exit;' \
2421 'extern "C" void std::exit (int); using std::exit;' \
2422 'extern "C" void exit (int) throw ();' \
2423 'extern "C" void exit (int);' \
2426 cat >conftest.
$ac_ext <<_ACEOF
2429 cat confdefs.h
>>conftest.
$ac_ext
2430 cat >>conftest.
$ac_ext <<_ACEOF
2431 /* end confdefs.h. */
2442 rm -f conftest.
$ac_objext
2443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2444 (eval $ac_compile) 2>conftest.er1
2446 grep -v '^ *+' conftest.er1
>conftest.err
2448 cat conftest.err
>&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); } &&
2451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; } &&
2457 { ac_try
='test -s conftest.$ac_objext'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; }; then
2465 echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.
$ac_ext >&5
2470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2471 cat >conftest.
$ac_ext <<_ACEOF
2474 cat confdefs.h
>>conftest.
$ac_ext
2475 cat >>conftest.
$ac_ext <<_ACEOF
2476 /* end confdefs.h. */
2486 rm -f conftest.
$ac_objext
2487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2488 (eval $ac_compile) 2>conftest.er1
2490 grep -v '^ *+' conftest.er1
>conftest.err
2492 cat conftest.err
>&5
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494 (exit $ac_status); } &&
2495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }; } &&
2501 { ac_try
='test -s conftest.$ac_objext'
2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2509 echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.
$ac_ext >&5
2513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2516 if test -n "$ac_declaration"; then
2517 echo '#ifdef __cplusplus' >>confdefs.h
2518 echo $ac_declaration >>confdefs.h
2519 echo '#endif' >>confdefs.h
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2529 ac_cpp
='$CPP $CPPFLAGS'
2530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2535 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2536 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2537 if test "${ac_cv_search_strerror+set}" = set; then
2538 echo $ECHO_N "(cached) $ECHO_C" >&6
2540 ac_func_search_save_LIBS
=$LIBS
2541 ac_cv_search_strerror
=no
2542 cat >conftest.
$ac_ext <<_ACEOF
2545 cat confdefs.h
>>conftest.
$ac_ext
2546 cat >>conftest.
$ac_ext <<_ACEOF
2547 /* end confdefs.h. */
2549 /* Override any gcc2 internal prototype to avoid an error. */
2553 /* We use char because int might match the return type of a gcc2
2554 builtin and then its argument prototype would still apply. */
2564 rm -f conftest.
$ac_objext conftest
$ac_exeext
2565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2566 (eval $ac_link) 2>conftest.er1
2568 grep -v '^ *+' conftest.er1
>conftest.err
2570 cat conftest.err
>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); } &&
2573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; } &&
2579 { ac_try
='test -s conftest$ac_exeext'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; }; then
2585 ac_cv_search_strerror
="none required"
2587 echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.
$ac_ext >&5
2591 rm -f conftest.err conftest.
$ac_objext \
2592 conftest
$ac_exeext conftest.
$ac_ext
2593 if test "$ac_cv_search_strerror" = no
; then
2594 for ac_lib
in cposix
; do
2595 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2596 cat >conftest.
$ac_ext <<_ACEOF
2599 cat confdefs.h
>>conftest.
$ac_ext
2600 cat >>conftest.
$ac_ext <<_ACEOF
2601 /* end confdefs.h. */
2603 /* Override any gcc2 internal prototype to avoid an error. */
2607 /* We use char because int might match the return type of a gcc2
2608 builtin and then its argument prototype would still apply. */
2618 rm -f conftest.
$ac_objext conftest
$ac_exeext
2619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2620 (eval $ac_link) 2>conftest.er1
2622 grep -v '^ *+' conftest.er1
>conftest.err
2624 cat conftest.err
>&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); } &&
2627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); }; } &&
2633 { ac_try
='test -s conftest$ac_exeext'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2639 ac_cv_search_strerror
="-l$ac_lib"
2642 echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.
$ac_ext >&5
2646 rm -f conftest.err conftest.
$ac_objext \
2647 conftest
$ac_exeext conftest.
$ac_ext
2650 LIBS
=$ac_func_search_save_LIBS
2652 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2653 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2654 if test "$ac_cv_search_strerror" != no
; then
2655 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2660 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2661 am__api_version
="1.9"
2662 # Find a good install program. We prefer a C program (faster),
2663 # so one script is as good as another. But avoid the broken or
2664 # incompatible versions:
2665 # SysV /etc/install, /usr/sbin/install
2666 # SunOS /usr/etc/install
2667 # IRIX /sbin/install
2669 # AmigaOS /C/install, which installs bootblocks on floppy discs
2670 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2671 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2672 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2673 # OS/2's system install, which has a completely different semantic
2674 # ./install, which can be erroneously created by make from ./install.sh.
2675 # Reject install programs that cannot install multiple files.
2676 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2677 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2678 if test -z "$INSTALL"; then
2679 if test "${ac_cv_path_install+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2686 test -z "$as_dir" && as_dir
=.
2687 # Account for people who put trailing slashes in PATH elements.
2689 .
/ | .
// |
/cC
/* | \
2690 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2691 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2694 # OSF1 and SCO ODT 3.0 have their own names for install.
2695 # Don't use installbsd from OSF since it installs stuff as root
2697 for ac_prog
in ginstall scoinst
install; do
2698 for ac_exec_ext
in '' $ac_executable_extensions; do
2699 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2700 if test $ac_prog = install &&
2701 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2702 # AIX install. It has an incompatible calling convention.
2704 elif test $ac_prog = install &&
2705 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2706 # program-specific install script used by HP pwplus--don't use.
2709 rm -rf conftest.one conftest.two conftest.dir
2710 echo one
> conftest.one
2711 echo two
> conftest.two
2713 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2714 test -s conftest.one
&& test -s conftest.two
&&
2715 test -s conftest.dir
/conftest.one
&&
2716 test -s conftest.dir
/conftest.two
2718 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2729 rm -rf conftest.one conftest.two conftest.dir
2732 if test "${ac_cv_path_install+set}" = set; then
2733 INSTALL
=$ac_cv_path_install
2735 # As a last resort, use the slow shell script. Don't cache a
2736 # value for INSTALL within a source directory, because that will
2737 # break other packages using the cache if that directory is
2738 # removed, or if the value is a relative name.
2739 INSTALL
=$ac_install_sh
2742 echo "$as_me:$LINENO: result: $INSTALL" >&5
2743 echo "${ECHO_T}$INSTALL" >&6
2745 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2746 # It thinks the first close brace ends the variable substitution.
2747 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2749 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2751 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2753 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2754 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2757 echo timestamp
> conftest.
file
2758 # Do `set' in a subshell so we don't clobber the current shell's
2759 # arguments. Must try -L first in case configure is actually a
2760 # symlink; some systems play weird games with the mod time of symlinks
2761 # (eg FreeBSD returns the mod time of the symlink's containing
2764 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2765 if test "$*" = "X"; then
2767 set X
`ls -t $srcdir/configure conftest.file`
2770 if test "$*" != "X $srcdir/configure conftest.file" \
2771 && test "$*" != "X conftest.file $srcdir/configure"; then
2773 # If neither matched, then we have a broken ls. This can happen
2774 # if, for instance, CONFIG_SHELL is bash and it inherits a
2775 # broken ls alias from the environment. This has actually
2776 # happened. Such a system could not be considered "sane".
2777 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2778 alias in your environment" >&5
2779 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2780 alias in your environment" >&2;}
2781 { (exit 1); exit 1; }; }
2784 test "$2" = conftest.
file
2790 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2791 Check your system clock" >&5
2792 echo "$as_me: error: newly created file is older than distributed files!
2793 Check your system clock" >&2;}
2794 { (exit 1); exit 1; }; }
2796 echo "$as_me:$LINENO: result: yes" >&5
2797 echo "${ECHO_T}yes" >&6
2798 test "$program_prefix" != NONE
&&
2799 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2800 # Use a double $ so make ignores it.
2801 test "$program_suffix" != NONE
&&
2802 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2803 # Double any \ or $. echo might interpret backslashes.
2804 # By default was `s,x,x', remove it if useless.
2805 cat <<\_ACEOF
>conftest.
sed
2806 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2808 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2811 # expand $ac_aux_dir to an absolute path
2812 am_aux_dir
=`cd $ac_aux_dir && pwd`
2814 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2815 # Use eval to expand $SHELL
2816 if eval "$MISSING --run true"; then
2817 am_missing_run
="$MISSING --run "
2820 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2821 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2824 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2825 # We used to keeping the `.' as first argument, in order to
2826 # allow $(mkdir_p) to be used without argument. As in
2827 # $(mkdir_p) $(somedir)
2828 # where $(somedir) is conditionally defined. However this is wrong
2830 # 1. if the package is installed by a user who cannot write `.'
2831 # make install will fail,
2832 # 2. the above comment should most certainly read
2833 # $(mkdir_p) $(DESTDIR)$(somedir)
2834 # so it does not work when $(somedir) is undefined and
2835 # $(DESTDIR) is not.
2836 # To support the latter case, we have to write
2837 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2838 # so the `.' trick is pointless.
2839 mkdir_p
='mkdir -p --'
2841 # On NextStep and OpenStep, the `mkdir' command does not
2842 # recognize any option. It will interpret all options as
2843 # directories to create, and then abort because `.' already
2845 for d
in .
/-p .
/--version;
2847 test -d $d && rmdir $d
2849 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2850 if test -f "$ac_aux_dir/mkinstalldirs"; then
2851 mkdir_p
='$(mkinstalldirs)'
2853 mkdir_p
='$(install_sh) -d'
2857 for ac_prog
in gawk mawk nawk
awk
2859 # Extract the first word of "$ac_prog", so it can be a program name with args.
2860 set dummy
$ac_prog; ac_word
=$2
2861 echo "$as_me:$LINENO: checking for $ac_word" >&5
2862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2863 if test "${ac_cv_prog_AWK+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2866 if test -n "$AWK"; then
2867 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2873 test -z "$as_dir" && as_dir
=.
2874 for ac_exec_ext
in '' $ac_executable_extensions; do
2875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2876 ac_cv_prog_AWK
="$ac_prog"
2877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 if test -n "$AWK"; then
2887 echo "$as_me:$LINENO: result: $AWK" >&5
2888 echo "${ECHO_T}$AWK" >&6
2890 echo "$as_me:$LINENO: result: no" >&5
2891 echo "${ECHO_T}no" >&6
2894 test -n "$AWK" && break
2897 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2898 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2899 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2900 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2901 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 cat >conftest.
make <<\_ACEOF
2905 @
echo 'ac_maketemp="$(MAKE)"'
2907 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2908 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2909 if test -n "$ac_maketemp"; then
2910 eval ac_cv_prog_make_
${ac_make}_set
=yes
2912 eval ac_cv_prog_make_
${ac_make}_set
=no
2916 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2917 echo "$as_me:$LINENO: result: yes" >&5
2918 echo "${ECHO_T}yes" >&6
2921 echo "$as_me:$LINENO: result: no" >&5
2922 echo "${ECHO_T}no" >&6
2923 SET_MAKE
="MAKE=${MAKE-make}"
2926 rm -rf .tst
2>/dev
/null
2927 mkdir .tst
2>/dev
/null
2928 if test -d .tst
; then
2933 rmdir .tst
2>/dev
/null
2935 DEPDIR
="${am__leading_dot}deps"
2937 ac_config_commands
="$ac_config_commands depfiles"
2940 am_make
=${MAKE-make}
2941 cat > confinc
<< 'END'
2946 # If we don't find an include directive, just comment out the code.
2947 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2948 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2952 # First try GNU make style include.
2953 echo "include confinc" > confmf
2954 # We grep out `Entering directory' and `Leaving directory'
2955 # messages which can occur if `w' ends up in MAKEFLAGS.
2956 # In particular we don't look at `^make:' because GNU make might
2957 # be invoked under some other name (usually "gmake"), in which
2958 # case it prints its new name instead of `make'.
2959 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2964 # Now try BSD make style include.
2965 if test "$am__include" = "#"; then
2966 echo '.include "confinc"' > confmf
2967 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2968 am__include
=.include
2975 echo "$as_me:$LINENO: result: $_am_result" >&5
2976 echo "${ECHO_T}$_am_result" >&6
2977 rm -f confinc confmf
2979 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2980 if test "${enable_dependency_tracking+set}" = set; then
2981 enableval
="$enable_dependency_tracking"
2984 if test "x$enable_dependency_tracking" != xno
; then
2985 am_depcomp
="$ac_aux_dir/depcomp"
2990 if test "x$enable_dependency_tracking" != xno; then
3000 # test to see if srcdir already configured
3001 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3002 test -f $srcdir/config.status
; then
3003 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3004 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3005 { (exit 1); exit 1; }; }
3008 # test whether we have cygpath
3009 if test -z "$CYGPATH_W"; then
3010 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3011 CYGPATH_W
='cygpath -w'
3018 # Define the identity of the package.
3020 VERSION
=${BFD_VERSION}
3023 cat >>confdefs.h
<<_ACEOF
3024 #define PACKAGE "$PACKAGE"
3028 cat >>confdefs.h
<<_ACEOF
3029 #define VERSION "$VERSION"
3032 # Some tools Automake needs.
3034 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3037 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3040 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3043 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3046 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3048 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3050 # Installed binaries are usually stripped using `strip' when the user
3051 # run `make install-strip'. However `strip' might not be the right
3052 # tool to use in cross-compilation environments, therefore Automake
3053 # will honor the `STRIP' environment variable to overrule this program.
3054 if test "$cross_compiling" != no
; then
3055 if test -n "$ac_tool_prefix"; then
3056 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3057 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3058 echo "$as_me:$LINENO: checking for $ac_word" >&5
3059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3060 if test "${ac_cv_prog_STRIP+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3063 if test -n "$STRIP"; then
3064 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3070 test -z "$as_dir" && as_dir
=.
3071 for ac_exec_ext
in '' $ac_executable_extensions; do
3072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3073 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 STRIP
=$ac_cv_prog_STRIP
3083 if test -n "$STRIP"; then
3084 echo "$as_me:$LINENO: result: $STRIP" >&5
3085 echo "${ECHO_T}$STRIP" >&6
3087 echo "$as_me:$LINENO: result: no" >&5
3088 echo "${ECHO_T}no" >&6
3092 if test -z "$ac_cv_prog_STRIP"; then
3094 # Extract the first word of "strip", so it can be a program name with args.
3095 set dummy strip
; ac_word
=$2
3096 echo "$as_me:$LINENO: checking for $ac_word" >&5
3097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3098 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3101 if test -n "$ac_ct_STRIP"; then
3102 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir
=.
3109 for ac_exec_ext
in '' $ac_executable_extensions; do
3110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3111 ac_cv_prog_ac_ct_STRIP
="strip"
3112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3118 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3121 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3122 if test -n "$ac_ct_STRIP"; then
3123 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3124 echo "${ECHO_T}$ac_ct_STRIP" >&6
3126 echo "$as_me:$LINENO: result: no" >&5
3127 echo "${ECHO_T}no" >&6
3132 STRIP
="$ac_cv_prog_STRIP"
3136 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3138 # We need awk for the "check" target. The system "awk" is bad on
3140 # Always define AMTAR for backward compatibility.
3142 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3144 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3149 depcc
="$CC" am_compiler_list
=
3151 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3152 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3153 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3154 echo $ECHO_N "(cached) $ECHO_C" >&6
3156 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3157 # We make a subdir and do the tests there. Otherwise we can end up
3158 # making bogus files that we don't know about and never remove. For
3159 # instance it was reported that on HP-UX the gcc test will end up
3160 # making a dummy file named `D' -- because `-MD' means `put the output
3163 # Copy depcomp to subdir because otherwise we won't find it if we're
3164 # using a relative directory.
3165 cp "$am_depcomp" conftest.dir
3167 # We will build objects and dependencies in a subdirectory because
3168 # it helps to detect inapplicable dependency modes. For instance
3169 # both Tru64's cc and ICC support -MD to output dependencies as a
3170 # side effect of compilation, but ICC will put the dependencies in
3171 # the current directory while Tru64 will put them in the object
3175 am_cv_CC_dependencies_compiler_type
=none
3176 if test "$am_compiler_list" = ""; then
3177 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3179 for depmode
in $am_compiler_list; do
3180 # Setup a source with many dependencies, because some compilers
3181 # like to wrap large dependency lists on column 80 (with \), and
3182 # we should not choose a depcomp mode which is confused by this.
3184 # We need to recreate these files for each test, as the compiler may
3185 # overwrite some of them when testing with obscure command lines.
3186 # This happens at least with the AIX C compiler.
3188 for i
in 1 2 3 4 5 6; do
3189 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3190 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3191 # Solaris 8's {/usr,}/bin/sh.
3192 touch sub
/conftst
$i.h
3194 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3198 # after this tag, mechanisms are not by side-effect, so they'll
3199 # only be used when explicitly requested
3200 if test "x$enable_dependency_tracking" = xyes
; then
3208 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3209 # mode. It turns out that the SunPro C++ compiler does not properly
3210 # handle `-M -o', and we need to detect this.
3211 if depmode
=$depmode \
3212 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3213 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3214 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3215 >/dev
/null
2>conftest.err
&&
3216 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3217 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3218 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3219 # icc doesn't choke on unknown options, it will just issue warnings
3220 # or remarks (even with -Werror). So we grep stderr for any message
3221 # that says an option was ignored or not supported.
3222 # When given -MP, icc 7.0 and 7.1 complain thusly:
3223 # icc: Command line warning: ignoring option '-M'; no argument required
3224 # The diagnosis changed in icc 8.0:
3225 # icc: Command line remark: option '-MP' not supported
3226 if (grep 'ignoring option' conftest.err ||
3227 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3228 am_cv_CC_dependencies_compiler_type
=$depmode
3237 am_cv_CC_dependencies_compiler_type
=none
3241 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3242 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3243 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3248 test "x$enable_dependency_tracking" != xno \
3249 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3251 am__fastdepCC_FALSE
='#'
3253 am__fastdepCC_TRUE
='#'
3254 am__fastdepCC_FALSE
=
3261 ac_cpp
='$CPP $CPPFLAGS'
3262 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3263 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3264 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3267 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3268 echo "$as_me:$LINENO: checking for $ac_word" >&5
3269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3270 if test "${ac_cv_prog_CC+set}" = set; then
3271 echo $ECHO_N "(cached) $ECHO_C" >&6
3273 if test -n "$CC"; then
3274 ac_cv_prog_CC
="$CC" # Let the user override the test.
3276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3280 test -z "$as_dir" && as_dir
=.
3281 for ac_exec_ext
in '' $ac_executable_extensions; do
3282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3283 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3293 if test -n "$CC"; then
3294 echo "$as_me:$LINENO: result: $CC" >&5
3295 echo "${ECHO_T}$CC" >&6
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3302 if test -z "$ac_cv_prog_CC"; then
3304 # Extract the first word of "gcc", so it can be a program name with args.
3305 set dummy gcc
; ac_word
=$2
3306 echo "$as_me:$LINENO: checking for $ac_word" >&5
3307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3308 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3309 echo $ECHO_N "(cached) $ECHO_C" >&6
3311 if test -n "$ac_ct_CC"; then
3312 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir
=.
3319 for ac_exec_ext
in '' $ac_executable_extensions; do
3320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3321 ac_cv_prog_ac_ct_CC
="gcc"
3322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3330 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3331 if test -n "$ac_ct_CC"; then
3332 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3333 echo "${ECHO_T}$ac_ct_CC" >&6
3335 echo "$as_me:$LINENO: result: no" >&5
3336 echo "${ECHO_T}no" >&6
3344 if test -z "$CC"; then
3345 if test -n "$ac_tool_prefix"; then
3346 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3347 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3348 echo "$as_me:$LINENO: checking for $ac_word" >&5
3349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3350 if test "${ac_cv_prog_CC+set}" = set; then
3351 echo $ECHO_N "(cached) $ECHO_C" >&6
3353 if test -n "$CC"; then
3354 ac_cv_prog_CC
="$CC" # Let the user override the test.
3356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3360 test -z "$as_dir" && as_dir
=.
3361 for ac_exec_ext
in '' $ac_executable_extensions; do
3362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3363 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 if test -n "$CC"; then
3374 echo "$as_me:$LINENO: result: $CC" >&5
3375 echo "${ECHO_T}$CC" >&6
3377 echo "$as_me:$LINENO: result: no" >&5
3378 echo "${ECHO_T}no" >&6
3382 if test -z "$ac_cv_prog_CC"; then
3384 # Extract the first word of "cc", so it can be a program name with args.
3385 set dummy cc
; ac_word
=$2
3386 echo "$as_me:$LINENO: checking for $ac_word" >&5
3387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3388 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3389 echo $ECHO_N "(cached) $ECHO_C" >&6
3391 if test -n "$ac_ct_CC"; then
3392 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir
=.
3399 for ac_exec_ext
in '' $ac_executable_extensions; do
3400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3401 ac_cv_prog_ac_ct_CC
="cc"
3402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3410 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3411 if test -n "$ac_ct_CC"; then
3412 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3413 echo "${ECHO_T}$ac_ct_CC" >&6
3415 echo "$as_me:$LINENO: result: no" >&5
3416 echo "${ECHO_T}no" >&6
3425 if test -z "$CC"; then
3426 # Extract the first word of "cc", so it can be a program name with args.
3427 set dummy cc
; ac_word
=$2
3428 echo "$as_me:$LINENO: checking for $ac_word" >&5
3429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3430 if test "${ac_cv_prog_CC+set}" = set; then
3431 echo $ECHO_N "(cached) $ECHO_C" >&6
3433 if test -n "$CC"; then
3434 ac_cv_prog_CC
="$CC" # Let the user override the test.
3437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3441 test -z "$as_dir" && as_dir
=.
3442 for ac_exec_ext
in '' $ac_executable_extensions; do
3443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3444 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3445 ac_prog_rejected
=yes
3449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3455 if test $ac_prog_rejected = yes; then
3456 # We found a bogon in the path, so make sure we never use it.
3457 set dummy
$ac_cv_prog_CC
3459 if test $# != 0; then
3460 # We chose a different compiler from the bogus one.
3461 # However, it has the same basename, so the bogon will be chosen
3462 # first if we set CC to just the basename; use the full file name.
3464 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3470 if test -n "$CC"; then
3471 echo "$as_me:$LINENO: result: $CC" >&5
3472 echo "${ECHO_T}$CC" >&6
3474 echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6
3479 if test -z "$CC"; then
3480 if test -n "$ac_tool_prefix"; then
3483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3484 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3485 echo "$as_me:$LINENO: checking for $ac_word" >&5
3486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3487 if test "${ac_cv_prog_CC+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 if test -n "$CC"; then
3491 ac_cv_prog_CC
="$CC" # Let the user override the test.
3493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3497 test -z "$as_dir" && as_dir
=.
3498 for ac_exec_ext
in '' $ac_executable_extensions; do
3499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3500 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3510 if test -n "$CC"; then
3511 echo "$as_me:$LINENO: result: $CC" >&5
3512 echo "${ECHO_T}$CC" >&6
3514 echo "$as_me:$LINENO: result: no" >&5
3515 echo "${ECHO_T}no" >&6
3518 test -n "$CC" && break
3521 if test -z "$CC"; then
3525 # Extract the first word of "$ac_prog", so it can be a program name with args.
3526 set dummy
$ac_prog; ac_word
=$2
3527 echo "$as_me:$LINENO: checking for $ac_word" >&5
3528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3532 if test -n "$ac_ct_CC"; then
3533 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3539 test -z "$as_dir" && as_dir
=.
3540 for ac_exec_ext
in '' $ac_executable_extensions; do
3541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3542 ac_cv_prog_ac_ct_CC
="$ac_prog"
3543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3552 if test -n "$ac_ct_CC"; then
3553 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3554 echo "${ECHO_T}$ac_ct_CC" >&6
3556 echo "$as_me:$LINENO: result: no" >&5
3557 echo "${ECHO_T}no" >&6
3560 test -n "$ac_ct_CC" && break
3569 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3570 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3571 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3572 See \`config.log' for more details." >&5
3573 echo "$as_me: error: no acceptable C compiler found in \$PATH
3574 See \`config.log' for more details." >&2;}
3575 { (exit 1); exit 1; }; }; }
3577 # Provide some information about the compiler.
3578 echo "$as_me:$LINENO:" \
3579 "checking for C compiler version" >&5
3580 ac_compiler
=`set X $ac_compile; echo $2`
3581 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3582 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); }
3586 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3587 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }
3591 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3592 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }
3597 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3598 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3599 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 cat >conftest.
$ac_ext <<_ACEOF
3605 cat confdefs.h
>>conftest.
$ac_ext
3606 cat >>conftest.
$ac_ext <<_ACEOF
3607 /* end confdefs.h. */
3620 rm -f conftest.
$ac_objext
3621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3622 (eval $ac_compile) 2>conftest.er1
3624 grep -v '^ *+' conftest.er1
>conftest.err
3626 cat conftest.err
>&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); } &&
3629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); }; } &&
3635 { ac_try
='test -s conftest.$ac_objext'
3636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); }; }; then
3643 echo "$as_me: failed program was:" >&5
3644 sed 's/^/| /' conftest.
$ac_ext >&5
3648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3649 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3652 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3653 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3654 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3655 ac_test_CFLAGS
=${CFLAGS+set}
3656 ac_save_CFLAGS
=$CFLAGS
3658 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3659 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3660 if test "${ac_cv_prog_cc_g+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 cat >conftest.
$ac_ext <<_ACEOF
3666 cat confdefs.h
>>conftest.
$ac_ext
3667 cat >>conftest.
$ac_ext <<_ACEOF
3668 /* end confdefs.h. */
3678 rm -f conftest.
$ac_objext
3679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3680 (eval $ac_compile) 2>conftest.er1
3682 grep -v '^ *+' conftest.er1
>conftest.err
3684 cat conftest.err
>&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } &&
3687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); }; } &&
3693 { ac_try
='test -s conftest.$ac_objext'
3694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; }; then
3701 echo "$as_me: failed program was:" >&5
3702 sed 's/^/| /' conftest.
$ac_ext >&5
3706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3708 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3709 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3710 if test "$ac_test_CFLAGS" = set; then
3711 CFLAGS
=$ac_save_CFLAGS
3712 elif test $ac_cv_prog_cc_g = yes; then
3713 if test "$GCC" = yes; then
3719 if test "$GCC" = yes; then
3725 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3726 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3727 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 ac_cv_prog_cc_stdc
=no
3732 cat >conftest.
$ac_ext <<_ACEOF
3735 cat confdefs.h
>>conftest.
$ac_ext
3736 cat >>conftest.
$ac_ext <<_ACEOF
3737 /* end confdefs.h. */
3740 #include <sys/types.h>
3741 #include <sys/stat.h>
3742 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3743 struct buf { int x; };
3744 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3745 static char *e (p, i)
3751 static char *f (char * (*g) (char **, int), char **p, ...)
3756 s = g (p, va_arg (v,int));
3761 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3762 function prototypes and stuff, but not '\xHH' hex character constants.
3763 These don't provoke an error unfortunately, instead are silently treated
3764 as 'x'. The following induces an error, until -std1 is added to get
3765 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3766 array size at least. It's necessary to write '\x00'==0 to get something
3767 that's true only with -std1. */
3768 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3770 int test (int i, double x);
3771 struct s1 {int (*f) (int a);};
3772 struct s2 {int (*f) (double a);};
3773 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3779 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3784 # Don't try gcc -ansi; that turns off useful extensions and
3785 # breaks some systems' header files.
3786 # AIX -qlanglvl=ansi
3787 # Ultrix and OSF/1 -std1
3788 # HP-UX 10.20 and later -Ae
3789 # HP-UX older versions -Aa -D_HPUX_SOURCE
3790 # SVR4 -Xc -D__EXTENSIONS__
3791 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3793 CC
="$ac_save_CC $ac_arg"
3794 rm -f conftest.
$ac_objext
3795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3796 (eval $ac_compile) 2>conftest.er1
3798 grep -v '^ *+' conftest.er1
>conftest.err
3800 cat conftest.err
>&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } &&
3803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; } &&
3809 { ac_try
='test -s conftest.$ac_objext'
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); }; }; then
3815 ac_cv_prog_cc_stdc
=$ac_arg
3818 echo "$as_me: failed program was:" >&5
3819 sed 's/^/| /' conftest.
$ac_ext >&5
3822 rm -f conftest.err conftest.
$ac_objext
3824 rm -f conftest.
$ac_ext conftest.
$ac_objext
3829 case "x$ac_cv_prog_cc_stdc" in
3831 echo "$as_me:$LINENO: result: none needed" >&5
3832 echo "${ECHO_T}none needed" >&6 ;;
3834 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3835 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3836 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3839 # Some people use a C++ compiler to compile C. Since we use `exit',
3840 # in C++ we need to declare it. In case someone uses the same compiler
3841 # for both compiling C and C++ we need to have the C++ compiler decide
3842 # the declaration of exit, since it's the most demanding environment.
3843 cat >conftest.
$ac_ext <<_ACEOF
3848 rm -f conftest.
$ac_objext
3849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3850 (eval $ac_compile) 2>conftest.er1
3852 grep -v '^ *+' conftest.er1
>conftest.err
3854 cat conftest.err
>&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } &&
3857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862 (exit $ac_status); }; } &&
3863 { ac_try
='test -s conftest.$ac_objext'
3864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); }; }; then
3869 for ac_declaration
in \
3871 'extern "C" void std::exit (int) throw (); using std::exit;' \
3872 'extern "C" void std::exit (int); using std::exit;' \
3873 'extern "C" void exit (int) throw ();' \
3874 'extern "C" void exit (int);' \
3877 cat >conftest.
$ac_ext <<_ACEOF
3880 cat confdefs.h
>>conftest.
$ac_ext
3881 cat >>conftest.
$ac_ext <<_ACEOF
3882 /* end confdefs.h. */
3893 rm -f conftest.
$ac_objext
3894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3895 (eval $ac_compile) 2>conftest.er1
3897 grep -v '^ *+' conftest.er1
>conftest.err
3899 cat conftest.err
>&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); } &&
3902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); }; } &&
3908 { ac_try
='test -s conftest.$ac_objext'
3909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); }; }; then
3916 echo "$as_me: failed program was:" >&5
3917 sed 's/^/| /' conftest.
$ac_ext >&5
3921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3922 cat >conftest.
$ac_ext <<_ACEOF
3925 cat confdefs.h
>>conftest.
$ac_ext
3926 cat >>conftest.
$ac_ext <<_ACEOF
3927 /* end confdefs.h. */
3937 rm -f conftest.
$ac_objext
3938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3939 (eval $ac_compile) 2>conftest.er1
3941 grep -v '^ *+' conftest.er1
>conftest.err
3943 cat conftest.err
>&5
3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); } &&
3946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); }; } &&
3952 { ac_try
='test -s conftest.$ac_objext'
3953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); }; }; then
3960 echo "$as_me: failed program was:" >&5
3961 sed 's/^/| /' conftest.
$ac_ext >&5
3964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3967 if test -n "$ac_declaration"; then
3968 echo '#ifdef __cplusplus' >>confdefs.h
3969 echo $ac_declaration >>confdefs.h
3970 echo '#endif' >>confdefs.h
3974 echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.
$ac_ext >&5
3978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3980 ac_cpp
='$CPP $CPPFLAGS'
3981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3986 cat >>confdefs.h
<<\_ACEOF
3987 #define _GNU_SOURCE 1
3993 macro_version
='2.1a'
3994 macro_revision
='1.2435'
4007 ltmain
="$ac_aux_dir/ltmain.sh"
4017 # Check whether --enable-shared or --disable-shared was given.
4018 if test "${enable_shared+set}" = set; then
4019 enableval
="$enable_shared"
4020 p
=${PACKAGE-default}
4022 yes) enable_shared
=yes ;;
4023 no
) enable_shared
=no
;;
4026 # Look at the argument we got. We use all the common list separators.
4027 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4028 for pkg
in $enableval; do
4030 if test "X$pkg" = "X$p"; then
4048 # Check whether --enable-static or --disable-static was given.
4049 if test "${enable_static+set}" = set; then
4050 enableval
="$enable_static"
4051 p
=${PACKAGE-default}
4053 yes) enable_static
=yes ;;
4054 no
) enable_static
=no
;;
4057 # Look at the argument we got. We use all the common list separators.
4058 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4059 for pkg
in $enableval; do
4061 if test "X$pkg" = "X$p"; then
4080 # Check whether --with-pic or --without-pic was given.
4081 if test "${with_pic+set}" = set; then
4088 test -z "$pic_mode" && pic_mode
=default
4096 # Check whether --enable-fast-install or --disable-fast-install was given.
4097 if test "${enable_fast_install+set}" = set; then
4098 enableval
="$enable_fast_install"
4099 p
=${PACKAGE-default}
4101 yes) enable_fast_install
=yes ;;
4102 no
) enable_fast_install
=no
;;
4104 enable_fast_install
=no
4105 # Look at the argument we got. We use all the common list separators.
4106 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4107 for pkg
in $enableval; do
4109 if test "X$pkg" = "X$p"; then
4110 enable_fast_install
=yes
4117 enable_fast_install
=yes
4127 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4128 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4129 if test "${lt_cv_path_SED+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 # Loop through the user's path and test for sed and gsed.
4133 # Then use that list of sed's as ones to test for truncation.
4134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4138 test -z "$as_dir" && as_dir
=.
4139 for lt_ac_prog
in sed gsed
; do
4140 for ac_exec_ext
in '' $ac_executable_extensions; do
4141 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4142 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4150 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4151 # along with /bin/sed that truncates output.
4152 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4153 test ! -f $lt_ac_sed && continue
4154 cat /dev
/null
> conftest.
in
4156 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4157 # Check for GNU sed and select it if it is found.
4158 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4159 lt_cv_path_SED
=$lt_ac_sed
4163 cat conftest.
in conftest.
in >conftest.tmp
4164 mv conftest.tmp conftest.
in
4165 cp conftest.
in conftest.
nl
4167 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4168 cmp -s conftest.out conftest.
nl ||
break
4169 # 10000 chars as input seems more than enough
4170 test $lt_ac_count -gt 10 && break
4171 lt_ac_count
=`expr $lt_ac_count + 1`
4172 if test $lt_ac_count -gt $lt_ac_max; then
4173 lt_ac_max
=$lt_ac_count
4174 lt_cv_path_SED
=$lt_ac_sed
4183 echo "$as_me:$LINENO: result: $SED" >&5
4184 echo "${ECHO_T}$SED" >&6
4186 test -z "$SED" && SED
=sed
4187 Xsed
="$SED -e 1s/^X//"
4199 echo "$as_me:$LINENO: checking for egrep" >&5
4200 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4201 if test "${ac_cv_prog_egrep+set}" = set; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4205 then ac_cv_prog_egrep
='grep -E'
4206 else ac_cv_prog_egrep
='egrep'
4209 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4210 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4211 EGREP
=$ac_cv_prog_egrep
4214 echo "$as_me:$LINENO: checking for fgrep" >&5
4215 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4216 if test "${ac_cv_prog_fgrep+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4220 then ac_cv_prog_fgrep
='grep -F'
4221 else ac_cv_prog_fgrep
='fgrep'
4224 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4225 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4226 FGREP
=$ac_cv_prog_fgrep
4229 test -z "$GREP" && GREP
=grep
4249 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4250 if test "${with_gnu_ld+set}" = set; then
4251 withval
="$with_gnu_ld"
4252 test "$withval" = no || with_gnu_ld
=yes
4257 if test "$GCC" = yes; then
4258 # Check if gcc -print-prog-name=ld gives a path.
4259 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4260 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4263 # gcc leaves a trailing carriage return which upsets mingw
4264 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4266 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4269 # Accept absolute paths.
4271 re_direlt
='/[^/][^/]*/\.\./'
4272 # Canonicalize the pathname of ld
4273 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4274 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4275 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4277 test -z "$LD" && LD
="$ac_prog"
4280 # If it fails, then pretend we aren't using GCC.
4284 # If it is relative, then search for the first ld in PATH.
4288 elif test "$with_gnu_ld" = yes; then
4289 echo "$as_me:$LINENO: checking for GNU ld" >&5
4290 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4292 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4293 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4295 if test "${lt_cv_path_LD+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 if test -z "$LD"; then
4299 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4300 for ac_dir
in $PATH; do
4302 test -z "$ac_dir" && ac_dir
=.
4303 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4304 lt_cv_path_LD
="$ac_dir/$ac_prog"
4305 # Check to see if the program is GNU ld. I'd rather use --version,
4306 # but apparently some variants of GNU ld only accept -v.
4307 # Break only if it was the GNU/non-GNU ld that we prefer.
4308 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4309 *GNU
* |
*'with BFD'*)
4310 test "$with_gnu_ld" != no
&& break
4313 test "$with_gnu_ld" != yes && break
4320 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4325 if test -n "$LD"; then
4326 echo "$as_me:$LINENO: result: $LD" >&5
4327 echo "${ECHO_T}$LD" >&6
4329 echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6
4332 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4333 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4334 { (exit 1); exit 1; }; }
4335 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4336 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4337 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4341 case `$LD -v 2>&1 </dev/null` in
4342 *GNU
* |
*'with BFD'*)
4343 lt_cv_prog_gnu_ld
=yes
4346 lt_cv_prog_gnu_ld
=no
4350 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4351 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4352 with_gnu_ld
=$lt_cv_prog_gnu_ld
4363 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4364 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4365 if test "${lt_cv_path_NM+set}" = set; then
4366 echo $ECHO_N "(cached) $ECHO_C" >&6
4368 if test -n "$NM"; then
4369 # Let the user override the test.
4372 lt_nm_to_check
="${ac_tool_prefix}nm"
4373 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4374 lt_nm_to_check
="$lt_nm_to_check nm"
4376 for lt_tmp_nm
in $lt_nm_to_check; do
4377 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4378 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4380 test -z "$ac_dir" && ac_dir
=.
4381 tmp_nm
="$ac_dir/$lt_tmp_nm"
4382 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4383 # Check to see if the nm accepts a BSD-compat flag.
4384 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4385 # nm: unknown option "B" ignored
4386 # Tru64's nm complains that /dev/null is an invalid object file
4387 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4388 */dev
/null
* |
*'Invalid file or object type'*)
4389 lt_cv_path_NM
="$tmp_nm -B"
4393 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4395 lt_cv_path_NM
="$tmp_nm -p"
4399 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4400 continue # so that we can try to find one that supports BSD flags
4409 : ${lt_cv_path_NM=no}
4412 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4413 echo "${ECHO_T}$lt_cv_path_NM" >&6
4414 if test "$lt_cv_path_NM" != "no"; then
4417 # Didn't find any BSD compatible name lister, look for dumpbin.
4418 if test -n "$ac_tool_prefix"; then
4419 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4421 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4422 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4423 echo "$as_me:$LINENO: checking for $ac_word" >&5
4424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4425 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4426 echo $ECHO_N "(cached) $ECHO_C" >&6
4428 if test -n "$DUMPBIN"; then
4429 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4435 test -z "$as_dir" && as_dir
=.
4436 for ac_exec_ext
in '' $ac_executable_extensions; do
4437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4438 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 DUMPBIN
=$ac_cv_prog_DUMPBIN
4448 if test -n "$DUMPBIN"; then
4449 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4450 echo "${ECHO_T}$DUMPBIN" >&6
4452 echo "$as_me:$LINENO: result: no" >&5
4453 echo "${ECHO_T}no" >&6
4456 test -n "$DUMPBIN" && break
4459 if test -z "$DUMPBIN"; then
4460 ac_ct_DUMPBIN
=$DUMPBIN
4461 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4463 # Extract the first word of "$ac_prog", so it can be a program name with args.
4464 set dummy
$ac_prog; ac_word
=$2
4465 echo "$as_me:$LINENO: checking for $ac_word" >&5
4466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4467 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 if test -n "$ac_ct_DUMPBIN"; then
4471 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4477 test -z "$as_dir" && as_dir
=.
4478 for ac_exec_ext
in '' $ac_executable_extensions; do
4479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4480 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4490 if test -n "$ac_ct_DUMPBIN"; then
4491 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4492 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4494 echo "$as_me:$LINENO: result: no" >&5
4495 echo "${ECHO_T}no" >&6
4498 test -n "$ac_ct_DUMPBIN" && break
4500 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4502 DUMPBIN
=$ac_ct_DUMPBIN
4506 if test "$DUMPBIN" != ":"; then
4510 test -z "$NM" && NM
=nm
4517 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4518 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4519 if test "${lt_cv_nm_interface+set}" = set; then
4520 echo $ECHO_N "(cached) $ECHO_C" >&6
4522 lt_cv_nm_interface
="BSD nm"
4523 echo "int some_variable = 0;" > conftest.
$ac_ext
4524 (eval echo "\"\$as_me:4524: $ac_compile\"" >&5)
4525 (eval "$ac_compile" 2>conftest.err
)
4526 cat conftest.err
>&5
4527 (eval echo "\"\$as_me:4527: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4528 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4529 cat conftest.err
>&5
4530 (eval echo "\"\$as_me:4530: output\"" >&5)
4531 cat conftest.out
>&5
4532 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4533 lt_cv_nm_interface
="MS dumpbin"
4537 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4538 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4540 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4541 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4543 if test "$LN_S" = "ln -s"; then
4544 echo "$as_me:$LINENO: result: yes" >&5
4545 echo "${ECHO_T}yes" >&6
4547 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4548 echo "${ECHO_T}no, using $LN_S" >&6
4551 # find the maximum length of command line arguments
4552 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4553 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4554 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4562 # On DJGPP, this test can blow up pretty badly due to problems in libc
4563 # (any single argument exceeding 2000 bytes causes a buffer overrun
4564 # during glob expansion). Even if it were fixed, the result of this
4565 # check would be larger than it should be.
4566 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4570 # Under GNU Hurd, this test is not required because there is
4571 # no limit to the length of command line arguments.
4572 # Libtool will interpret -1 as no limit whatsoever
4573 lt_cv_sys_max_cmd_len
=-1;
4577 # On Win9x/ME, this test blows up -- it succeeds, but takes
4578 # about 5 minutes as the teststring grows exponentially.
4579 # Worse, since 9x/ME are not pre-emptively multitasking,
4580 # you end up with a "frozen" computer, even though with patience
4581 # the test eventually succeeds (with a max line length of 256k).
4582 # Instead, let's just punt: use the minimum linelength reported by
4583 # all of the supported platforms: 8192 (on NT/2K/XP).
4584 lt_cv_sys_max_cmd_len
=8192;
4588 # On AmigaOS with pdksh, this test takes hours, literally.
4589 # So we just punt and use a minimum line length of 8192.
4590 lt_cv_sys_max_cmd_len
=8192;
4593 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4594 # This has been around since 386BSD, at least. Likely further.
4595 if test -x /sbin
/sysctl
; then
4596 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4597 elif test -x /usr
/sbin
/sysctl
; then
4598 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4600 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4602 # And add a safety zone
4603 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4604 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4608 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4609 lt_cv_sys_max_cmd_len
=196608
4613 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4614 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4615 # nice to cause kernel panics so lets avoid the loop below.
4616 # First set a reasonable default.
4617 lt_cv_sys_max_cmd_len
=16384
4619 if test -x /sbin
/sysconfig
; then
4620 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4621 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4626 lt_cv_sys_max_cmd_len
=102400
4628 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4629 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4630 if test -n "$kargmax"; then
4631 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4633 lt_cv_sys_max_cmd_len
=32768
4637 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4638 if test -n $lt_cv_sys_max_cmd_len; then
4639 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4640 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4642 # Make teststring a little bigger before we do anything with it.
4643 # a 1K string should be a reasonable start.
4644 for i
in 1 2 3 4 5 6 7 8 ; do
4645 teststring
=$teststring$teststring
4647 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4648 # If test is not a shell built-in, we'll probably end up computing a
4649 # maximum length that is only half of the actual maximum length, but
4651 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4652 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4653 test $i != 17 # 1/2 MB should be enough
4656 teststring
=$teststring$teststring
4658 # Only check the string length outside the loop.
4659 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4661 # Add a significant safety factor because C++ compilers can tack on
4662 # massive amounts of additional arguments before passing them to the
4663 # linker. It appears as though 1/2 is a usable value.
4664 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4671 if test -n $lt_cv_sys_max_cmd_len ; then
4672 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4673 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4675 echo "$as_me:$LINENO: result: none" >&5
4676 echo "${ECHO_T}none" >&6
4678 max_cmd_len
=$lt_cv_sys_max_cmd_len
4690 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4691 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4692 # Try some XSI features
4695 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4696 = c,a/b,, ) >/dev/null 2>&1 \
4698 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4699 echo "${ECHO_T}$xsi_shell" >&6
4702 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4703 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4705 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4707 && lt_shell_append=yes
4708 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4709 echo "${ECHO_T}$lt_shell_append" >&6
4712 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4722 # test EBCDIC or ASCII
4723 case `echo X|tr X '\101'` in
4724 A) # ASCII based system
4725 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4726 lt_SP2NL='tr \040 \012'
4727 lt_NL2SP='tr \015\012 \040\040'
4729 *) # EBCDIC based system
4730 lt_SP2NL='tr \100 \n'
4731 lt_NL2SP='tr \r\n \100\100'
4743 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4744 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4745 if test "${lt_cv_ld_reload_flag+set}" = set; then
4746 echo $ECHO_N "(cached
) $ECHO_C" >&6
4748 lt_cv_ld_reload_flag='-r'
4750 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4751 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4752 reload_flag=$lt_cv_ld_reload_flag
4753 case $reload_flag in
4755 *) reload_flag=" $reload_flag" ;;
4757 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4760 if test "$GCC" = yes; then
4761 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4763 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4777 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4778 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4779 if test "${lt_cv_deplibs_check_method+set}" = set; then
4780 echo $ECHO_N "(cached
) $ECHO_C" >&6
4782 lt_cv_file_magic_cmd='$MAGIC_CMD'
4783 lt_cv_file_magic_test_file=
4784 lt_cv_deplibs_check_method='unknown'
4785 # Need to set the preceding variable on all platforms that support
4786 # interlibrary dependencies.
4787 # 'none' -- dependencies not supported.
4788 # `unknown' -- same as none, but documents that we really don't know.
4789 # 'pass_all' -- all dependencies passed with no checks.
4790 # 'test_compile' -- check by making test program.
4791 # 'file_magic [[regex]]' -- check by looking for files in library path
4792 # which responds to the $file_magic_cmd with a given extended regex.
4793 # If you have `file' or equivalent on your system and you're not sure
4794 # whether `pass_all' will *always* work, you probably want this one.
4798 lt_cv_deplibs_check_method=pass_all
4802 lt_cv_deplibs_check_method=pass_all
4806 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4807 lt_cv_file_magic_cmd='/usr/bin/file -L'
4808 lt_cv_file_magic_test_file=/shlib/libc.so
4812 # func_win32_libid is a shell function defined in ltmain.sh
4813 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4814 lt_cv_file_magic_cmd='func_win32_libid'
4818 # Base MSYS/MinGW do not provide the 'file' command needed by
4819 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4820 # unless we find 'file', for example because we are cross-compiling.
4821 if ( file / ) >/dev/null 2>&1; then
4822 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4823 lt_cv_file_magic_cmd='func_win32_libid'
4825 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4826 lt_cv_file_magic_cmd='$OBJDUMP -f'
4830 darwin* | rhapsody*)
4831 lt_cv_deplibs_check_method=pass_all
4834 freebsd* | dragonfly*)
4835 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4838 # Not sure whether the presence of OpenBSD here was a mistake.
4839 # Let's accept both of them until this is cleared up.
4840 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4841 lt_cv_file_magic_cmd=/usr/bin/file
4842 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4846 lt_cv_deplibs_check_method=pass_all
4851 lt_cv_deplibs_check_method=pass_all
4854 hpux10.20* | hpux11*)
4855 lt_cv_file_magic_cmd=/usr/bin/file
4858 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4859 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4862 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]'
4863 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4866 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4867 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4873 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4874 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4877 irix5* | irix6* | nonstopux*)
4879 *-32|*"-32 ") libmagic=32-bit;;
4880 *-n32|*"-n32 ") libmagic=N32;;
4881 *-64|*"-64 ") libmagic=64-bit;;
4882 *) libmagic=never-match;;
4884 lt_cv_deplibs_check_method=pass_all
4887 # This must be Linux ELF.
4888 linux* | k*bsd*-gnu)
4889 lt_cv_deplibs_check_method=pass_all
4893 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4894 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4896 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4901 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4902 lt_cv_file_magic_cmd=/usr/bin/file
4903 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4907 lt_cv_deplibs_check_method=pass_all
4911 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4912 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4914 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4918 osf3* | osf4* | osf5*)
4919 lt_cv_deplibs_check_method=pass_all
4923 lt_cv_deplibs_check_method=pass_all
4927 lt_cv_deplibs_check_method=pass_all
4930 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4931 lt_cv_deplibs_check_method=pass_all
4935 case $host_vendor in
4937 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]'
4938 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4941 lt_cv_deplibs_check_method=pass_all
4944 lt_cv_file_magic_cmd='/bin/file'
4945 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4948 lt_cv_file_magic_cmd='/bin/file'
4949 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4950 lt_cv_file_magic_test_file=/lib/libc.so
4953 lt_cv_deplibs_check_method=pass_all
4956 lt_cv_deplibs_check_method=pass_all
4962 lt_cv_deplibs_check_method=pass_all
4967 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4968 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4969 file_magic_cmd=$lt_cv_file_magic_cmd
4970 deplibs_check_method=$lt_cv_deplibs_check_method
4971 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4984 if test -n "$ac_tool_prefix"; then
4985 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4986 set dummy ${ac_tool_prefix}ar; ac_word=$2
4987 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4988 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4989 if test "${ac_cv_prog_AR+set}" = set; then
4990 echo $ECHO_N "(cached
) $ECHO_C" >&6
4992 if test -n "$AR"; then
4993 ac_cv_prog_AR="$AR" # Let the user override the test.
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_AR="${ac_tool_prefix}ar"
5003 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5012 if test -n "$AR"; then
5013 echo "$as_me:$LINENO: result
: $AR" >&5
5014 echo "${ECHO_T}$AR" >&6
5016 echo "$as_me:$LINENO: result
: no
" >&5
5017 echo "${ECHO_T}no
" >&6
5021 if test -z "$ac_cv_prog_AR"; then
5023 # Extract the first word of "ar", so it can be a program name with args.
5024 set dummy ar; ac_word=$2
5025 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5026 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5027 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5028 echo $ECHO_N "(cached
) $ECHO_C" >&6
5030 if test -n "$ac_ct_AR"; then
5031 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir=.
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_ac_ct_AR="ar"
5041 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5047 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5050 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5051 if test -n "$ac_ct_AR"; then
5052 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5053 echo "${ECHO_T}$ac_ct_AR" >&6
5055 echo "$as_me:$LINENO: result
: no
" >&5
5056 echo "${ECHO_T}no
" >&6
5064 test -z "$AR" && AR=ar
5065 test -z "$AR_FLAGS" && AR_FLAGS=cru
5077 if test -n "$ac_tool_prefix"; then
5078 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5079 set dummy ${ac_tool_prefix}strip; ac_word=$2
5080 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5081 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5082 if test "${ac_cv_prog_STRIP+set}" = set; then
5083 echo $ECHO_N "(cached
) $ECHO_C" >&6
5085 if test -n "$STRIP"; then
5086 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5096 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5104 STRIP=$ac_cv_prog_STRIP
5105 if test -n "$STRIP"; then
5106 echo "$as_me:$LINENO: result
: $STRIP" >&5
5107 echo "${ECHO_T}$STRIP" >&6
5109 echo "$as_me:$LINENO: result
: no
" >&5
5110 echo "${ECHO_T}no
" >&6
5114 if test -z "$ac_cv_prog_STRIP"; then
5116 # Extract the first word of "strip
", so it can be a program name with args.
5117 set dummy strip; ac_word=$2
5118 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5119 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5120 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5121 echo $ECHO_N "(cached
) $ECHO_C" >&6
5123 if test -n "$ac_ct_STRIP"; then
5124 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 test -z "$as_dir" && as_dir=.
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5133 ac_cv_prog_ac_ct_STRIP="strip
"
5134 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5140 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5143 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5144 if test -n "$ac_ct_STRIP"; then
5145 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5146 echo "${ECHO_T}$ac_ct_STRIP" >&6
5148 echo "$as_me:$LINENO: result
: no
" >&5
5149 echo "${ECHO_T}no
" >&6
5154 STRIP="$ac_cv_prog_STRIP"
5157 test -z "$STRIP" && STRIP=:
5164 if test -n "$ac_tool_prefix"; then
5165 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5166 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5167 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5168 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5169 if test "${ac_cv_prog_RANLIB+set}" = set; then
5170 echo $ECHO_N "(cached
) $ECHO_C" >&6
5172 if test -n "$RANLIB"; then
5173 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir=.
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5183 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5191 RANLIB=$ac_cv_prog_RANLIB
5192 if test -n "$RANLIB"; then
5193 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5194 echo "${ECHO_T}$RANLIB" >&6
5196 echo "$as_me:$LINENO: result
: no
" >&5
5197 echo "${ECHO_T}no
" >&6
5201 if test -z "$ac_cv_prog_RANLIB"; then
5202 ac_ct_RANLIB=$RANLIB
5203 # Extract the first word of "ranlib
", so it can be a program name with args.
5204 set dummy ranlib; ac_word=$2
5205 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5206 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5207 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5208 echo $ECHO_N "(cached
) $ECHO_C" >&6
5210 if test -n "$ac_ct_RANLIB"; then
5211 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5217 test -z "$as_dir" && as_dir=.
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5221 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5227 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5230 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5231 if test -n "$ac_ct_RANLIB"; then
5232 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5233 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5235 echo "$as_me:$LINENO: result
: no
" >&5
5236 echo "${ECHO_T}no
" >&6
5239 RANLIB=$ac_ct_RANLIB
5241 RANLIB="$ac_cv_prog_RANLIB"
5244 test -z "$RANLIB" && RANLIB=:
5251 # Determine commands to create old-style static archives.
5252 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5253 old_postinstall_cmds='chmod 644 $oldlib'
5254 old_postuninstall_cmds=
5256 if test -n "$RANLIB"; then
5259 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5262 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5265 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5301 # If no C compiler was specified, use CC.
5304 # If no C compiler flags were specified, use CFLAGS.
5305 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5307 # Allow CC to be a program name with arguments.
5311 # Check for command to grab the raw symbol name followed by C symbol from nm.
5312 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5313 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5314 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5315 echo $ECHO_N "(cached
) $ECHO_C" >&6
5318 # These are sane defaults that work on at least a few old systems.
5319 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5321 # Character class describing NM global symbol codes.
5322 symcode='[BCDEGRST]'
5324 # Regexp to match symbols that can be accessed directly from C.
5325 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5327 # Define system-specific variables.
5332 cygwin* | mingw* | pw32*)
5333 symcode='[ABCDGISTW]'
5336 if test "$host_cpu" = ia64; then
5337 symcode='[ABCDEGRST]'
5341 symcode='[BCDEGRST]'
5344 symcode='[BCDEGQRST]'
5355 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5363 # If we're using GNU nm, then use its standard symbol codes.
5364 case `$NM -V 2>&1` in
5365 *GNU* | *'with BFD'*)
5366 symcode='[ABCDGIRSTW]' ;;
5369 # Transform an extracted symbol line into a proper C declaration.
5370 # Some systems (esp. on ia64) link data and code symbols differently,
5371 # so use this general approach.
5372 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5374 # Transform an extracted symbol line into symbol name and symbol address
5375 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5377 # Handle CRLF in mingw tool chain
5381 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5385 # Try without a prefix underscore, then with it.
5386 for ac_symprfx in "" "_
"; do
5388 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5389 symxfrm="\\1 $ac_symprfx\\2 \\2"
5391 # Write the raw and C identifiers.
5392 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5393 # Fake it for dumpbin and say T for any non-static function
5394 # and D for any global variable.
5395 # Also find C++ and __fastcall symbols from MSVC++,
5396 # which start with @ or ?.
5397 lt_cv_sys_global_symbol_pipe="$AWK '"\
5398 " {last_section=section; section=\$ 3};"\
5399 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5400 " \$ 0!~/External *\|/{next};"\
5401 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5402 " {if(hide[section]) next};"\
5403 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5404 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5405 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5406 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5407 " ' prfx
=^
$ac_symprfx"
5409 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5412 # Check to see that the pipe works correctly.
5416 cat > conftest.$ac_ext <<_LT_EOF
5421 void nm_test_func(void);
5422 void nm_test_func(void){}
5426 int main(){nm_test_var='a';nm_test_func();return(0);}
5429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5430 (eval $ac_compile) 2>&5
5432 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5433 (exit $ac_status); }; then
5434 # Now try to grab the symbols.
5436 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5437 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5439 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5440 (exit $ac_status); } && test -s "$nlist"; then
5441 # Try sorting and uniquifying the output.
5442 if sort "$nlist" | uniq > "$nlist"T; then
5443 mv -f "$nlist"T "$nlist"
5448 # Make sure that we snagged all the symbols we need.
5449 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5450 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5451 cat <<_LT_EOF > conftest.$ac_ext
5457 # Now generate the symbol file.
5458 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5460 cat <<_LT_EOF >> conftest.$ac_ext
5462 /* The mapping between symbol names and symbols. */
5467 lt__PROGRAM__LTX_preloaded_symbols[] =
5469 { "@PROGRAM@
", (void *) 0 },
5471 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5472 cat <<\_LT_EOF >> conftest.$ac_ext
5476 /* This works around a problem in FreeBSD linker */
5477 #ifdef FREEBSD_WORKAROUND
5478 static const void *lt_preloaded_setup() {
5479 return lt__PROGRAM__LTX_preloaded_symbols;
5487 # Now try linking the two files.
5488 mv conftest.$ac_objext conftstm.$ac_objext
5489 lt_save_LIBS="$LIBS"
5490 lt_save_CFLAGS="$CFLAGS"
5491 LIBS="conftstm.
$ac_objext"
5492 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5494 (eval $ac_link) 2>&5
5496 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5497 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5500 LIBS="$lt_save_LIBS"
5501 CFLAGS="$lt_save_CFLAGS"
5503 echo "cannot
find nm_test_func
in $nlist" >&5
5506 echo "cannot
find nm_test_var
in $nlist" >&5
5509 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5512 echo "$progname: failed program was
:" >&5
5513 cat conftest.$ac_ext >&5
5515 rm -f conftest* conftst*
5517 # Do not use the global_symbol_pipe unless it works.
5518 if test "$pipe_works" = yes; then
5521 lt_cv_sys_global_symbol_pipe=
5527 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5528 lt_cv_sys_global_symbol_to_cdecl=
5530 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5531 echo "$as_me:$LINENO: result
: failed
" >&5
5532 echo "${ECHO_T}failed
" >&6
5534 echo "$as_me:$LINENO: result
: ok
" >&5
5535 echo "${ECHO_T}ok
" >&6
5554 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5555 if test "${enable_libtool_lock+set}" = set; then
5556 enableval="$enable_libtool_lock"
5559 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5561 # Some flags need to be propagated to the compiler or linker for good
5565 # Find out which ABI we are using.
5566 echo 'int i;' > conftest.$ac_ext
5567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5568 (eval $ac_compile) 2>&5
5570 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5571 (exit $ac_status); }; then
5572 case `/usr/bin/file conftest.$ac_objext` in
5584 # Find out which ABI we are using.
5585 echo '#line 5585 "configure
"' > conftest.$ac_ext
5586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5587 (eval $ac_compile) 2>&5
5589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5590 (exit $ac_status); }; then
5591 if test "$lt_cv_prog_gnu_ld" = yes; then
5592 case `/usr/bin/file conftest.$ac_objext` in
5594 LD="${LD-ld} -melf32bsmip"
5597 LD="${LD-ld} -melf32bmipn32"
5600 LD="${LD-ld} -melf64bmip"
5604 case `/usr/bin/file conftest.$ac_objext` in
5620 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5621 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5622 # Find out which ABI we are using.
5623 echo 'int i;' > conftest.$ac_ext
5624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5625 (eval $ac_compile) 2>&5
5627 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5628 (exit $ac_status); }; then
5629 case `/usr/bin/file conftest.o` in
5632 x86_64-*kfreebsd*-gnu)
5633 LD="${LD-ld} -m elf_i386_fbsd
"
5636 LD="${LD-ld} -m elf_i386
"
5638 ppc64-*linux*|powerpc64-*linux*)
5639 LD="${LD-ld} -m elf32ppclinux
"
5642 LD="${LD-ld} -m elf_s390
"
5645 LD="${LD-ld} -m elf32_sparc
"
5651 x86_64-*kfreebsd*-gnu)
5652 LD="${LD-ld} -m elf_x86_64_fbsd
"
5655 LD="${LD-ld} -m elf_x86_64
"
5657 ppc*-*linux*|powerpc*-*linux*)
5658 LD="${LD-ld} -m elf64ppc
"
5660 s390*-*linux*|s390*-*tpf*)
5661 LD="${LD-ld} -m elf64_s390
"
5664 LD="${LD-ld} -m elf64_sparc
"
5674 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5675 SAVE_CFLAGS="$CFLAGS"
5676 CFLAGS="$CFLAGS -belf"
5677 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5678 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5679 if test "${lt_cv_cc_needs_belf+set}" = set; then
5680 echo $ECHO_N "(cached
) $ECHO_C" >&6
5683 ac_cpp='$CPP $CPPFLAGS'
5684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5688 cat >conftest.$ac_ext <<_ACEOF
5691 cat confdefs.h >>conftest.$ac_ext
5692 cat >>conftest.$ac_ext <<_ACEOF
5693 /* end confdefs.h. */
5703 rm -f conftest.$ac_objext conftest$ac_exeext
5704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5705 (eval $ac_link) 2>conftest.er1
5707 grep -v '^ *+' conftest.er1 >conftest.err
5709 cat conftest.err >&5
5710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5711 (exit $ac_status); } &&
5712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5717 (exit $ac_status); }; } &&
5718 { ac_try='test -s conftest$ac_exeext'
5719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5722 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5723 (exit $ac_status); }; }; then
5724 lt_cv_cc_needs_belf=yes
5726 echo "$as_me: failed program was
:" >&5
5727 sed 's/^/| /' conftest.$ac_ext >&5
5729 lt_cv_cc_needs_belf=no
5731 rm -f conftest.err conftest.$ac_objext \
5732 conftest$ac_exeext conftest.$ac_ext
5734 ac_cpp='$CPP $CPPFLAGS'
5735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5740 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5741 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5742 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5743 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5744 CFLAGS="$SAVE_CFLAGS"
5748 # Find out which ABI we are using.
5749 echo 'int i;' > conftest.$ac_ext
5750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5751 (eval $ac_compile) 2>&5
5753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5754 (exit $ac_status); }; then
5755 case `/usr/bin/file conftest.o` in
5757 case $lt_cv_prog_gnu_ld in
5758 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5759 *) LD="${LD-ld} -64" ;;
5768 need_locks="$enable_libtool_lock"
5771 ac_cpp='$CPP $CPPFLAGS'
5772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5775 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5776 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5777 # On Suns, sometimes $CPP names a directory.
5778 if test -n "$CPP" && test -d "$CPP"; then
5781 if test -z "$CPP"; then
5782 if test "${ac_cv_prog_CPP+set}" = set; then
5783 echo $ECHO_N "(cached
) $ECHO_C" >&6
5785 # Double quotes because CPP needs to be expanded
5786 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5789 for ac_c_preproc_warn_flag in '' yes
5791 # Use a header file that comes with gcc, so configuring glibc
5792 # with a fresh cross-compiler works.
5793 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5794 # <limits.h> exists even on freestanding compilers.
5795 # On the NeXT, cc -E runs the code through the compiler's parser,
5796 # not just through cpp. "Syntax error
" is here to catch this case.
5797 cat >conftest.$ac_ext <<_ACEOF
5800 cat confdefs.h >>conftest.$ac_ext
5801 cat >>conftest.$ac_ext <<_ACEOF
5802 /* end confdefs.h. */
5804 # include <limits.h>
5806 # include <assert.h>
5810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5813 grep -v '^ *+' conftest.er1 >conftest.err
5815 cat conftest.err >&5
5816 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5817 (exit $ac_status); } >/dev/null; then
5818 if test -s conftest.err; then
5819 ac_cpp_err=$ac_c_preproc_warn_flag
5820 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5827 if test -z "$ac_cpp_err"; then
5830 echo "$as_me: failed program was
:" >&5
5831 sed 's/^/| /' conftest.$ac_ext >&5
5833 # Broken: fails on valid input.
5836 rm -f conftest.err conftest.$ac_ext
5838 # OK, works on sane cases. Now check whether non-existent headers
5839 # can be detected and how.
5840 cat >conftest.$ac_ext <<_ACEOF
5843 cat confdefs.h >>conftest.$ac_ext
5844 cat >>conftest.$ac_ext <<_ACEOF
5845 /* end confdefs.h. */
5846 #include <ac_nonexistent.h>
5848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5851 grep -v '^ *+' conftest.er1 >conftest.err
5853 cat conftest.err >&5
5854 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5855 (exit $ac_status); } >/dev/null; then
5856 if test -s conftest.err; then
5857 ac_cpp_err=$ac_c_preproc_warn_flag
5858 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5865 if test -z "$ac_cpp_err"; then
5866 # Broken: success on invalid input.
5869 echo "$as_me: failed program was
:" >&5
5870 sed 's/^/| /' conftest.$ac_ext >&5
5872 # Passes both tests.
5876 rm -f conftest.err conftest.$ac_ext
5879 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5880 rm -f conftest.err conftest.$ac_ext
5881 if $ac_preproc_ok; then
5893 echo "$as_me:$LINENO: result
: $CPP" >&5
5894 echo "${ECHO_T}$CPP" >&6
5896 for ac_c_preproc_warn_flag in '' yes
5898 # Use a header file that comes with gcc, so configuring glibc
5899 # with a fresh cross-compiler works.
5900 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5901 # <limits.h> exists even on freestanding compilers.
5902 # On the NeXT, cc -E runs the code through the compiler's parser,
5903 # not just through cpp. "Syntax error
" is here to catch this case.
5904 cat >conftest.$ac_ext <<_ACEOF
5907 cat confdefs.h >>conftest.$ac_ext
5908 cat >>conftest.$ac_ext <<_ACEOF
5909 /* end confdefs.h. */
5911 # include <limits.h>
5913 # include <assert.h>
5917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5920 grep -v '^ *+' conftest.er1 >conftest.err
5922 cat conftest.err >&5
5923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5924 (exit $ac_status); } >/dev/null; then
5925 if test -s conftest.err; then
5926 ac_cpp_err=$ac_c_preproc_warn_flag
5927 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5934 if test -z "$ac_cpp_err"; then
5937 echo "$as_me: failed program was
:" >&5
5938 sed 's/^/| /' conftest.$ac_ext >&5
5940 # Broken: fails on valid input.
5943 rm -f conftest.err conftest.$ac_ext
5945 # OK, works on sane cases. Now check whether non-existent headers
5946 # can be detected and how.
5947 cat >conftest.$ac_ext <<_ACEOF
5950 cat confdefs.h >>conftest.$ac_ext
5951 cat >>conftest.$ac_ext <<_ACEOF
5952 /* end confdefs.h. */
5953 #include <ac_nonexistent.h>
5955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5958 grep -v '^ *+' conftest.er1 >conftest.err
5960 cat conftest.err >&5
5961 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5962 (exit $ac_status); } >/dev/null; then
5963 if test -s conftest.err; then
5964 ac_cpp_err=$ac_c_preproc_warn_flag
5965 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5972 if test -z "$ac_cpp_err"; then
5973 # Broken: success on invalid input.
5976 echo "$as_me: failed program was
:" >&5
5977 sed 's/^/| /' conftest.$ac_ext >&5
5979 # Passes both tests.
5983 rm -f conftest.err conftest.$ac_ext
5986 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5987 rm -f conftest.err conftest.$ac_ext
5988 if $ac_preproc_ok; then
5991 { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
5992 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5993 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5994 See \`config.log' for more details.
" >&5
5995 echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
5996 See \
`config.log' for more details." >&2;}
5997 { (exit 1); exit 1; }; }; }
6001 ac_cpp='$CPP $CPPFLAGS'
6002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6007 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6008 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6009 if test "${ac_cv_header_stdc+set}" = set; then
6010 echo $ECHO_N "(cached) $ECHO_C" >&6
6012 cat >conftest.$ac_ext <<_ACEOF
6015 cat confdefs.h >>conftest.$ac_ext
6016 cat >>conftest.$ac_ext <<_ACEOF
6017 /* end confdefs.h. */
6031 rm -f conftest.$ac_objext
6032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6033 (eval $ac_compile) 2>conftest.er1
6035 grep -v '^ *+' conftest.er1 >conftest.err
6037 cat conftest.err >&5
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); } &&
6040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; } &&
6046 { ac_try='test -s conftest.$ac_objext'
6047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); }; }; then
6052 ac_cv_header_stdc=yes
6054 echo "$as_me: failed program was:" >&5
6055 sed 's/^/| /' conftest.$ac_ext >&5
6057 ac_cv_header_stdc=no
6059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6061 if test $ac_cv_header_stdc = yes; then
6062 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6063 cat >conftest.$ac_ext <<_ACEOF
6066 cat confdefs.h >>conftest.$ac_ext
6067 cat >>conftest.$ac_ext <<_ACEOF
6068 /* end confdefs.h. */
6072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6073 $EGREP "memchr" >/dev/null 2>&1; then
6076 ac_cv_header_stdc=no
6082 if test $ac_cv_header_stdc = yes; then
6083 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6084 cat >conftest.$ac_ext <<_ACEOF
6087 cat confdefs.h >>conftest.$ac_ext
6088 cat >>conftest.$ac_ext <<_ACEOF
6089 /* end confdefs.h. */
6093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6094 $EGREP "free" >/dev/null 2>&1; then
6097 ac_cv_header_stdc=no
6103 if test $ac_cv_header_stdc = yes; then
6104 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6105 if test "$cross_compiling" = yes; then
6108 cat >conftest.$ac_ext <<_ACEOF
6111 cat confdefs.h >>conftest.$ac_ext
6112 cat >>conftest.$ac_ext <<_ACEOF
6113 /* end confdefs.h. */
6115 #if ((' ' & 0x0FF) == 0x020)
6116 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6117 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6119 # define ISLOWER(c) \
6120 (('a' <= (c) && (c) <= 'i') \
6121 || ('j' <= (c) && (c) <= 'r') \
6122 || ('s' <= (c) && (c) <= 'z'))
6123 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6126 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6131 for (i = 0; i < 256; i++)
6132 if (XOR (islower (i), ISLOWER (i))
6133 || toupper (i) != TOUPPER (i))
6138 rm -f conftest$ac_exeext
6139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6140 (eval $ac_link) 2>&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148 (exit $ac_status); }; }; then
6151 echo "$as_me: program exited with status $ac_status" >&5
6152 echo "$as_me: failed program was:" >&5
6153 sed 's/^/| /' conftest.$ac_ext >&5
6156 ac_cv_header_stdc=no
6158 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6162 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6163 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6164 if test $ac_cv_header_stdc = yes; then
6166 cat >>confdefs.h <<\_ACEOF
6167 #define STDC_HEADERS 1
6172 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6182 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6183 inttypes.h stdint.h unistd.h
6185 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6186 echo "$as_me:$LINENO: checking for $ac_header" >&5
6187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6189 echo $ECHO_N "(cached) $ECHO_C" >&6
6191 cat >conftest.$ac_ext <<_ACEOF
6194 cat confdefs.h >>conftest.$ac_ext
6195 cat >>conftest.$ac_ext <<_ACEOF
6196 /* end confdefs.h. */
6197 $ac_includes_default
6199 #include <$ac_header>
6201 rm -f conftest.$ac_objext
6202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6203 (eval $ac_compile) 2>conftest.er1
6205 grep -v '^ *+' conftest.er1 >conftest.err
6207 cat conftest.err >&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } &&
6210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; } &&
6216 { ac_try='test -s conftest.$ac_objext'
6217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }; }; then
6222 eval "$as_ac_Header=yes"
6224 echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.$ac_ext >&5
6227 eval "$as_ac_Header=no"
6229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6234 cat >>confdefs.h <<_ACEOF
6235 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6244 for ac_header in dlfcn.h
6246 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6247 echo "$as_me:$LINENO: checking for $ac_header" >&5
6248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 cat >conftest.$ac_ext <<_ACEOF
6255 cat confdefs.h >>conftest.$ac_ext
6256 cat >>conftest.$ac_ext <<_ACEOF
6257 /* end confdefs.h. */
6258 $ac_includes_default
6260 #include <$ac_header>
6262 rm -f conftest.$ac_objext
6263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6264 (eval $ac_compile) 2>conftest.er1
6266 grep -v '^ *+' conftest.er1 >conftest.err
6268 cat conftest.err >&5
6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 (exit $ac_status); } &&
6271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); }; } &&
6277 { ac_try='test -s conftest.$ac_objext'
6278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); }; }; then
6283 eval "$as_ac_Header=yes"
6285 echo "$as_me: failed program was:" >&5
6286 sed 's/^/| /' conftest.$ac_ext >&5
6288 eval "$as_ac_Header=no"
6290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6295 cat >>confdefs.h <<_ACEOF
6296 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6305 # This can be used to rebuild libtool when needed
6306 LIBTOOL_DEPS="$ltmain"
6308 # Always use our own libtool.
6309 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6335 test -z "$LN_S" && LN_S="ln -s"
6350 if test -n "${ZSH_VERSION+set}" ; then
6351 setopt NO_GLOB_SUBST
6354 echo "$as_me:$LINENO: checking for objdir" >&5
6355 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6356 if test "${lt_cv_objdir+set}" = set; then
6357 echo $ECHO_N "(cached) $ECHO_C" >&6
6359 rm -f .libs 2>/dev/null
6360 mkdir .libs 2>/dev/null
6361 if test -d .libs; then
6364 # MS-DOS does not allow filenames that begin with a dot.
6367 rmdir .libs 2>/dev/null
6369 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6370 echo "${ECHO_T}$lt_cv_objdir" >&6
6371 objdir=$lt_cv_objdir
6377 cat >>confdefs.h <<_ACEOF
6378 #define LT_OBJDIR "$lt_cv_objdir/"
6399 # AIX sometimes has problems with the GCC collect2 program. For some
6400 # reason, if we set the COLLECT_NAMES environment variable, the problems
6401 # vanish in a puff of smoke.
6402 if test "X${COLLECT_NAMES+set}" != Xset; then
6404 export COLLECT_NAMES
6409 # Sed substitution that helps us do robust quoting. It backslashifies
6410 # metacharacters that are still active within double-quoted strings.
6411 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6413 # Same as above, but do not quote variable references.
6414 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6416 # Sed substitution to delay expansion of an escaped shell variable in a
6417 # double_quote_subst'ed string.
6418 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6420 # Sed substitution to delay expansion of an escaped single quote.
6421 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6423 # Sed substitution to avoid accidental globbing in evaled expressions
6424 no_glob_subst='s/\*/\\\*/g'
6428 can_build_shared=yes
6430 # All known linkers require a `.a' archive for static linking (except MSVC,
6431 # which needs '.lib').
6434 with_gnu_ld="$lt_cv_prog_gnu_ld"
6437 old_CFLAGS="$CFLAGS"
6439 # Set sane defaults for various variables
6440 test -z "$CC" && CC=cc
6441 test -z "$LTCC" && LTCC=$CC
6442 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6443 test -z "$LD" && LD=ld
6444 test -z "$ac_objext" && ac_objext=o
6446 for cc_temp in $compiler""; do
6448 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6449 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6454 cc_basename=`$ECHO "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
6457 # Only perform the check for file, if the check method requires it
6458 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6459 case $deplibs_check_method in
6461 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6462 echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
6463 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6
6464 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6465 echo $ECHO_N "(cached
) $ECHO_C" >&6
6469 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6472 lt_save_MAGIC_CMD="$MAGIC_CMD"
6473 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6474 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
6475 for ac_dir in $ac_dummy; do
6477 test -z "$ac_dir" && ac_dir=.
6478 if test -f $ac_dir/${ac_tool_prefix}file; then
6479 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6480 if test -n "$file_magic_test_file"; then
6481 case $deplibs_check_method in
6483 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
6484 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6485 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6486 $EGREP "$file_magic_regex" > /dev/null; then
6491 *** Warning: the command libtool uses to detect shared libraries,
6492 *** $file_magic_cmd, produces output that libtool cannot recognize.
6493 *** The result is that libtool may fail to recognize shared libraries
6494 *** as such. This will affect the creation of libtool libraries that
6495 *** depend on shared libraries, but programs linked with such libtool
6496 *** libraries will work regardless of this problem. Nevertheless, you
6497 *** may want to report the problem to your system manager and/or to
6498 *** bug-libtool@gnu.org
6508 MAGIC_CMD="$lt_save_MAGIC_CMD"
6513 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6514 if test -n "$MAGIC_CMD"; then
6515 echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
6516 echo "${ECHO_T}$MAGIC_CMD" >&6
6518 echo "$as_me:$LINENO: result
: no
" >&5
6519 echo "${ECHO_T}no
" >&6
6526 if test -z "$lt_cv_path_MAGIC_CMD"; then
6527 if test -n "$ac_tool_prefix"; then
6528 echo "$as_me:$LINENO: checking
for file" >&5
6529 echo $ECHO_N "checking
for file...
$ECHO_C" >&6
6530 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6531 echo $ECHO_N "(cached
) $ECHO_C" >&6
6535 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6538 lt_save_MAGIC_CMD="$MAGIC_CMD"
6539 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6540 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
6541 for ac_dir in $ac_dummy; do
6543 test -z "$ac_dir" && ac_dir=.
6544 if test -f $ac_dir/file; then
6545 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6546 if test -n "$file_magic_test_file"; then
6547 case $deplibs_check_method in
6549 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
6550 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6551 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6552 $EGREP "$file_magic_regex" > /dev/null; then
6557 *** Warning: the command libtool uses to detect shared libraries,
6558 *** $file_magic_cmd, produces output that libtool cannot recognize.
6559 *** The result is that libtool may fail to recognize shared libraries
6560 *** as such. This will affect the creation of libtool libraries that
6561 *** depend on shared libraries, but programs linked with such libtool
6562 *** libraries will work regardless of this problem. Nevertheless, you
6563 *** may want to report the problem to your system manager and/or to
6564 *** bug-libtool@gnu.org
6574 MAGIC_CMD="$lt_save_MAGIC_CMD"
6579 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6580 if test -n "$MAGIC_CMD"; then
6581 echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
6582 echo "${ECHO_T}$MAGIC_CMD" >&6
6584 echo "$as_me:$LINENO: result
: no
" >&5
6585 echo "${ECHO_T}no
" >&6
6598 # Use C for the default configuration in the libtool script
6602 ac_cpp='$CPP $CPPFLAGS'
6603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6608 # Source file extension for C test sources.
6611 # Object file extension for compiled C test sources.
6615 # Code to be used in simple compile tests
6616 lt_simple_compile_test_code="int some_variable
= 0;"
6618 # Code to be used in simple link tests
6619 lt_simple_link_test_code='int main(){return(0);}'
6627 # If no C compiler was specified, use CC.
6630 # If no C compiler flags were specified, use CFLAGS.
6631 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6633 # Allow CC to be a program name with arguments.
6636 # Save the default compiler, since it gets overwritten when the other
6637 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6638 compiler_DEFAULT=$CC
6640 # save warnings/boilerplate of simple test code
6641 ac_outfile=conftest.$ac_objext
6642 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6643 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6644 _lt_compiler_boilerplate=`cat conftest.err`
6647 ac_outfile=conftest.$ac_objext
6648 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6649 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6650 _lt_linker_boilerplate=`cat conftest.err`
6655 ## There is no encapsulation within the following macros, do not change
6656 ## the running order or otherwise move them around unless you know exactly
6657 ## what you are doing...
6658 if test -n "$compiler"; then
6660 lt_prog_compiler_no_builtin_flag=
6662 if test "$GCC" = yes; then
6663 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6665 echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
6666 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6
6667 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6668 echo $ECHO_N "(cached
) $ECHO_C" >&6
6670 lt_cv_prog_compiler_rtti_exceptions=no
6671 ac_outfile=conftest.$ac_objext
6672 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6673 lt_compiler_flag="-fno-rtti -fno-exceptions"
6674 # Insert the option either (1) after the last *FLAGS variable, or
6675 # (2) before a word containing "conftest.
", or (3) at the end.
6676 # Note that $ac_compile itself does not contain backslashes and begins
6677 # with a dollar sign (not a hyphen), so the echo should work correctly.
6678 # The option is referenced via a variable to avoid confusing sed.
6679 lt_compile=`echo "$ac_compile" | $SED \
6680 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6681 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6682 -e 's:$: $lt_compiler_flag:'`
6683 (eval echo "\"\
$as_me:6683: $lt_compile\"" >&5)
6684 (eval "$lt_compile" 2>conftest.err)
6686 cat conftest.err >&5
6687 echo "$as_me:6687: \$?
= $ac_status" >&5
6688 if (exit $ac_status) && test -s "$ac_outfile"; then
6689 # The compiler can only warn and ignore the option if not recognized
6690 # So say no if there are warnings other than the usual output.
6691 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6692 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6693 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6694 lt_cv_prog_compiler_rtti_exceptions=yes
6700 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
6701 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6703 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6704 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6716 lt_prog_compiler_wl=
6717 lt_prog_compiler_pic=
6718 lt_prog_compiler_static=
6720 echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
6721 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6
6723 if test "$GCC" = yes; then
6724 lt_prog_compiler_wl='-Wl,'
6725 lt_prog_compiler_static='-static'
6729 # All AIX code is PIC.
6730 if test "$host_cpu" = ia64; then
6731 # AIX 5 now supports IA64 processor
6732 lt_prog_compiler_static='-Bstatic'
6737 if test "$host_cpu" = m68k; then
6738 # FIXME: we need at least 68020 code to build shared libraries, but
6739 # adding the `-m68020' flag to GCC prevents building anything better,
6741 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6745 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6746 # PIC is the default for these OSes.
6749 mingw* | cygwin* | pw32* | os2*)
6750 # This hack is so that the source file can tell whether it is being
6751 # built for inclusion in a dll (and should export symbols for example).
6752 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6753 # (--disable-auto-import) libraries
6754 lt_prog_compiler_pic='-DDLL_EXPORT'
6757 darwin* | rhapsody*)
6758 # PIC is the default on this platform
6759 # Common symbols not allowed in MH_DYLIB files
6760 lt_prog_compiler_pic='-fno-common'
6764 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6771 lt_prog_compiler_pic='-fPIC'
6777 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6778 # Instead, we relocate shared libraries at runtime.
6782 # Just because we use GCC doesn't mean we suddenly get shared libraries
6783 # on systems that don't support them.
6784 lt_prog_compiler_can_build_shared=no
6789 # QNX uses GNU C++, but need to define -shared option too, otherwise
6791 lt_prog_compiler_pic='-fPIC -shared'
6795 if test -d /usr/nec; then
6796 lt_prog_compiler_pic=-Kconform_pic
6801 lt_prog_compiler_pic='-fPIC'
6805 # PORTME Check for flag to pass linker flags through the system compiler.
6808 lt_prog_compiler_wl='-Wl,'
6809 if test "$host_cpu" = ia64; then
6810 # AIX 5 now supports IA64 processor
6811 lt_prog_compiler_static='-Bstatic'
6813 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6817 # PIC is the default on this platform
6818 # Common symbols not allowed in MH_DYLIB files
6819 case $cc_basename in
6821 lt_prog_compiler_pic='-qnocommon'
6822 lt_prog_compiler_wl='-Wl,'
6827 mingw* | cygwin* | pw32* | os2*)
6828 # This hack is so that the source file can tell whether it is being
6829 # built for inclusion in a dll (and should export symbols for example).
6830 lt_prog_compiler_pic='-DDLL_EXPORT'
6833 hpux9* | hpux10* | hpux11*)
6834 lt_prog_compiler_wl='-Wl,'
6835 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6842 lt_prog_compiler_pic='+Z'
6845 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6846 lt_prog_compiler_static='${wl}-a ${wl}archive'
6849 irix5* | irix6* | nonstopux*)
6850 lt_prog_compiler_wl='-Wl,'
6851 # PIC (with -KPIC) is the default.
6852 lt_prog_compiler_static='-non_shared'
6855 linux* | k*bsd*-gnu)
6856 case $cc_basename in
6858 lt_prog_compiler_wl='-Wl,'
6859 lt_prog_compiler_pic='-KPIC'
6860 lt_prog_compiler_static='-static'
6862 pgcc* | pgf77* | pgf90* | pgf95*)
6863 # Portland Group compilers (*not* the Pentium gcc compiler,
6864 # which looks to be a dead project)
6865 lt_prog_compiler_wl='-Wl,'
6866 lt_prog_compiler_pic='-fpic'
6867 lt_prog_compiler_static='-Bstatic'
6870 lt_prog_compiler_wl='-Wl,'
6871 # All Alpha code is PIC.
6872 lt_prog_compiler_static='-non_shared'
6875 case `$CC -V 2>&1 | sed 5q` in
6878 lt_prog_compiler_pic='-KPIC'
6879 lt_prog_compiler_static='-Bstatic'
6880 lt_prog_compiler_wl='-Wl,'
6883 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6884 lt_prog_compiler_pic='-KPIC'
6885 lt_prog_compiler_static='-Bstatic'
6886 lt_prog_compiler_wl=''
6894 lt_prog_compiler_pic='-KPIC'
6895 lt_prog_compiler_static='-Bstatic'
6899 # QNX uses GNU C++, but need to define -shared option too, otherwise
6901 lt_prog_compiler_pic='-fPIC -shared'
6904 osf3* | osf4* | osf5*)
6905 lt_prog_compiler_wl='-Wl,'
6906 # All OSF/1 code is PIC.
6907 lt_prog_compiler_static='-non_shared'
6911 lt_prog_compiler_static='-non_shared'
6915 lt_prog_compiler_pic='-KPIC'
6916 lt_prog_compiler_static='-Bstatic'
6917 case $cc_basename in
6919 lt_prog_compiler_wl='-Qoption ld ';;
6921 lt_prog_compiler_wl='-Wl,';;
6926 lt_prog_compiler_wl='-Qoption ld '
6927 lt_prog_compiler_pic='-PIC'
6928 lt_prog_compiler_static='-Bstatic'
6931 sysv4 | sysv4.2uw2* | sysv4.3*)
6932 lt_prog_compiler_wl='-Wl,'
6933 lt_prog_compiler_pic='-KPIC'
6934 lt_prog_compiler_static='-Bstatic'
6938 if test -d /usr/nec ;then
6939 lt_prog_compiler_pic='-Kconform_pic'
6940 lt_prog_compiler_static='-Bstatic'
6944 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6945 lt_prog_compiler_wl='-Wl,'
6946 lt_prog_compiler_pic='-KPIC'
6947 lt_prog_compiler_static='-Bstatic'
6951 lt_prog_compiler_wl='-Wl,'
6952 lt_prog_compiler_can_build_shared=no
6956 lt_prog_compiler_pic='-pic'
6957 lt_prog_compiler_static='-Bstatic'
6961 lt_prog_compiler_can_build_shared=no
6967 # For platforms which do not support PIC, -DPIC is meaningless:
6969 lt_prog_compiler_pic=
6972 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6975 echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
6976 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6984 # Check to make sure the PIC flag actually works.
6986 if test -n "$lt_prog_compiler_pic"; then
6987 echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
6988 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6
6989 if test "${lt_prog_compiler_pic_works+set}" = set; then
6990 echo $ECHO_N "(cached
) $ECHO_C" >&6
6992 lt_prog_compiler_pic_works=no
6993 ac_outfile=conftest.$ac_objext
6994 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6995 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6996 # Insert the option either (1) after the last *FLAGS variable, or
6997 # (2) before a word containing "conftest.
", or (3) at the end.
6998 # Note that $ac_compile itself does not contain backslashes and begins
6999 # with a dollar sign (not a hyphen), so the echo should work correctly.
7000 # The option is referenced via a variable to avoid confusing sed.
7001 lt_compile=`echo "$ac_compile" | $SED \
7002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7004 -e 's:$: $lt_compiler_flag:'`
7005 (eval echo "\"\
$as_me:7005: $lt_compile\"" >&5)
7006 (eval "$lt_compile" 2>conftest.err)
7008 cat conftest.err >&5
7009 echo "$as_me:7009: \$?
= $ac_status" >&5
7010 if (exit $ac_status) && test -s "$ac_outfile"; then
7011 # The compiler can only warn and ignore the option if not recognized
7012 # So say no if there are warnings other than the usual output.
7013 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7014 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7015 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7016 lt_prog_compiler_pic_works=yes
7022 echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
7023 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7025 if test x"$lt_prog_compiler_pic_works" = xyes; then
7026 case $lt_prog_compiler_pic in
7028 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7031 lt_prog_compiler_pic=
7032 lt_prog_compiler_can_build_shared=no
7043 # Check to make sure the static flag actually works.
7045 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7046 echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
7047 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6
7048 if test "${lt_prog_compiler_static_works+set}" = set; then
7049 echo $ECHO_N "(cached
) $ECHO_C" >&6
7051 lt_prog_compiler_static_works=no
7052 save_LDFLAGS="$LDFLAGS"
7053 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7054 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7055 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7056 # The linker can only warn and ignore the option if not recognized
7057 # So say no if there are warnings
7058 if test -s conftest.err; then
7059 # Append any errors to the config.log.
7060 cat conftest.err 1>&5
7061 $ECHO "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7062 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7063 if diff conftest.exp conftest.er2 >/dev/null; then
7064 lt_prog_compiler_static_works=yes
7067 lt_prog_compiler_static_works=yes
7071 LDFLAGS="$save_LDFLAGS"
7074 echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
7075 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7077 if test x"$lt_prog_compiler_static_works" = xyes; then
7080 lt_prog_compiler_static=
7089 echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7090 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6
7091 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7092 echo $ECHO_N "(cached
) $ECHO_C" >&6
7094 lt_cv_prog_compiler_c_o=no
7095 $RM -r conftest 2>/dev/null
7099 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7101 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7102 # Insert the option either (1) after the last *FLAGS variable, or
7103 # (2) before a word containing "conftest.
", or (3) at the end.
7104 # Note that $ac_compile itself does not contain backslashes and begins
7105 # with a dollar sign (not a hyphen), so the echo should work correctly.
7106 lt_compile=`echo "$ac_compile" | $SED \
7107 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7108 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7109 -e 's:$: $lt_compiler_flag:'`
7110 (eval echo "\"\
$as_me:7110: $lt_compile\"" >&5)
7111 (eval "$lt_compile" 2>out/conftest.err)
7113 cat out/conftest.err >&5
7114 echo "$as_me:7114: \$?
= $ac_status" >&5
7115 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7117 # The compiler can only warn and ignore the option if not recognized
7118 # So say no if there are warnings
7119 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7120 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7121 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7122 lt_cv_prog_compiler_c_o=yes
7127 # SGI C++ compiler will create directory out/ii_files/ for
7128 # template instantiation
7129 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7130 $RM out/* && rmdir out
7136 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
7137 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7144 echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7145 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6
7146 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7147 echo $ECHO_N "(cached
) $ECHO_C" >&6
7149 lt_cv_prog_compiler_c_o=no
7150 $RM -r conftest 2>/dev/null
7154 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7156 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7157 # Insert the option either (1) after the last *FLAGS variable, or
7158 # (2) before a word containing "conftest.
", or (3) at the end.
7159 # Note that $ac_compile itself does not contain backslashes and begins
7160 # with a dollar sign (not a hyphen), so the echo should work correctly.
7161 lt_compile=`echo "$ac_compile" | $SED \
7162 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7163 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7164 -e 's:$: $lt_compiler_flag:'`
7165 (eval echo "\"\
$as_me:7165: $lt_compile\"" >&5)
7166 (eval "$lt_compile" 2>out/conftest.err)
7168 cat out/conftest.err >&5
7169 echo "$as_me:7169: \$?
= $ac_status" >&5
7170 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7172 # The compiler can only warn and ignore the option if not recognized
7173 # So say no if there are warnings
7174 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7175 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7176 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7177 lt_cv_prog_compiler_c_o=yes
7182 # SGI C++ compiler will create directory out/ii_files/ for
7183 # template instantiation
7184 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7185 $RM out/* && rmdir out
7191 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
7192 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7197 hard_links="nottested
"
7198 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7199 # do not overwrite the value of need_locks provided by the user
7200 echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
7201 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6
7204 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7206 ln conftest.a conftest.b 2>&5 || hard_links=no
7207 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7208 echo "$as_me:$LINENO: result
: $hard_links" >&5
7209 echo "${ECHO_T}$hard_links" >&6
7210 if test "$hard_links" = no; then
7211 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
7212 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
7224 echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
7225 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6
7228 allow_undefined_flag=
7229 always_export_symbols=no
7231 archive_expsym_cmds=
7232 compiler_needs_object=no
7233 enable_shared_with_static_runtimes=no
7234 export_dynamic_flag_spec=
7235 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7236 hardcode_automatic=no
7238 hardcode_direct_absolute=no
7239 hardcode_libdir_flag_spec=
7240 hardcode_libdir_flag_spec_ld=
7241 hardcode_libdir_separator=
7243 hardcode_shlibpath_var=unsupported
7245 link_all_deplibs=unknown
7248 old_archive_from_new_cmds=
7249 old_archive_from_expsyms_cmds=
7250 thread_safe_flag_spec=
7251 whole_archive_flag_spec=
7252 # include_expsyms should be a list of space-separated symbols to be *always*
7253 # included in the symbol list
7255 # exclude_expsyms can be an extended regexp of symbols to exclude
7256 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7257 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7258 # as well as any symbol that contains `d'.
7259 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
7260 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7261 # platforms (ab)use it in PIC code, but their linkers get confused if
7262 # the symbol is explicitly referenced. Since portable code cannot
7263 # rely on this symbol name, it's probably fine to never include it in
7264 # preloaded symbol tables.
7265 extract_expsyms_cmds=
7268 cygwin* | mingw* | pw32*)
7269 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7270 # When not using gcc, we currently assume that we are using
7271 # Microsoft Visual C++.
7272 if test "$GCC" != yes; then
7277 # we just hope/assume this is gcc and not c89 (= MSVC++)
7286 if test "$with_gnu_ld" = yes; then
7287 # If archive_cmds runs LD, not CC, wlarc should be empty
7290 # Set some defaults for GNU ld with shared library support. These
7291 # are reset later if shared libraries are not supported. Putting them
7292 # here allows them to be overridden if necessary.
7293 runpath_var=LD_RUN_PATH
7294 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7295 export_dynamic_flag_spec='${wl}--export-dynamic'
7296 # ancient GNU ld didn't support --whole-archive et. al.
7297 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7298 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7300 whole_archive_flag_spec=
7302 supports_anon_versioning=no
7303 case `$LD -v 2>&1` in
7304 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7305 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7306 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7307 *\ 2.11.*) ;; # other 2.11 versions
7308 *) supports_anon_versioning=yes ;;
7311 # See if GNU ld supports shared libraries.
7314 # On AIX/PPC, the GNU linker is very broken
7315 if test "$host_cpu" != ia64; then
7319 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7320 *** to be unable to reliably create shared libraries on AIX.
7321 *** Therefore, libtool is disabling shared libraries support. If you
7322 *** really care for shared libraries, you may want to modify your PATH
7323 *** so that a non-GNU linker is found, and then restart.
7330 if test "$host_cpu" = m68k; then
7331 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)'
7332 hardcode_libdir_flag_spec
='-L$libdir'
7333 hardcode_minus_L
=yes
7336 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7337 # that the semantics of dynamic libraries on AmigaOS, at least up
7338 # to version 4, is to share data among multiple programs linked
7339 # with the same dynamic library. Since this doesn't match the
7340 # behavior of shared libraries on other platforms, we can't use
7346 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7347 allow_undefined_flag
=unsupported
7348 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7349 # support --undefined. This deserves some investigation. FIXME
7350 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7356 cygwin
* | mingw
* | pw32
*)
7357 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7358 # as there is no search path for DLLs.
7359 hardcode_libdir_flag_spec
='-L$libdir'
7360 allow_undefined_flag
=unsupported
7361 always_export_symbols
=no
7362 enable_shared_with_static_runtimes
=yes
7363 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7365 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7366 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7367 # If the export-symbols file already is a .def file (1st line
7368 # is EXPORTS), use it as is; otherwise, prepend...
7369 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7370 cp $export_symbols $output_objdir/$soname.def;
7372 echo EXPORTS > $output_objdir/$soname.def;
7373 cat $export_symbols >> $output_objdir/$soname.def;
7375 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7383 hardcode_shlibpath_var
=no
7384 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7385 export_dynamic_flag_spec
='${wl}-E'
7386 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7387 # Instead, shared libraries are loaded at an image base (0x10000000 by
7388 # default) and relocated if they conflict, which is a slow very memory
7389 # consuming and fragmenting process. To avoid this, we pick a random,
7390 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7391 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7392 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7393 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'
7396 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7398 if test "$host_os" = linux-dietlibc
; then
7399 case $cc_basename in
7400 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7403 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7404 && test "$tmp_diet" = no
7407 case $cc_basename,$host_cpu in
7408 pgcc
*) # Portland Group C compiler
7409 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'
7410 tmp_addflag
=' $pic_flag'
7412 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7413 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'
7414 tmp_addflag
=' $pic_flag -Mnomain' ;;
7415 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7416 tmp_addflag
=' -i_dynamic' ;;
7417 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7418 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7419 ifc
* | ifort
*) # Intel Fortran compiler
7420 tmp_addflag
=' -nofor_main' ;;
7422 case `$CC -V 2>&1 | sed 5q` in
7423 *Sun\ C
*) # Sun C 5.9
7424 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'
7425 compiler_needs_object
=yes
7426 tmp_sharedflag
='-G' ;;
7427 *Sun\ F
*) # Sun Fortran 8.3
7428 tmp_sharedflag
='-G' ;;
7430 tmp_sharedflag
='-shared' ;;
7432 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7434 if test "x$supports_anon_versioning" = xyes
; then
7435 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7436 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7437 echo "local: *; };" >> $output_objdir/$libname.ver~
7438 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7446 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7447 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7450 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7451 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7456 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7460 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7461 *** create shared libraries on Solaris systems. Therefore, libtool
7462 *** is disabling shared libraries support. We urge you to upgrade GNU
7463 *** binutils to release 2.9.1 or newer. Another option is to modify
7464 *** your PATH or compiler configuration so that the native linker is
7465 *** used, and then restart.
7468 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7469 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7470 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7476 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7477 case `$LD -v 2>&1` in
7478 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7482 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7483 *** reliably create shared libraries on SCO systems. Therefore, libtool
7484 *** is disabling shared libraries support. We urge you to upgrade GNU
7485 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7486 *** your PATH or compiler configuration so that the native linker is
7487 *** used, and then restart.
7492 # For security reasons, it is highly recommended that you always
7493 # use absolute paths for naming shared libraries, and exclude the
7494 # DT_RUNPATH tag from executables and libraries. But doing so
7495 # requires that you compile everything twice, which is a pain.
7496 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7497 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7498 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7499 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7508 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7511 hardcode_shlibpath_var
=no
7515 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7516 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7517 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7524 if test "$ld_shlibs" = no
; then
7526 hardcode_libdir_flag_spec
=
7527 export_dynamic_flag_spec
=
7528 whole_archive_flag_spec
=
7531 # PORTME fill in a description of your system's linker (not GNU ld)
7534 allow_undefined_flag
=unsupported
7535 always_export_symbols
=yes
7536 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'
7537 # Note: this linker hardcodes the directories in LIBPATH if there
7538 # are no directories specified by -L.
7539 hardcode_minus_L
=yes
7540 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7541 # Neither direct hardcoding nor static linking is supported with a
7543 hardcode_direct
=unsupported
7548 if test "$host_cpu" = ia64
; then
7549 # On IA64, the linker does run time linking by default, so we don't
7550 # have to do anything special.
7551 aix_use_runtimelinking
=no
7552 exp_sym_flag
='-Bexport'
7555 # If we're using GNU nm, then we don't want the "-C" option.
7556 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7557 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7558 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'
7560 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'
7562 aix_use_runtimelinking
=no
7564 # Test if we are trying to use run time linking or normal
7565 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7566 # need to do runtime linking.
7567 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7568 for ld_flag
in $LDFLAGS; do
7569 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7570 aix_use_runtimelinking
=yes
7577 exp_sym_flag
='-bexport'
7578 no_entry_flag
='-bnoentry'
7581 # When large executables or shared objects are built, AIX ld can
7582 # have problems creating the table of contents. If linking a library
7583 # or program results in "error TOC overflow" add -mminimal-toc to
7584 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7585 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7589 hardcode_direct_absolute
=yes
7590 hardcode_libdir_separator
=':'
7591 link_all_deplibs
=yes
7592 file_list_spec
='${wl}-f,'
7594 if test "$GCC" = yes; then
7595 case $host_os in aix4.
[012]|aix4.
[012].
*)
7596 # We only want to do this on AIX 4.2 and lower, the check
7597 # below for broken collect2 doesn't work under 4.3+
7598 collect2name
=`${CC} -print-prog-name=collect2`
7599 if test -f "$collect2name" &&
7600 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7602 # We have reworked collect2
7605 # We have old collect2
7606 hardcode_direct
=unsupported
7607 # It fails to find uninstalled libraries when the uninstalled
7608 # path is not listed in the libpath. Setting hardcode_minus_L
7609 # to unsupported forces relinking
7610 hardcode_minus_L
=yes
7611 hardcode_libdir_flag_spec
='-L$libdir'
7612 hardcode_libdir_separator
=
7616 shared_flag
='-shared'
7617 if test "$aix_use_runtimelinking" = yes; then
7618 shared_flag
="$shared_flag "'${wl}-G'
7622 if test "$host_cpu" = ia64
; then
7623 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7624 # chokes on -Wl,-G. The following line is correct:
7627 if test "$aix_use_runtimelinking" = yes; then
7628 shared_flag
='${wl}-G'
7630 shared_flag
='${wl}-bM:SRE'
7635 # It seems that -bexpall does not export symbols beginning with
7636 # underscore (_), so it is better to generate a list of symbols to export.
7637 always_export_symbols
=yes
7638 if test "$aix_use_runtimelinking" = yes; then
7639 # Warning - without using the other runtime loading flags (-brtl),
7640 # -berok will link without error, but may produce a broken library.
7641 allow_undefined_flag
='-berok'
7642 # Determine the default libpath from the value encoded in an
7644 cat >conftest.
$ac_ext <<_ACEOF
7647 cat confdefs.h
>>conftest.
$ac_ext
7648 cat >>conftest.
$ac_ext <<_ACEOF
7649 /* end confdefs.h. */
7659 rm -f conftest.
$ac_objext conftest
$ac_exeext
7660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7661 (eval $ac_link) 2>conftest.er1
7663 grep -v '^ *+' conftest.er1
>conftest.err
7665 cat conftest.err
>&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); } &&
7668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); }; } &&
7674 { ac_try
='test -s conftest$ac_exeext'
7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); }; }; then
7681 lt_aix_libpath_sed
='
7682 /Import File Strings/,/^$/ {
7688 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7689 # Check for a 64-bit object if we didn't find anything.
7690 if test -z "$aix_libpath"; then
7691 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7694 echo "$as_me: failed program was:" >&5
7695 sed 's/^/| /' conftest.
$ac_ext >&5
7698 rm -f conftest.err conftest.
$ac_objext \
7699 conftest
$ac_exeext conftest.
$ac_ext
7700 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7702 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7703 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"
7705 if test "$host_cpu" = ia64
; then
7706 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7707 allow_undefined_flag
="-z nodefs"
7708 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"
7710 # Determine the default libpath from the value encoded in an
7712 cat >conftest.
$ac_ext <<_ACEOF
7715 cat confdefs.h
>>conftest.
$ac_ext
7716 cat >>conftest.
$ac_ext <<_ACEOF
7717 /* end confdefs.h. */
7727 rm -f conftest.
$ac_objext conftest
$ac_exeext
7728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7729 (eval $ac_link) 2>conftest.er1
7731 grep -v '^ *+' conftest.er1
>conftest.err
7733 cat conftest.err
>&5
7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7735 (exit $ac_status); } &&
7736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); }; } &&
7742 { ac_try
='test -s conftest$ac_exeext'
7743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); }; }; then
7749 lt_aix_libpath_sed
='
7750 /Import File Strings/,/^$/ {
7756 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7757 # Check for a 64-bit object if we didn't find anything.
7758 if test -z "$aix_libpath"; then
7759 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7762 echo "$as_me: failed program was:" >&5
7763 sed 's/^/| /' conftest.
$ac_ext >&5
7766 rm -f conftest.err conftest.
$ac_objext \
7767 conftest
$ac_exeext conftest.
$ac_ext
7768 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7770 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7771 # Warning - without using the other run time loading flags,
7772 # -berok will link without error, but may produce a broken library.
7773 no_undefined_flag
=' ${wl}-bernotok'
7774 allow_undefined_flag
=' ${wl}-berok'
7775 # Exported symbols can be pulled into shared objects from archives
7776 whole_archive_flag_spec
='$convenience'
7777 archive_cmds_need_lc
=yes
7778 # This is similar to how AIX traditionally builds its shared libraries.
7779 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'
7785 if test "$host_cpu" = m68k
; then
7786 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)'
7787 hardcode_libdir_flag_spec
='-L$libdir'
7788 hardcode_minus_L
=yes
7790 # see comment about different semantics on the GNU ld section
7795 export_dynamic_flag_spec
=-rdynamic
7798 cygwin
* | mingw
* | pw32
*)
7799 # When not using gcc, we currently assume that we are using
7800 # Microsoft Visual C++.
7801 # hardcode_libdir_flag_spec is actually meaningless, as there is
7802 # no search path for DLLs.
7803 hardcode_libdir_flag_spec
=' '
7804 allow_undefined_flag
=unsupported
7805 # Tell ltmain to make .lib files, not .a files.
7807 # Tell ltmain to make .dll files, not .so files.
7809 # FIXME: Setting linknames here is a bad hack.
7810 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7811 # The linker will automatically build a .lib file if we build a DLL.
7812 old_archive_from_new_cmds
='true'
7813 # FIXME: Should let the user specify the lib program.
7814 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7815 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7816 enable_shared_with_static_runtimes
=yes
7819 darwin
* | rhapsody
*)
7821 rhapsody
* | darwin1.
[012])
7822 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7825 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7827 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7830 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7835 archive_cmds_need_lc
=no
7837 hardcode_automatic
=yes
7838 hardcode_shlibpath_var
=unsupported
7839 whole_archive_flag_spec
=''
7840 link_all_deplibs
=yes
7841 if test "$GCC" = yes ; then
7842 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 lt_cv_apple_cc_single_mod
=no
7846 if test -z "${LT_MULTI_MODULE}"; then
7847 # By default we will add the -single_module flag. You can override
7848 # by either setting the environment variable LT_MULTI_MODULE
7849 # non-empty at configure time, or by adding -multi-module to the
7851 echo "int foo(void){return 1;}" > conftest.c
7852 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7853 -dynamiclib ${wl}-single_module conftest.c
7854 if test -f libconftest.dylib
; then
7855 lt_cv_apple_cc_single_mod
=yes
7856 rm libconftest.dylib
7862 output_verbose_link_cmd
=echo
7863 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
7864 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7865 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}'
7867 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7868 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}'
7870 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7871 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}'
7873 case $cc_basename in
7875 output_verbose_link_cmd
=echo
7876 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7877 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7878 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7879 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}'
7880 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}'
7890 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7891 hardcode_libdir_flag_spec
='-L$libdir'
7892 hardcode_shlibpath_var
=no
7899 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7900 # support. Future versions do this automatically, but an explicit c++rt0.o
7901 # does not break anything, and helps significantly (at the cost of a little
7904 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7905 hardcode_libdir_flag_spec
='-R$libdir'
7907 hardcode_shlibpath_var
=no
7910 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7912 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7914 hardcode_minus_L
=yes
7915 hardcode_shlibpath_var
=no
7918 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7919 freebsd
* | dragonfly
*)
7920 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7921 hardcode_libdir_flag_spec
='-R$libdir'
7923 hardcode_shlibpath_var
=no
7927 if test "$GCC" = yes; then
7928 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'
7930 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'
7932 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7933 hardcode_libdir_separator
=:
7936 # hardcode_minus_L: Not really in the search PATH,
7937 # but as the default location of the library.
7938 hardcode_minus_L
=yes
7939 export_dynamic_flag_spec
='${wl}-E'
7943 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7944 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7946 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7948 if test "$with_gnu_ld" = no
; then
7949 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7950 hardcode_libdir_flag_spec_ld
='+b $libdir'
7951 hardcode_libdir_separator
=:
7953 hardcode_direct_absolute
=yes
7954 export_dynamic_flag_spec
='${wl}-E'
7955 # hardcode_minus_L: Not really in the search PATH,
7956 # but as the default location of the library.
7957 hardcode_minus_L
=yes
7962 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7965 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7968 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7971 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7977 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7980 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7983 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7987 if test "$with_gnu_ld" = no
; then
7988 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7989 hardcode_libdir_separator
=:
7994 hardcode_shlibpath_var
=no
7998 hardcode_direct_absolute
=yes
7999 export_dynamic_flag_spec
='${wl}-E'
8001 # hardcode_minus_L: Not really in the search PATH,
8002 # but as the default location of the library.
8003 hardcode_minus_L
=yes
8009 irix5
* | irix6
* | nonstopux
*)
8010 if test "$GCC" = yes; then
8011 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'
8012 # Try to use the -exported_symbol ld option, if it does not
8013 # work, assume that -exports_file does not work either and
8014 # implicitly export all symbols.
8015 save_LDFLAGS
="$LDFLAGS"
8016 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8017 cat >conftest.
$ac_ext <<_ACEOF
8020 rm -f conftest.
$ac_objext conftest
$ac_exeext
8021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8022 (eval $ac_link) 2>conftest.er1
8024 grep -v '^ *+' conftest.er1
>conftest.err
8026 cat conftest.err
>&5
8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); } &&
8029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); }; } &&
8035 { ac_try
='test -s conftest$ac_exeext'
8036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); }; }; then
8041 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'
8044 echo "$as_me: failed program was:" >&5
8045 sed 's/^/| /' conftest.
$ac_ext >&5
8048 rm -f conftest.err conftest.
$ac_objext \
8049 conftest
$ac_exeext conftest.
$ac_ext
8050 LDFLAGS
="$save_LDFLAGS"
8052 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'
8053 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'
8055 archive_cmds_need_lc
='no'
8056 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8057 hardcode_libdir_separator
=:
8059 link_all_deplibs
=yes
8063 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8064 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8066 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8068 hardcode_libdir_flag_spec
='-R$libdir'
8070 hardcode_shlibpath_var
=no
8074 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8076 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8077 hardcode_libdir_separator
=:
8078 hardcode_shlibpath_var
=no
8086 hardcode_shlibpath_var
=no
8087 hardcode_direct_absolute
=yes
8088 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8089 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8090 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8091 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8092 export_dynamic_flag_spec
='${wl}-E'
8095 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8096 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8097 hardcode_libdir_flag_spec
='-R$libdir'
8100 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8101 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8108 hardcode_libdir_flag_spec
='-L$libdir'
8109 hardcode_minus_L
=yes
8110 allow_undefined_flag
=unsupported
8111 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'
8112 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8116 if test "$GCC" = yes; then
8117 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8118 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'
8120 allow_undefined_flag
=' -expect_unresolved \*'
8121 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'
8123 archive_cmds_need_lc
='no'
8124 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8125 hardcode_libdir_separator
=:
8128 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8129 if test "$GCC" = yes; then
8130 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8131 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'
8132 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8134 allow_undefined_flag
=' -expect_unresolved \*'
8135 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'
8136 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~
8137 $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'
8139 # Both c and cxx compiler support -rpath directly
8140 hardcode_libdir_flag_spec
='-rpath $libdir'
8142 archive_cmds_need_lc
='no'
8143 hardcode_libdir_separator
=:
8147 no_undefined_flag
=' -z defs'
8148 if test "$GCC" = yes; then
8150 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8151 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8152 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8154 case `$CC -V 2>&1` in
8157 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8158 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8159 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8163 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8164 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8165 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8169 hardcode_libdir_flag_spec
='-R$libdir'
8170 hardcode_shlibpath_var
=no
8172 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8174 # The compiler driver will combine and reorder linker options,
8175 # but understands `-z linker_flag'. GCC discards it without `$wl',
8176 # but is careful enough not to reorder.
8177 # Supported since Solaris 2.6 (maybe 2.5.1?)
8178 if test "$GCC" = yes; then
8179 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8181 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8185 link_all_deplibs
=yes
8189 if test "x$host_vendor" = xsequent
; then
8190 # Use $CC to link under sequent, because it throws in some extra .o
8191 # files that make .init and .fini sections work.
8192 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8194 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8196 hardcode_libdir_flag_spec
='-L$libdir'
8198 hardcode_minus_L
=yes
8199 hardcode_shlibpath_var
=no
8203 case $host_vendor in
8205 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8206 hardcode_direct
=yes # is this really true???
8209 ## LD is ld it makes a PLAMLIB
8210 ## CC just makes a GrossModule.
8211 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8212 reload_cmds
='$CC -r -o $output$reload_objs'
8216 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8217 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8220 runpath_var
='LD_RUN_PATH'
8221 hardcode_shlibpath_var
=no
8225 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8226 hardcode_shlibpath_var
=no
8227 export_dynamic_flag_spec
='-Bexport'
8231 if test -d /usr
/nec
; then
8232 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8233 hardcode_shlibpath_var
=no
8234 runpath_var
=LD_RUN_PATH
8235 hardcode_runpath_var
=yes
8240 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8241 no_undefined_flag
='${wl}-z,text'
8242 archive_cmds_need_lc
=no
8243 hardcode_shlibpath_var
=no
8244 runpath_var
='LD_RUN_PATH'
8246 if test "$GCC" = yes; then
8247 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8248 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8250 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8251 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8255 sysv5
* | sco3.2v5
* | sco5v6
*)
8256 # Note: We can NOT use -z defs as we might desire, because we do not
8257 # link with -lc, and that would cause any symbols used from libc to
8258 # always be unresolved, which means just about no library would
8259 # ever link correctly. If we're not using GNU ld we use -z text
8260 # though, which does catch some bad symbols but isn't as heavy-handed
8262 no_undefined_flag
='${wl}-z,text'
8263 allow_undefined_flag
='${wl}-z,nodefs'
8264 archive_cmds_need_lc
=no
8265 hardcode_shlibpath_var
=no
8266 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8267 hardcode_libdir_separator
=':'
8268 link_all_deplibs
=yes
8269 export_dynamic_flag_spec
='${wl}-Bexport'
8270 runpath_var
='LD_RUN_PATH'
8272 if test "$GCC" = yes; then
8273 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8274 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8276 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8277 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8282 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8283 hardcode_libdir_flag_spec
='-L$libdir'
8284 hardcode_shlibpath_var
=no
8292 if test x
$host_vendor = xsni
; then
8294 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8295 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8301 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8302 echo "${ECHO_T}$ld_shlibs" >&6
8303 test "$ld_shlibs" = no
&& can_build_shared
=no
8305 with_gnu_ld
=$with_gnu_ld
8322 # Do we need to explicitly link libc?
8324 case "x$archive_cmds_need_lc" in
8326 # Assume -lc should be added
8327 archive_cmds_need_lc
=yes
8329 if test "$enable_shared" = yes && test "$GCC" = yes; then
8330 case $archive_cmds in
8332 # FIXME: we may have to deal with multi-command sequences.
8335 # Test whether the compiler implicitly links with -lc since on some
8336 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8337 # to ld, don't add -lc before -lgcc.
8338 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8339 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8341 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8344 (eval $ac_compile) 2>&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); } 2>conftest.err
; then
8350 libobjs
=conftest.
$ac_objext
8352 wl
=$lt_prog_compiler_wl
8353 pic_flag
=$lt_prog_compiler_pic
8359 lt_save_allow_undefined_flag
=$allow_undefined_flag
8360 allow_undefined_flag
=
8361 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8362 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); }
8367 archive_cmds_need_lc
=no
8369 archive_cmds_need_lc
=yes
8371 allow_undefined_flag
=$lt_save_allow_undefined_flag
8373 cat conftest.err
1>&5
8376 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8377 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8540 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8541 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8543 if test "$withGCC" = yes; then
8545 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8546 *) lt_awk_arg
="/^libraries:/" ;;
8548 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8549 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8550 # if the path contains ";" then we assume it to be the separator
8551 # otherwise default to the standard path separator (i.e. ":") - it is
8552 # assumed that no part of a normal pathname contains ";" but that should
8553 # okay in the real world where ";" in dirpaths is itself problematic.
8554 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8556 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8558 # Ok, now we have the path, separated by spaces, we can step through it
8559 # and add multilib dir if necessary.
8560 lt_tmp_lt_search_path_spec
=
8561 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8562 for lt_sys_path
in $lt_search_path_spec; do
8563 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8564 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8566 test -d "$lt_sys_path" && \
8567 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8570 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8571 BEGIN {RS=" "; FS="/|\n";} {
8574 for (lt_i = NF; lt_i > 0; lt_i--) {
8575 if ($lt_i != "" && $lt_i != ".") {
8576 if ($lt_i == "..") {
8579 if (lt_count == 0) {
8580 lt_foo="/" $lt_i lt_foo;
8587 if (lt_foo != "") { lt_freq[lt_foo]++; }
8588 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8590 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8592 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8595 libname_spec
='lib$name'
8603 shlibpath_overrides_runpath
=unknown
8605 dynamic_linker
="$host_os ld.so"
8606 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8607 need_lib_prefix
=unknown
8608 hardcode_into_libs
=no
8610 # when you set need_version to no, make sure it does not cause -set_version
8611 # flags to be left without arguments
8612 need_version
=unknown
8617 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8618 shlibpath_var
=LIBPATH
8620 # AIX 3 has no versioning support, so we append a major version to the name.
8621 soname_spec
='${libname}${release}${shared_ext}$major'
8628 hardcode_into_libs
=yes
8629 if test "$host_cpu" = ia64
; then
8630 # AIX 5 supports IA64
8631 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8632 shlibpath_var
=LD_LIBRARY_PATH
8634 # With GCC up to 2.95.x, collect2 would create an import file
8635 # for dependence libraries. The import file would start with
8636 # the line `#! .'. This would cause the generated library to
8637 # depend on `.', always an invalid library. This was fixed in
8638 # development snapshots of GCC prior to 3.0.
8640 aix4 | aix4.
[01] | aix4.
[01].
*)
8641 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8643 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8650 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8651 # soname into executable. Probably we can add versioning support to
8652 # collect2, so additional links can be useful in future.
8653 if test "$aix_use_runtimelinking" = yes; then
8654 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8655 # instead of lib<name>.a to let people know that these are not
8656 # typical AIX shared libraries.
8657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8659 # We preserve .a as extension for shared libraries through AIX4.2
8660 # and later when we are not doing run time linking.
8661 library_names_spec
='${libname}${release}.a $libname.a'
8662 soname_spec
='${libname}${release}${shared_ext}$major'
8664 shlibpath_var
=LIBPATH
8669 if test "$host_cpu" = m68k
; then
8670 library_names_spec
='$libname.ixlibrary $libname.a'
8671 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8672 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'
8679 library_names_spec
='${libname}${shared_ext}'
8680 dynamic_linker
="$host_os ld.so"
8681 shlibpath_var
=LIBRARY_PATH
8687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8688 soname_spec
='${libname}${release}${shared_ext}$major'
8689 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8690 shlibpath_var
=LD_LIBRARY_PATH
8691 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8692 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8693 # the default ld.so.conf also contains /usr/contrib/lib and
8694 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8695 # libtool to hard-code these into programs
8698 cygwin
* | mingw
* | pw32
*)
8699 version_type
=windows
8704 case $withGCC,$host_os in
8705 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8706 library_names_spec
='$libname.dll.a'
8707 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8708 postinstall_cmds
='base_file=`basename \${file}`~
8709 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8710 dldir=$destdir/`dirname \$dlpath`~
8711 test -d \$dldir || mkdir -p \$dldir~
8712 $install_prog $dir/$dlname \$dldir/$dlname~
8713 chmod a+x \$dldir/$dlname~
8714 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8715 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8717 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8718 dlpath=$dir/\$dldll~
8720 shlibpath_overrides_runpath
=yes
8724 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8725 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8726 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8729 # MinGW DLLs use traditional 'lib' prefix
8730 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8731 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8732 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8733 # It is most probably a Windows format PATH printed by
8734 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8735 # path with ; separators, and with drive letters. We can handle the
8736 # drive letters (cygwin fileutils understands them), so leave them,
8737 # especially as we might pass files found there to a mingw objdump,
8738 # which wouldn't understand a cygwinified path. Ahh.
8739 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8741 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8745 # pw32 DLLs use 'pw' prefix rather than 'lib'
8746 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8752 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8755 dynamic_linker
='Win32 ld.exe'
8756 # FIXME: first we should search . and the directory the executable is in
8760 darwin
* | rhapsody
*)
8761 dynamic_linker
="$host_os dyld"
8765 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8766 soname_spec
='${libname}${release}${major}$shared_ext'
8767 shlibpath_overrides_runpath
=yes
8768 shlibpath_var
=DYLD_LIBRARY_PATH
8769 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8771 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8772 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8780 soname_spec
='${libname}${release}${shared_ext}$major'
8781 shlibpath_var
=LD_LIBRARY_PATH
8788 freebsd
* | dragonfly
*)
8789 # DragonFly does not have aout. When/if they implement a new
8790 # versioning mechanism, adjust this.
8791 if test -x /usr
/bin
/objformat
; then
8792 objformat
=`/usr/bin/objformat`
8795 freebsd
[123]*) objformat
=aout
;;
8799 version_type
=freebsd-
$objformat
8800 case $version_type in
8802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8807 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8811 shlibpath_var
=LD_LIBRARY_PATH
8814 shlibpath_overrides_runpath
=yes
8816 freebsd3.
[01]* | freebsdelf3.
[01]*)
8817 shlibpath_overrides_runpath
=yes
8818 hardcode_into_libs
=yes
8820 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8821 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8822 shlibpath_overrides_runpath
=no
8823 hardcode_into_libs
=yes
8825 *) # from 4.6 on, and DragonFly
8826 shlibpath_overrides_runpath
=yes
8827 hardcode_into_libs
=yes
8836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8837 soname_spec
='${libname}${release}${shared_ext}$major'
8838 shlibpath_var
=LD_LIBRARY_PATH
8839 hardcode_into_libs
=yes
8842 hpux9
* | hpux10
* | hpux11
*)
8843 # Give a soname corresponding to the major version so that dld.sl refuses to
8844 # link against other versions.
8851 hardcode_into_libs
=yes
8852 dynamic_linker
="$host_os dld.so"
8853 shlibpath_var
=LD_LIBRARY_PATH
8854 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8856 soname_spec
='${libname}${release}${shared_ext}$major'
8857 if test "X$HPUX_IA64_MODE" = X32
; then
8858 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8860 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8862 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8866 hardcode_into_libs
=yes
8867 dynamic_linker
="$host_os dld.sl"
8868 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8869 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8871 soname_spec
='${libname}${release}${shared_ext}$major'
8872 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8873 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8877 dynamic_linker
="$host_os dld.sl"
8878 shlibpath_var
=SHLIB_PATH
8879 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8881 soname_spec
='${libname}${release}${shared_ext}$major'
8884 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8885 postinstall_cmds
='chmod 555 $lib'
8892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8893 soname_spec
='${libname}${release}${shared_ext}$major'
8894 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8895 shlibpath_var
=LD_LIBRARY_PATH
8896 shlibpath_overrides_runpath
=no
8897 hardcode_into_libs
=yes
8900 irix5
* | irix6
* | nonstopux
*)
8902 nonstopux
*) version_type
=nonstopux
;;
8904 if test "$lt_cv_prog_gnu_ld" = yes; then
8912 soname_spec
='${libname}${release}${shared_ext}$major'
8913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8915 irix5
* | nonstopux
*)
8919 case $LD in # libtool.m4 will add one of these switches to LD
8920 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8921 libsuff
= shlibsuff
= libmagic
=32-bit;;
8922 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8923 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8924 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8925 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8926 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8930 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8931 shlibpath_overrides_runpath
=no
8932 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8933 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8934 hardcode_into_libs
=yes
8937 # No shared lib support for Linux oldld, aout, or coff.
8938 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8942 # This must be Linux ELF.
8943 linux
* | k
*bsd
*-gnu)
8947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8948 soname_spec
='${libname}${release}${shared_ext}$major'
8949 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8950 shlibpath_var
=LD_LIBRARY_PATH
8951 shlibpath_overrides_runpath
=no
8952 # Some binutils ld are patched to set DT_RUNPATH
8953 save_LDFLAGS
=$LDFLAGS
8955 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8956 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8957 cat >conftest.
$ac_ext <<_ACEOF
8960 cat confdefs.h
>>conftest.
$ac_ext
8961 cat >>conftest.
$ac_ext <<_ACEOF
8962 /* end confdefs.h. */
8972 rm -f conftest.
$ac_objext conftest
$ac_exeext
8973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8974 (eval $ac_link) 2>conftest.er1
8976 grep -v '^ *+' conftest.er1
>conftest.err
8978 cat conftest.err
>&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); } &&
8981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); }; } &&
8987 { ac_try
='test -s conftest$ac_exeext'
8988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); }; }; then
8993 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
8994 shlibpath_overrides_runpath
=yes
8998 echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.
$ac_ext >&5
9002 rm -f conftest.err conftest.
$ac_objext \
9003 conftest
$ac_exeext conftest.
$ac_ext
9004 LDFLAGS
=$save_LDFLAGS
9007 # This implies no fast_install, which is unacceptable.
9008 # Some rework will be needed to allow for fast_install
9009 # before this can be enabled.
9010 hardcode_into_libs
=yes
9012 # Append ld.so.conf contents to the search path
9013 if test -f /etc
/ld.so.conf
; then
9014 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' ' '`
9015 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9018 # We used to test for /lib/ld.so.1 and disable shared libraries on
9019 # powerpc, because MkLinux only supported shared libraries with the
9020 # GNU dynamic linker. Since this was broken with cross compilers,
9021 # most powerpc-linux boxes support dynamic linking these days and
9022 # people can always --disable-shared, the test was removed, and we
9023 # assume the GNU/Linux dynamic linker is in use.
9024 dynamic_linker
='GNU/Linux ld.so'
9031 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9033 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9034 dynamic_linker
='NetBSD (a.out) ld.so'
9036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9037 soname_spec
='${libname}${release}${shared_ext}$major'
9038 dynamic_linker
='NetBSD ld.elf_so'
9040 shlibpath_var
=LD_LIBRARY_PATH
9041 shlibpath_overrides_runpath
=yes
9042 hardcode_into_libs
=yes
9047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9048 shlibpath_var
=LD_LIBRARY_PATH
9049 shlibpath_overrides_runpath
=yes
9056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9057 soname_spec
='${libname}${release}${shared_ext}$major'
9058 shlibpath_var
=LD_LIBRARY_PATH
9059 shlibpath_overrides_runpath
=no
9060 hardcode_into_libs
=yes
9061 dynamic_linker
='ldqnx.so'
9066 sys_lib_dlsearch_path_spec
="/usr/lib"
9068 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9070 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9071 *) need_version
=no
;;
9073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9074 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9075 shlibpath_var
=LD_LIBRARY_PATH
9076 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9078 openbsd2.
[89] | openbsd2.
[89].
*)
9079 shlibpath_overrides_runpath
=no
9082 shlibpath_overrides_runpath
=yes
9086 shlibpath_overrides_runpath
=yes
9091 libname_spec
='$name'
9094 library_names_spec
='$libname${shared_ext} $libname.a'
9095 dynamic_linker
='OS/2 ld.exe'
9096 shlibpath_var
=LIBPATH
9099 osf3
* | osf4
* | osf5
*)
9103 soname_spec
='${libname}${release}${shared_ext}$major'
9104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9105 shlibpath_var
=LD_LIBRARY_PATH
9106 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9107 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9119 soname_spec
='${libname}${release}${shared_ext}$major'
9120 shlibpath_var
=LD_LIBRARY_PATH
9121 shlibpath_overrides_runpath
=yes
9122 hardcode_into_libs
=yes
9123 # ldd complains unless libraries are executable
9124 postinstall_cmds
='chmod +x $lib'
9129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9130 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9131 shlibpath_var
=LD_LIBRARY_PATH
9132 shlibpath_overrides_runpath
=yes
9133 if test "$with_gnu_ld" = yes; then
9141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9142 soname_spec
='${libname}${release}${shared_ext}$major'
9143 shlibpath_var
=LD_LIBRARY_PATH
9144 case $host_vendor in
9146 shlibpath_overrides_runpath
=no
9148 runpath_var
=LD_RUN_PATH
9156 shlibpath_overrides_runpath
=no
9157 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9163 if test -d /usr
/nec
;then
9165 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9166 soname_spec
='$libname${shared_ext}.$major'
9167 shlibpath_var
=LD_LIBRARY_PATH
9171 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9172 version_type
=freebsd-elf
9175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9176 soname_spec
='${libname}${release}${shared_ext}$major'
9177 shlibpath_var
=LD_LIBRARY_PATH
9178 shlibpath_overrides_runpath
=yes
9179 hardcode_into_libs
=yes
9180 if test "$with_gnu_ld" = yes; then
9181 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9183 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9186 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9190 sys_lib_dlsearch_path_spec
='/usr/lib'
9194 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9198 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9199 shlibpath_var
=LD_LIBRARY_PATH
9200 shlibpath_overrides_runpath
=no
9201 hardcode_into_libs
=yes
9206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9207 soname_spec
='${libname}${release}${shared_ext}$major'
9208 shlibpath_var
=LD_LIBRARY_PATH
9215 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9216 echo "${ECHO_T}$dynamic_linker" >&6
9217 test "$dynamic_linker" = no
&& can_build_shared
=no
9219 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9220 if test "$GCC" = yes; then
9221 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9310 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9311 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9313 if test -n "$hardcode_libdir_flag_spec" ||
9314 test -n "$runpath_var" ||
9315 test "X$hardcode_automatic" = "Xyes" ; then
9317 # We can hardcode non-existent directories.
9318 if test "$hardcode_direct" != no
&&
9319 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9320 # have to relink, otherwise we might link with an installed library
9321 # when we should be linking with a yet-to-be-installed one
9322 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9323 test "$hardcode_minus_L" != no
; then
9324 # Linking always hardcodes the temporary library directory.
9325 hardcode_action
=relink
9327 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9328 hardcode_action
=immediate
9331 # We cannot hardcode anything, or else we can only hardcode existing
9333 hardcode_action
=unsupported
9335 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9336 echo "${ECHO_T}$hardcode_action" >&6
9338 if test "$hardcode_action" = relink ||
9339 test "$inherit_rpath" = yes; then
9340 # Fast installation is not supported
9341 enable_fast_install
=no
9342 elif test "$shlibpath_overrides_runpath" = yes ||
9343 test "$enable_shared" = no
; then
9344 # Fast installation is not necessary
9345 enable_fast_install
=needless
9353 if test "x$enable_dlopen" != xyes
; then
9354 enable_dlopen
=unknown
9355 enable_dlopen_self
=unknown
9356 enable_dlopen_self_static
=unknown
9363 lt_cv_dlopen
="load_add_on"
9365 lt_cv_dlopen_self
=yes
9369 lt_cv_dlopen
="LoadLibrary"
9374 lt_cv_dlopen
="dlopen"
9379 # if libdl is installed we need to link against it
9380 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9381 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9382 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9383 echo $ECHO_N "(cached) $ECHO_C" >&6
9385 ac_check_lib_save_LIBS
=$LIBS
9387 cat >conftest.
$ac_ext <<_ACEOF
9390 cat confdefs.h
>>conftest.
$ac_ext
9391 cat >>conftest.
$ac_ext <<_ACEOF
9392 /* end confdefs.h. */
9394 /* Override any gcc2 internal prototype to avoid an error. */
9398 /* We use char because int might match the return type of a gcc2
9399 builtin and then its argument prototype would still apply. */
9409 rm -f conftest.
$ac_objext conftest
$ac_exeext
9410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9411 (eval $ac_link) 2>conftest.er1
9413 grep -v '^ *+' conftest.er1
>conftest.err
9415 cat conftest.err
>&5
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); } &&
9418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 (exit $ac_status); }; } &&
9424 { ac_try
='test -s conftest$ac_exeext'
9425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 (exit $ac_status); }; }; then
9430 ac_cv_lib_dl_dlopen
=yes
9432 echo "$as_me: failed program was:" >&5
9433 sed 's/^/| /' conftest.
$ac_ext >&5
9435 ac_cv_lib_dl_dlopen
=no
9437 rm -f conftest.err conftest.
$ac_objext \
9438 conftest
$ac_exeext conftest.
$ac_ext
9439 LIBS
=$ac_check_lib_save_LIBS
9441 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9442 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9443 if test $ac_cv_lib_dl_dlopen = yes; then
9444 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9449 lt_cv_dlopen_self
=yes
9456 echo "$as_me:$LINENO: checking for shl_load" >&5
9457 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9458 if test "${ac_cv_func_shl_load+set}" = set; then
9459 echo $ECHO_N "(cached) $ECHO_C" >&6
9461 cat >conftest.
$ac_ext <<_ACEOF
9464 cat confdefs.h
>>conftest.
$ac_ext
9465 cat >>conftest.
$ac_ext <<_ACEOF
9466 /* end confdefs.h. */
9467 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9469 #define shl_load innocuous_shl_load
9471 /* System header to define __stub macros and hopefully few prototypes,
9472 which can conflict with char shl_load (); below.
9473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9474 <limits.h> exists even on freestanding compilers. */
9477 # include <limits.h>
9479 # include <assert.h>
9484 /* Override any gcc2 internal prototype to avoid an error. */
9489 /* We use char because int might match the return type of a gcc2
9490 builtin and then its argument prototype would still apply. */
9492 /* The GNU C library defines this for functions which it implements
9493 to always fail with ENOSYS. Some functions are actually named
9494 something starting with __ and the normal name is an alias. */
9495 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9498 char (*f) () = shl_load;
9507 return f != shl_load;
9512 rm -f conftest.
$ac_objext conftest
$ac_exeext
9513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9514 (eval $ac_link) 2>conftest.er1
9516 grep -v '^ *+' conftest.er1
>conftest.err
9518 cat conftest.err
>&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); } &&
9521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); }; } &&
9527 { ac_try
='test -s conftest$ac_exeext'
9528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); }; }; then
9533 ac_cv_func_shl_load
=yes
9535 echo "$as_me: failed program was:" >&5
9536 sed 's/^/| /' conftest.
$ac_ext >&5
9538 ac_cv_func_shl_load
=no
9540 rm -f conftest.err conftest.
$ac_objext \
9541 conftest
$ac_exeext conftest.
$ac_ext
9543 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9544 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9545 if test $ac_cv_func_shl_load = yes; then
9546 lt_cv_dlopen
="shl_load"
9548 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9549 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9550 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9551 echo $ECHO_N "(cached) $ECHO_C" >&6
9553 ac_check_lib_save_LIBS
=$LIBS
9555 cat >conftest.
$ac_ext <<_ACEOF
9558 cat confdefs.h
>>conftest.
$ac_ext
9559 cat >>conftest.
$ac_ext <<_ACEOF
9560 /* end confdefs.h. */
9562 /* Override any gcc2 internal prototype to avoid an error. */
9566 /* We use char because int might match the return type of a gcc2
9567 builtin and then its argument prototype would still apply. */
9577 rm -f conftest.
$ac_objext conftest
$ac_exeext
9578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9579 (eval $ac_link) 2>conftest.er1
9581 grep -v '^ *+' conftest.er1
>conftest.err
9583 cat conftest.err
>&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); } &&
9586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 (exit $ac_status); }; } &&
9592 { ac_try
='test -s conftest$ac_exeext'
9593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); }; }; then
9598 ac_cv_lib_dld_shl_load
=yes
9600 echo "$as_me: failed program was:" >&5
9601 sed 's/^/| /' conftest.
$ac_ext >&5
9603 ac_cv_lib_dld_shl_load
=no
9605 rm -f conftest.err conftest.
$ac_objext \
9606 conftest
$ac_exeext conftest.
$ac_ext
9607 LIBS
=$ac_check_lib_save_LIBS
9609 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9610 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9611 if test $ac_cv_lib_dld_shl_load = yes; then
9612 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9614 echo "$as_me:$LINENO: checking for dlopen" >&5
9615 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9616 if test "${ac_cv_func_dlopen+set}" = set; then
9617 echo $ECHO_N "(cached) $ECHO_C" >&6
9619 cat >conftest.
$ac_ext <<_ACEOF
9622 cat confdefs.h
>>conftest.
$ac_ext
9623 cat >>conftest.
$ac_ext <<_ACEOF
9624 /* end confdefs.h. */
9625 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9627 #define dlopen innocuous_dlopen
9629 /* System header to define __stub macros and hopefully few prototypes,
9630 which can conflict with char dlopen (); below.
9631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9632 <limits.h> exists even on freestanding compilers. */
9635 # include <limits.h>
9637 # include <assert.h>
9642 /* Override any gcc2 internal prototype to avoid an error. */
9647 /* We use char because int might match the return type of a gcc2
9648 builtin and then its argument prototype would still apply. */
9650 /* The GNU C library defines this for functions which it implements
9651 to always fail with ENOSYS. Some functions are actually named
9652 something starting with __ and the normal name is an alias. */
9653 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9656 char (*f) () = dlopen;
9670 rm -f conftest.
$ac_objext conftest
$ac_exeext
9671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9672 (eval $ac_link) 2>conftest.er1
9674 grep -v '^ *+' conftest.er1
>conftest.err
9676 cat conftest.err
>&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); } &&
9679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; } &&
9685 { ac_try
='test -s conftest$ac_exeext'
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; }; then
9691 ac_cv_func_dlopen
=yes
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.
$ac_ext >&5
9696 ac_cv_func_dlopen
=no
9698 rm -f conftest.err conftest.
$ac_objext \
9699 conftest
$ac_exeext conftest.
$ac_ext
9701 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9702 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9703 if test $ac_cv_func_dlopen = yes; then
9704 lt_cv_dlopen
="dlopen"
9706 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9707 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9708 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9709 echo $ECHO_N "(cached) $ECHO_C" >&6
9711 ac_check_lib_save_LIBS
=$LIBS
9713 cat >conftest.
$ac_ext <<_ACEOF
9716 cat confdefs.h
>>conftest.
$ac_ext
9717 cat >>conftest.
$ac_ext <<_ACEOF
9718 /* end confdefs.h. */
9720 /* Override any gcc2 internal prototype to avoid an error. */
9724 /* We use char because int might match the return type of a gcc2
9725 builtin and then its argument prototype would still apply. */
9735 rm -f conftest.
$ac_objext conftest
$ac_exeext
9736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9737 (eval $ac_link) 2>conftest.er1
9739 grep -v '^ *+' conftest.er1
>conftest.err
9741 cat conftest.err
>&5
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); } &&
9744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); }; } &&
9750 { ac_try
='test -s conftest$ac_exeext'
9751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); }; }; then
9756 ac_cv_lib_dl_dlopen
=yes
9758 echo "$as_me: failed program was:" >&5
9759 sed 's/^/| /' conftest.
$ac_ext >&5
9761 ac_cv_lib_dl_dlopen
=no
9763 rm -f conftest.err conftest.
$ac_objext \
9764 conftest
$ac_exeext conftest.
$ac_ext
9765 LIBS
=$ac_check_lib_save_LIBS
9767 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9768 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9769 if test $ac_cv_lib_dl_dlopen = yes; then
9770 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9772 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9773 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9774 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9775 echo $ECHO_N "(cached) $ECHO_C" >&6
9777 ac_check_lib_save_LIBS
=$LIBS
9779 cat >conftest.
$ac_ext <<_ACEOF
9782 cat confdefs.h
>>conftest.
$ac_ext
9783 cat >>conftest.
$ac_ext <<_ACEOF
9784 /* end confdefs.h. */
9786 /* Override any gcc2 internal prototype to avoid an error. */
9790 /* We use char because int might match the return type of a gcc2
9791 builtin and then its argument prototype would still apply. */
9801 rm -f conftest.
$ac_objext conftest
$ac_exeext
9802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9803 (eval $ac_link) 2>conftest.er1
9805 grep -v '^ *+' conftest.er1
>conftest.err
9807 cat conftest.err
>&5
9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); } &&
9810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 (exit $ac_status); }; } &&
9816 { ac_try
='test -s conftest$ac_exeext'
9817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); }; }; then
9822 ac_cv_lib_svld_dlopen
=yes
9824 echo "$as_me: failed program was:" >&5
9825 sed 's/^/| /' conftest.
$ac_ext >&5
9827 ac_cv_lib_svld_dlopen
=no
9829 rm -f conftest.err conftest.
$ac_objext \
9830 conftest
$ac_exeext conftest.
$ac_ext
9831 LIBS
=$ac_check_lib_save_LIBS
9833 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9834 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9835 if test $ac_cv_lib_svld_dlopen = yes; then
9836 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9838 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9839 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9840 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9841 echo $ECHO_N "(cached) $ECHO_C" >&6
9843 ac_check_lib_save_LIBS
=$LIBS
9845 cat >conftest.
$ac_ext <<_ACEOF
9848 cat confdefs.h
>>conftest.
$ac_ext
9849 cat >>conftest.
$ac_ext <<_ACEOF
9850 /* end confdefs.h. */
9852 /* Override any gcc2 internal prototype to avoid an error. */
9856 /* We use char because int might match the return type of a gcc2
9857 builtin and then its argument prototype would still apply. */
9867 rm -f conftest.
$ac_objext conftest
$ac_exeext
9868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9869 (eval $ac_link) 2>conftest.er1
9871 grep -v '^ *+' conftest.er1
>conftest.err
9873 cat conftest.err
>&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); } &&
9876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); }; } &&
9882 { ac_try
='test -s conftest$ac_exeext'
9883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); }; }; then
9888 ac_cv_lib_dld_dld_link
=yes
9890 echo "$as_me: failed program was:" >&5
9891 sed 's/^/| /' conftest.
$ac_ext >&5
9893 ac_cv_lib_dld_dld_link
=no
9895 rm -f conftest.err conftest.
$ac_objext \
9896 conftest
$ac_exeext conftest.
$ac_ext
9897 LIBS
=$ac_check_lib_save_LIBS
9899 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9900 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9901 if test $ac_cv_lib_dld_dld_link = yes; then
9902 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9923 if test "x$lt_cv_dlopen" != xno
; then
9929 case $lt_cv_dlopen in
9931 save_CPPFLAGS
="$CPPFLAGS"
9932 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9934 save_LDFLAGS
="$LDFLAGS"
9935 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9938 LIBS
="$lt_cv_dlopen_libs $LIBS"
9940 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9941 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9942 if test "${lt_cv_dlopen_self+set}" = set; then
9943 echo $ECHO_N "(cached) $ECHO_C" >&6
9945 if test "$cross_compiling" = yes; then :
9946 lt_cv_dlopen_self
=cross
9948 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9949 lt_status
=$lt_dlunknown
9950 cat > conftest.
$ac_ext <<_LT_EOF
9951 #line 9951 "configure"
9952 #include "confdefs.h"
9961 # define LT_DLGLOBAL RTLD_GLOBAL
9964 # define LT_DLGLOBAL DL_GLOBAL
9966 # define LT_DLGLOBAL 0
9970 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9971 find out it does not work in some platform. */
9972 #ifndef LT_DLLAZY_OR_NOW
9974 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9977 # define LT_DLLAZY_OR_NOW DL_LAZY
9980 # define LT_DLLAZY_OR_NOW RTLD_NOW
9983 # define LT_DLLAZY_OR_NOW DL_NOW
9985 # define LT_DLLAZY_OR_NOW 0
9993 extern "C" void exit (int);
9996 void fnord() { int i=42;}
9999 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10000 int status = $lt_dlunknown;
10004 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10005 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10006 /* dlclose (self); */
10014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10015 (eval $ac_link) 2>&5
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10019 (.
/conftest
; exit; ) >&5 2>/dev
/null
10021 case x
$lt_status in
10022 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10023 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10024 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10027 # compilation failed
10028 lt_cv_dlopen_self
=no
10035 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10036 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10038 if test "x$lt_cv_dlopen_self" = xyes
; then
10039 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10040 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10041 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10042 if test "${lt_cv_dlopen_self_static+set}" = set; then
10043 echo $ECHO_N "(cached) $ECHO_C" >&6
10045 if test "$cross_compiling" = yes; then :
10046 lt_cv_dlopen_self_static
=cross
10048 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10049 lt_status
=$lt_dlunknown
10050 cat > conftest.
$ac_ext <<_LT_EOF
10051 #line 10051 "configure"
10052 #include "confdefs.h"
10061 # define LT_DLGLOBAL RTLD_GLOBAL
10064 # define LT_DLGLOBAL DL_GLOBAL
10066 # define LT_DLGLOBAL 0
10070 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10071 find out it does not work in some platform. */
10072 #ifndef LT_DLLAZY_OR_NOW
10074 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10077 # define LT_DLLAZY_OR_NOW DL_LAZY
10080 # define LT_DLLAZY_OR_NOW RTLD_NOW
10083 # define LT_DLLAZY_OR_NOW DL_NOW
10085 # define LT_DLLAZY_OR_NOW 0
10093 extern "C" void exit (int);
10096 void fnord() { int i=42;}
10099 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10100 int status = $lt_dlunknown;
10104 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10105 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10106 /* dlclose (self); */
10114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10115 (eval $ac_link) 2>&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10119 (.
/conftest
; exit; ) >&5 2>/dev
/null
10121 case x
$lt_status in
10122 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10123 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10124 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10127 # compilation failed
10128 lt_cv_dlopen_self_static
=no
10135 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10136 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10139 CPPFLAGS
="$save_CPPFLAGS"
10140 LDFLAGS
="$save_LDFLAGS"
10145 case $lt_cv_dlopen_self in
10146 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10147 *) enable_dlopen_self
=unknown
;;
10150 case $lt_cv_dlopen_self_static in
10151 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10152 *) enable_dlopen_self_static
=unknown
;;
10174 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10175 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10176 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10177 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10178 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10179 echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6
10182 # FIXME - insert some real tests, host_os isn't really good enough
10185 if test -n "$STRIP" ; then
10186 striplib
="$STRIP -x"
10187 old_striplib
="$STRIP -S"
10188 echo "$as_me:$LINENO: result: yes" >&5
10189 echo "${ECHO_T}yes" >&6
10191 echo "$as_me:$LINENO: result: no" >&5
10192 echo "${ECHO_T}no" >&6
10196 echo "$as_me:$LINENO: result: no" >&5
10197 echo "${ECHO_T}no" >&6
10213 # Report which library types will actually be built
10214 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10215 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10216 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10217 echo "${ECHO_T}$can_build_shared" >&6
10219 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10220 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10221 test "$can_build_shared" = "no" && enable_shared
=no
10223 # On AIX, shared libraries and static libraries use the same namespace, and
10224 # are all built from PIC.
10227 test "$enable_shared" = yes && enable_static
=no
10228 if test -n "$RANLIB"; then
10229 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10230 postinstall_cmds
='$RANLIB $lib'
10235 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10236 test "$enable_shared" = yes && enable_static
=no
10240 echo "$as_me:$LINENO: result: $enable_shared" >&5
10241 echo "${ECHO_T}$enable_shared" >&6
10243 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10244 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10245 # Make sure either enable_shared or enable_static is yes.
10246 test "$enable_shared" = yes || enable_static
=yes
10247 echo "$as_me:$LINENO: result: $enable_static" >&5
10248 echo "${ECHO_T}$enable_static" >&6
10255 ac_cpp
='$CPP $CPPFLAGS'
10256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10274 ac_config_commands
="$ac_config_commands libtool"
10279 # Only expand once:
10283 # Check whether --enable-targets or --disable-targets was given.
10284 if test "${enable_targets+set}" = set; then
10285 enableval
="$enable_targets"
10286 case "${enableval}" in
10287 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
10288 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
10289 { (exit 1); exit 1; }; }
10291 no
) enable_targets
= ;;
10292 *) enable_targets
=$enableval ;;
10294 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
10295 if test "${enable_commonbfdlib+set}" = set; then
10296 enableval
="$enable_commonbfdlib"
10297 case "${enableval}" in
10298 yes) commonbfdlib
=true
;;
10299 no
) commonbfdlib
=false
;;
10300 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
10301 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
10302 { (exit 1); exit 1; }; } ;;
10306 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
10308 # Check whether --enable-werror or --disable-werror was given.
10309 if test "${enable_werror+set}" = set; then
10310 enableval
="$enable_werror"
10311 case "${enableval}" in
10312 yes | y
) ERROR_ON_WARNING
="yes" ;;
10313 no | n
) ERROR_ON_WARNING
="no" ;;
10314 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
10315 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
10316 { (exit 1); exit 1; }; } ;;
10320 # Enable -Wno-format by default when using gcc on mingw
10323 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10324 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
10330 # Enable -Werror by default when using gcc
10331 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10332 ERROR_ON_WARNING
=yes
10336 if test "${ERROR_ON_WARNING}" = yes ; then
10337 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
10338 NO_WERROR
="-Wno-error"
10341 if test "${GCC}" = yes ; then
10342 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
10345 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10346 if test "${enable_build_warnings+set}" = set; then
10347 enableval
="$enable_build_warnings"
10348 case "${enableval}" in
10349 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
10350 no
) if test "${GCC}" = yes ; then
10353 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10354 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
10355 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10356 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
10357 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10361 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
10362 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
10369 ac_config_headers
="$ac_config_headers config.h:config.in"
10372 if test -z "$target" ; then
10373 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
10374 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
10375 { (exit 1); exit 1; }; }
10377 if test -z "$host" ; then
10378 { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
10379 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
10380 { (exit 1); exit 1; }; }
10383 for ac_prog
in 'bison -y' byacc
10385 # Extract the first word of "$ac_prog", so it can be a program name with args.
10386 set dummy
$ac_prog; ac_word
=$2
10387 echo "$as_me:$LINENO: checking for $ac_word" >&5
10388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10389 if test "${ac_cv_prog_YACC+set}" = set; then
10390 echo $ECHO_N "(cached) $ECHO_C" >&6
10392 if test -n "$YACC"; then
10393 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
10395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10396 for as_dir
in $PATH
10399 test -z "$as_dir" && as_dir
=.
10400 for ac_exec_ext
in '' $ac_executable_extensions; do
10401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10402 ac_cv_prog_YACC
="$ac_prog"
10403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10411 YACC
=$ac_cv_prog_YACC
10412 if test -n "$YACC"; then
10413 echo "$as_me:$LINENO: result: $YACC" >&5
10414 echo "${ECHO_T}$YACC" >&6
10416 echo "$as_me:$LINENO: result: no" >&5
10417 echo "${ECHO_T}no" >&6
10420 test -n "$YACC" && break
10422 test -n "$YACC" || YACC
="yacc"
10424 for ac_prog
in flex
lex
10426 # Extract the first word of "$ac_prog", so it can be a program name with args.
10427 set dummy
$ac_prog; ac_word
=$2
10428 echo "$as_me:$LINENO: checking for $ac_word" >&5
10429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10430 if test "${ac_cv_prog_LEX+set}" = set; then
10431 echo $ECHO_N "(cached) $ECHO_C" >&6
10433 if test -n "$LEX"; then
10434 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
10436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10437 for as_dir
in $PATH
10440 test -z "$as_dir" && as_dir
=.
10441 for ac_exec_ext
in '' $ac_executable_extensions; do
10442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10443 ac_cv_prog_LEX
="$ac_prog"
10444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10452 LEX
=$ac_cv_prog_LEX
10453 if test -n "$LEX"; then
10454 echo "$as_me:$LINENO: result: $LEX" >&5
10455 echo "${ECHO_T}$LEX" >&6
10457 echo "$as_me:$LINENO: result: no" >&5
10458 echo "${ECHO_T}no" >&6
10461 test -n "$LEX" && break
10463 test -n "$LEX" || LEX
=":"
10465 if test -z "$LEXLIB"
10467 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
10468 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
10469 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 ac_check_lib_save_LIBS
=$LIBS
10474 cat >conftest.
$ac_ext <<_ACEOF
10477 cat confdefs.h
>>conftest.
$ac_ext
10478 cat >>conftest.
$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10481 /* Override any gcc2 internal prototype to avoid an error. */
10485 /* We use char because int might match the return type of a gcc2
10486 builtin and then its argument prototype would still apply. */
10496 rm -f conftest.
$ac_objext conftest
$ac_exeext
10497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10498 (eval $ac_link) 2>conftest.er1
10500 grep -v '^ *+' conftest.er1
>conftest.err
10502 cat conftest.err
>&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); } &&
10505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507 (eval $ac_try) 2>&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }; } &&
10511 { ac_try
='test -s conftest$ac_exeext'
10512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10513 (eval $ac_try) 2>&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; }; then
10517 ac_cv_lib_fl_yywrap
=yes
10519 echo "$as_me: failed program was:" >&5
10520 sed 's/^/| /' conftest.
$ac_ext >&5
10522 ac_cv_lib_fl_yywrap
=no
10524 rm -f conftest.err conftest.
$ac_objext \
10525 conftest
$ac_exeext conftest.
$ac_ext
10526 LIBS
=$ac_check_lib_save_LIBS
10528 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
10529 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
10530 if test $ac_cv_lib_fl_yywrap = yes; then
10533 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
10534 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
10535 if test "${ac_cv_lib_l_yywrap+set}" = set; then
10536 echo $ECHO_N "(cached) $ECHO_C" >&6
10538 ac_check_lib_save_LIBS
=$LIBS
10540 cat >conftest.
$ac_ext <<_ACEOF
10543 cat confdefs.h
>>conftest.
$ac_ext
10544 cat >>conftest.
$ac_ext <<_ACEOF
10545 /* end confdefs.h. */
10547 /* Override any gcc2 internal prototype to avoid an error. */
10551 /* We use char because int might match the return type of a gcc2
10552 builtin and then its argument prototype would still apply. */
10562 rm -f conftest.
$ac_objext conftest
$ac_exeext
10563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10564 (eval $ac_link) 2>conftest.er1
10566 grep -v '^ *+' conftest.er1
>conftest.err
10568 cat conftest.err
>&5
10569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10570 (exit $ac_status); } &&
10571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10573 (eval $ac_try) 2>&5
10575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10576 (exit $ac_status); }; } &&
10577 { ac_try
='test -s conftest$ac_exeext'
10578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10579 (eval $ac_try) 2>&5
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); }; }; then
10583 ac_cv_lib_l_yywrap
=yes
10585 echo "$as_me: failed program was:" >&5
10586 sed 's/^/| /' conftest.
$ac_ext >&5
10588 ac_cv_lib_l_yywrap
=no
10590 rm -f conftest.err conftest.
$ac_objext \
10591 conftest
$ac_exeext conftest.
$ac_ext
10592 LIBS
=$ac_check_lib_save_LIBS
10594 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
10595 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
10596 if test $ac_cv_lib_l_yywrap = yes; then
10604 if test "x$LEX" != "x:"; then
10605 echo "$as_me:$LINENO: checking lex output file root" >&5
10606 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
10607 if test "${ac_cv_prog_lex_root+set}" = set; then
10608 echo $ECHO_N "(cached) $ECHO_C" >&6
10610 # The minimal lex program is just a single line: %%. But some broken lexes
10611 # (Solaris, I think it was) want two %% lines, so accommodate them.
10612 cat >conftest.l
<<_ACEOF
10616 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
10617 (eval $LEX conftest.l
) 2>&5
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); }
10621 if test -f lex.yy.c
; then
10622 ac_cv_prog_lex_root
=lex.yy
10623 elif test -f lexyy.c
; then
10624 ac_cv_prog_lex_root
=lexyy
10626 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
10627 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
10628 { (exit 1); exit 1; }; }
10631 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
10632 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
10634 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
10636 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
10637 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
10638 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 # POSIX says lex can declare yytext either as a pointer or an array; the
10642 # default is implementation-dependent. Figure out which it is, since
10643 # not all implementations provide the %pointer and %array declarations.
10644 ac_cv_prog_lex_yytext_pointer
=no
10645 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
10647 LIBS
="$LIBS $LEXLIB"
10648 cat >conftest.
$ac_ext <<_ACEOF
10649 `cat $LEX_OUTPUT_ROOT.c`
10651 rm -f conftest.
$ac_objext conftest
$ac_exeext
10652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10653 (eval $ac_link) 2>conftest.er1
10655 grep -v '^ *+' conftest.er1
>conftest.err
10657 cat conftest.err
>&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } &&
10660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; } &&
10666 { ac_try
='test -s conftest$ac_exeext'
10667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10668 (eval $ac_try) 2>&5
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); }; }; then
10672 ac_cv_prog_lex_yytext_pointer
=yes
10674 echo "$as_me: failed program was:" >&5
10675 sed 's/^/| /' conftest.
$ac_ext >&5
10678 rm -f conftest.err conftest.
$ac_objext \
10679 conftest
$ac_exeext conftest.
$ac_ext
10681 rm -f "${LEX_OUTPUT_ROOT}.c"
10684 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
10685 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
10686 if test $ac_cv_prog_lex_yytext_pointer = yes; then
10688 cat >>confdefs.h
<<\_ACEOF
10689 #define YYTEXT_POINTER 1
10695 if test "$LEX" = :; then
10696 LEX
=${am_missing_run}flex
10699 ALL_LINGUAS
="fr tr ja es sv da zh_CN ru ro rw zh_TW fi vi uk sk"
10700 # If we haven't got the data from the intl directory,
10701 # assume NLS is disabled.
10710 if test -f ..
/intl
/config.intl
; then
10711 . ..
/intl
/config.intl
10713 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10714 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10715 if test x
"$USE_NLS" != xyes
; then
10716 echo "$as_me:$LINENO: result: no" >&5
10717 echo "${ECHO_T}no" >&6
10719 echo "$as_me:$LINENO: result: yes" >&5
10720 echo "${ECHO_T}yes" >&6
10722 cat >>confdefs.h
<<\_ACEOF
10723 #define ENABLE_NLS 1
10727 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10728 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10729 # Look for .po and .gmo files in the source directory.
10732 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
10733 # If there aren't any .gmo files the shell will give us the
10734 # literal string "../path/to/srcdir/po/*.gmo" which has to be
10736 case "$cat" in *\
**)
10739 # The quadruple backslash is collapsed to a double backslash
10740 # by the backticks, then collapsed again by the double quotes,
10741 # leaving us with one backslash in the sed expression (right
10742 # before the dot that mustn't act as a wildcard).
10743 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
10744 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
10745 # The user is allowed to set LINGUAS to a list of languages to
10746 # install catalogs for. If it's empty that means "all of them."
10747 if test "x$LINGUAS" = x
; then
10748 CATALOGS
="$CATALOGS $cat"
10749 XLINGUAS
="$XLINGUAS $lang"
10751 case "$LINGUAS" in *$lang*)
10752 CATALOGS
="$CATALOGS $cat"
10753 XLINGUAS
="$XLINGUAS $lang"
10758 LINGUAS
="$XLINGUAS"
10759 echo "$as_me:$LINENO: result: $LINGUAS" >&5
10760 echo "${ECHO_T}$LINGUAS" >&6
10774 if test -n "$ac_aux_dir"; then
10775 case "$ac_aux_dir" in
10776 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
10777 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
10780 if test -z "$MKINSTALLDIRS"; then
10781 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
10786 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10787 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10788 # Check whether --enable-nls or --disable-nls was given.
10789 if test "${enable_nls+set}" = set; then
10790 enableval
="$enable_nls"
10795 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10796 echo "${ECHO_T}$USE_NLS" >&6
10803 # Prepare PATH_SEPARATOR.
10804 # The user is always right.
10805 if test "${PATH_SEPARATOR+set}" != set; then
10806 echo "#! /bin/sh" >conf$$.sh
10807 echo "exit 0" >>conf$$.sh
10809 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10817 # Find out how to test for executable files. Don't use a zero-byte file,
10818 # as systems may use methods other than mode bits to determine executability.
10819 cat >conf$$.
file <<_ASEOF
10823 chmod +x conf$$.
file
10824 if test -x conf$$.
file >/dev
/null
2>&1; then
10825 ac_executable_p
="test -x"
10827 ac_executable_p
="test -f"
10831 # Extract the first word of "msgfmt", so it can be a program name with args.
10832 set dummy msgfmt
; ac_word
=$2
10833 echo "$as_me:$LINENO: checking for $ac_word" >&5
10834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10835 if test "${ac_cv_path_MSGFMT+set}" = set; then
10836 echo $ECHO_N "(cached) $ECHO_C" >&6
10840 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
10843 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10844 for ac_dir
in $PATH; do
10846 test -z "$ac_dir" && ac_dir
=.
10847 for ac_exec_ext
in '' $ac_executable_extensions; do
10848 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10849 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
10850 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
10851 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
10858 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
10862 MSGFMT
="$ac_cv_path_MSGFMT"
10863 if test "$MSGFMT" != ":"; then
10864 echo "$as_me:$LINENO: result: $MSGFMT" >&5
10865 echo "${ECHO_T}$MSGFMT" >&6
10867 echo "$as_me:$LINENO: result: no" >&5
10868 echo "${ECHO_T}no" >&6
10871 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10872 set dummy gmsgfmt
; ac_word
=$2
10873 echo "$as_me:$LINENO: checking for $ac_word" >&5
10874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10875 if test "${ac_cv_path_GMSGFMT+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
10883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10884 for as_dir
in $PATH
10887 test -z "$as_dir" && as_dir
=.
10888 for ac_exec_ext
in '' $ac_executable_extensions; do
10889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10890 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
10891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10897 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
10901 GMSGFMT
=$ac_cv_path_GMSGFMT
10903 if test -n "$GMSGFMT"; then
10904 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10905 echo "${ECHO_T}$GMSGFMT" >&6
10907 echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6
10913 # Prepare PATH_SEPARATOR.
10914 # The user is always right.
10915 if test "${PATH_SEPARATOR+set}" != set; then
10916 echo "#! /bin/sh" >conf$$.sh
10917 echo "exit 0" >>conf$$.sh
10919 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10927 # Find out how to test for executable files. Don't use a zero-byte file,
10928 # as systems may use methods other than mode bits to determine executability.
10929 cat >conf$$.
file <<_ASEOF
10933 chmod +x conf$$.
file
10934 if test -x conf$$.
file >/dev
/null
2>&1; then
10935 ac_executable_p
="test -x"
10937 ac_executable_p
="test -f"
10941 # Extract the first word of "xgettext", so it can be a program name with args.
10942 set dummy xgettext
; ac_word
=$2
10943 echo "$as_me:$LINENO: checking for $ac_word" >&5
10944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10945 if test "${ac_cv_path_XGETTEXT+set}" = set; then
10946 echo $ECHO_N "(cached) $ECHO_C" >&6
10948 case "$XGETTEXT" in
10950 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
10953 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10954 for ac_dir
in $PATH; do
10956 test -z "$ac_dir" && ac_dir
=.
10957 for ac_exec_ext
in '' $ac_executable_extensions; do
10958 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10959 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
10960 (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
10961 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
10968 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
10972 XGETTEXT
="$ac_cv_path_XGETTEXT"
10973 if test "$XGETTEXT" != ":"; then
10974 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
10975 echo "${ECHO_T}$XGETTEXT" >&6
10977 echo "$as_me:$LINENO: result: no" >&5
10978 echo "${ECHO_T}no" >&6
10984 # Prepare PATH_SEPARATOR.
10985 # The user is always right.
10986 if test "${PATH_SEPARATOR+set}" != set; then
10987 echo "#! /bin/sh" >conf$$.sh
10988 echo "exit 0" >>conf$$.sh
10990 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10998 # Find out how to test for executable files. Don't use a zero-byte file,
10999 # as systems may use methods other than mode bits to determine executability.
11000 cat >conf$$.
file <<_ASEOF
11004 chmod +x conf$$.
file
11005 if test -x conf$$.
file >/dev
/null
2>&1; then
11006 ac_executable_p
="test -x"
11008 ac_executable_p
="test -f"
11012 # Extract the first word of "msgmerge", so it can be a program name with args.
11013 set dummy msgmerge
; ac_word
=$2
11014 echo "$as_me:$LINENO: checking for $ac_word" >&5
11015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11016 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11017 echo $ECHO_N "(cached) $ECHO_C" >&6
11019 case "$MSGMERGE" in
11021 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11024 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11025 for ac_dir
in $PATH; do
11027 test -z "$ac_dir" && ac_dir
=.
11028 for ac_exec_ext
in '' $ac_executable_extensions; do
11029 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11030 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11031 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11038 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11042 MSGMERGE
="$ac_cv_path_MSGMERGE"
11043 if test "$MSGMERGE" != ":"; then
11044 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11045 echo "${ECHO_T}$MSGMERGE" >&6
11047 echo "$as_me:$LINENO: result: no" >&5
11048 echo "${ECHO_T}no" >&6
11052 if test "$GMSGFMT" != ":"; then
11053 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11054 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11057 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11058 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11059 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11064 if test "$XGETTEXT" != ":"; then
11065 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11066 (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
11069 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11070 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11076 ac_config_commands
="$ac_config_commands default-1"
11080 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11081 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
11082 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11083 if test "${enable_maintainer_mode+set}" = set; then
11084 enableval
="$enable_maintainer_mode"
11085 USE_MAINTAINER_MODE
=$enableval
11087 USE_MAINTAINER_MODE
=no
11089 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11090 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11093 if test $USE_MAINTAINER_MODE = yes; then
11094 MAINTAINER_MODE_TRUE
=
11095 MAINTAINER_MODE_FALSE
='#'
11097 MAINTAINER_MODE_TRUE
='#'
11098 MAINTAINER_MODE_FALSE
=
11101 MAINT
=$MAINTAINER_MODE_TRUE
11107 GENINSRC_NEVER_TRUE
=
11108 GENINSRC_NEVER_FALSE
='#'
11110 GENINSRC_NEVER_TRUE
='#'
11111 GENINSRC_NEVER_FALSE
=
11115 if test -n "$EXEEXT"; then
11117 cat >>confdefs.h
<<\_ACEOF
11118 #define HAVE_EXECUTABLE_SUFFIX 1
11123 cat >>confdefs.h
<<_ACEOF
11124 #define EXECUTABLE_SUFFIX "${EXEEXT}"
11128 # host-specific stuff:
11132 .
${srcdir}/..
/bfd
/configure.
host
11137 if test -n "$ac_tool_prefix"; then
11138 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11139 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11140 echo "$as_me:$LINENO: checking for $ac_word" >&5
11141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11142 if test "${ac_cv_prog_RANLIB+set}" = set; then
11143 echo $ECHO_N "(cached) $ECHO_C" >&6
11145 if test -n "$RANLIB"; then
11146 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11149 for as_dir
in $PATH
11152 test -z "$as_dir" && as_dir
=.
11153 for ac_exec_ext
in '' $ac_executable_extensions; do
11154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11155 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11164 RANLIB
=$ac_cv_prog_RANLIB
11165 if test -n "$RANLIB"; then
11166 echo "$as_me:$LINENO: result: $RANLIB" >&5
11167 echo "${ECHO_T}$RANLIB" >&6
11169 echo "$as_me:$LINENO: result: no" >&5
11170 echo "${ECHO_T}no" >&6
11174 if test -z "$ac_cv_prog_RANLIB"; then
11175 ac_ct_RANLIB
=$RANLIB
11176 # Extract the first word of "ranlib", so it can be a program name with args.
11177 set dummy ranlib
; ac_word
=$2
11178 echo "$as_me:$LINENO: checking for $ac_word" >&5
11179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11180 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11181 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 if test -n "$ac_ct_RANLIB"; then
11184 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11187 for as_dir
in $PATH
11190 test -z "$as_dir" && as_dir
=.
11191 for ac_exec_ext
in '' $ac_executable_extensions; do
11192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11193 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11200 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11203 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11204 if test -n "$ac_ct_RANLIB"; then
11205 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11206 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11208 echo "$as_me:$LINENO: result: no" >&5
11209 echo "${ECHO_T}no" >&6
11212 RANLIB
=$ac_ct_RANLIB
11214 RANLIB
="$ac_cv_prog_RANLIB"
11217 # Find a good install program. We prefer a C program (faster),
11218 # so one script is as good as another. But avoid the broken or
11219 # incompatible versions:
11220 # SysV /etc/install, /usr/sbin/install
11221 # SunOS /usr/etc/install
11222 # IRIX /sbin/install
11224 # AmigaOS /C/install, which installs bootblocks on floppy discs
11225 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11226 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11227 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11228 # OS/2's system install, which has a completely different semantic
11229 # ./install, which can be erroneously created by make from ./install.sh.
11230 # Reject install programs that cannot install multiple files.
11231 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11232 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11233 if test -z "$INSTALL"; then
11234 if test "${ac_cv_path_install+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6
11237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11238 for as_dir
in $PATH
11241 test -z "$as_dir" && as_dir
=.
11242 # Account for people who put trailing slashes in PATH elements.
11244 .
/ | .
// |
/cC
/* | \
11245 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11246 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11249 # OSF1 and SCO ODT 3.0 have their own names for install.
11250 # Don't use installbsd from OSF since it installs stuff as root
11252 for ac_prog
in ginstall scoinst
install; do
11253 for ac_exec_ext
in '' $ac_executable_extensions; do
11254 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11255 if test $ac_prog = install &&
11256 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11257 # AIX install. It has an incompatible calling convention.
11259 elif test $ac_prog = install &&
11260 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11261 # program-specific install script used by HP pwplus--don't use.
11264 rm -rf conftest.one conftest.two conftest.dir
11265 echo one
> conftest.one
11266 echo two
> conftest.two
11268 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11269 test -s conftest.one
&& test -s conftest.two
&&
11270 test -s conftest.dir
/conftest.one
&&
11271 test -s conftest.dir
/conftest.two
11273 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11284 rm -rf conftest.one conftest.two conftest.dir
11287 if test "${ac_cv_path_install+set}" = set; then
11288 INSTALL
=$ac_cv_path_install
11290 # As a last resort, use the slow shell script. Don't cache a
11291 # value for INSTALL within a source directory, because that will
11292 # break other packages using the cache if that directory is
11293 # removed, or if the value is a relative name.
11294 INSTALL
=$ac_install_sh
11297 echo "$as_me:$LINENO: result: $INSTALL" >&5
11298 echo "${ECHO_T}$INSTALL" >&6
11300 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11301 # It thinks the first close brace ends the variable substitution.
11302 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11304 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11306 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11309 # Put a plausible default for CC_FOR_BUILD in Makefile.
11310 if test -z "$CC_FOR_BUILD"; then
11311 if test "x$cross_compiling" = "xno"; then
11312 CC_FOR_BUILD
='$(CC)'
11318 # Also set EXEEXT_FOR_BUILD.
11319 if test "x$cross_compiling" = "xno"; then
11320 EXEEXT_FOR_BUILD
='$(EXEEXT)'
11322 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
11323 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
11324 if test "${bfd_cv_build_exeext+set}" = set; then
11325 echo $ECHO_N "(cached) $ECHO_C" >&6
11328 echo 'int main () { return 0; }' > conftest.c
11329 bfd_cv_build_exeext
=
11330 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
11331 for file in conftest.
*; do
11333 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
11334 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
11338 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
11340 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
11341 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
11342 EXEEXT_FOR_BUILD
=""
11343 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
11347 DEMANGLER_NAME
=c
++filt
11349 *-*-go32* |
*-*-msdos*)
11350 DEMANGLER_NAME
=cxxfilt
11362 for ac_header
in string.h
strings.h stdlib.h unistd.h fcntl.h sys
/file.h limits.h sys
/param.h
11364 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11366 echo "$as_me:$LINENO: checking for $ac_header" >&5
11367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11369 echo $ECHO_N "(cached) $ECHO_C" >&6
11371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11374 # Is the header compilable?
11375 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11376 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11377 cat >conftest.
$ac_ext <<_ACEOF
11380 cat confdefs.h
>>conftest.
$ac_ext
11381 cat >>conftest.
$ac_ext <<_ACEOF
11382 /* end confdefs.h. */
11383 $ac_includes_default
11384 #include <$ac_header>
11386 rm -f conftest.
$ac_objext
11387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11388 (eval $ac_compile) 2>conftest.er1
11390 grep -v '^ *+' conftest.er1
>conftest.err
11392 cat conftest.err
>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); } &&
11395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11397 (eval $ac_try) 2>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); }; } &&
11401 { ac_try
='test -s conftest.$ac_objext'
11402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11403 (eval $ac_try) 2>&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); }; }; then
11407 ac_header_compiler
=yes
11409 echo "$as_me: failed program was:" >&5
11410 sed 's/^/| /' conftest.
$ac_ext >&5
11412 ac_header_compiler
=no
11414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11416 echo "${ECHO_T}$ac_header_compiler" >&6
11418 # Is the header present?
11419 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11421 cat >conftest.
$ac_ext <<_ACEOF
11424 cat confdefs.h
>>conftest.
$ac_ext
11425 cat >>conftest.
$ac_ext <<_ACEOF
11426 /* end confdefs.h. */
11427 #include <$ac_header>
11429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11432 grep -v '^ *+' conftest.er1
>conftest.err
11434 cat conftest.err
>&5
11435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 (exit $ac_status); } >/dev
/null
; then
11437 if test -s conftest.err
; then
11438 ac_cpp_err
=$ac_c_preproc_warn_flag
11439 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11446 if test -z "$ac_cpp_err"; then
11447 ac_header_preproc
=yes
11449 echo "$as_me: failed program was:" >&5
11450 sed 's/^/| /' conftest.
$ac_ext >&5
11452 ac_header_preproc
=no
11454 rm -f conftest.err conftest.
$ac_ext
11455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11456 echo "${ECHO_T}$ac_header_preproc" >&6
11458 # So? What about this header?
11459 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11465 ac_header_preproc
=yes
11468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11482 ## ------------------------------------------ ##
11483 ## Report this to the AC_PACKAGE_NAME lists. ##
11484 ## ------------------------------------------ ##
11487 sed "s/^/$as_me: WARNING: /" >&2
11490 echo "$as_me:$LINENO: checking for $ac_header" >&5
11491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11493 echo $ECHO_N "(cached) $ECHO_C" >&6
11495 eval "$as_ac_Header=\$ac_header_preproc"
11497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11502 cat >>confdefs.h
<<_ACEOF
11503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11510 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
11511 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
11512 if test "${ac_cv_header_sys_wait_h+set}" = set; then
11513 echo $ECHO_N "(cached) $ECHO_C" >&6
11515 cat >conftest.
$ac_ext <<_ACEOF
11518 cat confdefs.h
>>conftest.
$ac_ext
11519 cat >>conftest.
$ac_ext <<_ACEOF
11520 /* end confdefs.h. */
11521 #include <sys/types.h>
11522 #include <sys/wait.h>
11523 #ifndef WEXITSTATUS
11524 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
11527 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11535 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11540 rm -f conftest.
$ac_objext
11541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11542 (eval $ac_compile) 2>conftest.er1
11544 grep -v '^ *+' conftest.er1
>conftest.err
11546 cat conftest.err
>&5
11547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11548 (exit $ac_status); } &&
11549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11551 (eval $ac_try) 2>&5
11553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11554 (exit $ac_status); }; } &&
11555 { ac_try
='test -s conftest.$ac_objext'
11556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11557 (eval $ac_try) 2>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; }; then
11561 ac_cv_header_sys_wait_h
=yes
11563 echo "$as_me: failed program was:" >&5
11564 sed 's/^/| /' conftest.
$ac_ext >&5
11566 ac_cv_header_sys_wait_h
=no
11568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11570 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
11571 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
11572 if test $ac_cv_header_sys_wait_h = yes; then
11574 cat >>confdefs.h
<<\_ACEOF
11575 #define HAVE_SYS_WAIT_H 1
11580 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11581 # for constant arguments. Useless!
11582 echo "$as_me:$LINENO: checking for working alloca.h" >&5
11583 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11584 if test "${ac_cv_working_alloca_h+set}" = set; then
11585 echo $ECHO_N "(cached) $ECHO_C" >&6
11587 cat >conftest.
$ac_ext <<_ACEOF
11590 cat confdefs.h
>>conftest.
$ac_ext
11591 cat >>conftest.
$ac_ext <<_ACEOF
11592 /* end confdefs.h. */
11593 #include <alloca.h>
11597 char *p = (char *) alloca (2 * sizeof (int));
11602 rm -f conftest.
$ac_objext conftest
$ac_exeext
11603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11604 (eval $ac_link) 2>conftest.er1
11606 grep -v '^ *+' conftest.er1
>conftest.err
11608 cat conftest.err
>&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); } &&
11611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11613 (eval $ac_try) 2>&5
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); }; } &&
11617 { ac_try
='test -s conftest$ac_exeext'
11618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11619 (eval $ac_try) 2>&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); }; }; then
11623 ac_cv_working_alloca_h
=yes
11625 echo "$as_me: failed program was:" >&5
11626 sed 's/^/| /' conftest.
$ac_ext >&5
11628 ac_cv_working_alloca_h
=no
11630 rm -f conftest.err conftest.
$ac_objext \
11631 conftest
$ac_exeext conftest.
$ac_ext
11633 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11634 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11635 if test $ac_cv_working_alloca_h = yes; then
11637 cat >>confdefs.h
<<\_ACEOF
11638 #define HAVE_ALLOCA_H 1
11643 echo "$as_me:$LINENO: checking for alloca" >&5
11644 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11645 if test "${ac_cv_func_alloca_works+set}" = set; then
11646 echo $ECHO_N "(cached) $ECHO_C" >&6
11648 cat >conftest.
$ac_ext <<_ACEOF
11651 cat confdefs.h
>>conftest.
$ac_ext
11652 cat >>conftest.
$ac_ext <<_ACEOF
11653 /* end confdefs.h. */
11655 # define alloca __builtin_alloca
11658 # include <malloc.h>
11659 # define alloca _alloca
11662 # include <alloca.h>
11667 # ifndef alloca /* predefined by HP cc +Olibcalls */
11678 char *p = (char *) alloca (1);
11683 rm -f conftest.
$ac_objext conftest
$ac_exeext
11684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11685 (eval $ac_link) 2>conftest.er1
11687 grep -v '^ *+' conftest.er1
>conftest.err
11689 cat conftest.err
>&5
11690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); } &&
11692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11694 (eval $ac_try) 2>&5
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 (exit $ac_status); }; } &&
11698 { ac_try
='test -s conftest$ac_exeext'
11699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11700 (eval $ac_try) 2>&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); }; }; then
11704 ac_cv_func_alloca_works
=yes
11706 echo "$as_me: failed program was:" >&5
11707 sed 's/^/| /' conftest.
$ac_ext >&5
11709 ac_cv_func_alloca_works
=no
11711 rm -f conftest.err conftest.
$ac_objext \
11712 conftest
$ac_exeext conftest.
$ac_ext
11714 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11715 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11717 if test $ac_cv_func_alloca_works = yes; then
11719 cat >>confdefs.h
<<\_ACEOF
11720 #define HAVE_ALLOCA 1
11724 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11725 # that cause trouble. Some versions do not even contain alloca or
11726 # contain a buggy version. If you still want to use their alloca,
11727 # use ar to extract alloca.o from them instead of compiling alloca.c.
11729 ALLOCA
=alloca.
$ac_objext
11731 cat >>confdefs.h
<<\_ACEOF
11736 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11737 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11738 if test "${ac_cv_os_cray+set}" = set; then
11739 echo $ECHO_N "(cached) $ECHO_C" >&6
11741 cat >conftest.
$ac_ext <<_ACEOF
11744 cat confdefs.h
>>conftest.
$ac_ext
11745 cat >>conftest.
$ac_ext <<_ACEOF
11746 /* end confdefs.h. */
11747 #if defined(CRAY) && ! defined(CRAY2)
11754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11755 $EGREP "webecray" >/dev
/null
2>&1; then
11763 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11764 echo "${ECHO_T}$ac_cv_os_cray" >&6
11765 if test $ac_cv_os_cray = yes; then
11766 for ac_func
in _getb67 GETB67 getb67
; do
11767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11768 echo "$as_me:$LINENO: checking for $ac_func" >&5
11769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11770 if eval "test \"\${$as_ac_var+set}\" = set"; then
11771 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 cat >conftest.
$ac_ext <<_ACEOF
11776 cat confdefs.h
>>conftest.
$ac_ext
11777 cat >>conftest.
$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11781 #define $ac_func innocuous_$ac_func
11783 /* System header to define __stub macros and hopefully few prototypes,
11784 which can conflict with char $ac_func (); below.
11785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11786 <limits.h> exists even on freestanding compilers. */
11789 # include <limits.h>
11791 # include <assert.h>
11796 /* Override any gcc2 internal prototype to avoid an error. */
11801 /* We use char because int might match the return type of a gcc2
11802 builtin and then its argument prototype would still apply. */
11804 /* The GNU C library defines this for functions which it implements
11805 to always fail with ENOSYS. Some functions are actually named
11806 something starting with __ and the normal name is an alias. */
11807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11810 char (*f) () = $ac_func;
11819 return f != $ac_func;
11824 rm -f conftest.
$ac_objext conftest
$ac_exeext
11825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11826 (eval $ac_link) 2>conftest.er1
11828 grep -v '^ *+' conftest.er1
>conftest.err
11830 cat conftest.err
>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } &&
11833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; } &&
11839 { ac_try
='test -s conftest$ac_exeext'
11840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11841 (eval $ac_try) 2>&5
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); }; }; then
11845 eval "$as_ac_var=yes"
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.
$ac_ext >&5
11850 eval "$as_ac_var=no"
11852 rm -f conftest.err conftest.
$ac_objext \
11853 conftest
$ac_exeext conftest.
$ac_ext
11855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11857 if test `eval echo '${'$as_ac_var'}'` = yes; then
11859 cat >>confdefs.h
<<_ACEOF
11860 #define CRAY_STACKSEG_END $ac_func
11869 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
11870 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
11871 if test "${ac_cv_c_stack_direction+set}" = set; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11874 if test "$cross_compiling" = yes; then
11875 ac_cv_c_stack_direction
=0
11877 cat >conftest.
$ac_ext <<_ACEOF
11880 cat confdefs.h
>>conftest.
$ac_ext
11881 cat >>conftest.
$ac_ext <<_ACEOF
11882 /* end confdefs.h. */
11884 find_stack_direction ()
11886 static char *addr = 0;
11891 return find_stack_direction ();
11894 return (&dummy > addr) ? 1 : -1;
11900 exit (find_stack_direction () < 0);
11903 rm -f conftest
$ac_exeext
11904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11905 (eval $ac_link) 2>&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11910 (eval $ac_try) 2>&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }; }; then
11914 ac_cv_c_stack_direction
=1
11916 echo "$as_me: program exited with status $ac_status" >&5
11917 echo "$as_me: failed program was:" >&5
11918 sed 's/^/| /' conftest.
$ac_ext >&5
11920 ( exit $ac_status )
11921 ac_cv_c_stack_direction
=-1
11923 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11926 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11927 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11929 cat >>confdefs.h
<<_ACEOF
11930 #define STACK_DIRECTION $ac_cv_c_stack_direction
11941 for ac_func
in sbrk utimes setmode getc_unlocked strcoll
11943 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11944 echo "$as_me:$LINENO: checking for $ac_func" >&5
11945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11946 if eval "test \"\${$as_ac_var+set}\" = set"; then
11947 echo $ECHO_N "(cached) $ECHO_C" >&6
11949 cat >conftest.
$ac_ext <<_ACEOF
11952 cat confdefs.h
>>conftest.
$ac_ext
11953 cat >>conftest.
$ac_ext <<_ACEOF
11954 /* end confdefs.h. */
11955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11957 #define $ac_func innocuous_$ac_func
11959 /* System header to define __stub macros and hopefully few prototypes,
11960 which can conflict with char $ac_func (); below.
11961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11962 <limits.h> exists even on freestanding compilers. */
11965 # include <limits.h>
11967 # include <assert.h>
11972 /* Override any gcc2 internal prototype to avoid an error. */
11977 /* We use char because int might match the return type of a gcc2
11978 builtin and then its argument prototype would still apply. */
11980 /* The GNU C library defines this for functions which it implements
11981 to always fail with ENOSYS. Some functions are actually named
11982 something starting with __ and the normal name is an alias. */
11983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11986 char (*f) () = $ac_func;
11995 return f != $ac_func;
12000 rm -f conftest.
$ac_objext conftest
$ac_exeext
12001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12002 (eval $ac_link) 2>conftest.er1
12004 grep -v '^ *+' conftest.er1
>conftest.err
12006 cat conftest.err
>&5
12007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12008 (exit $ac_status); } &&
12009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12011 (eval $ac_try) 2>&5
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); }; } &&
12015 { ac_try
='test -s conftest$ac_exeext'
12016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12017 (eval $ac_try) 2>&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); }; }; then
12021 eval "$as_ac_var=yes"
12023 echo "$as_me: failed program was:" >&5
12024 sed 's/^/| /' conftest.
$ac_ext >&5
12026 eval "$as_ac_var=no"
12028 rm -f conftest.err conftest.
$ac_objext \
12029 conftest
$ac_exeext conftest.
$ac_ext
12031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12033 if test `eval echo '${'$as_ac_var'}'` = yes; then
12034 cat >>confdefs.h
<<_ACEOF
12035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12041 echo "$as_me:$LINENO: checking for mkstemp" >&5
12042 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
12043 if test "${ac_cv_func_mkstemp+set}" = set; then
12044 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 cat >conftest.
$ac_ext <<_ACEOF
12049 cat confdefs.h
>>conftest.
$ac_ext
12050 cat >>conftest.
$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12052 /* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
12053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12054 #define mkstemp innocuous_mkstemp
12056 /* System header to define __stub macros and hopefully few prototypes,
12057 which can conflict with char mkstemp (); below.
12058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12059 <limits.h> exists even on freestanding compilers. */
12062 # include <limits.h>
12064 # include <assert.h>
12069 /* Override any gcc2 internal prototype to avoid an error. */
12074 /* We use char because int might match the return type of a gcc2
12075 builtin and then its argument prototype would still apply. */
12077 /* The GNU C library defines this for functions which it implements
12078 to always fail with ENOSYS. Some functions are actually named
12079 something starting with __ and the normal name is an alias. */
12080 #if defined (__stub_mkstemp) || defined (__stub___mkstemp)
12083 char (*f) () = mkstemp;
12092 return f != mkstemp;
12097 rm -f conftest.
$ac_objext conftest
$ac_exeext
12098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12099 (eval $ac_link) 2>conftest.er1
12101 grep -v '^ *+' conftest.er1
>conftest.err
12103 cat conftest.err
>&5
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); } &&
12106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12108 (eval $ac_try) 2>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; } &&
12112 { ac_try
='test -s conftest$ac_exeext'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; }; then
12118 ac_cv_func_mkstemp
=yes
12120 echo "$as_me: failed program was:" >&5
12121 sed 's/^/| /' conftest.
$ac_ext >&5
12123 ac_cv_func_mkstemp
=no
12125 rm -f conftest.err conftest.
$ac_objext \
12126 conftest
$ac_exeext conftest.
$ac_ext
12128 echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
12129 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
12130 if test $ac_cv_func_mkstemp = yes; then
12132 cat >>confdefs.h
<<\_ACEOF
12133 #define HAVE_MKSTEMP 1
12138 echo "$as_me:$LINENO: checking for mkdtemp" >&5
12139 echo $ECHO_N "checking for mkdtemp... $ECHO_C" >&6
12140 if test "${ac_cv_func_mkdtemp+set}" = set; then
12141 echo $ECHO_N "(cached) $ECHO_C" >&6
12143 cat >conftest.
$ac_ext <<_ACEOF
12146 cat confdefs.h
>>conftest.
$ac_ext
12147 cat >>conftest.
$ac_ext <<_ACEOF
12148 /* end confdefs.h. */
12149 /* Define mkdtemp to an innocuous variant, in case <limits.h> declares mkdtemp.
12150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12151 #define mkdtemp innocuous_mkdtemp
12153 /* System header to define __stub macros and hopefully few prototypes,
12154 which can conflict with char mkdtemp (); below.
12155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12156 <limits.h> exists even on freestanding compilers. */
12159 # include <limits.h>
12161 # include <assert.h>
12166 /* Override any gcc2 internal prototype to avoid an error. */
12171 /* We use char because int might match the return type of a gcc2
12172 builtin and then its argument prototype would still apply. */
12174 /* The GNU C library defines this for functions which it implements
12175 to always fail with ENOSYS. Some functions are actually named
12176 something starting with __ and the normal name is an alias. */
12177 #if defined (__stub_mkdtemp) || defined (__stub___mkdtemp)
12180 char (*f) () = mkdtemp;
12189 return f != mkdtemp;
12194 rm -f conftest.
$ac_objext conftest
$ac_exeext
12195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12196 (eval $ac_link) 2>conftest.er1
12198 grep -v '^ *+' conftest.er1
>conftest.err
12200 cat conftest.err
>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); } &&
12203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 (eval $ac_try) 2>&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); }; } &&
12209 { ac_try
='test -s conftest$ac_exeext'
12210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12211 (eval $ac_try) 2>&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); }; }; then
12215 ac_cv_func_mkdtemp
=yes
12217 echo "$as_me: failed program was:" >&5
12218 sed 's/^/| /' conftest.
$ac_ext >&5
12220 ac_cv_func_mkdtemp
=no
12222 rm -f conftest.err conftest.
$ac_objext \
12223 conftest
$ac_exeext conftest.
$ac_ext
12225 echo "$as_me:$LINENO: result: $ac_cv_func_mkdtemp" >&5
12226 echo "${ECHO_T}$ac_cv_func_mkdtemp" >&6
12227 if test $ac_cv_func_mkdtemp = yes; then
12229 cat >>confdefs.h
<<\_ACEOF
12230 #define HAVE_MKDTEMP 1
12236 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
12237 # needs to be defined for it
12238 echo "$as_me:$LINENO: checking for fopen64" >&5
12239 echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
12240 if test "${bu_cv_have_fopen64+set}" = set; then
12241 echo $ECHO_N "(cached) $ECHO_C" >&6
12243 cat >conftest.
$ac_ext <<_ACEOF
12246 cat confdefs.h
>>conftest.
$ac_ext
12247 cat >>conftest.
$ac_ext <<_ACEOF
12248 /* end confdefs.h. */
12253 FILE *f = fopen64 ("/tmp/foo","r");
12258 rm -f conftest.
$ac_objext conftest
$ac_exeext
12259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12260 (eval $ac_link) 2>conftest.er1
12262 grep -v '^ *+' conftest.er1
>conftest.err
12264 cat conftest.err
>&5
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); } &&
12267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269 (eval $ac_try) 2>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; } &&
12273 { ac_try
='test -s conftest$ac_exeext'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; }; then
12279 bu_cv_have_fopen64
=yes
12281 echo "$as_me: failed program was:" >&5
12282 sed 's/^/| /' conftest.
$ac_ext >&5
12284 saved_CPPFLAGS
=$CPPFLAGS
12285 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12286 cat >conftest.
$ac_ext <<_ACEOF
12289 cat confdefs.h
>>conftest.
$ac_ext
12290 cat >>conftest.
$ac_ext <<_ACEOF
12291 /* end confdefs.h. */
12296 FILE *f = fopen64 ("/tmp/foo","r");
12301 rm -f conftest.
$ac_objext conftest
$ac_exeext
12302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12303 (eval $ac_link) 2>conftest.er1
12305 grep -v '^ *+' conftest.er1
>conftest.err
12307 cat conftest.err
>&5
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); } &&
12310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12312 (eval $ac_try) 2>&5
12314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12315 (exit $ac_status); }; } &&
12316 { ac_try
='test -s conftest$ac_exeext'
12317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12318 (eval $ac_try) 2>&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); }; }; then
12322 bu_cv_have_fopen64
="need -D_LARGEFILE64_SOURCE"
12324 echo "$as_me: failed program was:" >&5
12325 sed 's/^/| /' conftest.
$ac_ext >&5
12327 bu_cv_have_fopen64
=no
12329 rm -f conftest.err conftest.
$ac_objext \
12330 conftest
$ac_exeext conftest.
$ac_ext
12331 CPPFLAGS
=$saved_CPPFLAGS
12333 rm -f conftest.err conftest.
$ac_objext \
12334 conftest
$ac_exeext conftest.
$ac_ext
12337 echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
12338 echo "${ECHO_T}$bu_cv_have_fopen64" >&6
12339 if test "$bu_cv_have_fopen64" != no
; then
12341 cat >>confdefs.h
<<\_ACEOF
12342 #define HAVE_FOPEN64 1
12346 echo "$as_me:$LINENO: checking for stat64" >&5
12347 echo $ECHO_N "checking for stat64... $ECHO_C" >&6
12348 if test "${bu_cv_have_stat64+set}" = set; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 cat >conftest.
$ac_ext <<_ACEOF
12354 cat confdefs.h
>>conftest.
$ac_ext
12355 cat >>conftest.
$ac_ext <<_ACEOF
12356 /* end confdefs.h. */
12357 #include <sys/stat.h>
12361 struct stat64 st; stat64 ("/tmp/foo", &st);
12366 rm -f conftest.
$ac_objext conftest
$ac_exeext
12367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12368 (eval $ac_link) 2>conftest.er1
12370 grep -v '^ *+' conftest.er1
>conftest.err
12372 cat conftest.err
>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); } &&
12375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; } &&
12381 { ac_try
='test -s conftest$ac_exeext'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 bu_cv_have_stat64
=yes
12389 echo "$as_me: failed program was:" >&5
12390 sed 's/^/| /' conftest.
$ac_ext >&5
12392 saved_CPPFLAGS
=$CPPFLAGS
12393 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12394 cat >conftest.
$ac_ext <<_ACEOF
12397 cat confdefs.h
>>conftest.
$ac_ext
12398 cat >>conftest.
$ac_ext <<_ACEOF
12399 /* end confdefs.h. */
12400 #include <sys/stat.h>
12404 struct stat64 st; stat64 ("/tmp/foo", &st);
12409 rm -f conftest.
$ac_objext conftest
$ac_exeext
12410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12411 (eval $ac_link) 2>conftest.er1
12413 grep -v '^ *+' conftest.er1
>conftest.err
12415 cat conftest.err
>&5
12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417 (exit $ac_status); } &&
12418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12420 (eval $ac_try) 2>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; } &&
12424 { ac_try
='test -s conftest$ac_exeext'
12425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12426 (eval $ac_try) 2>&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); }; }; then
12430 bu_cv_have_stat64
="need -D_LARGEFILE64_SOURCE"
12432 echo "$as_me: failed program was:" >&5
12433 sed 's/^/| /' conftest.
$ac_ext >&5
12435 bu_cv_have_stat64
=no
12437 rm -f conftest.err conftest.
$ac_objext \
12438 conftest
$ac_exeext conftest.
$ac_ext
12439 CPPFLAGS
=$saved_CPPFLAGS
12441 rm -f conftest.err conftest.
$ac_objext \
12442 conftest
$ac_exeext conftest.
$ac_ext
12445 echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
12446 echo "${ECHO_T}$bu_cv_have_stat64" >&6
12447 if test "$bu_cv_have_stat64" != no
; then
12449 cat >>confdefs.h
<<\_ACEOF
12450 #define HAVE_STAT64 1
12454 if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
12455 ||
test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
12457 cat >>confdefs.h
<<\_ACEOF
12458 #define _LARGEFILE64_SOURCE 1
12461 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12464 # Some systems have frexp only in -lm, not in -lc.
12465 echo "$as_me:$LINENO: checking for library containing frexp" >&5
12466 echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
12467 if test "${ac_cv_search_frexp+set}" = set; then
12468 echo $ECHO_N "(cached) $ECHO_C" >&6
12470 ac_func_search_save_LIBS
=$LIBS
12471 ac_cv_search_frexp
=no
12472 cat >conftest.
$ac_ext <<_ACEOF
12475 cat confdefs.h
>>conftest.
$ac_ext
12476 cat >>conftest.
$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12479 /* Override any gcc2 internal prototype to avoid an error. */
12483 /* We use char because int might match the return type of a gcc2
12484 builtin and then its argument prototype would still apply. */
12494 rm -f conftest.
$ac_objext conftest
$ac_exeext
12495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12496 (eval $ac_link) 2>conftest.er1
12498 grep -v '^ *+' conftest.er1
>conftest.err
12500 cat conftest.err
>&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } &&
12503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12505 (eval $ac_try) 2>&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }; } &&
12509 { ac_try
='test -s conftest$ac_exeext'
12510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12511 (eval $ac_try) 2>&5
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); }; }; then
12515 ac_cv_search_frexp
="none required"
12517 echo "$as_me: failed program was:" >&5
12518 sed 's/^/| /' conftest.
$ac_ext >&5
12521 rm -f conftest.err conftest.
$ac_objext \
12522 conftest
$ac_exeext conftest.
$ac_ext
12523 if test "$ac_cv_search_frexp" = no
; then
12524 for ac_lib
in m
; do
12525 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12526 cat >conftest.
$ac_ext <<_ACEOF
12529 cat confdefs.h
>>conftest.
$ac_ext
12530 cat >>conftest.
$ac_ext <<_ACEOF
12531 /* end confdefs.h. */
12533 /* Override any gcc2 internal prototype to avoid an error. */
12537 /* We use char because int might match the return type of a gcc2
12538 builtin and then its argument prototype would still apply. */
12548 rm -f conftest.
$ac_objext conftest
$ac_exeext
12549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12550 (eval $ac_link) 2>conftest.er1
12552 grep -v '^ *+' conftest.er1
>conftest.err
12554 cat conftest.err
>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); } &&
12557 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
12563 { ac_try
='test -s conftest$ac_exeext'
12564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12565 (eval $ac_try) 2>&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); }; }; then
12569 ac_cv_search_frexp
="-l$ac_lib"
12572 echo "$as_me: failed program was:" >&5
12573 sed 's/^/| /' conftest.
$ac_ext >&5
12576 rm -f conftest.err conftest.
$ac_objext \
12577 conftest
$ac_exeext conftest.
$ac_ext
12580 LIBS
=$ac_func_search_save_LIBS
12582 echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
12583 echo "${ECHO_T}$ac_cv_search_frexp" >&6
12584 if test "$ac_cv_search_frexp" != no
; then
12585 test "$ac_cv_search_frexp" = "none required" || LIBS
="$ac_cv_search_frexp $LIBS"
12590 echo "$as_me:$LINENO: checking for time_t in time.h" >&5
12591 echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
12592 if test "${bu_cv_decl_time_t_time_h+set}" = set; then
12593 echo $ECHO_N "(cached) $ECHO_C" >&6
12595 cat >conftest.
$ac_ext <<_ACEOF
12598 cat confdefs.h
>>conftest.
$ac_ext
12599 cat >>conftest.
$ac_ext <<_ACEOF
12600 /* end confdefs.h. */
12610 rm -f conftest.
$ac_objext
12611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12612 (eval $ac_compile) 2>conftest.er1
12614 grep -v '^ *+' conftest.er1
>conftest.err
12616 cat conftest.err
>&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } &&
12619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12621 (eval $ac_try) 2>&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); }; } &&
12625 { ac_try
='test -s conftest.$ac_objext'
12626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12627 (eval $ac_try) 2>&5
12629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630 (exit $ac_status); }; }; then
12631 bu_cv_decl_time_t_time_h
=yes
12633 echo "$as_me: failed program was:" >&5
12634 sed 's/^/| /' conftest.
$ac_ext >&5
12636 bu_cv_decl_time_t_time_h
=no
12638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12641 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
12642 echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
12643 if test $bu_cv_decl_time_t_time_h = yes; then
12645 cat >>confdefs.h
<<\_ACEOF
12646 #define HAVE_TIME_T_IN_TIME_H 1
12651 echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
12652 echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
12653 if test "${bu_cv_decl_time_t_types_h+set}" = set; then
12654 echo $ECHO_N "(cached) $ECHO_C" >&6
12656 cat >conftest.
$ac_ext <<_ACEOF
12659 cat confdefs.h
>>conftest.
$ac_ext
12660 cat >>conftest.
$ac_ext <<_ACEOF
12661 /* end confdefs.h. */
12662 #include <sys/types.h>
12671 rm -f conftest.
$ac_objext
12672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12673 (eval $ac_compile) 2>conftest.er1
12675 grep -v '^ *+' conftest.er1
>conftest.err
12677 cat conftest.err
>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); } &&
12680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; } &&
12686 { ac_try
='test -s conftest.$ac_objext'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; }; then
12692 bu_cv_decl_time_t_types_h
=yes
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.
$ac_ext >&5
12697 bu_cv_decl_time_t_types_h
=no
12699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12702 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
12703 echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
12704 if test $bu_cv_decl_time_t_types_h = yes; then
12706 cat >>confdefs.h
<<\_ACEOF
12707 #define HAVE_TIME_T_IN_TYPES_H 1
12712 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
12713 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
12714 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
12715 echo $ECHO_N "(cached) $ECHO_C" >&6
12717 cat >conftest.
$ac_ext <<_ACEOF
12720 cat confdefs.h
>>conftest.
$ac_ext
12721 cat >>conftest.
$ac_ext <<_ACEOF
12722 /* end confdefs.h. */
12723 #include <unistd.h>
12727 extern int getopt (int, char *const*, const char *);
12732 rm -f conftest.
$ac_objext
12733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12734 (eval $ac_compile) 2>conftest.er1
12736 grep -v '^ *+' conftest.er1
>conftest.err
12738 cat conftest.err
>&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); } &&
12741 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743 (eval $ac_try) 2>&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); }; } &&
12747 { ac_try
='test -s conftest.$ac_objext'
12748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749 (eval $ac_try) 2>&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); }; }; then
12753 bu_cv_decl_getopt_unistd_h
=yes
12755 echo "$as_me: failed program was:" >&5
12756 sed 's/^/| /' conftest.
$ac_ext >&5
12758 bu_cv_decl_getopt_unistd_h
=no
12760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12763 echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
12764 echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
12765 if test $bu_cv_decl_getopt_unistd_h = yes; then
12767 cat >>confdefs.h
<<\_ACEOF
12768 #define HAVE_DECL_GETOPT 1
12773 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
12775 echo "$as_me:$LINENO: checking for utime.h" >&5
12776 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
12777 if test "${bu_cv_header_utime_h+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12780 cat >conftest.
$ac_ext <<_ACEOF
12783 cat confdefs.h
>>conftest.
$ac_ext
12784 cat >>conftest.
$ac_ext <<_ACEOF
12785 /* end confdefs.h. */
12786 #include <sys/types.h>
12799 rm -f conftest.
$ac_objext
12800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12801 (eval $ac_compile) 2>conftest.er1
12803 grep -v '^ *+' conftest.er1
>conftest.err
12805 cat conftest.err
>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; } &&
12814 { ac_try
='test -s conftest.$ac_objext'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; }; then
12820 bu_cv_header_utime_h
=yes
12822 echo "$as_me: failed program was:" >&5
12823 sed 's/^/| /' conftest.
$ac_ext >&5
12825 bu_cv_header_utime_h
=no
12827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12830 echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
12831 echo "${ECHO_T}$bu_cv_header_utime_h" >&6
12832 if test $bu_cv_header_utime_h = yes; then
12834 cat >>confdefs.h
<<\_ACEOF
12835 #define HAVE_GOOD_UTIME_H 1
12840 echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
12841 echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
12842 if test "${ac_cv_have_decl_fprintf+set}" = set; then
12843 echo $ECHO_N "(cached) $ECHO_C" >&6
12845 cat >conftest.
$ac_ext <<_ACEOF
12848 cat confdefs.h
>>conftest.
$ac_ext
12849 cat >>conftest.
$ac_ext <<_ACEOF
12850 /* end confdefs.h. */
12851 $ac_includes_default
12856 char *p = (char *) fprintf;
12863 rm -f conftest.
$ac_objext
12864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12865 (eval $ac_compile) 2>conftest.er1
12867 grep -v '^ *+' conftest.er1
>conftest.err
12869 cat conftest.err
>&5
12870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12871 (exit $ac_status); } &&
12872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12874 (eval $ac_try) 2>&5
12876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12877 (exit $ac_status); }; } &&
12878 { ac_try
='test -s conftest.$ac_objext'
12879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12880 (eval $ac_try) 2>&5
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); }; }; then
12884 ac_cv_have_decl_fprintf
=yes
12886 echo "$as_me: failed program was:" >&5
12887 sed 's/^/| /' conftest.
$ac_ext >&5
12889 ac_cv_have_decl_fprintf
=no
12891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12893 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
12894 echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
12895 if test $ac_cv_have_decl_fprintf = yes; then
12897 cat >>confdefs.h
<<_ACEOF
12898 #define HAVE_DECL_FPRINTF 1
12903 cat >>confdefs.h
<<_ACEOF
12904 #define HAVE_DECL_FPRINTF 0
12909 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12910 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
12911 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
12912 echo $ECHO_N "(cached) $ECHO_C" >&6
12914 cat >conftest.
$ac_ext <<_ACEOF
12917 cat confdefs.h
>>conftest.
$ac_ext
12918 cat >>conftest.
$ac_ext <<_ACEOF
12919 /* end confdefs.h. */
12920 $ac_includes_default
12925 char *p = (char *) stpcpy;
12932 rm -f conftest.
$ac_objext
12933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12934 (eval $ac_compile) 2>conftest.er1
12936 grep -v '^ *+' conftest.er1
>conftest.err
12938 cat conftest.err
>&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); } &&
12941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12943 (eval $ac_try) 2>&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); }; } &&
12947 { ac_try
='test -s conftest.$ac_objext'
12948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949 (eval $ac_try) 2>&5
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); }; }; then
12953 ac_cv_have_decl_stpcpy
=yes
12955 echo "$as_me: failed program was:" >&5
12956 sed 's/^/| /' conftest.
$ac_ext >&5
12958 ac_cv_have_decl_stpcpy
=no
12960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12962 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12963 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
12964 if test $ac_cv_have_decl_stpcpy = yes; then
12966 cat >>confdefs.h
<<_ACEOF
12967 #define HAVE_DECL_STPCPY 1
12972 cat >>confdefs.h
<<_ACEOF
12973 #define HAVE_DECL_STPCPY 0
12978 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
12979 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
12980 if test "${ac_cv_have_decl_strstr+set}" = set; then
12981 echo $ECHO_N "(cached) $ECHO_C" >&6
12983 cat >conftest.
$ac_ext <<_ACEOF
12986 cat confdefs.h
>>conftest.
$ac_ext
12987 cat >>conftest.
$ac_ext <<_ACEOF
12988 /* end confdefs.h. */
12989 $ac_includes_default
12994 char *p = (char *) strstr;
13001 rm -f conftest.
$ac_objext
13002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13003 (eval $ac_compile) 2>conftest.er1
13005 grep -v '^ *+' conftest.er1
>conftest.err
13007 cat conftest.err
>&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); } &&
13010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13012 (eval $ac_try) 2>&5
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); }; } &&
13016 { ac_try
='test -s conftest.$ac_objext'
13017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13018 (eval $ac_try) 2>&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); }; }; then
13022 ac_cv_have_decl_strstr
=yes
13024 echo "$as_me: failed program was:" >&5
13025 sed 's/^/| /' conftest.
$ac_ext >&5
13027 ac_cv_have_decl_strstr
=no
13029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13031 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
13032 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
13033 if test $ac_cv_have_decl_strstr = yes; then
13035 cat >>confdefs.h
<<_ACEOF
13036 #define HAVE_DECL_STRSTR 1
13041 cat >>confdefs.h
<<_ACEOF
13042 #define HAVE_DECL_STRSTR 0
13047 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
13048 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
13049 if test "${ac_cv_have_decl_sbrk+set}" = set; then
13050 echo $ECHO_N "(cached) $ECHO_C" >&6
13052 cat >conftest.
$ac_ext <<_ACEOF
13055 cat confdefs.h
>>conftest.
$ac_ext
13056 cat >>conftest.
$ac_ext <<_ACEOF
13057 /* end confdefs.h. */
13058 $ac_includes_default
13063 char *p = (char *) sbrk;
13070 rm -f conftest.
$ac_objext
13071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13072 (eval $ac_compile) 2>conftest.er1
13074 grep -v '^ *+' conftest.er1
>conftest.err
13076 cat conftest.err
>&5
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); } &&
13079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13081 (eval $ac_try) 2>&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; } &&
13085 { ac_try
='test -s conftest.$ac_objext'
13086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13087 (eval $ac_try) 2>&5
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); }; }; then
13091 ac_cv_have_decl_sbrk
=yes
13093 echo "$as_me: failed program was:" >&5
13094 sed 's/^/| /' conftest.
$ac_ext >&5
13096 ac_cv_have_decl_sbrk
=no
13098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13100 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
13101 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
13102 if test $ac_cv_have_decl_sbrk = yes; then
13104 cat >>confdefs.h
<<_ACEOF
13105 #define HAVE_DECL_SBRK 1
13110 cat >>confdefs.h
<<_ACEOF
13111 #define HAVE_DECL_SBRK 0
13116 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
13117 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
13118 if test "${ac_cv_have_decl_getenv+set}" = set; then
13119 echo $ECHO_N "(cached) $ECHO_C" >&6
13121 cat >conftest.
$ac_ext <<_ACEOF
13124 cat confdefs.h
>>conftest.
$ac_ext
13125 cat >>conftest.
$ac_ext <<_ACEOF
13126 /* end confdefs.h. */
13127 $ac_includes_default
13132 char *p = (char *) getenv;
13139 rm -f conftest.
$ac_objext
13140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13141 (eval $ac_compile) 2>conftest.er1
13143 grep -v '^ *+' conftest.er1
>conftest.err
13145 cat conftest.err
>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); } &&
13148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13150 (eval $ac_try) 2>&5
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); }; } &&
13154 { ac_try
='test -s conftest.$ac_objext'
13155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13156 (eval $ac_try) 2>&5
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); }; }; then
13160 ac_cv_have_decl_getenv
=yes
13162 echo "$as_me: failed program was:" >&5
13163 sed 's/^/| /' conftest.
$ac_ext >&5
13165 ac_cv_have_decl_getenv
=no
13167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13169 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
13170 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
13171 if test $ac_cv_have_decl_getenv = yes; then
13173 cat >>confdefs.h
<<_ACEOF
13174 #define HAVE_DECL_GETENV 1
13179 cat >>confdefs.h
<<_ACEOF
13180 #define HAVE_DECL_GETENV 0
13185 echo "$as_me:$LINENO: checking whether environ is declared" >&5
13186 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
13187 if test "${ac_cv_have_decl_environ+set}" = set; then
13188 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 cat >conftest.
$ac_ext <<_ACEOF
13193 cat confdefs.h
>>conftest.
$ac_ext
13194 cat >>conftest.
$ac_ext <<_ACEOF
13195 /* end confdefs.h. */
13196 $ac_includes_default
13201 char *p = (char *) environ;
13208 rm -f conftest.
$ac_objext
13209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13210 (eval $ac_compile) 2>conftest.er1
13212 grep -v '^ *+' conftest.er1
>conftest.err
13214 cat conftest.err
>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } &&
13217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13219 (eval $ac_try) 2>&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; } &&
13223 { ac_try
='test -s conftest.$ac_objext'
13224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13225 (eval $ac_try) 2>&5
13227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); }; }; then
13229 ac_cv_have_decl_environ
=yes
13231 echo "$as_me: failed program was:" >&5
13232 sed 's/^/| /' conftest.
$ac_ext >&5
13234 ac_cv_have_decl_environ
=no
13236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13238 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
13239 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
13240 if test $ac_cv_have_decl_environ = yes; then
13242 cat >>confdefs.h
<<_ACEOF
13243 #define HAVE_DECL_ENVIRON 1
13248 cat >>confdefs.h
<<_ACEOF
13249 #define HAVE_DECL_ENVIRON 0
13254 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
13255 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
13256 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
13257 echo $ECHO_N "(cached) $ECHO_C" >&6
13259 cat >conftest.
$ac_ext <<_ACEOF
13262 cat confdefs.h
>>conftest.
$ac_ext
13263 cat >>conftest.
$ac_ext <<_ACEOF
13264 /* end confdefs.h. */
13265 $ac_includes_default
13269 #ifndef getc_unlocked
13270 char *p = (char *) getc_unlocked;
13277 rm -f conftest.
$ac_objext
13278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13279 (eval $ac_compile) 2>conftest.er1
13281 grep -v '^ *+' conftest.er1
>conftest.err
13283 cat conftest.err
>&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); } &&
13286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13288 (eval $ac_try) 2>&5
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); }; } &&
13292 { ac_try
='test -s conftest.$ac_objext'
13293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13294 (eval $ac_try) 2>&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); }; }; then
13298 ac_cv_have_decl_getc_unlocked
=yes
13300 echo "$as_me: failed program was:" >&5
13301 sed 's/^/| /' conftest.
$ac_ext >&5
13303 ac_cv_have_decl_getc_unlocked
=no
13305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13307 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
13308 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
13309 if test $ac_cv_have_decl_getc_unlocked = yes; then
13311 cat >>confdefs.h
<<_ACEOF
13312 #define HAVE_DECL_GETC_UNLOCKED 1
13317 cat >>confdefs.h
<<_ACEOF
13318 #define HAVE_DECL_GETC_UNLOCKED 0
13323 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
13324 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
13325 if test "${ac_cv_have_decl_snprintf+set}" = set; then
13326 echo $ECHO_N "(cached) $ECHO_C" >&6
13328 cat >conftest.
$ac_ext <<_ACEOF
13331 cat confdefs.h
>>conftest.
$ac_ext
13332 cat >>conftest.
$ac_ext <<_ACEOF
13333 /* end confdefs.h. */
13334 $ac_includes_default
13339 char *p = (char *) snprintf;
13346 rm -f conftest.
$ac_objext
13347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13348 (eval $ac_compile) 2>conftest.er1
13350 grep -v '^ *+' conftest.er1
>conftest.err
13352 cat conftest.err
>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); } &&
13355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13357 (eval $ac_try) 2>&5
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); }; } &&
13361 { ac_try
='test -s conftest.$ac_objext'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; }; then
13367 ac_cv_have_decl_snprintf
=yes
13369 echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.
$ac_ext >&5
13372 ac_cv_have_decl_snprintf
=no
13374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13376 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
13377 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
13378 if test $ac_cv_have_decl_snprintf = yes; then
13380 cat >>confdefs.h
<<_ACEOF
13381 #define HAVE_DECL_SNPRINTF 1
13386 cat >>confdefs.h
<<_ACEOF
13387 #define HAVE_DECL_SNPRINTF 0
13392 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
13393 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
13394 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
13395 echo $ECHO_N "(cached) $ECHO_C" >&6
13397 cat >conftest.
$ac_ext <<_ACEOF
13400 cat confdefs.h
>>conftest.
$ac_ext
13401 cat >>conftest.
$ac_ext <<_ACEOF
13402 /* end confdefs.h. */
13403 $ac_includes_default
13408 char *p = (char *) vsnprintf;
13415 rm -f conftest.
$ac_objext
13416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13417 (eval $ac_compile) 2>conftest.er1
13419 grep -v '^ *+' conftest.er1
>conftest.err
13421 cat conftest.err
>&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); } &&
13424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; } &&
13430 { ac_try
='test -s conftest.$ac_objext'
13431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13432 (eval $ac_try) 2>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); }; }; then
13436 ac_cv_have_decl_vsnprintf
=yes
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.
$ac_ext >&5
13441 ac_cv_have_decl_vsnprintf
=no
13443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13445 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
13446 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
13447 if test $ac_cv_have_decl_vsnprintf = yes; then
13449 cat >>confdefs.h
<<_ACEOF
13450 #define HAVE_DECL_VSNPRINTF 1
13455 cat >>confdefs.h
<<_ACEOF
13456 #define HAVE_DECL_VSNPRINTF 0
13464 # Link in zlib if we can. This allows us to read compressed debug
13465 # sections. This is used only by readelf.c (objdump uses bfd for
13466 # reading compressed sections).
13467 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
13468 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
13469 if test "${ac_cv_search_zlibVersion+set}" = set; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13472 ac_func_search_save_LIBS
=$LIBS
13473 ac_cv_search_zlibVersion
=no
13474 cat >conftest.
$ac_ext <<_ACEOF
13477 cat confdefs.h
>>conftest.
$ac_ext
13478 cat >>conftest.
$ac_ext <<_ACEOF
13479 /* end confdefs.h. */
13481 /* Override any gcc2 internal prototype to avoid an error. */
13485 /* We use char because int might match the return type of a gcc2
13486 builtin and then its argument prototype would still apply. */
13487 char zlibVersion ();
13496 rm -f conftest.
$ac_objext conftest
$ac_exeext
13497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13498 (eval $ac_link) 2>conftest.er1
13500 grep -v '^ *+' conftest.er1
>conftest.err
13502 cat conftest.err
>&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); } &&
13505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507 (eval $ac_try) 2>&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; } &&
13511 { ac_try
='test -s conftest$ac_exeext'
13512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13513 (eval $ac_try) 2>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); }; }; then
13517 ac_cv_search_zlibVersion
="none required"
13519 echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.
$ac_ext >&5
13523 rm -f conftest.err conftest.
$ac_objext \
13524 conftest
$ac_exeext conftest.
$ac_ext
13525 if test "$ac_cv_search_zlibVersion" = no
; then
13526 for ac_lib
in z
; do
13527 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13528 cat >conftest.
$ac_ext <<_ACEOF
13531 cat confdefs.h
>>conftest.
$ac_ext
13532 cat >>conftest.
$ac_ext <<_ACEOF
13533 /* end confdefs.h. */
13535 /* Override any gcc2 internal prototype to avoid an error. */
13539 /* We use char because int might match the return type of a gcc2
13540 builtin and then its argument prototype would still apply. */
13541 char zlibVersion ();
13550 rm -f conftest.
$ac_objext conftest
$ac_exeext
13551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13552 (eval $ac_link) 2>conftest.er1
13554 grep -v '^ *+' conftest.er1
>conftest.err
13556 cat conftest.err
>&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } &&
13559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; } &&
13565 { ac_try
='test -s conftest$ac_exeext'
13566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13567 (eval $ac_try) 2>&5
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); }; }; then
13571 ac_cv_search_zlibVersion
="-l$ac_lib"
13574 echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.
$ac_ext >&5
13578 rm -f conftest.err conftest.
$ac_objext \
13579 conftest
$ac_exeext conftest.
$ac_ext
13582 LIBS
=$ac_func_search_save_LIBS
13584 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
13585 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
13586 if test "$ac_cv_search_zlibVersion" != no
; then
13587 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
13589 for ac_header
in zlib.h
13591 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13593 echo "$as_me:$LINENO: checking for $ac_header" >&5
13594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13596 echo $ECHO_N "(cached) $ECHO_C" >&6
13598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13601 # Is the header compilable?
13602 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13603 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13604 cat >conftest.
$ac_ext <<_ACEOF
13607 cat confdefs.h
>>conftest.
$ac_ext
13608 cat >>conftest.
$ac_ext <<_ACEOF
13609 /* end confdefs.h. */
13610 $ac_includes_default
13611 #include <$ac_header>
13613 rm -f conftest.
$ac_objext
13614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13615 (eval $ac_compile) 2>conftest.er1
13617 grep -v '^ *+' conftest.er1
>conftest.err
13619 cat conftest.err
>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } &&
13622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13624 (eval $ac_try) 2>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); }; } &&
13628 { ac_try
='test -s conftest.$ac_objext'
13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 (eval $ac_try) 2>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; }; then
13634 ac_header_compiler
=yes
13636 echo "$as_me: failed program was:" >&5
13637 sed 's/^/| /' conftest.
$ac_ext >&5
13639 ac_header_compiler
=no
13641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13642 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13643 echo "${ECHO_T}$ac_header_compiler" >&6
13645 # Is the header present?
13646 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13647 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13648 cat >conftest.
$ac_ext <<_ACEOF
13651 cat confdefs.h
>>conftest.
$ac_ext
13652 cat >>conftest.
$ac_ext <<_ACEOF
13653 /* end confdefs.h. */
13654 #include <$ac_header>
13656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13657 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13659 grep -v '^ *+' conftest.er1
>conftest.err
13661 cat conftest.err
>&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); } >/dev
/null
; then
13664 if test -s conftest.err
; then
13665 ac_cpp_err
=$ac_c_preproc_warn_flag
13666 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13673 if test -z "$ac_cpp_err"; then
13674 ac_header_preproc
=yes
13676 echo "$as_me: failed program was:" >&5
13677 sed 's/^/| /' conftest.
$ac_ext >&5
13679 ac_header_preproc
=no
13681 rm -f conftest.err conftest.
$ac_ext
13682 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13683 echo "${ECHO_T}$ac_header_preproc" >&6
13685 # So? What about this header?
13686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13688 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13689 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13691 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13692 ac_header_preproc
=yes
13695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13698 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13699 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13700 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13701 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13702 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13705 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13706 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13709 ## ------------------------------------------ ##
13710 ## Report this to the AC_PACKAGE_NAME lists. ##
13711 ## ------------------------------------------ ##
13714 sed "s/^/$as_me: WARNING: /" >&2
13717 echo "$as_me:$LINENO: checking for $ac_header" >&5
13718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13720 echo $ECHO_N "(cached) $ECHO_C" >&6
13722 eval "$as_ac_Header=\$ac_header_preproc"
13724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13729 cat >>confdefs.h
<<_ACEOF
13730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13742 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
13744 cat >>confdefs.h
<<\_ACEOF
13745 #define USE_BINARY_FOPEN 1
13750 # target-specific stuff:
13752 # Canonicalize the secondary target names.
13753 if test -n "$enable_targets"; then
13754 for targ
in `echo $enable_targets | sed 's/,/ /g'`
13756 result
=`$ac_config_sub $targ 2>/dev/null`
13757 if test -n "$result"; then
13758 canon_targets
="$canon_targets $result"
13760 # Allow targets that config.sub doesn't recognize, like "all".
13761 canon_targets
="$canon_targets $targ"
13766 if test "${ac_cv_header_iconv_h+set}" = set; then
13767 echo "$as_me:$LINENO: checking for iconv.h" >&5
13768 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
13769 if test "${ac_cv_header_iconv_h+set}" = set; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13772 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
13773 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
13775 # Is the header compilable?
13776 echo "$as_me:$LINENO: checking iconv.h usability" >&5
13777 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
13778 cat >conftest.
$ac_ext <<_ACEOF
13781 cat confdefs.h
>>conftest.
$ac_ext
13782 cat >>conftest.
$ac_ext <<_ACEOF
13783 /* end confdefs.h. */
13784 $ac_includes_default
13787 rm -f conftest.
$ac_objext
13788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13789 (eval $ac_compile) 2>conftest.er1
13791 grep -v '^ *+' conftest.er1
>conftest.err
13793 cat conftest.err
>&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); } &&
13796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798 (eval $ac_try) 2>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); }; } &&
13802 { ac_try
='test -s conftest.$ac_objext'
13803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13804 (eval $ac_try) 2>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); }; }; then
13808 ac_header_compiler
=yes
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.
$ac_ext >&5
13813 ac_header_compiler
=no
13815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13817 echo "${ECHO_T}$ac_header_compiler" >&6
13819 # Is the header present?
13820 echo "$as_me:$LINENO: checking iconv.h presence" >&5
13821 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
13822 cat >conftest.
$ac_ext <<_ACEOF
13825 cat confdefs.h
>>conftest.
$ac_ext
13826 cat >>conftest.
$ac_ext <<_ACEOF
13827 /* end confdefs.h. */
13830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13833 grep -v '^ *+' conftest.er1
>conftest.err
13835 cat conftest.err
>&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); } >/dev
/null
; then
13838 if test -s conftest.err
; then
13839 ac_cpp_err
=$ac_c_preproc_warn_flag
13840 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13847 if test -z "$ac_cpp_err"; then
13848 ac_header_preproc
=yes
13850 echo "$as_me: failed program was:" >&5
13851 sed 's/^/| /' conftest.
$ac_ext >&5
13853 ac_header_preproc
=no
13855 rm -f conftest.err conftest.
$ac_ext
13856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13857 echo "${ECHO_T}$ac_header_preproc" >&6
13859 # So? What about this header?
13860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13862 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
13863 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13864 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
13865 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
13866 ac_header_preproc
=yes
13869 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
13870 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
13871 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
13872 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
13873 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
13874 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
13875 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
13876 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
13877 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
13878 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
13879 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
13880 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
13883 ## ------------------------------------------ ##
13884 ## Report this to the AC_PACKAGE_NAME lists. ##
13885 ## ------------------------------------------ ##
13888 sed "s/^/$as_me: WARNING: /" >&2
13891 echo "$as_me:$LINENO: checking for iconv.h" >&5
13892 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
13893 if test "${ac_cv_header_iconv_h+set}" = set; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13896 ac_cv_header_iconv_h
=$ac_header_preproc
13898 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
13899 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
13905 if test "X$prefix" = "XNONE"; then
13906 acl_final_prefix
="$ac_default_prefix"
13908 acl_final_prefix
="$prefix"
13910 if test "X$exec_prefix" = "XNONE"; then
13911 acl_final_exec_prefix
='${prefix}'
13913 acl_final_exec_prefix
="$exec_prefix"
13915 acl_save_prefix
="$prefix"
13916 prefix
="$acl_final_prefix"
13917 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13918 prefix
="$acl_save_prefix"
13921 # Check whether --with-gnu-ld or --without-gnu-ld was given.
13922 if test "${with_gnu_ld+set}" = set; then
13923 withval
="$with_gnu_ld"
13924 test "$withval" = no || with_gnu_ld
=yes
13928 # Prepare PATH_SEPARATOR.
13929 # The user is always right.
13930 if test "${PATH_SEPARATOR+set}" != set; then
13931 echo "#! /bin/sh" >conf$$.sh
13932 echo "exit 0" >>conf$$.sh
13934 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13942 if test "$GCC" = yes; then
13943 # Check if gcc -print-prog-name=ld gives a path.
13944 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
13945 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
13948 # gcc leaves a trailing carriage return which upsets mingw
13949 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13951 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13954 # Accept absolute paths.
13955 [\\/]* |
[A-Za-z
]:[\\/]*)
13956 re_direlt
='/[^/][^/]*/\.\./'
13957 # Canonicalize the path of ld
13958 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
13959 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
13960 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
13962 test -z "$LD" && LD
="$ac_prog"
13965 # If it fails, then pretend we aren't using GCC.
13969 # If it is relative, then search for the first ld in PATH.
13970 with_gnu_ld
=unknown
13973 elif test "$with_gnu_ld" = yes; then
13974 echo "$as_me:$LINENO: checking for GNU ld" >&5
13975 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13977 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13978 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13980 if test "${acl_cv_path_LD+set}" = set; then
13981 echo $ECHO_N "(cached) $ECHO_C" >&6
13983 if test -z "$LD"; then
13984 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13985 for ac_dir
in $PATH; do
13986 test -z "$ac_dir" && ac_dir
=.
13987 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13988 acl_cv_path_LD
="$ac_dir/$ac_prog"
13989 # Check to see if the program is GNU ld. I'd rather use --version,
13990 # but apparently some GNU ld's only accept -v.
13991 # Break only if it was the GNU/non-GNU ld that we prefer.
13992 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
13993 test "$with_gnu_ld" != no
&& break
13995 test "$with_gnu_ld" != yes && break
14001 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
14005 LD
="$acl_cv_path_LD"
14006 if test -n "$LD"; then
14007 echo "$as_me:$LINENO: result: $LD" >&5
14008 echo "${ECHO_T}$LD" >&6
14010 echo "$as_me:$LINENO: result: no" >&5
14011 echo "${ECHO_T}no" >&6
14013 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14014 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14015 { (exit 1); exit 1; }; }
14016 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14017 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
14018 if test "${acl_cv_prog_gnu_ld+set}" = set; then
14019 echo $ECHO_N "(cached) $ECHO_C" >&6
14021 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14022 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
14023 acl_cv_prog_gnu_ld
=yes
14025 acl_cv_prog_gnu_ld
=no
14028 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
14029 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
14030 with_gnu_ld
=$acl_cv_prog_gnu_ld
14034 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
14035 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
14036 if test "${acl_cv_rpath+set}" = set; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
14041 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14043 rm -f .
/conftest.sh
14047 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
14048 echo "${ECHO_T}$acl_cv_rpath" >&6
14050 libext
="$acl_cv_libext"
14051 shlibext
="$acl_cv_shlibext"
14052 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
14053 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
14054 hardcode_direct
="$acl_cv_hardcode_direct"
14055 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
14056 # Check whether --enable-rpath or --disable-rpath was given.
14057 if test "${enable_rpath+set}" = set; then
14058 enableval
="$enable_rpath"
14072 acl_save_prefix
="$prefix"
14073 prefix
="$acl_final_prefix"
14074 acl_save_exec_prefix
="$exec_prefix"
14075 exec_prefix
="$acl_final_exec_prefix"
14077 eval additional_includedir
=\"$includedir\"
14078 eval additional_libdir
=\"$libdir\"
14080 exec_prefix
="$acl_save_exec_prefix"
14081 prefix
="$acl_save_prefix"
14084 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
14085 if test "${with_libiconv_prefix+set}" = set; then
14086 withval
="$with_libiconv_prefix"
14088 if test "X$withval" = "Xno"; then
14091 if test "X$withval" = "X"; then
14093 acl_save_prefix
="$prefix"
14094 prefix
="$acl_final_prefix"
14095 acl_save_exec_prefix
="$exec_prefix"
14096 exec_prefix
="$acl_final_exec_prefix"
14098 eval additional_includedir
=\"$includedir\"
14099 eval additional_libdir
=\"$libdir\"
14101 exec_prefix
="$acl_save_exec_prefix"
14102 prefix
="$acl_save_prefix"
14105 additional_includedir
="$withval/include"
14106 additional_libdir
="$withval/lib"
14116 names_already_handled
=
14117 names_next_round
='iconv '
14118 while test -n "$names_next_round"; do
14119 names_this_round
="$names_next_round"
14121 for name
in $names_this_round; do
14123 for n
in $names_already_handled; do
14124 if test "$n" = "$name"; then
14125 already_handled
=yes
14129 if test -z "$already_handled"; then
14130 names_already_handled
="$names_already_handled $name"
14131 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14132 eval value
=\"\
$HAVE_LIB$uppername\"
14133 if test -n "$value"; then
14134 if test "$value" = yes; then
14135 eval value
=\"\
$LIB$uppername\"
14136 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
14137 eval value
=\"\
$LTLIB$uppername\"
14138 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
14147 if test $use_additional = yes; then
14148 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
14149 found_dir
="$additional_libdir"
14150 found_so
="$additional_libdir/lib$name.$shlibext"
14151 if test -f "$additional_libdir/lib$name.la"; then
14152 found_la
="$additional_libdir/lib$name.la"
14155 if test -f "$additional_libdir/lib$name.$libext"; then
14156 found_dir
="$additional_libdir"
14157 found_a
="$additional_libdir/lib$name.$libext"
14158 if test -f "$additional_libdir/lib$name.la"; then
14159 found_la
="$additional_libdir/lib$name.la"
14164 if test "X$found_dir" = "X"; then
14165 for x
in $LDFLAGS $LTLIBICONV; do
14167 acl_save_prefix
="$prefix"
14168 prefix
="$acl_final_prefix"
14169 acl_save_exec_prefix
="$exec_prefix"
14170 exec_prefix
="$acl_final_exec_prefix"
14172 exec_prefix
="$acl_save_exec_prefix"
14173 prefix
="$acl_save_prefix"
14177 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14178 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
14180 found_so
="$dir/lib$name.$shlibext"
14181 if test -f "$dir/lib$name.la"; then
14182 found_la
="$dir/lib$name.la"
14185 if test -f "$dir/lib$name.$libext"; then
14187 found_a
="$dir/lib$name.$libext"
14188 if test -f "$dir/lib$name.la"; then
14189 found_la
="$dir/lib$name.la"
14195 if test "X$found_dir" != "X"; then
14200 if test "X$found_dir" != "X"; then
14201 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14202 if test "X$found_so" != "X"; then
14203 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
14204 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14207 for x
in $ltrpathdirs; do
14208 if test "X$x" = "X$found_dir"; then
14213 if test -z "$haveit"; then
14214 ltrpathdirs
="$ltrpathdirs $found_dir"
14216 if test "$hardcode_direct" = yes; then
14217 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14219 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14220 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14222 for x
in $rpathdirs; do
14223 if test "X$x" = "X$found_dir"; then
14228 if test -z "$haveit"; then
14229 rpathdirs
="$rpathdirs $found_dir"
14233 for x
in $LDFLAGS $LIBICONV; do
14235 acl_save_prefix
="$prefix"
14236 prefix
="$acl_final_prefix"
14237 acl_save_exec_prefix
="$exec_prefix"
14238 exec_prefix
="$acl_final_exec_prefix"
14240 exec_prefix
="$acl_save_exec_prefix"
14241 prefix
="$acl_save_prefix"
14243 if test "X$x" = "X-L$found_dir"; then
14248 if test -z "$haveit"; then
14249 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14251 if test "$hardcode_minus_L" != no
; then
14252 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14254 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14260 if test "X$found_a" != "X"; then
14261 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
14263 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14266 additional_includedir
=
14267 case "$found_dir" in
14269 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
14270 additional_includedir
="$basedir/include"
14273 if test "X$additional_includedir" != "X"; then
14274 if test "X$additional_includedir" != "X/usr/include"; then
14276 if test "X$additional_includedir" = "X/usr/local/include"; then
14277 if test -n "$GCC"; then
14279 linux
*) haveit
=yes;;
14283 if test -z "$haveit"; then
14284 for x
in $CPPFLAGS $INCICONV; do
14286 acl_save_prefix
="$prefix"
14287 prefix
="$acl_final_prefix"
14288 acl_save_exec_prefix
="$exec_prefix"
14289 exec_prefix
="$acl_final_exec_prefix"
14291 exec_prefix
="$acl_save_exec_prefix"
14292 prefix
="$acl_save_prefix"
14294 if test "X$x" = "X-I$additional_includedir"; then
14299 if test -z "$haveit"; then
14300 if test -d "$additional_includedir"; then
14301 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14307 if test -n "$found_la"; then
14308 save_libdir
="$libdir"
14309 case "$found_la" in
14310 */* |
*\\*) .
"$found_la" ;;
14311 *) .
"./$found_la" ;;
14313 libdir
="$save_libdir"
14314 for dep
in $dependency_libs; do
14317 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14318 if test "X$additional_libdir" != "X/usr/lib"; then
14320 if test "X$additional_libdir" = "X/usr/local/lib"; then
14321 if test -n "$GCC"; then
14323 linux
*) haveit
=yes;;
14327 if test -z "$haveit"; then
14329 for x
in $LDFLAGS $LIBICONV; do
14331 acl_save_prefix
="$prefix"
14332 prefix
="$acl_final_prefix"
14333 acl_save_exec_prefix
="$exec_prefix"
14334 exec_prefix
="$acl_final_exec_prefix"
14336 exec_prefix
="$acl_save_exec_prefix"
14337 prefix
="$acl_save_prefix"
14339 if test "X$x" = "X-L$additional_libdir"; then
14344 if test -z "$haveit"; then
14345 if test -d "$additional_libdir"; then
14346 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14350 for x
in $LDFLAGS $LTLIBICONV; do
14352 acl_save_prefix
="$prefix"
14353 prefix
="$acl_final_prefix"
14354 acl_save_exec_prefix
="$exec_prefix"
14355 exec_prefix
="$acl_final_exec_prefix"
14357 exec_prefix
="$acl_save_exec_prefix"
14358 prefix
="$acl_save_prefix"
14360 if test "X$x" = "X-L$additional_libdir"; then
14365 if test -z "$haveit"; then
14366 if test -d "$additional_libdir"; then
14367 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14374 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14375 if test "$enable_rpath" != no
; then
14377 for x
in $rpathdirs; do
14378 if test "X$x" = "X$dir"; then
14383 if test -z "$haveit"; then
14384 rpathdirs
="$rpathdirs $dir"
14387 for x
in $ltrpathdirs; do
14388 if test "X$x" = "X$dir"; then
14393 if test -z "$haveit"; then
14394 ltrpathdirs
="$ltrpathdirs $dir"
14399 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14402 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14405 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14406 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14412 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14413 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14419 if test "X$rpathdirs" != "X"; then
14420 if test -n "$hardcode_libdir_separator"; then
14422 for found_dir
in $rpathdirs; do
14423 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14425 acl_save_libdir
="$libdir"
14427 eval flag
=\"$hardcode_libdir_flag_spec\"
14428 libdir
="$acl_save_libdir"
14429 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14431 for found_dir
in $rpathdirs; do
14432 acl_save_libdir
="$libdir"
14433 libdir
="$found_dir"
14434 eval flag
=\"$hardcode_libdir_flag_spec\"
14435 libdir
="$acl_save_libdir"
14436 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14440 if test "X$ltrpathdirs" != "X"; then
14441 for found_dir
in $ltrpathdirs; do
14442 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14452 am_save_CPPFLAGS
="$CPPFLAGS"
14454 for element
in $INCICONV; do
14456 for x
in $CPPFLAGS; do
14458 acl_save_prefix
="$prefix"
14459 prefix
="$acl_final_prefix"
14460 acl_save_exec_prefix
="$exec_prefix"
14461 exec_prefix
="$acl_final_exec_prefix"
14463 exec_prefix
="$acl_save_exec_prefix"
14464 prefix
="$acl_save_prefix"
14466 if test "X$x" = "X$element"; then
14471 if test -z "$haveit"; then
14472 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14477 echo "$as_me:$LINENO: checking for iconv" >&5
14478 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
14479 if test "${am_cv_func_iconv+set}" = set; then
14480 echo $ECHO_N "(cached) $ECHO_C" >&6
14483 am_cv_func_iconv
="no, consider installing GNU libiconv"
14485 cat >conftest.
$ac_ext <<_ACEOF
14488 cat confdefs.h
>>conftest.
$ac_ext
14489 cat >>conftest.
$ac_ext <<_ACEOF
14490 /* end confdefs.h. */
14491 #include <stdlib.h>
14496 iconv_t cd = iconv_open("","");
14497 iconv(cd,NULL,NULL,NULL,NULL);
14503 rm -f conftest.
$ac_objext conftest
$ac_exeext
14504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14505 (eval $ac_link) 2>conftest.er1
14507 grep -v '^ *+' conftest.er1
>conftest.err
14509 cat conftest.err
>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } &&
14512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; } &&
14518 { ac_try
='test -s conftest$ac_exeext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 am_cv_func_iconv
=yes
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.
$ac_ext >&5
14530 rm -f conftest.err conftest.
$ac_objext \
14531 conftest
$ac_exeext conftest.
$ac_ext
14532 if test "$am_cv_func_iconv" != yes; then
14533 am_save_LIBS
="$LIBS"
14534 LIBS
="$LIBS $LIBICONV"
14535 cat >conftest.
$ac_ext <<_ACEOF
14538 cat confdefs.h
>>conftest.
$ac_ext
14539 cat >>conftest.
$ac_ext <<_ACEOF
14540 /* end confdefs.h. */
14541 #include <stdlib.h>
14546 iconv_t cd = iconv_open("","");
14547 iconv(cd,NULL,NULL,NULL,NULL);
14553 rm -f conftest.
$ac_objext conftest
$ac_exeext
14554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14555 (eval $ac_link) 2>conftest.er1
14557 grep -v '^ *+' conftest.er1
>conftest.err
14559 cat conftest.err
>&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); } &&
14562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; } &&
14568 { ac_try
='test -s conftest$ac_exeext'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; }; then
14574 am_cv_lib_iconv
=yes
14575 am_cv_func_iconv
=yes
14577 echo "$as_me: failed program was:" >&5
14578 sed 's/^/| /' conftest.
$ac_ext >&5
14581 rm -f conftest.err conftest.
$ac_objext \
14582 conftest
$ac_exeext conftest.
$ac_ext
14583 LIBS
="$am_save_LIBS"
14587 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
14588 echo "${ECHO_T}$am_cv_func_iconv" >&6
14589 if test "$am_cv_func_iconv" = yes; then
14591 cat >>confdefs.h
<<\_ACEOF
14592 #define HAVE_ICONV 1
14596 if test "$am_cv_lib_iconv" = yes; then
14597 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
14598 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
14599 echo "$as_me:$LINENO: result: $LIBICONV" >&5
14600 echo "${ECHO_T}$LIBICONV" >&6
14602 CPPFLAGS
="$am_save_CPPFLAGS"
14609 if test "$am_cv_func_iconv" = yes; then
14610 echo "$as_me:$LINENO: checking for iconv declaration" >&5
14611 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
14612 if test "${am_cv_proto_iconv+set}" = set; then
14613 echo $ECHO_N "(cached) $ECHO_C" >&6
14616 cat >conftest.
$ac_ext <<_ACEOF
14619 cat confdefs.h
>>conftest.
$ac_ext
14620 cat >>conftest.
$ac_ext <<_ACEOF
14621 /* end confdefs.h. */
14623 #include <stdlib.h>
14629 #if defined(__STDC__) || defined(__cplusplus)
14630 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
14643 rm -f conftest.
$ac_objext
14644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14645 (eval $ac_compile) 2>conftest.er1
14647 grep -v '^ *+' conftest.er1
>conftest.err
14649 cat conftest.err
>&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; } &&
14658 { ac_try
='test -s conftest.$ac_objext'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 am_cv_proto_iconv_arg1
=""
14666 echo "$as_me: failed program was:" >&5
14667 sed 's/^/| /' conftest.
$ac_ext >&5
14669 am_cv_proto_iconv_arg1
="const"
14671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14672 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);"
14675 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
14676 echo "$as_me:$LINENO: result: ${ac_t:-
14677 }$am_cv_proto_iconv" >&5
14678 echo "${ECHO_T}${ac_t:-
14679 }$am_cv_proto_iconv" >&6
14681 cat >>confdefs.h
<<_ACEOF
14682 #define ICONV_CONST $am_cv_proto_iconv_arg1
14699 BUILD_INSTALL_MISC
=
14702 for targ
in $target $canon_targets
14704 if test "x$targ" = "xall"; then
14706 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
14707 BUILD_SRCONV
='$(SRCONV_PROG)'
14708 NLMCONV_DEFS
="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
14709 BUILD_MISC
="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
14710 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14711 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14712 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14713 if test -z "$DLLTOOL_DEFAULT"; then
14714 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
14716 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
14717 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
14720 i
[3-7]86*-*-netware*)
14721 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
14722 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_I386"
14725 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
14726 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_ALPHA"
14728 powerpc
*-*-netware*)
14729 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
14730 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_POWERPC"
14733 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
14734 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_SPARC"
14738 *-*-hms*) BUILD_SRCONV
='$(SRCONV_PROG)' ;;
14742 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14743 if test -z "$DLLTOOL_DEFAULT"; then
14744 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_EPOC"
14746 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
14747 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14748 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14750 arm-wince-pe
* | arm-
*-wince)
14751 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14752 if test -z "$DLLTOOL_DEFAULT"; then
14753 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_WINCE"
14755 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_WINCE -DDLLTOOL_ARM"
14756 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14757 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14760 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14761 if test -z "$DLLTOOL_DEFAULT"; then
14762 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
14764 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
14765 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14766 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14769 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14770 if test -z "$DLLTOOL_DEFAULT"; then
14771 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
14773 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
14774 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14775 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14778 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14779 if test -z "$DLLTOOL_DEFAULT"; then
14780 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MX86_64"
14782 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MX86_64"
14783 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14784 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14785 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
14787 i
[3-7]86-*-pe* | i
[3-7]86-*-cygwin* | i
[3-7]86-*-mingw32** | i
[3-7]86-*-netbsdpe*)
14788 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14789 if test -z "$DLLTOOL_DEFAULT"; then
14790 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
14792 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
14793 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14794 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14795 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
14797 i
[3-7]86-*-interix)
14798 BUILD_DLLTOOL
='$(DLLTOOL_PROG)'
14799 if test -z "$DLLTOOL_DEFAULT"; then
14800 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
14802 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
14804 powerpc
*-aix5.
[01])
14807 OBJDUMP_DEFS
="-DAIX_WEAK_SUPPORT"
14809 powerpc
*-*-pe* | powerpc
*-*-cygwin*)
14810 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14811 if test -z "$DLLTOOL_DEFAULT"; then
14812 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_PPC"
14814 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_PPC"
14815 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14816 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14818 powerpc
*-*-linux* | powerpc
*-*-elf* | powerpc
*-*-eabi*)
14819 BUILD_INSTALL_MISC
="${BUILD_INSTALL_MISC} embedspu"
14822 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14823 if test -z "$DLLTOOL_DEFAULT"; then
14824 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_SH"
14826 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_SH"
14827 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14828 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14831 BUILD_MISC
="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
14834 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14835 if test -z "$DLLTOOL_DEFAULT"; then
14836 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MIPS"
14838 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
14839 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14840 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14843 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14844 if test -z "$DLLTOOL_DEFAULT"; then
14845 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE"
14847 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
14848 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14849 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14852 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14853 if test -z "$DLLTOOL_DEFAULT"; then
14854 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE_ELF"
14856 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
14859 OBJDUMP_DEFS
="-DSKIP_ZEROES=256 -DSKIP_ZEROES_AT_END=0"
14865 DLLTOOL_DEFS
="$DLLTOOL_DEFS $DLLTOOL_DEFAULT"
14867 if test "${with_windres+set}" = set; then
14868 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14871 if test "${with_windmc+set}" = set; then
14872 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14888 cat >>confdefs.h
<<_ACEOF
14889 #define TARGET "${target}"
14894 .
$srcdir/..
/bfd
/config.bfd
14895 if test "x$targ_underscore" = "xyes"; then
14901 cat >>confdefs.h
<<_ACEOF
14902 #define TARGET_PREPENDS_UNDERSCORE $UNDERSCORE
14907 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
14909 # Canonicalize the secondary target names.
14910 result
=`$ac_config_sub $targ_alias 2>/dev/null`
14911 if test -n "$result"; then
14917 .
${srcdir}/configure.tgt
14919 EMULATION
=$targ_emul
14920 EMULATION_VECTOR
=$targ_emul_vector
14926 # Required for html and install-html
14931 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
14932 cat >confcache
<<\_ACEOF
14933 # This file is a shell script that caches the results of configure
14934 # tests run on this system so they can be shared between configure
14935 # scripts and configure runs, see configure's option --config-cache.
14936 # It is not useful on other systems. If it contains results you don't
14937 # want to keep, you may remove or edit it.
14939 # config.status only pays attention to the cache file if you give it
14940 # the --recheck option to rerun configure.
14942 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14944 # following values.
14948 # The following way of writing the cache mishandles newlines in values,
14949 # but we know of no workaround that is simple, portable, and efficient.
14950 # So, don't put newlines in cache variables' values.
14951 # Ultrix sh set writes to stderr and can't be redirected directly,
14952 # and sets the high bit in the cache file unless we assign to the vars.
14955 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14957 # `set' does not quote correctly, so add quotes (double-quote
14958 # substitution turns \\\\ into \\, and sed turns \\ into \).
14961 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14964 # `set' quotes correctly as required by POSIX, so do not add quotes.
14966 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14973 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14975 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14977 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
14978 if test -w $cache_file; then
14979 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14980 cat confcache
>$cache_file
14982 echo "not updating unwritable cache $cache_file"
14987 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14988 # Let make expand exec_prefix.
14989 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14991 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14992 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14993 # trailing colons and then remove the whole line if VPATH becomes empty
14994 # (actually we leave an empty line to preserve line numbers).
14995 if test "x$srcdir" = x.
; then
14996 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14997 s/:*\$(srcdir):*/:/;
14998 s/:*\${srcdir}:*/:/;
15000 s/^\([^=]*=[ ]*\):*/\1/;
15006 DEFS
=-DHAVE_CONFIG_H
15010 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15011 # 1. Remove the extension, and $U if already installed.
15012 ac_i
=`echo "$ac_i" |
15013 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15015 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
15016 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
15018 LIBOBJS
=$ac_libobjs
15020 LTLIBOBJS
=$ac_ltlibobjs
15023 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15024 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15025 Usually this means the macro was only invoked conditionally." >&5
15026 echo "$as_me: error: conditional \"AMDEP\" was never defined.
15027 Usually this means the macro was only invoked conditionally." >&2;}
15028 { (exit 1); exit 1; }; }
15030 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15031 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15032 Usually this means the macro was only invoked conditionally." >&5
15033 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15034 Usually this means the macro was only invoked conditionally." >&2;}
15035 { (exit 1); exit 1; }; }
15037 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15038 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15039 Usually this means the macro was only invoked conditionally." >&5
15040 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15041 Usually this means the macro was only invoked conditionally." >&2;}
15042 { (exit 1); exit 1; }; }
15044 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
15045 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
15046 Usually this means the macro was only invoked conditionally." >&5
15047 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
15048 Usually this means the macro was only invoked conditionally." >&2;}
15049 { (exit 1); exit 1; }; }
15052 : ${CONFIG_STATUS=./config.status}
15053 ac_clean_files_save
=$ac_clean_files
15054 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15055 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15056 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15057 cat >$CONFIG_STATUS <<_ACEOF
15059 # Generated by $as_me.
15060 # Run this file to recreate the current configuration.
15061 # Compiler output produced by configure, useful for debugging
15062 # configure, is in config.log if it exists.
15065 ac_cs_recheck=false
15067 SHELL=\${CONFIG_SHELL-$SHELL}
15070 cat >>$CONFIG_STATUS <<\_ACEOF
15071 ## --------------------- ##
15072 ## M4sh Initialization. ##
15073 ## --------------------- ##
15075 # Be Bourne compatible
15076 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15079 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15080 # is contrary to our usage. Disable this feature.
15081 alias -g '${1+"$@"}'='"$@"'
15082 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
15085 DUALCASE
=1; export DUALCASE
# for MKS sh
15087 # Support unset when possible.
15088 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
15095 # Work around bugs in pre-3.0 UWIN ksh.
15096 $as_unset ENV MAIL MAILPATH
15103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15105 LC_TELEPHONE LC_TIME
15107 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15108 eval $as_var=C
; export $as_var
15114 # Required to use basename.
15115 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15121 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
15122 as_basename
=basename
15128 # Name of the executable.
15129 as_me
=`$as_basename "$0" ||
15130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15131 X"$0" : 'X\(//\)$' \| \
15132 X"$0" : 'X\(/\)$' \| \
15133 . : '\(.\)' 2>/dev/null ||
15135 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15136 /^X\/\(\/\/\)$/{ s//\1/; q; }
15137 /^X\/\(\/\).*/{ s//\1/; q; }
15141 # PATH needs CR, and LINENO needs CR and PATH.
15142 # Avoid depending upon Character Ranges.
15143 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15144 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15145 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15146 as_cr_digits
='0123456789'
15147 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15149 # The user is always right.
15150 if test "${PATH_SEPARATOR+set}" != set; then
15151 echo "#! /bin/sh" >conf$$.sh
15152 echo "exit 0" >>conf$$.sh
15154 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15163 as_lineno_1
=$LINENO
15164 as_lineno_2
=$LINENO
15165 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
15166 test "x$as_lineno_1" != "x$as_lineno_2" &&
15167 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
15168 # Find who we are. Look in the path if we contain no path at all
15171 *[\\/]* ) as_myself
=$0 ;;
15172 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15173 for as_dir
in $PATH
15176 test -z "$as_dir" && as_dir
=.
15177 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15182 # We did not find ourselves, most probably we were run as `sh COMMAND'
15183 # in which case we are not to be found in the path.
15184 if test "x$as_myself" = x
; then
15187 if test ! -f "$as_myself"; then
15188 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15189 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15190 { (exit 1); exit 1; }; }
15192 case $CONFIG_SHELL in
15194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15195 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
15198 test -z "$as_dir" && as_dir
=.
15199 for as_base
in sh bash ksh sh5
; do
15202 if ("$as_dir/$as_base" -c '
15203 as_lineno_1=$LINENO
15204 as_lineno_2=$LINENO
15205 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15206 test "x$as_lineno_1" != "x$as_lineno_2" &&
15207 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
15208 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
15209 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
15210 CONFIG_SHELL
=$as_dir/$as_base
15211 export CONFIG_SHELL
15212 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15220 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15221 # uniformly replaced by the line number. The first 'sed' inserts a
15222 # line-number line before each line; the second 'sed' does the real
15223 # work. The second script uses 'N' to pair each line-number line
15224 # with the numbered line, and appends trailing '-' during
15225 # substitution so that $LINENO is not a special case at line end.
15226 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15227 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15228 sed '=' <$as_myself |
15233 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15236 s,^['$as_cr_digits']*\n,,
15237 ' >$as_me.lineno
&&
15238 chmod +x
$as_me.lineno ||
15239 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15240 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15241 { (exit 1); exit 1; }; }
15243 # Don't try to exec as it changes $[0], causing all sort of problems
15244 # (the dirname of $[0] is not the place where we might find the
15245 # original and so on. Autoconf is especially sensible to this).
15247 # Exit status is that of the last command.
15252 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15253 *c
*,-n*) ECHO_N
= ECHO_C
='
15255 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
15256 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
15259 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15265 rm -f conf$$ conf$$.exe conf$$.
file
15267 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15268 # We could just check for DJGPP; but this test a) works b) is more generic
15269 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15270 if test -f conf$$.exe
; then
15271 # Don't use ln at all; we don't have any links
15276 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15281 rm -f conf$$ conf$$.exe conf$$.
file
15283 if mkdir
-p .
2>/dev
/null
; then
15286 test -d .
/-p && rmdir .
/-p
15290 as_executable_p
="test -f"
15292 # Sed expression to map a string onto a valid CPP name.
15293 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15295 # Sed expression to map a string onto a valid variable name.
15296 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15300 # We need space, tab and new line, in precisely that order.
15310 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15311 # report actual input values of CONFIG_FILES etc. instead of their
15312 # values after options handling. Logging --version etc. is OK.
15316 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15317 ## Running $as_me. ##
15322 This file was extended by $as_me, which was
15323 generated by GNU Autoconf 2.59. Invocation command line was
15325 CONFIG_FILES = $CONFIG_FILES
15326 CONFIG_HEADERS = $CONFIG_HEADERS
15327 CONFIG_LINKS = $CONFIG_LINKS
15328 CONFIG_COMMANDS = $CONFIG_COMMANDS
15332 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15336 # Files that config.status was made for.
15337 if test -n "$ac_config_files"; then
15338 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15341 if test -n "$ac_config_headers"; then
15342 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15345 if test -n "$ac_config_links"; then
15346 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15349 if test -n "$ac_config_commands"; then
15350 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15353 cat >>$CONFIG_STATUS <<\_ACEOF
15356 \`$as_me' instantiates files from templates according to the
15357 current configuration.
15359 Usage: $0 [OPTIONS] [FILE]...
15361 -h, --help print this help, then exit
15362 -V, --version print version number, then exit
15363 -q, --quiet do not print progress messages
15364 -d, --debug don't remove temporary files
15365 --recheck update $as_me by reconfiguring in the same conditions
15366 --file=FILE[:TEMPLATE]
15367 instantiate the configuration file FILE
15368 --header=FILE[:TEMPLATE]
15369 instantiate the configuration header FILE
15371 Configuration files:
15374 Configuration headers:
15377 Configuration commands:
15380 Report bugs to <bug-autoconf@gnu.org>."
15383 cat >>$CONFIG_STATUS <<_ACEOF
15386 configured by $0, generated by GNU Autoconf 2.59,
15387 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15389 Copyright (C) 2003 Free Software Foundation, Inc.
15390 This config.status script is free software; the Free Software Foundation
15391 gives unlimited permission to copy, distribute and modify it."
15396 cat >>$CONFIG_STATUS <<\_ACEOF
15397 # If no file are specified by the user, then we need to provide default
15398 # value. By we need to know if files were specified by the user.
15404 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
15405 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
15413 *) # This is not an option, so the user has probably given explicit
15416 ac_need_defaults
=false
;;
15420 # Handling of the options.
15422 cat >>$CONFIG_STATUS <<\_ACEOF
15423 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15425 --version |
--vers* |
-V )
15426 echo "$ac_cs_version"; exit 0 ;;
15428 # Conflict between --help and --header
15429 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15430 Try \`$0 --help' for more information." >&5
15431 echo "$as_me: error: ambiguous option: $1
15432 Try \`$0 --help' for more information." >&2;}
15433 { (exit 1); exit 1; }; };;
15434 --help |
--hel |
-h )
15435 echo "$ac_cs_usage"; exit 0 ;;
15436 --debug |
--d* |
-d )
15438 --file |
--fil |
--fi |
--f )
15440 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15441 ac_need_defaults
=false
;;
15442 --header |
--heade |
--head |
--hea )
15444 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15445 ac_need_defaults
=false
;;
15446 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15447 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15450 # This is an error.
15451 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15452 Try \`$0 --help' for more information." >&5
15453 echo "$as_me: error: unrecognized option: $1
15454 Try \`$0 --help' for more information." >&2;}
15455 { (exit 1); exit 1; }; } ;;
15457 *) ac_config_targets
="$ac_config_targets $1" ;;
15463 ac_configure_extra_args
=
15465 if $ac_cs_silent; then
15467 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15471 cat >>$CONFIG_STATUS <<_ACEOF
15472 if \$ac_cs_recheck; then
15473 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15474 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15479 cat >>$CONFIG_STATUS <<_ACEOF
15481 # INIT-COMMANDS section.
15484 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15487 # The HP-UX ksh and POSIX shell print the target directory to stdout
15488 # if CDPATH is set.
15489 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15491 sed_quote_subst='$sed_quote_subst'
15492 double_quote_subst='$double_quote_subst'
15493 delay_variable_subst='$delay_variable_subst'
15494 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15495 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15496 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15497 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15498 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15499 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15500 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15501 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15502 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15503 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15504 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15505 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15506 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15507 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15508 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15509 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15510 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15511 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15512 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15513 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15514 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15515 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15516 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15517 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15518 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15519 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15520 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15521 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15522 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15523 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15524 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15525 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15526 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15527 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15528 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15529 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15530 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15531 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15532 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15533 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15534 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15535 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15536 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15537 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"`'
15538 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15539 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15540 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15541 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15542 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15543 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15544 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15545 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15546 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15547 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15548 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15549 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15550 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15551 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15552 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15553 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15554 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15555 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15556 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15557 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15558 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15559 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15560 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15561 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15562 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15563 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15564 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15565 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15566 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15567 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15568 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15569 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15570 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15571 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15572 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15573 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15574 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15575 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15576 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15577 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15578 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15579 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15580 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15581 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15582 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15583 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15584 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15585 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15586 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15587 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15588 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15589 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15590 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15591 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15592 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15593 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15594 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15595 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15596 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15597 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15598 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15599 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15600 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15601 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15602 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15603 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15604 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15607 LTCFLAGS='$LTCFLAGS'
15608 compiler='$compiler_DEFAULT'
15610 # Quote evaled strings.
15621 deplibs_check_method \
15630 lt_cv_sys_global_symbol_pipe \
15631 lt_cv_sys_global_symbol_to_cdecl \
15632 lt_cv_sys_global_symbol_to_c_name_address \
15635 lt_prog_compiler_no_builtin_flag \
15636 lt_prog_compiler_wl \
15637 lt_prog_compiler_pic \
15638 lt_prog_compiler_static \
15639 lt_cv_prog_compiler_c_o \
15642 export_dynamic_flag_spec \
15643 whole_archive_flag_spec \
15644 compiler_needs_object \
15646 allow_undefined_flag \
15647 no_undefined_flag \
15648 hardcode_libdir_flag_spec \
15649 hardcode_libdir_flag_spec_ld \
15650 hardcode_libdir_separator \
15655 variables_saved_for_relink \
15657 library_names_spec \
15662 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15663 *[\\\\\\\`\\"\\\$]*)
15664 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15667 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15672 # Double-quote double-evaled strings.
15673 for var in reload_cmds \
15674 old_postinstall_cmds \
15675 old_postuninstall_cmds \
15677 extract_expsyms_cmds \
15678 old_archive_from_new_cmds \
15679 old_archive_from_expsyms_cmds \
15681 archive_expsym_cmds \
15683 module_expsym_cmds \
15684 export_symbols_cmds \
15687 postuninstall_cmds \
15689 sys_lib_search_path_spec \
15690 sys_lib_dlsearch_path_spec; do
15691 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15692 *[\\\\\\\`\\"\\\$]*)
15693 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15696 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15701 # Fix-up fallback echo if it was mangled by the above quoting rules.
15703 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15707 ac_aux_dir='$ac_aux_dir'
15708 xsi_shell='$xsi_shell'
15709 lt_shell_append='$lt_shell_append'
15711 # See if we are running on zsh, and set the options which allow our
15712 # commands through without removal of \ escapes INIT.
15713 if test -n "\${ZSH_VERSION+set}" ; then
15714 setopt NO_GLOB_SUBST
15720 TIMESTAMP='$TIMESTAMP'
15726 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15727 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15729 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15730 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15731 LINGUAS="${LINGUAS-%UNSET%}"
15738 cat >>$CONFIG_STATUS <<\_ACEOF
15739 for ac_config_target
in $ac_config_targets
15741 case "$ac_config_target" in
15742 # Handling of arguments.
15743 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15744 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15745 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15746 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15747 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15748 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15749 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15750 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15751 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15752 { (exit 1); exit 1; }; };;
15756 # If the user did not use the arguments to specify the items to instantiate,
15757 # then the envvar interface is used. Set only those that are not.
15758 # We use the long form for the default assignment because of an extremely
15759 # bizarre bug on SunOS 4.1.3.
15760 if $ac_need_defaults; then
15761 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15762 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15763 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15766 # Have a temporary directory for convenience. Make it in the build tree
15767 # simply because there is no reason to put it here, and in addition,
15768 # creating and moving files from /tmp can sometimes cause problems.
15769 # Create a temporary directory, and hook for its removal unless debugging.
15772 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15773 trap '{ (exit 1); exit 1; }' 1 2 13 15
15776 # Create a (secure) tmp directory for tmp files.
15779 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15780 test -n "$tmp" && test -d "$tmp"
15783 tmp
=.
/confstat$$
-$RANDOM
15784 (umask 077 && mkdir
$tmp)
15787 echo "$me: cannot create a temporary directory in ." >&2
15788 { (exit 1); exit 1; }
15793 cat >>$CONFIG_STATUS <<_ACEOF
15796 # CONFIG_FILES section.
15799 # No need to generate the scripts if there are no CONFIG_FILES.
15800 # This happens for instance when ./config.status config.h
15801 if test -n "\$CONFIG_FILES"; then
15802 # Protect against being on the right side of a sed subst in config.status.
15803 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15804 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15805 s,@SHELL@,$SHELL,;t t
15806 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15807 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15808 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15809 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15810 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15811 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15812 s,@exec_prefix@,$exec_prefix,;t t
15813 s,@prefix@,$prefix,;t t
15814 s,@program_transform_name@,$program_transform_name,;t t
15815 s,@bindir@,$bindir,;t t
15816 s,@sbindir@,$sbindir,;t t
15817 s,@libexecdir@,$libexecdir,;t t
15818 s,@datadir@,$datadir,;t t
15819 s,@sysconfdir@,$sysconfdir,;t t
15820 s,@sharedstatedir@,$sharedstatedir,;t t
15821 s,@localstatedir@,$localstatedir,;t t
15822 s,@libdir@,$libdir,;t t
15823 s,@includedir@,$includedir,;t t
15824 s,@oldincludedir@,$oldincludedir,;t t
15825 s,@infodir@,$infodir,;t t
15826 s,@mandir@,$mandir,;t t
15827 s,@build_alias@,$build_alias,;t t
15828 s,@host_alias@,$host_alias,;t t
15829 s,@target_alias@,$target_alias,;t t
15830 s,@DEFS@,$DEFS,;t t
15831 s,@ECHO_C@,$ECHO_C,;t t
15832 s,@ECHO_N@,$ECHO_N,;t t
15833 s,@ECHO_T@,$ECHO_T,;t t
15834 s,@LIBS@,$LIBS,;t t
15835 s,@build@,$build,;t t
15836 s,@build_cpu@,$build_cpu,;t t
15837 s,@build_vendor@,$build_vendor,;t t
15838 s,@build_os@,$build_os,;t t
15839 s,@host@,$host,;t t
15840 s,@host_cpu@,$host_cpu,;t t
15841 s,@host_vendor@,$host_vendor,;t t
15842 s,@host_os@,$host_os,;t t
15843 s,@target@,$target,;t t
15844 s,@target_cpu@,$target_cpu,;t t
15845 s,@target_vendor@,$target_vendor,;t t
15846 s,@target_os@,$target_os,;t t
15848 s,@CFLAGS@,$CFLAGS,;t t
15849 s,@LDFLAGS@,$LDFLAGS,;t t
15850 s,@CPPFLAGS@,$CPPFLAGS,;t t
15851 s,@ac_ct_CC@,$ac_ct_CC,;t t
15852 s,@EXEEXT@,$EXEEXT,;t t
15853 s,@OBJEXT@,$OBJEXT,;t t
15854 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15855 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15856 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15857 s,@CYGPATH_W@,$CYGPATH_W,;t t
15858 s,@PACKAGE@,$PACKAGE,;t t
15859 s,@VERSION@,$VERSION,;t t
15860 s,@ACLOCAL@,$ACLOCAL,;t t
15861 s,@AUTOCONF@,$AUTOCONF,;t t
15862 s,@AUTOMAKE@,$AUTOMAKE,;t t
15863 s,@AUTOHEADER@,$AUTOHEADER,;t t
15864 s,@MAKEINFO@,$MAKEINFO,;t t
15865 s,@install_sh@,$install_sh,;t t
15866 s,@STRIP@,$STRIP,;t t
15867 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15868 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15869 s,@mkdir_p@,$mkdir_p,;t t
15871 s,@SET_MAKE@,$SET_MAKE,;t t
15872 s,@am__leading_dot@,$am__leading_dot,;t t
15873 s,@AMTAR@,$AMTAR,;t t
15874 s,@am__tar@,$am__tar,;t t
15875 s,@am__untar@,$am__untar,;t t
15876 s,@DEPDIR@,$DEPDIR,;t t
15877 s,@am__include@,$am__include,;t t
15878 s,@am__quote@,$am__quote,;t t
15879 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15880 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15881 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15882 s,@CCDEPMODE@,$CCDEPMODE,;t t
15883 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15884 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15885 s,@LIBTOOL@,$LIBTOOL,;t t
15887 s,@EGREP@,$EGREP,;t t
15888 s,@FGREP@,$FGREP,;t t
15889 s,@GREP@,$GREP,;t t
15891 s,@DUMPBIN@,$DUMPBIN,;t t
15892 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
15894 s,@LN_S@,$LN_S,;t t
15896 s,@ac_ct_AR@,$ac_ct_AR,;t t
15897 s,@RANLIB@,$RANLIB,;t t
15898 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15899 s,@lt_ECHO@,$lt_ECHO,;t t
15901 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
15902 s,@NO_WERROR@,$NO_WERROR,;t t
15903 s,@YACC@,$YACC,;t t
15905 s,@LEXLIB@,$LEXLIB,;t t
15906 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
15907 s,@USE_NLS@,$USE_NLS,;t t
15908 s,@LIBINTL@,$LIBINTL,;t t
15909 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
15910 s,@INCINTL@,$INCINTL,;t t
15911 s,@XGETTEXT@,$XGETTEXT,;t t
15912 s,@GMSGFMT@,$GMSGFMT,;t t
15913 s,@POSUB@,$POSUB,;t t
15914 s,@CATALOGS@,$CATALOGS,;t t
15915 s,@DATADIRNAME@,$DATADIRNAME,;t t
15916 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15917 s,@GENCAT@,$GENCAT,;t t
15918 s,@CATOBJEXT@,$CATOBJEXT,;t t
15919 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15920 s,@MSGFMT@,$MSGFMT,;t t
15921 s,@MSGMERGE@,$MSGMERGE,;t t
15922 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15923 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15924 s,@MAINT@,$MAINT,;t t
15925 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
15926 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
15927 s,@HDEFINES@,$HDEFINES,;t t
15928 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
15929 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
15930 s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
15931 s,@ALLOCA@,$ALLOCA,;t t
15932 s,@LIBICONV@,$LIBICONV,;t t
15933 s,@LTLIBICONV@,$LTLIBICONV,;t t
15934 s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
15935 s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
15936 s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
15937 s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
15938 s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
15939 s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
15940 s,@BUILD_WINDMC@,$BUILD_WINDMC,;t t
15941 s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
15942 s,@BUILD_MISC@,$BUILD_MISC,;t t
15943 s,@BUILD_INSTALL_MISC@,$BUILD_INSTALL_MISC,;t t
15944 s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
15945 s,@EMULATION@,$EMULATION,;t t
15946 s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
15947 s,@datarootdir@,$datarootdir,;t t
15948 s,@docdir@,$docdir,;t t
15949 s,@htmldir@,$htmldir,;t t
15950 s,@LIBOBJS@,$LIBOBJS,;t t
15951 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15956 cat >>$CONFIG_STATUS <<\_ACEOF
15957 # Split the substitutions into bite-sized pieces for seds with
15958 # small command number limits, like on Digital OSF/1 and HP-UX.
15959 ac_max_sed_lines
=48
15960 ac_sed_frag
=1 # Number of current file.
15961 ac_beg
=1 # First line for current file.
15962 ac_end
=$ac_max_sed_lines # Line after last line for current file.
15965 while $ac_more_lines; do
15966 if test $ac_beg -gt 1; then
15967 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15969 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15971 if test ! -s $tmp/subs.frag
; then
15972 ac_more_lines
=false
15974 # The purpose of the label and of the branching condition is to
15975 # speed up the sed processing (if there are no `@' at all, there
15976 # is no need to browse any of the substitutions).
15977 # These are the two extra sed commands mentioned above.
15979 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
15980 if test -z "$ac_sed_cmds"; then
15981 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
15983 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15985 ac_sed_frag
=`expr $ac_sed_frag + 1`
15987 ac_end
=`expr $ac_end + $ac_max_sed_lines`
15990 if test -z "$ac_sed_cmds"; then
15993 fi # test -n "$CONFIG_FILES"
15996 cat >>$CONFIG_STATUS <<\_ACEOF
15997 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
15998 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16000 - |
*:- |
*:-:* ) # input from stdin
16002 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16003 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16004 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16005 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16006 * ) ac_file_in
=$ac_file.
in ;;
16009 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16010 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16011 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16012 X"$ac_file" : 'X\(//\)[^/]' \| \
16013 X"$ac_file" : 'X\(//\)$' \| \
16014 X"$ac_file" : 'X\(/\)' \| \
16015 . : '\(.\)' 2>/dev/null ||
16017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16018 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16019 /^X\(\/\/\)$/{ s//\1/; q; }
16020 /^X\(\/\).*/{ s//\1/; q; }
16022 { if $as_mkdir_p; then
16027 while test ! -d "$as_dir"; do
16028 as_dirs
="$as_dir $as_dirs"
16029 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16030 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16031 X"$as_dir" : 'X\(//\)[^/]' \| \
16032 X"$as_dir" : 'X\(//\)$' \| \
16033 X"$as_dir" : 'X\(/\)' \| \
16034 . : '\(.\)' 2>/dev/null ||
16036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16037 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16038 /^X\(\/\/\)$/{ s//\1/; q; }
16039 /^X\(\/\).*/{ s//\1/; q; }
16042 test ! -n "$as_dirs" || mkdir
$as_dirs
16043 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16044 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16045 { (exit 1); exit 1; }; }; }
16049 if test "$ac_dir" != .
; then
16050 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16051 # A "../" for each directory in $ac_dir_suffix.
16052 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16054 ac_dir_suffix
= ac_top_builddir
=
16058 .
) # No --srcdir option. We are building in place.
16060 if test -z "$ac_top_builddir"; then
16063 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16065 [\\/]* | ?
:[\\/]* ) # Absolute path.
16066 ac_srcdir
=$srcdir$ac_dir_suffix;
16067 ac_top_srcdir
=$srcdir ;;
16068 *) # Relative path.
16069 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16070 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16073 # Do not use `cd foo && pwd` to compute absolute paths, because
16074 # the directories may not exist.
16076 .
) ac_abs_builddir
="$ac_dir";;
16079 .
) ac_abs_builddir
=`pwd`;;
16080 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16081 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16084 case $ac_abs_builddir in
16085 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16087 case ${ac_top_builddir}.
in
16088 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16089 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16090 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16093 case $ac_abs_builddir in
16094 .
) ac_abs_srcdir
=$ac_srcdir;;
16097 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16098 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16099 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16102 case $ac_abs_builddir in
16103 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16105 case $ac_top_srcdir in
16106 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16107 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16108 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16114 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16115 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
16118 # Let's still pretend it is `configure' which instantiates (i.e., don't
16119 # use $as_me), people would be surprised to read:
16120 # /* config.h. Generated by config.status. */
16121 if test x
"$ac_file" = x-
; then
16124 configure_input
="$ac_file. "
16126 configure_input
=$configure_input"Generated from `echo $ac_file_in |
16127 sed 's,.*/,,'` by configure."
16129 # First look for the input files in the build tree, otherwise in the
16131 ac_file_inputs
=`IFS=:
16132 for f in $ac_file_in; do
16134 -) echo $tmp/stdin ;;
16136 # Absolute (can't be DOS-style, as IFS=:)
16137 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16138 echo "$as_me: error: cannot find input file: $f" >&2;}
16139 { (exit 1); exit 1; }; }
16142 if test -f "$f"; then
16145 elif test -f "$srcdir/$f"; then
16150 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16151 echo "$as_me: error: cannot find input file: $f" >&2;}
16152 { (exit 1); exit 1; }; }
16155 done` ||
{ (exit 1); exit 1; }
16157 if test x
"$ac_file" != x-
; then
16158 { echo "$as_me:$LINENO: creating $ac_file" >&5
16159 echo "$as_me: creating $ac_file" >&6;}
16163 cat >>$CONFIG_STATUS <<_ACEOF
16167 cat >>$CONFIG_STATUS <<\_ACEOF
16169 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16170 s
,@configure_input@
,$configure_input,;t t
16171 s
,@srcdir@
,$ac_srcdir,;t t
16172 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
16173 s
,@top_srcdir@
,$ac_top_srcdir,;t t
16174 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
16175 s
,@builddir@
,$ac_builddir,;t t
16176 s
,@abs_builddir@
,$ac_abs_builddir,;t t
16177 s
,@top_builddir@
,$ac_top_builddir,;t t
16178 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
16179 s
,@INSTALL@
,$ac_INSTALL,;t t
16180 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16182 if test x"$ac_file" != x-; then
16183 mv $tmp/out $ac_file
16191 cat >>$CONFIG_STATUS <<\_ACEOF
16194 # CONFIG_HEADER section.
16197 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
16198 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16200 # ac_d sets the value in "#define NAME VALUE" lines.
16201 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16202 ac_dB
='[ ].*$,\1#\2'
16205 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16206 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16207 ac_uB
='$,\1#\2define\3'
16211 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
16212 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16214 - |
*:- |
*:-:* ) # input from stdin
16216 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16217 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16218 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16219 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16220 * ) ac_file_in
=$ac_file.
in ;;
16223 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
16224 echo "$as_me: creating $ac_file" >&6;}
16226 # First look for the input files in the build tree, otherwise in the
16228 ac_file_inputs
=`IFS=:
16229 for f in $ac_file_in; do
16231 -) echo $tmp/stdin ;;
16233 # Absolute (can't be DOS-style, as IFS=:)
16234 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16235 echo "$as_me: error: cannot find input file: $f" >&2;}
16236 { (exit 1); exit 1; }; }
16237 # Do quote $f, to prevent DOS paths from being IFS'd.
16240 if test -f "$f"; then
16243 elif test -f "$srcdir/$f"; then
16248 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16249 echo "$as_me: error: cannot find input file: $f" >&2;}
16250 { (exit 1); exit 1; }; }
16253 done` ||
{ (exit 1); exit 1; }
16254 # Remove the trailing spaces.
16255 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16259 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16260 # `conftest.undefs', that substitutes the proper values into
16261 # config.h.in to produce config.h. The first handles `#define'
16262 # templates, and the second `#undef' templates.
16263 # And first: Protect against being on the right side of a sed subst in
16264 # config.status. Protect against being in an unquoted here document
16265 # in config.status.
16266 rm -f conftest.defines conftest.undefs
16267 # Using a here document instead of a string reduces the quoting nightmare.
16268 # Putting comments in sed scripts is not portable.
16270 # `end' is used to avoid that the second main sed command (meant for
16271 # 0-ary CPP macros) applies to n-ary macro definitions.
16272 # See the Autoconf documentation for `clear'.
16273 cat >confdef2sed.
sed <<\_ACEOF
16278 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16280 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16283 # If some macros were called several times there might be several times
16284 # the same #defines, which is useless. Nevertheless, we may not want to
16285 # sort them, since we want the *last* AC-DEFINE to be honored.
16286 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16287 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16288 rm -f confdef2sed.sed
16290 # This sed command replaces #undef with comments. This is necessary, for
16291 # example, in the case of _POSIX_SOURCE, which is predefined and required
16292 # on some systems where configure will not decide to define it.
16293 cat >>conftest.undefs <<\_ACEOF
16294 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16297 # Break up conftest.defines because some shells have a limit on the size
16298 # of here documents, and old seds have small limits too (100 cmds).
16299 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16300 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16301 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16302 echo ' :' >>$CONFIG_STATUS
16303 rm -f conftest.tail
16304 while grep . conftest.defines >/dev/null
16306 # Write a limited-size here document to $tmp/defines.sed.
16307 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16308 # Speed up: don't consider the non `#define' lines.
16309 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16310 # Work around the forget-to-reset-the-flag bug.
16311 echo 't clr' >>$CONFIG_STATUS
16312 echo ': clr' >>$CONFIG_STATUS
16313 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
16315 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16317 mv $tmp/out $tmp/in
16319 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
16320 rm -f conftest.defines
16321 mv conftest.
tail conftest.defines
16323 rm -f conftest.defines
16324 echo ' fi # grep' >>$CONFIG_STATUS
16325 echo >>$CONFIG_STATUS
16327 # Break up conftest.undefs because some shells have a limit on the size
16328 # of here documents, and old seds have small limits too (100 cmds).
16329 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16330 rm -f conftest.
tail
16331 while grep . conftest.undefs
>/dev
/null
16333 # Write a limited-size here document to $tmp/undefs.sed.
16334 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16335 # Speed up: don't consider the non
`#undef'
16336 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16337 # Work around the forget-to-reset-the-flag bug.
16338 echo 't clr' >>$CONFIG_STATUS
16339 echo ': clr' >>$CONFIG_STATUS
16340 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16342 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16344 mv $tmp/out $tmp/in
16346 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16347 rm -f conftest.undefs
16348 mv conftest.tail conftest.undefs
16350 rm -f conftest.undefs
16352 cat >>$CONFIG_STATUS <<\_ACEOF
16353 # Let's still pretend it is `configure
' which instantiates (i.e., don't
16354 # use $as_me), people would be surprised to read:
16355 # /* config.h. Generated by config.status. */
16356 if test x
"$ac_file" = x-
; then
16357 echo "/* Generated by configure. */" >$tmp/config.h
16359 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16361 cat $tmp/in >>$tmp/config.h
16363 if test x
"$ac_file" != x-
; then
16364 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
16365 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16366 echo "$as_me: $ac_file is unchanged" >&6;}
16368 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16369 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16370 X"$ac_file" : 'X\(//\)[^/]' \| \
16371 X"$ac_file" : 'X\(//\)$' \| \
16372 X"$ac_file" : 'X\(/\)' \| \
16373 . : '\(.\)' 2>/dev/null ||
16375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16376 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16377 /^X\(\/\/\)$/{ s//\1/; q; }
16378 /^X\(\/\).*/{ s//\1/; q; }
16380 { if $as_mkdir_p; then
16385 while test ! -d "$as_dir"; do
16386 as_dirs
="$as_dir $as_dirs"
16387 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16388 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16389 X"$as_dir" : 'X\(//\)[^/]' \| \
16390 X"$as_dir" : 'X\(//\)$' \| \
16391 X"$as_dir" : 'X\(/\)' \| \
16392 . : '\(.\)' 2>/dev/null ||
16394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16395 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16396 /^X\(\/\/\)$/{ s//\1/; q; }
16397 /^X\(\/\).*/{ s//\1/; q; }
16400 test ! -n "$as_dirs" || mkdir
$as_dirs
16401 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16402 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16403 { (exit 1); exit 1; }; }; }
16406 mv $tmp/config.h
$ac_file
16410 rm -f $tmp/config.h
16412 # Compute $ac_file's index in $config_headers.
16414 for _am_header
in $config_headers :; do
16415 case $_am_header in
16416 $ac_file |
$ac_file:* )
16419 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16422 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
16423 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16424 X$ac_file : 'X\(//\)[^/]' \| \
16425 X$ac_file : 'X\(//\)$' \| \
16426 X$ac_file : 'X\(/\)' \| \
16427 . : '\(.\)' 2>/dev/null ||
16429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16430 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16431 /^X\(\/\/\)$/{ s//\1/; q; }
16432 /^X\(\/\).*/{ s//\1/; q; }
16433 s/.*/./; q'`/stamp-h
$_am_stamp_count
16436 cat >>$CONFIG_STATUS <<\_ACEOF
16439 # CONFIG_COMMANDS section.
16441 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
16442 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
16443 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16444 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
16445 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16446 X"$ac_dest" : 'X\(//\)[^/]' \| \
16447 X"$ac_dest" : 'X\(//\)$' \| \
16448 X"$ac_dest" : 'X\(/\)' \| \
16449 . : '\(.\)' 2>/dev/null ||
16451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16452 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16453 /^X\(\/\/\)$/{ s//\1/; q; }
16454 /^X\(\/\).*/{ s//\1/; q; }
16456 { if $as_mkdir_p; then
16461 while test ! -d "$as_dir"; do
16462 as_dirs
="$as_dir $as_dirs"
16463 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16464 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16465 X"$as_dir" : 'X\(//\)[^/]' \| \
16466 X"$as_dir" : 'X\(//\)$' \| \
16467 X"$as_dir" : 'X\(/\)' \| \
16468 . : '\(.\)' 2>/dev/null ||
16470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16471 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16472 /^X\(\/\/\)$/{ s//\1/; q; }
16473 /^X\(\/\).*/{ s//\1/; q; }
16476 test ! -n "$as_dirs" || mkdir
$as_dirs
16477 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16478 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16479 { (exit 1); exit 1; }; }; }
16483 if test "$ac_dir" != .
; then
16484 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16485 # A "../" for each directory in $ac_dir_suffix.
16486 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16488 ac_dir_suffix
= ac_top_builddir
=
16492 .
) # No --srcdir option. We are building in place.
16494 if test -z "$ac_top_builddir"; then
16497 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16499 [\\/]* | ?
:[\\/]* ) # Absolute path.
16500 ac_srcdir
=$srcdir$ac_dir_suffix;
16501 ac_top_srcdir
=$srcdir ;;
16502 *) # Relative path.
16503 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16504 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16507 # Do not use `cd foo && pwd` to compute absolute paths, because
16508 # the directories may not exist.
16510 .
) ac_abs_builddir
="$ac_dir";;
16513 .
) ac_abs_builddir
=`pwd`;;
16514 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16515 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16518 case $ac_abs_builddir in
16519 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16521 case ${ac_top_builddir}.
in
16522 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16523 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16524 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16527 case $ac_abs_builddir in
16528 .
) ac_abs_srcdir
=$ac_srcdir;;
16531 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16532 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16533 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16536 case $ac_abs_builddir in
16537 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16539 case $ac_top_srcdir in
16540 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16541 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16542 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16547 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16548 echo "$as_me: executing $ac_dest commands" >&6;}
16550 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
16551 # Strip MF so we end up with the name of the file.
16552 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16553 # Check whether this is an Automake generated Makefile or not.
16554 # We used to match only the files named `Makefile.in', but
16555 # some people rename them; so instead we look at the file content.
16556 # Grep'ing the first line is not enough: some people post-process
16557 # each Makefile.in and add a new line on top of each file to say so.
16558 # So let's grep whole file.
16559 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
16560 dirpart
=`(dirname "$mf") 2>/dev/null ||
16561 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16562 X"$mf" : 'X\(//\)[^/]' \| \
16563 X"$mf" : 'X\(//\)$' \| \
16564 X"$mf" : 'X\(/\)' \| \
16565 . : '\(.\)' 2>/dev/null ||
16567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16568 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16569 /^X\(\/\/\)$/{ s//\1/; q; }
16570 /^X\(\/\).*/{ s//\1/; q; }
16575 # Extract the definition of DEPDIR, am__include, and am__quote
16576 # from the Makefile without running `make'.
16577 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16578 test -z "$DEPDIR" && continue
16579 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16580 test -z "am__include" && continue
16581 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16582 # When using ansi2knr, U may be empty or an underscore; expand it
16583 U
=`sed -n 's/^U = //p' < "$mf"`
16584 # Find all dependency output files, they are included files with
16585 # $(DEPDIR) in their names. We invoke sed twice because it is the
16586 # simplest approach to changing $(DEPDIR) to its actual value in the
16588 for file in `sed -n "
16589 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16590 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16591 # Make sure the directory exists.
16592 test -f "$dirpart/$file" && continue
16593 fdir
=`(dirname "$file") 2>/dev/null ||
16594 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16595 X"$file" : 'X\(//\)[^/]' \| \
16596 X"$file" : 'X\(//\)$' \| \
16597 X"$file" : 'X\(/\)' \| \
16598 . : '\(.\)' 2>/dev/null ||
16600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16601 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16602 /^X\(\/\/\)$/{ s//\1/; q; }
16603 /^X\(\/\).*/{ s//\1/; q; }
16605 { if $as_mkdir_p; then
16606 mkdir
-p $dirpart/$fdir
16608 as_dir
=$dirpart/$fdir
16610 while test ! -d "$as_dir"; do
16611 as_dirs
="$as_dir $as_dirs"
16612 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16613 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16614 X"$as_dir" : 'X\(//\)[^/]' \| \
16615 X"$as_dir" : 'X\(//\)$' \| \
16616 X"$as_dir" : 'X\(/\)' \| \
16617 . : '\(.\)' 2>/dev/null ||
16619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16620 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16621 /^X\(\/\/\)$/{ s//\1/; q; }
16622 /^X\(\/\).*/{ s//\1/; q; }
16625 test ! -n "$as_dirs" || mkdir
$as_dirs
16626 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
16627 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
16628 { (exit 1); exit 1; }; }; }
16630 # echo "creating $dirpart/$file"
16631 echo '# dummy' > "$dirpart/$file"
16637 # See if we are running on zsh, and set the options which allow our
16638 # commands through without removal of \ escapes.
16639 if test -n "${ZSH_VERSION+set}" ; then
16640 setopt NO_GLOB_SUBST
16643 cfgfile
="${ofile}T"
16644 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16647 cat <<_LT_EOF >> "$cfgfile"
16650 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16651 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
16652 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16653 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16655 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16656 # 2006, 2007 Free Software Foundation, Inc.
16658 # This file is part of GNU Libtool:
16659 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
16661 # This program is free software; you can redistribute it and/or modify
16662 # it under the terms of the GNU General Public License as published by
16663 # the Free Software Foundation; either version 2 of the License, or
16664 # (at your option) any later version.
16666 # This program is distributed in the hope that it will be useful, but
16667 # WITHOUT ANY WARRANTY; without even the implied warranty of
16668 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16669 # General Public License for more details.
16671 # You should have received a copy of the GNU General Public License
16672 # along with this program; if not, a copy can be downloaded from
16673 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
16674 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16675 # MA 02110-1301, USA.
16677 # As a special exception to the GNU General Public License, if you
16678 # distribute this file as part of a program that contains a
16679 # configuration script generated by Autoconf, you may include it under
16680 # the same distribution terms that you use for the rest of that program.
16683 # The names of the tagged configurations supported by this script.
16686 # ### BEGIN LIBTOOL CONFIG
16688 # Which release of libtool.m4 was used?
16689 macro_version=$macro_version
16690 macro_revision=$macro_revision
16692 # Whether or not to build shared libraries.
16693 build_libtool_libs=$enable_shared
16695 # Whether or not to build static libraries.
16696 build_old_libs=$enable_static
16698 # What type of objects to build.
16701 # Whether or not to optimize for fast installation.
16702 fast_install=$enable_fast_install
16705 host_alias=$host_alias
16709 # The build system.
16710 build_alias=$build_alias
16714 # A sed program that does not truncate output.
16717 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16718 Xsed="\$SED -e 1s/^X//"
16720 # A grep program that handles long lines.
16726 # A literal string matcher.
16729 # A BSD- or MS-compatible name lister.
16732 # Whether we need soft or hard links.
16735 # What is the maximum length of a command?
16736 max_cmd_len=$max_cmd_len
16738 # Object file suffix (normally "o").
16741 # Executable file suffix (normally "").
16744 # whether the shell understands "unset".
16747 # turn spaces into newlines.
16750 # turn newlines into spaces.
16753 # How to create reloadable object files.
16754 reload_flag=$lt_reload_flag
16755 reload_cmds=$lt_reload_cmds
16757 # Method to check whether dependent libraries are shared objects.
16758 deplibs_check_method=$lt_deplibs_check_method
16760 # Command to use when deplibs_check_method == "file_magic".
16761 file_magic_cmd=$lt_file_magic_cmd
16765 AR_FLAGS=$lt_AR_FLAGS
16767 # A symbol stripping program.
16770 # Commands used to install an old-style archive.
16772 old_postinstall_cmds=$lt_old_postinstall_cmds
16773 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16778 # LTCC compiler flags.
16779 LTCFLAGS=$lt_CFLAGS
16781 # Take the output of nm and produce a listing of raw symbols and C names.
16782 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16784 # Transform the output of nm in a proper C declaration.
16785 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16787 # Transform the output of nm in a C name address pair.
16788 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16790 # The name of the directory that contains temporary libtool files.
16793 # Shell to use when invoking shell scripts.
16796 # An echo program that does not interpret backslashes.
16799 # Used to examine libraries when file_magic_cmd begins with "file".
16800 MAGIC_CMD=$MAGIC_CMD
16802 # Must we lock files when doing compilation?
16803 need_locks=$lt_need_locks
16805 # Old archive suffix (normally "a").
16808 # Shared library suffix (normally ".so").
16809 shrext_cmds=$lt_shrext_cmds
16811 # The commands to extract the exported symbol list from a shared archive.
16812 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16814 # Variables whose values should be saved in libtool wrapper scripts and
16815 # restored at link time.
16816 variables_saved_for_relink=$lt_variables_saved_for_relink
16818 # Do we need the "lib" prefix for modules?
16819 need_lib_prefix=$need_lib_prefix
16821 # Do we need a version for libraries?
16822 need_version=$need_version
16824 # Library versioning type.
16825 version_type=$version_type
16827 # Shared library runtime path variable.
16828 runpath_var=$runpath_var
16830 # Shared library path variable.
16831 shlibpath_var=$shlibpath_var
16833 # Is shlibpath searched before the hard-coded library search path?
16834 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16836 # Format of library name prefix.
16837 libname_spec=$lt_libname_spec
16839 # List of archive names. First name is the real one, the rest are links.
16840 # The last name is the one that the linker finds with -lNAME
16841 library_names_spec=$lt_library_names_spec
16843 # The coded name of the library, if different from the real name.
16844 soname_spec=$lt_soname_spec
16846 # Command to use after installation of a shared archive.
16847 postinstall_cmds=$lt_postinstall_cmds
16849 # Command to use after uninstallation of a shared archive.
16850 postuninstall_cmds=$lt_postuninstall_cmds
16852 # Commands used to finish a libtool library installation in a directory.
16853 finish_cmds=$lt_finish_cmds
16855 # As "finish_cmds", except a single script fragment to be evaled but
16857 finish_eval=$lt_finish_eval
16859 # Whether we should hardcode library paths into libraries.
16860 hardcode_into_libs=$hardcode_into_libs
16862 # Compile-time system search path for libraries.
16863 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16865 # Run-time system search path for libraries.
16866 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16868 # Whether dlopen is supported.
16869 dlopen_support=$enable_dlopen
16871 # Whether dlopen of programs is supported.
16872 dlopen_self=$enable_dlopen_self
16874 # Whether dlopen of statically linked programs is supported.
16875 dlopen_self_static=$enable_dlopen_self_static
16877 # Commands to strip libraries.
16878 old_striplib=$lt_old_striplib
16879 striplib=$lt_striplib
16882 # The linker used to build libraries.
16885 # Commands used to build an old-style archive.
16886 old_archive_cmds=$lt_old_archive_cmds
16888 # A language specific compiler.
16891 # Is the compiler the GNU compiler?
16894 # Compiler flag to turn off builtin functions.
16895 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16897 # How to pass a linker flag through the compiler.
16898 wl=$lt_lt_prog_compiler_wl
16900 # Additional compiler flags for building library objects.
16901 pic_flag=$lt_lt_prog_compiler_pic
16903 # Compiler flag to prevent dynamic linking.
16904 link_static_flag=$lt_lt_prog_compiler_static
16906 # Does compiler simultaneously support -c and -o options?
16907 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16909 # Whether or not to add -lc for building shared libraries.
16910 build_libtool_need_lc=$archive_cmds_need_lc
16912 # Whether or not to disallow shared libs when runtime libs are static.
16913 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16915 # Compiler flag to allow reflexive dlopens.
16916 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16918 # Compiler flag to generate shared objects directly from archives.
16919 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16921 # Whether the compiler copes with passing no objects directly.
16922 compiler_needs_object=$lt_compiler_needs_object
16924 # Create an old-style archive from a shared archive.
16925 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16927 # Create a temporary old-style archive to link instead of a shared archive.
16928 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16930 # Commands used to build a shared archive.
16931 archive_cmds=$lt_archive_cmds
16932 archive_expsym_cmds=$lt_archive_expsym_cmds
16934 # Commands used to build a loadable module if different from building
16935 # a shared archive.
16936 module_cmds=$lt_module_cmds
16937 module_expsym_cmds=$lt_module_expsym_cmds
16939 # Whether we are building with GNU ld or not.
16940 with_gnu_ld=$lt_with_gnu_ld
16942 # Flag that allows shared libraries with undefined symbols to be built.
16943 allow_undefined_flag=$lt_allow_undefined_flag
16945 # Flag that enforces no undefined symbols.
16946 no_undefined_flag=$lt_no_undefined_flag
16948 # Flag to hardcode \$libdir into a binary during linking.
16949 # This must work even if \$libdir does not exist
16950 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16952 # If ld is used when linking, flag to hardcode \$libdir into a binary
16953 # during linking. This must work even if \$libdir does not exist.
16954 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16956 # Whether we need a single "-rpath" flag with a separated argument.
16957 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16959 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16960 # DIR into the resulting binary.
16961 hardcode_direct=$hardcode_direct
16963 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16964 # DIR into the resulting binary and the resulting library dependency is
16965 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16966 # library is relocated.
16967 hardcode_direct_absolute=$hardcode_direct_absolute
16969 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16970 # into the resulting binary.
16971 hardcode_minus_L=$hardcode_minus_L
16973 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16974 # into the resulting binary.
16975 hardcode_shlibpath_var=$hardcode_shlibpath_var
16977 # Set to "yes" if building a shared library automatically hardcodes DIR
16978 # into the library and all subsequent libraries and executables linked
16980 hardcode_automatic=$hardcode_automatic
16982 # Set to yes if linker adds runtime paths of dependent libraries
16983 # to runtime path list.
16984 inherit_rpath=$inherit_rpath
16986 # Whether libtool must link a program against all its dependency libraries.
16987 link_all_deplibs=$link_all_deplibs
16989 # Fix the shell variable \$srcfile for the compiler.
16990 fix_srcfile_path=$lt_fix_srcfile_path
16992 # Set to "yes" if exported symbols are required.
16993 always_export_symbols=$always_export_symbols
16995 # The commands to list exported symbols.
16996 export_symbols_cmds=$lt_export_symbols_cmds
16998 # Symbols that should not be listed in the preloaded symbols.
16999 exclude_expsyms=$lt_exclude_expsyms
17001 # Symbols that must always be exported.
17002 include_expsyms=$lt_include_expsyms
17004 # Commands necessary for linking programs (against libraries) with templates.
17005 prelink_cmds=$lt_prelink_cmds
17007 # Specify filename containing input files.
17008 file_list_spec=$lt_file_list_spec
17010 # How to hardcode a shared library path into an executable.
17011 hardcode_action=$hardcode_action
17013 # ### END LIBTOOL CONFIG
17019 cat <<\_LT_EOF
>> "$cfgfile"
17020 # AIX sometimes has problems with the GCC collect2 program. For some
17021 # reason, if we set the COLLECT_NAMES environment variable, the problems
17022 # vanish in a puff of smoke.
17023 if test "X${COLLECT_NAMES+set}" != Xset
; then
17025 export COLLECT_NAMES
17032 ltmain
="$ac_aux_dir/ltmain.sh"
17035 # We use sed instead of cat because bash on DJGPP gets confused if
17036 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17037 # text mode, it properly converts lines to CR/LF. This bash problem
17038 # is reportedly fixed, but why not run on old versions too?
17039 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17040 ||
(rm -f "$cfgfile"; exit 1)
17044 cat << \_LT_EOF
>> "$cfgfile"
17045 # func_dirname file append nondir_replacement
17046 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17047 # otherwise set result to NONDIR_REPLACEMENT.
17051 */*) func_dirname_result
="${1%/*}${2}" ;;
17052 * ) func_dirname_result
="${3}" ;;
17056 # func_basename file
17059 func_basename_result
="${1##*/}"
17062 # func_stripname prefix suffix name
17063 # strip PREFIX and SUFFIX off of NAME.
17064 # PREFIX and SUFFIX must not contain globbing or regex special
17065 # characters, hashes, percent signs, but SUFFIX may contain a leading
17066 # dot (in which case that matches only a dot).
17069 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17070 # positional parameters, so assign one to ordinary parameter first.
17071 func_stripname_result
=${3}
17072 func_stripname_result
=${func_stripname_result#"${1}"}
17073 func_stripname_result
=${func_stripname_result%"${2}"}
17079 func_opt_split_opt
=${1%%=*}
17080 func_opt_split_arg
=${1#*=}
17087 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17088 *) func_lo2o_result
=${1} ;;
17093 *) # Bourne compatible functions.
17094 cat << \_LT_EOF
>> "$cfgfile"
17095 # func_dirname file append nondir_replacement
17096 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17097 # otherwise set result to NONDIR_REPLACEMENT.
17100 # Extract subdirectory from the argument.
17101 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17102 if test "X$func_dirname_result" = "X${1}"; then
17103 func_dirname_result
="${3}"
17105 func_dirname_result
="$func_dirname_result${2}"
17109 # func_basename file
17112 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
17115 # func_stripname prefix suffix name
17116 # strip PREFIX and SUFFIX off of NAME.
17117 # PREFIX and SUFFIX must not contain globbing or regex special
17118 # characters, hashes, percent signs, but SUFFIX may contain a leading
17119 # dot (in which case that matches only a dot).
17120 # func_strip_suffix prefix name
17124 .
*) func_stripname_result
=`$ECHO "X${3}" \
17125 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17126 *) func_stripname_result
=`$ECHO "X${3}" \
17127 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17132 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17133 my_sed_long_arg
='1s/^-[^=]*=//'
17138 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17139 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17145 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17150 case $lt_shell_append in
17152 cat << \_LT_EOF
>> "$cfgfile"
17154 # func_append var value
17155 # Append VALUE to the end of shell variable VAR.
17163 cat << \_LT_EOF
>> "$cfgfile"
17165 # func_append var value
17166 # Append VALUE to the end of shell variable VAR.
17176 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17177 ||
(rm -f "$cfgfile"; exit 1)
17179 mv -f "$cfgfile" "$ofile" ||
17180 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17185 for ac_file
in $CONFIG_FILES; do
17186 # Support "outfile[:infile[:infile...]]"
17188 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17190 # PO directories have a Makefile.in generated from Makefile.in.in.
17191 case "$ac_file" in */Makefile.
in)
17192 # Adjust a relative srcdir.
17193 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17194 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
17195 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17196 # In autoconf-2.13 it is called $ac_given_srcdir.
17197 # In autoconf-2.50 it is called $srcdir.
17198 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17199 case "$ac_given_srcdir" in
17200 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17201 /*) top_srcdir
="$ac_given_srcdir" ;;
17202 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17204 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17205 rm -f "$ac_dir/POTFILES"
17206 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17207 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17208 POMAKEFILEDEPS
="POTFILES.in"
17209 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17210 # on $ac_dir but don't depend on user-specified configuration
17212 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17213 # The LINGUAS file contains the set of available languages.
17214 if test -n "$OBSOLETE_ALL_LINGUAS"; then
17215 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
17217 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17218 # Hide the ALL_LINGUAS assigment from automake.
17219 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17220 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
17222 # The set of available languages was given in configure.in.
17223 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17225 case "$ac_given_srcdir" in
17227 *) srcdirpre
='$(srcdir)/' ;;
17233 for lang
in $ALL_LINGUAS; do
17234 POFILES
="$POFILES $srcdirpre$lang.po"
17235 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17236 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17237 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17239 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17240 # environment variable.
17242 if test -n "$ALL_LINGUAS"; then
17243 for presentlang
in $ALL_LINGUAS; do
17245 if test "%UNSET%" != "$LINGUAS"; then
17246 desiredlanguages
="$LINGUAS"
17248 desiredlanguages
="$ALL_LINGUAS"
17250 for desiredlang
in $desiredlanguages; do
17251 # Use the presentlang catalog if desiredlang is
17252 # a. equal to presentlang, or
17253 # b. a variant of presentlang (because in this case,
17254 # presentlang can be used as a fallback for messages
17255 # which are not translated in the desiredlang catalog).
17256 case "$desiredlang" in
17257 "$presentlang"*) useit
=yes;;
17260 if test $useit = yes; then
17261 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17266 if test -n "$INST_LINGUAS"; then
17267 for lang
in $INST_LINGUAS; do
17268 CATALOGS
="$CATALOGS $lang.gmo"
17271 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17272 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"
17273 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17274 if test -f "$f"; then
17276 *.orig |
*.bak |
*~
) ;;
17277 *) cat "$f" >> "$ac_dir/Makefile" ;;
17289 cat >>$CONFIG_STATUS <<\_ACEOF
17291 { (exit 0); exit 0; }
17293 chmod +x
$CONFIG_STATUS
17294 ac_clean_files
=$ac_clean_files_save
17297 # configure is writing to config.log, and then calls config.status.
17298 # config.status does its own redirection, appending to config.log.
17299 # Unfortunately, on DOS this fails, as config.log is still kept open
17300 # by configure, so config.status won't be able to write to it; its
17301 # output is simply discarded. So we exec the FD to /dev/null,
17302 # effectively closing config.log, so it can be properly (re)opened and
17303 # appended to by config.status. When coming back to configure, we
17304 # need to make the FD available again.
17305 if test "$no_create" != yes; then
17307 ac_config_status_args
=
17308 test "$silent" = yes &&
17309 ac_config_status_args
="$ac_config_status_args --quiet"
17311 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17313 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17314 # would make configure fail if this is the last instruction.
17315 $ac_cs_success ||
{ (exit 1); exit 1; }