2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file
="ar.c"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 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 pdfdir 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-plugins Enable support
for plugins
(defaults no
)
1006 --disable-largefile omit support
for large files
1007 --enable-shared[=PKGS
]
1008 build shared libraries
[default
=yes]
1009 --enable-static[=PKGS
]
1010 build static libraries
[default
=yes]
1011 --enable-fast-install[=PKGS
]
1012 optimize
for fast installation
[default
=yes]
1013 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1014 --enable-targets alternative target configurations
1015 --enable-werror treat compile warnings as errors
1016 --enable-build-warnings enable build-time compiler warnings
1017 --disable-nls do not use Native Language Support
1018 --enable-maintainer-mode enable make rules and dependencies not useful
1019 (and sometimes confusing
) to the casual installer
1020 --disable-rpath do not hardcode runtime library paths
1023 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1024 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1025 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1027 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1028 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1029 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1030 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1032 Some influential environment variables:
1033 CC C compiler command
1034 CFLAGS C compiler flags
1035 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1036 nonstandard directory <lib dir>
1037 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1038 headers in a nonstandard directory <include dir>
1041 Use these variables to override the choices made by `configure' or to
help
1042 it to
find libraries and programs with nonstandard names
/locations.
1047 if test "$ac_init_help" = "recursive"; then
1048 # If there are subdirs, report their specific --help.
1050 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1051 test -d $ac_dir ||
continue
1054 if test "$ac_dir" != .
; then
1055 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1056 # A "../" for each directory in $ac_dir_suffix.
1057 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1059 ac_dir_suffix
= ac_top_builddir
=
1063 .
) # No --srcdir option. We are building in place.
1065 if test -z "$ac_top_builddir"; then
1068 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1070 [\\/]* | ?
:[\\/]* ) # Absolute path.
1071 ac_srcdir
=$srcdir$ac_dir_suffix;
1072 ac_top_srcdir
=$srcdir ;;
1074 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1075 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1078 # Do not use `cd foo && pwd` to compute absolute paths, because
1079 # the directories may not exist.
1081 .
) ac_abs_builddir
="$ac_dir";;
1084 .
) ac_abs_builddir
=`pwd`;;
1085 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1086 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1089 case $ac_abs_builddir in
1090 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1092 case ${ac_top_builddir}.
in
1093 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1094 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1095 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1098 case $ac_abs_builddir in
1099 .
) ac_abs_srcdir
=$ac_srcdir;;
1102 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1103 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1104 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1107 case $ac_abs_builddir in
1108 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1110 case $ac_top_srcdir in
1111 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1112 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1113 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1118 # Check for guested configure; otherwise get Cygnus style configure.
1119 if test -f $ac_srcdir/configure.gnu
; then
1121 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1122 elif test -f $ac_srcdir/configure
; then
1124 $SHELL $ac_srcdir/configure
--help=recursive
1125 elif test -f $ac_srcdir/configure.ac ||
1126 test -f $ac_srcdir/configure.
in; then
1128 $ac_configure --help
1130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1136 test -n "$ac_init_help" && exit 0
1137 if $ac_init_version; then
1140 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1141 This configure
script is free software
; the Free Software Foundation
1142 gives unlimited permission to copy
, distribute and modify it.
1148 This file contains any messages produced by compilers while
1149 running configure, to aid debugging if configure makes a mistake.
1151 It was created by $as_me, which was
1152 generated by GNU Autoconf 2.59. Invocation command line was
1163 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1164 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1165 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1166 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1167 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1169 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1170 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1172 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1173 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1174 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1175 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1176 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1177 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1178 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1186 test -z "$as_dir" && as_dir
=.
1187 echo "PATH: $as_dir"
1202 # Keep a trace of the command line.
1203 # Strip out --no-create and --no-recursion so they do not pile up.
1204 # Strip out --silent because we don't want to record it for future runs.
1205 # Also quote any args containing shell meta-characters.
1206 # Make two passes to allow for proper duplicate-argument suppression.
1211 ac_must_keep_next
=false
1217 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1218 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1219 |
-silent |
--silent |
--silen |
--sile |
--sil)
1221 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1227 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1228 if test $ac_must_keep_next = true
; then
1229 ac_must_keep_next
=false
# Got value, back to normal.
1232 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1233 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1234 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1235 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1236 case "$ac_configure_args0 " in
1237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 -* ) ac_must_keep_next
=true
;;
1243 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1244 # Get rid of the leading space.
1250 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1251 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1253 # When interrupted or exit'd, cleanup temporary files, and complete
1254 # config.log. We remove comments because anyway the quotes in there
1255 # would cause problems or look ugly.
1256 # WARNING: Be sure not to use single quotes in there, as some shells,
1257 # such as our DU 5.0 friend, will then `close' the trap.
1258 trap 'exit_status=$?
1259 # Save into config.log some information that might help in debugging.
1264 ## ---------------- ##
1265 ## Cache variables. ##
1266 ## ---------------- ##
1269 # The following way of writing the cache mishandles newlines in values,
1272 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1287 ## ----------------- ##
1288 ## Output variables. ##
1289 ## ----------------- ##
1292 for ac_var in $ac_subst_vars
1294 eval ac_val=$`echo $ac_var`
1295 echo "$ac_var='"'"'$ac_val'"'"'"
1299 if test -n "$ac_subst_files"; then
1306 for ac_var in $ac_subst_files
1308 eval ac_val=$`echo $ac_var`
1309 echo "$ac_var='"'"'$ac_val'"'"'"
1314 if test -s confdefs.h; then
1321 sed "/^$/d" confdefs.h | sort
1324 test "$ac_signal" != 0 &&
1325 echo "$as_me: caught signal $ac_signal"
1326 echo "$as_me: exit $exit_status"
1328 rm -f core *.core &&
1329 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 for ac_signal
in 1 2 13 15; do
1333 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1338 rm -rf conftest
* confdefs.h
1339 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342 # Predefined preprocessor variables.
1344 cat >>confdefs.h
<<_ACEOF
1345 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 cat >>confdefs.h
<<_ACEOF
1350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 cat >>confdefs.h
<<_ACEOF
1355 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 cat >>confdefs.h
<<_ACEOF
1360 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 cat >>confdefs.h
<<_ACEOF
1365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 # Let the site file select an alternate cache file if it wants to.
1370 # Prefer explicitly selected file to automatically selected ones.
1371 if test -z "$CONFIG_SITE"; then
1372 if test "x$prefix" != xNONE
; then
1373 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1375 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 for ac_site_file
in $CONFIG_SITE; do
1379 if test -r "$ac_site_file"; then
1380 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381 echo "$as_me: loading site script $ac_site_file" >&6;}
1382 sed 's/^/| /' "$ac_site_file" >&5
1387 if test -r "$cache_file"; then
1388 # Some versions of bash will fail to source /dev/null (special
1389 # files actually), so we avoid doing that.
1390 if test -f "$cache_file"; then
1391 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392 echo "$as_me: loading cache $cache_file" >&6;}
1394 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1395 *) . .
/$cache_file;;
1399 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400 echo "$as_me: creating cache $cache_file" >&6;}
1404 # Check that the precious variables saved in the cache have kept the same
1406 ac_cache_corrupted
=false
1407 for ac_var
in `(set) 2>&1 |
1408 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1410 eval ac_new_set
=\
$ac_env_${ac_var}_set
1411 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1412 eval ac_new_val
="\$ac_env_${ac_var}_value"
1413 case $ac_old_set,$ac_new_set in
1415 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1417 ac_cache_corrupted
=: ;;
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421 ac_cache_corrupted
=: ;;
1424 if test "x$ac_old_val" != "x$ac_new_val"; then
1425 # differences in whitespace do not lead to failure.
1426 ac_old_val_w
=`echo x $ac_old_val`
1427 ac_new_val_w
=`echo x $ac_new_val`
1428 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1429 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1430 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1431 ac_cache_corrupted
=:
1433 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1434 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1435 eval $ac_var=\
$ac_old_val
1437 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1438 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1439 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1440 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1443 # Pass precious variables to config.status.
1444 if test "$ac_new_set" = set; then
1446 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1447 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1448 *) ac_arg
=$ac_var=$ac_new_val ;;
1450 case " $ac_configure_args " in
1451 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1452 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1456 if $ac_cache_corrupted; then
1457 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1458 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1459 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1460 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1461 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1462 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1463 { (exit 1); exit 1; }; }
1467 ac_cpp
='$CPP $CPPFLAGS'
1468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1496 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1497 if test -f $ac_dir/install-sh
; then
1499 ac_install_sh
="$ac_aux_dir/install-sh -c"
1501 elif test -f $ac_dir/install.sh
; then
1503 ac_install_sh
="$ac_aux_dir/install.sh -c"
1505 elif test -f $ac_dir/shtool
; then
1507 ac_install_sh
="$ac_aux_dir/shtool install -c"
1511 if test -z "$ac_aux_dir"; then
1512 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1513 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1514 { (exit 1); exit 1; }; }
1516 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1517 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1518 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1520 # Make sure we can run config.sub.
1521 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1522 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1523 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1524 { (exit 1); exit 1; }; }
1526 echo "$as_me:$LINENO: checking build system type" >&5
1527 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1528 if test "${ac_cv_build+set}" = set; then
1529 echo $ECHO_N "(cached) $ECHO_C" >&6
1531 ac_cv_build_alias
=$build_alias
1532 test -z "$ac_cv_build_alias" &&
1533 ac_cv_build_alias
=`$ac_config_guess`
1534 test -z "$ac_cv_build_alias" &&
1535 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1536 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1537 { (exit 1); exit 1; }; }
1538 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1539 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1540 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1541 { (exit 1); exit 1; }; }
1544 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1545 echo "${ECHO_T}$ac_cv_build" >&6
1547 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1548 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1549 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1552 echo "$as_me:$LINENO: checking host system type" >&5
1553 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1554 if test "${ac_cv_host+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 ac_cv_host_alias
=$host_alias
1558 test -z "$ac_cv_host_alias" &&
1559 ac_cv_host_alias
=$ac_cv_build_alias
1560 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1561 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1562 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1563 { (exit 1); exit 1; }; }
1566 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1567 echo "${ECHO_T}$ac_cv_host" >&6
1569 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1570 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1571 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1574 echo "$as_me:$LINENO: checking target system type" >&5
1575 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1576 if test "${ac_cv_target+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 ac_cv_target_alias
=$target_alias
1580 test "x$ac_cv_target_alias" = "x" &&
1581 ac_cv_target_alias
=$ac_cv_host_alias
1582 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1583 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1584 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1585 { (exit 1); exit 1; }; }
1588 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1589 echo "${ECHO_T}$ac_cv_target" >&6
1590 target
=$ac_cv_target
1591 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1592 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1593 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1596 # The aliases save the names the user supplied, while $host etc.
1597 # will get canonicalized.
1598 test -n "$target_alias" &&
1599 test "$program_prefix$program_suffix$program_transform_name" = \
1601 program_prefix
=${target_alias}-
1603 ac_cpp
='$CPP $CPPFLAGS'
1604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1607 if test -n "$ac_tool_prefix"; then
1608 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1609 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1610 echo "$as_me:$LINENO: checking for $ac_word" >&5
1611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1612 if test "${ac_cv_prog_CC+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 if test -n "$CC"; then
1616 ac_cv_prog_CC
="$CC" # Let the user override the test.
1618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1622 test -z "$as_dir" && as_dir
=.
1623 for ac_exec_ext
in '' $ac_executable_extensions; do
1624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1625 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1635 if test -n "$CC"; then
1636 echo "$as_me:$LINENO: result: $CC" >&5
1637 echo "${ECHO_T}$CC" >&6
1639 echo "$as_me:$LINENO: result: no" >&5
1640 echo "${ECHO_T}no" >&6
1644 if test -z "$ac_cv_prog_CC"; then
1646 # Extract the first word of "gcc", so it can be a program name with args.
1647 set dummy gcc
; ac_word
=$2
1648 echo "$as_me:$LINENO: checking for $ac_word" >&5
1649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1650 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1651 echo $ECHO_N "(cached) $ECHO_C" >&6
1653 if test -n "$ac_ct_CC"; then
1654 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1660 test -z "$as_dir" && as_dir
=.
1661 for ac_exec_ext
in '' $ac_executable_extensions; do
1662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1663 ac_cv_prog_ac_ct_CC
="gcc"
1664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1672 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1673 if test -n "$ac_ct_CC"; then
1674 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1675 echo "${ECHO_T}$ac_ct_CC" >&6
1677 echo "$as_me:$LINENO: result: no" >&5
1678 echo "${ECHO_T}no" >&6
1686 if test -z "$CC"; then
1687 if test -n "$ac_tool_prefix"; then
1688 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1689 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1690 echo "$as_me:$LINENO: checking for $ac_word" >&5
1691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1692 if test "${ac_cv_prog_CC+set}" = set; then
1693 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 if test -n "$CC"; then
1696 ac_cv_prog_CC
="$CC" # Let the user override the test.
1698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1702 test -z "$as_dir" && as_dir
=.
1703 for ac_exec_ext
in '' $ac_executable_extensions; do
1704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1705 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715 if test -n "$CC"; then
1716 echo "$as_me:$LINENO: result: $CC" >&5
1717 echo "${ECHO_T}$CC" >&6
1719 echo "$as_me:$LINENO: result: no" >&5
1720 echo "${ECHO_T}no" >&6
1724 if test -z "$ac_cv_prog_CC"; then
1726 # Extract the first word of "cc", so it can be a program name with args.
1727 set dummy cc
; ac_word
=$2
1728 echo "$as_me:$LINENO: checking for $ac_word" >&5
1729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1730 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1733 if test -n "$ac_ct_CC"; then
1734 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1740 test -z "$as_dir" && as_dir
=.
1741 for ac_exec_ext
in '' $ac_executable_extensions; do
1742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1743 ac_cv_prog_ac_ct_CC
="cc"
1744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1752 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1753 if test -n "$ac_ct_CC"; then
1754 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1755 echo "${ECHO_T}$ac_ct_CC" >&6
1757 echo "$as_me:$LINENO: result: no" >&5
1758 echo "${ECHO_T}no" >&6
1767 if test -z "$CC"; then
1768 # Extract the first word of "cc", so it can be a program name with args.
1769 set dummy cc
; ac_word
=$2
1770 echo "$as_me:$LINENO: checking for $ac_word" >&5
1771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1772 if test "${ac_cv_prog_CC+set}" = set; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 if test -n "$CC"; then
1776 ac_cv_prog_CC
="$CC" # Let the user override the test.
1779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1783 test -z "$as_dir" && as_dir
=.
1784 for ac_exec_ext
in '' $ac_executable_extensions; do
1785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1787 ac_prog_rejected
=yes
1791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1797 if test $ac_prog_rejected = yes; then
1798 # We found a bogon in the path, so make sure we never use it.
1799 set dummy
$ac_cv_prog_CC
1801 if test $# != 0; then
1802 # We chose a different compiler from the bogus one.
1803 # However, it has the same basename, so the bogon will be chosen
1804 # first if we set CC to just the basename; use the full file name.
1806 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1812 if test -n "$CC"; then
1813 echo "$as_me:$LINENO: result: $CC" >&5
1814 echo "${ECHO_T}$CC" >&6
1816 echo "$as_me:$LINENO: result: no" >&5
1817 echo "${ECHO_T}no" >&6
1821 if test -z "$CC"; then
1822 if test -n "$ac_tool_prefix"; then
1825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1826 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1827 echo "$as_me:$LINENO: checking for $ac_word" >&5
1828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1829 if test "${ac_cv_prog_CC+set}" = set; then
1830 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 if test -n "$CC"; then
1833 ac_cv_prog_CC
="$CC" # Let the user override the test.
1835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1839 test -z "$as_dir" && as_dir
=.
1840 for ac_exec_ext
in '' $ac_executable_extensions; do
1841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1842 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 if test -n "$CC"; then
1853 echo "$as_me:$LINENO: result: $CC" >&5
1854 echo "${ECHO_T}$CC" >&6
1856 echo "$as_me:$LINENO: result: no" >&5
1857 echo "${ECHO_T}no" >&6
1860 test -n "$CC" && break
1863 if test -z "$CC"; then
1867 # Extract the first word of "$ac_prog", so it can be a program name with args.
1868 set dummy
$ac_prog; ac_word
=$2
1869 echo "$as_me:$LINENO: checking for $ac_word" >&5
1870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 if test -n "$ac_ct_CC"; then
1875 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1881 test -z "$as_dir" && as_dir
=.
1882 for ac_exec_ext
in '' $ac_executable_extensions; do
1883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1884 ac_cv_prog_ac_ct_CC
="$ac_prog"
1885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1893 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1894 if test -n "$ac_ct_CC"; then
1895 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1896 echo "${ECHO_T}$ac_ct_CC" >&6
1898 echo "$as_me:$LINENO: result: no" >&5
1899 echo "${ECHO_T}no" >&6
1902 test -n "$ac_ct_CC" && break
1911 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1912 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1913 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1914 See \`config.log' for more details." >&5
1915 echo "$as_me: error: no acceptable C compiler found in \$PATH
1916 See \`config.log' for more details." >&2;}
1917 { (exit 1); exit 1; }; }; }
1919 # Provide some information about the compiler.
1920 echo "$as_me:$LINENO:" \
1921 "checking for C compiler version" >&5
1922 ac_compiler
=`set X $ac_compile; echo $2`
1923 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1924 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1927 (exit $ac_status); }
1928 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1929 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932 (exit $ac_status); }
1933 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1934 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1937 (exit $ac_status); }
1939 cat >conftest.
$ac_ext <<_ACEOF
1942 cat confdefs.h
>>conftest.
$ac_ext
1943 cat >>conftest.
$ac_ext <<_ACEOF
1944 /* end confdefs.h. */
1954 ac_clean_files_save
=$ac_clean_files
1955 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1956 # Try to create an executable without -o first, disregard a.out.
1957 # It will help us diagnose broken compilers, and finding out an intuition
1959 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1960 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1961 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1962 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1963 (eval $ac_link_default) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }; then
1967 # Find the output, starting from the most likely. This scheme is
1968 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1971 # Be careful to initialize this variable, since it used to be cached.
1972 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1974 # b.out is created by i960 compilers.
1975 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1977 test -f "$ac_file" ||
continue
1979 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1982 # This is the source file.
1985 # We found the default executable, but exeext='' is most
1989 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1990 # FIXME: I believe we export ac_cv_exeext for Libtool,
1991 # but it would be cool to find out if it's true. Does anybody
1992 # maintain Libtool? --akim.
2000 echo "$as_me: failed program was:" >&5
2001 sed 's/^/| /' conftest.
$ac_ext >&5
2003 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2004 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2005 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2006 See \`config.log' for more details." >&5
2007 echo "$as_me: error: C compiler cannot create executables
2008 See \`config.log' for more details." >&2;}
2009 { (exit 77); exit 77; }; }; }
2012 ac_exeext
=$ac_cv_exeext
2013 echo "$as_me:$LINENO: result: $ac_file" >&5
2014 echo "${ECHO_T}$ac_file" >&6
2016 # Check the compiler produces executables we can run. If not, either
2017 # the compiler is broken, or we cross compile.
2018 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2019 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2020 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2021 # If not cross compiling, check that we can run a simple program.
2022 if test "$cross_compiling" != yes; then
2023 if { ac_try
='./$ac_file'
2024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2028 (exit $ac_status); }; }; then
2031 if test "$cross_compiling" = maybe
; then
2034 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2035 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2036 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2037 If you meant to cross compile, use \`--host'.
2038 See \`config.log' for more details." >&5
2039 echo "$as_me: error: cannot run C compiled programs.
2040 If you meant to cross compile, use \`--host'.
2041 See \`config.log' for more details." >&2;}
2042 { (exit 1); exit 1; }; }; }
2046 echo "$as_me:$LINENO: result: yes" >&5
2047 echo "${ECHO_T}yes" >&6
2049 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2050 ac_clean_files
=$ac_clean_files_save
2051 # Check the compiler produces executables we can run. If not, either
2052 # the compiler is broken, or we cross compile.
2053 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2054 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2055 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2056 echo "${ECHO_T}$cross_compiling" >&6
2058 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2059 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2061 (eval $ac_link) 2>&5
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); }; then
2065 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2066 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2067 # work properly (i.e., refer to `conftest.exe'), while it won't with
2069 for ac_file
in conftest.exe conftest conftest.
*; do
2070 test -f "$ac_file" ||
continue
2072 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2073 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2080 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2081 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2082 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2083 See \`config.log' for more details." >&5
2084 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2085 See \`config.log' for more details." >&2;}
2086 { (exit 1); exit 1; }; }; }
2089 rm -f conftest
$ac_cv_exeext
2090 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2091 echo "${ECHO_T}$ac_cv_exeext" >&6
2093 rm -f conftest.
$ac_ext
2094 EXEEXT
=$ac_cv_exeext
2096 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2097 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2098 if test "${ac_cv_objext+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2101 cat >conftest.
$ac_ext <<_ACEOF
2104 cat confdefs.h
>>conftest.
$ac_ext
2105 cat >>conftest.
$ac_ext <<_ACEOF
2106 /* end confdefs.h. */
2116 rm -f conftest.o conftest.obj
2117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2118 (eval $ac_compile) 2>&5
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); }; then
2122 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2124 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2125 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2130 echo "$as_me: failed program was:" >&5
2131 sed 's/^/| /' conftest.
$ac_ext >&5
2133 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2134 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2135 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2136 See \`config.log' for more details." >&5
2137 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2138 See \`config.log' for more details." >&2;}
2139 { (exit 1); exit 1; }; }; }
2142 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2144 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2145 echo "${ECHO_T}$ac_cv_objext" >&6
2146 OBJEXT
=$ac_cv_objext
2148 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2149 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2150 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 cat >conftest.
$ac_ext <<_ACEOF
2156 cat confdefs.h
>>conftest.
$ac_ext
2157 cat >>conftest.
$ac_ext <<_ACEOF
2158 /* end confdefs.h. */
2171 rm -f conftest.
$ac_objext
2172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2173 (eval $ac_compile) 2>conftest.er1
2175 grep -v '^ *+' conftest.er1
>conftest.err
2177 cat conftest.err
>&5
2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179 (exit $ac_status); } &&
2180 { ac_try
='test -z "$ac_c_werror_flag"
2181 || test ! -s conftest.err'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; } &&
2187 { ac_try
='test -s conftest.$ac_objext'
2188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192 (exit $ac_status); }; }; then
2195 echo "$as_me: failed program was:" >&5
2196 sed 's/^/| /' conftest.
$ac_ext >&5
2200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2201 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2204 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2205 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2206 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2207 ac_test_CFLAGS
=${CFLAGS+set}
2208 ac_save_CFLAGS
=$CFLAGS
2210 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2211 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2212 if test "${ac_cv_prog_cc_g+set}" = set; then
2213 echo $ECHO_N "(cached) $ECHO_C" >&6
2215 cat >conftest.
$ac_ext <<_ACEOF
2218 cat confdefs.h
>>conftest.
$ac_ext
2219 cat >>conftest.
$ac_ext <<_ACEOF
2220 /* end confdefs.h. */
2230 rm -f conftest.
$ac_objext
2231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2232 (eval $ac_compile) 2>conftest.er1
2234 grep -v '^ *+' conftest.er1
>conftest.err
2236 cat conftest.err
>&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); } &&
2239 { ac_try
='test -z "$ac_c_werror_flag"
2240 || test ! -s conftest.err'
2241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); }; } &&
2246 { ac_try
='test -s conftest.$ac_objext'
2247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }; }; then
2254 echo "$as_me: failed program was:" >&5
2255 sed 's/^/| /' conftest.
$ac_ext >&5
2259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2261 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2262 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2263 if test "$ac_test_CFLAGS" = set; then
2264 CFLAGS
=$ac_save_CFLAGS
2265 elif test $ac_cv_prog_cc_g = yes; then
2266 if test "$GCC" = yes; then
2272 if test "$GCC" = yes; then
2278 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2279 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2280 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 ac_cv_prog_cc_stdc
=no
2285 cat >conftest.
$ac_ext <<_ACEOF
2288 cat confdefs.h
>>conftest.
$ac_ext
2289 cat >>conftest.
$ac_ext <<_ACEOF
2290 /* end confdefs.h. */
2293 #include <sys/types.h>
2294 #include <sys/stat.h>
2295 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2296 struct buf { int x; };
2297 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2298 static char *e (p, i)
2304 static char *f (char * (*g) (char **, int), char **p, ...)
2309 s = g (p, va_arg (v,int));
2314 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2315 function prototypes and stuff, but not '\xHH' hex character constants.
2316 These don't provoke an error unfortunately, instead are silently treated
2317 as 'x'. The following induces an error, until -std1 is added to get
2318 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2319 array size at least. It's necessary to write '\x00'==0 to get something
2320 that's true only with -std1. */
2321 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2323 int test (int i, double x);
2324 struct s1 {int (*f) (int a);};
2325 struct s2 {int (*f) (double a);};
2326 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2332 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2337 # Don't try gcc -ansi; that turns off useful extensions and
2338 # breaks some systems' header files.
2339 # AIX -qlanglvl=ansi
2340 # Ultrix and OSF/1 -std1
2341 # HP-UX 10.20 and later -Ae
2342 # HP-UX older versions -Aa -D_HPUX_SOURCE
2343 # SVR4 -Xc -D__EXTENSIONS__
2344 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2346 CC
="$ac_save_CC $ac_arg"
2347 rm -f conftest.
$ac_objext
2348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2349 (eval $ac_compile) 2>conftest.er1
2351 grep -v '^ *+' conftest.er1
>conftest.err
2353 cat conftest.err
>&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); } &&
2356 { ac_try
='test -z "$ac_c_werror_flag"
2357 || test ! -s conftest.err'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; } &&
2363 { ac_try
='test -s conftest.$ac_objext'
2364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; }; then
2369 ac_cv_prog_cc_stdc
=$ac_arg
2372 echo "$as_me: failed program was:" >&5
2373 sed 's/^/| /' conftest.
$ac_ext >&5
2376 rm -f conftest.err conftest.
$ac_objext
2378 rm -f conftest.
$ac_ext conftest.
$ac_objext
2383 case "x$ac_cv_prog_cc_stdc" in
2385 echo "$as_me:$LINENO: result: none needed" >&5
2386 echo "${ECHO_T}none needed" >&6 ;;
2388 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2389 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2390 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2393 # Some people use a C++ compiler to compile C. Since we use `exit',
2394 # in C++ we need to declare it. In case someone uses the same compiler
2395 # for both compiling C and C++ we need to have the C++ compiler decide
2396 # the declaration of exit, since it's the most demanding environment.
2397 cat >conftest.
$ac_ext <<_ACEOF
2402 rm -f conftest.
$ac_objext
2403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2404 (eval $ac_compile) 2>conftest.er1
2406 grep -v '^ *+' conftest.er1
>conftest.err
2408 cat conftest.err
>&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); } &&
2411 { ac_try
='test -z "$ac_c_werror_flag"
2412 || test ! -s conftest.err'
2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }; } &&
2418 { ac_try
='test -s conftest.$ac_objext'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; }; then
2424 for ac_declaration
in \
2426 'extern "C" void std::exit (int) throw (); using std::exit;' \
2427 'extern "C" void std::exit (int); using std::exit;' \
2428 'extern "C" void exit (int) throw ();' \
2429 'extern "C" void exit (int);' \
2432 cat >conftest.
$ac_ext <<_ACEOF
2435 cat confdefs.h
>>conftest.
$ac_ext
2436 cat >>conftest.
$ac_ext <<_ACEOF
2437 /* end confdefs.h. */
2448 rm -f conftest.
$ac_objext
2449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2450 (eval $ac_compile) 2>conftest.er1
2452 grep -v '^ *+' conftest.er1
>conftest.err
2454 cat conftest.err
>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); } &&
2457 { ac_try
='test -z "$ac_c_werror_flag"
2458 || test ! -s conftest.err'
2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }; } &&
2464 { ac_try
='test -s conftest.$ac_objext'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; }; then
2472 echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.
$ac_ext >&5
2477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2478 cat >conftest.
$ac_ext <<_ACEOF
2481 cat confdefs.h
>>conftest.
$ac_ext
2482 cat >>conftest.
$ac_ext <<_ACEOF
2483 /* end confdefs.h. */
2493 rm -f conftest.
$ac_objext
2494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2495 (eval $ac_compile) 2>conftest.er1
2497 grep -v '^ *+' conftest.er1
>conftest.err
2499 cat conftest.err
>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); } &&
2502 { ac_try
='test -z "$ac_c_werror_flag"
2503 || test ! -s conftest.err'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; } &&
2509 { ac_try
='test -s conftest.$ac_objext'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; }; then
2517 echo "$as_me: failed program was:" >&5
2518 sed 's/^/| /' conftest.
$ac_ext >&5
2521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2524 if test -n "$ac_declaration"; then
2525 echo '#ifdef __cplusplus' >>confdefs.h
2526 echo $ac_declaration >>confdefs.h
2527 echo '#endif' >>confdefs.h
2531 echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.
$ac_ext >&5
2535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2537 ac_cpp
='$CPP $CPPFLAGS'
2538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2543 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2544 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2545 if test "${ac_cv_search_strerror+set}" = set; then
2546 echo $ECHO_N "(cached) $ECHO_C" >&6
2548 ac_func_search_save_LIBS
=$LIBS
2549 ac_cv_search_strerror
=no
2550 cat >conftest.
$ac_ext <<_ACEOF
2553 cat confdefs.h
>>conftest.
$ac_ext
2554 cat >>conftest.
$ac_ext <<_ACEOF
2555 /* end confdefs.h. */
2557 /* Override any gcc2 internal prototype to avoid an error. */
2561 /* We use char because int might match the return type of a gcc2
2562 builtin and then its argument prototype would still apply. */
2572 rm -f conftest.
$ac_objext conftest
$ac_exeext
2573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2574 (eval $ac_link) 2>conftest.er1
2576 grep -v '^ *+' conftest.er1
>conftest.err
2578 cat conftest.err
>&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); } &&
2581 { ac_try
='test -z "$ac_c_werror_flag"
2582 || test ! -s conftest.err'
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; } &&
2588 { ac_try
='test -s conftest$ac_exeext'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; }; then
2594 ac_cv_search_strerror
="none required"
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.
$ac_ext >&5
2600 rm -f conftest.err conftest.
$ac_objext \
2601 conftest
$ac_exeext conftest.
$ac_ext
2602 if test "$ac_cv_search_strerror" = no
; then
2603 for ac_lib
in cposix
; do
2604 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2605 cat >conftest.
$ac_ext <<_ACEOF
2608 cat confdefs.h
>>conftest.
$ac_ext
2609 cat >>conftest.
$ac_ext <<_ACEOF
2610 /* end confdefs.h. */
2612 /* Override any gcc2 internal prototype to avoid an error. */
2616 /* We use char because int might match the return type of a gcc2
2617 builtin and then its argument prototype would still apply. */
2627 rm -f conftest.
$ac_objext conftest
$ac_exeext
2628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2629 (eval $ac_link) 2>conftest.er1
2631 grep -v '^ *+' conftest.er1
>conftest.err
2633 cat conftest.err
>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); } &&
2636 { ac_try
='test -z "$ac_c_werror_flag"
2637 || test ! -s conftest.err'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; } &&
2643 { ac_try
='test -s conftest$ac_exeext'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; }; then
2649 ac_cv_search_strerror
="-l$ac_lib"
2652 echo "$as_me: failed program was:" >&5
2653 sed 's/^/| /' conftest.
$ac_ext >&5
2656 rm -f conftest.err conftest.
$ac_objext \
2657 conftest
$ac_exeext conftest.
$ac_ext
2660 LIBS
=$ac_func_search_save_LIBS
2662 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2663 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2664 if test "$ac_cv_search_strerror" != no
; then
2665 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2670 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2671 am__api_version
="1.9"
2672 # Find a good install program. We prefer a C program (faster),
2673 # so one script is as good as another. But avoid the broken or
2674 # incompatible versions:
2675 # SysV /etc/install, /usr/sbin/install
2676 # SunOS /usr/etc/install
2677 # IRIX /sbin/install
2679 # AmigaOS /C/install, which installs bootblocks on floppy discs
2680 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2681 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2682 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2683 # OS/2's system install, which has a completely different semantic
2684 # ./install, which can be erroneously created by make from ./install.sh.
2685 # Reject install programs that cannot install multiple files.
2686 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2687 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2688 if test -z "$INSTALL"; then
2689 if test "${ac_cv_path_install+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2696 test -z "$as_dir" && as_dir
=.
2697 # Account for people who put trailing slashes in PATH elements.
2699 .
/ | .
// |
/cC
/* | \
2700 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2701 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2704 # OSF1 and SCO ODT 3.0 have their own names for install.
2705 # Don't use installbsd from OSF since it installs stuff as root
2707 for ac_prog
in ginstall scoinst
install; do
2708 for ac_exec_ext
in '' $ac_executable_extensions; do
2709 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2710 if test $ac_prog = install &&
2711 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2712 # AIX install. It has an incompatible calling convention.
2714 elif test $ac_prog = install &&
2715 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2716 # program-specific install script used by HP pwplus--don't use.
2719 rm -rf conftest.one conftest.two conftest.dir
2720 echo one
> conftest.one
2721 echo two
> conftest.two
2723 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2724 test -s conftest.one
&& test -s conftest.two
&&
2725 test -s conftest.dir
/conftest.one
&&
2726 test -s conftest.dir
/conftest.two
2728 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2739 rm -rf conftest.one conftest.two conftest.dir
2742 if test "${ac_cv_path_install+set}" = set; then
2743 INSTALL
=$ac_cv_path_install
2745 # As a last resort, use the slow shell script. Don't cache a
2746 # value for INSTALL within a source directory, because that will
2747 # break other packages using the cache if that directory is
2748 # removed, or if the value is a relative name.
2749 INSTALL
=$ac_install_sh
2752 echo "$as_me:$LINENO: result: $INSTALL" >&5
2753 echo "${ECHO_T}$INSTALL" >&6
2755 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2756 # It thinks the first close brace ends the variable substitution.
2757 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2759 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2761 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2763 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2764 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2767 echo timestamp
> conftest.
file
2768 # Do `set' in a subshell so we don't clobber the current shell's
2769 # arguments. Must try -L first in case configure is actually a
2770 # symlink; some systems play weird games with the mod time of symlinks
2771 # (eg FreeBSD returns the mod time of the symlink's containing
2774 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2775 if test "$*" = "X"; then
2777 set X
`ls -t $srcdir/configure conftest.file`
2780 if test "$*" != "X $srcdir/configure conftest.file" \
2781 && test "$*" != "X conftest.file $srcdir/configure"; then
2783 # If neither matched, then we have a broken ls. This can happen
2784 # if, for instance, CONFIG_SHELL is bash and it inherits a
2785 # broken ls alias from the environment. This has actually
2786 # happened. Such a system could not be considered "sane".
2787 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2788 alias in your environment" >&5
2789 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2790 alias in your environment" >&2;}
2791 { (exit 1); exit 1; }; }
2794 test "$2" = conftest.
file
2800 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2801 Check your system clock" >&5
2802 echo "$as_me: error: newly created file is older than distributed files!
2803 Check your system clock" >&2;}
2804 { (exit 1); exit 1; }; }
2806 echo "$as_me:$LINENO: result: yes" >&5
2807 echo "${ECHO_T}yes" >&6
2808 test "$program_prefix" != NONE
&&
2809 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2810 # Use a double $ so make ignores it.
2811 test "$program_suffix" != NONE
&&
2812 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2813 # Double any \ or $. echo might interpret backslashes.
2814 # By default was `s,x,x', remove it if useless.
2815 cat <<\_ACEOF
>conftest.
sed
2816 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2818 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2821 # expand $ac_aux_dir to an absolute path
2822 am_aux_dir
=`cd $ac_aux_dir && pwd`
2824 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2825 # Use eval to expand $SHELL
2826 if eval "$MISSING --run true"; then
2827 am_missing_run
="$MISSING --run "
2830 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2831 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2834 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2835 # We used to keeping the `.' as first argument, in order to
2836 # allow $(mkdir_p) to be used without argument. As in
2837 # $(mkdir_p) $(somedir)
2838 # where $(somedir) is conditionally defined. However this is wrong
2840 # 1. if the package is installed by a user who cannot write `.'
2841 # make install will fail,
2842 # 2. the above comment should most certainly read
2843 # $(mkdir_p) $(DESTDIR)$(somedir)
2844 # so it does not work when $(somedir) is undefined and
2845 # $(DESTDIR) is not.
2846 # To support the latter case, we have to write
2847 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2848 # so the `.' trick is pointless.
2849 mkdir_p
='mkdir -p --'
2851 # On NextStep and OpenStep, the `mkdir' command does not
2852 # recognize any option. It will interpret all options as
2853 # directories to create, and then abort because `.' already
2855 for d
in .
/-p .
/--version;
2857 test -d $d && rmdir $d
2859 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2860 if test -f "$ac_aux_dir/mkinstalldirs"; then
2861 mkdir_p
='$(mkinstalldirs)'
2863 mkdir_p
='$(install_sh) -d'
2867 for ac_prog
in gawk mawk nawk
awk
2869 # Extract the first word of "$ac_prog", so it can be a program name with args.
2870 set dummy
$ac_prog; ac_word
=$2
2871 echo "$as_me:$LINENO: checking for $ac_word" >&5
2872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2873 if test "${ac_cv_prog_AWK+set}" = set; then
2874 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 if test -n "$AWK"; then
2877 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2883 test -z "$as_dir" && as_dir
=.
2884 for ac_exec_ext
in '' $ac_executable_extensions; do
2885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2886 ac_cv_prog_AWK
="$ac_prog"
2887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 if test -n "$AWK"; then
2897 echo "$as_me:$LINENO: result: $AWK" >&5
2898 echo "${ECHO_T}$AWK" >&6
2900 echo "$as_me:$LINENO: result: no" >&5
2901 echo "${ECHO_T}no" >&6
2904 test -n "$AWK" && break
2907 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2908 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2909 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2910 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2911 echo $ECHO_N "(cached) $ECHO_C" >&6
2913 cat >conftest.
make <<\_ACEOF
2915 @
echo 'ac_maketemp="$(MAKE)"'
2917 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2918 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2919 if test -n "$ac_maketemp"; then
2920 eval ac_cv_prog_make_
${ac_make}_set
=yes
2922 eval ac_cv_prog_make_
${ac_make}_set
=no
2926 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2927 echo "$as_me:$LINENO: result: yes" >&5
2928 echo "${ECHO_T}yes" >&6
2931 echo "$as_me:$LINENO: result: no" >&5
2932 echo "${ECHO_T}no" >&6
2933 SET_MAKE
="MAKE=${MAKE-make}"
2936 rm -rf .tst
2>/dev
/null
2937 mkdir .tst
2>/dev
/null
2938 if test -d .tst
; then
2943 rmdir .tst
2>/dev
/null
2945 DEPDIR
="${am__leading_dot}deps"
2947 ac_config_commands
="$ac_config_commands depfiles"
2950 am_make
=${MAKE-make}
2951 cat > confinc
<< 'END'
2956 # If we don't find an include directive, just comment out the code.
2957 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2958 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2962 # First try GNU make style include.
2963 echo "include confinc" > confmf
2964 # We grep out `Entering directory' and `Leaving directory'
2965 # messages which can occur if `w' ends up in MAKEFLAGS.
2966 # In particular we don't look at `^make:' because GNU make might
2967 # be invoked under some other name (usually "gmake"), in which
2968 # case it prints its new name instead of `make'.
2969 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2974 # Now try BSD make style include.
2975 if test "$am__include" = "#"; then
2976 echo '.include "confinc"' > confmf
2977 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2978 am__include
=.include
2985 echo "$as_me:$LINENO: result: $_am_result" >&5
2986 echo "${ECHO_T}$_am_result" >&6
2987 rm -f confinc confmf
2989 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2990 if test "${enable_dependency_tracking+set}" = set; then
2991 enableval
="$enable_dependency_tracking"
2994 if test "x$enable_dependency_tracking" != xno
; then
2995 am_depcomp
="$ac_aux_dir/depcomp"
3000 if test "x$enable_dependency_tracking" != xno; then
3010 # test to see if srcdir already configured
3011 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3012 test -f $srcdir/config.status
; then
3013 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3014 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3015 { (exit 1); exit 1; }; }
3018 # test whether we have cygpath
3019 if test -z "$CYGPATH_W"; then
3020 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3021 CYGPATH_W
='cygpath -w'
3028 # Define the identity of the package.
3030 VERSION
=${BFD_VERSION}
3033 cat >>confdefs.h
<<_ACEOF
3034 #define PACKAGE "$PACKAGE"
3038 cat >>confdefs.h
<<_ACEOF
3039 #define VERSION "$VERSION"
3042 # Some tools Automake needs.
3044 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3047 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3050 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3053 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3056 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3058 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3060 # Installed binaries are usually stripped using `strip' when the user
3061 # run `make install-strip'. However `strip' might not be the right
3062 # tool to use in cross-compilation environments, therefore Automake
3063 # will honor the `STRIP' environment variable to overrule this program.
3064 if test "$cross_compiling" != no
; then
3065 if test -n "$ac_tool_prefix"; then
3066 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3067 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3068 echo "$as_me:$LINENO: checking for $ac_word" >&5
3069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3070 if test "${ac_cv_prog_STRIP+set}" = set; then
3071 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 if test -n "$STRIP"; then
3074 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3080 test -z "$as_dir" && as_dir
=.
3081 for ac_exec_ext
in '' $ac_executable_extensions; do
3082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3083 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 STRIP
=$ac_cv_prog_STRIP
3093 if test -n "$STRIP"; then
3094 echo "$as_me:$LINENO: result: $STRIP" >&5
3095 echo "${ECHO_T}$STRIP" >&6
3097 echo "$as_me:$LINENO: result: no" >&5
3098 echo "${ECHO_T}no" >&6
3102 if test -z "$ac_cv_prog_STRIP"; then
3104 # Extract the first word of "strip", so it can be a program name with args.
3105 set dummy strip
; ac_word
=$2
3106 echo "$as_me:$LINENO: checking for $ac_word" >&5
3107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3108 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 if test -n "$ac_ct_STRIP"; then
3112 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3118 test -z "$as_dir" && as_dir
=.
3119 for ac_exec_ext
in '' $ac_executable_extensions; do
3120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121 ac_cv_prog_ac_ct_STRIP
="strip"
3122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3131 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3132 if test -n "$ac_ct_STRIP"; then
3133 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3134 echo "${ECHO_T}$ac_ct_STRIP" >&6
3136 echo "$as_me:$LINENO: result: no" >&5
3137 echo "${ECHO_T}no" >&6
3142 STRIP
="$ac_cv_prog_STRIP"
3146 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3148 # We need awk for the "check" target. The system "awk" is bad on
3150 # Always define AMTAR for backward compatibility.
3152 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3154 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3159 depcc
="$CC" am_compiler_list
=
3161 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3162 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3163 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3164 echo $ECHO_N "(cached) $ECHO_C" >&6
3166 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3167 # We make a subdir and do the tests there. Otherwise we can end up
3168 # making bogus files that we don't know about and never remove. For
3169 # instance it was reported that on HP-UX the gcc test will end up
3170 # making a dummy file named `D' -- because `-MD' means `put the output
3173 # Copy depcomp to subdir because otherwise we won't find it if we're
3174 # using a relative directory.
3175 cp "$am_depcomp" conftest.dir
3177 # We will build objects and dependencies in a subdirectory because
3178 # it helps to detect inapplicable dependency modes. For instance
3179 # both Tru64's cc and ICC support -MD to output dependencies as a
3180 # side effect of compilation, but ICC will put the dependencies in
3181 # the current directory while Tru64 will put them in the object
3185 am_cv_CC_dependencies_compiler_type
=none
3186 if test "$am_compiler_list" = ""; then
3187 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3189 for depmode
in $am_compiler_list; do
3190 # Setup a source with many dependencies, because some compilers
3191 # like to wrap large dependency lists on column 80 (with \), and
3192 # we should not choose a depcomp mode which is confused by this.
3194 # We need to recreate these files for each test, as the compiler may
3195 # overwrite some of them when testing with obscure command lines.
3196 # This happens at least with the AIX C compiler.
3198 for i
in 1 2 3 4 5 6; do
3199 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3200 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3201 # Solaris 8's {/usr,}/bin/sh.
3202 touch sub
/conftst
$i.h
3204 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3208 # after this tag, mechanisms are not by side-effect, so they'll
3209 # only be used when explicitly requested
3210 if test "x$enable_dependency_tracking" = xyes
; then
3218 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3219 # mode. It turns out that the SunPro C++ compiler does not properly
3220 # handle `-M -o', and we need to detect this.
3221 if depmode
=$depmode \
3222 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3223 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3224 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3225 >/dev
/null
2>conftest.err
&&
3226 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3227 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3228 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3229 # icc doesn't choke on unknown options, it will just issue warnings
3230 # or remarks (even with -Werror). So we grep stderr for any message
3231 # that says an option was ignored or not supported.
3232 # When given -MP, icc 7.0 and 7.1 complain thusly:
3233 # icc: Command line warning: ignoring option '-M'; no argument required
3234 # The diagnosis changed in icc 8.0:
3235 # icc: Command line remark: option '-MP' not supported
3236 if (grep 'ignoring option' conftest.err ||
3237 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3238 am_cv_CC_dependencies_compiler_type
=$depmode
3247 am_cv_CC_dependencies_compiler_type
=none
3251 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3252 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3253 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3258 test "x$enable_dependency_tracking" != xno \
3259 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3261 am__fastdepCC_FALSE
='#'
3263 am__fastdepCC_TRUE
='#'
3264 am__fastdepCC_FALSE
=
3271 ac_cpp
='$CPP $CPPFLAGS'
3272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3275 if test -n "$ac_tool_prefix"; then
3276 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3277 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3278 echo "$as_me:$LINENO: checking for $ac_word" >&5
3279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3280 if test "${ac_cv_prog_CC+set}" = set; then
3281 echo $ECHO_N "(cached) $ECHO_C" >&6
3283 if test -n "$CC"; then
3284 ac_cv_prog_CC
="$CC" # Let the user override the test.
3286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3290 test -z "$as_dir" && as_dir
=.
3291 for ac_exec_ext
in '' $ac_executable_extensions; do
3292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3293 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 if test -n "$CC"; then
3304 echo "$as_me:$LINENO: result: $CC" >&5
3305 echo "${ECHO_T}$CC" >&6
3307 echo "$as_me:$LINENO: result: no" >&5
3308 echo "${ECHO_T}no" >&6
3312 if test -z "$ac_cv_prog_CC"; then
3314 # Extract the first word of "gcc", so it can be a program name with args.
3315 set dummy gcc
; ac_word
=$2
3316 echo "$as_me:$LINENO: checking for $ac_word" >&5
3317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3318 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3321 if test -n "$ac_ct_CC"; then
3322 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3328 test -z "$as_dir" && as_dir
=.
3329 for ac_exec_ext
in '' $ac_executable_extensions; do
3330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3331 ac_cv_prog_ac_ct_CC
="gcc"
3332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3341 if test -n "$ac_ct_CC"; then
3342 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3343 echo "${ECHO_T}$ac_ct_CC" >&6
3345 echo "$as_me:$LINENO: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3354 if test -z "$CC"; then
3355 if test -n "$ac_tool_prefix"; then
3356 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3357 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3358 echo "$as_me:$LINENO: checking for $ac_word" >&5
3359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3360 if test "${ac_cv_prog_CC+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 if test -n "$CC"; then
3364 ac_cv_prog_CC
="$CC" # Let the user override the test.
3366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3370 test -z "$as_dir" && as_dir
=.
3371 for ac_exec_ext
in '' $ac_executable_extensions; do
3372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3373 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3383 if test -n "$CC"; then
3384 echo "$as_me:$LINENO: result: $CC" >&5
3385 echo "${ECHO_T}$CC" >&6
3387 echo "$as_me:$LINENO: result: no" >&5
3388 echo "${ECHO_T}no" >&6
3392 if test -z "$ac_cv_prog_CC"; then
3394 # Extract the first word of "cc", so it can be a program name with args.
3395 set dummy cc
; ac_word
=$2
3396 echo "$as_me:$LINENO: checking for $ac_word" >&5
3397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3398 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3399 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 if test -n "$ac_ct_CC"; then
3402 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3408 test -z "$as_dir" && as_dir
=.
3409 for ac_exec_ext
in '' $ac_executable_extensions; do
3410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3411 ac_cv_prog_ac_ct_CC
="cc"
3412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3420 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3421 if test -n "$ac_ct_CC"; then
3422 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3423 echo "${ECHO_T}$ac_ct_CC" >&6
3425 echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6
3435 if test -z "$CC"; then
3436 # Extract the first word of "cc", so it can be a program name with args.
3437 set dummy cc
; ac_word
=$2
3438 echo "$as_me:$LINENO: checking for $ac_word" >&5
3439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3440 if test "${ac_cv_prog_CC+set}" = set; then
3441 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 if test -n "$CC"; then
3444 ac_cv_prog_CC
="$CC" # Let the user override the test.
3447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3451 test -z "$as_dir" && as_dir
=.
3452 for ac_exec_ext
in '' $ac_executable_extensions; do
3453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3455 ac_prog_rejected
=yes
3459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3465 if test $ac_prog_rejected = yes; then
3466 # We found a bogon in the path, so make sure we never use it.
3467 set dummy
$ac_cv_prog_CC
3469 if test $# != 0; then
3470 # We chose a different compiler from the bogus one.
3471 # However, it has the same basename, so the bogon will be chosen
3472 # first if we set CC to just the basename; use the full file name.
3474 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3480 if test -n "$CC"; then
3481 echo "$as_me:$LINENO: result: $CC" >&5
3482 echo "${ECHO_T}$CC" >&6
3484 echo "$as_me:$LINENO: result: no" >&5
3485 echo "${ECHO_T}no" >&6
3489 if test -z "$CC"; then
3490 if test -n "$ac_tool_prefix"; then
3493 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3494 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3495 echo "$as_me:$LINENO: checking for $ac_word" >&5
3496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3497 if test "${ac_cv_prog_CC+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 if test -n "$CC"; then
3501 ac_cv_prog_CC
="$CC" # Let the user override the test.
3503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3507 test -z "$as_dir" && as_dir
=.
3508 for ac_exec_ext
in '' $ac_executable_extensions; do
3509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3510 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3520 if test -n "$CC"; then
3521 echo "$as_me:$LINENO: result: $CC" >&5
3522 echo "${ECHO_T}$CC" >&6
3524 echo "$as_me:$LINENO: result: no" >&5
3525 echo "${ECHO_T}no" >&6
3528 test -n "$CC" && break
3531 if test -z "$CC"; then
3535 # Extract the first word of "$ac_prog", so it can be a program name with args.
3536 set dummy
$ac_prog; ac_word
=$2
3537 echo "$as_me:$LINENO: checking for $ac_word" >&5
3538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3539 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 if test -n "$ac_ct_CC"; then
3543 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3549 test -z "$as_dir" && as_dir
=.
3550 for ac_exec_ext
in '' $ac_executable_extensions; do
3551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3552 ac_cv_prog_ac_ct_CC
="$ac_prog"
3553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3562 if test -n "$ac_ct_CC"; then
3563 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3564 echo "${ECHO_T}$ac_ct_CC" >&6
3566 echo "$as_me:$LINENO: result: no" >&5
3567 echo "${ECHO_T}no" >&6
3570 test -n "$ac_ct_CC" && break
3579 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3580 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3581 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3582 See \`config.log' for more details." >&5
3583 echo "$as_me: error: no acceptable C compiler found in \$PATH
3584 See \`config.log' for more details." >&2;}
3585 { (exit 1); exit 1; }; }; }
3587 # Provide some information about the compiler.
3588 echo "$as_me:$LINENO:" \
3589 "checking for C compiler version" >&5
3590 ac_compiler
=`set X $ac_compile; echo $2`
3591 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3592 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }
3596 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3597 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); }
3601 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3602 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); }
3607 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3608 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3609 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 cat >conftest.
$ac_ext <<_ACEOF
3615 cat confdefs.h
>>conftest.
$ac_ext
3616 cat >>conftest.
$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3630 rm -f conftest.
$ac_objext
3631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3632 (eval $ac_compile) 2>conftest.er1
3634 grep -v '^ *+' conftest.er1
>conftest.err
3636 cat conftest.err
>&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } &&
3639 { ac_try
='test -z "$ac_c_werror_flag"
3640 || test ! -s conftest.err'
3641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); }; } &&
3646 { ac_try
='test -s conftest.$ac_objext'
3647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); }; }; then
3654 echo "$as_me: failed program was:" >&5
3655 sed 's/^/| /' conftest.
$ac_ext >&5
3659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3660 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3663 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3664 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3665 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3666 ac_test_CFLAGS
=${CFLAGS+set}
3667 ac_save_CFLAGS
=$CFLAGS
3669 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3670 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3671 if test "${ac_cv_prog_cc_g+set}" = set; then
3672 echo $ECHO_N "(cached) $ECHO_C" >&6
3674 cat >conftest.
$ac_ext <<_ACEOF
3677 cat confdefs.h
>>conftest.
$ac_ext
3678 cat >>conftest.
$ac_ext <<_ACEOF
3679 /* end confdefs.h. */
3689 rm -f conftest.
$ac_objext
3690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3691 (eval $ac_compile) 2>conftest.er1
3693 grep -v '^ *+' conftest.er1
>conftest.err
3695 cat conftest.err
>&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); } &&
3698 { ac_try
='test -z "$ac_c_werror_flag"
3699 || test ! -s conftest.err'
3700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }; } &&
3705 { ac_try
='test -s conftest.$ac_objext'
3706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); }; }; then
3713 echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.
$ac_ext >&5
3718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3720 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3721 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3722 if test "$ac_test_CFLAGS" = set; then
3723 CFLAGS
=$ac_save_CFLAGS
3724 elif test $ac_cv_prog_cc_g = yes; then
3725 if test "$GCC" = yes; then
3731 if test "$GCC" = yes; then
3737 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3738 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3739 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 ac_cv_prog_cc_stdc
=no
3744 cat >conftest.
$ac_ext <<_ACEOF
3747 cat confdefs.h
>>conftest.
$ac_ext
3748 cat >>conftest.
$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3752 #include <sys/types.h>
3753 #include <sys/stat.h>
3754 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3755 struct buf { int x; };
3756 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3757 static char *e (p, i)
3763 static char *f (char * (*g) (char **, int), char **p, ...)
3768 s = g (p, va_arg (v,int));
3773 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3774 function prototypes and stuff, but not '\xHH' hex character constants.
3775 These don't provoke an error unfortunately, instead are silently treated
3776 as 'x'. The following induces an error, until -std1 is added to get
3777 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3778 array size at least. It's necessary to write '\x00'==0 to get something
3779 that's true only with -std1. */
3780 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3782 int test (int i, double x);
3783 struct s1 {int (*f) (int a);};
3784 struct s2 {int (*f) (double a);};
3785 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3791 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3796 # Don't try gcc -ansi; that turns off useful extensions and
3797 # breaks some systems' header files.
3798 # AIX -qlanglvl=ansi
3799 # Ultrix and OSF/1 -std1
3800 # HP-UX 10.20 and later -Ae
3801 # HP-UX older versions -Aa -D_HPUX_SOURCE
3802 # SVR4 -Xc -D__EXTENSIONS__
3803 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3805 CC
="$ac_save_CC $ac_arg"
3806 rm -f conftest.
$ac_objext
3807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3808 (eval $ac_compile) 2>conftest.er1
3810 grep -v '^ *+' conftest.er1
>conftest.err
3812 cat conftest.err
>&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); } &&
3815 { ac_try
='test -z "$ac_c_werror_flag"
3816 || test ! -s conftest.err'
3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; } &&
3822 { ac_try
='test -s conftest.$ac_objext'
3823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); }; }; then
3828 ac_cv_prog_cc_stdc
=$ac_arg
3831 echo "$as_me: failed program was:" >&5
3832 sed 's/^/| /' conftest.
$ac_ext >&5
3835 rm -f conftest.err conftest.
$ac_objext
3837 rm -f conftest.
$ac_ext conftest.
$ac_objext
3842 case "x$ac_cv_prog_cc_stdc" in
3844 echo "$as_me:$LINENO: result: none needed" >&5
3845 echo "${ECHO_T}none needed" >&6 ;;
3847 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3848 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3849 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3852 # Some people use a C++ compiler to compile C. Since we use `exit',
3853 # in C++ we need to declare it. In case someone uses the same compiler
3854 # for both compiling C and C++ we need to have the C++ compiler decide
3855 # the declaration of exit, since it's the most demanding environment.
3856 cat >conftest.
$ac_ext <<_ACEOF
3861 rm -f conftest.
$ac_objext
3862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3863 (eval $ac_compile) 2>conftest.er1
3865 grep -v '^ *+' conftest.er1
>conftest.err
3867 cat conftest.err
>&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } &&
3870 { ac_try
='test -z "$ac_c_werror_flag"
3871 || test ! -s conftest.err'
3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); }; } &&
3877 { ac_try
='test -s conftest.$ac_objext'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; }; then
3883 for ac_declaration
in \
3885 'extern "C" void std::exit (int) throw (); using std::exit;' \
3886 'extern "C" void std::exit (int); using std::exit;' \
3887 'extern "C" void exit (int) throw ();' \
3888 'extern "C" void exit (int);' \
3891 cat >conftest.
$ac_ext <<_ACEOF
3894 cat confdefs.h
>>conftest.
$ac_ext
3895 cat >>conftest.
$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3907 rm -f conftest.
$ac_objext
3908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3909 (eval $ac_compile) 2>conftest.er1
3911 grep -v '^ *+' conftest.er1
>conftest.err
3913 cat conftest.err
>&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); } &&
3916 { ac_try
='test -z "$ac_c_werror_flag"
3917 || test ! -s conftest.err'
3918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); }; } &&
3923 { ac_try
='test -s conftest.$ac_objext'
3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); }; }; then
3931 echo "$as_me: failed program was:" >&5
3932 sed 's/^/| /' conftest.
$ac_ext >&5
3936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3937 cat >conftest.
$ac_ext <<_ACEOF
3940 cat confdefs.h
>>conftest.
$ac_ext
3941 cat >>conftest.
$ac_ext <<_ACEOF
3942 /* end confdefs.h. */
3952 rm -f conftest.
$ac_objext
3953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3954 (eval $ac_compile) 2>conftest.er1
3956 grep -v '^ *+' conftest.er1
>conftest.err
3958 cat conftest.err
>&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); } &&
3961 { ac_try
='test -z "$ac_c_werror_flag"
3962 || test ! -s conftest.err'
3963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); }; } &&
3968 { ac_try
='test -s conftest.$ac_objext'
3969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); }; }; then
3976 echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.
$ac_ext >&5
3980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3983 if test -n "$ac_declaration"; then
3984 echo '#ifdef __cplusplus' >>confdefs.h
3985 echo $ac_declaration >>confdefs.h
3986 echo '#endif' >>confdefs.h
3990 echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.
$ac_ext >&5
3994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3996 ac_cpp
='$CPP $CPPFLAGS'
3997 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3998 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3999 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4002 cat >>confdefs.h
<<\_ACEOF
4003 #define _GNU_SOURCE 1
4008 ac_cpp
='$CPP $CPPFLAGS'
4009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4012 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4013 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4014 # On Suns, sometimes $CPP names a directory.
4015 if test -n "$CPP" && test -d "$CPP"; then
4018 if test -z "$CPP"; then
4019 if test "${ac_cv_prog_CPP+set}" = set; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4022 # Double quotes because CPP needs to be expanded
4023 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4026 for ac_c_preproc_warn_flag
in '' yes
4028 # Use a header file that comes with gcc, so configuring glibc
4029 # with a fresh cross-compiler works.
4030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4031 # <limits.h> exists even on freestanding compilers.
4032 # On the NeXT, cc -E runs the code through the compiler's parser,
4033 # not just through cpp. "Syntax error" is here to catch this case.
4034 cat >conftest.
$ac_ext <<_ACEOF
4037 cat confdefs.h
>>conftest.
$ac_ext
4038 cat >>conftest.
$ac_ext <<_ACEOF
4039 /* end confdefs.h. */
4041 # include <limits.h>
4043 # include <assert.h>
4047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4048 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4050 grep -v '^ *+' conftest.er1
>conftest.err
4052 cat conftest.err
>&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); } >/dev
/null
; then
4055 if test -s conftest.err
; then
4056 ac_cpp_err
=$ac_c_preproc_warn_flag
4057 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4064 if test -z "$ac_cpp_err"; then
4067 echo "$as_me: failed program was:" >&5
4068 sed 's/^/| /' conftest.
$ac_ext >&5
4070 # Broken: fails on valid input.
4073 rm -f conftest.err conftest.
$ac_ext
4075 # OK, works on sane cases. Now check whether non-existent headers
4076 # can be detected and how.
4077 cat >conftest.
$ac_ext <<_ACEOF
4080 cat confdefs.h
>>conftest.
$ac_ext
4081 cat >>conftest.
$ac_ext <<_ACEOF
4082 /* end confdefs.h. */
4083 #include <ac_nonexistent.h>
4085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4086 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4088 grep -v '^ *+' conftest.er1
>conftest.err
4090 cat conftest.err
>&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); } >/dev
/null
; then
4093 if test -s conftest.err
; then
4094 ac_cpp_err
=$ac_c_preproc_warn_flag
4095 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4102 if test -z "$ac_cpp_err"; then
4103 # Broken: success on invalid input.
4106 echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.
$ac_ext >&5
4109 # Passes both tests.
4113 rm -f conftest.err conftest.
$ac_ext
4116 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4117 rm -f conftest.err conftest.
$ac_ext
4118 if $ac_preproc_ok; then
4130 echo "$as_me:$LINENO: result: $CPP" >&5
4131 echo "${ECHO_T}$CPP" >&6
4133 for ac_c_preproc_warn_flag
in '' yes
4135 # Use a header file that comes with gcc, so configuring glibc
4136 # with a fresh cross-compiler works.
4137 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4138 # <limits.h> exists even on freestanding compilers.
4139 # On the NeXT, cc -E runs the code through the compiler's parser,
4140 # not just through cpp. "Syntax error" is here to catch this case.
4141 cat >conftest.
$ac_ext <<_ACEOF
4144 cat confdefs.h
>>conftest.
$ac_ext
4145 cat >>conftest.
$ac_ext <<_ACEOF
4146 /* end confdefs.h. */
4148 # include <limits.h>
4150 # include <assert.h>
4154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4157 grep -v '^ *+' conftest.er1
>conftest.err
4159 cat conftest.err
>&5
4160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); } >/dev
/null
; then
4162 if test -s conftest.err
; then
4163 ac_cpp_err
=$ac_c_preproc_warn_flag
4164 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4171 if test -z "$ac_cpp_err"; then
4174 echo "$as_me: failed program was:" >&5
4175 sed 's/^/| /' conftest.
$ac_ext >&5
4177 # Broken: fails on valid input.
4180 rm -f conftest.err conftest.
$ac_ext
4182 # OK, works on sane cases. Now check whether non-existent headers
4183 # can be detected and how.
4184 cat >conftest.
$ac_ext <<_ACEOF
4187 cat confdefs.h
>>conftest.
$ac_ext
4188 cat >>conftest.
$ac_ext <<_ACEOF
4189 /* end confdefs.h. */
4190 #include <ac_nonexistent.h>
4192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4195 grep -v '^ *+' conftest.er1
>conftest.err
4197 cat conftest.err
>&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); } >/dev
/null
; then
4200 if test -s conftest.err
; then
4201 ac_cpp_err
=$ac_c_preproc_warn_flag
4202 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4209 if test -z "$ac_cpp_err"; then
4210 # Broken: success on invalid input.
4213 echo "$as_me: failed program was:" >&5
4214 sed 's/^/| /' conftest.
$ac_ext >&5
4216 # Passes both tests.
4220 rm -f conftest.err conftest.
$ac_ext
4223 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4224 rm -f conftest.err conftest.
$ac_ext
4225 if $ac_preproc_ok; then
4228 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4229 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4230 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4231 See \`config.log' for more details." >&5
4232 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4233 See \`config.log' for more details." >&2;}
4234 { (exit 1); exit 1; }; }; }
4238 ac_cpp
='$CPP $CPPFLAGS'
4239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4244 echo "$as_me:$LINENO: checking for egrep" >&5
4245 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4246 if test "${ac_cv_prog_egrep+set}" = set; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6
4249 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4250 then ac_cv_prog_egrep
='grep -E'
4251 else ac_cv_prog_egrep
='egrep'
4254 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4255 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4256 EGREP
=$ac_cv_prog_egrep
4259 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4260 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4261 if test "${ac_cv_header_stdc+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 cat >conftest.
$ac_ext <<_ACEOF
4267 cat confdefs.h
>>conftest.
$ac_ext
4268 cat >>conftest.
$ac_ext <<_ACEOF
4269 /* end confdefs.h. */
4283 rm -f conftest.
$ac_objext
4284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4285 (eval $ac_compile) 2>conftest.er1
4287 grep -v '^ *+' conftest.er1
>conftest.err
4289 cat conftest.err
>&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); } &&
4292 { ac_try
='test -z "$ac_c_werror_flag"
4293 || test ! -s conftest.err'
4294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); }; } &&
4299 { ac_try
='test -s conftest.$ac_objext'
4300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; }; then
4305 ac_cv_header_stdc
=yes
4307 echo "$as_me: failed program was:" >&5
4308 sed 's/^/| /' conftest.
$ac_ext >&5
4310 ac_cv_header_stdc
=no
4312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4314 if test $ac_cv_header_stdc = yes; then
4315 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4316 cat >conftest.
$ac_ext <<_ACEOF
4319 cat confdefs.h
>>conftest.
$ac_ext
4320 cat >>conftest.
$ac_ext <<_ACEOF
4321 /* end confdefs.h. */
4325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4326 $EGREP "memchr" >/dev
/null
2>&1; then
4329 ac_cv_header_stdc
=no
4335 if test $ac_cv_header_stdc = yes; then
4336 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4337 cat >conftest.
$ac_ext <<_ACEOF
4340 cat confdefs.h
>>conftest.
$ac_ext
4341 cat >>conftest.
$ac_ext <<_ACEOF
4342 /* end confdefs.h. */
4346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4347 $EGREP "free" >/dev
/null
2>&1; then
4350 ac_cv_header_stdc
=no
4356 if test $ac_cv_header_stdc = yes; then
4357 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4358 if test "$cross_compiling" = yes; then
4361 cat >conftest.
$ac_ext <<_ACEOF
4364 cat confdefs.h
>>conftest.
$ac_ext
4365 cat >>conftest.
$ac_ext <<_ACEOF
4366 /* end confdefs.h. */
4368 #if ((' ' & 0x0FF) == 0x020)
4369 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4370 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4372 # define ISLOWER(c) \
4373 (('a' <= (c) && (c) <= 'i') \
4374 || ('j' <= (c) && (c) <= 'r') \
4375 || ('s' <= (c) && (c) <= 'z'))
4376 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4379 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4384 for (i = 0; i < 256; i++)
4385 if (XOR (islower (i), ISLOWER (i))
4386 || toupper (i) != TOUPPER (i))
4391 rm -f conftest
$ac_exeext
4392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4393 (eval $ac_link) 2>&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; }; then
4404 echo "$as_me: program exited with status $ac_status" >&5
4405 echo "$as_me: failed program was:" >&5
4406 sed 's/^/| /' conftest.
$ac_ext >&5
4409 ac_cv_header_stdc
=no
4411 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4415 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4416 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4417 if test $ac_cv_header_stdc = yes; then
4419 cat >>confdefs.h
<<\_ACEOF
4420 #define STDC_HEADERS 1
4425 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4435 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4436 inttypes.h stdint.h unistd.h
4438 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4439 echo "$as_me:$LINENO: checking for $ac_header" >&5
4440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 cat >conftest.
$ac_ext <<_ACEOF
4447 cat confdefs.h
>>conftest.
$ac_ext
4448 cat >>conftest.
$ac_ext <<_ACEOF
4449 /* end confdefs.h. */
4450 $ac_includes_default
4452 #include <$ac_header>
4454 rm -f conftest.
$ac_objext
4455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4456 (eval $ac_compile) 2>conftest.er1
4458 grep -v '^ *+' conftest.er1
>conftest.err
4460 cat conftest.err
>&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); } &&
4463 { ac_try
='test -z "$ac_c_werror_flag"
4464 || test ! -s conftest.err'
4465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); }; } &&
4470 { ac_try
='test -s conftest.$ac_objext'
4471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; }; then
4476 eval "$as_ac_Header=yes"
4478 echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.
$ac_ext >&5
4481 eval "$as_ac_Header=no"
4483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4488 cat >>confdefs.h
<<_ACEOF
4489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4498 if test "${ac_cv_header_minix_config_h+set}" = set; then
4499 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4500 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4501 if test "${ac_cv_header_minix_config_h+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4505 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4507 # Is the header compilable?
4508 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4509 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
4510 cat >conftest.
$ac_ext <<_ACEOF
4513 cat confdefs.h
>>conftest.
$ac_ext
4514 cat >>conftest.
$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4516 $ac_includes_default
4517 #include <minix/config.h>
4519 rm -f conftest.
$ac_objext
4520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4521 (eval $ac_compile) 2>conftest.er1
4523 grep -v '^ *+' conftest.er1
>conftest.err
4525 cat conftest.err
>&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } &&
4528 { ac_try
='test -z "$ac_c_werror_flag"
4529 || test ! -s conftest.err'
4530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); }; } &&
4535 { ac_try
='test -s conftest.$ac_objext'
4536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); }; }; then
4541 ac_header_compiler
=yes
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.
$ac_ext >&5
4546 ac_header_compiler
=no
4548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4550 echo "${ECHO_T}$ac_header_compiler" >&6
4552 # Is the header present?
4553 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4554 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
4555 cat >conftest.
$ac_ext <<_ACEOF
4558 cat confdefs.h
>>conftest.
$ac_ext
4559 cat >>conftest.
$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4561 #include <minix/config.h>
4563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4564 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4566 grep -v '^ *+' conftest.er1
>conftest.err
4568 cat conftest.err
>&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } >/dev
/null
; then
4571 if test -s conftest.err
; then
4572 ac_cpp_err
=$ac_c_preproc_warn_flag
4573 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4580 if test -z "$ac_cpp_err"; then
4581 ac_header_preproc
=yes
4583 echo "$as_me: failed program was:" >&5
4584 sed 's/^/| /' conftest.
$ac_ext >&5
4586 ac_header_preproc
=no
4588 rm -f conftest.err conftest.
$ac_ext
4589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4590 echo "${ECHO_T}$ac_header_preproc" >&6
4592 # So? What about this header?
4593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4595 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4596 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4597 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4598 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4599 ac_header_preproc
=yes
4602 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4603 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4604 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4605 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4606 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4607 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4608 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4609 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4610 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4611 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4612 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4613 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4616 ## ------------------------------------------ ##
4617 ## Report this to the AC_PACKAGE_NAME lists. ##
4618 ## ------------------------------------------ ##
4621 sed "s/^/$as_me: WARNING: /" >&2
4624 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4625 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4626 if test "${ac_cv_header_minix_config_h+set}" = set; then
4627 echo $ECHO_N "(cached) $ECHO_C" >&6
4629 ac_cv_header_minix_config_h
=$ac_header_preproc
4631 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4632 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4635 if test $ac_cv_header_minix_config_h = yes; then
4642 if test "$MINIX" = yes; then
4644 cat >>confdefs.h
<<\_ACEOF
4645 #define _POSIX_SOURCE 1
4649 cat >>confdefs.h
<<\_ACEOF
4650 #define _POSIX_1_SOURCE 2
4654 cat >>confdefs.h
<<\_ACEOF
4662 echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4663 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
4664 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 cat >conftest.
$ac_ext <<_ACEOF
4670 cat confdefs.h
>>conftest.
$ac_ext
4671 cat >>conftest.
$ac_ext <<_ACEOF
4672 /* end confdefs.h. */
4674 # define __EXTENSIONS__ 1
4675 $ac_includes_default
4684 rm -f conftest.
$ac_objext
4685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4686 (eval $ac_compile) 2>conftest.er1
4688 grep -v '^ *+' conftest.er1
>conftest.err
4690 cat conftest.err
>&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); } &&
4693 { ac_try
='test -z "$ac_c_werror_flag"
4694 || test ! -s conftest.err'
4695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }; } &&
4700 { ac_try
='test -s conftest.$ac_objext'
4701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); }; }; then
4706 ac_cv_safe_to_define___extensions__
=yes
4708 echo "$as_me: failed program was:" >&5
4709 sed 's/^/| /' conftest.
$ac_ext >&5
4711 ac_cv_safe_to_define___extensions__
=no
4713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4715 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4716 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
4717 test $ac_cv_safe_to_define___extensions__ = yes &&
4718 cat >>confdefs.h
<<\_ACEOF
4719 #define __EXTENSIONS__ 1
4722 cat >>confdefs.h
<<\_ACEOF
4723 #define _ALL_SOURCE 1
4726 cat >>confdefs.h
<<\_ACEOF
4727 #define _GNU_SOURCE 1
4730 cat >>confdefs.h
<<\_ACEOF
4731 #define _POSIX_PTHREAD_SEMANTICS 1
4734 cat >>confdefs.h
<<\_ACEOF
4735 #define _TANDEM_SOURCE 1
4741 # Check whether --enable-plugins or --disable-plugins was given.
4742 if test "${enable_plugins+set}" = set; then
4743 enableval
="$enable_plugins"
4744 case "${enableval}" in
4745 yes |
"") plugins
=yes ;;
4755 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
4756 # See comment in bfd/configure.in for the reason for this test.
4757 # PR 9992/binutils: We have to duplicate the behaviour of bfd's
4758 # configure script so that the utilities in this directory agree
4759 # on the size of structures used to describe files.
4760 if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
4761 if test "$plugins" = "no"; then
4762 enable_largefile
="no"
4768 # Check whether --enable-largefile or --disable-largefile was given.
4769 if test "${enable_largefile+set}" = set; then
4770 enableval
="$enable_largefile"
4773 if test "$enable_largefile" != no
; then
4775 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4776 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4777 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 ac_cv_sys_largefile_CC
=no
4781 if test "$GCC" != yes; then
4784 # IRIX 6.2 and later do not support large files by default,
4785 # so use the C compiler's -n32 option if that helps.
4786 cat >conftest.
$ac_ext <<_ACEOF
4789 cat confdefs.h
>>conftest.
$ac_ext
4790 cat >>conftest.
$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4792 #include <sys/types.h>
4793 /* Check that off_t can represent 2**63 - 1 correctly.
4794 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4795 since some C++ compilers masquerading as C compilers
4796 incorrectly reject 9223372036854775807. */
4797 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4798 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4799 && LARGE_OFF_T % 2147483647 == 1)
4809 rm -f conftest.
$ac_objext
4810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4811 (eval $ac_compile) 2>conftest.er1
4813 grep -v '^ *+' conftest.er1
>conftest.err
4815 cat conftest.err
>&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); } &&
4818 { ac_try
='test -z "$ac_c_werror_flag"
4819 || test ! -s conftest.err'
4820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); }; } &&
4825 { ac_try
='test -s conftest.$ac_objext'
4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; }; then
4833 echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.
$ac_ext >&5
4837 rm -f conftest.err conftest.
$ac_objext
4839 rm -f conftest.
$ac_objext
4840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4841 (eval $ac_compile) 2>conftest.er1
4843 grep -v '^ *+' conftest.er1
>conftest.err
4845 cat conftest.err
>&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); } &&
4848 { ac_try
='test -z "$ac_c_werror_flag"
4849 || test ! -s conftest.err'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; } &&
4855 { ac_try
='test -s conftest.$ac_objext'
4856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }; }; then
4861 ac_cv_sys_largefile_CC
=' -n32'; break
4863 echo "$as_me: failed program was:" >&5
4864 sed 's/^/| /' conftest.
$ac_ext >&5
4867 rm -f conftest.err conftest.
$ac_objext
4871 rm -f conftest.
$ac_ext
4874 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4875 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4876 if test "$ac_cv_sys_largefile_CC" != no
; then
4877 CC
=$CC$ac_cv_sys_largefile_CC
4880 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4881 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4882 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4886 ac_cv_sys_file_offset_bits
=no
4887 cat >conftest.
$ac_ext <<_ACEOF
4890 cat confdefs.h
>>conftest.
$ac_ext
4891 cat >>conftest.
$ac_ext <<_ACEOF
4892 /* end confdefs.h. */
4893 #include <sys/types.h>
4894 /* Check that off_t can represent 2**63 - 1 correctly.
4895 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4896 since some C++ compilers masquerading as C compilers
4897 incorrectly reject 9223372036854775807. */
4898 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4899 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4900 && LARGE_OFF_T % 2147483647 == 1)
4910 rm -f conftest.
$ac_objext
4911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4912 (eval $ac_compile) 2>conftest.er1
4914 grep -v '^ *+' conftest.er1
>conftest.err
4916 cat conftest.err
>&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); } &&
4919 { ac_try
='test -z "$ac_c_werror_flag"
4920 || test ! -s conftest.err'
4921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; } &&
4926 { ac_try
='test -s conftest.$ac_objext'
4927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; }; then
4934 echo "$as_me: failed program was:" >&5
4935 sed 's/^/| /' conftest.
$ac_ext >&5
4938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4939 cat >conftest.
$ac_ext <<_ACEOF
4942 cat confdefs.h
>>conftest.
$ac_ext
4943 cat >>conftest.
$ac_ext <<_ACEOF
4944 /* end confdefs.h. */
4945 #define _FILE_OFFSET_BITS 64
4946 #include <sys/types.h>
4947 /* Check that off_t can represent 2**63 - 1 correctly.
4948 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4949 since some C++ compilers masquerading as C compilers
4950 incorrectly reject 9223372036854775807. */
4951 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4952 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4953 && LARGE_OFF_T % 2147483647 == 1)
4963 rm -f conftest.
$ac_objext
4964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4965 (eval $ac_compile) 2>conftest.er1
4967 grep -v '^ *+' conftest.er1
>conftest.err
4969 cat conftest.err
>&5
4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971 (exit $ac_status); } &&
4972 { ac_try
='test -z "$ac_c_werror_flag"
4973 || test ! -s conftest.err'
4974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); }; } &&
4979 { ac_try
='test -s conftest.$ac_objext'
4980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); }; }; then
4985 ac_cv_sys_file_offset_bits
=64; break
4987 echo "$as_me: failed program was:" >&5
4988 sed 's/^/| /' conftest.
$ac_ext >&5
4991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4995 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4996 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4997 if test "$ac_cv_sys_file_offset_bits" != no
; then
4999 cat >>confdefs.h
<<_ACEOF
5000 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5005 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5006 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
5007 if test "${ac_cv_sys_large_files+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 ac_cv_sys_large_files
=no
5012 cat >conftest.
$ac_ext <<_ACEOF
5015 cat confdefs.h
>>conftest.
$ac_ext
5016 cat >>conftest.
$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5018 #include <sys/types.h>
5019 /* Check that off_t can represent 2**63 - 1 correctly.
5020 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5021 since some C++ compilers masquerading as C compilers
5022 incorrectly reject 9223372036854775807. */
5023 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5024 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5025 && LARGE_OFF_T % 2147483647 == 1)
5035 rm -f conftest.
$ac_objext
5036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5037 (eval $ac_compile) 2>conftest.er1
5039 grep -v '^ *+' conftest.er1
>conftest.err
5041 cat conftest.err
>&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); } &&
5044 { ac_try
='test -z "$ac_c_werror_flag"
5045 || test ! -s conftest.err'
5046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050 (exit $ac_status); }; } &&
5051 { ac_try
='test -s conftest.$ac_objext'
5052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); }; }; then
5059 echo "$as_me: failed program was:" >&5
5060 sed 's/^/| /' conftest.
$ac_ext >&5
5063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5064 cat >conftest.
$ac_ext <<_ACEOF
5067 cat confdefs.h
>>conftest.
$ac_ext
5068 cat >>conftest.
$ac_ext <<_ACEOF
5069 /* end confdefs.h. */
5070 #define _LARGE_FILES 1
5071 #include <sys/types.h>
5072 /* Check that off_t can represent 2**63 - 1 correctly.
5073 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5074 since some C++ compilers masquerading as C compilers
5075 incorrectly reject 9223372036854775807. */
5076 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5077 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5078 && LARGE_OFF_T % 2147483647 == 1)
5088 rm -f conftest.
$ac_objext
5089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5090 (eval $ac_compile) 2>conftest.er1
5092 grep -v '^ *+' conftest.er1
>conftest.err
5094 cat conftest.err
>&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); } &&
5097 { ac_try
='test -z "$ac_c_werror_flag"
5098 || test ! -s conftest.err'
5099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }; } &&
5104 { ac_try
='test -s conftest.$ac_objext'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5110 ac_cv_sys_large_files
=1; break
5112 echo "$as_me: failed program was:" >&5
5113 sed 's/^/| /' conftest.
$ac_ext >&5
5116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5120 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5121 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5122 if test "$ac_cv_sys_large_files" != no
; then
5124 cat >>confdefs.h
<<_ACEOF
5125 #define _LARGE_FILES $ac_cv_sys_large_files
5134 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5135 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5140 macro_version
='2.2.6'
5141 macro_revision
='1.3012'
5155 ltmain
="$ac_aux_dir/ltmain.sh"
5157 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5158 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5159 if test "${lt_cv_path_SED+set}" = set; then
5160 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 # Loop through the user's path and test for sed and gsed.
5163 # Then use that list of sed's as ones to test for truncation.
5164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5168 test -z "$as_dir" && as_dir
=.
5169 for lt_ac_prog
in sed gsed
; do
5170 for ac_exec_ext
in '' $ac_executable_extensions; do
5171 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5172 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5180 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5181 # along with /bin/sed that truncates output.
5182 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5183 test ! -f $lt_ac_sed && continue
5184 cat /dev
/null
> conftest.
in
5186 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5187 # Check for GNU sed and select it if it is found.
5188 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5189 lt_cv_path_SED
=$lt_ac_sed
5193 cat conftest.
in conftest.
in >conftest.tmp
5194 mv conftest.tmp conftest.
in
5195 cp conftest.
in conftest.
nl
5197 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5198 cmp -s conftest.out conftest.
nl ||
break
5199 # 10000 chars as input seems more than enough
5200 test $lt_ac_count -gt 10 && break
5201 lt_ac_count
=`expr $lt_ac_count + 1`
5202 if test $lt_ac_count -gt $lt_ac_max; then
5203 lt_ac_max
=$lt_ac_count
5204 lt_cv_path_SED
=$lt_ac_sed
5213 echo "$as_me:$LINENO: result: $SED" >&5
5214 echo "${ECHO_T}$SED" >&6
5216 test -z "$SED" && SED
=sed
5217 Xsed
="$SED -e 1s/^X//"
5229 echo "$as_me:$LINENO: checking for fgrep" >&5
5230 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5231 if test "${ac_cv_prog_fgrep+set}" = set; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5234 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5235 then ac_cv_prog_fgrep
='grep -F'
5236 else ac_cv_prog_fgrep
='fgrep'
5239 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5240 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5241 FGREP
=$ac_cv_prog_fgrep
5244 test -z "$GREP" && GREP
=grep
5264 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5265 if test "${with_gnu_ld+set}" = set; then
5266 withval
="$with_gnu_ld"
5267 test "$withval" = no || with_gnu_ld
=yes
5272 if test "$GCC" = yes; then
5273 # Check if gcc -print-prog-name=ld gives a path.
5274 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5275 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5278 # gcc leaves a trailing carriage return which upsets mingw
5279 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5281 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5284 # Accept absolute paths.
5286 re_direlt
='/[^/][^/]*/\.\./'
5287 # Canonicalize the pathname of ld
5288 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5289 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5290 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5292 test -z "$LD" && LD
="$ac_prog"
5295 # If it fails, then pretend we aren't using GCC.
5299 # If it is relative, then search for the first ld in PATH.
5303 elif test "$with_gnu_ld" = yes; then
5304 echo "$as_me:$LINENO: checking for GNU ld" >&5
5305 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5307 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5308 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5310 if test "${lt_cv_path_LD+set}" = set; then
5311 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 if test -z "$LD"; then
5314 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5315 for ac_dir
in $PATH; do
5317 test -z "$ac_dir" && ac_dir
=.
5318 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5319 lt_cv_path_LD
="$ac_dir/$ac_prog"
5320 # Check to see if the program is GNU ld. I'd rather use --version,
5321 # but apparently some variants of GNU ld only accept -v.
5322 # Break only if it was the GNU/non-GNU ld that we prefer.
5323 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5324 *GNU
* |
*'with BFD'*)
5325 test "$with_gnu_ld" != no
&& break
5328 test "$with_gnu_ld" != yes && break
5335 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5340 if test -n "$LD"; then
5341 echo "$as_me:$LINENO: result: $LD" >&5
5342 echo "${ECHO_T}$LD" >&6
5344 echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6
5347 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5348 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5349 { (exit 1); exit 1; }; }
5350 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5351 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5352 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5353 echo $ECHO_N "(cached) $ECHO_C" >&6
5355 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5356 case `$LD -v 2>&1 </dev/null` in
5357 *GNU
* |
*'with BFD'*)
5358 lt_cv_prog_gnu_ld
=yes
5361 lt_cv_prog_gnu_ld
=no
5365 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5366 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5367 with_gnu_ld
=$lt_cv_prog_gnu_ld
5377 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5378 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5379 if test "${lt_cv_path_NM+set}" = set; then
5380 echo $ECHO_N "(cached) $ECHO_C" >&6
5382 if test -n "$NM"; then
5383 # Let the user override the test.
5386 lt_nm_to_check
="${ac_tool_prefix}nm"
5387 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5388 lt_nm_to_check
="$lt_nm_to_check nm"
5390 for lt_tmp_nm
in $lt_nm_to_check; do
5391 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5392 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5394 test -z "$ac_dir" && ac_dir
=.
5395 tmp_nm
="$ac_dir/$lt_tmp_nm"
5396 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5397 # Check to see if the nm accepts a BSD-compat flag.
5398 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5399 # nm: unknown option "B" ignored
5400 # Tru64's nm complains that /dev/null is an invalid object file
5401 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5402 */dev
/null
* |
*'Invalid file or object type'*)
5403 lt_cv_path_NM
="$tmp_nm -B"
5407 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5409 lt_cv_path_NM
="$tmp_nm -p"
5413 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5414 continue # so that we can try to find one that supports BSD flags
5423 : ${lt_cv_path_NM=no}
5426 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5427 echo "${ECHO_T}$lt_cv_path_NM" >&6
5428 if test "$lt_cv_path_NM" != "no"; then
5431 # Didn't find any BSD compatible name lister, look for dumpbin.
5432 if test -n "$ac_tool_prefix"; then
5433 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5436 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5437 echo "$as_me:$LINENO: checking for $ac_word" >&5
5438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5439 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6
5442 if test -n "$DUMPBIN"; then
5443 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5449 test -z "$as_dir" && as_dir
=.
5450 for ac_exec_ext
in '' $ac_executable_extensions; do
5451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5452 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 DUMPBIN
=$ac_cv_prog_DUMPBIN
5462 if test -n "$DUMPBIN"; then
5463 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5464 echo "${ECHO_T}$DUMPBIN" >&6
5466 echo "$as_me:$LINENO: result: no" >&5
5467 echo "${ECHO_T}no" >&6
5470 test -n "$DUMPBIN" && break
5473 if test -z "$DUMPBIN"; then
5474 ac_ct_DUMPBIN
=$DUMPBIN
5475 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5477 # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy
$ac_prog; ac_word
=$2
5479 echo "$as_me:$LINENO: checking for $ac_word" >&5
5480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5481 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5482 echo $ECHO_N "(cached) $ECHO_C" >&6
5484 if test -n "$ac_ct_DUMPBIN"; then
5485 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5491 test -z "$as_dir" && as_dir
=.
5492 for ac_exec_ext
in '' $ac_executable_extensions; do
5493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5494 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5504 if test -n "$ac_ct_DUMPBIN"; then
5505 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5506 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5508 echo "$as_me:$LINENO: result: no" >&5
5509 echo "${ECHO_T}no" >&6
5512 test -n "$ac_ct_DUMPBIN" && break
5514 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5516 DUMPBIN
=$ac_ct_DUMPBIN
5520 if test "$DUMPBIN" != ":"; then
5524 test -z "$NM" && NM
=nm
5531 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5532 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5533 if test "${lt_cv_nm_interface+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5536 lt_cv_nm_interface
="BSD nm"
5537 echo "int some_variable = 0;" > conftest.
$ac_ext
5538 (eval echo "\"\$as_me:5538: $ac_compile\"" >&5)
5539 (eval "$ac_compile" 2>conftest.err
)
5540 cat conftest.err
>&5
5541 (eval echo "\"\$as_me:5541: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5542 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5543 cat conftest.err
>&5
5544 (eval echo "\"\$as_me:5544: output\"" >&5)
5545 cat conftest.out
>&5
5546 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5547 lt_cv_nm_interface
="MS dumpbin"
5551 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5552 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5554 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5555 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5557 if test "$LN_S" = "ln -s"; then
5558 echo "$as_me:$LINENO: result: yes" >&5
5559 echo "${ECHO_T}yes" >&6
5561 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5562 echo "${ECHO_T}no, using $LN_S" >&6
5565 # find the maximum length of command line arguments
5566 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5567 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5568 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5569 echo $ECHO_N "(cached) $ECHO_C" >&6
5576 # On DJGPP, this test can blow up pretty badly due to problems in libc
5577 # (any single argument exceeding 2000 bytes causes a buffer overrun
5578 # during glob expansion). Even if it were fixed, the result of this
5579 # check would be larger than it should be.
5580 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5584 # Under GNU Hurd, this test is not required because there is
5585 # no limit to the length of command line arguments.
5586 # Libtool will interpret -1 as no limit whatsoever
5587 lt_cv_sys_max_cmd_len
=-1;
5590 cygwin
* | mingw
* | cegcc
*)
5591 # On Win9x/ME, this test blows up -- it succeeds, but takes
5592 # about 5 minutes as the teststring grows exponentially.
5593 # Worse, since 9x/ME are not pre-emptively multitasking,
5594 # you end up with a "frozen" computer, even though with patience
5595 # the test eventually succeeds (with a max line length of 256k).
5596 # Instead, let's just punt: use the minimum linelength reported by
5597 # all of the supported platforms: 8192 (on NT/2K/XP).
5598 lt_cv_sys_max_cmd_len
=8192;
5602 # On AmigaOS with pdksh, this test takes hours, literally.
5603 # So we just punt and use a minimum line length of 8192.
5604 lt_cv_sys_max_cmd_len
=8192;
5607 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5608 # This has been around since 386BSD, at least. Likely further.
5609 if test -x /sbin
/sysctl
; then
5610 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5611 elif test -x /usr
/sbin
/sysctl
; then
5612 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5614 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5616 # And add a safety zone
5617 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5618 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5622 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5623 lt_cv_sys_max_cmd_len
=196608
5627 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5628 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5629 # nice to cause kernel panics so lets avoid the loop below.
5630 # First set a reasonable default.
5631 lt_cv_sys_max_cmd_len
=16384
5633 if test -x /sbin
/sysconfig
; then
5634 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5635 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5640 lt_cv_sys_max_cmd_len
=102400
5642 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5643 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5644 if test -n "$kargmax"; then
5645 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5647 lt_cv_sys_max_cmd_len
=32768
5651 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5652 if test -n "$lt_cv_sys_max_cmd_len"; then
5653 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5654 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5656 # Make teststring a little bigger before we do anything with it.
5657 # a 1K string should be a reasonable start.
5658 for i
in 1 2 3 4 5 6 7 8 ; do
5659 teststring
=$teststring$teststring
5661 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5662 # If test is not a shell built-in, we'll probably end up computing a
5663 # maximum length that is only half of the actual maximum length, but
5665 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5666 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5667 test $i != 17 # 1/2 MB should be enough
5670 teststring
=$teststring$teststring
5672 # Only check the string length outside the loop.
5673 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5675 # Add a significant safety factor because C++ compilers can tack on
5676 # massive amounts of additional arguments before passing them to the
5677 # linker. It appears as though 1/2 is a usable value.
5678 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5685 if test -n $lt_cv_sys_max_cmd_len ; then
5686 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5687 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5689 echo "$as_me:$LINENO: result: none" >&5
5690 echo "${ECHO_T}none" >&6
5692 max_cmd_len
=$lt_cv_sys_max_cmd_len
5703 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5704 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5705 # Try some XSI features
5708 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5710 && eval 'test $(( 1 + 1 )) -eq 2 \
5711 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5713 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5714 echo "${ECHO_T}$xsi_shell" >&6
5717 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5718 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
5720 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5722 && lt_shell_append=yes
5723 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5724 echo "${ECHO_T}$lt_shell_append" >&6
5727 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5737 # test EBCDIC or ASCII
5738 case `echo X|tr X '\101'` in
5739 A) # ASCII based system
5740 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5741 lt_SP2NL='tr \040 \012'
5742 lt_NL2SP='tr \015\012 \040\040'
5744 *) # EBCDIC based system
5745 lt_SP2NL='tr \100 \n'
5746 lt_NL2SP='tr \r\n \100\100'
5758 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5759 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
5760 if test "${lt_cv_ld_reload_flag+set}" = set; then
5761 echo $ECHO_N "(cached
) $ECHO_C" >&6
5763 lt_cv_ld_reload_flag='-r'
5765 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5766 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5767 reload_flag=$lt_cv_ld_reload_flag
5768 case $reload_flag in
5770 *) reload_flag=" $reload_flag" ;;
5772 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5775 if test "$GCC" = yes; then
5776 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5778 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5791 if test -n "$ac_tool_prefix"; then
5792 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5793 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5794 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5795 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5796 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5797 echo $ECHO_N "(cached
) $ECHO_C" >&6
5799 if test -n "$OBJDUMP"; then
5800 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir=.
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5810 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5818 OBJDUMP=$ac_cv_prog_OBJDUMP
5819 if test -n "$OBJDUMP"; then
5820 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
5821 echo "${ECHO_T}$OBJDUMP" >&6
5823 echo "$as_me:$LINENO: result
: no
" >&5
5824 echo "${ECHO_T}no
" >&6
5828 if test -z "$ac_cv_prog_OBJDUMP"; then
5829 ac_ct_OBJDUMP=$OBJDUMP
5830 # Extract the first word of "objdump
", so it can be a program name with args.
5831 set dummy objdump; ac_word=$2
5832 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5833 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5834 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5835 echo $ECHO_N "(cached
) $ECHO_C" >&6
5837 if test -n "$ac_ct_OBJDUMP"; then
5838 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 test -z "$as_dir" && as_dir=.
5845 for ac_exec_ext in '' $ac_executable_extensions; do
5846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5847 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5848 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5854 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
5857 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5858 if test -n "$ac_ct_OBJDUMP"; then
5859 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
5860 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
5862 echo "$as_me:$LINENO: result
: no
" >&5
5863 echo "${ECHO_T}no
" >&6
5866 OBJDUMP=$ac_ct_OBJDUMP
5868 OBJDUMP="$ac_cv_prog_OBJDUMP"
5871 test -z "$OBJDUMP" && OBJDUMP=objdump
5881 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5882 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
5883 if test "${lt_cv_deplibs_check_method+set}" = set; then
5884 echo $ECHO_N "(cached
) $ECHO_C" >&6
5886 lt_cv_file_magic_cmd='$MAGIC_CMD'
5887 lt_cv_file_magic_test_file=
5888 lt_cv_deplibs_check_method='unknown'
5889 # Need to set the preceding variable on all platforms that support
5890 # interlibrary dependencies.
5891 # 'none' -- dependencies not supported.
5892 # `unknown' -- same as none, but documents that we really don't know.
5893 # 'pass_all' -- all dependencies passed with no checks.
5894 # 'test_compile' -- check by making test program.
5895 # 'file_magic [[regex]]' -- check by looking for files in library path
5896 # which responds to the $file_magic_cmd with a given extended regex.
5897 # If you have `file' or equivalent on your system and you're not sure
5898 # whether `pass_all' will *always* work, you probably want this one.
5902 lt_cv_deplibs_check_method=pass_all
5906 lt_cv_deplibs_check_method=pass_all
5910 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5911 lt_cv_file_magic_cmd='/usr/bin/file -L'
5912 lt_cv_file_magic_test_file=/shlib/libc.so
5916 # func_win32_libid is a shell function defined in ltmain.sh
5917 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5918 lt_cv_file_magic_cmd='func_win32_libid'
5922 # Base MSYS/MinGW do not provide the 'file' command needed by
5923 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5924 # unless we find 'file', for example because we are cross-compiling.
5925 if ( file / ) >/dev/null 2>&1; then
5926 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5927 lt_cv_file_magic_cmd='func_win32_libid'
5929 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5930 lt_cv_file_magic_cmd='$OBJDUMP -f'
5935 # use the weaker test based on 'objdump'. See mingw*.
5936 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5937 lt_cv_file_magic_cmd='$OBJDUMP -f'
5940 darwin* | rhapsody*)
5941 lt_cv_deplibs_check_method=pass_all
5944 freebsd* | dragonfly*)
5945 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5948 # Not sure whether the presence of OpenBSD here was a mistake.
5949 # Let's accept both of them until this is cleared up.
5950 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5951 lt_cv_file_magic_cmd=/usr/bin/file
5952 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5956 lt_cv_deplibs_check_method=pass_all
5961 lt_cv_deplibs_check_method=pass_all
5964 hpux10.20* | hpux11*)
5965 lt_cv_file_magic_cmd=/usr/bin/file
5968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5969 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5972 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]'
5973 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5976 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5977 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5983 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5984 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5987 irix5* | irix6* | nonstopux*)
5989 *-32|*"-32 ") libmagic=32-bit;;
5990 *-n32|*"-n32 ") libmagic=N32;;
5991 *-64|*"-64 ") libmagic=64-bit;;
5992 *) libmagic=never-match;;
5994 lt_cv_deplibs_check_method=pass_all
5997 # This must be Linux ELF.
5998 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5999 lt_cv_deplibs_check_method=pass_all
6003 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6004 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6006 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6011 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6012 lt_cv_file_magic_cmd=/usr/bin/file
6013 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6017 lt_cv_deplibs_check_method=pass_all
6021 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6022 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6024 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6028 osf3* | osf4* | osf5*)
6029 lt_cv_deplibs_check_method=pass_all
6033 lt_cv_deplibs_check_method=pass_all
6037 lt_cv_deplibs_check_method=pass_all
6040 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6041 lt_cv_deplibs_check_method=pass_all
6045 case $host_vendor in
6047 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]'
6048 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6051 lt_cv_deplibs_check_method=pass_all
6054 lt_cv_file_magic_cmd='/bin/file'
6055 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6058 lt_cv_file_magic_cmd='/bin/file'
6059 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6060 lt_cv_file_magic_test_file=/lib/libc.so
6063 lt_cv_deplibs_check_method=pass_all
6066 lt_cv_deplibs_check_method=pass_all
6072 lt_cv_deplibs_check_method=pass_all
6077 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6078 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6079 file_magic_cmd=$lt_cv_file_magic_cmd
6080 deplibs_check_method=$lt_cv_deplibs_check_method
6081 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6094 if test -n "$ac_tool_prefix"; then
6095 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6096 set dummy ${ac_tool_prefix}ar; ac_word=$2
6097 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6098 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6099 if test "${ac_cv_prog_AR+set}" = set; then
6100 echo $ECHO_N "(cached
) $ECHO_C" >&6
6102 if test -n "$AR"; then
6103 ac_cv_prog_AR="$AR" # Let the user override the test.
6105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 test -z "$as_dir" && as_dir=.
6110 for ac_exec_ext in '' $ac_executable_extensions; do
6111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6112 ac_cv_prog_AR="${ac_tool_prefix}ar"
6113 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6122 if test -n "$AR"; then
6123 echo "$as_me:$LINENO: result
: $AR" >&5
6124 echo "${ECHO_T}$AR" >&6
6126 echo "$as_me:$LINENO: result
: no
" >&5
6127 echo "${ECHO_T}no
" >&6
6131 if test -z "$ac_cv_prog_AR"; then
6133 # Extract the first word of "ar", so it can be a program name with args.
6134 set dummy ar; ac_word=$2
6135 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6136 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6137 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6138 echo $ECHO_N "(cached
) $ECHO_C" >&6
6140 if test -n "$ac_ct_AR"; then
6141 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6150 ac_cv_prog_ac_ct_AR="ar"
6151 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6157 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6160 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6161 if test -n "$ac_ct_AR"; then
6162 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6163 echo "${ECHO_T}$ac_ct_AR" >&6
6165 echo "$as_me:$LINENO: result
: no
" >&5
6166 echo "${ECHO_T}no
" >&6
6174 test -z "$AR" && AR=ar
6175 test -z "$AR_FLAGS" && AR_FLAGS=cru
6187 if test -n "$ac_tool_prefix"; then
6188 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6189 set dummy ${ac_tool_prefix}strip; ac_word=$2
6190 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6191 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6192 if test "${ac_cv_prog_STRIP+set}" = set; then
6193 echo $ECHO_N "(cached
) $ECHO_C" >&6
6195 if test -n "$STRIP"; then
6196 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 test -z "$as_dir" && as_dir=.
6203 for ac_exec_ext in '' $ac_executable_extensions; do
6204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6205 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6206 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6214 STRIP=$ac_cv_prog_STRIP
6215 if test -n "$STRIP"; then
6216 echo "$as_me:$LINENO: result
: $STRIP" >&5
6217 echo "${ECHO_T}$STRIP" >&6
6219 echo "$as_me:$LINENO: result
: no
" >&5
6220 echo "${ECHO_T}no
" >&6
6224 if test -z "$ac_cv_prog_STRIP"; then
6226 # Extract the first word of "strip
", so it can be a program name with args.
6227 set dummy strip; ac_word=$2
6228 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6229 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6230 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6231 echo $ECHO_N "(cached
) $ECHO_C" >&6
6233 if test -n "$ac_ct_STRIP"; then
6234 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6243 ac_cv_prog_ac_ct_STRIP="strip
"
6244 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6250 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6253 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6254 if test -n "$ac_ct_STRIP"; then
6255 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6256 echo "${ECHO_T}$ac_ct_STRIP" >&6
6258 echo "$as_me:$LINENO: result
: no
" >&5
6259 echo "${ECHO_T}no
" >&6
6264 STRIP="$ac_cv_prog_STRIP"
6267 test -z "$STRIP" && STRIP=:
6274 if test -n "$ac_tool_prefix"; then
6275 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6276 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6277 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6278 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6279 if test "${ac_cv_prog_RANLIB+set}" = set; then
6280 echo $ECHO_N "(cached
) $ECHO_C" >&6
6282 if test -n "$RANLIB"; then
6283 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 test -z "$as_dir" && as_dir=.
6290 for ac_exec_ext in '' $ac_executable_extensions; do
6291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6292 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6293 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6301 RANLIB=$ac_cv_prog_RANLIB
6302 if test -n "$RANLIB"; then
6303 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6304 echo "${ECHO_T}$RANLIB" >&6
6306 echo "$as_me:$LINENO: result
: no
" >&5
6307 echo "${ECHO_T}no
" >&6
6311 if test -z "$ac_cv_prog_RANLIB"; then
6312 ac_ct_RANLIB=$RANLIB
6313 # Extract the first word of "ranlib
", so it can be a program name with args.
6314 set dummy ranlib; ac_word=$2
6315 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6316 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6317 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6318 echo $ECHO_N "(cached
) $ECHO_C" >&6
6320 if test -n "$ac_ct_RANLIB"; then
6321 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 test -z "$as_dir" && as_dir=.
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6330 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6331 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6337 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6340 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6341 if test -n "$ac_ct_RANLIB"; then
6342 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6343 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6345 echo "$as_me:$LINENO: result
: no
" >&5
6346 echo "${ECHO_T}no
" >&6
6349 RANLIB=$ac_ct_RANLIB
6351 RANLIB="$ac_cv_prog_RANLIB"
6354 test -z "$RANLIB" && RANLIB=:
6361 # Determine commands to create old-style static archives.
6362 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6363 old_postinstall_cmds='chmod 644 $oldlib'
6364 old_postuninstall_cmds=
6366 if test -n "$RANLIB"; then
6369 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6372 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6375 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6411 # If no C compiler was specified, use CC.
6414 # If no C compiler flags were specified, use CFLAGS.
6415 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6417 # Allow CC to be a program name with arguments.
6421 # Check for command to grab the raw symbol name followed by C symbol from nm.
6422 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6423 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6424 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6425 echo $ECHO_N "(cached
) $ECHO_C" >&6
6428 # These are sane defaults that work on at least a few old systems.
6429 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6431 # Character class describing NM global symbol codes.
6432 symcode='[BCDEGRST]'
6434 # Regexp to match symbols that can be accessed directly from C.
6435 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6437 # Define system-specific variables.
6442 cygwin* | mingw* | pw32* | cegcc*)
6443 symcode='[ABCDGISTW]'
6446 if test "$host_cpu" = ia64; then
6447 symcode='[ABCDEGRST]'
6451 symcode='[BCDEGRST]'
6454 symcode='[BCDEGQRST]'
6465 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6473 # If we're using GNU nm, then use its standard symbol codes.
6474 case `$NM -V 2>&1` in
6475 *GNU* | *'with BFD'*)
6476 symcode='[ABCDGIRSTW]' ;;
6479 # Transform an extracted symbol line into a proper C declaration.
6480 # Some systems (esp. on ia64) link data and code symbols differently,
6481 # so use this general approach.
6482 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6484 # Transform an extracted symbol line into symbol name and symbol address
6485 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6486 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6488 # Handle CRLF in mingw tool chain
6492 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6496 # Try without a prefix underscore, then with it.
6497 for ac_symprfx in "" "_
"; do
6499 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6500 symxfrm="\\1 $ac_symprfx\\2 \\2"
6502 # Write the raw and C identifiers.
6503 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6504 # Fake it for dumpbin and say T for any non-static function
6505 # and D for any global variable.
6506 # Also find C++ and __fastcall symbols from MSVC++,
6507 # which start with @ or ?.
6508 lt_cv_sys_global_symbol_pipe="$AWK '"\
6509 " {last_section=section; section=\$ 3};"\
6510 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6511 " \$ 0!~/External *\|/{next};"\
6512 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6513 " {if(hide[section]) next};"\
6514 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6515 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6516 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6517 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6518 " ' prfx
=^
$ac_symprfx"
6520 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6523 # Check to see that the pipe works correctly.
6527 cat > conftest.$ac_ext <<_LT_EOF
6532 void nm_test_func(void);
6533 void nm_test_func(void){}
6537 int main(){nm_test_var='a';nm_test_func();return(0);}
6540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6541 (eval $ac_compile) 2>&5
6543 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6544 (exit $ac_status); }; then
6545 # Now try to grab the symbols.
6547 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6548 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6550 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6551 (exit $ac_status); } && test -s "$nlist"; then
6552 # Try sorting and uniquifying the output.
6553 if sort "$nlist" | uniq > "$nlist"T; then
6554 mv -f "$nlist"T "$nlist"
6559 # Make sure that we snagged all the symbols we need.
6560 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6561 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6562 cat <<_LT_EOF > conftest.$ac_ext
6568 # Now generate the symbol file.
6569 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6571 cat <<_LT_EOF >> conftest.$ac_ext
6573 /* The mapping between symbol names and symbols. */
6578 lt__PROGRAM__LTX_preloaded_symbols[] =
6580 { "@PROGRAM@
", (void *) 0 },
6582 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6583 cat <<\_LT_EOF >> conftest.$ac_ext
6587 /* This works around a problem in FreeBSD linker */
6588 #ifdef FREEBSD_WORKAROUND
6589 static const void *lt_preloaded_setup() {
6590 return lt__PROGRAM__LTX_preloaded_symbols;
6598 # Now try linking the two files.
6599 mv conftest.$ac_objext conftstm.$ac_objext
6600 lt_save_LIBS="$LIBS"
6601 lt_save_CFLAGS="$CFLAGS"
6602 LIBS="conftstm.
$ac_objext"
6603 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6605 (eval $ac_link) 2>&5
6607 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6608 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6611 LIBS="$lt_save_LIBS"
6612 CFLAGS="$lt_save_CFLAGS"
6614 echo "cannot
find nm_test_func
in $nlist" >&5
6617 echo "cannot
find nm_test_var
in $nlist" >&5
6620 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6623 echo "$progname: failed program was
:" >&5
6624 cat conftest.$ac_ext >&5
6626 rm -rf conftest* conftst*
6628 # Do not use the global_symbol_pipe unless it works.
6629 if test "$pipe_works" = yes; then
6632 lt_cv_sys_global_symbol_pipe=
6638 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6639 lt_cv_sys_global_symbol_to_cdecl=
6641 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6642 echo "$as_me:$LINENO: result
: failed
" >&5
6643 echo "${ECHO_T}failed
" >&6
6645 echo "$as_me:$LINENO: result
: ok
" >&5
6646 echo "${ECHO_T}ok
" >&6
6670 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6671 if test "${enable_libtool_lock+set}" = set; then
6672 enableval="$enable_libtool_lock"
6675 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6677 # Some flags need to be propagated to the compiler or linker for good
6681 # Find out which ABI we are using.
6682 echo 'int i;' > conftest.$ac_ext
6683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6684 (eval $ac_compile) 2>&5
6686 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6687 (exit $ac_status); }; then
6688 case `/usr/bin/file conftest.$ac_objext` in
6700 # Find out which ABI we are using.
6701 echo '#line 6701 "configure
"' > conftest.$ac_ext
6702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6703 (eval $ac_compile) 2>&5
6705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6706 (exit $ac_status); }; then
6707 if test "$lt_cv_prog_gnu_ld" = yes; then
6708 case `/usr/bin/file conftest.$ac_objext` in
6710 LD="${LD-ld} -melf32bsmip"
6713 LD="${LD-ld} -melf32bmipn32"
6716 LD="${LD-ld} -melf64bmip"
6720 case `/usr/bin/file conftest.$ac_objext` in
6736 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6737 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6738 # Find out which ABI we are using.
6739 echo 'int i;' > conftest.$ac_ext
6740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6741 (eval $ac_compile) 2>&5
6743 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6744 (exit $ac_status); }; then
6745 case `/usr/bin/file conftest.o` in
6748 x86_64-*kfreebsd*-gnu)
6749 LD="${LD-ld} -m elf_i386_fbsd
"
6752 LD="${LD-ld} -m elf_i386
"
6754 ppc64-*linux*|powerpc64-*linux*)
6755 LD="${LD-ld} -m elf32ppclinux
"
6758 LD="${LD-ld} -m elf_s390
"
6761 LD="${LD-ld} -m elf32_sparc
"
6767 x86_64-*kfreebsd*-gnu)
6768 LD="${LD-ld} -m elf_x86_64_fbsd
"
6771 LD="${LD-ld} -m elf_x86_64
"
6773 ppc*-*linux*|powerpc*-*linux*)
6774 LD="${LD-ld} -m elf64ppc
"
6776 s390*-*linux*|s390*-*tpf*)
6777 LD="${LD-ld} -m elf64_s390
"
6780 LD="${LD-ld} -m elf64_sparc
"
6790 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6791 SAVE_CFLAGS="$CFLAGS"
6792 CFLAGS="$CFLAGS -belf"
6793 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6794 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
6795 if test "${lt_cv_cc_needs_belf+set}" = set; then
6796 echo $ECHO_N "(cached
) $ECHO_C" >&6
6799 ac_cpp='$CPP $CPPFLAGS'
6800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6804 cat >conftest.$ac_ext <<_ACEOF
6807 cat confdefs.h >>conftest.$ac_ext
6808 cat >>conftest.$ac_ext <<_ACEOF
6809 /* end confdefs.h. */
6819 rm -f conftest.$ac_objext conftest$ac_exeext
6820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6821 (eval $ac_link) 2>conftest.er1
6823 grep -v '^ *+' conftest.er1 >conftest.err
6825 cat conftest.err >&5
6826 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6827 (exit $ac_status); } &&
6828 { ac_try='test -z "$ac_c_werror_flag"
6829 || test ! -s conftest.err'
6830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6834 (exit $ac_status); }; } &&
6835 { ac_try='test -s conftest$ac_exeext'
6836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6840 (exit $ac_status); }; }; then
6841 lt_cv_cc_needs_belf=yes
6843 echo "$as_me: failed program was
:" >&5
6844 sed 's/^/| /' conftest.$ac_ext >&5
6846 lt_cv_cc_needs_belf=no
6848 rm -f conftest.err conftest.$ac_objext \
6849 conftest$ac_exeext conftest.$ac_ext
6851 ac_cpp='$CPP $CPPFLAGS'
6852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6857 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6858 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6859 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6860 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6861 CFLAGS="$SAVE_CFLAGS"
6865 # Find out which ABI we are using.
6866 echo 'int i;' > conftest.$ac_ext
6867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6868 (eval $ac_compile) 2>&5
6870 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6871 (exit $ac_status); }; then
6872 case `/usr/bin/file conftest.o` in
6874 case $lt_cv_prog_gnu_ld in
6875 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6877 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6889 need_locks="$enable_libtool_lock"
6893 rhapsody* | darwin*)
6894 if test -n "$ac_tool_prefix"; then
6895 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6896 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6897 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6898 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6899 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6900 echo $ECHO_N "(cached
) $ECHO_C" >&6
6902 if test -n "$DSYMUTIL"; then
6903 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909 test -z "$as_dir" && as_dir=.
6910 for ac_exec_ext in '' $ac_executable_extensions; do
6911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6912 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6913 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6921 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6922 if test -n "$DSYMUTIL"; then
6923 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
6924 echo "${ECHO_T}$DSYMUTIL" >&6
6926 echo "$as_me:$LINENO: result
: no
" >&5
6927 echo "${ECHO_T}no
" >&6
6931 if test -z "$ac_cv_prog_DSYMUTIL"; then
6932 ac_ct_DSYMUTIL=$DSYMUTIL
6933 # Extract the first word of "dsymutil
", so it can be a program name with args.
6934 set dummy dsymutil; ac_word=$2
6935 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6936 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6937 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6938 echo $ECHO_N "(cached
) $ECHO_C" >&6
6940 if test -n "$ac_ct_DSYMUTIL"; then
6941 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6947 test -z "$as_dir" && as_dir=.
6948 for ac_exec_ext in '' $ac_executable_extensions; do
6949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6950 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6951 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6957 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
6960 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6961 if test -n "$ac_ct_DSYMUTIL"; then
6962 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
6963 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6965 echo "$as_me:$LINENO: result
: no
" >&5
6966 echo "${ECHO_T}no
" >&6
6969 DSYMUTIL=$ac_ct_DSYMUTIL
6971 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6974 if test -n "$ac_tool_prefix"; then
6975 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6976 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6977 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6978 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6979 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6980 echo $ECHO_N "(cached
) $ECHO_C" >&6
6982 if test -n "$NMEDIT"; then
6983 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989 test -z "$as_dir" && as_dir=.
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6992 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6993 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7001 NMEDIT=$ac_cv_prog_NMEDIT
7002 if test -n "$NMEDIT"; then
7003 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
7004 echo "${ECHO_T}$NMEDIT" >&6
7006 echo "$as_me:$LINENO: result
: no
" >&5
7007 echo "${ECHO_T}no
" >&6
7011 if test -z "$ac_cv_prog_NMEDIT"; then
7012 ac_ct_NMEDIT=$NMEDIT
7013 # Extract the first word of "nmedit
", so it can be a program name with args.
7014 set dummy nmedit; ac_word=$2
7015 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7016 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7017 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7018 echo $ECHO_N "(cached
) $ECHO_C" >&6
7020 if test -n "$ac_ct_NMEDIT"; then
7021 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027 test -z "$as_dir" && as_dir=.
7028 for ac_exec_ext in '' $ac_executable_extensions; do
7029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7030 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7031 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7037 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
7040 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7041 if test -n "$ac_ct_NMEDIT"; then
7042 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
7043 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
7045 echo "$as_me:$LINENO: result
: no
" >&5
7046 echo "${ECHO_T}no
" >&6
7049 NMEDIT=$ac_ct_NMEDIT
7051 NMEDIT="$ac_cv_prog_NMEDIT"
7054 if test -n "$ac_tool_prefix"; then
7055 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7056 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7057 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7058 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7059 if test "${ac_cv_prog_LIPO+set}" = set; then
7060 echo $ECHO_N "(cached
) $ECHO_C" >&6
7062 if test -n "$LIPO"; then
7063 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7069 test -z "$as_dir" && as_dir=.
7070 for ac_exec_ext in '' $ac_executable_extensions; do
7071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7072 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7073 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7081 LIPO=$ac_cv_prog_LIPO
7082 if test -n "$LIPO"; then
7083 echo "$as_me:$LINENO: result
: $LIPO" >&5
7084 echo "${ECHO_T}$LIPO" >&6
7086 echo "$as_me:$LINENO: result
: no
" >&5
7087 echo "${ECHO_T}no
" >&6
7091 if test -z "$ac_cv_prog_LIPO"; then
7093 # Extract the first word of "lipo
", so it can be a program name with args.
7094 set dummy lipo; ac_word=$2
7095 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7096 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7097 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7098 echo $ECHO_N "(cached
) $ECHO_C" >&6
7100 if test -n "$ac_ct_LIPO"; then
7101 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7107 test -z "$as_dir" && as_dir=.
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_ac_ct_LIPO="lipo
"
7111 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7117 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
7120 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7121 if test -n "$ac_ct_LIPO"; then
7122 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
7123 echo "${ECHO_T}$ac_ct_LIPO" >&6
7125 echo "$as_me:$LINENO: result
: no
" >&5
7126 echo "${ECHO_T}no
" >&6
7131 LIPO="$ac_cv_prog_LIPO"
7134 if test -n "$ac_tool_prefix"; then
7135 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7136 set dummy ${ac_tool_prefix}otool; ac_word=$2
7137 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7138 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7139 if test "${ac_cv_prog_OTOOL+set}" = set; then
7140 echo $ECHO_N "(cached
) $ECHO_C" >&6
7142 if test -n "$OTOOL"; then
7143 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 test -z "$as_dir" && as_dir=.
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7152 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7153 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7161 OTOOL=$ac_cv_prog_OTOOL
7162 if test -n "$OTOOL"; then
7163 echo "$as_me:$LINENO: result
: $OTOOL" >&5
7164 echo "${ECHO_T}$OTOOL" >&6
7166 echo "$as_me:$LINENO: result
: no
" >&5
7167 echo "${ECHO_T}no
" >&6
7171 if test -z "$ac_cv_prog_OTOOL"; then
7173 # Extract the first word of "otool
", so it can be a program name with args.
7174 set dummy otool; ac_word=$2
7175 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7176 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7177 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7178 echo $ECHO_N "(cached
) $ECHO_C" >&6
7180 if test -n "$ac_ct_OTOOL"; then
7181 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7187 test -z "$as_dir" && as_dir=.
7188 for ac_exec_ext in '' $ac_executable_extensions; do
7189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7190 ac_cv_prog_ac_ct_OTOOL="otool
"
7191 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7197 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
7200 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7201 if test -n "$ac_ct_OTOOL"; then
7202 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
7203 echo "${ECHO_T}$ac_ct_OTOOL" >&6
7205 echo "$as_me:$LINENO: result
: no
" >&5
7206 echo "${ECHO_T}no
" >&6
7211 OTOOL="$ac_cv_prog_OTOOL"
7214 if test -n "$ac_tool_prefix"; then
7215 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7216 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7217 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7218 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7219 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7220 echo $ECHO_N "(cached
) $ECHO_C" >&6
7222 if test -n "$OTOOL64"; then
7223 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7229 test -z "$as_dir" && as_dir=.
7230 for ac_exec_ext in '' $ac_executable_extensions; do
7231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7232 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7233 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7241 OTOOL64=$ac_cv_prog_OTOOL64
7242 if test -n "$OTOOL64"; then
7243 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
7244 echo "${ECHO_T}$OTOOL64" >&6
7246 echo "$as_me:$LINENO: result
: no
" >&5
7247 echo "${ECHO_T}no
" >&6
7251 if test -z "$ac_cv_prog_OTOOL64"; then
7252 ac_ct_OTOOL64=$OTOOL64
7253 # Extract the first word of "otool64
", so it can be a program name with args.
7254 set dummy otool64; ac_word=$2
7255 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7256 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7257 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7258 echo $ECHO_N "(cached
) $ECHO_C" >&6
7260 if test -n "$ac_ct_OTOOL64"; then
7261 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7271 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7277 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
7280 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7281 if test -n "$ac_ct_OTOOL64"; then
7282 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
7283 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
7285 echo "$as_me:$LINENO: result
: no
" >&5
7286 echo "${ECHO_T}no
" >&6
7289 OTOOL64=$ac_ct_OTOOL64
7291 OTOOL64="$ac_cv_prog_OTOOL64"
7320 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
7321 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
7322 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7323 echo $ECHO_N "(cached
) $ECHO_C" >&6
7325 lt_cv_apple_cc_single_mod=no
7326 if test -z "${LT_MULTI_MODULE}"; then
7327 # By default we will add the -single_module flag. You can override
7328 # by either setting the environment variable LT_MULTI_MODULE
7329 # non-empty at configure time, or by adding -multi_module to the
7331 rm -rf libconftest.dylib*
7332 echo "int foo
(void
){return 1;}" > conftest.c
7333 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7334 -dynamiclib -Wl,-single_module conftest.c
" >&5
7335 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7336 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7338 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7339 lt_cv_apple_cc_single_mod=yes
7341 cat conftest.err >&5
7343 rm -rf libconftest.dylib*
7347 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
7348 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
7349 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
7350 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
7351 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7352 echo $ECHO_N "(cached
) $ECHO_C" >&6
7354 lt_cv_ld_exported_symbols_list=no
7355 save_LDFLAGS=$LDFLAGS
7356 echo "_main
" > conftest.sym
7357 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7358 cat >conftest.$ac_ext <<_ACEOF
7361 cat confdefs.h >>conftest.$ac_ext
7362 cat >>conftest.$ac_ext <<_ACEOF
7363 /* end confdefs.h. */
7373 rm -f conftest.$ac_objext conftest$ac_exeext
7374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7375 (eval $ac_link) 2>conftest.er1
7377 grep -v '^ *+' conftest.er1 >conftest.err
7379 cat conftest.err >&5
7380 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7381 (exit $ac_status); } &&
7382 { ac_try='test -z "$ac_c_werror_flag"
7383 || test ! -s conftest.err'
7384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7388 (exit $ac_status); }; } &&
7389 { ac_try='test -s conftest$ac_exeext'
7390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7394 (exit $ac_status); }; }; then
7395 lt_cv_ld_exported_symbols_list=yes
7397 echo "$as_me: failed program was
:" >&5
7398 sed 's/^/| /' conftest.$ac_ext >&5
7400 lt_cv_ld_exported_symbols_list=no
7402 rm -f conftest.err conftest.$ac_objext \
7403 conftest$ac_exeext conftest.$ac_ext
7404 LDFLAGS="$save_LDFLAGS"
7407 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
7408 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
7410 rhapsody* | darwin1.[012])
7411 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7413 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7414 darwin*) # darwin 5.x on
7415 # if running on 10.5 or later, the deployment target defaults
7416 # to the OS version, if on x86, and 10.4, the deployment
7417 # target defaults to 10.4. Don't you love it?
7418 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7419 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7420 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7422 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7424 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7428 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7429 _lt_dar_single_mod='$single_module'
7431 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7432 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7434 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7436 if test "$DSYMUTIL" != ":"; then
7437 _lt_dsymutil='~$DSYMUTIL $lib || :'
7445 for ac_header in dlfcn.h
7447 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7448 echo "$as_me:$LINENO: checking
for $ac_header" >&5
7449 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
7450 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
7451 echo $ECHO_N "(cached
) $ECHO_C" >&6
7453 cat >conftest.$ac_ext <<_ACEOF
7456 cat confdefs.h >>conftest.$ac_ext
7457 cat >>conftest.$ac_ext <<_ACEOF
7458 /* end confdefs.h. */
7459 $ac_includes_default
7461 #include <$ac_header>
7463 rm -f conftest.$ac_objext
7464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7465 (eval $ac_compile) 2>conftest.er1
7467 grep -v '^ *+' conftest.er1 >conftest.err
7469 cat conftest.err >&5
7470 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7471 (exit $ac_status); } &&
7472 { ac_try='test -z "$ac_c_werror_flag"
7473 || test ! -s conftest.err'
7474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7477 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7478 (exit $ac_status); }; } &&
7479 { ac_try='test -s conftest.$ac_objext'
7480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7484 (exit $ac_status); }; }; then
7485 eval "$as_ac_Header=yes"
7487 echo "$as_me: failed program was
:" >&5
7488 sed 's/^/| /' conftest.$ac_ext >&5
7490 eval "$as_ac_Header=no
"
7492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7494 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
7495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7497 cat >>confdefs.h <<_ACEOF
7498 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7517 # Check whether --enable-shared or --disable-shared was given.
7518 if test "${enable_shared+set}" = set; then
7519 enableval="$enable_shared"
7520 p=${PACKAGE-default}
7522 yes) enable_shared=yes ;;
7523 no) enable_shared=no ;;
7526 # Look at the argument we got. We use all the common list separators.
7527 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7528 for pkg in $enableval; do
7530 if test "X
$pkg" = "X
$p"; then
7548 # Check whether --enable-static or --disable-static was given.
7549 if test "${enable_static+set}" = set; then
7550 enableval="$enable_static"
7551 p=${PACKAGE-default}
7553 yes) enable_static=yes ;;
7554 no) enable_static=no ;;
7557 # Look at the argument we got. We use all the common list separators.
7558 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7559 for pkg in $enableval; do
7561 if test "X
$pkg" = "X
$p"; then
7580 # Check whether --with-pic or --without-pic was given.
7581 if test "${with_pic+set}" = set; then
7588 test -z "$pic_mode" && pic_mode=default
7596 # Check whether --enable-fast-install or --disable-fast-install was given.
7597 if test "${enable_fast_install+set}" = set; then
7598 enableval="$enable_fast_install"
7599 p=${PACKAGE-default}
7601 yes) enable_fast_install=yes ;;
7602 no) enable_fast_install=no ;;
7604 enable_fast_install=no
7605 # Look at the argument we got. We use all the common list separators.
7606 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7607 for pkg in $enableval; do
7609 if test "X
$pkg" = "X
$p"; then
7610 enable_fast_install=yes
7617 enable_fast_install=yes
7629 # This can be used to rebuild libtool when needed
7630 LIBTOOL_DEPS="$ltmain"
7632 # Always use our own libtool.
7633 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7659 test -z "$LN_S" && LN_S="ln -s"
7674 if test -n "${ZSH_VERSION+set}" ; then
7675 setopt NO_GLOB_SUBST
7678 echo "$as_me:$LINENO: checking
for objdir
" >&5
7679 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
7680 if test "${lt_cv_objdir+set}" = set; then
7681 echo $ECHO_N "(cached
) $ECHO_C" >&6
7683 rm -f .libs 2>/dev/null
7684 mkdir .libs 2>/dev/null
7685 if test -d .libs; then
7688 # MS-DOS does not allow filenames that begin with a dot.
7691 rmdir .libs 2>/dev/null
7693 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7694 echo "${ECHO_T}$lt_cv_objdir" >&6
7695 objdir=$lt_cv_objdir
7701 cat >>confdefs.h <<_ACEOF
7702 #define LT_OBJDIR "$lt_cv_objdir/"
7723 # AIX sometimes has problems with the GCC collect2 program. For some
7724 # reason, if we set the COLLECT_NAMES environment variable, the problems
7725 # vanish in a puff of smoke.
7726 if test "X
${COLLECT_NAMES+set}" != Xset; then
7728 export COLLECT_NAMES
7733 # Sed substitution that helps us do robust quoting. It backslashifies
7734 # metacharacters that are still active within double-quoted strings.
7735 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7737 # Same as above, but do not quote variable references.
7738 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7740 # Sed substitution to delay expansion of an escaped shell variable in a
7741 # double_quote_subst'ed string.
7742 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7744 # Sed substitution to delay expansion of an escaped single quote.
7745 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7747 # Sed substitution to avoid accidental globbing in evaled expressions
7748 no_glob_subst
='s/\*/\\\*/g'
7752 can_build_shared
=yes
7754 # All known linkers require a `.a' archive for static linking (except MSVC,
7755 # which needs '.lib').
7758 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7761 old_CFLAGS
="$CFLAGS"
7763 # Set sane defaults for various variables
7764 test -z "$CC" && CC
=cc
7765 test -z "$LTCC" && LTCC
=$CC
7766 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7767 test -z "$LD" && LD
=ld
7768 test -z "$ac_objext" && ac_objext
=o
7770 for cc_temp
in $compiler""; do
7772 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7773 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7778 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7781 # Only perform the check for file, if the check method requires it
7782 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7783 case $deplibs_check_method in
7785 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7786 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7787 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7788 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7789 echo $ECHO_N "(cached) $ECHO_C" >&6
7793 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7796 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7797 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7798 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7799 for ac_dir
in $ac_dummy; do
7801 test -z "$ac_dir" && ac_dir
=.
7802 if test -f $ac_dir/${ac_tool_prefix}file; then
7803 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7804 if test -n "$file_magic_test_file"; then
7805 case $deplibs_check_method in
7807 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7808 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7809 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7810 $EGREP "$file_magic_regex" > /dev
/null
; then
7815 *** Warning: the command libtool uses to detect shared libraries,
7816 *** $file_magic_cmd, produces output that libtool cannot recognize.
7817 *** The result is that libtool may fail to recognize shared libraries
7818 *** as such. This will affect the creation of libtool libraries that
7819 *** depend on shared libraries, but programs linked with such libtool
7820 *** libraries will work regardless of this problem. Nevertheless, you
7821 *** may want to report the problem to your system manager and/or to
7822 *** bug-libtool@gnu.org
7832 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7837 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7838 if test -n "$MAGIC_CMD"; then
7839 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7840 echo "${ECHO_T}$MAGIC_CMD" >&6
7842 echo "$as_me:$LINENO: result: no" >&5
7843 echo "${ECHO_T}no" >&6
7850 if test -z "$lt_cv_path_MAGIC_CMD"; then
7851 if test -n "$ac_tool_prefix"; then
7852 echo "$as_me:$LINENO: checking for file" >&5
7853 echo $ECHO_N "checking for file... $ECHO_C" >&6
7854 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7855 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7862 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7863 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7864 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7865 for ac_dir
in $ac_dummy; do
7867 test -z "$ac_dir" && ac_dir
=.
7868 if test -f $ac_dir/file; then
7869 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7870 if test -n "$file_magic_test_file"; then
7871 case $deplibs_check_method in
7873 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7874 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7875 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7876 $EGREP "$file_magic_regex" > /dev
/null
; then
7881 *** Warning: the command libtool uses to detect shared libraries,
7882 *** $file_magic_cmd, produces output that libtool cannot recognize.
7883 *** The result is that libtool may fail to recognize shared libraries
7884 *** as such. This will affect the creation of libtool libraries that
7885 *** depend on shared libraries, but programs linked with such libtool
7886 *** libraries will work regardless of this problem. Nevertheless, you
7887 *** may want to report the problem to your system manager and/or to
7888 *** bug-libtool@gnu.org
7898 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7903 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7904 if test -n "$MAGIC_CMD"; then
7905 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7906 echo "${ECHO_T}$MAGIC_CMD" >&6
7908 echo "$as_me:$LINENO: result: no" >&5
7909 echo "${ECHO_T}no" >&6
7922 # Use C for the default configuration in the libtool script
7926 ac_cpp
='$CPP $CPPFLAGS'
7927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7932 # Source file extension for C test sources.
7935 # Object file extension for compiled C test sources.
7939 # Code to be used in simple compile tests
7940 lt_simple_compile_test_code
="int some_variable = 0;"
7942 # Code to be used in simple link tests
7943 lt_simple_link_test_code
='int main(){return(0);}'
7951 # If no C compiler was specified, use CC.
7954 # If no C compiler flags were specified, use CFLAGS.
7955 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7957 # Allow CC to be a program name with arguments.
7960 # Save the default compiler, since it gets overwritten when the other
7961 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7962 compiler_DEFAULT
=$CC
7964 # save warnings/boilerplate of simple test code
7965 ac_outfile
=conftest.
$ac_objext
7966 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7967 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7968 _lt_compiler_boilerplate
=`cat conftest.err`
7971 ac_outfile
=conftest.
$ac_objext
7972 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7973 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7974 _lt_linker_boilerplate
=`cat conftest.err`
7979 ## There is no encapsulation within the following macros, do not change
7980 ## the running order or otherwise move them around unless you know exactly
7981 ## what you are doing...
7982 if test -n "$compiler"; then
7984 lt_prog_compiler_no_builtin_flag
=
7986 if test "$GCC" = yes; then
7987 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7989 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7990 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7991 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7992 echo $ECHO_N "(cached) $ECHO_C" >&6
7994 lt_cv_prog_compiler_rtti_exceptions
=no
7995 ac_outfile
=conftest.
$ac_objext
7996 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7997 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7998 # Insert the option either (1) after the last *FLAGS variable, or
7999 # (2) before a word containing "conftest.", or (3) at the end.
8000 # Note that $ac_compile itself does not contain backslashes and begins
8001 # with a dollar sign (not a hyphen), so the echo should work correctly.
8002 # The option is referenced via a variable to avoid confusing sed.
8003 lt_compile
=`echo "$ac_compile" | $SED \
8004 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8005 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8006 -e 's:$: $lt_compiler_flag:'`
8007 (eval echo "\"\$as_me:8007: $lt_compile\"" >&5)
8008 (eval "$lt_compile" 2>conftest.err
)
8010 cat conftest.err
>&5
8011 echo "$as_me:8011: \$? = $ac_status" >&5
8012 if (exit $ac_status) && test -s "$ac_outfile"; then
8013 # The compiler can only warn and ignore the option if not recognized
8014 # So say no if there are warnings other than the usual output.
8015 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8016 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8017 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8018 lt_cv_prog_compiler_rtti_exceptions
=yes
8024 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8025 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8027 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8028 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8040 lt_prog_compiler_wl
=
8041 lt_prog_compiler_pic
=
8042 lt_prog_compiler_static
=
8044 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8045 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8047 if test "$GCC" = yes; then
8048 lt_prog_compiler_wl
='-Wl,'
8049 lt_prog_compiler_static
='-static'
8053 # All AIX code is PIC.
8054 if test "$host_cpu" = ia64
; then
8055 # AIX 5 now supports IA64 processor
8056 lt_prog_compiler_static
='-Bstatic'
8063 # see comment about AmigaOS4 .so support
8064 lt_prog_compiler_pic
='-fPIC'
8067 # FIXME: we need at least 68020 code to build shared libraries, but
8068 # adding the `-m68020' flag to GCC prevents building anything better,
8070 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8075 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8076 # PIC is the default for these OSes.
8079 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8080 # This hack is so that the source file can tell whether it is being
8081 # built for inclusion in a dll (and should export symbols for example).
8082 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8083 # (--disable-auto-import) libraries
8084 lt_prog_compiler_pic
='-DDLL_EXPORT'
8087 darwin
* | rhapsody
*)
8088 # PIC is the default on this platform
8089 # Common symbols not allowed in MH_DYLIB files
8090 lt_prog_compiler_pic
='-fno-common'
8094 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8095 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8096 # sets the default TLS model and affects inlining.
8102 lt_prog_compiler_pic
='-fPIC'
8108 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8109 # Instead, we relocate shared libraries at runtime.
8113 # Just because we use GCC doesn't mean we suddenly get shared libraries
8114 # on systems that don't support them.
8115 lt_prog_compiler_can_build_shared
=no
8120 # QNX uses GNU C++, but need to define -shared option too, otherwise
8122 lt_prog_compiler_pic
='-fPIC -shared'
8126 if test -d /usr
/nec
; then
8127 lt_prog_compiler_pic
=-Kconform_pic
8132 lt_prog_compiler_pic
='-fPIC'
8136 # PORTME Check for flag to pass linker flags through the system compiler.
8139 lt_prog_compiler_wl
='-Wl,'
8140 if test "$host_cpu" = ia64
; then
8141 # AIX 5 now supports IA64 processor
8142 lt_prog_compiler_static
='-Bstatic'
8144 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8148 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8149 # This hack is so that the source file can tell whether it is being
8150 # built for inclusion in a dll (and should export symbols for example).
8151 lt_prog_compiler_pic
='-DDLL_EXPORT'
8154 hpux9
* | hpux10
* | hpux11
*)
8155 lt_prog_compiler_wl
='-Wl,'
8156 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8163 lt_prog_compiler_pic
='+Z'
8166 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8167 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8170 irix5
* | irix6
* | nonstopux
*)
8171 lt_prog_compiler_wl
='-Wl,'
8172 # PIC (with -KPIC) is the default.
8173 lt_prog_compiler_static
='-non_shared'
8176 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8177 case $cc_basename in
8178 # old Intel for x86_64 which still supported -KPIC.
8180 lt_prog_compiler_wl
='-Wl,'
8181 lt_prog_compiler_pic
='-KPIC'
8182 lt_prog_compiler_static
='-static'
8184 # icc used to be incompatible with GCC.
8185 # ICC 10 doesn't accept -KPIC any more.
8187 lt_prog_compiler_wl
='-Wl,'
8188 lt_prog_compiler_pic
='-fPIC'
8189 lt_prog_compiler_static
='-static'
8191 # Lahey Fortran 8.1.
8193 lt_prog_compiler_wl
='-Wl,'
8194 lt_prog_compiler_pic
='--shared'
8195 lt_prog_compiler_static
='--static'
8197 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8198 # Portland Group compilers (*not* the Pentium gcc compiler,
8199 # which looks to be a dead project)
8200 lt_prog_compiler_wl
='-Wl,'
8201 lt_prog_compiler_pic
='-fpic'
8202 lt_prog_compiler_static
='-Bstatic'
8205 lt_prog_compiler_wl
='-Wl,'
8206 # All Alpha code is PIC.
8207 lt_prog_compiler_static
='-non_shared'
8210 # IBM XL C 8.0/Fortran 10.1 on PPC
8211 lt_prog_compiler_wl
='-Wl,'
8212 lt_prog_compiler_pic
='-qpic'
8213 lt_prog_compiler_static
='-qstaticlink'
8216 case `$CC -V 2>&1 | sed 5q` in
8219 lt_prog_compiler_pic
='-KPIC'
8220 lt_prog_compiler_static
='-Bstatic'
8221 lt_prog_compiler_wl
='-Wl,'
8224 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8225 lt_prog_compiler_pic
='-KPIC'
8226 lt_prog_compiler_static
='-Bstatic'
8227 lt_prog_compiler_wl
=''
8235 lt_prog_compiler_pic
='-KPIC'
8236 lt_prog_compiler_static
='-Bstatic'
8240 # QNX uses GNU C++, but need to define -shared option too, otherwise
8242 lt_prog_compiler_pic
='-fPIC -shared'
8245 osf3
* | osf4
* | osf5
*)
8246 lt_prog_compiler_wl
='-Wl,'
8247 # All OSF/1 code is PIC.
8248 lt_prog_compiler_static
='-non_shared'
8252 lt_prog_compiler_static
='-non_shared'
8256 lt_prog_compiler_pic
='-KPIC'
8257 lt_prog_compiler_static
='-Bstatic'
8258 case $cc_basename in
8260 lt_prog_compiler_wl
='-Qoption ld ';;
8262 lt_prog_compiler_wl
='-Wl,';;
8267 lt_prog_compiler_wl
='-Qoption ld '
8268 lt_prog_compiler_pic
='-PIC'
8269 lt_prog_compiler_static
='-Bstatic'
8272 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8273 lt_prog_compiler_wl
='-Wl,'
8274 lt_prog_compiler_pic
='-KPIC'
8275 lt_prog_compiler_static
='-Bstatic'
8279 if test -d /usr
/nec
;then
8280 lt_prog_compiler_pic
='-Kconform_pic'
8281 lt_prog_compiler_static
='-Bstatic'
8285 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8286 lt_prog_compiler_wl
='-Wl,'
8287 lt_prog_compiler_pic
='-KPIC'
8288 lt_prog_compiler_static
='-Bstatic'
8292 lt_prog_compiler_wl
='-Wl,'
8293 lt_prog_compiler_can_build_shared
=no
8297 lt_prog_compiler_pic
='-pic'
8298 lt_prog_compiler_static
='-Bstatic'
8302 lt_prog_compiler_can_build_shared
=no
8308 # For platforms which do not support PIC, -DPIC is meaningless:
8310 lt_prog_compiler_pic
=
8313 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8316 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8317 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8325 # Check to make sure the PIC flag actually works.
8327 if test -n "$lt_prog_compiler_pic"; then
8328 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8329 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8330 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8331 echo $ECHO_N "(cached) $ECHO_C" >&6
8333 lt_cv_prog_compiler_pic_works
=no
8334 ac_outfile
=conftest.
$ac_objext
8335 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8336 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8337 # Insert the option either (1) after the last *FLAGS variable, or
8338 # (2) before a word containing "conftest.", or (3) at the end.
8339 # Note that $ac_compile itself does not contain backslashes and begins
8340 # with a dollar sign (not a hyphen), so the echo should work correctly.
8341 # The option is referenced via a variable to avoid confusing sed.
8342 lt_compile
=`echo "$ac_compile" | $SED \
8343 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8345 -e 's:$: $lt_compiler_flag:'`
8346 (eval echo "\"\$as_me:8346: $lt_compile\"" >&5)
8347 (eval "$lt_compile" 2>conftest.err
)
8349 cat conftest.err
>&5
8350 echo "$as_me:8350: \$? = $ac_status" >&5
8351 if (exit $ac_status) && test -s "$ac_outfile"; then
8352 # The compiler can only warn and ignore the option if not recognized
8353 # So say no if there are warnings other than the usual output.
8354 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8355 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8356 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8357 lt_cv_prog_compiler_pic_works
=yes
8363 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8364 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8366 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8367 case $lt_prog_compiler_pic in
8369 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8372 lt_prog_compiler_pic
=
8373 lt_prog_compiler_can_build_shared
=no
8384 # Check to make sure the static flag actually works.
8386 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8387 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8388 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8389 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8390 echo $ECHO_N "(cached) $ECHO_C" >&6
8392 lt_cv_prog_compiler_static_works
=no
8393 save_LDFLAGS
="$LDFLAGS"
8394 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8395 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8396 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8397 # The linker can only warn and ignore the option if not recognized
8398 # So say no if there are warnings
8399 if test -s conftest.err
; then
8400 # Append any errors to the config.log.
8401 cat conftest.err
1>&5
8402 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8403 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8404 if diff conftest.exp conftest.er2
>/dev
/null
; then
8405 lt_cv_prog_compiler_static_works
=yes
8408 lt_cv_prog_compiler_static_works
=yes
8412 LDFLAGS
="$save_LDFLAGS"
8415 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8416 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8418 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8421 lt_prog_compiler_static
=
8430 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8431 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8432 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8433 echo $ECHO_N "(cached) $ECHO_C" >&6
8435 lt_cv_prog_compiler_c_o
=no
8436 $RM -r conftest
2>/dev
/null
8440 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8442 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8443 # Insert the option either (1) after the last *FLAGS variable, or
8444 # (2) before a word containing "conftest.", or (3) at the end.
8445 # Note that $ac_compile itself does not contain backslashes and begins
8446 # with a dollar sign (not a hyphen), so the echo should work correctly.
8447 lt_compile
=`echo "$ac_compile" | $SED \
8448 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8449 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8450 -e 's:$: $lt_compiler_flag:'`
8451 (eval echo "\"\$as_me:8451: $lt_compile\"" >&5)
8452 (eval "$lt_compile" 2>out
/conftest.err
)
8454 cat out
/conftest.err
>&5
8455 echo "$as_me:8455: \$? = $ac_status" >&5
8456 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8458 # The compiler can only warn and ignore the option if not recognized
8459 # So say no if there are warnings
8460 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8461 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8462 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8463 lt_cv_prog_compiler_c_o
=yes
8468 # SGI C++ compiler will create directory out/ii_files/ for
8469 # template instantiation
8470 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8471 $RM out
/* && rmdir out
8477 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8478 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8485 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8486 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8487 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8488 echo $ECHO_N "(cached) $ECHO_C" >&6
8490 lt_cv_prog_compiler_c_o
=no
8491 $RM -r conftest
2>/dev
/null
8495 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8497 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8498 # Insert the option either (1) after the last *FLAGS variable, or
8499 # (2) before a word containing "conftest.", or (3) at the end.
8500 # Note that $ac_compile itself does not contain backslashes and begins
8501 # with a dollar sign (not a hyphen), so the echo should work correctly.
8502 lt_compile
=`echo "$ac_compile" | $SED \
8503 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8504 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8505 -e 's:$: $lt_compiler_flag:'`
8506 (eval echo "\"\$as_me:8506: $lt_compile\"" >&5)
8507 (eval "$lt_compile" 2>out
/conftest.err
)
8509 cat out
/conftest.err
>&5
8510 echo "$as_me:8510: \$? = $ac_status" >&5
8511 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8513 # The compiler can only warn and ignore the option if not recognized
8514 # So say no if there are warnings
8515 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8516 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8517 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8518 lt_cv_prog_compiler_c_o
=yes
8523 # SGI C++ compiler will create directory out/ii_files/ for
8524 # template instantiation
8525 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8526 $RM out
/* && rmdir out
8532 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8533 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8538 hard_links
="nottested"
8539 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8540 # do not overwrite the value of need_locks provided by the user
8541 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8542 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8545 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8547 ln conftest.a conftest.b
2>&5 || hard_links
=no
8548 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8549 echo "$as_me:$LINENO: result: $hard_links" >&5
8550 echo "${ECHO_T}$hard_links" >&6
8551 if test "$hard_links" = no
; then
8552 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8553 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8565 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8566 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8569 allow_undefined_flag
=
8570 always_export_symbols
=no
8572 archive_expsym_cmds
=
8573 compiler_needs_object
=no
8574 enable_shared_with_static_runtimes
=no
8575 export_dynamic_flag_spec
=
8576 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8577 hardcode_automatic
=no
8579 hardcode_direct_absolute
=no
8580 hardcode_libdir_flag_spec
=
8581 hardcode_libdir_flag_spec_ld
=
8582 hardcode_libdir_separator
=
8584 hardcode_shlibpath_var
=unsupported
8586 link_all_deplibs
=unknown
8589 old_archive_from_new_cmds
=
8590 old_archive_from_expsyms_cmds
=
8591 thread_safe_flag_spec
=
8592 whole_archive_flag_spec
=
8593 # include_expsyms should be a list of space-separated symbols to be *always*
8594 # included in the symbol list
8596 # exclude_expsyms can be an extended regexp of symbols to exclude
8597 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8598 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8599 # as well as any symbol that contains `d'.
8600 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8601 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8602 # platforms (ab)use it in PIC code, but their linkers get confused if
8603 # the symbol is explicitly referenced. Since portable code cannot
8604 # rely on this symbol name, it's probably fine to never include it in
8605 # preloaded symbol tables.
8606 # Exclude shared library initialization/finalization symbols.
8607 extract_expsyms_cmds
=
8610 cygwin
* | mingw
* | pw32
* | cegcc
*)
8611 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8612 # When not using gcc, we currently assume that we are using
8613 # Microsoft Visual C++.
8614 if test "$GCC" != yes; then
8619 # we just hope/assume this is gcc and not c89 (= MSVC++)
8628 if test "$with_gnu_ld" = yes; then
8629 # If archive_cmds runs LD, not CC, wlarc should be empty
8632 # Set some defaults for GNU ld with shared library support. These
8633 # are reset later if shared libraries are not supported. Putting them
8634 # here allows them to be overridden if necessary.
8635 runpath_var
=LD_RUN_PATH
8636 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8637 export_dynamic_flag_spec
='${wl}--export-dynamic'
8638 # ancient GNU ld didn't support --whole-archive et. al.
8639 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8640 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8642 whole_archive_flag_spec
=
8644 supports_anon_versioning
=no
8645 case `$LD -v 2>&1` in
8646 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8647 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8648 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8649 *\
2.11.
*) ;; # other 2.11 versions
8650 *) supports_anon_versioning
=yes ;;
8653 # See if GNU ld supports shared libraries.
8656 # On AIX/PPC, the GNU linker is very broken
8657 if test "$host_cpu" != ia64
; then
8661 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8662 *** to be unable to reliably create shared libraries on AIX.
8663 *** Therefore, libtool is disabling shared libraries support. If you
8664 *** really care for shared libraries, you may want to modify your PATH
8665 *** so that a non-GNU linker is found, and then restart.
8674 # see comment about AmigaOS4 .so support
8675 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8676 archive_expsym_cmds
=''
8679 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)'
8680 hardcode_libdir_flag_spec
='-L$libdir'
8681 hardcode_minus_L
=yes
8687 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8688 allow_undefined_flag
=unsupported
8689 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8690 # support --undefined. This deserves some investigation. FIXME
8691 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8697 cygwin
* | mingw
* | pw32
* | cegcc
*)
8698 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8699 # as there is no search path for DLLs.
8700 hardcode_libdir_flag_spec
='-L$libdir'
8701 allow_undefined_flag
=unsupported
8702 always_export_symbols
=no
8703 enable_shared_with_static_runtimes
=yes
8704 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8706 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8707 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8708 # If the export-symbols file already is a .def file (1st line
8709 # is EXPORTS), use it as is; otherwise, prepend...
8710 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8711 cp $export_symbols $output_objdir/$soname.def;
8713 echo EXPORTS > $output_objdir/$soname.def;
8714 cat $export_symbols >> $output_objdir/$soname.def;
8716 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8724 hardcode_shlibpath_var
=no
8725 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8726 export_dynamic_flag_spec
='${wl}-E'
8727 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8728 # Instead, shared libraries are loaded at an image base (0x10000000 by
8729 # default) and relocated if they conflict, which is a slow very memory
8730 # consuming and fragmenting process. To avoid this, we pick a random,
8731 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8732 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8733 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8734 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'
8737 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8739 if test "$host_os" = linux-dietlibc
; then
8740 case $cc_basename in
8741 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8744 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8745 && test "$tmp_diet" = no
8748 tmp_sharedflag
='-shared'
8749 case $cc_basename,$host_cpu in
8750 pgcc
*) # Portland Group C compiler
8751 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'
8752 tmp_addflag
=' $pic_flag'
8754 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8755 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'
8756 tmp_addflag
=' $pic_flag -Mnomain' ;;
8757 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8758 tmp_addflag
=' -i_dynamic' ;;
8759 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8760 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8761 ifc
* | ifort
*) # Intel Fortran compiler
8762 tmp_addflag
=' -nofor_main' ;;
8763 lf95
*) # Lahey Fortran 8.1
8764 whole_archive_flag_spec
=
8765 tmp_sharedflag
='--shared' ;;
8766 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8767 tmp_sharedflag
='-qmkshrobj'
8770 case `$CC -V 2>&1 | sed 5q` in
8771 *Sun\ C
*) # Sun C 5.9
8772 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'
8773 compiler_needs_object
=yes
8774 tmp_sharedflag
='-G' ;;
8775 *Sun\ F
*) # Sun Fortran 8.3
8776 tmp_sharedflag
='-G' ;;
8778 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8780 if test "x$supports_anon_versioning" = xyes
; then
8781 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8782 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8783 echo "local: *; };" >> $output_objdir/$libname.ver~
8784 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8787 case $cc_basename in
8789 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8790 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8791 hardcode_libdir_flag_spec
=
8792 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8793 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8794 if test "x$supports_anon_versioning" = xyes
; then
8795 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8796 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8797 echo "local: *; };" >> $output_objdir/$libname.ver~
8798 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8808 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8809 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8812 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8813 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8818 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8822 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8823 *** create shared libraries on Solaris systems. Therefore, libtool
8824 *** is disabling shared libraries support. We urge you to upgrade GNU
8825 *** binutils to release 2.9.1 or newer. Another option is to modify
8826 *** your PATH or compiler configuration so that the native linker is
8827 *** used, and then restart.
8830 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8831 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8832 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8838 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8839 case `$LD -v 2>&1` in
8840 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8844 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8845 *** reliably create shared libraries on SCO systems. Therefore, libtool
8846 *** is disabling shared libraries support. We urge you to upgrade GNU
8847 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8848 *** your PATH or compiler configuration so that the native linker is
8849 *** used, and then restart.
8854 # For security reasons, it is highly recommended that you always
8855 # use absolute paths for naming shared libraries, and exclude the
8856 # DT_RUNPATH tag from executables and libraries. But doing so
8857 # requires that you compile everything twice, which is a pain.
8858 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8859 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8860 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8861 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8870 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8873 hardcode_shlibpath_var
=no
8877 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8878 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8879 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8886 if test "$ld_shlibs" = no
; then
8888 hardcode_libdir_flag_spec
=
8889 export_dynamic_flag_spec
=
8890 whole_archive_flag_spec
=
8893 # PORTME fill in a description of your system's linker (not GNU ld)
8896 allow_undefined_flag
=unsupported
8897 always_export_symbols
=yes
8898 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'
8899 # Note: this linker hardcodes the directories in LIBPATH if there
8900 # are no directories specified by -L.
8901 hardcode_minus_L
=yes
8902 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8903 # Neither direct hardcoding nor static linking is supported with a
8905 hardcode_direct
=unsupported
8910 if test "$host_cpu" = ia64
; then
8911 # On IA64, the linker does run time linking by default, so we don't
8912 # have to do anything special.
8913 aix_use_runtimelinking
=no
8914 exp_sym_flag
='-Bexport'
8917 # If we're using GNU nm, then we don't want the "-C" option.
8918 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8919 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8920 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'
8922 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'
8924 aix_use_runtimelinking
=no
8926 # Test if we are trying to use run time linking or normal
8927 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8928 # need to do runtime linking.
8929 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8930 for ld_flag
in $LDFLAGS; do
8931 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8932 aix_use_runtimelinking
=yes
8939 exp_sym_flag
='-bexport'
8940 no_entry_flag
='-bnoentry'
8943 # When large executables or shared objects are built, AIX ld can
8944 # have problems creating the table of contents. If linking a library
8945 # or program results in "error TOC overflow" add -mminimal-toc to
8946 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8947 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8951 hardcode_direct_absolute
=yes
8952 hardcode_libdir_separator
=':'
8953 link_all_deplibs
=yes
8954 file_list_spec
='${wl}-f,'
8956 if test "$GCC" = yes; then
8957 case $host_os in aix4.
[012]|aix4.
[012].
*)
8958 # We only want to do this on AIX 4.2 and lower, the check
8959 # below for broken collect2 doesn't work under 4.3+
8960 collect2name
=`${CC} -print-prog-name=collect2`
8961 if test -f "$collect2name" &&
8962 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8964 # We have reworked collect2
8967 # We have old collect2
8968 hardcode_direct
=unsupported
8969 # It fails to find uninstalled libraries when the uninstalled
8970 # path is not listed in the libpath. Setting hardcode_minus_L
8971 # to unsupported forces relinking
8972 hardcode_minus_L
=yes
8973 hardcode_libdir_flag_spec
='-L$libdir'
8974 hardcode_libdir_separator
=
8978 shared_flag
='-shared'
8979 if test "$aix_use_runtimelinking" = yes; then
8980 shared_flag
="$shared_flag "'${wl}-G'
8984 if test "$host_cpu" = ia64
; then
8985 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8986 # chokes on -Wl,-G. The following line is correct:
8989 if test "$aix_use_runtimelinking" = yes; then
8990 shared_flag
='${wl}-G'
8992 shared_flag
='${wl}-bM:SRE'
8997 export_dynamic_flag_spec
='${wl}-bexpall'
8998 # It seems that -bexpall does not export symbols beginning with
8999 # underscore (_), so it is better to generate a list of symbols to export.
9000 always_export_symbols
=yes
9001 if test "$aix_use_runtimelinking" = yes; then
9002 # Warning - without using the other runtime loading flags (-brtl),
9003 # -berok will link without error, but may produce a broken library.
9004 allow_undefined_flag
='-berok'
9005 # Determine the default libpath from the value encoded in an
9007 cat >conftest.
$ac_ext <<_ACEOF
9010 cat confdefs.h
>>conftest.
$ac_ext
9011 cat >>conftest.
$ac_ext <<_ACEOF
9012 /* end confdefs.h. */
9022 rm -f conftest.
$ac_objext conftest
$ac_exeext
9023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9024 (eval $ac_link) 2>conftest.er1
9026 grep -v '^ *+' conftest.er1
>conftest.err
9028 cat conftest.err
>&5
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); } &&
9031 { ac_try
='test -z "$ac_c_werror_flag"
9032 || test ! -s conftest.err'
9033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 (exit $ac_status); }; } &&
9038 { ac_try
='test -s conftest$ac_exeext'
9039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); }; }; then
9045 lt_aix_libpath_sed
='
9046 /Import File Strings/,/^$/ {
9052 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9053 # Check for a 64-bit object if we didn't find anything.
9054 if test -z "$aix_libpath"; then
9055 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9058 echo "$as_me: failed program was:" >&5
9059 sed 's/^/| /' conftest.
$ac_ext >&5
9062 rm -f conftest.err conftest.
$ac_objext \
9063 conftest
$ac_exeext conftest.
$ac_ext
9064 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9066 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9067 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"
9069 if test "$host_cpu" = ia64
; then
9070 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9071 allow_undefined_flag
="-z nodefs"
9072 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"
9074 # Determine the default libpath from the value encoded in an
9076 cat >conftest.
$ac_ext <<_ACEOF
9079 cat confdefs.h
>>conftest.
$ac_ext
9080 cat >>conftest.
$ac_ext <<_ACEOF
9081 /* end confdefs.h. */
9091 rm -f conftest.
$ac_objext conftest
$ac_exeext
9092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9093 (eval $ac_link) 2>conftest.er1
9095 grep -v '^ *+' conftest.er1
>conftest.err
9097 cat conftest.err
>&5
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); } &&
9100 { ac_try
='test -z "$ac_c_werror_flag"
9101 || test ! -s conftest.err'
9102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106 (exit $ac_status); }; } &&
9107 { ac_try
='test -s conftest$ac_exeext'
9108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); }; }; then
9114 lt_aix_libpath_sed
='
9115 /Import File Strings/,/^$/ {
9121 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9122 # Check for a 64-bit object if we didn't find anything.
9123 if test -z "$aix_libpath"; then
9124 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9127 echo "$as_me: failed program was:" >&5
9128 sed 's/^/| /' conftest.
$ac_ext >&5
9131 rm -f conftest.err conftest.
$ac_objext \
9132 conftest
$ac_exeext conftest.
$ac_ext
9133 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9135 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9136 # Warning - without using the other run time loading flags,
9137 # -berok will link without error, but may produce a broken library.
9138 no_undefined_flag
=' ${wl}-bernotok'
9139 allow_undefined_flag
=' ${wl}-berok'
9140 # Exported symbols can be pulled into shared objects from archives
9141 whole_archive_flag_spec
='$convenience'
9142 archive_cmds_need_lc
=yes
9143 # This is similar to how AIX traditionally builds its shared libraries.
9144 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'
9152 # see comment about AmigaOS4 .so support
9153 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9154 archive_expsym_cmds
=''
9157 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)'
9158 hardcode_libdir_flag_spec
='-L$libdir'
9159 hardcode_minus_L
=yes
9165 export_dynamic_flag_spec
=-rdynamic
9168 cygwin
* | mingw
* | pw32
* | cegcc
*)
9169 # When not using gcc, we currently assume that we are using
9170 # Microsoft Visual C++.
9171 # hardcode_libdir_flag_spec is actually meaningless, as there is
9172 # no search path for DLLs.
9173 hardcode_libdir_flag_spec
=' '
9174 allow_undefined_flag
=unsupported
9175 # Tell ltmain to make .lib files, not .a files.
9177 # Tell ltmain to make .dll files, not .so files.
9179 # FIXME: Setting linknames here is a bad hack.
9180 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9181 # The linker will automatically build a .lib file if we build a DLL.
9182 old_archive_from_new_cmds
='true'
9183 # FIXME: Should let the user specify the lib program.
9184 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9185 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9186 enable_shared_with_static_runtimes
=yes
9189 darwin
* | rhapsody
*)
9192 archive_cmds_need_lc
=no
9194 hardcode_automatic
=yes
9195 hardcode_shlibpath_var
=unsupported
9196 whole_archive_flag_spec
=''
9197 link_all_deplibs
=yes
9198 allow_undefined_flag
="$_lt_dar_allow_undefined"
9199 case $cc_basename in
9200 ifort
*) _lt_dar_can_shared
=yes ;;
9201 *) _lt_dar_can_shared
=$GCC ;;
9203 if test "$_lt_dar_can_shared" = "yes"; then
9204 output_verbose_link_cmd
=echo
9205 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9206 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9207 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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9208 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9217 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9218 hardcode_libdir_flag_spec
='-L$libdir'
9219 hardcode_shlibpath_var
=no
9226 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9227 # support. Future versions do this automatically, but an explicit c++rt0.o
9228 # does not break anything, and helps significantly (at the cost of a little
9231 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9232 hardcode_libdir_flag_spec
='-R$libdir'
9234 hardcode_shlibpath_var
=no
9237 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9239 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9241 hardcode_minus_L
=yes
9242 hardcode_shlibpath_var
=no
9245 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9246 freebsd
* | dragonfly
*)
9247 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9248 hardcode_libdir_flag_spec
='-R$libdir'
9250 hardcode_shlibpath_var
=no
9254 if test "$GCC" = yes; then
9255 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'
9257 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'
9259 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9260 hardcode_libdir_separator
=:
9263 # hardcode_minus_L: Not really in the search PATH,
9264 # but as the default location of the library.
9265 hardcode_minus_L
=yes
9266 export_dynamic_flag_spec
='${wl}-E'
9270 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9271 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9273 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9275 if test "$with_gnu_ld" = no
; then
9276 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9277 hardcode_libdir_flag_spec_ld
='+b $libdir'
9278 hardcode_libdir_separator
=:
9280 hardcode_direct_absolute
=yes
9281 export_dynamic_flag_spec
='${wl}-E'
9282 # hardcode_minus_L: Not really in the search PATH,
9283 # but as the default location of the library.
9284 hardcode_minus_L
=yes
9289 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9292 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9295 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9298 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9304 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9307 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9310 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9314 if test "$with_gnu_ld" = no
; then
9315 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9316 hardcode_libdir_separator
=:
9321 hardcode_shlibpath_var
=no
9325 hardcode_direct_absolute
=yes
9326 export_dynamic_flag_spec
='${wl}-E'
9328 # hardcode_minus_L: Not really in the search PATH,
9329 # but as the default location of the library.
9330 hardcode_minus_L
=yes
9336 irix5
* | irix6
* | nonstopux
*)
9337 if test "$GCC" = yes; then
9338 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'
9339 # Try to use the -exported_symbol ld option, if it does not
9340 # work, assume that -exports_file does not work either and
9341 # implicitly export all symbols.
9342 save_LDFLAGS
="$LDFLAGS"
9343 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9344 cat >conftest.
$ac_ext <<_ACEOF
9347 rm -f conftest.
$ac_objext conftest
$ac_exeext
9348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9349 (eval $ac_link) 2>conftest.er1
9351 grep -v '^ *+' conftest.er1
>conftest.err
9353 cat conftest.err
>&5
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); } &&
9356 { ac_try
='test -z "$ac_c_werror_flag"
9357 || test ! -s conftest.err'
9358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); }; } &&
9363 { ac_try
='test -s conftest$ac_exeext'
9364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); }; }; then
9369 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'
9372 echo "$as_me: failed program was:" >&5
9373 sed 's/^/| /' conftest.
$ac_ext >&5
9376 rm -f conftest.err conftest.
$ac_objext \
9377 conftest
$ac_exeext conftest.
$ac_ext
9378 LDFLAGS
="$save_LDFLAGS"
9380 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'
9381 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'
9383 archive_cmds_need_lc
='no'
9384 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9385 hardcode_libdir_separator
=:
9387 link_all_deplibs
=yes
9391 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9392 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9394 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9396 hardcode_libdir_flag_spec
='-R$libdir'
9398 hardcode_shlibpath_var
=no
9402 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9404 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9405 hardcode_libdir_separator
=:
9406 hardcode_shlibpath_var
=no
9413 if test -f /usr
/libexec
/ld.so
; then
9415 hardcode_shlibpath_var
=no
9416 hardcode_direct_absolute
=yes
9417 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9418 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9419 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9420 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9421 export_dynamic_flag_spec
='${wl}-E'
9424 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9425 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9426 hardcode_libdir_flag_spec
='-R$libdir'
9429 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9430 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9440 hardcode_libdir_flag_spec
='-L$libdir'
9441 hardcode_minus_L
=yes
9442 allow_undefined_flag
=unsupported
9443 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'
9444 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9448 if test "$GCC" = yes; then
9449 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9450 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'
9452 allow_undefined_flag
=' -expect_unresolved \*'
9453 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'
9455 archive_cmds_need_lc
='no'
9456 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9457 hardcode_libdir_separator
=:
9460 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9461 if test "$GCC" = yes; then
9462 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9463 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'
9464 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9466 allow_undefined_flag
=' -expect_unresolved \*'
9467 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'
9468 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~
9469 $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'
9471 # Both c and cxx compiler support -rpath directly
9472 hardcode_libdir_flag_spec
='-rpath $libdir'
9474 archive_cmds_need_lc
='no'
9475 hardcode_libdir_separator
=:
9479 no_undefined_flag
=' -z defs'
9480 if test "$GCC" = yes; then
9482 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9483 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9484 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9486 case `$CC -V 2>&1` in
9489 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9490 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9491 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9495 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9496 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9497 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9501 hardcode_libdir_flag_spec
='-R$libdir'
9502 hardcode_shlibpath_var
=no
9504 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9506 # The compiler driver will combine and reorder linker options,
9507 # but understands `-z linker_flag'. GCC discards it without `$wl',
9508 # but is careful enough not to reorder.
9509 # Supported since Solaris 2.6 (maybe 2.5.1?)
9510 if test "$GCC" = yes; then
9511 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9513 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9517 link_all_deplibs
=yes
9521 if test "x$host_vendor" = xsequent
; then
9522 # Use $CC to link under sequent, because it throws in some extra .o
9523 # files that make .init and .fini sections work.
9524 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9526 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9528 hardcode_libdir_flag_spec
='-L$libdir'
9530 hardcode_minus_L
=yes
9531 hardcode_shlibpath_var
=no
9535 case $host_vendor in
9537 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9538 hardcode_direct
=yes # is this really true???
9541 ## LD is ld it makes a PLAMLIB
9542 ## CC just makes a GrossModule.
9543 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9544 reload_cmds
='$CC -r -o $output$reload_objs'
9548 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9549 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9552 runpath_var
='LD_RUN_PATH'
9553 hardcode_shlibpath_var
=no
9557 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9558 hardcode_shlibpath_var
=no
9559 export_dynamic_flag_spec
='-Bexport'
9563 if test -d /usr
/nec
; then
9564 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9565 hardcode_shlibpath_var
=no
9566 runpath_var
=LD_RUN_PATH
9567 hardcode_runpath_var
=yes
9572 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9573 no_undefined_flag
='${wl}-z,text'
9574 archive_cmds_need_lc
=no
9575 hardcode_shlibpath_var
=no
9576 runpath_var
='LD_RUN_PATH'
9578 if test "$GCC" = yes; then
9579 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9582 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9583 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9587 sysv5
* | sco3.2v5
* | sco5v6
*)
9588 # Note: We can NOT use -z defs as we might desire, because we do not
9589 # link with -lc, and that would cause any symbols used from libc to
9590 # always be unresolved, which means just about no library would
9591 # ever link correctly. If we're not using GNU ld we use -z text
9592 # though, which does catch some bad symbols but isn't as heavy-handed
9594 no_undefined_flag
='${wl}-z,text'
9595 allow_undefined_flag
='${wl}-z,nodefs'
9596 archive_cmds_need_lc
=no
9597 hardcode_shlibpath_var
=no
9598 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9599 hardcode_libdir_separator
=':'
9600 link_all_deplibs
=yes
9601 export_dynamic_flag_spec
='${wl}-Bexport'
9602 runpath_var
='LD_RUN_PATH'
9604 if test "$GCC" = yes; then
9605 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9606 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9608 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9609 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9614 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9615 hardcode_libdir_flag_spec
='-L$libdir'
9616 hardcode_shlibpath_var
=no
9624 if test x
$host_vendor = xsni
; then
9626 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9627 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9633 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9634 echo "${ECHO_T}$ld_shlibs" >&6
9635 test "$ld_shlibs" = no
&& can_build_shared
=no
9637 with_gnu_ld
=$with_gnu_ld
9654 # Do we need to explicitly link libc?
9656 case "x$archive_cmds_need_lc" in
9658 # Assume -lc should be added
9659 archive_cmds_need_lc
=yes
9661 if test "$enable_shared" = yes && test "$GCC" = yes; then
9662 case $archive_cmds in
9664 # FIXME: we may have to deal with multi-command sequences.
9667 # Test whether the compiler implicitly links with -lc since on some
9668 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9669 # to ld, don't add -lc before -lgcc.
9670 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9671 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9672 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9673 echo $ECHO_N "(cached) $ECHO_C" >&6
9676 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9679 (eval $ac_compile) 2>&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } 2>conftest.err
; then
9685 libobjs
=conftest.
$ac_objext
9687 wl
=$lt_prog_compiler_wl
9688 pic_flag
=$lt_prog_compiler_pic
9694 lt_save_allow_undefined_flag
=$allow_undefined_flag
9695 allow_undefined_flag
=
9696 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9697 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); }
9702 lt_cv_archive_cmds_need_lc
=no
9704 lt_cv_archive_cmds_need_lc
=yes
9706 allow_undefined_flag
=$lt_save_allow_undefined_flag
9708 cat conftest.err
1>&5
9713 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9714 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9715 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9878 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9879 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9881 if test "$GCC" = yes; then
9883 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9884 *) lt_awk_arg
="/^libraries:/" ;;
9886 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9887 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9888 # if the path contains ";" then we assume it to be the separator
9889 # otherwise default to the standard path separator (i.e. ":") - it is
9890 # assumed that no part of a normal pathname contains ";" but that should
9891 # okay in the real world where ";" in dirpaths is itself problematic.
9892 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9894 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9896 # Ok, now we have the path, separated by spaces, we can step through it
9897 # and add multilib dir if necessary.
9898 lt_tmp_lt_search_path_spec
=
9899 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9900 for lt_sys_path
in $lt_search_path_spec; do
9901 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9902 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9904 test -d "$lt_sys_path" && \
9905 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9908 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9909 BEGIN {RS=" "; FS="/|\n";} {
9912 for (lt_i = NF; lt_i > 0; lt_i--) {
9913 if ($lt_i != "" && $lt_i != ".") {
9914 if ($lt_i == "..") {
9917 if (lt_count == 0) {
9918 lt_foo="/" $lt_i lt_foo;
9925 if (lt_foo != "") { lt_freq[lt_foo]++; }
9926 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9928 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9930 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9933 libname_spec
='lib$name'
9941 shlibpath_overrides_runpath
=unknown
9943 dynamic_linker
="$host_os ld.so"
9944 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9945 need_lib_prefix
=unknown
9946 hardcode_into_libs
=no
9948 # when you set need_version to no, make sure it does not cause -set_version
9949 # flags to be left without arguments
9950 need_version
=unknown
9955 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9956 shlibpath_var
=LIBPATH
9958 # AIX 3 has no versioning support, so we append a major version to the name.
9959 soname_spec
='${libname}${release}${shared_ext}$major'
9966 hardcode_into_libs
=yes
9967 if test "$host_cpu" = ia64
; then
9968 # AIX 5 supports IA64
9969 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9970 shlibpath_var
=LD_LIBRARY_PATH
9972 # With GCC up to 2.95.x, collect2 would create an import file
9973 # for dependence libraries. The import file would start with
9974 # the line `#! .'. This would cause the generated library to
9975 # depend on `.', always an invalid library. This was fixed in
9976 # development snapshots of GCC prior to 3.0.
9978 aix4 | aix4.
[01] | aix4.
[01].
*)
9979 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9981 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9988 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9989 # soname into executable. Probably we can add versioning support to
9990 # collect2, so additional links can be useful in future.
9991 if test "$aix_use_runtimelinking" = yes; then
9992 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9993 # instead of lib<name>.a to let people know that these are not
9994 # typical AIX shared libraries.
9995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9997 # We preserve .a as extension for shared libraries through AIX4.2
9998 # and later when we are not doing run time linking.
9999 library_names_spec
='${libname}${release}.a $libname.a'
10000 soname_spec
='${libname}${release}${shared_ext}$major'
10002 shlibpath_var
=LIBPATH
10009 # Since July 2007 AmigaOS4 officially supports .so libraries.
10010 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10014 library_names_spec
='$libname.ixlibrary $libname.a'
10015 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10016 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'
10022 library_names_spec
='${libname}${shared_ext}'
10023 dynamic_linker
="$host_os ld.so"
10024 shlibpath_var
=LIBRARY_PATH
10030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10031 soname_spec
='${libname}${release}${shared_ext}$major'
10032 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10033 shlibpath_var
=LD_LIBRARY_PATH
10034 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10035 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10036 # the default ld.so.conf also contains /usr/contrib/lib and
10037 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10038 # libtool to hard-code these into programs
10041 cygwin
* | mingw
* | pw32
* | cegcc
*)
10042 version_type
=windows
10047 case $GCC,$host_os in
10048 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10049 library_names_spec
='$libname.dll.a'
10050 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10051 postinstall_cmds
='base_file=`basename \${file}`~
10052 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10053 dldir=$destdir/`dirname \$dlpath`~
10054 test -d \$dldir || mkdir -p \$dldir~
10055 $install_prog $dir/$dlname \$dldir/$dlname~
10056 chmod a+x \$dldir/$dlname~
10057 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10058 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10060 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10061 dlpath=$dir/\$dldll~
10063 shlibpath_overrides_runpath
=yes
10067 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10068 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10069 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10072 # MinGW DLLs use traditional 'lib' prefix
10073 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10074 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10075 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10076 # It is most probably a Windows format PATH printed by
10077 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10078 # path with ; separators, and with drive letters. We can handle the
10079 # drive letters (cygwin fileutils understands them), so leave them,
10080 # especially as we might pass files found there to a mingw objdump,
10081 # which wouldn't understand a cygwinified path. Ahh.
10082 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10084 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10088 # pw32 DLLs use 'pw' prefix rather than 'lib'
10089 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10095 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10098 dynamic_linker
='Win32 ld.exe'
10099 # FIXME: first we should search . and the directory the executable is in
10103 darwin
* | rhapsody
*)
10104 dynamic_linker
="$host_os dyld"
10105 version_type
=darwin
10108 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10109 soname_spec
='${libname}${release}${major}$shared_ext'
10110 shlibpath_overrides_runpath
=yes
10111 shlibpath_var
=DYLD_LIBRARY_PATH
10112 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10114 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10115 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10123 soname_spec
='${libname}${release}${shared_ext}$major'
10124 shlibpath_var
=LD_LIBRARY_PATH
10131 freebsd
* | dragonfly
*)
10132 # DragonFly does not have aout. When/if they implement a new
10133 # versioning mechanism, adjust this.
10134 if test -x /usr
/bin
/objformat
; then
10135 objformat
=`/usr/bin/objformat`
10138 freebsd
[123]*) objformat
=aout
;;
10139 *) objformat
=elf
;;
10142 version_type
=freebsd-
$objformat
10143 case $version_type in
10145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10150 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10154 shlibpath_var
=LD_LIBRARY_PATH
10157 shlibpath_overrides_runpath
=yes
10159 freebsd3.
[01]* | freebsdelf3.
[01]*)
10160 shlibpath_overrides_runpath
=yes
10161 hardcode_into_libs
=yes
10163 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10164 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10165 shlibpath_overrides_runpath
=no
10166 hardcode_into_libs
=yes
10168 *) # from 4.6 on, and DragonFly
10169 shlibpath_overrides_runpath
=yes
10170 hardcode_into_libs
=yes
10179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10180 soname_spec
='${libname}${release}${shared_ext}$major'
10181 shlibpath_var
=LD_LIBRARY_PATH
10182 hardcode_into_libs
=yes
10185 hpux9
* | hpux10
* | hpux11
*)
10186 # Give a soname corresponding to the major version so that dld.sl refuses to
10187 # link against other versions.
10194 hardcode_into_libs
=yes
10195 dynamic_linker
="$host_os dld.so"
10196 shlibpath_var
=LD_LIBRARY_PATH
10197 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10199 soname_spec
='${libname}${release}${shared_ext}$major'
10200 if test "X$HPUX_IA64_MODE" = X32
; then
10201 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10203 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10205 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10209 hardcode_into_libs
=yes
10210 dynamic_linker
="$host_os dld.sl"
10211 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10212 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10214 soname_spec
='${libname}${release}${shared_ext}$major'
10215 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10216 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10220 dynamic_linker
="$host_os dld.sl"
10221 shlibpath_var
=SHLIB_PATH
10222 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10224 soname_spec
='${libname}${release}${shared_ext}$major'
10227 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10228 postinstall_cmds
='chmod 555 $lib'
10235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10236 soname_spec
='${libname}${release}${shared_ext}$major'
10237 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10238 shlibpath_var
=LD_LIBRARY_PATH
10239 shlibpath_overrides_runpath
=no
10240 hardcode_into_libs
=yes
10243 irix5
* | irix6
* | nonstopux
*)
10245 nonstopux
*) version_type
=nonstopux
;;
10247 if test "$lt_cv_prog_gnu_ld" = yes; then
10255 soname_spec
='${libname}${release}${shared_ext}$major'
10256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10258 irix5
* | nonstopux
*)
10259 libsuff
= shlibsuff
=
10262 case $LD in # libtool.m4 will add one of these switches to LD
10263 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10264 libsuff
= shlibsuff
= libmagic
=32-bit;;
10265 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10266 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10267 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10268 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10269 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10273 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10274 shlibpath_overrides_runpath
=no
10275 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10276 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10277 hardcode_into_libs
=yes
10280 # No shared lib support for Linux oldld, aout, or coff.
10281 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10285 # This must be Linux ELF.
10286 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10291 soname_spec
='${libname}${release}${shared_ext}$major'
10292 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10293 shlibpath_var
=LD_LIBRARY_PATH
10294 shlibpath_overrides_runpath
=no
10296 # Some binutils ld are patched to set DT_RUNPATH
10297 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10298 echo $ECHO_N "(cached) $ECHO_C" >&6
10300 lt_cv_shlibpath_overrides_runpath
=no
10301 save_LDFLAGS
=$LDFLAGS
10302 save_libdir
=$libdir
10303 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10304 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10305 cat >conftest.
$ac_ext <<_ACEOF
10308 cat confdefs.h
>>conftest.
$ac_ext
10309 cat >>conftest.
$ac_ext <<_ACEOF
10310 /* end confdefs.h. */
10320 rm -f conftest.
$ac_objext conftest
$ac_exeext
10321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10322 (eval $ac_link) 2>conftest.er1
10324 grep -v '^ *+' conftest.er1
>conftest.err
10326 cat conftest.err
>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); } &&
10329 { ac_try
='test -z "$ac_c_werror_flag"
10330 || test ! -s conftest.err'
10331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10332 (eval $ac_try) 2>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); }; } &&
10336 { ac_try
='test -s conftest$ac_exeext'
10337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }; }; then
10342 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
10343 lt_cv_shlibpath_overrides_runpath
=yes
10347 echo "$as_me: failed program was:" >&5
10348 sed 's/^/| /' conftest.
$ac_ext >&5
10351 rm -f conftest.err conftest.
$ac_objext \
10352 conftest
$ac_exeext conftest.
$ac_ext
10353 LDFLAGS
=$save_LDFLAGS
10354 libdir
=$save_libdir
10358 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10360 # This implies no fast_install, which is unacceptable.
10361 # Some rework will be needed to allow for fast_install
10362 # before this can be enabled.
10363 hardcode_into_libs
=yes
10365 # Append ld.so.conf contents to the search path
10366 if test -f /etc
/ld.so.conf
; then
10367 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10368 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10371 # We used to test for /lib/ld.so.1 and disable shared libraries on
10372 # powerpc, because MkLinux only supported shared libraries with the
10373 # GNU dynamic linker. Since this was broken with cross compilers,
10374 # most powerpc-linux boxes support dynamic linking these days and
10375 # people can always --disable-shared, the test was removed, and we
10376 # assume the GNU/Linux dynamic linker is in use.
10377 dynamic_linker
='GNU/Linux ld.so'
10384 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10386 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10387 dynamic_linker
='NetBSD (a.out) ld.so'
10389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10390 soname_spec
='${libname}${release}${shared_ext}$major'
10391 dynamic_linker
='NetBSD ld.elf_so'
10393 shlibpath_var
=LD_LIBRARY_PATH
10394 shlibpath_overrides_runpath
=yes
10395 hardcode_into_libs
=yes
10400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10401 shlibpath_var
=LD_LIBRARY_PATH
10402 shlibpath_overrides_runpath
=yes
10409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10410 soname_spec
='${libname}${release}${shared_ext}$major'
10411 shlibpath_var
=LD_LIBRARY_PATH
10412 shlibpath_overrides_runpath
=no
10413 hardcode_into_libs
=yes
10414 dynamic_linker
='ldqnx.so'
10419 sys_lib_dlsearch_path_spec
="/usr/lib"
10421 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10423 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10424 *) need_version
=no
;;
10426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10427 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10428 shlibpath_var
=LD_LIBRARY_PATH
10429 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10431 openbsd2.
[89] | openbsd2.
[89].
*)
10432 shlibpath_overrides_runpath
=no
10435 shlibpath_overrides_runpath
=yes
10439 shlibpath_overrides_runpath
=yes
10444 libname_spec
='$name'
10447 library_names_spec
='$libname${shared_ext} $libname.a'
10448 dynamic_linker
='OS/2 ld.exe'
10449 shlibpath_var
=LIBPATH
10452 osf3
* | osf4
* | osf5
*)
10456 soname_spec
='${libname}${release}${shared_ext}$major'
10457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10458 shlibpath_var
=LD_LIBRARY_PATH
10459 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10460 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10472 soname_spec
='${libname}${release}${shared_ext}$major'
10473 shlibpath_var
=LD_LIBRARY_PATH
10474 shlibpath_overrides_runpath
=yes
10475 hardcode_into_libs
=yes
10476 # ldd complains unless libraries are executable
10477 postinstall_cmds
='chmod +x $lib'
10482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10483 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10484 shlibpath_var
=LD_LIBRARY_PATH
10485 shlibpath_overrides_runpath
=yes
10486 if test "$with_gnu_ld" = yes; then
10494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10495 soname_spec
='${libname}${release}${shared_ext}$major'
10496 shlibpath_var
=LD_LIBRARY_PATH
10497 case $host_vendor in
10499 shlibpath_overrides_runpath
=no
10501 runpath_var
=LD_RUN_PATH
10509 shlibpath_overrides_runpath
=no
10510 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10516 if test -d /usr
/nec
;then
10518 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10519 soname_spec
='$libname${shared_ext}.$major'
10520 shlibpath_var
=LD_LIBRARY_PATH
10524 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10525 version_type
=freebsd-elf
10528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10529 soname_spec
='${libname}${release}${shared_ext}$major'
10530 shlibpath_var
=LD_LIBRARY_PATH
10531 shlibpath_overrides_runpath
=yes
10532 hardcode_into_libs
=yes
10533 if test "$with_gnu_ld" = yes; then
10534 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10536 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10539 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10543 sys_lib_dlsearch_path_spec
='/usr/lib'
10547 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10552 shlibpath_var
=LD_LIBRARY_PATH
10553 shlibpath_overrides_runpath
=no
10554 hardcode_into_libs
=yes
10559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10560 soname_spec
='${libname}${release}${shared_ext}$major'
10561 shlibpath_var
=LD_LIBRARY_PATH
10568 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10569 echo "${ECHO_T}$dynamic_linker" >&6
10570 test "$dynamic_linker" = no
&& can_build_shared
=no
10572 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10573 if test "$GCC" = yes; then
10574 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10577 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10578 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10580 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10581 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10670 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10671 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10673 if test -n "$hardcode_libdir_flag_spec" ||
10674 test -n "$runpath_var" ||
10675 test "X$hardcode_automatic" = "Xyes" ; then
10677 # We can hardcode non-existent directories.
10678 if test "$hardcode_direct" != no
&&
10679 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10680 # have to relink, otherwise we might link with an installed library
10681 # when we should be linking with a yet-to-be-installed one
10682 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10683 test "$hardcode_minus_L" != no
; then
10684 # Linking always hardcodes the temporary library directory.
10685 hardcode_action
=relink
10687 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10688 hardcode_action
=immediate
10691 # We cannot hardcode anything, or else we can only hardcode existing
10693 hardcode_action
=unsupported
10695 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10696 echo "${ECHO_T}$hardcode_action" >&6
10698 if test "$hardcode_action" = relink ||
10699 test "$inherit_rpath" = yes; then
10700 # Fast installation is not supported
10701 enable_fast_install
=no
10702 elif test "$shlibpath_overrides_runpath" = yes ||
10703 test "$enable_shared" = no
; then
10704 # Fast installation is not necessary
10705 enable_fast_install
=needless
10713 if test "x$enable_dlopen" != xyes
; then
10714 enable_dlopen
=unknown
10715 enable_dlopen_self
=unknown
10716 enable_dlopen_self_static
=unknown
10723 lt_cv_dlopen
="load_add_on"
10725 lt_cv_dlopen_self
=yes
10728 mingw
* | pw32
* | cegcc
*)
10729 lt_cv_dlopen
="LoadLibrary"
10734 lt_cv_dlopen
="dlopen"
10739 # if libdl is installed we need to link against it
10740 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10741 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10742 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10743 echo $ECHO_N "(cached) $ECHO_C" >&6
10745 ac_check_lib_save_LIBS
=$LIBS
10747 cat >conftest.
$ac_ext <<_ACEOF
10750 cat confdefs.h
>>conftest.
$ac_ext
10751 cat >>conftest.
$ac_ext <<_ACEOF
10752 /* end confdefs.h. */
10754 /* Override any gcc2 internal prototype to avoid an error. */
10758 /* We use char because int might match the return type of a gcc2
10759 builtin and then its argument prototype would still apply. */
10769 rm -f conftest.
$ac_objext conftest
$ac_exeext
10770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10771 (eval $ac_link) 2>conftest.er1
10773 grep -v '^ *+' conftest.er1
>conftest.err
10775 cat conftest.err
>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); } &&
10778 { ac_try
='test -z "$ac_c_werror_flag"
10779 || test ! -s conftest.err'
10780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10781 (eval $ac_try) 2>&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); }; } &&
10785 { ac_try
='test -s conftest$ac_exeext'
10786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; }; then
10791 ac_cv_lib_dl_dlopen
=yes
10793 echo "$as_me: failed program was:" >&5
10794 sed 's/^/| /' conftest.
$ac_ext >&5
10796 ac_cv_lib_dl_dlopen
=no
10798 rm -f conftest.err conftest.
$ac_objext \
10799 conftest
$ac_exeext conftest.
$ac_ext
10800 LIBS
=$ac_check_lib_save_LIBS
10802 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10803 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10804 if test $ac_cv_lib_dl_dlopen = yes; then
10805 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10808 lt_cv_dlopen
="dyld"
10810 lt_cv_dlopen_self
=yes
10817 echo "$as_me:$LINENO: checking for shl_load" >&5
10818 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10819 if test "${ac_cv_func_shl_load+set}" = set; then
10820 echo $ECHO_N "(cached) $ECHO_C" >&6
10822 cat >conftest.
$ac_ext <<_ACEOF
10825 cat confdefs.h
>>conftest.
$ac_ext
10826 cat >>conftest.
$ac_ext <<_ACEOF
10827 /* end confdefs.h. */
10828 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10830 #define shl_load innocuous_shl_load
10832 /* System header to define __stub macros and hopefully few prototypes,
10833 which can conflict with char shl_load (); below.
10834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10835 <limits.h> exists even on freestanding compilers. */
10838 # include <limits.h>
10840 # include <assert.h>
10845 /* Override any gcc2 internal prototype to avoid an error. */
10850 /* We use char because int might match the return type of a gcc2
10851 builtin and then its argument prototype would still apply. */
10853 /* The GNU C library defines this for functions which it implements
10854 to always fail with ENOSYS. Some functions are actually named
10855 something starting with __ and the normal name is an alias. */
10856 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10859 char (*f) () = shl_load;
10868 return f != shl_load;
10873 rm -f conftest.
$ac_objext conftest
$ac_exeext
10874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10875 (eval $ac_link) 2>conftest.er1
10877 grep -v '^ *+' conftest.er1
>conftest.err
10879 cat conftest.err
>&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } &&
10882 { ac_try
='test -z "$ac_c_werror_flag"
10883 || test ! -s conftest.err'
10884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10885 (eval $ac_try) 2>&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); }; } &&
10889 { ac_try
='test -s conftest$ac_exeext'
10890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10891 (eval $ac_try) 2>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); }; }; then
10895 ac_cv_func_shl_load
=yes
10897 echo "$as_me: failed program was:" >&5
10898 sed 's/^/| /' conftest.
$ac_ext >&5
10900 ac_cv_func_shl_load
=no
10902 rm -f conftest.err conftest.
$ac_objext \
10903 conftest
$ac_exeext conftest.
$ac_ext
10905 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10906 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10907 if test $ac_cv_func_shl_load = yes; then
10908 lt_cv_dlopen
="shl_load"
10910 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10911 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10912 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10913 echo $ECHO_N "(cached) $ECHO_C" >&6
10915 ac_check_lib_save_LIBS
=$LIBS
10917 cat >conftest.
$ac_ext <<_ACEOF
10920 cat confdefs.h
>>conftest.
$ac_ext
10921 cat >>conftest.
$ac_ext <<_ACEOF
10922 /* end confdefs.h. */
10924 /* Override any gcc2 internal prototype to avoid an error. */
10928 /* We use char because int might match the return type of a gcc2
10929 builtin and then its argument prototype would still apply. */
10939 rm -f conftest.
$ac_objext conftest
$ac_exeext
10940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10941 (eval $ac_link) 2>conftest.er1
10943 grep -v '^ *+' conftest.er1
>conftest.err
10945 cat conftest.err
>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } &&
10948 { ac_try
='test -z "$ac_c_werror_flag"
10949 || test ! -s conftest.err'
10950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10951 (eval $ac_try) 2>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); }; } &&
10955 { ac_try
='test -s conftest$ac_exeext'
10956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10957 (eval $ac_try) 2>&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); }; }; then
10961 ac_cv_lib_dld_shl_load
=yes
10963 echo "$as_me: failed program was:" >&5
10964 sed 's/^/| /' conftest.
$ac_ext >&5
10966 ac_cv_lib_dld_shl_load
=no
10968 rm -f conftest.err conftest.
$ac_objext \
10969 conftest
$ac_exeext conftest.
$ac_ext
10970 LIBS
=$ac_check_lib_save_LIBS
10972 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10973 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10974 if test $ac_cv_lib_dld_shl_load = yes; then
10975 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10977 echo "$as_me:$LINENO: checking for dlopen" >&5
10978 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10979 if test "${ac_cv_func_dlopen+set}" = set; then
10980 echo $ECHO_N "(cached) $ECHO_C" >&6
10982 cat >conftest.
$ac_ext <<_ACEOF
10985 cat confdefs.h
>>conftest.
$ac_ext
10986 cat >>conftest.
$ac_ext <<_ACEOF
10987 /* end confdefs.h. */
10988 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10990 #define dlopen innocuous_dlopen
10992 /* System header to define __stub macros and hopefully few prototypes,
10993 which can conflict with char dlopen (); below.
10994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10995 <limits.h> exists even on freestanding compilers. */
10998 # include <limits.h>
11000 # include <assert.h>
11005 /* Override any gcc2 internal prototype to avoid an error. */
11010 /* We use char because int might match the return type of a gcc2
11011 builtin and then its argument prototype would still apply. */
11013 /* The GNU C library defines this for functions which it implements
11014 to always fail with ENOSYS. Some functions are actually named
11015 something starting with __ and the normal name is an alias. */
11016 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11019 char (*f) () = dlopen;
11028 return f != dlopen;
11033 rm -f conftest.
$ac_objext conftest
$ac_exeext
11034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11035 (eval $ac_link) 2>conftest.er1
11037 grep -v '^ *+' conftest.er1
>conftest.err
11039 cat conftest.err
>&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); } &&
11042 { ac_try
='test -z "$ac_c_werror_flag"
11043 || test ! -s conftest.err'
11044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11045 (eval $ac_try) 2>&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); }; } &&
11049 { ac_try
='test -s conftest$ac_exeext'
11050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11051 (eval $ac_try) 2>&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); }; }; then
11055 ac_cv_func_dlopen
=yes
11057 echo "$as_me: failed program was:" >&5
11058 sed 's/^/| /' conftest.
$ac_ext >&5
11060 ac_cv_func_dlopen
=no
11062 rm -f conftest.err conftest.
$ac_objext \
11063 conftest
$ac_exeext conftest.
$ac_ext
11065 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11066 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11067 if test $ac_cv_func_dlopen = yes; then
11068 lt_cv_dlopen
="dlopen"
11070 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11071 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11072 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11073 echo $ECHO_N "(cached) $ECHO_C" >&6
11075 ac_check_lib_save_LIBS
=$LIBS
11077 cat >conftest.
$ac_ext <<_ACEOF
11080 cat confdefs.h
>>conftest.
$ac_ext
11081 cat >>conftest.
$ac_ext <<_ACEOF
11082 /* end confdefs.h. */
11084 /* Override any gcc2 internal prototype to avoid an error. */
11088 /* We use char because int might match the return type of a gcc2
11089 builtin and then its argument prototype would still apply. */
11099 rm -f conftest.
$ac_objext conftest
$ac_exeext
11100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11101 (eval $ac_link) 2>conftest.er1
11103 grep -v '^ *+' conftest.er1
>conftest.err
11105 cat conftest.err
>&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); } &&
11108 { ac_try
='test -z "$ac_c_werror_flag"
11109 || test ! -s conftest.err'
11110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11111 (eval $ac_try) 2>&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); }; } &&
11115 { ac_try
='test -s conftest$ac_exeext'
11116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11117 (eval $ac_try) 2>&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); }; }; then
11121 ac_cv_lib_dl_dlopen
=yes
11123 echo "$as_me: failed program was:" >&5
11124 sed 's/^/| /' conftest.
$ac_ext >&5
11126 ac_cv_lib_dl_dlopen
=no
11128 rm -f conftest.err conftest.
$ac_objext \
11129 conftest
$ac_exeext conftest.
$ac_ext
11130 LIBS
=$ac_check_lib_save_LIBS
11132 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11133 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11134 if test $ac_cv_lib_dl_dlopen = yes; then
11135 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11137 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11138 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11139 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11140 echo $ECHO_N "(cached) $ECHO_C" >&6
11142 ac_check_lib_save_LIBS
=$LIBS
11143 LIBS
="-lsvld $LIBS"
11144 cat >conftest.
$ac_ext <<_ACEOF
11147 cat confdefs.h
>>conftest.
$ac_ext
11148 cat >>conftest.
$ac_ext <<_ACEOF
11149 /* end confdefs.h. */
11151 /* Override any gcc2 internal prototype to avoid an error. */
11155 /* We use char because int might match the return type of a gcc2
11156 builtin and then its argument prototype would still apply. */
11166 rm -f conftest.
$ac_objext conftest
$ac_exeext
11167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11168 (eval $ac_link) 2>conftest.er1
11170 grep -v '^ *+' conftest.er1
>conftest.err
11172 cat conftest.err
>&5
11173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11174 (exit $ac_status); } &&
11175 { ac_try
='test -z "$ac_c_werror_flag"
11176 || test ! -s conftest.err'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; } &&
11182 { ac_try
='test -s conftest$ac_exeext'
11183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11184 (eval $ac_try) 2>&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); }; }; then
11188 ac_cv_lib_svld_dlopen
=yes
11190 echo "$as_me: failed program was:" >&5
11191 sed 's/^/| /' conftest.
$ac_ext >&5
11193 ac_cv_lib_svld_dlopen
=no
11195 rm -f conftest.err conftest.
$ac_objext \
11196 conftest
$ac_exeext conftest.
$ac_ext
11197 LIBS
=$ac_check_lib_save_LIBS
11199 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11200 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11201 if test $ac_cv_lib_svld_dlopen = yes; then
11202 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11204 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11205 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11206 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11207 echo $ECHO_N "(cached) $ECHO_C" >&6
11209 ac_check_lib_save_LIBS
=$LIBS
11211 cat >conftest.
$ac_ext <<_ACEOF
11214 cat confdefs.h
>>conftest.
$ac_ext
11215 cat >>conftest.
$ac_ext <<_ACEOF
11216 /* end confdefs.h. */
11218 /* Override any gcc2 internal prototype to avoid an error. */
11222 /* We use char because int might match the return type of a gcc2
11223 builtin and then its argument prototype would still apply. */
11233 rm -f conftest.
$ac_objext conftest
$ac_exeext
11234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11235 (eval $ac_link) 2>conftest.er1
11237 grep -v '^ *+' conftest.er1
>conftest.err
11239 cat conftest.err
>&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); } &&
11242 { ac_try
='test -z "$ac_c_werror_flag"
11243 || test ! -s conftest.err'
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245 (eval $ac_try) 2>&5
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); }; } &&
11249 { ac_try
='test -s conftest$ac_exeext'
11250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11251 (eval $ac_try) 2>&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; }; then
11255 ac_cv_lib_dld_dld_link
=yes
11257 echo "$as_me: failed program was:" >&5
11258 sed 's/^/| /' conftest.
$ac_ext >&5
11260 ac_cv_lib_dld_dld_link
=no
11262 rm -f conftest.err conftest.
$ac_objext \
11263 conftest
$ac_exeext conftest.
$ac_ext
11264 LIBS
=$ac_check_lib_save_LIBS
11266 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11267 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11268 if test $ac_cv_lib_dld_dld_link = yes; then
11269 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11290 if test "x$lt_cv_dlopen" != xno
; then
11296 case $lt_cv_dlopen in
11298 save_CPPFLAGS
="$CPPFLAGS"
11299 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11301 save_LDFLAGS
="$LDFLAGS"
11302 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11305 LIBS
="$lt_cv_dlopen_libs $LIBS"
11307 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11308 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11309 if test "${lt_cv_dlopen_self+set}" = set; then
11310 echo $ECHO_N "(cached) $ECHO_C" >&6
11312 if test "$cross_compiling" = yes; then :
11313 lt_cv_dlopen_self
=cross
11315 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11316 lt_status
=$lt_dlunknown
11317 cat > conftest.
$ac_ext <<_LT_EOF
11318 #line 11318 "configure"
11319 #include "confdefs.h"
11328 # define LT_DLGLOBAL RTLD_GLOBAL
11331 # define LT_DLGLOBAL DL_GLOBAL
11333 # define LT_DLGLOBAL 0
11337 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11338 find out it does not work in some platform. */
11339 #ifndef LT_DLLAZY_OR_NOW
11341 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11344 # define LT_DLLAZY_OR_NOW DL_LAZY
11347 # define LT_DLLAZY_OR_NOW RTLD_NOW
11350 # define LT_DLLAZY_OR_NOW DL_NOW
11352 # define LT_DLLAZY_OR_NOW 0
11359 void fnord() { int i=42;}
11362 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11363 int status = $lt_dlunknown;
11367 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11368 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11369 /* dlclose (self); */
11377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11378 (eval $ac_link) 2>&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11382 (.
/conftest
; exit; ) >&5 2>/dev
/null
11384 case x
$lt_status in
11385 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11386 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11387 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11390 # compilation failed
11391 lt_cv_dlopen_self
=no
11398 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11399 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11401 if test "x$lt_cv_dlopen_self" = xyes
; then
11402 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11403 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11404 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11405 if test "${lt_cv_dlopen_self_static+set}" = set; then
11406 echo $ECHO_N "(cached) $ECHO_C" >&6
11408 if test "$cross_compiling" = yes; then :
11409 lt_cv_dlopen_self_static
=cross
11411 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11412 lt_status
=$lt_dlunknown
11413 cat > conftest.
$ac_ext <<_LT_EOF
11414 #line 11414 "configure"
11415 #include "confdefs.h"
11424 # define LT_DLGLOBAL RTLD_GLOBAL
11427 # define LT_DLGLOBAL DL_GLOBAL
11429 # define LT_DLGLOBAL 0
11433 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11434 find out it does not work in some platform. */
11435 #ifndef LT_DLLAZY_OR_NOW
11437 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11440 # define LT_DLLAZY_OR_NOW DL_LAZY
11443 # define LT_DLLAZY_OR_NOW RTLD_NOW
11446 # define LT_DLLAZY_OR_NOW DL_NOW
11448 # define LT_DLLAZY_OR_NOW 0
11455 void fnord() { int i=42;}
11458 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11459 int status = $lt_dlunknown;
11463 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11464 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11465 /* dlclose (self); */
11473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11474 (eval $ac_link) 2>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11478 (.
/conftest
; exit; ) >&5 2>/dev
/null
11480 case x
$lt_status in
11481 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11482 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11483 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11486 # compilation failed
11487 lt_cv_dlopen_self_static
=no
11494 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11495 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11498 CPPFLAGS
="$save_CPPFLAGS"
11499 LDFLAGS
="$save_LDFLAGS"
11504 case $lt_cv_dlopen_self in
11505 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11506 *) enable_dlopen_self
=unknown
;;
11509 case $lt_cv_dlopen_self_static in
11510 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11511 *) enable_dlopen_self_static
=unknown
;;
11533 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11534 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11535 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11536 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11537 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11538 echo "$as_me:$LINENO: result: yes" >&5
11539 echo "${ECHO_T}yes" >&6
11541 # FIXME - insert some real tests, host_os isn't really good enough
11544 if test -n "$STRIP" ; then
11545 striplib
="$STRIP -x"
11546 old_striplib
="$STRIP -S"
11547 echo "$as_me:$LINENO: result: yes" >&5
11548 echo "${ECHO_T}yes" >&6
11550 echo "$as_me:$LINENO: result: no" >&5
11551 echo "${ECHO_T}no" >&6
11555 echo "$as_me:$LINENO: result: no" >&5
11556 echo "${ECHO_T}no" >&6
11572 # Report which library types will actually be built
11573 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11574 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11575 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11576 echo "${ECHO_T}$can_build_shared" >&6
11578 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11579 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11580 test "$can_build_shared" = "no" && enable_shared
=no
11582 # On AIX, shared libraries and static libraries use the same namespace, and
11583 # are all built from PIC.
11586 test "$enable_shared" = yes && enable_static
=no
11587 if test -n "$RANLIB"; then
11588 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11589 postinstall_cmds
='$RANLIB $lib'
11594 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11595 test "$enable_shared" = yes && enable_static
=no
11599 echo "$as_me:$LINENO: result: $enable_shared" >&5
11600 echo "${ECHO_T}$enable_shared" >&6
11602 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11603 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11604 # Make sure either enable_shared or enable_static is yes.
11605 test "$enable_shared" = yes || enable_static
=yes
11606 echo "$as_me:$LINENO: result: $enable_static" >&5
11607 echo "${ECHO_T}$enable_static" >&6
11614 ac_cpp
='$CPP $CPPFLAGS'
11615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11633 ac_config_commands
="$ac_config_commands libtool"
11638 # Only expand once:
11642 # Check whether --enable-targets or --disable-targets was given.
11643 if test "${enable_targets+set}" = set; then
11644 enableval
="$enable_targets"
11645 case "${enableval}" in
11646 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
11647 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
11648 { (exit 1); exit 1; }; }
11650 no
) enable_targets
= ;;
11651 *) enable_targets
=$enableval ;;
11655 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11657 # Check whether --enable-werror or --disable-werror was given.
11658 if test "${enable_werror+set}" = set; then
11659 enableval
="$enable_werror"
11660 case "${enableval}" in
11661 yes | y
) ERROR_ON_WARNING
="yes" ;;
11662 no | n
) ERROR_ON_WARNING
="no" ;;
11663 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
11664 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
11665 { (exit 1); exit 1; }; } ;;
11669 # Enable -Wno-format by default when using gcc on mingw
11672 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11673 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11679 # Enable -Werror by default when using gcc
11680 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11681 ERROR_ON_WARNING
=yes
11685 if test "${ERROR_ON_WARNING}" = yes ; then
11686 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11687 NO_WERROR
="-Wno-error"
11690 if test "${GCC}" = yes ; then
11691 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11694 # Check whether --enable-build-warnings or --disable-build-warnings was given.
11695 if test "${enable_build_warnings+set}" = set; then
11696 enableval
="$enable_build_warnings"
11697 case "${enableval}" in
11698 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
11699 no
) if test "${GCC}" = yes ; then
11702 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11703 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
11704 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11705 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
11706 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11710 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11711 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11718 ac_config_headers
="$ac_config_headers config.h:config.in"
11721 if test -z "$target" ; then
11722 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
11723 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
11724 { (exit 1); exit 1; }; }
11726 if test -z "$host" ; then
11727 { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
11728 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
11729 { (exit 1); exit 1; }; }
11732 for ac_prog
in 'bison -y' byacc
11734 # Extract the first word of "$ac_prog", so it can be a program name with args.
11735 set dummy
$ac_prog; ac_word
=$2
11736 echo "$as_me:$LINENO: checking for $ac_word" >&5
11737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11738 if test "${ac_cv_prog_YACC+set}" = set; then
11739 echo $ECHO_N "(cached) $ECHO_C" >&6
11741 if test -n "$YACC"; then
11742 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11745 for as_dir
in $PATH
11748 test -z "$as_dir" && as_dir
=.
11749 for ac_exec_ext
in '' $ac_executable_extensions; do
11750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11751 ac_cv_prog_YACC
="$ac_prog"
11752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11760 YACC
=$ac_cv_prog_YACC
11761 if test -n "$YACC"; then
11762 echo "$as_me:$LINENO: result: $YACC" >&5
11763 echo "${ECHO_T}$YACC" >&6
11765 echo "$as_me:$LINENO: result: no" >&5
11766 echo "${ECHO_T}no" >&6
11769 test -n "$YACC" && break
11771 test -n "$YACC" || YACC
="yacc"
11773 for ac_prog
in flex
lex
11775 # Extract the first word of "$ac_prog", so it can be a program name with args.
11776 set dummy
$ac_prog; ac_word
=$2
11777 echo "$as_me:$LINENO: checking for $ac_word" >&5
11778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11779 if test "${ac_cv_prog_LEX+set}" = set; then
11780 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 if test -n "$LEX"; then
11783 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11786 for as_dir
in $PATH
11789 test -z "$as_dir" && as_dir
=.
11790 for ac_exec_ext
in '' $ac_executable_extensions; do
11791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11792 ac_cv_prog_LEX
="$ac_prog"
11793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11801 LEX
=$ac_cv_prog_LEX
11802 if test -n "$LEX"; then
11803 echo "$as_me:$LINENO: result: $LEX" >&5
11804 echo "${ECHO_T}$LEX" >&6
11806 echo "$as_me:$LINENO: result: no" >&5
11807 echo "${ECHO_T}no" >&6
11810 test -n "$LEX" && break
11812 test -n "$LEX" || LEX
=":"
11814 if test -z "$LEXLIB"
11816 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11817 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11818 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11819 echo $ECHO_N "(cached) $ECHO_C" >&6
11821 ac_check_lib_save_LIBS
=$LIBS
11823 cat >conftest.
$ac_ext <<_ACEOF
11826 cat confdefs.h
>>conftest.
$ac_ext
11827 cat >>conftest.
$ac_ext <<_ACEOF
11828 /* end confdefs.h. */
11830 /* Override any gcc2 internal prototype to avoid an error. */
11834 /* We use char because int might match the return type of a gcc2
11835 builtin and then its argument prototype would still apply. */
11845 rm -f conftest.
$ac_objext conftest
$ac_exeext
11846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11847 (eval $ac_link) 2>conftest.er1
11849 grep -v '^ *+' conftest.er1
>conftest.err
11851 cat conftest.err
>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); } &&
11854 { ac_try
='test -z "$ac_c_werror_flag"
11855 || test ! -s conftest.err'
11856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11857 (eval $ac_try) 2>&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); }; } &&
11861 { ac_try
='test -s conftest$ac_exeext'
11862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11863 (eval $ac_try) 2>&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); }; }; then
11867 ac_cv_lib_fl_yywrap
=yes
11869 echo "$as_me: failed program was:" >&5
11870 sed 's/^/| /' conftest.
$ac_ext >&5
11872 ac_cv_lib_fl_yywrap
=no
11874 rm -f conftest.err conftest.
$ac_objext \
11875 conftest
$ac_exeext conftest.
$ac_ext
11876 LIBS
=$ac_check_lib_save_LIBS
11878 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11879 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11880 if test $ac_cv_lib_fl_yywrap = yes; then
11883 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11884 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11885 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11886 echo $ECHO_N "(cached) $ECHO_C" >&6
11888 ac_check_lib_save_LIBS
=$LIBS
11890 cat >conftest.
$ac_ext <<_ACEOF
11893 cat confdefs.h
>>conftest.
$ac_ext
11894 cat >>conftest.
$ac_ext <<_ACEOF
11895 /* end confdefs.h. */
11897 /* Override any gcc2 internal prototype to avoid an error. */
11901 /* We use char because int might match the return type of a gcc2
11902 builtin and then its argument prototype would still apply. */
11912 rm -f conftest.
$ac_objext conftest
$ac_exeext
11913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11914 (eval $ac_link) 2>conftest.er1
11916 grep -v '^ *+' conftest.er1
>conftest.err
11918 cat conftest.err
>&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); } &&
11921 { ac_try
='test -z "$ac_c_werror_flag"
11922 || test ! -s conftest.err'
11923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11924 (eval $ac_try) 2>&5
11926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927 (exit $ac_status); }; } &&
11928 { ac_try
='test -s conftest$ac_exeext'
11929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11930 (eval $ac_try) 2>&5
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); }; }; then
11934 ac_cv_lib_l_yywrap
=yes
11936 echo "$as_me: failed program was:" >&5
11937 sed 's/^/| /' conftest.
$ac_ext >&5
11939 ac_cv_lib_l_yywrap
=no
11941 rm -f conftest.err conftest.
$ac_objext \
11942 conftest
$ac_exeext conftest.
$ac_ext
11943 LIBS
=$ac_check_lib_save_LIBS
11945 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11946 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11947 if test $ac_cv_lib_l_yywrap = yes; then
11955 if test "x$LEX" != "x:"; then
11956 echo "$as_me:$LINENO: checking lex output file root" >&5
11957 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11958 if test "${ac_cv_prog_lex_root+set}" = set; then
11959 echo $ECHO_N "(cached) $ECHO_C" >&6
11961 # The minimal lex program is just a single line: %%. But some broken lexes
11962 # (Solaris, I think it was) want two %% lines, so accommodate them.
11963 cat >conftest.l
<<_ACEOF
11967 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11968 (eval $LEX conftest.l
) 2>&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); }
11972 if test -f lex.yy.c
; then
11973 ac_cv_prog_lex_root
=lex.yy
11974 elif test -f lexyy.c
; then
11975 ac_cv_prog_lex_root
=lexyy
11977 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11978 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11979 { (exit 1); exit 1; }; }
11982 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11983 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11985 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11987 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11988 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11989 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11990 echo $ECHO_N "(cached) $ECHO_C" >&6
11992 # POSIX says lex can declare yytext either as a pointer or an array; the
11993 # default is implementation-dependent. Figure out which it is, since
11994 # not all implementations provide the %pointer and %array declarations.
11995 ac_cv_prog_lex_yytext_pointer
=no
11996 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11998 LIBS
="$LIBS $LEXLIB"
11999 cat >conftest.
$ac_ext <<_ACEOF
12000 `cat $LEX_OUTPUT_ROOT.c`
12002 rm -f conftest.
$ac_objext conftest
$ac_exeext
12003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12004 (eval $ac_link) 2>conftest.er1
12006 grep -v '^ *+' conftest.er1
>conftest.err
12008 cat conftest.err
>&5
12009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010 (exit $ac_status); } &&
12011 { ac_try
='test -z "$ac_c_werror_flag"
12012 || test ! -s conftest.err'
12013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12014 (eval $ac_try) 2>&5
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); }; } &&
12018 { ac_try
='test -s conftest$ac_exeext'
12019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12020 (eval $ac_try) 2>&5
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); }; }; then
12024 ac_cv_prog_lex_yytext_pointer
=yes
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.
$ac_ext >&5
12030 rm -f conftest.err conftest.
$ac_objext \
12031 conftest
$ac_exeext conftest.
$ac_ext
12033 rm -f "${LEX_OUTPUT_ROOT}.c"
12036 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
12037 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
12038 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12040 cat >>confdefs.h
<<\_ACEOF
12041 #define YYTEXT_POINTER 1
12047 if test "$LEX" = :; then
12048 LEX
=${am_missing_run}flex
12051 ALL_LINGUAS
="da es fi fr id ja ro ru rw sk sv tr uk vi zh_CN zh_TW"
12052 # If we haven't got the data from the intl directory,
12053 # assume NLS is disabled.
12062 if test -f ..
/intl
/config.intl
; then
12063 . ..
/intl
/config.intl
12065 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12066 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
12067 if test x
"$USE_NLS" != xyes
; then
12068 echo "$as_me:$LINENO: result: no" >&5
12069 echo "${ECHO_T}no" >&6
12071 echo "$as_me:$LINENO: result: yes" >&5
12072 echo "${ECHO_T}yes" >&6
12074 cat >>confdefs.h
<<\_ACEOF
12075 #define ENABLE_NLS 1
12079 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
12080 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
12081 # Look for .po and .gmo files in the source directory.
12084 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
12085 # If there aren't any .gmo files the shell will give us the
12086 # literal string "../path/to/srcdir/po/*.gmo" which has to be
12088 case "$cat" in *\
**)
12091 # The quadruple backslash is collapsed to a double backslash
12092 # by the backticks, then collapsed again by the double quotes,
12093 # leaving us with one backslash in the sed expression (right
12094 # before the dot that mustn't act as a wildcard).
12095 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
12096 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
12097 # The user is allowed to set LINGUAS to a list of languages to
12098 # install catalogs for. If it's empty that means "all of them."
12099 if test "x$LINGUAS" = x
; then
12100 CATALOGS
="$CATALOGS $cat"
12101 XLINGUAS
="$XLINGUAS $lang"
12103 case "$LINGUAS" in *$lang*)
12104 CATALOGS
="$CATALOGS $cat"
12105 XLINGUAS
="$XLINGUAS $lang"
12110 LINGUAS
="$XLINGUAS"
12111 echo "$as_me:$LINENO: result: $LINGUAS" >&5
12112 echo "${ECHO_T}$LINGUAS" >&6
12126 if test -n "$ac_aux_dir"; then
12127 case "$ac_aux_dir" in
12128 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
12129 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
12132 if test -z "$MKINSTALLDIRS"; then
12133 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
12138 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12139 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
12140 # Check whether --enable-nls or --disable-nls was given.
12141 if test "${enable_nls+set}" = set; then
12142 enableval
="$enable_nls"
12147 echo "$as_me:$LINENO: result: $USE_NLS" >&5
12148 echo "${ECHO_T}$USE_NLS" >&6
12155 # Prepare PATH_SEPARATOR.
12156 # The user is always right.
12157 if test "${PATH_SEPARATOR+set}" != set; then
12158 echo "#! /bin/sh" >conf$$.sh
12159 echo "exit 0" >>conf$$.sh
12161 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12169 # Find out how to test for executable files. Don't use a zero-byte file,
12170 # as systems may use methods other than mode bits to determine executability.
12171 cat >conf$$.
file <<_ASEOF
12175 chmod +x conf$$.
file
12176 if test -x conf$$.
file >/dev
/null
2>&1; then
12177 ac_executable_p
="test -x"
12179 ac_executable_p
="test -f"
12183 # Extract the first word of "msgfmt", so it can be a program name with args.
12184 set dummy msgfmt
; ac_word
=$2
12185 echo "$as_me:$LINENO: checking for $ac_word" >&5
12186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12187 if test "${ac_cv_path_MSGFMT+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
12195 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12196 for ac_dir
in $PATH; do
12198 test -z "$ac_dir" && ac_dir
=.
12199 for ac_exec_ext
in '' $ac_executable_extensions; do
12200 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12201 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
12202 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12203 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
12210 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
12214 MSGFMT
="$ac_cv_path_MSGFMT"
12215 if test "$MSGFMT" != ":"; then
12216 echo "$as_me:$LINENO: result: $MSGFMT" >&5
12217 echo "${ECHO_T}$MSGFMT" >&6
12219 echo "$as_me:$LINENO: result: no" >&5
12220 echo "${ECHO_T}no" >&6
12223 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12224 set dummy gmsgfmt
; ac_word
=$2
12225 echo "$as_me:$LINENO: checking for $ac_word" >&5
12226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12227 if test "${ac_cv_path_GMSGFMT+set}" = set; then
12228 echo $ECHO_N "(cached) $ECHO_C" >&6
12232 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
12235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12236 for as_dir
in $PATH
12239 test -z "$as_dir" && as_dir
=.
12240 for ac_exec_ext
in '' $ac_executable_extensions; do
12241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12242 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12249 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12253 GMSGFMT
=$ac_cv_path_GMSGFMT
12255 if test -n "$GMSGFMT"; then
12256 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
12257 echo "${ECHO_T}$GMSGFMT" >&6
12259 echo "$as_me:$LINENO: result: no" >&5
12260 echo "${ECHO_T}no" >&6
12265 # Prepare PATH_SEPARATOR.
12266 # The user is always right.
12267 if test "${PATH_SEPARATOR+set}" != set; then
12268 echo "#! /bin/sh" >conf$$.sh
12269 echo "exit 0" >>conf$$.sh
12271 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12279 # Find out how to test for executable files. Don't use a zero-byte file,
12280 # as systems may use methods other than mode bits to determine executability.
12281 cat >conf$$.
file <<_ASEOF
12285 chmod +x conf$$.
file
12286 if test -x conf$$.
file >/dev
/null
2>&1; then
12287 ac_executable_p
="test -x"
12289 ac_executable_p
="test -f"
12293 # Extract the first word of "xgettext", so it can be a program name with args.
12294 set dummy xgettext
; ac_word
=$2
12295 echo "$as_me:$LINENO: checking for $ac_word" >&5
12296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12297 if test "${ac_cv_path_XGETTEXT+set}" = set; then
12298 echo $ECHO_N "(cached) $ECHO_C" >&6
12300 case "$XGETTEXT" in
12302 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12305 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12306 for ac_dir
in $PATH; do
12308 test -z "$ac_dir" && ac_dir
=.
12309 for ac_exec_ext
in '' $ac_executable_extensions; do
12310 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12311 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12312 (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
12313 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
12320 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12324 XGETTEXT
="$ac_cv_path_XGETTEXT"
12325 if test "$XGETTEXT" != ":"; then
12326 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
12327 echo "${ECHO_T}$XGETTEXT" >&6
12329 echo "$as_me:$LINENO: result: no" >&5
12330 echo "${ECHO_T}no" >&6
12336 # Prepare PATH_SEPARATOR.
12337 # The user is always right.
12338 if test "${PATH_SEPARATOR+set}" != set; then
12339 echo "#! /bin/sh" >conf$$.sh
12340 echo "exit 0" >>conf$$.sh
12342 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12350 # Find out how to test for executable files. Don't use a zero-byte file,
12351 # as systems may use methods other than mode bits to determine executability.
12352 cat >conf$$.
file <<_ASEOF
12356 chmod +x conf$$.
file
12357 if test -x conf$$.
file >/dev
/null
2>&1; then
12358 ac_executable_p
="test -x"
12360 ac_executable_p
="test -f"
12364 # Extract the first word of "msgmerge", so it can be a program name with args.
12365 set dummy msgmerge
; ac_word
=$2
12366 echo "$as_me:$LINENO: checking for $ac_word" >&5
12367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12368 if test "${ac_cv_path_MSGMERGE+set}" = set; then
12369 echo $ECHO_N "(cached) $ECHO_C" >&6
12371 case "$MSGMERGE" in
12373 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12376 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12377 for ac_dir
in $PATH; do
12379 test -z "$ac_dir" && ac_dir
=.
12380 for ac_exec_ext
in '' $ac_executable_extensions; do
12381 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12382 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
12383 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12390 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12394 MSGMERGE
="$ac_cv_path_MSGMERGE"
12395 if test "$MSGMERGE" != ":"; then
12396 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
12397 echo "${ECHO_T}$MSGMERGE" >&6
12399 echo "$as_me:$LINENO: result: no" >&5
12400 echo "${ECHO_T}no" >&6
12404 if test "$GMSGFMT" != ":"; then
12405 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12406 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12409 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12410 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12411 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
12416 if test "$XGETTEXT" != ":"; then
12417 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12418 (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
12421 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
12422 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
12428 ac_config_commands
="$ac_config_commands default-1"
12432 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12433 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
12434 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12435 if test "${enable_maintainer_mode+set}" = set; then
12436 enableval
="$enable_maintainer_mode"
12437 USE_MAINTAINER_MODE
=$enableval
12439 USE_MAINTAINER_MODE
=no
12441 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12442 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12445 if test $USE_MAINTAINER_MODE = yes; then
12446 MAINTAINER_MODE_TRUE
=
12447 MAINTAINER_MODE_FALSE
='#'
12449 MAINTAINER_MODE_TRUE
='#'
12450 MAINTAINER_MODE_FALSE
=
12453 MAINT
=$MAINTAINER_MODE_TRUE
12459 GENINSRC_NEVER_TRUE
=
12460 GENINSRC_NEVER_FALSE
='#'
12462 GENINSRC_NEVER_TRUE
='#'
12463 GENINSRC_NEVER_FALSE
=
12467 if test -n "$EXEEXT"; then
12469 cat >>confdefs.h
<<\_ACEOF
12470 #define HAVE_EXECUTABLE_SUFFIX 1
12475 cat >>confdefs.h
<<_ACEOF
12476 #define EXECUTABLE_SUFFIX "${EXEEXT}"
12480 # host-specific stuff:
12484 .
${srcdir}/..
/bfd
/configure.
host
12489 if test -n "$ac_tool_prefix"; then
12490 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12491 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12492 echo "$as_me:$LINENO: checking for $ac_word" >&5
12493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12494 if test "${ac_cv_prog_RANLIB+set}" = set; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12497 if test -n "$RANLIB"; then
12498 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12501 for as_dir
in $PATH
12504 test -z "$as_dir" && as_dir
=.
12505 for ac_exec_ext
in '' $ac_executable_extensions; do
12506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12507 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12516 RANLIB
=$ac_cv_prog_RANLIB
12517 if test -n "$RANLIB"; then
12518 echo "$as_me:$LINENO: result: $RANLIB" >&5
12519 echo "${ECHO_T}$RANLIB" >&6
12521 echo "$as_me:$LINENO: result: no" >&5
12522 echo "${ECHO_T}no" >&6
12526 if test -z "$ac_cv_prog_RANLIB"; then
12527 ac_ct_RANLIB
=$RANLIB
12528 # Extract the first word of "ranlib", so it can be a program name with args.
12529 set dummy ranlib
; ac_word
=$2
12530 echo "$as_me:$LINENO: checking for $ac_word" >&5
12531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12532 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12533 echo $ECHO_N "(cached) $ECHO_C" >&6
12535 if test -n "$ac_ct_RANLIB"; then
12536 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12539 for as_dir
in $PATH
12542 test -z "$as_dir" && as_dir
=.
12543 for ac_exec_ext
in '' $ac_executable_extensions; do
12544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12545 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12552 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12555 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12556 if test -n "$ac_ct_RANLIB"; then
12557 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12558 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12560 echo "$as_me:$LINENO: result: no" >&5
12561 echo "${ECHO_T}no" >&6
12564 RANLIB
=$ac_ct_RANLIB
12566 RANLIB
="$ac_cv_prog_RANLIB"
12569 # Find a good install program. We prefer a C program (faster),
12570 # so one script is as good as another. But avoid the broken or
12571 # incompatible versions:
12572 # SysV /etc/install, /usr/sbin/install
12573 # SunOS /usr/etc/install
12574 # IRIX /sbin/install
12576 # AmigaOS /C/install, which installs bootblocks on floppy discs
12577 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12578 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12579 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12580 # OS/2's system install, which has a completely different semantic
12581 # ./install, which can be erroneously created by make from ./install.sh.
12582 # Reject install programs that cannot install multiple files.
12583 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12585 if test -z "$INSTALL"; then
12586 if test "${ac_cv_path_install+set}" = set; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12590 for as_dir
in $PATH
12593 test -z "$as_dir" && as_dir
=.
12594 # Account for people who put trailing slashes in PATH elements.
12596 .
/ | .
// |
/cC
/* | \
12597 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
12598 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12601 # OSF1 and SCO ODT 3.0 have their own names for install.
12602 # Don't use installbsd from OSF since it installs stuff as root
12604 for ac_prog
in ginstall scoinst
install; do
12605 for ac_exec_ext
in '' $ac_executable_extensions; do
12606 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12607 if test $ac_prog = install &&
12608 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12609 # AIX install. It has an incompatible calling convention.
12611 elif test $ac_prog = install &&
12612 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12613 # program-specific install script used by HP pwplus--don't use.
12616 rm -rf conftest.one conftest.two conftest.dir
12617 echo one
> conftest.one
12618 echo two
> conftest.two
12620 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
12621 test -s conftest.one
&& test -s conftest.two
&&
12622 test -s conftest.dir
/conftest.one
&&
12623 test -s conftest.dir
/conftest.two
12625 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12636 rm -rf conftest.one conftest.two conftest.dir
12639 if test "${ac_cv_path_install+set}" = set; then
12640 INSTALL
=$ac_cv_path_install
12642 # As a last resort, use the slow shell script. Don't cache a
12643 # value for INSTALL within a source directory, because that will
12644 # break other packages using the cache if that directory is
12645 # removed, or if the value is a relative name.
12646 INSTALL
=$ac_install_sh
12649 echo "$as_me:$LINENO: result: $INSTALL" >&5
12650 echo "${ECHO_T}$INSTALL" >&6
12652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12653 # It thinks the first close brace ends the variable substitution.
12654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12658 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12661 # Put a plausible default for CC_FOR_BUILD in Makefile.
12662 if test -z "$CC_FOR_BUILD"; then
12663 if test "x$cross_compiling" = "xno"; then
12664 CC_FOR_BUILD
='$(CC)'
12670 # Also set EXEEXT_FOR_BUILD.
12671 if test "x$cross_compiling" = "xno"; then
12672 EXEEXT_FOR_BUILD
='$(EXEEXT)'
12674 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
12675 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
12676 if test "${bfd_cv_build_exeext+set}" = set; then
12677 echo $ECHO_N "(cached) $ECHO_C" >&6
12680 echo 'int main () { return 0; }' > conftest.c
12681 bfd_cv_build_exeext
=
12682 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
12683 for file in conftest.
*; do
12685 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
12686 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
12690 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
12692 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
12693 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
12694 EXEEXT_FOR_BUILD
=""
12695 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
12699 DEMANGLER_NAME
=c
++filt
12701 *-*-go32* |
*-*-msdos*)
12702 DEMANGLER_NAME
=cxxfilt
12714 for ac_header
in string.h
strings.h stdlib.h unistd.h fcntl.h sys
/file.h limits.h sys
/param.h
12716 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12718 echo "$as_me:$LINENO: checking for $ac_header" >&5
12719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12726 # Is the header compilable?
12727 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12729 cat >conftest.
$ac_ext <<_ACEOF
12732 cat confdefs.h
>>conftest.
$ac_ext
12733 cat >>conftest.
$ac_ext <<_ACEOF
12734 /* end confdefs.h. */
12735 $ac_includes_default
12736 #include <$ac_header>
12738 rm -f conftest.
$ac_objext
12739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12740 (eval $ac_compile) 2>conftest.er1
12742 grep -v '^ *+' conftest.er1
>conftest.err
12744 cat conftest.err
>&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); } &&
12747 { ac_try
='test -z "$ac_c_werror_flag"
12748 || test ! -s conftest.err'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; } &&
12754 { ac_try
='test -s conftest.$ac_objext'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; }; then
12760 ac_header_compiler
=yes
12762 echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.
$ac_ext >&5
12765 ac_header_compiler
=no
12767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12769 echo "${ECHO_T}$ac_header_compiler" >&6
12771 # Is the header present?
12772 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12773 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12774 cat >conftest.
$ac_ext <<_ACEOF
12777 cat confdefs.h
>>conftest.
$ac_ext
12778 cat >>conftest.
$ac_ext <<_ACEOF
12779 /* end confdefs.h. */
12780 #include <$ac_header>
12782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12783 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12785 grep -v '^ *+' conftest.er1
>conftest.err
12787 cat conftest.err
>&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); } >/dev
/null
; then
12790 if test -s conftest.err
; then
12791 ac_cpp_err
=$ac_c_preproc_warn_flag
12792 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12799 if test -z "$ac_cpp_err"; then
12800 ac_header_preproc
=yes
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.
$ac_ext >&5
12805 ac_header_preproc
=no
12807 rm -f conftest.err conftest.
$ac_ext
12808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12809 echo "${ECHO_T}$ac_header_preproc" >&6
12811 # So? What about this header?
12812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12814 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12815 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12817 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12818 ac_header_preproc
=yes
12821 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12825 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12826 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12827 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12828 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12830 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12831 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12832 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12835 ## ------------------------------------------ ##
12836 ## Report this to the AC_PACKAGE_NAME lists. ##
12837 ## ------------------------------------------ ##
12840 sed "s/^/$as_me: WARNING: /" >&2
12843 echo "$as_me:$LINENO: checking for $ac_header" >&5
12844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12846 echo $ECHO_N "(cached) $ECHO_C" >&6
12848 eval "$as_ac_Header=\$ac_header_preproc"
12850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12855 cat >>confdefs.h
<<_ACEOF
12856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12863 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
12864 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
12865 if test "${ac_cv_header_sys_wait_h+set}" = set; then
12866 echo $ECHO_N "(cached) $ECHO_C" >&6
12868 cat >conftest.
$ac_ext <<_ACEOF
12871 cat confdefs.h
>>conftest.
$ac_ext
12872 cat >>conftest.
$ac_ext <<_ACEOF
12873 /* end confdefs.h. */
12874 #include <sys/types.h>
12875 #include <sys/wait.h>
12876 #ifndef WEXITSTATUS
12877 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
12880 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
12888 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
12893 rm -f conftest.
$ac_objext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12895 (eval $ac_compile) 2>conftest.er1
12897 grep -v '^ *+' conftest.er1
>conftest.err
12899 cat conftest.err
>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try
='test -z "$ac_c_werror_flag"
12903 || test ! -s conftest.err'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; } &&
12909 { ac_try
='test -s conftest.$ac_objext'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; }; then
12915 ac_cv_header_sys_wait_h
=yes
12917 echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.
$ac_ext >&5
12920 ac_cv_header_sys_wait_h
=no
12922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12924 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
12925 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
12926 if test $ac_cv_header_sys_wait_h = yes; then
12928 cat >>confdefs.h
<<\_ACEOF
12929 #define HAVE_SYS_WAIT_H 1
12934 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12935 # for constant arguments. Useless!
12936 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12937 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12938 if test "${ac_cv_working_alloca_h+set}" = set; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12941 cat >conftest.
$ac_ext <<_ACEOF
12944 cat confdefs.h
>>conftest.
$ac_ext
12945 cat >>conftest.
$ac_ext <<_ACEOF
12946 /* end confdefs.h. */
12947 #include <alloca.h>
12951 char *p = (char *) alloca (2 * sizeof (int));
12956 rm -f conftest.
$ac_objext conftest
$ac_exeext
12957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12958 (eval $ac_link) 2>conftest.er1
12960 grep -v '^ *+' conftest.er1
>conftest.err
12962 cat conftest.err
>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); } &&
12965 { ac_try
='test -z "$ac_c_werror_flag"
12966 || test ! -s conftest.err'
12967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12968 (eval $ac_try) 2>&5
12970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 (exit $ac_status); }; } &&
12972 { ac_try
='test -s conftest$ac_exeext'
12973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12974 (eval $ac_try) 2>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); }; }; then
12978 ac_cv_working_alloca_h
=yes
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.
$ac_ext >&5
12983 ac_cv_working_alloca_h
=no
12985 rm -f conftest.err conftest.
$ac_objext \
12986 conftest
$ac_exeext conftest.
$ac_ext
12988 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12989 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
12990 if test $ac_cv_working_alloca_h = yes; then
12992 cat >>confdefs.h
<<\_ACEOF
12993 #define HAVE_ALLOCA_H 1
12998 echo "$as_me:$LINENO: checking for alloca" >&5
12999 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
13000 if test "${ac_cv_func_alloca_works+set}" = set; then
13001 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 cat >conftest.
$ac_ext <<_ACEOF
13006 cat confdefs.h
>>conftest.
$ac_ext
13007 cat >>conftest.
$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13010 # define alloca __builtin_alloca
13013 # include <malloc.h>
13014 # define alloca _alloca
13017 # include <alloca.h>
13022 # ifndef alloca /* predefined by HP cc +Olibcalls */
13033 char *p = (char *) alloca (1);
13038 rm -f conftest.
$ac_objext conftest
$ac_exeext
13039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13040 (eval $ac_link) 2>conftest.er1
13042 grep -v '^ *+' conftest.er1
>conftest.err
13044 cat conftest.err
>&5
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); } &&
13047 { ac_try
='test -z "$ac_c_werror_flag"
13048 || test ! -s conftest.err'
13049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13050 (eval $ac_try) 2>&5
13052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13053 (exit $ac_status); }; } &&
13054 { ac_try
='test -s conftest$ac_exeext'
13055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13056 (eval $ac_try) 2>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); }; }; then
13060 ac_cv_func_alloca_works
=yes
13062 echo "$as_me: failed program was:" >&5
13063 sed 's/^/| /' conftest.
$ac_ext >&5
13065 ac_cv_func_alloca_works
=no
13067 rm -f conftest.err conftest.
$ac_objext \
13068 conftest
$ac_exeext conftest.
$ac_ext
13070 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13071 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
13073 if test $ac_cv_func_alloca_works = yes; then
13075 cat >>confdefs.h
<<\_ACEOF
13076 #define HAVE_ALLOCA 1
13080 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13081 # that cause trouble. Some versions do not even contain alloca or
13082 # contain a buggy version. If you still want to use their alloca,
13083 # use ar to extract alloca.o from them instead of compiling alloca.c.
13085 ALLOCA
=alloca.
$ac_objext
13087 cat >>confdefs.h
<<\_ACEOF
13092 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
13093 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
13094 if test "${ac_cv_os_cray+set}" = set; then
13095 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 cat >conftest.
$ac_ext <<_ACEOF
13100 cat confdefs.h
>>conftest.
$ac_ext
13101 cat >>conftest.
$ac_ext <<_ACEOF
13102 /* end confdefs.h. */
13103 #if defined(CRAY) && ! defined(CRAY2)
13110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13111 $EGREP "webecray" >/dev
/null
2>&1; then
13119 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
13120 echo "${ECHO_T}$ac_cv_os_cray" >&6
13121 if test $ac_cv_os_cray = yes; then
13122 for ac_func
in _getb67 GETB67 getb67
; do
13123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13124 echo "$as_me:$LINENO: checking for $ac_func" >&5
13125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13126 if eval "test \"\${$as_ac_var+set}\" = set"; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13129 cat >conftest.
$ac_ext <<_ACEOF
13132 cat confdefs.h
>>conftest.
$ac_ext
13133 cat >>conftest.
$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13137 #define $ac_func innocuous_$ac_func
13139 /* System header to define __stub macros and hopefully few prototypes,
13140 which can conflict with char $ac_func (); below.
13141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13142 <limits.h> exists even on freestanding compilers. */
13145 # include <limits.h>
13147 # include <assert.h>
13152 /* Override any gcc2 internal prototype to avoid an error. */
13157 /* We use char because int might match the return type of a gcc2
13158 builtin and then its argument prototype would still apply. */
13160 /* The GNU C library defines this for functions which it implements
13161 to always fail with ENOSYS. Some functions are actually named
13162 something starting with __ and the normal name is an alias. */
13163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13166 char (*f) () = $ac_func;
13175 return f != $ac_func;
13180 rm -f conftest.
$ac_objext conftest
$ac_exeext
13181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13182 (eval $ac_link) 2>conftest.er1
13184 grep -v '^ *+' conftest.er1
>conftest.err
13186 cat conftest.err
>&5
13187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); } &&
13189 { ac_try
='test -z "$ac_c_werror_flag"
13190 || test ! -s conftest.err'
13191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13192 (eval $ac_try) 2>&5
13194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); }; } &&
13196 { ac_try
='test -s conftest$ac_exeext'
13197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13198 (eval $ac_try) 2>&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); }; }; then
13202 eval "$as_ac_var=yes"
13204 echo "$as_me: failed program was:" >&5
13205 sed 's/^/| /' conftest.
$ac_ext >&5
13207 eval "$as_ac_var=no"
13209 rm -f conftest.err conftest.
$ac_objext \
13210 conftest
$ac_exeext conftest.
$ac_ext
13212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13214 if test `eval echo '${'$as_ac_var'}'` = yes; then
13216 cat >>confdefs.h
<<_ACEOF
13217 #define CRAY_STACKSEG_END $ac_func
13226 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13227 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
13228 if test "${ac_cv_c_stack_direction+set}" = set; then
13229 echo $ECHO_N "(cached) $ECHO_C" >&6
13231 if test "$cross_compiling" = yes; then
13232 ac_cv_c_stack_direction
=0
13234 cat >conftest.
$ac_ext <<_ACEOF
13237 cat confdefs.h
>>conftest.
$ac_ext
13238 cat >>conftest.
$ac_ext <<_ACEOF
13239 /* end confdefs.h. */
13241 find_stack_direction ()
13243 static char *addr = 0;
13248 return find_stack_direction ();
13251 return (&dummy > addr) ? 1 : -1;
13257 exit (find_stack_direction () < 0);
13260 rm -f conftest
$ac_exeext
13261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13262 (eval $ac_link) 2>&5
13264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13265 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13267 (eval $ac_try) 2>&5
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); }; }; then
13271 ac_cv_c_stack_direction
=1
13273 echo "$as_me: program exited with status $ac_status" >&5
13274 echo "$as_me: failed program was:" >&5
13275 sed 's/^/| /' conftest.
$ac_ext >&5
13277 ( exit $ac_status )
13278 ac_cv_c_stack_direction
=-1
13280 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13283 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
13284 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
13286 cat >>confdefs.h
<<_ACEOF
13287 #define STACK_DIRECTION $ac_cv_c_stack_direction
13298 for ac_func
in sbrk utimes setmode getc_unlocked strcoll
13300 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13301 echo "$as_me:$LINENO: checking for $ac_func" >&5
13302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13303 if eval "test \"\${$as_ac_var+set}\" = set"; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 cat >conftest.
$ac_ext <<_ACEOF
13309 cat confdefs.h
>>conftest.
$ac_ext
13310 cat >>conftest.
$ac_ext <<_ACEOF
13311 /* end confdefs.h. */
13312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13314 #define $ac_func innocuous_$ac_func
13316 /* System header to define __stub macros and hopefully few prototypes,
13317 which can conflict with char $ac_func (); below.
13318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13319 <limits.h> exists even on freestanding compilers. */
13322 # include <limits.h>
13324 # include <assert.h>
13329 /* Override any gcc2 internal prototype to avoid an error. */
13334 /* We use char because int might match the return type of a gcc2
13335 builtin and then its argument prototype would still apply. */
13337 /* The GNU C library defines this for functions which it implements
13338 to always fail with ENOSYS. Some functions are actually named
13339 something starting with __ and the normal name is an alias. */
13340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13343 char (*f) () = $ac_func;
13352 return f != $ac_func;
13357 rm -f conftest.
$ac_objext conftest
$ac_exeext
13358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13359 (eval $ac_link) 2>conftest.er1
13361 grep -v '^ *+' conftest.er1
>conftest.err
13363 cat conftest.err
>&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); } &&
13366 { ac_try
='test -z "$ac_c_werror_flag"
13367 || test ! -s conftest.err'
13368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13369 (eval $ac_try) 2>&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); }; } &&
13373 { ac_try
='test -s conftest$ac_exeext'
13374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13375 (eval $ac_try) 2>&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); }; }; then
13379 eval "$as_ac_var=yes"
13381 echo "$as_me: failed program was:" >&5
13382 sed 's/^/| /' conftest.
$ac_ext >&5
13384 eval "$as_ac_var=no"
13386 rm -f conftest.err conftest.
$ac_objext \
13387 conftest
$ac_exeext conftest.
$ac_ext
13389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13391 if test `eval echo '${'$as_ac_var'}'` = yes; then
13392 cat >>confdefs.h
<<_ACEOF
13393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13399 echo "$as_me:$LINENO: checking for mkstemp" >&5
13400 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
13401 if test "${ac_cv_func_mkstemp+set}" = set; then
13402 echo $ECHO_N "(cached) $ECHO_C" >&6
13404 cat >conftest.
$ac_ext <<_ACEOF
13407 cat confdefs.h
>>conftest.
$ac_ext
13408 cat >>conftest.
$ac_ext <<_ACEOF
13409 /* end confdefs.h. */
13410 /* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
13411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13412 #define mkstemp innocuous_mkstemp
13414 /* System header to define __stub macros and hopefully few prototypes,
13415 which can conflict with char mkstemp (); below.
13416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13417 <limits.h> exists even on freestanding compilers. */
13420 # include <limits.h>
13422 # include <assert.h>
13427 /* Override any gcc2 internal prototype to avoid an error. */
13432 /* We use char because int might match the return type of a gcc2
13433 builtin and then its argument prototype would still apply. */
13435 /* The GNU C library defines this for functions which it implements
13436 to always fail with ENOSYS. Some functions are actually named
13437 something starting with __ and the normal name is an alias. */
13438 #if defined (__stub_mkstemp) || defined (__stub___mkstemp)
13441 char (*f) () = mkstemp;
13450 return f != mkstemp;
13455 rm -f conftest.
$ac_objext conftest
$ac_exeext
13456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13457 (eval $ac_link) 2>conftest.er1
13459 grep -v '^ *+' conftest.er1
>conftest.err
13461 cat conftest.err
>&5
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); } &&
13464 { ac_try
='test -z "$ac_c_werror_flag"
13465 || test ! -s conftest.err'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; } &&
13471 { ac_try
='test -s conftest$ac_exeext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13477 ac_cv_func_mkstemp
=yes
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.
$ac_ext >&5
13482 ac_cv_func_mkstemp
=no
13484 rm -f conftest.err conftest.
$ac_objext \
13485 conftest
$ac_exeext conftest.
$ac_ext
13487 echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
13488 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
13489 if test $ac_cv_func_mkstemp = yes; then
13491 cat >>confdefs.h
<<\_ACEOF
13492 #define HAVE_MKSTEMP 1
13497 echo "$as_me:$LINENO: checking for mkdtemp" >&5
13498 echo $ECHO_N "checking for mkdtemp... $ECHO_C" >&6
13499 if test "${ac_cv_func_mkdtemp+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13502 cat >conftest.
$ac_ext <<_ACEOF
13505 cat confdefs.h
>>conftest.
$ac_ext
13506 cat >>conftest.
$ac_ext <<_ACEOF
13507 /* end confdefs.h. */
13508 /* Define mkdtemp to an innocuous variant, in case <limits.h> declares mkdtemp.
13509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13510 #define mkdtemp innocuous_mkdtemp
13512 /* System header to define __stub macros and hopefully few prototypes,
13513 which can conflict with char mkdtemp (); below.
13514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13515 <limits.h> exists even on freestanding compilers. */
13518 # include <limits.h>
13520 # include <assert.h>
13525 /* Override any gcc2 internal prototype to avoid an error. */
13530 /* We use char because int might match the return type of a gcc2
13531 builtin and then its argument prototype would still apply. */
13533 /* The GNU C library defines this for functions which it implements
13534 to always fail with ENOSYS. Some functions are actually named
13535 something starting with __ and the normal name is an alias. */
13536 #if defined (__stub_mkdtemp) || defined (__stub___mkdtemp)
13539 char (*f) () = mkdtemp;
13548 return f != mkdtemp;
13553 rm -f conftest.
$ac_objext conftest
$ac_exeext
13554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13555 (eval $ac_link) 2>conftest.er1
13557 grep -v '^ *+' conftest.er1
>conftest.err
13559 cat conftest.err
>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } &&
13562 { ac_try
='test -z "$ac_c_werror_flag"
13563 || test ! -s conftest.err'
13564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13565 (eval $ac_try) 2>&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); }; } &&
13569 { ac_try
='test -s conftest$ac_exeext'
13570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13571 (eval $ac_try) 2>&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); }; }; then
13575 ac_cv_func_mkdtemp
=yes
13577 echo "$as_me: failed program was:" >&5
13578 sed 's/^/| /' conftest.
$ac_ext >&5
13580 ac_cv_func_mkdtemp
=no
13582 rm -f conftest.err conftest.
$ac_objext \
13583 conftest
$ac_exeext conftest.
$ac_ext
13585 echo "$as_me:$LINENO: result: $ac_cv_func_mkdtemp" >&5
13586 echo "${ECHO_T}$ac_cv_func_mkdtemp" >&6
13587 if test $ac_cv_func_mkdtemp = yes; then
13589 cat >>confdefs.h
<<\_ACEOF
13590 #define HAVE_MKDTEMP 1
13596 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
13597 # needs to be defined for it
13598 echo "$as_me:$LINENO: checking for fopen64" >&5
13599 echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
13600 if test "${bu_cv_have_fopen64+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13603 cat >conftest.
$ac_ext <<_ACEOF
13606 cat confdefs.h
>>conftest.
$ac_ext
13607 cat >>conftest.
$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13613 FILE *f = fopen64 ("/tmp/foo","r");
13618 rm -f conftest.
$ac_objext conftest
$ac_exeext
13619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13620 (eval $ac_link) 2>conftest.er1
13622 grep -v '^ *+' conftest.er1
>conftest.err
13624 cat conftest.err
>&5
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); } &&
13627 { ac_try
='test -z "$ac_c_werror_flag"
13628 || test ! -s conftest.err'
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); }; } &&
13634 { ac_try
='test -s conftest$ac_exeext'
13635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13636 (eval $ac_try) 2>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); }; }; then
13640 bu_cv_have_fopen64
=yes
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.
$ac_ext >&5
13645 saved_CPPFLAGS
=$CPPFLAGS
13646 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
13647 cat >conftest.
$ac_ext <<_ACEOF
13650 cat confdefs.h
>>conftest.
$ac_ext
13651 cat >>conftest.
$ac_ext <<_ACEOF
13652 /* end confdefs.h. */
13657 FILE *f = fopen64 ("/tmp/foo","r");
13662 rm -f conftest.
$ac_objext conftest
$ac_exeext
13663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13664 (eval $ac_link) 2>conftest.er1
13666 grep -v '^ *+' conftest.er1
>conftest.err
13668 cat conftest.err
>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); } &&
13671 { ac_try
='test -z "$ac_c_werror_flag"
13672 || test ! -s conftest.err'
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; } &&
13678 { ac_try
='test -s conftest$ac_exeext'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; }; then
13684 bu_cv_have_fopen64
="need -D_LARGEFILE64_SOURCE"
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.
$ac_ext >&5
13689 bu_cv_have_fopen64
=no
13691 rm -f conftest.err conftest.
$ac_objext \
13692 conftest
$ac_exeext conftest.
$ac_ext
13693 CPPFLAGS
=$saved_CPPFLAGS
13695 rm -f conftest.err conftest.
$ac_objext \
13696 conftest
$ac_exeext conftest.
$ac_ext
13699 echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
13700 echo "${ECHO_T}$bu_cv_have_fopen64" >&6
13701 if test "$bu_cv_have_fopen64" != no
; then
13703 cat >>confdefs.h
<<\_ACEOF
13704 #define HAVE_FOPEN64 1
13708 echo "$as_me:$LINENO: checking for stat64" >&5
13709 echo $ECHO_N "checking for stat64... $ECHO_C" >&6
13710 if test "${bu_cv_have_stat64+set}" = set; then
13711 echo $ECHO_N "(cached) $ECHO_C" >&6
13713 cat >conftest.
$ac_ext <<_ACEOF
13716 cat confdefs.h
>>conftest.
$ac_ext
13717 cat >>conftest.
$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13719 #include <sys/stat.h>
13723 struct stat64 st; stat64 ("/tmp/foo", &st);
13728 rm -f conftest.
$ac_objext conftest
$ac_exeext
13729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13730 (eval $ac_link) 2>conftest.er1
13732 grep -v '^ *+' conftest.er1
>conftest.err
13734 cat conftest.err
>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); } &&
13737 { ac_try
='test -z "$ac_c_werror_flag"
13738 || test ! -s conftest.err'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; } &&
13744 { ac_try
='test -s conftest$ac_exeext'
13745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13746 (eval $ac_try) 2>&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); }; }; then
13750 bu_cv_have_stat64
=yes
13752 echo "$as_me: failed program was:" >&5
13753 sed 's/^/| /' conftest.
$ac_ext >&5
13755 saved_CPPFLAGS
=$CPPFLAGS
13756 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
13757 cat >conftest.
$ac_ext <<_ACEOF
13760 cat confdefs.h
>>conftest.
$ac_ext
13761 cat >>conftest.
$ac_ext <<_ACEOF
13762 /* end confdefs.h. */
13763 #include <sys/stat.h>
13767 struct stat64 st; stat64 ("/tmp/foo", &st);
13772 rm -f conftest.
$ac_objext conftest
$ac_exeext
13773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13774 (eval $ac_link) 2>conftest.er1
13776 grep -v '^ *+' conftest.er1
>conftest.err
13778 cat conftest.err
>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } &&
13781 { ac_try
='test -z "$ac_c_werror_flag"
13782 || test ! -s conftest.err'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; } &&
13788 { ac_try
='test -s conftest$ac_exeext'
13789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790 (eval $ac_try) 2>&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; }; then
13794 bu_cv_have_stat64
="need -D_LARGEFILE64_SOURCE"
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.
$ac_ext >&5
13799 bu_cv_have_stat64
=no
13801 rm -f conftest.err conftest.
$ac_objext \
13802 conftest
$ac_exeext conftest.
$ac_ext
13803 CPPFLAGS
=$saved_CPPFLAGS
13805 rm -f conftest.err conftest.
$ac_objext \
13806 conftest
$ac_exeext conftest.
$ac_ext
13809 echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
13810 echo "${ECHO_T}$bu_cv_have_stat64" >&6
13811 if test "$bu_cv_have_stat64" != no
; then
13813 cat >>confdefs.h
<<\_ACEOF
13814 #define HAVE_STAT64 1
13818 if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
13819 ||
test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
13821 cat >>confdefs.h
<<\_ACEOF
13822 #define _LARGEFILE64_SOURCE 1
13825 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
13828 # Some systems have frexp only in -lm, not in -lc.
13829 echo "$as_me:$LINENO: checking for library containing frexp" >&5
13830 echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
13831 if test "${ac_cv_search_frexp+set}" = set; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13834 ac_func_search_save_LIBS
=$LIBS
13835 ac_cv_search_frexp
=no
13836 cat >conftest.
$ac_ext <<_ACEOF
13839 cat confdefs.h
>>conftest.
$ac_ext
13840 cat >>conftest.
$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13843 /* Override any gcc2 internal prototype to avoid an error. */
13847 /* We use char because int might match the return type of a gcc2
13848 builtin and then its argument prototype would still apply. */
13858 rm -f conftest.
$ac_objext conftest
$ac_exeext
13859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13860 (eval $ac_link) 2>conftest.er1
13862 grep -v '^ *+' conftest.er1
>conftest.err
13864 cat conftest.err
>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); } &&
13867 { ac_try
='test -z "$ac_c_werror_flag"
13868 || test ! -s conftest.err'
13869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13870 (eval $ac_try) 2>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); }; } &&
13874 { ac_try
='test -s conftest$ac_exeext'
13875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13876 (eval $ac_try) 2>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); }; }; then
13880 ac_cv_search_frexp
="none required"
13882 echo "$as_me: failed program was:" >&5
13883 sed 's/^/| /' conftest.
$ac_ext >&5
13886 rm -f conftest.err conftest.
$ac_objext \
13887 conftest
$ac_exeext conftest.
$ac_ext
13888 if test "$ac_cv_search_frexp" = no
; then
13889 for ac_lib
in m
; do
13890 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13891 cat >conftest.
$ac_ext <<_ACEOF
13894 cat confdefs.h
>>conftest.
$ac_ext
13895 cat >>conftest.
$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13898 /* Override any gcc2 internal prototype to avoid an error. */
13902 /* We use char because int might match the return type of a gcc2
13903 builtin and then its argument prototype would still apply. */
13913 rm -f conftest.
$ac_objext conftest
$ac_exeext
13914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13915 (eval $ac_link) 2>conftest.er1
13917 grep -v '^ *+' conftest.er1
>conftest.err
13919 cat conftest.err
>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); } &&
13922 { ac_try
='test -z "$ac_c_werror_flag"
13923 || test ! -s conftest.err'
13924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13925 (eval $ac_try) 2>&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); }; } &&
13929 { ac_try
='test -s conftest$ac_exeext'
13930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13931 (eval $ac_try) 2>&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); }; }; then
13935 ac_cv_search_frexp
="-l$ac_lib"
13938 echo "$as_me: failed program was:" >&5
13939 sed 's/^/| /' conftest.
$ac_ext >&5
13942 rm -f conftest.err conftest.
$ac_objext \
13943 conftest
$ac_exeext conftest.
$ac_ext
13946 LIBS
=$ac_func_search_save_LIBS
13948 echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
13949 echo "${ECHO_T}$ac_cv_search_frexp" >&6
13950 if test "$ac_cv_search_frexp" != no
; then
13951 test "$ac_cv_search_frexp" = "none required" || LIBS
="$ac_cv_search_frexp $LIBS"
13956 echo "$as_me:$LINENO: checking for time_t in time.h" >&5
13957 echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
13958 if test "${bu_cv_decl_time_t_time_h+set}" = set; then
13959 echo $ECHO_N "(cached) $ECHO_C" >&6
13961 cat >conftest.
$ac_ext <<_ACEOF
13964 cat confdefs.h
>>conftest.
$ac_ext
13965 cat >>conftest.
$ac_ext <<_ACEOF
13966 /* end confdefs.h. */
13976 rm -f conftest.
$ac_objext
13977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13978 (eval $ac_compile) 2>conftest.er1
13980 grep -v '^ *+' conftest.er1
>conftest.err
13982 cat conftest.err
>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); } &&
13985 { ac_try
='test -z "$ac_c_werror_flag"
13986 || test ! -s conftest.err'
13987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13988 (eval $ac_try) 2>&5
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); }; } &&
13992 { ac_try
='test -s conftest.$ac_objext'
13993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13994 (eval $ac_try) 2>&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); }; }; then
13998 bu_cv_decl_time_t_time_h
=yes
14000 echo "$as_me: failed program was:" >&5
14001 sed 's/^/| /' conftest.
$ac_ext >&5
14003 bu_cv_decl_time_t_time_h
=no
14005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14008 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
14009 echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
14010 if test $bu_cv_decl_time_t_time_h = yes; then
14012 cat >>confdefs.h
<<\_ACEOF
14013 #define HAVE_TIME_T_IN_TIME_H 1
14018 echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
14019 echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
14020 if test "${bu_cv_decl_time_t_types_h+set}" = set; then
14021 echo $ECHO_N "(cached) $ECHO_C" >&6
14023 cat >conftest.
$ac_ext <<_ACEOF
14026 cat confdefs.h
>>conftest.
$ac_ext
14027 cat >>conftest.
$ac_ext <<_ACEOF
14028 /* end confdefs.h. */
14029 #include <sys/types.h>
14038 rm -f conftest.
$ac_objext
14039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14040 (eval $ac_compile) 2>conftest.er1
14042 grep -v '^ *+' conftest.er1
>conftest.err
14044 cat conftest.err
>&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); } &&
14047 { ac_try
='test -z "$ac_c_werror_flag"
14048 || test ! -s conftest.err'
14049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14050 (eval $ac_try) 2>&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); }; } &&
14054 { ac_try
='test -s conftest.$ac_objext'
14055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14056 (eval $ac_try) 2>&5
14058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059 (exit $ac_status); }; }; then
14060 bu_cv_decl_time_t_types_h
=yes
14062 echo "$as_me: failed program was:" >&5
14063 sed 's/^/| /' conftest.
$ac_ext >&5
14065 bu_cv_decl_time_t_types_h
=no
14067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14070 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
14071 echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
14072 if test $bu_cv_decl_time_t_types_h = yes; then
14074 cat >>confdefs.h
<<\_ACEOF
14075 #define HAVE_TIME_T_IN_TYPES_H 1
14080 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
14081 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
14082 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
14083 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 cat >conftest.
$ac_ext <<_ACEOF
14088 cat confdefs.h
>>conftest.
$ac_ext
14089 cat >>conftest.
$ac_ext <<_ACEOF
14090 /* end confdefs.h. */
14091 #include <unistd.h>
14095 extern int getopt (int, char *const*, const char *);
14100 rm -f conftest.
$ac_objext
14101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14102 (eval $ac_compile) 2>conftest.er1
14104 grep -v '^ *+' conftest.er1
>conftest.err
14106 cat conftest.err
>&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } &&
14109 { ac_try
='test -z "$ac_c_werror_flag"
14110 || test ! -s conftest.err'
14111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14112 (eval $ac_try) 2>&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); }; } &&
14116 { ac_try
='test -s conftest.$ac_objext'
14117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14118 (eval $ac_try) 2>&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); }; }; then
14122 bu_cv_decl_getopt_unistd_h
=yes
14124 echo "$as_me: failed program was:" >&5
14125 sed 's/^/| /' conftest.
$ac_ext >&5
14127 bu_cv_decl_getopt_unistd_h
=no
14129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14132 echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
14133 echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
14134 if test $bu_cv_decl_getopt_unistd_h = yes; then
14136 cat >>confdefs.h
<<\_ACEOF
14137 #define HAVE_DECL_GETOPT 1
14142 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
14144 echo "$as_me:$LINENO: checking for utime.h" >&5
14145 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
14146 if test "${bu_cv_header_utime_h+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 cat >conftest.
$ac_ext <<_ACEOF
14152 cat confdefs.h
>>conftest.
$ac_ext
14153 cat >>conftest.
$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14155 #include <sys/types.h>
14168 rm -f conftest.
$ac_objext
14169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14170 (eval $ac_compile) 2>conftest.er1
14172 grep -v '^ *+' conftest.er1
>conftest.err
14174 cat conftest.err
>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } &&
14177 { ac_try
='test -z "$ac_c_werror_flag"
14178 || test ! -s conftest.err'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; } &&
14184 { ac_try
='test -s conftest.$ac_objext'
14185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186 (eval $ac_try) 2>&5
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 (exit $ac_status); }; }; then
14190 bu_cv_header_utime_h
=yes
14192 echo "$as_me: failed program was:" >&5
14193 sed 's/^/| /' conftest.
$ac_ext >&5
14195 bu_cv_header_utime_h
=no
14197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14200 echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
14201 echo "${ECHO_T}$bu_cv_header_utime_h" >&6
14202 if test $bu_cv_header_utime_h = yes; then
14204 cat >>confdefs.h
<<\_ACEOF
14205 #define HAVE_GOOD_UTIME_H 1
14210 echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
14211 echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
14212 if test "${ac_cv_have_decl_fprintf+set}" = set; then
14213 echo $ECHO_N "(cached) $ECHO_C" >&6
14215 cat >conftest.
$ac_ext <<_ACEOF
14218 cat confdefs.h
>>conftest.
$ac_ext
14219 cat >>conftest.
$ac_ext <<_ACEOF
14220 /* end confdefs.h. */
14221 $ac_includes_default
14226 char *p = (char *) fprintf;
14233 rm -f conftest.
$ac_objext
14234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14235 (eval $ac_compile) 2>conftest.er1
14237 grep -v '^ *+' conftest.er1
>conftest.err
14239 cat conftest.err
>&5
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); } &&
14242 { ac_try
='test -z "$ac_c_werror_flag"
14243 || test ! -s conftest.err'
14244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14245 (eval $ac_try) 2>&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); }; } &&
14249 { ac_try
='test -s conftest.$ac_objext'
14250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14251 (eval $ac_try) 2>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); }; }; then
14255 ac_cv_have_decl_fprintf
=yes
14257 echo "$as_me: failed program was:" >&5
14258 sed 's/^/| /' conftest.
$ac_ext >&5
14260 ac_cv_have_decl_fprintf
=no
14262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14264 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
14265 echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
14266 if test $ac_cv_have_decl_fprintf = yes; then
14268 cat >>confdefs.h
<<_ACEOF
14269 #define HAVE_DECL_FPRINTF 1
14274 cat >>confdefs.h
<<_ACEOF
14275 #define HAVE_DECL_FPRINTF 0
14280 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
14281 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
14282 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
14283 echo $ECHO_N "(cached) $ECHO_C" >&6
14285 cat >conftest.
$ac_ext <<_ACEOF
14288 cat confdefs.h
>>conftest.
$ac_ext
14289 cat >>conftest.
$ac_ext <<_ACEOF
14290 /* end confdefs.h. */
14291 $ac_includes_default
14296 char *p = (char *) stpcpy;
14303 rm -f conftest.
$ac_objext
14304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14305 (eval $ac_compile) 2>conftest.er1
14307 grep -v '^ *+' conftest.er1
>conftest.err
14309 cat conftest.err
>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); } &&
14312 { ac_try
='test -z "$ac_c_werror_flag"
14313 || test ! -s conftest.err'
14314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14315 (eval $ac_try) 2>&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); }; } &&
14319 { ac_try
='test -s conftest.$ac_objext'
14320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14321 (eval $ac_try) 2>&5
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); }; }; then
14325 ac_cv_have_decl_stpcpy
=yes
14327 echo "$as_me: failed program was:" >&5
14328 sed 's/^/| /' conftest.
$ac_ext >&5
14330 ac_cv_have_decl_stpcpy
=no
14332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14334 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
14335 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
14336 if test $ac_cv_have_decl_stpcpy = yes; then
14338 cat >>confdefs.h
<<_ACEOF
14339 #define HAVE_DECL_STPCPY 1
14344 cat >>confdefs.h
<<_ACEOF
14345 #define HAVE_DECL_STPCPY 0
14350 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
14351 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
14352 if test "${ac_cv_have_decl_strstr+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 cat >conftest.
$ac_ext <<_ACEOF
14358 cat confdefs.h
>>conftest.
$ac_ext
14359 cat >>conftest.
$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14361 $ac_includes_default
14366 char *p = (char *) strstr;
14373 rm -f conftest.
$ac_objext
14374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14375 (eval $ac_compile) 2>conftest.er1
14377 grep -v '^ *+' conftest.er1
>conftest.err
14379 cat conftest.err
>&5
14380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); } &&
14382 { ac_try
='test -z "$ac_c_werror_flag"
14383 || test ! -s conftest.err'
14384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14385 (eval $ac_try) 2>&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); }; } &&
14389 { ac_try
='test -s conftest.$ac_objext'
14390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14391 (eval $ac_try) 2>&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; }; then
14395 ac_cv_have_decl_strstr
=yes
14397 echo "$as_me: failed program was:" >&5
14398 sed 's/^/| /' conftest.
$ac_ext >&5
14400 ac_cv_have_decl_strstr
=no
14402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14404 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
14405 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
14406 if test $ac_cv_have_decl_strstr = yes; then
14408 cat >>confdefs.h
<<_ACEOF
14409 #define HAVE_DECL_STRSTR 1
14414 cat >>confdefs.h
<<_ACEOF
14415 #define HAVE_DECL_STRSTR 0
14420 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
14421 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
14422 if test "${ac_cv_have_decl_sbrk+set}" = set; then
14423 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 cat >conftest.
$ac_ext <<_ACEOF
14428 cat confdefs.h
>>conftest.
$ac_ext
14429 cat >>conftest.
$ac_ext <<_ACEOF
14430 /* end confdefs.h. */
14431 $ac_includes_default
14436 char *p = (char *) sbrk;
14443 rm -f conftest.
$ac_objext
14444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14445 (eval $ac_compile) 2>conftest.er1
14447 grep -v '^ *+' conftest.er1
>conftest.err
14449 cat conftest.err
>&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); } &&
14452 { ac_try
='test -z "$ac_c_werror_flag"
14453 || test ! -s conftest.err'
14454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14455 (eval $ac_try) 2>&5
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); }; } &&
14459 { ac_try
='test -s conftest.$ac_objext'
14460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14461 (eval $ac_try) 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; }; then
14465 ac_cv_have_decl_sbrk
=yes
14467 echo "$as_me: failed program was:" >&5
14468 sed 's/^/| /' conftest.
$ac_ext >&5
14470 ac_cv_have_decl_sbrk
=no
14472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14474 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
14475 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
14476 if test $ac_cv_have_decl_sbrk = yes; then
14478 cat >>confdefs.h
<<_ACEOF
14479 #define HAVE_DECL_SBRK 1
14484 cat >>confdefs.h
<<_ACEOF
14485 #define HAVE_DECL_SBRK 0
14490 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
14491 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
14492 if test "${ac_cv_have_decl_getenv+set}" = set; then
14493 echo $ECHO_N "(cached) $ECHO_C" >&6
14495 cat >conftest.
$ac_ext <<_ACEOF
14498 cat confdefs.h
>>conftest.
$ac_ext
14499 cat >>conftest.
$ac_ext <<_ACEOF
14500 /* end confdefs.h. */
14501 $ac_includes_default
14506 char *p = (char *) getenv;
14513 rm -f conftest.
$ac_objext
14514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14515 (eval $ac_compile) 2>conftest.er1
14517 grep -v '^ *+' conftest.er1
>conftest.err
14519 cat conftest.err
>&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); } &&
14522 { ac_try
='test -z "$ac_c_werror_flag"
14523 || test ! -s conftest.err'
14524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14525 (eval $ac_try) 2>&5
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); }; } &&
14529 { ac_try
='test -s conftest.$ac_objext'
14530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14531 (eval $ac_try) 2>&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); }; }; then
14535 ac_cv_have_decl_getenv
=yes
14537 echo "$as_me: failed program was:" >&5
14538 sed 's/^/| /' conftest.
$ac_ext >&5
14540 ac_cv_have_decl_getenv
=no
14542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14544 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
14545 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
14546 if test $ac_cv_have_decl_getenv = yes; then
14548 cat >>confdefs.h
<<_ACEOF
14549 #define HAVE_DECL_GETENV 1
14554 cat >>confdefs.h
<<_ACEOF
14555 #define HAVE_DECL_GETENV 0
14560 echo "$as_me:$LINENO: checking whether environ is declared" >&5
14561 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
14562 if test "${ac_cv_have_decl_environ+set}" = set; then
14563 echo $ECHO_N "(cached) $ECHO_C" >&6
14565 cat >conftest.
$ac_ext <<_ACEOF
14568 cat confdefs.h
>>conftest.
$ac_ext
14569 cat >>conftest.
$ac_ext <<_ACEOF
14570 /* end confdefs.h. */
14571 $ac_includes_default
14576 char *p = (char *) environ;
14583 rm -f conftest.
$ac_objext
14584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14585 (eval $ac_compile) 2>conftest.er1
14587 grep -v '^ *+' conftest.er1
>conftest.err
14589 cat conftest.err
>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } &&
14592 { ac_try
='test -z "$ac_c_werror_flag"
14593 || test ! -s conftest.err'
14594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14595 (eval $ac_try) 2>&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); }; } &&
14599 { ac_try
='test -s conftest.$ac_objext'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; }; then
14605 ac_cv_have_decl_environ
=yes
14607 echo "$as_me: failed program was:" >&5
14608 sed 's/^/| /' conftest.
$ac_ext >&5
14610 ac_cv_have_decl_environ
=no
14612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14614 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
14615 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
14616 if test $ac_cv_have_decl_environ = yes; then
14618 cat >>confdefs.h
<<_ACEOF
14619 #define HAVE_DECL_ENVIRON 1
14624 cat >>confdefs.h
<<_ACEOF
14625 #define HAVE_DECL_ENVIRON 0
14630 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
14631 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
14632 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
14633 echo $ECHO_N "(cached) $ECHO_C" >&6
14635 cat >conftest.
$ac_ext <<_ACEOF
14638 cat confdefs.h
>>conftest.
$ac_ext
14639 cat >>conftest.
$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14641 $ac_includes_default
14645 #ifndef getc_unlocked
14646 char *p = (char *) getc_unlocked;
14653 rm -f conftest.
$ac_objext
14654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14655 (eval $ac_compile) 2>conftest.er1
14657 grep -v '^ *+' conftest.er1
>conftest.err
14659 cat conftest.err
>&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); } &&
14662 { ac_try
='test -z "$ac_c_werror_flag"
14663 || test ! -s conftest.err'
14664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14665 (eval $ac_try) 2>&5
14667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668 (exit $ac_status); }; } &&
14669 { ac_try
='test -s conftest.$ac_objext'
14670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14671 (eval $ac_try) 2>&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); }; }; then
14675 ac_cv_have_decl_getc_unlocked
=yes
14677 echo "$as_me: failed program was:" >&5
14678 sed 's/^/| /' conftest.
$ac_ext >&5
14680 ac_cv_have_decl_getc_unlocked
=no
14682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14684 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
14685 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
14686 if test $ac_cv_have_decl_getc_unlocked = yes; then
14688 cat >>confdefs.h
<<_ACEOF
14689 #define HAVE_DECL_GETC_UNLOCKED 1
14694 cat >>confdefs.h
<<_ACEOF
14695 #define HAVE_DECL_GETC_UNLOCKED 0
14700 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
14701 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
14702 if test "${ac_cv_have_decl_snprintf+set}" = set; then
14703 echo $ECHO_N "(cached) $ECHO_C" >&6
14705 cat >conftest.
$ac_ext <<_ACEOF
14708 cat confdefs.h
>>conftest.
$ac_ext
14709 cat >>conftest.
$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14711 $ac_includes_default
14716 char *p = (char *) snprintf;
14723 rm -f conftest.
$ac_objext
14724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14725 (eval $ac_compile) 2>conftest.er1
14727 grep -v '^ *+' conftest.er1
>conftest.err
14729 cat conftest.err
>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); } &&
14732 { ac_try
='test -z "$ac_c_werror_flag"
14733 || test ! -s conftest.err'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; } &&
14739 { ac_try
='test -s conftest.$ac_objext'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; }; then
14745 ac_cv_have_decl_snprintf
=yes
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.
$ac_ext >&5
14750 ac_cv_have_decl_snprintf
=no
14752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14754 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
14755 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
14756 if test $ac_cv_have_decl_snprintf = yes; then
14758 cat >>confdefs.h
<<_ACEOF
14759 #define HAVE_DECL_SNPRINTF 1
14764 cat >>confdefs.h
<<_ACEOF
14765 #define HAVE_DECL_SNPRINTF 0
14770 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
14771 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
14772 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14775 cat >conftest.
$ac_ext <<_ACEOF
14778 cat confdefs.h
>>conftest.
$ac_ext
14779 cat >>conftest.
$ac_ext <<_ACEOF
14780 /* end confdefs.h. */
14781 $ac_includes_default
14786 char *p = (char *) vsnprintf;
14793 rm -f conftest.
$ac_objext
14794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14795 (eval $ac_compile) 2>conftest.er1
14797 grep -v '^ *+' conftest.er1
>conftest.err
14799 cat conftest.err
>&5
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); } &&
14802 { ac_try
='test -z "$ac_c_werror_flag"
14803 || test ! -s conftest.err'
14804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14805 (eval $ac_try) 2>&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); }; } &&
14809 { ac_try
='test -s conftest.$ac_objext'
14810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14811 (eval $ac_try) 2>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; }; then
14815 ac_cv_have_decl_vsnprintf
=yes
14817 echo "$as_me: failed program was:" >&5
14818 sed 's/^/| /' conftest.
$ac_ext >&5
14820 ac_cv_have_decl_vsnprintf
=no
14822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14824 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
14825 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
14826 if test $ac_cv_have_decl_vsnprintf = yes; then
14828 cat >>confdefs.h
<<_ACEOF
14829 #define HAVE_DECL_VSNPRINTF 1
14834 cat >>confdefs.h
<<_ACEOF
14835 #define HAVE_DECL_VSNPRINTF 0
14843 # Link in zlib if we can. This allows us to read compressed debug
14844 # sections. This is used only by readelf.c (objdump uses bfd for
14845 # reading compressed sections).
14846 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
14847 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
14848 if test "${ac_cv_search_zlibVersion+set}" = set; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14851 ac_func_search_save_LIBS
=$LIBS
14852 ac_cv_search_zlibVersion
=no
14853 cat >conftest.
$ac_ext <<_ACEOF
14856 cat confdefs.h
>>conftest.
$ac_ext
14857 cat >>conftest.
$ac_ext <<_ACEOF
14858 /* end confdefs.h. */
14860 /* Override any gcc2 internal prototype to avoid an error. */
14864 /* We use char because int might match the return type of a gcc2
14865 builtin and then its argument prototype would still apply. */
14866 char zlibVersion ();
14875 rm -f conftest.
$ac_objext conftest
$ac_exeext
14876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14877 (eval $ac_link) 2>conftest.er1
14879 grep -v '^ *+' conftest.er1
>conftest.err
14881 cat conftest.err
>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } &&
14884 { ac_try
='test -z "$ac_c_werror_flag"
14885 || test ! -s conftest.err'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; } &&
14891 { ac_try
='test -s conftest$ac_exeext'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14897 ac_cv_search_zlibVersion
="none required"
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.
$ac_ext >&5
14903 rm -f conftest.err conftest.
$ac_objext \
14904 conftest
$ac_exeext conftest.
$ac_ext
14905 if test "$ac_cv_search_zlibVersion" = no
; then
14906 for ac_lib
in z
; do
14907 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14908 cat >conftest.
$ac_ext <<_ACEOF
14911 cat confdefs.h
>>conftest.
$ac_ext
14912 cat >>conftest.
$ac_ext <<_ACEOF
14913 /* end confdefs.h. */
14915 /* Override any gcc2 internal prototype to avoid an error. */
14919 /* We use char because int might match the return type of a gcc2
14920 builtin and then its argument prototype would still apply. */
14921 char zlibVersion ();
14930 rm -f conftest.
$ac_objext conftest
$ac_exeext
14931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14932 (eval $ac_link) 2>conftest.er1
14934 grep -v '^ *+' conftest.er1
>conftest.err
14936 cat conftest.err
>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try
='test -z "$ac_c_werror_flag"
14940 || test ! -s conftest.err'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; } &&
14946 { ac_try
='test -s conftest$ac_exeext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14952 ac_cv_search_zlibVersion
="-l$ac_lib"
14955 echo "$as_me: failed program was:" >&5
14956 sed 's/^/| /' conftest.
$ac_ext >&5
14959 rm -f conftest.err conftest.
$ac_objext \
14960 conftest
$ac_exeext conftest.
$ac_ext
14963 LIBS
=$ac_func_search_save_LIBS
14965 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
14966 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
14967 if test "$ac_cv_search_zlibVersion" != no
; then
14968 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
14970 for ac_header
in zlib.h
14972 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14974 echo "$as_me:$LINENO: checking for $ac_header" >&5
14975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14977 echo $ECHO_N "(cached) $ECHO_C" >&6
14979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14982 # Is the header compilable?
14983 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14984 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14985 cat >conftest.
$ac_ext <<_ACEOF
14988 cat confdefs.h
>>conftest.
$ac_ext
14989 cat >>conftest.
$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 $ac_includes_default
14992 #include <$ac_header>
14994 rm -f conftest.
$ac_objext
14995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14996 (eval $ac_compile) 2>conftest.er1
14998 grep -v '^ *+' conftest.er1
>conftest.err
15000 cat conftest.err
>&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } &&
15003 { ac_try
='test -z "$ac_c_werror_flag"
15004 || test ! -s conftest.err'
15005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15006 (eval $ac_try) 2>&5
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); }; } &&
15010 { ac_try
='test -s conftest.$ac_objext'
15011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15012 (eval $ac_try) 2>&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); }; }; then
15016 ac_header_compiler
=yes
15018 echo "$as_me: failed program was:" >&5
15019 sed 's/^/| /' conftest.
$ac_ext >&5
15021 ac_header_compiler
=no
15023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15025 echo "${ECHO_T}$ac_header_compiler" >&6
15027 # Is the header present?
15028 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15029 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15030 cat >conftest.
$ac_ext <<_ACEOF
15033 cat confdefs.h
>>conftest.
$ac_ext
15034 cat >>conftest.
$ac_ext <<_ACEOF
15035 /* end confdefs.h. */
15036 #include <$ac_header>
15038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15039 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15041 grep -v '^ *+' conftest.er1
>conftest.err
15043 cat conftest.err
>&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); } >/dev
/null
; then
15046 if test -s conftest.err
; then
15047 ac_cpp_err
=$ac_c_preproc_warn_flag
15048 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15055 if test -z "$ac_cpp_err"; then
15056 ac_header_preproc
=yes
15058 echo "$as_me: failed program was:" >&5
15059 sed 's/^/| /' conftest.
$ac_ext >&5
15061 ac_header_preproc
=no
15063 rm -f conftest.err conftest.
$ac_ext
15064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15065 echo "${ECHO_T}$ac_header_preproc" >&6
15067 # So? What about this header?
15068 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15070 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15071 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15073 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15074 ac_header_preproc
=yes
15077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15081 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15082 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15083 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15084 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15087 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15088 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15091 ## ------------------------------------------ ##
15092 ## Report this to the AC_PACKAGE_NAME lists. ##
15093 ## ------------------------------------------ ##
15096 sed "s/^/$as_me: WARNING: /" >&2
15099 echo "$as_me:$LINENO: checking for $ac_header" >&5
15100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15102 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 eval "$as_ac_Header=\$ac_header_preproc"
15106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15111 cat >>confdefs.h
<<_ACEOF
15112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15124 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
15126 cat >>confdefs.h
<<\_ACEOF
15127 #define USE_BINARY_FOPEN 1
15132 # target-specific stuff:
15134 # Canonicalize the secondary target names.
15135 if test -n "$enable_targets"; then
15136 for targ
in `echo $enable_targets | sed 's/,/ /g'`
15138 result
=`$ac_config_sub $targ 2>/dev/null`
15139 if test -n "$result"; then
15140 canon_targets
="$canon_targets $result"
15142 # Allow targets that config.sub doesn't recognize, like "all".
15143 canon_targets
="$canon_targets $targ"
15148 if test "${ac_cv_header_iconv_h+set}" = set; then
15149 echo "$as_me:$LINENO: checking for iconv.h" >&5
15150 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
15151 if test "${ac_cv_header_iconv_h+set}" = set; then
15152 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
15155 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
15157 # Is the header compilable?
15158 echo "$as_me:$LINENO: checking iconv.h usability" >&5
15159 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
15160 cat >conftest.
$ac_ext <<_ACEOF
15163 cat confdefs.h
>>conftest.
$ac_ext
15164 cat >>conftest.
$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15166 $ac_includes_default
15169 rm -f conftest.
$ac_objext
15170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15171 (eval $ac_compile) 2>conftest.er1
15173 grep -v '^ *+' conftest.er1
>conftest.err
15175 cat conftest.err
>&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); } &&
15178 { ac_try
='test -z "$ac_c_werror_flag"
15179 || test ! -s conftest.err'
15180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15181 (eval $ac_try) 2>&5
15183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15184 (exit $ac_status); }; } &&
15185 { ac_try
='test -s conftest.$ac_objext'
15186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15187 (eval $ac_try) 2>&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); }; }; then
15191 ac_header_compiler
=yes
15193 echo "$as_me: failed program was:" >&5
15194 sed 's/^/| /' conftest.
$ac_ext >&5
15196 ac_header_compiler
=no
15198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15200 echo "${ECHO_T}$ac_header_compiler" >&6
15202 # Is the header present?
15203 echo "$as_me:$LINENO: checking iconv.h presence" >&5
15204 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
15205 cat >conftest.
$ac_ext <<_ACEOF
15208 cat confdefs.h
>>conftest.
$ac_ext
15209 cat >>conftest.
$ac_ext <<_ACEOF
15210 /* end confdefs.h. */
15213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15216 grep -v '^ *+' conftest.er1
>conftest.err
15218 cat conftest.err
>&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); } >/dev
/null
; then
15221 if test -s conftest.err
; then
15222 ac_cpp_err
=$ac_c_preproc_warn_flag
15223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15230 if test -z "$ac_cpp_err"; then
15231 ac_header_preproc
=yes
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.
$ac_ext >&5
15236 ac_header_preproc
=no
15238 rm -f conftest.err conftest.
$ac_ext
15239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15240 echo "${ECHO_T}$ac_header_preproc" >&6
15242 # So? What about this header?
15243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15245 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
15246 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15247 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
15248 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
15249 ac_header_preproc
=yes
15252 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
15253 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
15254 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
15255 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
15256 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
15257 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
15258 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
15259 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
15260 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
15261 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
15262 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
15263 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
15266 ## ------------------------------------------ ##
15267 ## Report this to the AC_PACKAGE_NAME lists. ##
15268 ## ------------------------------------------ ##
15271 sed "s/^/$as_me: WARNING: /" >&2
15274 echo "$as_me:$LINENO: checking for iconv.h" >&5
15275 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
15276 if test "${ac_cv_header_iconv_h+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 ac_cv_header_iconv_h
=$ac_header_preproc
15281 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
15282 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
15288 if test "X$prefix" = "XNONE"; then
15289 acl_final_prefix
="$ac_default_prefix"
15291 acl_final_prefix
="$prefix"
15293 if test "X$exec_prefix" = "XNONE"; then
15294 acl_final_exec_prefix
='${prefix}'
15296 acl_final_exec_prefix
="$exec_prefix"
15298 acl_save_prefix
="$prefix"
15299 prefix
="$acl_final_prefix"
15300 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
15301 prefix
="$acl_save_prefix"
15304 # Check whether --with-gnu-ld or --without-gnu-ld was given.
15305 if test "${with_gnu_ld+set}" = set; then
15306 withval
="$with_gnu_ld"
15307 test "$withval" = no || with_gnu_ld
=yes
15311 # Prepare PATH_SEPARATOR.
15312 # The user is always right.
15313 if test "${PATH_SEPARATOR+set}" != set; then
15314 echo "#! /bin/sh" >conf$$.sh
15315 echo "exit 0" >>conf$$.sh
15317 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15325 if test "$GCC" = yes; then
15326 # Check if gcc -print-prog-name=ld gives a path.
15327 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
15328 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
15331 # gcc leaves a trailing carriage return which upsets mingw
15332 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15334 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15337 # Accept absolute paths.
15338 [\\/]* |
[A-Za-z
]:[\\/]*)
15339 re_direlt
='/[^/][^/]*/\.\./'
15340 # Canonicalize the path of ld
15341 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
15342 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
15343 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
15345 test -z "$LD" && LD
="$ac_prog"
15348 # If it fails, then pretend we aren't using GCC.
15352 # If it is relative, then search for the first ld in PATH.
15353 with_gnu_ld
=unknown
15356 elif test "$with_gnu_ld" = yes; then
15357 echo "$as_me:$LINENO: checking for GNU ld" >&5
15358 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
15360 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
15361 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
15363 if test "${acl_cv_path_LD+set}" = set; then
15364 echo $ECHO_N "(cached) $ECHO_C" >&6
15366 if test -z "$LD"; then
15367 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
15368 for ac_dir
in $PATH; do
15369 test -z "$ac_dir" && ac_dir
=.
15370 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15371 acl_cv_path_LD
="$ac_dir/$ac_prog"
15372 # Check to see if the program is GNU ld. I'd rather use --version,
15373 # but apparently some GNU ld's only accept -v.
15374 # Break only if it was the GNU/non-GNU ld that we prefer.
15375 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
15376 test "$with_gnu_ld" != no
&& break
15378 test "$with_gnu_ld" != yes && break
15384 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
15388 LD
="$acl_cv_path_LD"
15389 if test -n "$LD"; then
15390 echo "$as_me:$LINENO: result: $LD" >&5
15391 echo "${ECHO_T}$LD" >&6
15393 echo "$as_me:$LINENO: result: no" >&5
15394 echo "${ECHO_T}no" >&6
15396 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
15397 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
15398 { (exit 1); exit 1; }; }
15399 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
15400 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
15401 if test "${acl_cv_prog_gnu_ld+set}" = set; then
15402 echo $ECHO_N "(cached) $ECHO_C" >&6
15404 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15405 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
15406 acl_cv_prog_gnu_ld
=yes
15408 acl_cv_prog_gnu_ld
=no
15411 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
15412 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
15413 with_gnu_ld
=$acl_cv_prog_gnu_ld
15417 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
15418 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
15419 if test "${acl_cv_rpath+set}" = set; then
15420 echo $ECHO_N "(cached) $ECHO_C" >&6
15423 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
15424 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
15426 rm -f .
/conftest.sh
15430 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
15431 echo "${ECHO_T}$acl_cv_rpath" >&6
15433 libext
="$acl_cv_libext"
15434 shlibext
="$acl_cv_shlibext"
15435 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
15436 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
15437 hardcode_direct
="$acl_cv_hardcode_direct"
15438 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
15439 # Check whether --enable-rpath or --disable-rpath was given.
15440 if test "${enable_rpath+set}" = set; then
15441 enableval
="$enable_rpath"
15455 acl_save_prefix
="$prefix"
15456 prefix
="$acl_final_prefix"
15457 acl_save_exec_prefix
="$exec_prefix"
15458 exec_prefix
="$acl_final_exec_prefix"
15460 eval additional_includedir
=\"$includedir\"
15461 eval additional_libdir
=\"$libdir\"
15463 exec_prefix
="$acl_save_exec_prefix"
15464 prefix
="$acl_save_prefix"
15467 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15468 if test "${with_libiconv_prefix+set}" = set; then
15469 withval
="$with_libiconv_prefix"
15471 if test "X$withval" = "Xno"; then
15474 if test "X$withval" = "X"; then
15476 acl_save_prefix
="$prefix"
15477 prefix
="$acl_final_prefix"
15478 acl_save_exec_prefix
="$exec_prefix"
15479 exec_prefix
="$acl_final_exec_prefix"
15481 eval additional_includedir
=\"$includedir\"
15482 eval additional_libdir
=\"$libdir\"
15484 exec_prefix
="$acl_save_exec_prefix"
15485 prefix
="$acl_save_prefix"
15488 additional_includedir
="$withval/include"
15489 additional_libdir
="$withval/lib"
15499 names_already_handled
=
15500 names_next_round
='iconv '
15501 while test -n "$names_next_round"; do
15502 names_this_round
="$names_next_round"
15504 for name
in $names_this_round; do
15506 for n
in $names_already_handled; do
15507 if test "$n" = "$name"; then
15508 already_handled
=yes
15512 if test -z "$already_handled"; then
15513 names_already_handled
="$names_already_handled $name"
15514 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15515 eval value
=\"\
$HAVE_LIB$uppername\"
15516 if test -n "$value"; then
15517 if test "$value" = yes; then
15518 eval value
=\"\
$LIB$uppername\"
15519 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
15520 eval value
=\"\
$LTLIB$uppername\"
15521 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
15530 if test $use_additional = yes; then
15531 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
15532 found_dir
="$additional_libdir"
15533 found_so
="$additional_libdir/lib$name.$shlibext"
15534 if test -f "$additional_libdir/lib$name.la"; then
15535 found_la
="$additional_libdir/lib$name.la"
15538 if test -f "$additional_libdir/lib$name.$libext"; then
15539 found_dir
="$additional_libdir"
15540 found_a
="$additional_libdir/lib$name.$libext"
15541 if test -f "$additional_libdir/lib$name.la"; then
15542 found_la
="$additional_libdir/lib$name.la"
15547 if test "X$found_dir" = "X"; then
15548 for x
in $LDFLAGS $LTLIBICONV; do
15550 acl_save_prefix
="$prefix"
15551 prefix
="$acl_final_prefix"
15552 acl_save_exec_prefix
="$exec_prefix"
15553 exec_prefix
="$acl_final_exec_prefix"
15555 exec_prefix
="$acl_save_exec_prefix"
15556 prefix
="$acl_save_prefix"
15560 dir
=`echo "X$x" | sed -e 's/^X-L//'`
15561 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
15563 found_so
="$dir/lib$name.$shlibext"
15564 if test -f "$dir/lib$name.la"; then
15565 found_la
="$dir/lib$name.la"
15568 if test -f "$dir/lib$name.$libext"; then
15570 found_a
="$dir/lib$name.$libext"
15571 if test -f "$dir/lib$name.la"; then
15572 found_la
="$dir/lib$name.la"
15578 if test "X$found_dir" != "X"; then
15583 if test "X$found_dir" != "X"; then
15584 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15585 if test "X$found_so" != "X"; then
15586 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
15587 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15590 for x
in $ltrpathdirs; do
15591 if test "X$x" = "X$found_dir"; then
15596 if test -z "$haveit"; then
15597 ltrpathdirs
="$ltrpathdirs $found_dir"
15599 if test "$hardcode_direct" = yes; then
15600 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15602 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
15603 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15605 for x
in $rpathdirs; do
15606 if test "X$x" = "X$found_dir"; then
15611 if test -z "$haveit"; then
15612 rpathdirs
="$rpathdirs $found_dir"
15616 for x
in $LDFLAGS $LIBICONV; do
15618 acl_save_prefix
="$prefix"
15619 prefix
="$acl_final_prefix"
15620 acl_save_exec_prefix
="$exec_prefix"
15621 exec_prefix
="$acl_final_exec_prefix"
15623 exec_prefix
="$acl_save_exec_prefix"
15624 prefix
="$acl_save_prefix"
15626 if test "X$x" = "X-L$found_dir"; then
15631 if test -z "$haveit"; then
15632 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15634 if test "$hardcode_minus_L" != no
; then
15635 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15637 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
15643 if test "X$found_a" != "X"; then
15644 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
15646 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15649 additional_includedir
=
15650 case "$found_dir" in
15652 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
15653 additional_includedir
="$basedir/include"
15656 if test "X$additional_includedir" != "X"; then
15657 if test "X$additional_includedir" != "X/usr/include"; then
15659 if test "X$additional_includedir" = "X/usr/local/include"; then
15660 if test -n "$GCC"; then
15662 linux
*) haveit
=yes;;
15666 if test -z "$haveit"; then
15667 for x
in $CPPFLAGS $INCICONV; do
15669 acl_save_prefix
="$prefix"
15670 prefix
="$acl_final_prefix"
15671 acl_save_exec_prefix
="$exec_prefix"
15672 exec_prefix
="$acl_final_exec_prefix"
15674 exec_prefix
="$acl_save_exec_prefix"
15675 prefix
="$acl_save_prefix"
15677 if test "X$x" = "X-I$additional_includedir"; then
15682 if test -z "$haveit"; then
15683 if test -d "$additional_includedir"; then
15684 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15690 if test -n "$found_la"; then
15691 save_libdir
="$libdir"
15692 case "$found_la" in
15693 */* |
*\\*) .
"$found_la" ;;
15694 *) .
"./$found_la" ;;
15696 libdir
="$save_libdir"
15697 for dep
in $dependency_libs; do
15700 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
15701 if test "X$additional_libdir" != "X/usr/lib"; then
15703 if test "X$additional_libdir" = "X/usr/local/lib"; then
15704 if test -n "$GCC"; then
15706 linux
*) haveit
=yes;;
15710 if test -z "$haveit"; then
15712 for x
in $LDFLAGS $LIBICONV; do
15714 acl_save_prefix
="$prefix"
15715 prefix
="$acl_final_prefix"
15716 acl_save_exec_prefix
="$exec_prefix"
15717 exec_prefix
="$acl_final_exec_prefix"
15719 exec_prefix
="$acl_save_exec_prefix"
15720 prefix
="$acl_save_prefix"
15722 if test "X$x" = "X-L$additional_libdir"; then
15727 if test -z "$haveit"; then
15728 if test -d "$additional_libdir"; then
15729 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15733 for x
in $LDFLAGS $LTLIBICONV; do
15735 acl_save_prefix
="$prefix"
15736 prefix
="$acl_final_prefix"
15737 acl_save_exec_prefix
="$exec_prefix"
15738 exec_prefix
="$acl_final_exec_prefix"
15740 exec_prefix
="$acl_save_exec_prefix"
15741 prefix
="$acl_save_prefix"
15743 if test "X$x" = "X-L$additional_libdir"; then
15748 if test -z "$haveit"; then
15749 if test -d "$additional_libdir"; then
15750 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15757 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15758 if test "$enable_rpath" != no
; then
15760 for x
in $rpathdirs; do
15761 if test "X$x" = "X$dir"; then
15766 if test -z "$haveit"; then
15767 rpathdirs
="$rpathdirs $dir"
15770 for x
in $ltrpathdirs; do
15771 if test "X$x" = "X$dir"; then
15776 if test -z "$haveit"; then
15777 ltrpathdirs
="$ltrpathdirs $dir"
15782 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15785 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15788 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
15789 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15795 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
15796 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15802 if test "X$rpathdirs" != "X"; then
15803 if test -n "$hardcode_libdir_separator"; then
15805 for found_dir
in $rpathdirs; do
15806 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
15808 acl_save_libdir
="$libdir"
15810 eval flag
=\"$hardcode_libdir_flag_spec\"
15811 libdir
="$acl_save_libdir"
15812 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15814 for found_dir
in $rpathdirs; do
15815 acl_save_libdir
="$libdir"
15816 libdir
="$found_dir"
15817 eval flag
=\"$hardcode_libdir_flag_spec\"
15818 libdir
="$acl_save_libdir"
15819 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15823 if test "X$ltrpathdirs" != "X"; then
15824 for found_dir
in $ltrpathdirs; do
15825 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15835 am_save_CPPFLAGS
="$CPPFLAGS"
15837 for element
in $INCICONV; do
15839 for x
in $CPPFLAGS; do
15841 acl_save_prefix
="$prefix"
15842 prefix
="$acl_final_prefix"
15843 acl_save_exec_prefix
="$exec_prefix"
15844 exec_prefix
="$acl_final_exec_prefix"
15846 exec_prefix
="$acl_save_exec_prefix"
15847 prefix
="$acl_save_prefix"
15849 if test "X$x" = "X$element"; then
15854 if test -z "$haveit"; then
15855 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15860 echo "$as_me:$LINENO: checking for iconv" >&5
15861 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
15862 if test "${am_cv_func_iconv+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 am_cv_func_iconv
="no, consider installing GNU libiconv"
15868 cat >conftest.
$ac_ext <<_ACEOF
15871 cat confdefs.h
>>conftest.
$ac_ext
15872 cat >>conftest.
$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15874 #include <stdlib.h>
15879 iconv_t cd = iconv_open("","");
15880 iconv(cd,NULL,NULL,NULL,NULL);
15886 rm -f conftest.
$ac_objext conftest
$ac_exeext
15887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15888 (eval $ac_link) 2>conftest.er1
15890 grep -v '^ *+' conftest.er1
>conftest.err
15892 cat conftest.err
>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } &&
15895 { ac_try
='test -z "$ac_c_werror_flag"
15896 || test ! -s conftest.err'
15897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898 (eval $ac_try) 2>&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; } &&
15902 { ac_try
='test -s conftest$ac_exeext'
15903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15904 (eval $ac_try) 2>&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); }; }; then
15908 am_cv_func_iconv
=yes
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.
$ac_ext >&5
15914 rm -f conftest.err conftest.
$ac_objext \
15915 conftest
$ac_exeext conftest.
$ac_ext
15916 if test "$am_cv_func_iconv" != yes; then
15917 am_save_LIBS
="$LIBS"
15918 LIBS
="$LIBS $LIBICONV"
15919 cat >conftest.
$ac_ext <<_ACEOF
15922 cat confdefs.h
>>conftest.
$ac_ext
15923 cat >>conftest.
$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15925 #include <stdlib.h>
15930 iconv_t cd = iconv_open("","");
15931 iconv(cd,NULL,NULL,NULL,NULL);
15937 rm -f conftest.
$ac_objext conftest
$ac_exeext
15938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15939 (eval $ac_link) 2>conftest.er1
15941 grep -v '^ *+' conftest.er1
>conftest.err
15943 cat conftest.err
>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } &&
15946 { ac_try
='test -z "$ac_c_werror_flag"
15947 || test ! -s conftest.err'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; } &&
15953 { ac_try
='test -s conftest$ac_exeext'
15954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15955 (eval $ac_try) 2>&5
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; }; then
15959 am_cv_lib_iconv
=yes
15960 am_cv_func_iconv
=yes
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.
$ac_ext >&5
15966 rm -f conftest.err conftest.
$ac_objext \
15967 conftest
$ac_exeext conftest.
$ac_ext
15968 LIBS
="$am_save_LIBS"
15972 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
15973 echo "${ECHO_T}$am_cv_func_iconv" >&6
15974 if test "$am_cv_func_iconv" = yes; then
15976 cat >>confdefs.h
<<\_ACEOF
15977 #define HAVE_ICONV 1
15981 if test "$am_cv_lib_iconv" = yes; then
15982 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
15983 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
15984 echo "$as_me:$LINENO: result: $LIBICONV" >&5
15985 echo "${ECHO_T}$LIBICONV" >&6
15987 CPPFLAGS
="$am_save_CPPFLAGS"
15994 if test "$am_cv_func_iconv" = yes; then
15995 echo "$as_me:$LINENO: checking for iconv declaration" >&5
15996 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
15997 if test "${am_cv_proto_iconv+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
16001 cat >conftest.
$ac_ext <<_ACEOF
16004 cat confdefs.h
>>conftest.
$ac_ext
16005 cat >>conftest.
$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16008 #include <stdlib.h>
16014 #if defined(__STDC__) || defined(__cplusplus)
16015 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16028 rm -f conftest.
$ac_objext
16029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16030 (eval $ac_compile) 2>conftest.er1
16032 grep -v '^ *+' conftest.er1
>conftest.err
16034 cat conftest.err
>&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } &&
16037 { ac_try
='test -z "$ac_c_werror_flag"
16038 || test ! -s conftest.err'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; } &&
16044 { ac_try
='test -s conftest.$ac_objext'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; }; then
16050 am_cv_proto_iconv_arg1
=""
16052 echo "$as_me: failed program was:" >&5
16053 sed 's/^/| /' conftest.
$ac_ext >&5
16055 am_cv_proto_iconv_arg1
="const"
16057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16058 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);"
16061 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
16062 echo "$as_me:$LINENO: result: ${ac_t:-
16063 }$am_cv_proto_iconv" >&5
16064 echo "${ECHO_T}${ac_t:-
16065 }$am_cv_proto_iconv" >&6
16067 cat >>confdefs.h
<<_ACEOF
16068 #define ICONV_CONST $am_cv_proto_iconv_arg1
16085 BUILD_INSTALL_MISC
=
16088 for targ
in $target $canon_targets
16090 if test "x$targ" = "xall"; then
16092 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
16093 BUILD_SRCONV
='$(SRCONV_PROG)'
16094 NLMCONV_DEFS
="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
16095 BUILD_MISC
="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
16096 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
16097 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
16098 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
16099 if test -z "$DLLTOOL_DEFAULT"; then
16100 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
16102 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
16103 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
16106 i
[3-7]86*-*-netware*)
16107 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
16108 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_I386"
16111 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
16112 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_ALPHA"
16114 powerpc
*-*-netware*)
16115 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
16116 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_POWERPC"
16119 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
16120 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_SPARC"
16124 *-*-hms*) BUILD_SRCONV
='$(SRCONV_PROG)' ;;
16128 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
16129 if test -z "$DLLTOOL_DEFAULT"; then
16130 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_EPOC"
16132 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
16133 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
16134 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
16136 arm-wince-pe
* | arm-
*-wince | arm
*-*-cegcc* | arm
*-*-mingw32ce*)
16137 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
16138 if test -z "$DLLTOOL_DEFAULT"; then
16139 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_WINCE"
16141 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_WINCE -DDLLTOOL_ARM"
16142 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
16143 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
16146 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
16147 if test -z "$DLLTOOL_DEFAULT"; then
16148 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
16150 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
16151 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
16152 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
16155 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
16156 if test -z "$DLLTOOL_DEFAULT"; then
16157 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
16159 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
16160 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
16161 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
16164 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
16165 if test -z "$DLLTOOL_DEFAULT"; then
16166 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MX86_64"
16168 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MX86_64"
16169 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
16170 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
16171 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
16173 i
[3-7]86-*-pe* | i
[3-7]86-*-cygwin* | i
[3-7]86-*-mingw32** | i
[3-7]86-*-netbsdpe*)
16174 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
16175 if test -z "$DLLTOOL_DEFAULT"; then
16176 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
16178 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
16179 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
16180 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
16181 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
16183 i
[3-7]86-*-interix)
16184 BUILD_DLLTOOL
='$(DLLTOOL_PROG)'
16185 if test -z "$DLLTOOL_DEFAULT"; then
16186 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
16188 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
16190 powerpc
*-aix5.
[01])
16192 powerpc
*-aix[5-9].
*)
16193 OBJDUMP_DEFS
="-DAIX_WEAK_SUPPORT"
16195 powerpc
*-*-pe* | powerpc
*-*-cygwin*)
16196 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
16197 if test -z "$DLLTOOL_DEFAULT"; then
16198 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_PPC"
16200 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_PPC"
16201 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
16202 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
16204 powerpc
*-*-linux* | powerpc
*-*-elf* | powerpc
*-*-eabi*)
16205 BUILD_INSTALL_MISC
="${BUILD_INSTALL_MISC} embedspu"
16208 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
16209 if test -z "$DLLTOOL_DEFAULT"; then
16210 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_SH"
16212 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_SH"
16213 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
16214 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
16217 BUILD_MISC
="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
16220 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
16221 if test -z "$DLLTOOL_DEFAULT"; then
16222 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MIPS"
16224 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
16225 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
16226 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
16229 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
16230 if test -z "$DLLTOOL_DEFAULT"; then
16231 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE"
16233 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
16234 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
16235 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
16238 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
16239 if test -z "$DLLTOOL_DEFAULT"; then
16240 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE_ELF"
16242 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
16245 OBJDUMP_DEFS
="-DSKIP_ZEROES=256 -DSKIP_ZEROES_AT_END=0"
16251 DLLTOOL_DEFS
="$DLLTOOL_DEFS $DLLTOOL_DEFAULT"
16253 if test "${with_windres+set}" = set; then
16254 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
16257 if test "${with_windmc+set}" = set; then
16258 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
16274 cat >>confdefs.h
<<_ACEOF
16275 #define TARGET "${target}"
16280 .
$srcdir/..
/bfd
/config.bfd
16281 if test "x$targ_underscore" = "xyes"; then
16287 cat >>confdefs.h
<<_ACEOF
16288 #define TARGET_PREPENDS_UNDERSCORE $UNDERSCORE
16293 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
16295 # Canonicalize the secondary target names.
16296 result
=`$ac_config_sub $targ_alias 2>/dev/null`
16297 if test -n "$result"; then
16303 .
${srcdir}/configure.tgt
16305 EMULATION
=$targ_emul
16306 EMULATION_VECTOR
=$targ_emul_vector
16312 # Required for html and install-html
16318 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
16320 cat >confcache
<<\_ACEOF
16321 # This file is a shell script that caches the results of configure
16322 # tests run on this system so they can be shared between configure
16323 # scripts and configure runs, see configure's option --config-cache.
16324 # It is not useful on other systems. If it contains results you don't
16325 # want to keep, you may remove or edit it.
16327 # config.status only pays attention to the cache file if you give it
16328 # the --recheck option to rerun configure.
16330 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16331 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16332 # following values.
16336 # The following way of writing the cache mishandles newlines in values,
16337 # but we know of no workaround that is simple, portable, and efficient.
16338 # So, don't put newlines in cache variables' values.
16339 # Ultrix sh set writes to stderr and can't be redirected directly,
16340 # and sets the high bit in the cache file unless we assign to the vars.
16343 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16345 # `set' does not quote correctly, so add quotes (double-quote
16346 # substitution turns \\\\ into \\, and sed turns \\ into \).
16349 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16352 # `set' quotes correctly as required by POSIX, so do not add quotes.
16354 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16361 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16363 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16365 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16366 if test -w $cache_file; then
16367 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16368 cat confcache
>$cache_file
16370 echo "not updating unwritable cache $cache_file"
16375 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16376 # Let make expand exec_prefix.
16377 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16379 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16380 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16381 # trailing colons and then remove the whole line if VPATH becomes empty
16382 # (actually we leave an empty line to preserve line numbers).
16383 if test "x$srcdir" = x.
; then
16384 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16385 s/:*\$(srcdir):*/:/;
16386 s/:*\${srcdir}:*/:/;
16388 s/^\([^=]*=[ ]*\):*/\1/;
16394 DEFS
=-DHAVE_CONFIG_H
16398 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16399 # 1. Remove the extension, and $U if already installed.
16400 ac_i
=`echo "$ac_i" |
16401 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16403 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16404 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16406 LIBOBJS
=$ac_libobjs
16408 LTLIBOBJS
=$ac_ltlibobjs
16411 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16412 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16413 Usually this means the macro was only invoked conditionally." >&5
16414 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16415 Usually this means the macro was only invoked conditionally." >&2;}
16416 { (exit 1); exit 1; }; }
16418 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16419 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16420 Usually this means the macro was only invoked conditionally." >&5
16421 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16422 Usually this means the macro was only invoked conditionally." >&2;}
16423 { (exit 1); exit 1; }; }
16425 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16426 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16427 Usually this means the macro was only invoked conditionally." >&5
16428 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16429 Usually this means the macro was only invoked conditionally." >&2;}
16430 { (exit 1); exit 1; }; }
16432 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
16433 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
16434 Usually this means the macro was only invoked conditionally." >&5
16435 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
16436 Usually this means the macro was only invoked conditionally." >&2;}
16437 { (exit 1); exit 1; }; }
16440 : ${CONFIG_STATUS=./config.status}
16441 ac_clean_files_save
=$ac_clean_files
16442 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16443 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16444 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16445 cat >$CONFIG_STATUS <<_ACEOF
16447 # Generated by $as_me.
16448 # Run this file to recreate the current configuration.
16449 # Compiler output produced by configure, useful for debugging
16450 # configure, is in config.log if it exists.
16453 ac_cs_recheck=false
16455 SHELL=\${CONFIG_SHELL-$SHELL}
16458 cat >>$CONFIG_STATUS <<\_ACEOF
16459 ## --------------------- ##
16460 ## M4sh Initialization. ##
16461 ## --------------------- ##
16463 # Be Bourne compatible
16464 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16467 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16468 # is contrary to our usage. Disable this feature.
16469 alias -g '${1+"$@"}'='"$@"'
16470 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
16473 DUALCASE
=1; export DUALCASE
# for MKS sh
16475 # Support unset when possible.
16476 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
16483 # Work around bugs in pre-3.0 UWIN ksh.
16484 $as_unset ENV MAIL MAILPATH
16491 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16492 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16493 LC_TELEPHONE LC_TIME
16495 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16496 eval $as_var=C
; export $as_var
16502 # Required to use basename.
16503 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16509 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
16510 as_basename
=basename
16516 # Name of the executable.
16517 as_me
=`$as_basename "$0" ||
16518 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16519 X"$0" : 'X\(//\)$' \| \
16520 X"$0" : 'X\(/\)$' \| \
16521 . : '\(.\)' 2>/dev/null ||
16523 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16524 /^X\/\(\/\/\)$/{ s//\1/; q; }
16525 /^X\/\(\/\).*/{ s//\1/; q; }
16529 # PATH needs CR, and LINENO needs CR and PATH.
16530 # Avoid depending upon Character Ranges.
16531 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16532 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16533 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16534 as_cr_digits
='0123456789'
16535 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16537 # The user is always right.
16538 if test "${PATH_SEPARATOR+set}" != set; then
16539 echo "#! /bin/sh" >conf$$.sh
16540 echo "exit 0" >>conf$$.sh
16542 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16551 as_lineno_1
=$LINENO
16552 as_lineno_2
=$LINENO
16553 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
16554 test "x$as_lineno_1" != "x$as_lineno_2" &&
16555 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
16556 # Find who we are. Look in the path if we contain no path at all
16559 *[\\/]* ) as_myself
=$0 ;;
16560 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16561 for as_dir
in $PATH
16564 test -z "$as_dir" && as_dir
=.
16565 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
16570 # We did not find ourselves, most probably we were run as `sh COMMAND'
16571 # in which case we are not to be found in the path.
16572 if test "x$as_myself" = x
; then
16575 if test ! -f "$as_myself"; then
16576 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16577 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16578 { (exit 1); exit 1; }; }
16580 case $CONFIG_SHELL in
16582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16583 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
16586 test -z "$as_dir" && as_dir
=.
16587 for as_base
in sh bash ksh sh5
; do
16590 if ("$as_dir/$as_base" -c '
16591 as_lineno_1=$LINENO
16592 as_lineno_2=$LINENO
16593 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16594 test "x$as_lineno_1" != "x$as_lineno_2" &&
16595 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
16596 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
16597 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
16598 CONFIG_SHELL
=$as_dir/$as_base
16599 export CONFIG_SHELL
16600 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16608 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16609 # uniformly replaced by the line number. The first 'sed' inserts a
16610 # line-number line before each line; the second 'sed' does the real
16611 # work. The second script uses 'N' to pair each line-number line
16612 # with the numbered line, and appends trailing '-' during
16613 # substitution so that $LINENO is not a special case at line end.
16614 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16615 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16616 sed '=' <$as_myself |
16621 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16624 s,^['$as_cr_digits']*\n,,
16625 ' >$as_me.lineno
&&
16626 chmod +x
$as_me.lineno ||
16627 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16628 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16629 { (exit 1); exit 1; }; }
16631 # Don't try to exec as it changes $[0], causing all sort of problems
16632 # (the dirname of $[0] is not the place where we might find the
16633 # original and so on. Autoconf is especially sensible to this).
16635 # Exit status is that of the last command.
16640 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16641 *c
*,-n*) ECHO_N
= ECHO_C
='
16643 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
16644 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
16647 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16653 rm -f conf$$ conf$$.exe conf$$.
file
16655 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16656 # We could just check for DJGPP; but this test a) works b) is more generic
16657 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
16658 if test -f conf$$.exe
; then
16659 # Don't use ln at all; we don't have any links
16664 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16669 rm -f conf$$ conf$$.exe conf$$.
file
16671 if mkdir
-p .
2>/dev
/null
; then
16674 test -d .
/-p && rmdir .
/-p
16678 as_executable_p
="test -f"
16680 # Sed expression to map a string onto a valid CPP name.
16681 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16683 # Sed expression to map a string onto a valid variable name.
16684 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16688 # We need space, tab and new line, in precisely that order.
16698 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16699 # report actual input values of CONFIG_FILES etc. instead of their
16700 # values after options handling. Logging --version etc. is OK.
16704 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16705 ## Running $as_me. ##
16710 This file was extended by $as_me, which was
16711 generated by GNU Autoconf 2.59. Invocation command line was
16713 CONFIG_FILES = $CONFIG_FILES
16714 CONFIG_HEADERS = $CONFIG_HEADERS
16715 CONFIG_LINKS = $CONFIG_LINKS
16716 CONFIG_COMMANDS = $CONFIG_COMMANDS
16720 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16724 # Files that config.status was made for.
16725 if test -n "$ac_config_files"; then
16726 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16729 if test -n "$ac_config_headers"; then
16730 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16733 if test -n "$ac_config_links"; then
16734 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16737 if test -n "$ac_config_commands"; then
16738 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16741 cat >>$CONFIG_STATUS <<\_ACEOF
16744 \`$as_me' instantiates files from templates according to the
16745 current configuration.
16747 Usage: $0 [OPTIONS] [FILE]...
16749 -h, --help print this help, then exit
16750 -V, --version print version number, then exit
16751 -q, --quiet do not print progress messages
16752 -d, --debug don't remove temporary files
16753 --recheck update $as_me by reconfiguring in the same conditions
16754 --file=FILE[:TEMPLATE]
16755 instantiate the configuration file FILE
16756 --header=FILE[:TEMPLATE]
16757 instantiate the configuration header FILE
16759 Configuration files:
16762 Configuration headers:
16765 Configuration commands:
16768 Report bugs to <bug-autoconf@gnu.org>."
16771 cat >>$CONFIG_STATUS <<_ACEOF
16774 configured by $0, generated by GNU Autoconf 2.59,
16775 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16777 Copyright (C) 2003 Free Software Foundation, Inc.
16778 This config.status script is free software; the Free Software Foundation
16779 gives unlimited permission to copy, distribute and modify it."
16784 cat >>$CONFIG_STATUS <<\_ACEOF
16785 # If no file are specified by the user, then we need to provide default
16786 # value. By we need to know if files were specified by the user.
16792 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
16793 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
16801 *) # This is not an option, so the user has probably given explicit
16804 ac_need_defaults
=false
;;
16808 # Handling of the options.
16810 cat >>$CONFIG_STATUS <<\_ACEOF
16811 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16813 --version |
--vers* |
-V )
16814 echo "$ac_cs_version"; exit 0 ;;
16816 # Conflict between --help and --header
16817 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16818 Try \`$0 --help' for more information." >&5
16819 echo "$as_me: error: ambiguous option: $1
16820 Try \`$0 --help' for more information." >&2;}
16821 { (exit 1); exit 1; }; };;
16822 --help |
--hel |
-h )
16823 echo "$ac_cs_usage"; exit 0 ;;
16824 --debug |
--d* |
-d )
16826 --file |
--fil |
--fi |
--f )
16828 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
16829 ac_need_defaults
=false
;;
16830 --header |
--heade |
--head |
--hea )
16832 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
16833 ac_need_defaults
=false
;;
16834 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16835 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16838 # This is an error.
16839 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16840 Try \`$0 --help' for more information." >&5
16841 echo "$as_me: error: unrecognized option: $1
16842 Try \`$0 --help' for more information." >&2;}
16843 { (exit 1); exit 1; }; } ;;
16845 *) ac_config_targets
="$ac_config_targets $1" ;;
16851 ac_configure_extra_args
=
16853 if $ac_cs_silent; then
16855 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16859 cat >>$CONFIG_STATUS <<_ACEOF
16860 if \$ac_cs_recheck; then
16861 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16862 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16867 cat >>$CONFIG_STATUS <<_ACEOF
16869 # INIT-COMMANDS section.
16872 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16875 # The HP-UX ksh and POSIX shell print the target directory to stdout
16876 # if CDPATH is set.
16877 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16879 sed_quote_subst='$sed_quote_subst'
16880 double_quote_subst='$double_quote_subst'
16881 delay_variable_subst='$delay_variable_subst'
16882 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16883 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16884 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16885 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16886 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16887 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16888 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16889 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16890 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16891 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16892 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16893 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16894 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16895 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16896 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16897 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16898 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16899 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16900 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16901 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16902 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16903 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16904 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16905 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16906 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16907 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16908 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16909 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16910 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16911 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16912 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16913 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16914 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16915 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16916 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16917 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16918 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16919 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16920 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16921 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16922 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16923 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16924 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16925 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16926 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"`'
16927 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16928 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16929 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16930 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16931 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16932 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16933 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16934 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16935 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16936 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16937 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16938 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16939 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16940 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16941 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16942 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16943 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16944 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16945 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16946 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16947 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16948 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16949 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16950 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16951 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16952 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16953 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16954 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16955 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16956 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16957 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16958 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16959 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16960 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16961 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16962 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16963 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16964 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16965 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16966 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16967 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16968 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16969 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16970 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16971 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16972 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16973 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16974 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16975 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16976 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16977 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16978 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16979 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16980 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16981 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16982 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16983 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16984 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16985 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16986 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16987 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16988 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16989 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16990 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16991 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16992 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16993 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16994 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16995 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16996 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16997 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16998 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16999 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17002 LTCFLAGS='$LTCFLAGS'
17003 compiler='$compiler_DEFAULT'
17005 # Quote evaled strings.
17017 deplibs_check_method \
17026 lt_cv_sys_global_symbol_pipe \
17027 lt_cv_sys_global_symbol_to_cdecl \
17028 lt_cv_sys_global_symbol_to_c_name_address \
17029 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17032 lt_prog_compiler_no_builtin_flag \
17033 lt_prog_compiler_wl \
17034 lt_prog_compiler_pic \
17035 lt_prog_compiler_static \
17036 lt_cv_prog_compiler_c_o \
17044 export_dynamic_flag_spec \
17045 whole_archive_flag_spec \
17046 compiler_needs_object \
17048 allow_undefined_flag \
17049 no_undefined_flag \
17050 hardcode_libdir_flag_spec \
17051 hardcode_libdir_flag_spec_ld \
17052 hardcode_libdir_separator \
17057 variables_saved_for_relink \
17059 library_names_spec \
17064 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17065 *[\\\\\\\`\\"\\\$]*)
17066 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17069 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17074 # Double-quote double-evaled strings.
17075 for var in reload_cmds \
17076 old_postinstall_cmds \
17077 old_postuninstall_cmds \
17079 extract_expsyms_cmds \
17080 old_archive_from_new_cmds \
17081 old_archive_from_expsyms_cmds \
17083 archive_expsym_cmds \
17085 module_expsym_cmds \
17086 export_symbols_cmds \
17089 postuninstall_cmds \
17091 sys_lib_search_path_spec \
17092 sys_lib_dlsearch_path_spec; do
17093 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17094 *[\\\\\\\`\\"\\\$]*)
17095 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17098 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17103 # Fix-up fallback echo if it was mangled by the above quoting rules.
17105 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17109 ac_aux_dir='$ac_aux_dir'
17110 xsi_shell='$xsi_shell'
17111 lt_shell_append='$lt_shell_append'
17113 # See if we are running on zsh, and set the options which allow our
17114 # commands through without removal of \ escapes INIT.
17115 if test -n "\${ZSH_VERSION+set}" ; then
17116 setopt NO_GLOB_SUBST
17122 TIMESTAMP='$TIMESTAMP'
17128 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17129 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
17131 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17132 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17133 LINGUAS="${LINGUAS-%UNSET%}"
17140 cat >>$CONFIG_STATUS <<\_ACEOF
17141 for ac_config_target
in $ac_config_targets
17143 case "$ac_config_target" in
17144 # Handling of arguments.
17145 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17146 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
17147 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
17148 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17149 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17150 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17151 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
17152 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17153 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17154 { (exit 1); exit 1; }; };;
17158 # If the user did not use the arguments to specify the items to instantiate,
17159 # then the envvar interface is used. Set only those that are not.
17160 # We use the long form for the default assignment because of an extremely
17161 # bizarre bug on SunOS 4.1.3.
17162 if $ac_need_defaults; then
17163 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17164 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17165 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17168 # Have a temporary directory for convenience. Make it in the build tree
17169 # simply because there is no reason to put it here, and in addition,
17170 # creating and moving files from /tmp can sometimes cause problems.
17171 # Create a temporary directory, and hook for its removal unless debugging.
17174 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17175 trap '{ (exit 1); exit 1; }' 1 2 13 15
17178 # Create a (secure) tmp directory for tmp files.
17181 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17182 test -n "$tmp" && test -d "$tmp"
17185 tmp
=.
/confstat$$
-$RANDOM
17186 (umask 077 && mkdir
$tmp)
17189 echo "$me: cannot create a temporary directory in ." >&2
17190 { (exit 1); exit 1; }
17195 cat >>$CONFIG_STATUS <<_ACEOF
17198 # CONFIG_FILES section.
17201 # No need to generate the scripts if there are no CONFIG_FILES.
17202 # This happens for instance when ./config.status config.h
17203 if test -n "\$CONFIG_FILES"; then
17204 # Protect against being on the right side of a sed subst in config.status.
17205 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17206 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17207 s,@SHELL@,$SHELL,;t t
17208 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17209 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17210 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17211 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17212 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17213 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17214 s,@exec_prefix@,$exec_prefix,;t t
17215 s,@prefix@,$prefix,;t t
17216 s,@program_transform_name@,$program_transform_name,;t t
17217 s,@bindir@,$bindir,;t t
17218 s,@sbindir@,$sbindir,;t t
17219 s,@libexecdir@,$libexecdir,;t t
17220 s,@datadir@,$datadir,;t t
17221 s,@sysconfdir@,$sysconfdir,;t t
17222 s,@sharedstatedir@,$sharedstatedir,;t t
17223 s,@localstatedir@,$localstatedir,;t t
17224 s,@libdir@,$libdir,;t t
17225 s,@includedir@,$includedir,;t t
17226 s,@oldincludedir@,$oldincludedir,;t t
17227 s,@infodir@,$infodir,;t t
17228 s,@mandir@,$mandir,;t t
17229 s,@build_alias@,$build_alias,;t t
17230 s,@host_alias@,$host_alias,;t t
17231 s,@target_alias@,$target_alias,;t t
17232 s,@DEFS@,$DEFS,;t t
17233 s,@ECHO_C@,$ECHO_C,;t t
17234 s,@ECHO_N@,$ECHO_N,;t t
17235 s,@ECHO_T@,$ECHO_T,;t t
17236 s,@LIBS@,$LIBS,;t t
17237 s,@build@,$build,;t t
17238 s,@build_cpu@,$build_cpu,;t t
17239 s,@build_vendor@,$build_vendor,;t t
17240 s,@build_os@,$build_os,;t t
17241 s,@host@,$host,;t t
17242 s,@host_cpu@,$host_cpu,;t t
17243 s,@host_vendor@,$host_vendor,;t t
17244 s,@host_os@,$host_os,;t t
17245 s,@target@,$target,;t t
17246 s,@target_cpu@,$target_cpu,;t t
17247 s,@target_vendor@,$target_vendor,;t t
17248 s,@target_os@,$target_os,;t t
17250 s,@CFLAGS@,$CFLAGS,;t t
17251 s,@LDFLAGS@,$LDFLAGS,;t t
17252 s,@CPPFLAGS@,$CPPFLAGS,;t t
17253 s,@ac_ct_CC@,$ac_ct_CC,;t t
17254 s,@EXEEXT@,$EXEEXT,;t t
17255 s,@OBJEXT@,$OBJEXT,;t t
17256 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17257 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17258 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17259 s,@CYGPATH_W@,$CYGPATH_W,;t t
17260 s,@PACKAGE@,$PACKAGE,;t t
17261 s,@VERSION@,$VERSION,;t t
17262 s,@ACLOCAL@,$ACLOCAL,;t t
17263 s,@AUTOCONF@,$AUTOCONF,;t t
17264 s,@AUTOMAKE@,$AUTOMAKE,;t t
17265 s,@AUTOHEADER@,$AUTOHEADER,;t t
17266 s,@MAKEINFO@,$MAKEINFO,;t t
17267 s,@install_sh@,$install_sh,;t t
17268 s,@STRIP@,$STRIP,;t t
17269 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17270 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17271 s,@mkdir_p@,$mkdir_p,;t t
17273 s,@SET_MAKE@,$SET_MAKE,;t t
17274 s,@am__leading_dot@,$am__leading_dot,;t t
17275 s,@AMTAR@,$AMTAR,;t t
17276 s,@am__tar@,$am__tar,;t t
17277 s,@am__untar@,$am__untar,;t t
17278 s,@DEPDIR@,$DEPDIR,;t t
17279 s,@am__include@,$am__include,;t t
17280 s,@am__quote@,$am__quote,;t t
17281 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17282 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17283 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17284 s,@CCDEPMODE@,$CCDEPMODE,;t t
17285 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17286 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17288 s,@EGREP@,$EGREP,;t t
17289 s,@LIBTOOL@,$LIBTOOL,;t t
17291 s,@FGREP@,$FGREP,;t t
17292 s,@GREP@,$GREP,;t t
17294 s,@DUMPBIN@,$DUMPBIN,;t t
17295 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
17297 s,@LN_S@,$LN_S,;t t
17298 s,@OBJDUMP@,$OBJDUMP,;t t
17299 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
17301 s,@ac_ct_AR@,$ac_ct_AR,;t t
17302 s,@RANLIB@,$RANLIB,;t t
17303 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17304 s,@lt_ECHO@,$lt_ECHO,;t t
17305 s,@DSYMUTIL@,$DSYMUTIL,;t t
17306 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
17307 s,@NMEDIT@,$NMEDIT,;t t
17308 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
17309 s,@LIPO@,$LIPO,;t t
17310 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
17311 s,@OTOOL@,$OTOOL,;t t
17312 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
17313 s,@OTOOL64@,$OTOOL64,;t t
17314 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
17315 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
17316 s,@NO_WERROR@,$NO_WERROR,;t t
17317 s,@YACC@,$YACC,;t t
17319 s,@LEXLIB@,$LEXLIB,;t t
17320 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
17321 s,@USE_NLS@,$USE_NLS,;t t
17322 s,@LIBINTL@,$LIBINTL,;t t
17323 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
17324 s,@INCINTL@,$INCINTL,;t t
17325 s,@XGETTEXT@,$XGETTEXT,;t t
17326 s,@GMSGFMT@,$GMSGFMT,;t t
17327 s,@POSUB@,$POSUB,;t t
17328 s,@CATALOGS@,$CATALOGS,;t t
17329 s,@DATADIRNAME@,$DATADIRNAME,;t t
17330 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
17331 s,@GENCAT@,$GENCAT,;t t
17332 s,@CATOBJEXT@,$CATOBJEXT,;t t
17333 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
17334 s,@MSGFMT@,$MSGFMT,;t t
17335 s,@MSGMERGE@,$MSGMERGE,;t t
17336 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17337 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17338 s,@MAINT@,$MAINT,;t t
17339 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
17340 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
17341 s,@HDEFINES@,$HDEFINES,;t t
17342 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
17343 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
17344 s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
17345 s,@ALLOCA@,$ALLOCA,;t t
17346 s,@LIBICONV@,$LIBICONV,;t t
17347 s,@LTLIBICONV@,$LTLIBICONV,;t t
17348 s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
17349 s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
17350 s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
17351 s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
17352 s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
17353 s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
17354 s,@BUILD_WINDMC@,$BUILD_WINDMC,;t t
17355 s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
17356 s,@BUILD_MISC@,$BUILD_MISC,;t t
17357 s,@BUILD_INSTALL_MISC@,$BUILD_INSTALL_MISC,;t t
17358 s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
17359 s,@EMULATION@,$EMULATION,;t t
17360 s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
17361 s,@datarootdir@,$datarootdir,;t t
17362 s,@docdir@,$docdir,;t t
17363 s,@htmldir@,$htmldir,;t t
17364 s,@pdfdir@,$pdfdir,;t t
17365 s,@LIBOBJS@,$LIBOBJS,;t t
17366 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17371 cat >>$CONFIG_STATUS <<\_ACEOF
17372 # Split the substitutions into bite-sized pieces for seds with
17373 # small command number limits, like on Digital OSF/1 and HP-UX.
17374 ac_max_sed_lines
=48
17375 ac_sed_frag
=1 # Number of current file.
17376 ac_beg
=1 # First line for current file.
17377 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17380 while $ac_more_lines; do
17381 if test $ac_beg -gt 1; then
17382 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17384 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17386 if test ! -s $tmp/subs.frag
; then
17387 ac_more_lines
=false
17389 # The purpose of the label and of the branching condition is to
17390 # speed up the sed processing (if there are no `@' at all, there
17391 # is no need to browse any of the substitutions).
17392 # These are the two extra sed commands mentioned above.
17394 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
17395 if test -z "$ac_sed_cmds"; then
17396 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
17398 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17400 ac_sed_frag
=`expr $ac_sed_frag + 1`
17402 ac_end
=`expr $ac_end + $ac_max_sed_lines`
17405 if test -z "$ac_sed_cmds"; then
17408 fi # test -n "$CONFIG_FILES"
17411 cat >>$CONFIG_STATUS <<\_ACEOF
17412 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
17413 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17415 - |
*:- |
*:-:* ) # input from stdin
17417 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17418 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17419 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17420 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17421 * ) ac_file_in
=$ac_file.
in ;;
17424 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17425 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17426 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17427 X"$ac_file" : 'X\(//\)[^/]' \| \
17428 X"$ac_file" : 'X\(//\)$' \| \
17429 X"$ac_file" : 'X\(/\)' \| \
17430 . : '\(.\)' 2>/dev/null ||
17432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17433 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17434 /^X\(\/\/\)$/{ s//\1/; q; }
17435 /^X\(\/\).*/{ s//\1/; q; }
17437 { if $as_mkdir_p; then
17442 while test ! -d "$as_dir"; do
17443 as_dirs
="$as_dir $as_dirs"
17444 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17445 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17446 X"$as_dir" : 'X\(//\)[^/]' \| \
17447 X"$as_dir" : 'X\(//\)$' \| \
17448 X"$as_dir" : 'X\(/\)' \| \
17449 . : '\(.\)' 2>/dev/null ||
17451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17452 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17453 /^X\(\/\/\)$/{ s//\1/; q; }
17454 /^X\(\/\).*/{ s//\1/; q; }
17457 test ! -n "$as_dirs" || mkdir
$as_dirs
17458 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17459 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17460 { (exit 1); exit 1; }; }; }
17464 if test "$ac_dir" != .
; then
17465 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17466 # A "../" for each directory in $ac_dir_suffix.
17467 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17469 ac_dir_suffix
= ac_top_builddir
=
17473 .
) # No --srcdir option. We are building in place.
17475 if test -z "$ac_top_builddir"; then
17478 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17480 [\\/]* | ?
:[\\/]* ) # Absolute path.
17481 ac_srcdir
=$srcdir$ac_dir_suffix;
17482 ac_top_srcdir
=$srcdir ;;
17483 *) # Relative path.
17484 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17485 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17488 # Do not use `cd foo && pwd` to compute absolute paths, because
17489 # the directories may not exist.
17491 .
) ac_abs_builddir
="$ac_dir";;
17494 .
) ac_abs_builddir
=`pwd`;;
17495 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17496 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17499 case $ac_abs_builddir in
17500 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17502 case ${ac_top_builddir}.
in
17503 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17504 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17505 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17508 case $ac_abs_builddir in
17509 .
) ac_abs_srcdir
=$ac_srcdir;;
17512 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17513 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17514 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17517 case $ac_abs_builddir in
17518 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17520 case $ac_top_srcdir in
17521 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17522 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17523 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17529 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17530 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17533 if test x
"$ac_file" != x-
; then
17534 { echo "$as_me:$LINENO: creating $ac_file" >&5
17535 echo "$as_me: creating $ac_file" >&6;}
17538 # Let's still pretend it is `configure' which instantiates (i.e., don't
17539 # use $as_me), people would be surprised to read:
17540 # /* config.h. Generated by config.status. */
17541 if test x
"$ac_file" = x-
; then
17544 configure_input
="$ac_file. "
17546 configure_input
=$configure_input"Generated from `echo $ac_file_in |
17547 sed 's,.*/,,'` by configure."
17549 # First look for the input files in the build tree, otherwise in the
17551 ac_file_inputs
=`IFS=:
17552 for f in $ac_file_in; do
17554 -) echo $tmp/stdin ;;
17556 # Absolute (can't be DOS-style, as IFS=:)
17557 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17558 echo "$as_me: error: cannot find input file: $f" >&2;}
17559 { (exit 1); exit 1; }; }
17562 if test -f "$f"; then
17565 elif test -f "$srcdir/$f"; then
17570 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17571 echo "$as_me: error: cannot find input file: $f" >&2;}
17572 { (exit 1); exit 1; }; }
17575 done` ||
{ (exit 1); exit 1; }
17577 cat >>$CONFIG_STATUS <<_ACEOF
17581 cat >>$CONFIG_STATUS <<\_ACEOF
17583 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17584 s
,@configure_input@
,$configure_input,;t t
17585 s
,@srcdir@
,$ac_srcdir,;t t
17586 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
17587 s
,@top_srcdir@
,$ac_top_srcdir,;t t
17588 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
17589 s
,@builddir@
,$ac_builddir,;t t
17590 s
,@abs_builddir@
,$ac_abs_builddir,;t t
17591 s
,@top_builddir@
,$ac_top_builddir,;t t
17592 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
17593 s
,@INSTALL@
,$ac_INSTALL,;t t
17594 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17596 if test x"$ac_file" != x-; then
17597 mv $tmp/out $ac_file
17605 cat >>$CONFIG_STATUS <<\_ACEOF
17608 # CONFIG_HEADER section.
17611 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
17612 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17614 # ac_d sets the value in "#define NAME VALUE" lines.
17615 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17616 ac_dB
='[ ].*$,\1#\2'
17619 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17620 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17621 ac_uB
='$,\1#\2define\3'
17625 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
17626 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17628 - |
*:- |
*:-:* ) # input from stdin
17630 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17631 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17632 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17633 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17634 * ) ac_file_in
=$ac_file.
in ;;
17637 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
17638 echo "$as_me: creating $ac_file" >&6;}
17640 # First look for the input files in the build tree, otherwise in the
17642 ac_file_inputs
=`IFS=:
17643 for f in $ac_file_in; do
17645 -) echo $tmp/stdin ;;
17647 # Absolute (can't be DOS-style, as IFS=:)
17648 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17649 echo "$as_me: error: cannot find input file: $f" >&2;}
17650 { (exit 1); exit 1; }; }
17651 # Do quote $f, to prevent DOS paths from being IFS'd.
17654 if test -f "$f"; then
17657 elif test -f "$srcdir/$f"; then
17662 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17663 echo "$as_me: error: cannot find input file: $f" >&2;}
17664 { (exit 1); exit 1; }; }
17667 done` ||
{ (exit 1); exit 1; }
17668 # Remove the trailing spaces.
17669 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
17673 # Transform confdefs.h into two sed scripts, `conftest.defines' and
17674 # `conftest.undefs', that substitutes the proper values into
17675 # config.h.in to produce config.h. The first handles `#define'
17676 # templates, and the second `#undef' templates.
17677 # And first: Protect against being on the right side of a sed subst in
17678 # config.status. Protect against being in an unquoted here document
17679 # in config.status.
17680 rm -f conftest.defines conftest.undefs
17681 # Using a here document instead of a string reduces the quoting nightmare.
17682 # Putting comments in sed scripts is not portable.
17684 # `end' is used to avoid that the second main sed command (meant for
17685 # 0-ary CPP macros) applies to n-ary macro definitions.
17686 # See the Autoconf documentation for `clear'.
17687 cat >confdef2sed.
sed <<\_ACEOF
17692 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
17694 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
17697 # If some macros were called several times there might be several times
17698 # the same #defines, which is useless. Nevertheless, we may not want to
17699 # sort them, since we want the *last* AC-DEFINE to be honored.
17700 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
17701 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
17702 rm -f confdef2sed.sed
17704 # This sed command replaces #undef with comments. This is necessary, for
17705 # example, in the case of _POSIX_SOURCE, which is predefined and required
17706 # on some systems where configure will not decide to define it.
17707 cat >>conftest.undefs <<\_ACEOF
17708 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
17711 # Break up conftest.defines because some shells have a limit on the size
17712 # of here documents, and old seds have small limits too (100 cmds).
17713 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17714 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17715 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17716 echo ' :' >>$CONFIG_STATUS
17717 rm -f conftest.tail
17718 while grep . conftest.defines >/dev/null
17720 # Write a limited-size here document to $tmp/defines.sed.
17721 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
17722 # Speed up: don't consider the non `#define' lines.
17723 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
17724 # Work around the forget-to-reset-the-flag bug.
17725 echo 't clr' >>$CONFIG_STATUS
17726 echo ': clr' >>$CONFIG_STATUS
17727 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
17729 sed -f $tmp/defines.sed $tmp/in >$tmp/out
17731 mv $tmp/out $tmp/in
17733 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
17734 rm -f conftest.defines
17735 mv conftest.
tail conftest.defines
17737 rm -f conftest.defines
17738 echo ' fi # grep' >>$CONFIG_STATUS
17739 echo >>$CONFIG_STATUS
17741 # Break up conftest.undefs because some shells have a limit on the size
17742 # of here documents, and old seds have small limits too (100 cmds).
17743 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17744 rm -f conftest.
tail
17745 while grep . conftest.undefs
>/dev
/null
17747 # Write a limited-size here document to $tmp/undefs.sed.
17748 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
17749 # Speed up: don't consider the non
`#undef'
17750 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
17751 # Work around the forget-to-reset-the-flag bug.
17752 echo 't clr' >>$CONFIG_STATUS
17753 echo ': clr' >>$CONFIG_STATUS
17754 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
17756 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
17758 mv $tmp/out $tmp/in
17760 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
17761 rm -f conftest.undefs
17762 mv conftest.tail conftest.undefs
17764 rm -f conftest.undefs
17766 cat >>$CONFIG_STATUS <<\_ACEOF
17767 # Let's still pretend it is `configure
' which instantiates (i.e., don't
17768 # use $as_me), people would be surprised to read:
17769 # /* config.h. Generated by config.status. */
17770 if test x
"$ac_file" = x-
; then
17771 echo "/* Generated by configure. */" >$tmp/config.h
17773 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
17775 cat $tmp/in >>$tmp/config.h
17777 if test x
"$ac_file" != x-
; then
17778 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
17779 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17780 echo "$as_me: $ac_file is unchanged" >&6;}
17782 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17783 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17784 X"$ac_file" : 'X\(//\)[^/]' \| \
17785 X"$ac_file" : 'X\(//\)$' \| \
17786 X"$ac_file" : 'X\(/\)' \| \
17787 . : '\(.\)' 2>/dev/null ||
17789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17790 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17791 /^X\(\/\/\)$/{ s//\1/; q; }
17792 /^X\(\/\).*/{ s//\1/; q; }
17794 { if $as_mkdir_p; then
17799 while test ! -d "$as_dir"; do
17800 as_dirs
="$as_dir $as_dirs"
17801 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17803 X"$as_dir" : 'X\(//\)[^/]' \| \
17804 X"$as_dir" : 'X\(//\)$' \| \
17805 X"$as_dir" : 'X\(/\)' \| \
17806 . : '\(.\)' 2>/dev/null ||
17808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17809 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17810 /^X\(\/\/\)$/{ s//\1/; q; }
17811 /^X\(\/\).*/{ s//\1/; q; }
17814 test ! -n "$as_dirs" || mkdir
$as_dirs
17815 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17816 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17817 { (exit 1); exit 1; }; }; }
17820 mv $tmp/config.h
$ac_file
17824 rm -f $tmp/config.h
17826 # Compute $ac_file's index in $config_headers.
17828 for _am_header
in $config_headers :; do
17829 case $_am_header in
17830 $ac_file |
$ac_file:* )
17833 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17836 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
17837 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17838 X$ac_file : 'X\(//\)[^/]' \| \
17839 X$ac_file : 'X\(//\)$' \| \
17840 X$ac_file : 'X\(/\)' \| \
17841 . : '\(.\)' 2>/dev/null ||
17843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17845 /^X\(\/\/\)$/{ s//\1/; q; }
17846 /^X\(\/\).*/{ s//\1/; q; }
17847 s/.*/./; q'`/stamp-h
$_am_stamp_count
17850 cat >>$CONFIG_STATUS <<\_ACEOF
17853 # CONFIG_COMMANDS section.
17855 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
17856 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17857 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17858 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17859 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17860 X"$ac_dest" : 'X\(//\)[^/]' \| \
17861 X"$ac_dest" : 'X\(//\)$' \| \
17862 X"$ac_dest" : 'X\(/\)' \| \
17863 . : '\(.\)' 2>/dev/null ||
17865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17867 /^X\(\/\/\)$/{ s//\1/; q; }
17868 /^X\(\/\).*/{ s//\1/; q; }
17870 { if $as_mkdir_p; then
17875 while test ! -d "$as_dir"; do
17876 as_dirs
="$as_dir $as_dirs"
17877 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17878 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17879 X"$as_dir" : 'X\(//\)[^/]' \| \
17880 X"$as_dir" : 'X\(//\)$' \| \
17881 X"$as_dir" : 'X\(/\)' \| \
17882 . : '\(.\)' 2>/dev/null ||
17884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17885 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17886 /^X\(\/\/\)$/{ s//\1/; q; }
17887 /^X\(\/\).*/{ s//\1/; q; }
17890 test ! -n "$as_dirs" || mkdir
$as_dirs
17891 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17892 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17893 { (exit 1); exit 1; }; }; }
17897 if test "$ac_dir" != .
; then
17898 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17899 # A "../" for each directory in $ac_dir_suffix.
17900 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17902 ac_dir_suffix
= ac_top_builddir
=
17906 .
) # No --srcdir option. We are building in place.
17908 if test -z "$ac_top_builddir"; then
17911 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17913 [\\/]* | ?
:[\\/]* ) # Absolute path.
17914 ac_srcdir
=$srcdir$ac_dir_suffix;
17915 ac_top_srcdir
=$srcdir ;;
17916 *) # Relative path.
17917 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17918 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17921 # Do not use `cd foo && pwd` to compute absolute paths, because
17922 # the directories may not exist.
17924 .
) ac_abs_builddir
="$ac_dir";;
17927 .
) ac_abs_builddir
=`pwd`;;
17928 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17929 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17932 case $ac_abs_builddir in
17933 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17935 case ${ac_top_builddir}.
in
17936 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17937 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17938 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17941 case $ac_abs_builddir in
17942 .
) ac_abs_srcdir
=$ac_srcdir;;
17945 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17946 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17947 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17950 case $ac_abs_builddir in
17951 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17953 case $ac_top_srcdir in
17954 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17955 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17956 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17961 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17962 echo "$as_me: executing $ac_dest commands" >&6;}
17964 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
17965 # Strip MF so we end up with the name of the file.
17966 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17967 # Check whether this is an Automake generated Makefile or not.
17968 # We used to match only the files named `Makefile.in', but
17969 # some people rename them; so instead we look at the file content.
17970 # Grep'ing the first line is not enough: some people post-process
17971 # each Makefile.in and add a new line on top of each file to say so.
17972 # So let's grep whole file.
17973 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
17974 dirpart
=`(dirname "$mf") 2>/dev/null ||
17975 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17976 X"$mf" : 'X\(//\)[^/]' \| \
17977 X"$mf" : 'X\(//\)$' \| \
17978 X"$mf" : 'X\(/\)' \| \
17979 . : '\(.\)' 2>/dev/null ||
17981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17982 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17983 /^X\(\/\/\)$/{ s//\1/; q; }
17984 /^X\(\/\).*/{ s//\1/; q; }
17989 # Extract the definition of DEPDIR, am__include, and am__quote
17990 # from the Makefile without running `make'.
17991 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17992 test -z "$DEPDIR" && continue
17993 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17994 test -z "am__include" && continue
17995 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17996 # When using ansi2knr, U may be empty or an underscore; expand it
17997 U
=`sed -n 's/^U = //p' < "$mf"`
17998 # Find all dependency output files, they are included files with
17999 # $(DEPDIR) in their names. We invoke sed twice because it is the
18000 # simplest approach to changing $(DEPDIR) to its actual value in the
18002 for file in `sed -n "
18003 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18004 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18005 # Make sure the directory exists.
18006 test -f "$dirpart/$file" && continue
18007 fdir
=`(dirname "$file") 2>/dev/null ||
18008 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18009 X"$file" : 'X\(//\)[^/]' \| \
18010 X"$file" : 'X\(//\)$' \| \
18011 X"$file" : 'X\(/\)' \| \
18012 . : '\(.\)' 2>/dev/null ||
18014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18015 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18016 /^X\(\/\/\)$/{ s//\1/; q; }
18017 /^X\(\/\).*/{ s//\1/; q; }
18019 { if $as_mkdir_p; then
18020 mkdir
-p $dirpart/$fdir
18022 as_dir
=$dirpart/$fdir
18024 while test ! -d "$as_dir"; do
18025 as_dirs
="$as_dir $as_dirs"
18026 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18027 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18028 X"$as_dir" : 'X\(//\)[^/]' \| \
18029 X"$as_dir" : 'X\(//\)$' \| \
18030 X"$as_dir" : 'X\(/\)' \| \
18031 . : '\(.\)' 2>/dev/null ||
18033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18034 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18035 /^X\(\/\/\)$/{ s//\1/; q; }
18036 /^X\(\/\).*/{ s//\1/; q; }
18039 test ! -n "$as_dirs" || mkdir
$as_dirs
18040 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
18041 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
18042 { (exit 1); exit 1; }; }; }
18044 # echo "creating $dirpart/$file"
18045 echo '# dummy' > "$dirpart/$file"
18051 # See if we are running on zsh, and set the options which allow our
18052 # commands through without removal of \ escapes.
18053 if test -n "${ZSH_VERSION+set}" ; then
18054 setopt NO_GLOB_SUBST
18057 cfgfile
="${ofile}T"
18058 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18061 cat <<_LT_EOF >> "$cfgfile"
18064 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18065 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18066 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18067 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18069 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18070 # 2006, 2007, 2008 Free Software Foundation, Inc.
18071 # Written by Gordon Matzigkeit, 1996
18073 # This file is part of GNU Libtool.
18075 # GNU Libtool is free software; you can redistribute it and/or
18076 # modify it under the terms of the GNU General Public License as
18077 # published by the Free Software Foundation; either version 2 of
18078 # the License, or (at your option) any later version.
18080 # As a special exception to the GNU General Public License,
18081 # if you distribute this file as part of a program or library that
18082 # is built using GNU Libtool, you may include this file under the
18083 # same distribution terms that you use for the rest of that program.
18085 # GNU Libtool is distributed in the hope that it will be useful,
18086 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18087 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18088 # GNU General Public License for more details.
18090 # You should have received a copy of the GNU General Public License
18091 # along with GNU Libtool; see the file COPYING. If not, a copy
18092 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18093 # obtained by writing to the Free Software Foundation, Inc.,
18094 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18097 # The names of the tagged configurations supported by this script.
18100 # ### BEGIN LIBTOOL CONFIG
18102 # Which release of libtool.m4 was used?
18103 macro_version=$macro_version
18104 macro_revision=$macro_revision
18106 # Whether or not to build shared libraries.
18107 build_libtool_libs=$enable_shared
18109 # Whether or not to build static libraries.
18110 build_old_libs=$enable_static
18112 # What type of objects to build.
18115 # Whether or not to optimize for fast installation.
18116 fast_install=$enable_fast_install
18119 host_alias=$host_alias
18123 # The build system.
18124 build_alias=$build_alias
18128 # A sed program that does not truncate output.
18131 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18132 Xsed="\$SED -e 1s/^X//"
18134 # A grep program that handles long lines.
18140 # A literal string matcher.
18143 # A BSD- or MS-compatible name lister.
18146 # Whether we need soft or hard links.
18149 # What is the maximum length of a command?
18150 max_cmd_len=$max_cmd_len
18152 # Object file suffix (normally "o").
18155 # Executable file suffix (normally "").
18158 # whether the shell understands "unset".
18161 # turn spaces into newlines.
18164 # turn newlines into spaces.
18167 # How to create reloadable object files.
18168 reload_flag=$lt_reload_flag
18169 reload_cmds=$lt_reload_cmds
18171 # An object symbol dumper.
18172 OBJDUMP=$lt_OBJDUMP
18174 # Method to check whether dependent libraries are shared objects.
18175 deplibs_check_method=$lt_deplibs_check_method
18177 # Command to use when deplibs_check_method == "file_magic".
18178 file_magic_cmd=$lt_file_magic_cmd
18182 AR_FLAGS=$lt_AR_FLAGS
18184 # A symbol stripping program.
18187 # Commands used to install an old-style archive.
18189 old_postinstall_cmds=$lt_old_postinstall_cmds
18190 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18195 # LTCC compiler flags.
18196 LTCFLAGS=$lt_CFLAGS
18198 # Take the output of nm and produce a listing of raw symbols and C names.
18199 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18201 # Transform the output of nm in a proper C declaration.
18202 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18204 # Transform the output of nm in a C name address pair.
18205 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18207 # Transform the output of nm in a C name address pair when lib prefix is needed.
18208 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18210 # The name of the directory that contains temporary libtool files.
18213 # Shell to use when invoking shell scripts.
18216 # An echo program that does not interpret backslashes.
18219 # Used to examine libraries when file_magic_cmd begins with "file".
18220 MAGIC_CMD=$MAGIC_CMD
18222 # Must we lock files when doing compilation?
18223 need_locks=$lt_need_locks
18225 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18226 DSYMUTIL=$lt_DSYMUTIL
18228 # Tool to change global to local symbols on Mac OS X.
18231 # Tool to manipulate fat objects and archives on Mac OS X.
18234 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18237 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18238 OTOOL64=$lt_OTOOL64
18240 # Old archive suffix (normally "a").
18243 # Shared library suffix (normally ".so").
18244 shrext_cmds=$lt_shrext_cmds
18246 # The commands to extract the exported symbol list from a shared archive.
18247 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18249 # Variables whose values should be saved in libtool wrapper scripts and
18250 # restored at link time.
18251 variables_saved_for_relink=$lt_variables_saved_for_relink
18253 # Do we need the "lib" prefix for modules?
18254 need_lib_prefix=$need_lib_prefix
18256 # Do we need a version for libraries?
18257 need_version=$need_version
18259 # Library versioning type.
18260 version_type=$version_type
18262 # Shared library runtime path variable.
18263 runpath_var=$runpath_var
18265 # Shared library path variable.
18266 shlibpath_var=$shlibpath_var
18268 # Is shlibpath searched before the hard-coded library search path?
18269 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18271 # Format of library name prefix.
18272 libname_spec=$lt_libname_spec
18274 # List of archive names. First name is the real one, the rest are links.
18275 # The last name is the one that the linker finds with -lNAME
18276 library_names_spec=$lt_library_names_spec
18278 # The coded name of the library, if different from the real name.
18279 soname_spec=$lt_soname_spec
18281 # Command to use after installation of a shared archive.
18282 postinstall_cmds=$lt_postinstall_cmds
18284 # Command to use after uninstallation of a shared archive.
18285 postuninstall_cmds=$lt_postuninstall_cmds
18287 # Commands used to finish a libtool library installation in a directory.
18288 finish_cmds=$lt_finish_cmds
18290 # As "finish_cmds", except a single script fragment to be evaled but
18292 finish_eval=$lt_finish_eval
18294 # Whether we should hardcode library paths into libraries.
18295 hardcode_into_libs=$hardcode_into_libs
18297 # Compile-time system search path for libraries.
18298 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18300 # Run-time system search path for libraries.
18301 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18303 # Whether dlopen is supported.
18304 dlopen_support=$enable_dlopen
18306 # Whether dlopen of programs is supported.
18307 dlopen_self=$enable_dlopen_self
18309 # Whether dlopen of statically linked programs is supported.
18310 dlopen_self_static=$enable_dlopen_self_static
18312 # Commands to strip libraries.
18313 old_striplib=$lt_old_striplib
18314 striplib=$lt_striplib
18317 # The linker used to build libraries.
18320 # Commands used to build an old-style archive.
18321 old_archive_cmds=$lt_old_archive_cmds
18323 # A language specific compiler.
18326 # Is the compiler the GNU compiler?
18329 # Compiler flag to turn off builtin functions.
18330 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18332 # How to pass a linker flag through the compiler.
18333 wl=$lt_lt_prog_compiler_wl
18335 # Additional compiler flags for building library objects.
18336 pic_flag=$lt_lt_prog_compiler_pic
18338 # Compiler flag to prevent dynamic linking.
18339 link_static_flag=$lt_lt_prog_compiler_static
18341 # Does compiler simultaneously support -c and -o options?
18342 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18344 # Whether or not to add -lc for building shared libraries.
18345 build_libtool_need_lc=$archive_cmds_need_lc
18347 # Whether or not to disallow shared libs when runtime libs are static.
18348 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18350 # Compiler flag to allow reflexive dlopens.
18351 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18353 # Compiler flag to generate shared objects directly from archives.
18354 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18356 # Whether the compiler copes with passing no objects directly.
18357 compiler_needs_object=$lt_compiler_needs_object
18359 # Create an old-style archive from a shared archive.
18360 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18362 # Create a temporary old-style archive to link instead of a shared archive.
18363 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18365 # Commands used to build a shared archive.
18366 archive_cmds=$lt_archive_cmds
18367 archive_expsym_cmds=$lt_archive_expsym_cmds
18369 # Commands used to build a loadable module if different from building
18370 # a shared archive.
18371 module_cmds=$lt_module_cmds
18372 module_expsym_cmds=$lt_module_expsym_cmds
18374 # Whether we are building with GNU ld or not.
18375 with_gnu_ld=$lt_with_gnu_ld
18377 # Flag that allows shared libraries with undefined symbols to be built.
18378 allow_undefined_flag=$lt_allow_undefined_flag
18380 # Flag that enforces no undefined symbols.
18381 no_undefined_flag=$lt_no_undefined_flag
18383 # Flag to hardcode \$libdir into a binary during linking.
18384 # This must work even if \$libdir does not exist
18385 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18387 # If ld is used when linking, flag to hardcode \$libdir into a binary
18388 # during linking. This must work even if \$libdir does not exist.
18389 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18391 # Whether we need a single "-rpath" flag with a separated argument.
18392 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18394 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18395 # DIR into the resulting binary.
18396 hardcode_direct=$hardcode_direct
18398 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18399 # DIR into the resulting binary and the resulting library dependency is
18400 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18401 # library is relocated.
18402 hardcode_direct_absolute=$hardcode_direct_absolute
18404 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18405 # into the resulting binary.
18406 hardcode_minus_L=$hardcode_minus_L
18408 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18409 # into the resulting binary.
18410 hardcode_shlibpath_var=$hardcode_shlibpath_var
18412 # Set to "yes" if building a shared library automatically hardcodes DIR
18413 # into the library and all subsequent libraries and executables linked
18415 hardcode_automatic=$hardcode_automatic
18417 # Set to yes if linker adds runtime paths of dependent libraries
18418 # to runtime path list.
18419 inherit_rpath=$inherit_rpath
18421 # Whether libtool must link a program against all its dependency libraries.
18422 link_all_deplibs=$link_all_deplibs
18424 # Fix the shell variable \$srcfile for the compiler.
18425 fix_srcfile_path=$lt_fix_srcfile_path
18427 # Set to "yes" if exported symbols are required.
18428 always_export_symbols=$always_export_symbols
18430 # The commands to list exported symbols.
18431 export_symbols_cmds=$lt_export_symbols_cmds
18433 # Symbols that should not be listed in the preloaded symbols.
18434 exclude_expsyms=$lt_exclude_expsyms
18436 # Symbols that must always be exported.
18437 include_expsyms=$lt_include_expsyms
18439 # Commands necessary for linking programs (against libraries) with templates.
18440 prelink_cmds=$lt_prelink_cmds
18442 # Specify filename containing input files.
18443 file_list_spec=$lt_file_list_spec
18445 # How to hardcode a shared library path into an executable.
18446 hardcode_action=$hardcode_action
18448 # ### END LIBTOOL CONFIG
18454 cat <<\_LT_EOF
>> "$cfgfile"
18455 # AIX sometimes has problems with the GCC collect2 program. For some
18456 # reason, if we set the COLLECT_NAMES environment variable, the problems
18457 # vanish in a puff of smoke.
18458 if test "X${COLLECT_NAMES+set}" != Xset
; then
18460 export COLLECT_NAMES
18467 ltmain
="$ac_aux_dir/ltmain.sh"
18470 # We use sed instead of cat because bash on DJGPP gets confused if
18471 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18472 # text mode, it properly converts lines to CR/LF. This bash problem
18473 # is reportedly fixed, but why not run on old versions too?
18474 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18475 ||
(rm -f "$cfgfile"; exit 1)
18479 cat << \_LT_EOF
>> "$cfgfile"
18481 # func_dirname file append nondir_replacement
18482 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18483 # otherwise set result to NONDIR_REPLACEMENT.
18487 */*) func_dirname_result
="${1%/*}${2}" ;;
18488 * ) func_dirname_result
="${3}" ;;
18492 # func_basename file
18495 func_basename_result
="${1##*/}"
18498 # func_dirname_and_basename file append nondir_replacement
18499 # perform func_basename and func_dirname in a single function
18501 # dirname: Compute the dirname of FILE. If nonempty,
18502 # add APPEND to the result, otherwise set result
18503 # to NONDIR_REPLACEMENT.
18504 # value returned in "$func_dirname_result"
18505 # basename: Compute filename of FILE.
18506 # value retuned in "$func_basename_result"
18507 # Implementation must be kept synchronized with func_dirname
18508 # and func_basename. For efficiency, we do not delegate to
18509 # those functions but instead duplicate the functionality here.
18510 func_dirname_and_basename
()
18513 */*) func_dirname_result
="${1%/*}${2}" ;;
18514 * ) func_dirname_result
="${3}" ;;
18516 func_basename_result
="${1##*/}"
18519 # func_stripname prefix suffix name
18520 # strip PREFIX and SUFFIX off of NAME.
18521 # PREFIX and SUFFIX must not contain globbing or regex special
18522 # characters, hashes, percent signs, but SUFFIX may contain a leading
18523 # dot (in which case that matches only a dot).
18526 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18527 # positional parameters, so assign one to ordinary parameter first.
18528 func_stripname_result
=${3}
18529 func_stripname_result
=${func_stripname_result#"${1}"}
18530 func_stripname_result
=${func_stripname_result%"${2}"}
18536 func_opt_split_opt
=${1%%=*}
18537 func_opt_split_arg
=${1#*=}
18544 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18545 *) func_lo2o_result
=${1} ;;
18549 # func_xform libobj-or-source
18552 func_xform_result
=${1%.*}.lo
18555 # func_arith arithmetic-term...
18558 func_arith_result
=$
(( $
* ))
18562 # STRING may not start with a hyphen.
18565 func_len_result
=${#1}
18570 *) # Bourne compatible functions.
18571 cat << \_LT_EOF
>> "$cfgfile"
18573 # func_dirname file append nondir_replacement
18574 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18575 # otherwise set result to NONDIR_REPLACEMENT.
18578 # Extract subdirectory from the argument.
18579 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18580 if test "X$func_dirname_result" = "X${1}"; then
18581 func_dirname_result
="${3}"
18583 func_dirname_result
="$func_dirname_result${2}"
18587 # func_basename file
18590 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18594 # func_stripname prefix suffix name
18595 # strip PREFIX and SUFFIX off of NAME.
18596 # PREFIX and SUFFIX must not contain globbing or regex special
18597 # characters, hashes, percent signs, but SUFFIX may contain a leading
18598 # dot (in which case that matches only a dot).
18599 # func_strip_suffix prefix name
18603 .
*) func_stripname_result
=`$ECHO "X${3}" \
18604 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18605 *) func_stripname_result
=`$ECHO "X${3}" \
18606 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18611 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18612 my_sed_long_arg
='1s/^-[^=]*=//'
18617 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18618 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18624 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18627 # func_xform libobj-or-source
18630 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18633 # func_arith arithmetic-term...
18636 func_arith_result
=`expr "$@"`
18640 # STRING may not start with a hyphen.
18643 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18649 case $lt_shell_append in
18651 cat << \_LT_EOF
>> "$cfgfile"
18653 # func_append var value
18654 # Append VALUE to the end of shell variable VAR.
18662 cat << \_LT_EOF
>> "$cfgfile"
18664 # func_append var value
18665 # Append VALUE to the end of shell variable VAR.
18676 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18677 ||
(rm -f "$cfgfile"; exit 1)
18679 mv -f "$cfgfile" "$ofile" ||
18680 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18685 for ac_file
in $CONFIG_FILES; do
18686 # Support "outfile[:infile[:infile...]]"
18688 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18690 # PO directories have a Makefile.in generated from Makefile.in.in.
18691 case "$ac_file" in */Makefile.
in)
18692 # Adjust a relative srcdir.
18693 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18694 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
18695 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18696 # In autoconf-2.13 it is called $ac_given_srcdir.
18697 # In autoconf-2.50 it is called $srcdir.
18698 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
18699 case "$ac_given_srcdir" in
18700 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
18701 /*) top_srcdir
="$ac_given_srcdir" ;;
18702 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18704 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18705 rm -f "$ac_dir/POTFILES"
18706 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
18707 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18708 POMAKEFILEDEPS
="POTFILES.in"
18709 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
18710 # on $ac_dir but don't depend on user-specified configuration
18712 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18713 # The LINGUAS file contains the set of available languages.
18714 if test -n "$OBSOLETE_ALL_LINGUAS"; then
18715 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
18717 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18718 # Hide the ALL_LINGUAS assigment from automake.
18719 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18720 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
18722 # The set of available languages was given in configure.in.
18723 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18725 case "$ac_given_srcdir" in
18727 *) srcdirpre
='$(srcdir)/' ;;
18733 for lang
in $ALL_LINGUAS; do
18734 POFILES
="$POFILES $srcdirpre$lang.po"
18735 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
18736 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
18737 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
18739 # CATALOGS depends on both $ac_dir and the user's LINGUAS
18740 # environment variable.
18742 if test -n "$ALL_LINGUAS"; then
18743 for presentlang
in $ALL_LINGUAS; do
18745 if test "%UNSET%" != "$LINGUAS"; then
18746 desiredlanguages
="$LINGUAS"
18748 desiredlanguages
="$ALL_LINGUAS"
18750 for desiredlang
in $desiredlanguages; do
18751 # Use the presentlang catalog if desiredlang is
18752 # a. equal to presentlang, or
18753 # b. a variant of presentlang (because in this case,
18754 # presentlang can be used as a fallback for messages
18755 # which are not translated in the desiredlang catalog).
18756 case "$desiredlang" in
18757 "$presentlang"*) useit
=yes;;
18760 if test $useit = yes; then
18761 INST_LINGUAS
="$INST_LINGUAS $presentlang"
18766 if test -n "$INST_LINGUAS"; then
18767 for lang
in $INST_LINGUAS; do
18768 CATALOGS
="$CATALOGS $lang.gmo"
18771 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
18772 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"
18773 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
18774 if test -f "$f"; then
18776 *.orig |
*.bak |
*~
) ;;
18777 *) cat "$f" >> "$ac_dir/Makefile" ;;
18789 cat >>$CONFIG_STATUS <<\_ACEOF
18791 { (exit 0); exit 0; }
18793 chmod +x
$CONFIG_STATUS
18794 ac_clean_files
=$ac_clean_files_save
18797 # configure is writing to config.log, and then calls config.status.
18798 # config.status does its own redirection, appending to config.log.
18799 # Unfortunately, on DOS this fails, as config.log is still kept open
18800 # by configure, so config.status won't be able to write to it; its
18801 # output is simply discarded. So we exec the FD to /dev/null,
18802 # effectively closing config.log, so it can be properly (re)opened and
18803 # appended to by config.status. When coming back to configure, we
18804 # need to make the FD available again.
18805 if test "$no_create" != yes; then
18807 ac_config_status_args
=
18808 test "$silent" = yes &&
18809 ac_config_status_args
="$ac_config_status_args --quiet"
18811 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18813 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18814 # would make configure fail if this is the last instruction.
18815 $ac_cs_success ||
{ (exit 1); exit 1; }