2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file
="ar.c"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO WARN_CFLAGS NO_WERROR YACC LEX LEXLIB LEX_OUTPUT_ROOT USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE HDEFINES CC_FOR_BUILD EXEEXT_FOR_BUILD DEMANGLER_NAME ALLOCA LIBICONV LTLIBICONV NLMCONV_DEFS BUILD_NLMCONV BUILD_SRCONV BUILD_DLLTOOL DLLTOOL_DEFS BUILD_WINDRES BUILD_WINDMC BUILD_DLLWRAP BUILD_MISC BUILD_INSTALL_MISC OBJDUMP_DEFS EMULATION EMULATION_VECTOR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version
=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name
=s
,x
,x
,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir
='${exec_prefix}/bin'
491 sbindir
='${exec_prefix}/sbin'
492 libexecdir
='${exec_prefix}/libexec'
493 datadir
='${prefix}/share'
494 sysconfdir
='${prefix}/etc'
495 sharedstatedir
='${prefix}/com'
496 localstatedir
='${prefix}/var'
497 libdir
='${exec_prefix}/lib'
498 includedir
='${prefix}/include'
499 oldincludedir
='/usr/include'
500 infodir
='${prefix}/info'
501 mandir
='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
524 -build |
--build |
--buil |
--bui |
--bu)
525 ac_prev
=build_alias
;;
526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
527 build_alias
=$ac_optarg ;;
529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
531 ac_prev
=cache_file
;;
532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
534 cache_file
=$ac_optarg ;;
537 cache_file
=config.cache
;;
539 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
543 datadir
=$ac_optarg ;;
545 -disable-* |
--disable-*)
546 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* |
--enable-*)
555 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
568 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
569 |
--exec |
--exe |
--ex)
570 ac_prev
=exec_prefix
;;
571 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
572 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
573 |
--exec=* |
--exe=* |
--ex=*)
574 exec_prefix
=$ac_optarg ;;
576 -gas |
--gas |
--ga |
--g)
577 # Obsolete; use --with-gas.
580 -help |
--help |
--hel |
--he |
-h)
582 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
583 ac_init_help
=recursive
;;
584 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
585 ac_init_help
=short
;;
587 -host |
--host |
--hos |
--ho)
588 ac_prev
=host_alias
;;
589 -host=* |
--host=* |
--hos=* |
--ho=*)
590 host_alias
=$ac_optarg ;;
592 -includedir |
--includedir |
--includedi |
--included |
--include \
593 |
--includ |
--inclu |
--incl |
--inc)
594 ac_prev
=includedir
;;
595 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
596 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
597 includedir
=$ac_optarg ;;
599 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
601 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
602 infodir
=$ac_optarg ;;
604 -libdir |
--libdir |
--libdi |
--libd)
606 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
609 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
610 |
--libexe |
--libex |
--libe)
611 ac_prev
=libexecdir
;;
612 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
613 |
--libexe=* |
--libex=* |
--libe=*)
614 libexecdir
=$ac_optarg ;;
616 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
617 |
--localstate |
--localstat |
--localsta |
--localst \
618 |
--locals |
--local |
--loca |
--loc |
--lo)
619 ac_prev
=localstatedir
;;
620 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
621 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
622 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
623 localstatedir
=$ac_optarg ;;
625 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
627 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
631 # Obsolete; use --without-fp.
634 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
635 |
--no-cr |
--no-c |
-n)
638 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
639 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
642 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
643 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
644 |
--oldin |
--oldi |
--old |
--ol |
--o)
645 ac_prev
=oldincludedir
;;
646 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
647 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
648 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
649 oldincludedir
=$ac_optarg ;;
651 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
653 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
656 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
657 |
--program-pre |
--program-pr |
--program-p)
658 ac_prev
=program_prefix
;;
659 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
660 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
661 program_prefix
=$ac_optarg ;;
663 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
664 |
--program-suf |
--program-su |
--program-s)
665 ac_prev
=program_suffix
;;
666 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
667 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
668 program_suffix
=$ac_optarg ;;
670 -program-transform-name |
--program-transform-name \
671 |
--program-transform-nam |
--program-transform-na \
672 |
--program-transform-n |
--program-transform- \
673 |
--program-transform |
--program-transfor \
674 |
--program-transfo |
--program-transf \
675 |
--program-trans |
--program-tran \
676 |
--progr-tra |
--program-tr |
--program-t)
677 ac_prev
=program_transform_name
;;
678 -program-transform-name=* |
--program-transform-name=* \
679 |
--program-transform-nam=* |
--program-transform-na=* \
680 |
--program-transform-n=* |
--program-transform-=* \
681 |
--program-transform=* |
--program-transfor=* \
682 |
--program-transfo=* |
--program-transf=* \
683 |
--program-trans=* |
--program-tran=* \
684 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
685 program_transform_name
=$ac_optarg ;;
687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
688 |
-silent |
--silent |
--silen |
--sile |
--sil)
691 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
693 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
695 sbindir
=$ac_optarg ;;
697 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
698 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
699 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
701 ac_prev
=sharedstatedir
;;
702 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
703 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
704 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
706 sharedstatedir
=$ac_optarg ;;
708 -site |
--site |
--sit)
710 -site=* |
--site=* |
--sit=*)
713 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
715 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
718 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
719 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
720 ac_prev
=sysconfdir
;;
721 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
722 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
723 sysconfdir
=$ac_optarg ;;
725 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
726 ac_prev
=target_alias
;;
727 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
728 target_alias
=$ac_optarg ;;
730 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
733 -version |
--version |
--versio |
--versi |
--vers |
-V)
737 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* |
--without-*)
750 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package
=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
763 |
--x-incl |
--x-inc |
--x-in |
--x-i)
764 ac_prev
=x_includes
;;
765 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
766 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
767 x_includes
=$ac_optarg ;;
769 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
770 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
771 ac_prev
=x_libraries
;;
772 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
773 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
774 x_libraries
=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var
in exec_prefix prefix
811 eval ac_val
=$
`echo $ac_var`
813 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x
; then
840 if test "x$build_alias" = x
; then
841 cross_compiling
=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
852 test "$silent" = yes && exec 6>/dev
/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted
=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir
=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted
=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set
=${build_alias+set}
892 ac_env_build_alias_value
=$build_alias
893 ac_cv_env_build_alias_set
=${build_alias+set}
894 ac_cv_env_build_alias_value
=$build_alias
895 ac_env_host_alias_set
=${host_alias+set}
896 ac_env_host_alias_value
=$host_alias
897 ac_cv_env_host_alias_set
=${host_alias+set}
898 ac_cv_env_host_alias_value
=$host_alias
899 ac_env_target_alias_set
=${target_alias+set}
900 ac_env_target_alias_value
=$target_alias
901 ac_cv_env_target_alias_set
=${target_alias+set}
902 ac_cv_env_target_alias_value
=$target_alias
903 ac_env_CC_set
=${CC+set}
905 ac_cv_env_CC_set
=${CC+set}
906 ac_cv_env_CC_value
=$CC
907 ac_env_CFLAGS_set
=${CFLAGS+set}
908 ac_env_CFLAGS_value
=$CFLAGS
909 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
910 ac_cv_env_CFLAGS_value
=$CFLAGS
911 ac_env_LDFLAGS_set
=${LDFLAGS+set}
912 ac_env_LDFLAGS_value
=$LDFLAGS
913 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
914 ac_cv_env_LDFLAGS_value
=$LDFLAGS
915 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
916 ac_env_CPPFLAGS_value
=$CPPFLAGS
917 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
918 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
919 ac_env_CPP_set
=${CPP+set}
920 ac_env_CPP_value
=$CPP
921 ac_cv_env_CPP_set
=${CPP+set}
922 ac_cv_env_CPP_value
=$CPP
925 # Report the --help message.
927 if test "$ac_init_help" = "long"; then
928 # Omit some internal or obsolete options to make the list less imposing.
929 # This message is too long to be a string in the A/UX 3.1 sh.
931 \`configure' configures this package to adapt to many kinds of systems.
933 Usage: $0 [OPTION]... [VAR=VALUE]...
935 To assign environment variables (e.g., CC, CFLAGS...), specify them as
936 VAR=VALUE. See below for descriptions of some of the useful variables.
938 Defaults for the options are specified in brackets.
941 -h, --help display this help and exit
942 --help=short display options specific to this package
943 --help=recursive display the short help of all the included packages
944 -V, --version display version information and exit
945 -q, --quiet, --silent do not print \`checking...' messages
946 --cache-file=FILE cache test results in FILE [disabled]
947 -C, --config-cache alias for \`--cache-file=config.cache'
948 -n, --no-create do not create output files
949 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 Installation directories:
955 --prefix=PREFIX install architecture-independent files in PREFIX
957 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
960 By default, \`make install' will install all the files in
961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
963 for instance \`--prefix=\$HOME'.
965 For better control, use the options below.
967 Fine tuning of the installation directories:
968 --bindir=DIR user executables [EPREFIX/bin]
969 --sbindir=DIR system admin executables [EPREFIX/sbin]
970 --libexecdir=DIR program executables [EPREFIX/libexec]
971 --datadir=DIR read-only architecture-independent data [PREFIX/share]
972 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
973 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
974 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
975 --libdir=DIR object code libraries [EPREFIX/lib]
976 --includedir=DIR C header files [PREFIX/include]
977 --oldincludedir=DIR C header files for non-gcc [/usr/include]
978 --infodir=DIR info documentation [PREFIX/info]
979 --mandir=DIR man documentation [PREFIX/man]
985 --program-prefix=PREFIX prepend PREFIX to installed program names
986 --program-suffix=SUFFIX append SUFFIX to installed program names
987 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
990 --build=BUILD configure
for building on BUILD
[guessed
]
991 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
992 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
996 if test -n "$ac_init_help"; then
1001 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1002 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1003 --disable-dependency-tracking speeds up one-time build
1004 --enable-dependency-tracking do not reject slow dependency extractors
1005 --disable-largefile omit support
for large files
1006 --enable-shared[=PKGS
]
1007 build shared libraries
[default
=yes]
1008 --enable-static[=PKGS
]
1009 build static libraries
[default
=yes]
1010 --enable-fast-install[=PKGS
]
1011 optimize
for fast installation
[default
=yes]
1012 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1013 --enable-targets alternative target configurations
1014 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
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
4739 # Check whether --enable-largefile or --disable-largefile was given.
4740 if test "${enable_largefile+set}" = set; then
4741 enableval
="$enable_largefile"
4744 if test "$enable_largefile" != no
; then
4746 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4747 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4748 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4751 ac_cv_sys_largefile_CC
=no
4752 if test "$GCC" != yes; then
4755 # IRIX 6.2 and later do not support large files by default,
4756 # so use the C compiler's -n32 option if that helps.
4757 cat >conftest.
$ac_ext <<_ACEOF
4760 cat confdefs.h
>>conftest.
$ac_ext
4761 cat >>conftest.
$ac_ext <<_ACEOF
4762 /* end confdefs.h. */
4763 #include <sys/types.h>
4764 /* Check that off_t can represent 2**63 - 1 correctly.
4765 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4766 since some C++ compilers masquerading as C compilers
4767 incorrectly reject 9223372036854775807. */
4768 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4769 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4770 && LARGE_OFF_T % 2147483647 == 1)
4780 rm -f conftest.
$ac_objext
4781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4782 (eval $ac_compile) 2>conftest.er1
4784 grep -v '^ *+' conftest.er1
>conftest.err
4786 cat conftest.err
>&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); } &&
4789 { ac_try
='test -z "$ac_c_werror_flag"
4790 || test ! -s conftest.err'
4791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); }; } &&
4796 { ac_try
='test -s conftest.$ac_objext'
4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); }; }; then
4804 echo "$as_me: failed program was:" >&5
4805 sed 's/^/| /' conftest.
$ac_ext >&5
4808 rm -f conftest.err conftest.
$ac_objext
4810 rm -f conftest.
$ac_objext
4811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4812 (eval $ac_compile) 2>conftest.er1
4814 grep -v '^ *+' conftest.er1
>conftest.err
4816 cat conftest.err
>&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); } &&
4819 { ac_try
='test -z "$ac_c_werror_flag"
4820 || test ! -s conftest.err'
4821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); }; } &&
4826 { ac_try
='test -s conftest.$ac_objext'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; }; then
4832 ac_cv_sys_largefile_CC
=' -n32'; break
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.
$ac_ext >&5
4838 rm -f conftest.err conftest.
$ac_objext
4842 rm -f conftest.
$ac_ext
4845 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4846 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4847 if test "$ac_cv_sys_largefile_CC" != no
; then
4848 CC
=$CC$ac_cv_sys_largefile_CC
4851 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4852 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4853 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4857 ac_cv_sys_file_offset_bits
=no
4858 cat >conftest.
$ac_ext <<_ACEOF
4861 cat confdefs.h
>>conftest.
$ac_ext
4862 cat >>conftest.
$ac_ext <<_ACEOF
4863 /* end confdefs.h. */
4864 #include <sys/types.h>
4865 /* Check that off_t can represent 2**63 - 1 correctly.
4866 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4867 since some C++ compilers masquerading as C compilers
4868 incorrectly reject 9223372036854775807. */
4869 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4870 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4871 && LARGE_OFF_T % 2147483647 == 1)
4881 rm -f conftest.
$ac_objext
4882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4883 (eval $ac_compile) 2>conftest.er1
4885 grep -v '^ *+' conftest.er1
>conftest.err
4887 cat conftest.err
>&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } &&
4890 { ac_try
='test -z "$ac_c_werror_flag"
4891 || test ! -s conftest.err'
4892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); }; } &&
4897 { ac_try
='test -s conftest.$ac_objext'
4898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); }; }; then
4905 echo "$as_me: failed program was:" >&5
4906 sed 's/^/| /' conftest.
$ac_ext >&5
4909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4910 cat >conftest.
$ac_ext <<_ACEOF
4913 cat confdefs.h
>>conftest.
$ac_ext
4914 cat >>conftest.
$ac_ext <<_ACEOF
4915 /* end confdefs.h. */
4916 #define _FILE_OFFSET_BITS 64
4917 #include <sys/types.h>
4918 /* Check that off_t can represent 2**63 - 1 correctly.
4919 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4920 since some C++ compilers masquerading as C compilers
4921 incorrectly reject 9223372036854775807. */
4922 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4923 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4924 && LARGE_OFF_T % 2147483647 == 1)
4934 rm -f conftest.
$ac_objext
4935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4936 (eval $ac_compile) 2>conftest.er1
4938 grep -v '^ *+' conftest.er1
>conftest.err
4940 cat conftest.err
>&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); } &&
4943 { ac_try
='test -z "$ac_c_werror_flag"
4944 || test ! -s conftest.err'
4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); }; } &&
4950 { ac_try
='test -s conftest.$ac_objext'
4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); }; }; then
4956 ac_cv_sys_file_offset_bits
=64; break
4958 echo "$as_me: failed program was:" >&5
4959 sed 's/^/| /' conftest.
$ac_ext >&5
4962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4966 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4967 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4968 if test "$ac_cv_sys_file_offset_bits" != no
; then
4970 cat >>confdefs.h
<<_ACEOF
4971 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4976 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4977 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4978 if test "${ac_cv_sys_large_files+set}" = set; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 ac_cv_sys_large_files
=no
4983 cat >conftest.
$ac_ext <<_ACEOF
4986 cat confdefs.h
>>conftest.
$ac_ext
4987 cat >>conftest.
$ac_ext <<_ACEOF
4988 /* end confdefs.h. */
4989 #include <sys/types.h>
4990 /* Check that off_t can represent 2**63 - 1 correctly.
4991 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4992 since some C++ compilers masquerading as C compilers
4993 incorrectly reject 9223372036854775807. */
4994 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4995 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4996 && LARGE_OFF_T % 2147483647 == 1)
5006 rm -f conftest.
$ac_objext
5007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5008 (eval $ac_compile) 2>conftest.er1
5010 grep -v '^ *+' conftest.er1
>conftest.err
5012 cat conftest.err
>&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); } &&
5015 { ac_try
='test -z "$ac_c_werror_flag"
5016 || test ! -s conftest.err'
5017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); }; } &&
5022 { ac_try
='test -s conftest.$ac_objext'
5023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; }; then
5030 echo "$as_me: failed program was:" >&5
5031 sed 's/^/| /' conftest.
$ac_ext >&5
5034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5035 cat >conftest.
$ac_ext <<_ACEOF
5038 cat confdefs.h
>>conftest.
$ac_ext
5039 cat >>conftest.
$ac_ext <<_ACEOF
5040 /* end confdefs.h. */
5041 #define _LARGE_FILES 1
5042 #include <sys/types.h>
5043 /* Check that off_t can represent 2**63 - 1 correctly.
5044 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5045 since some C++ compilers masquerading as C compilers
5046 incorrectly reject 9223372036854775807. */
5047 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5048 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5049 && LARGE_OFF_T % 2147483647 == 1)
5059 rm -f conftest.
$ac_objext
5060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5061 (eval $ac_compile) 2>conftest.er1
5063 grep -v '^ *+' conftest.er1
>conftest.err
5065 cat conftest.err
>&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); } &&
5068 { ac_try
='test -z "$ac_c_werror_flag"
5069 || test ! -s conftest.err'
5070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); }; } &&
5075 { ac_try
='test -s conftest.$ac_objext'
5076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); }; }; then
5081 ac_cv_sys_large_files
=1; break
5083 echo "$as_me: failed program was:" >&5
5084 sed 's/^/| /' conftest.
$ac_ext >&5
5087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5091 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5092 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5093 if test "$ac_cv_sys_large_files" != no
; then
5095 cat >>confdefs.h
<<_ACEOF
5096 #define _LARGE_FILES $ac_cv_sys_large_files
5105 macro_version
='2.1a'
5106 macro_revision
='1.2435'
5119 ltmain
="$ac_aux_dir/ltmain.sh"
5129 # Check whether --enable-shared or --disable-shared was given.
5130 if test "${enable_shared+set}" = set; then
5131 enableval
="$enable_shared"
5132 p
=${PACKAGE-default}
5134 yes) enable_shared
=yes ;;
5135 no
) enable_shared
=no
;;
5138 # Look at the argument we got. We use all the common list separators.
5139 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5140 for pkg
in $enableval; do
5142 if test "X$pkg" = "X$p"; then
5160 # Check whether --enable-static or --disable-static was given.
5161 if test "${enable_static+set}" = set; then
5162 enableval
="$enable_static"
5163 p
=${PACKAGE-default}
5165 yes) enable_static
=yes ;;
5166 no
) enable_static
=no
;;
5169 # Look at the argument we got. We use all the common list separators.
5170 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5171 for pkg
in $enableval; do
5173 if test "X$pkg" = "X$p"; then
5192 # Check whether --with-pic or --without-pic was given.
5193 if test "${with_pic+set}" = set; then
5200 test -z "$pic_mode" && pic_mode
=default
5208 # Check whether --enable-fast-install or --disable-fast-install was given.
5209 if test "${enable_fast_install+set}" = set; then
5210 enableval
="$enable_fast_install"
5211 p
=${PACKAGE-default}
5213 yes) enable_fast_install
=yes ;;
5214 no
) enable_fast_install
=no
;;
5216 enable_fast_install
=no
5217 # Look at the argument we got. We use all the common list separators.
5218 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5219 for pkg
in $enableval; do
5221 if test "X$pkg" = "X$p"; then
5222 enable_fast_install
=yes
5229 enable_fast_install
=yes
5239 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5240 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5241 if test "${lt_cv_path_SED+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 # Loop through the user's path and test for sed and gsed.
5245 # Then use that list of sed's as ones to test for truncation.
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir
=.
5251 for lt_ac_prog
in sed gsed
; do
5252 for ac_exec_ext
in '' $ac_executable_extensions; do
5253 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5254 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5262 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5263 # along with /bin/sed that truncates output.
5264 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5265 test ! -f $lt_ac_sed && continue
5266 cat /dev
/null
> conftest.
in
5268 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5269 # Check for GNU sed and select it if it is found.
5270 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5271 lt_cv_path_SED
=$lt_ac_sed
5275 cat conftest.
in conftest.
in >conftest.tmp
5276 mv conftest.tmp conftest.
in
5277 cp conftest.
in conftest.
nl
5279 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5280 cmp -s conftest.out conftest.
nl ||
break
5281 # 10000 chars as input seems more than enough
5282 test $lt_ac_count -gt 10 && break
5283 lt_ac_count
=`expr $lt_ac_count + 1`
5284 if test $lt_ac_count -gt $lt_ac_max; then
5285 lt_ac_max
=$lt_ac_count
5286 lt_cv_path_SED
=$lt_ac_sed
5295 echo "$as_me:$LINENO: result: $SED" >&5
5296 echo "${ECHO_T}$SED" >&6
5298 test -z "$SED" && SED
=sed
5299 Xsed
="$SED -e 1s/^X//"
5311 echo "$as_me:$LINENO: checking for fgrep" >&5
5312 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5313 if test "${ac_cv_prog_fgrep+set}" = set; then
5314 echo $ECHO_N "(cached) $ECHO_C" >&6
5316 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5317 then ac_cv_prog_fgrep
='grep -F'
5318 else ac_cv_prog_fgrep
='fgrep'
5321 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5322 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5323 FGREP
=$ac_cv_prog_fgrep
5326 test -z "$GREP" && GREP
=grep
5346 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5347 if test "${with_gnu_ld+set}" = set; then
5348 withval
="$with_gnu_ld"
5349 test "$withval" = no || with_gnu_ld
=yes
5354 if test "$GCC" = yes; then
5355 # Check if gcc -print-prog-name=ld gives a path.
5356 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5357 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5360 # gcc leaves a trailing carriage return which upsets mingw
5361 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5363 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5366 # Accept absolute paths.
5368 re_direlt
='/[^/][^/]*/\.\./'
5369 # Canonicalize the pathname of ld
5370 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5371 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5372 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5374 test -z "$LD" && LD
="$ac_prog"
5377 # If it fails, then pretend we aren't using GCC.
5381 # If it is relative, then search for the first ld in PATH.
5385 elif test "$with_gnu_ld" = yes; then
5386 echo "$as_me:$LINENO: checking for GNU ld" >&5
5387 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5389 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5390 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5392 if test "${lt_cv_path_LD+set}" = set; then
5393 echo $ECHO_N "(cached) $ECHO_C" >&6
5395 if test -z "$LD"; then
5396 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5397 for ac_dir
in $PATH; do
5399 test -z "$ac_dir" && ac_dir
=.
5400 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5401 lt_cv_path_LD
="$ac_dir/$ac_prog"
5402 # Check to see if the program is GNU ld. I'd rather use --version,
5403 # but apparently some variants of GNU ld only accept -v.
5404 # Break only if it was the GNU/non-GNU ld that we prefer.
5405 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5406 *GNU
* |
*'with BFD'*)
5407 test "$with_gnu_ld" != no
&& break
5410 test "$with_gnu_ld" != yes && break
5417 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5422 if test -n "$LD"; then
5423 echo "$as_me:$LINENO: result: $LD" >&5
5424 echo "${ECHO_T}$LD" >&6
5426 echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6
5429 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5430 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5431 { (exit 1); exit 1; }; }
5432 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5433 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5434 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5435 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5438 case `$LD -v 2>&1 </dev/null` in
5439 *GNU
* |
*'with BFD'*)
5440 lt_cv_prog_gnu_ld
=yes
5443 lt_cv_prog_gnu_ld
=no
5447 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5448 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5449 with_gnu_ld
=$lt_cv_prog_gnu_ld
5460 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5461 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5462 if test "${lt_cv_path_NM+set}" = set; then
5463 echo $ECHO_N "(cached) $ECHO_C" >&6
5465 if test -n "$NM"; then
5466 # Let the user override the test.
5469 lt_nm_to_check
="${ac_tool_prefix}nm"
5470 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5471 lt_nm_to_check
="$lt_nm_to_check nm"
5473 for lt_tmp_nm
in $lt_nm_to_check; do
5474 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5475 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5477 test -z "$ac_dir" && ac_dir
=.
5478 tmp_nm
="$ac_dir/$lt_tmp_nm"
5479 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5480 # Check to see if the nm accepts a BSD-compat flag.
5481 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5482 # nm: unknown option "B" ignored
5483 # Tru64's nm complains that /dev/null is an invalid object file
5484 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5485 */dev
/null
* |
*'Invalid file or object type'*)
5486 lt_cv_path_NM
="$tmp_nm -B"
5490 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5492 lt_cv_path_NM
="$tmp_nm -p"
5496 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5497 continue # so that we can try to find one that supports BSD flags
5506 : ${lt_cv_path_NM=no}
5509 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5510 echo "${ECHO_T}$lt_cv_path_NM" >&6
5511 if test "$lt_cv_path_NM" != "no"; then
5514 # Didn't find any BSD compatible name lister, look for dumpbin.
5515 if test -n "$ac_tool_prefix"; then
5516 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5519 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5520 echo "$as_me:$LINENO: checking for $ac_word" >&5
5521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5522 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5523 echo $ECHO_N "(cached) $ECHO_C" >&6
5525 if test -n "$DUMPBIN"; then
5526 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5532 test -z "$as_dir" && as_dir
=.
5533 for ac_exec_ext
in '' $ac_executable_extensions; do
5534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5535 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 DUMPBIN
=$ac_cv_prog_DUMPBIN
5545 if test -n "$DUMPBIN"; then
5546 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5547 echo "${ECHO_T}$DUMPBIN" >&6
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5553 test -n "$DUMPBIN" && break
5556 if test -z "$DUMPBIN"; then
5557 ac_ct_DUMPBIN
=$DUMPBIN
5558 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5560 # Extract the first word of "$ac_prog", so it can be a program name with args.
5561 set dummy
$ac_prog; ac_word
=$2
5562 echo "$as_me:$LINENO: checking for $ac_word" >&5
5563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5564 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5565 echo $ECHO_N "(cached) $ECHO_C" >&6
5567 if test -n "$ac_ct_DUMPBIN"; then
5568 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir
=.
5575 for ac_exec_ext
in '' $ac_executable_extensions; do
5576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5586 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5587 if test -n "$ac_ct_DUMPBIN"; then
5588 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5589 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5591 echo "$as_me:$LINENO: result: no" >&5
5592 echo "${ECHO_T}no" >&6
5595 test -n "$ac_ct_DUMPBIN" && break
5597 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5599 DUMPBIN
=$ac_ct_DUMPBIN
5603 if test "$DUMPBIN" != ":"; then
5607 test -z "$NM" && NM
=nm
5614 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5615 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5616 if test "${lt_cv_nm_interface+set}" = set; then
5617 echo $ECHO_N "(cached) $ECHO_C" >&6
5619 lt_cv_nm_interface
="BSD nm"
5620 echo "int some_variable = 0;" > conftest.
$ac_ext
5621 (eval echo "\"\$as_me:5256: $ac_compile\"" >&5)
5622 (eval "$ac_compile" 2>conftest.err
)
5623 cat conftest.err
>&5
5624 (eval echo "\"\$as_me:5259: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5625 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5626 cat conftest.err
>&5
5627 (eval echo "\"\$as_me:5262: output\"" >&5)
5628 cat conftest.out
>&5
5629 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5630 lt_cv_nm_interface
="MS dumpbin"
5634 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5635 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5637 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5638 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5640 if test "$LN_S" = "ln -s"; then
5641 echo "$as_me:$LINENO: result: yes" >&5
5642 echo "${ECHO_T}yes" >&6
5644 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5645 echo "${ECHO_T}no, using $LN_S" >&6
5648 # find the maximum length of command line arguments
5649 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5650 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5651 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5652 echo $ECHO_N "(cached) $ECHO_C" >&6
5659 # On DJGPP, this test can blow up pretty badly due to problems in libc
5660 # (any single argument exceeding 2000 bytes causes a buffer overrun
5661 # during glob expansion). Even if it were fixed, the result of this
5662 # check would be larger than it should be.
5663 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5667 # Under GNU Hurd, this test is not required because there is
5668 # no limit to the length of command line arguments.
5669 # Libtool will interpret -1 as no limit whatsoever
5670 lt_cv_sys_max_cmd_len
=-1;
5674 # On Win9x/ME, this test blows up -- it succeeds, but takes
5675 # about 5 minutes as the teststring grows exponentially.
5676 # Worse, since 9x/ME are not pre-emptively multitasking,
5677 # you end up with a "frozen" computer, even though with patience
5678 # the test eventually succeeds (with a max line length of 256k).
5679 # Instead, let's just punt: use the minimum linelength reported by
5680 # all of the supported platforms: 8192 (on NT/2K/XP).
5681 lt_cv_sys_max_cmd_len
=8192;
5685 # On AmigaOS with pdksh, this test takes hours, literally.
5686 # So we just punt and use a minimum line length of 8192.
5687 lt_cv_sys_max_cmd_len
=8192;
5690 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5691 # This has been around since 386BSD, at least. Likely further.
5692 if test -x /sbin
/sysctl
; then
5693 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5694 elif test -x /usr
/sbin
/sysctl
; then
5695 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5697 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5699 # And add a safety zone
5700 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5701 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5705 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5706 lt_cv_sys_max_cmd_len
=196608
5710 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5711 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5712 # nice to cause kernel panics so lets avoid the loop below.
5713 # First set a reasonable default.
5714 lt_cv_sys_max_cmd_len
=16384
5716 if test -x /sbin
/sysconfig
; then
5717 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5718 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5723 lt_cv_sys_max_cmd_len
=102400
5725 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5726 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5727 if test -n "$kargmax"; then
5728 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5730 lt_cv_sys_max_cmd_len
=32768
5734 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
5735 if test -n $lt_cv_sys_max_cmd_len; then
5736 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5737 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5739 # Make teststring a little bigger before we do anything with it.
5740 # a 1K string should be a reasonable start.
5741 for i
in 1 2 3 4 5 6 7 8 ; do
5742 teststring
=$teststring$teststring
5744 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5745 # If test is not a shell built-in, we'll probably end up computing a
5746 # maximum length that is only half of the actual maximum length, but
5748 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5749 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5750 test $i != 17 # 1/2 MB should be enough
5753 teststring
=$teststring$teststring
5755 # Only check the string length outside the loop.
5756 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5758 # Add a significant safety factor because C++ compilers can tack on
5759 # massive amounts of additional arguments before passing them to the
5760 # linker. It appears as though 1/2 is a usable value.
5761 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5768 if test -n $lt_cv_sys_max_cmd_len ; then
5769 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5770 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5772 echo "$as_me:$LINENO: result: none" >&5
5773 echo "${ECHO_T}none" >&6
5775 max_cmd_len
=$lt_cv_sys_max_cmd_len
5787 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5788 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5789 # Try some XSI features
5792 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5793 = c,a/b,, ) >/dev/null 2>&1 \
5795 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5796 echo "${ECHO_T}$xsi_shell" >&6
5799 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5800 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
5802 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5804 && lt_shell_append=yes
5805 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5806 echo "${ECHO_T}$lt_shell_append" >&6
5809 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5819 # test EBCDIC or ASCII
5820 case `echo X|tr X '\101'` in
5821 A) # ASCII based system
5822 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5823 lt_SP2NL='tr \040 \012'
5824 lt_NL2SP='tr \015\012 \040\040'
5826 *) # EBCDIC based system
5827 lt_SP2NL='tr \100 \n'
5828 lt_NL2SP='tr \r\n \100\100'
5840 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5841 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
5842 if test "${lt_cv_ld_reload_flag+set}" = set; then
5843 echo $ECHO_N "(cached
) $ECHO_C" >&6
5845 lt_cv_ld_reload_flag='-r'
5847 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5848 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5849 reload_flag=$lt_cv_ld_reload_flag
5850 case $reload_flag in
5852 *) reload_flag=" $reload_flag" ;;
5854 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5857 if test "$GCC" = yes; then
5858 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5860 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5874 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5875 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
5876 if test "${lt_cv_deplibs_check_method+set}" = set; then
5877 echo $ECHO_N "(cached
) $ECHO_C" >&6
5879 lt_cv_file_magic_cmd='$MAGIC_CMD'
5880 lt_cv_file_magic_test_file=
5881 lt_cv_deplibs_check_method='unknown'
5882 # Need to set the preceding variable on all platforms that support
5883 # interlibrary dependencies.
5884 # 'none' -- dependencies not supported.
5885 # `unknown' -- same as none, but documents that we really don't know.
5886 # 'pass_all' -- all dependencies passed with no checks.
5887 # 'test_compile' -- check by making test program.
5888 # 'file_magic [[regex]]' -- check by looking for files in library path
5889 # which responds to the $file_magic_cmd with a given extended regex.
5890 # If you have `file' or equivalent on your system and you're not sure
5891 # whether `pass_all' will *always* work, you probably want this one.
5895 lt_cv_deplibs_check_method=pass_all
5899 lt_cv_deplibs_check_method=pass_all
5903 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5904 lt_cv_file_magic_cmd='/usr/bin/file -L'
5905 lt_cv_file_magic_test_file=/shlib/libc.so
5909 # func_win32_libid is a shell function defined in ltmain.sh
5910 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5911 lt_cv_file_magic_cmd='func_win32_libid'
5915 # Base MSYS/MinGW do not provide the 'file' command needed by
5916 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5917 # unless we find 'file', for example because we are cross-compiling.
5918 if ( file / ) >/dev/null 2>&1; then
5919 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5920 lt_cv_file_magic_cmd='func_win32_libid'
5922 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5923 lt_cv_file_magic_cmd='$OBJDUMP -f'
5927 darwin* | rhapsody*)
5928 lt_cv_deplibs_check_method=pass_all
5931 freebsd* | dragonfly*)
5932 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5935 # Not sure whether the presence of OpenBSD here was a mistake.
5936 # Let's accept both of them until this is cleared up.
5937 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5938 lt_cv_file_magic_cmd=/usr/bin/file
5939 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5943 lt_cv_deplibs_check_method=pass_all
5948 lt_cv_deplibs_check_method=pass_all
5951 hpux10.20* | hpux11*)
5952 lt_cv_file_magic_cmd=/usr/bin/file
5955 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5956 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5959 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]'
5960 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5963 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5964 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5970 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5971 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5974 irix5* | irix6* | nonstopux*)
5976 *-32|*"-32 ") libmagic=32-bit;;
5977 *-n32|*"-n32 ") libmagic=N32;;
5978 *-64|*"-64 ") libmagic=64-bit;;
5979 *) libmagic=never-match;;
5981 lt_cv_deplibs_check_method=pass_all
5984 # This must be Linux ELF.
5985 linux* | k*bsd*-gnu)
5986 lt_cv_deplibs_check_method=pass_all
5990 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5991 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5993 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5998 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5999 lt_cv_file_magic_cmd=/usr/bin/file
6000 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6004 lt_cv_deplibs_check_method=pass_all
6008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6009 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6011 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6015 osf3* | osf4* | osf5*)
6016 lt_cv_deplibs_check_method=pass_all
6020 lt_cv_deplibs_check_method=pass_all
6024 lt_cv_deplibs_check_method=pass_all
6027 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6028 lt_cv_deplibs_check_method=pass_all
6032 case $host_vendor in
6034 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]'
6035 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6038 lt_cv_deplibs_check_method=pass_all
6041 lt_cv_file_magic_cmd='/bin/file'
6042 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6045 lt_cv_file_magic_cmd='/bin/file'
6046 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6047 lt_cv_file_magic_test_file=/lib/libc.so
6050 lt_cv_deplibs_check_method=pass_all
6053 lt_cv_deplibs_check_method=pass_all
6059 lt_cv_deplibs_check_method=pass_all
6064 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6065 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6066 file_magic_cmd=$lt_cv_file_magic_cmd
6067 deplibs_check_method=$lt_cv_deplibs_check_method
6068 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6081 if test -n "$ac_tool_prefix"; then
6082 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6083 set dummy ${ac_tool_prefix}ar; ac_word=$2
6084 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6085 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6086 if test "${ac_cv_prog_AR+set}" = set; then
6087 echo $ECHO_N "(cached
) $ECHO_C" >&6
6089 if test -n "$AR"; then
6090 ac_cv_prog_AR="$AR" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6099 ac_cv_prog_AR="${ac_tool_prefix}ar"
6100 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6109 if test -n "$AR"; then
6110 echo "$as_me:$LINENO: result
: $AR" >&5
6111 echo "${ECHO_T}$AR" >&6
6113 echo "$as_me:$LINENO: result
: no
" >&5
6114 echo "${ECHO_T}no
" >&6
6118 if test -z "$ac_cv_prog_AR"; then
6120 # Extract the first word of "ar", so it can be a program name with args.
6121 set dummy ar; ac_word=$2
6122 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6123 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6124 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6125 echo $ECHO_N "(cached
) $ECHO_C" >&6
6127 if test -n "$ac_ct_AR"; then
6128 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 test -z "$as_dir" && as_dir=.
6135 for ac_exec_ext in '' $ac_executable_extensions; do
6136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6137 ac_cv_prog_ac_ct_AR="ar"
6138 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6144 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6147 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6148 if test -n "$ac_ct_AR"; then
6149 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6150 echo "${ECHO_T}$ac_ct_AR" >&6
6152 echo "$as_me:$LINENO: result
: no
" >&5
6153 echo "${ECHO_T}no
" >&6
6161 test -z "$AR" && AR=ar
6162 test -z "$AR_FLAGS" && AR_FLAGS=cru
6174 if test -n "$ac_tool_prefix"; then
6175 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6176 set dummy ${ac_tool_prefix}strip; ac_word=$2
6177 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6178 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6179 if test "${ac_cv_prog_STRIP+set}" = set; then
6180 echo $ECHO_N "(cached
) $ECHO_C" >&6
6182 if test -n "$STRIP"; then
6183 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6189 test -z "$as_dir" && as_dir=.
6190 for ac_exec_ext in '' $ac_executable_extensions; do
6191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6192 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6193 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6201 STRIP=$ac_cv_prog_STRIP
6202 if test -n "$STRIP"; then
6203 echo "$as_me:$LINENO: result
: $STRIP" >&5
6204 echo "${ECHO_T}$STRIP" >&6
6206 echo "$as_me:$LINENO: result
: no
" >&5
6207 echo "${ECHO_T}no
" >&6
6211 if test -z "$ac_cv_prog_STRIP"; then
6213 # Extract the first word of "strip
", so it can be a program name with args.
6214 set dummy strip; ac_word=$2
6215 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6216 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6217 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6218 echo $ECHO_N "(cached
) $ECHO_C" >&6
6220 if test -n "$ac_ct_STRIP"; then
6221 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 test -z "$as_dir" && as_dir=.
6228 for ac_exec_ext in '' $ac_executable_extensions; do
6229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6230 ac_cv_prog_ac_ct_STRIP="strip
"
6231 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6237 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6240 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6241 if test -n "$ac_ct_STRIP"; then
6242 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6243 echo "${ECHO_T}$ac_ct_STRIP" >&6
6245 echo "$as_me:$LINENO: result
: no
" >&5
6246 echo "${ECHO_T}no
" >&6
6251 STRIP="$ac_cv_prog_STRIP"
6254 test -z "$STRIP" && STRIP=:
6261 if test -n "$ac_tool_prefix"; then
6262 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6263 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6264 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6265 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6266 if test "${ac_cv_prog_RANLIB+set}" = set; then
6267 echo $ECHO_N "(cached
) $ECHO_C" >&6
6269 if test -n "$RANLIB"; then
6270 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6276 test -z "$as_dir" && as_dir=.
6277 for ac_exec_ext in '' $ac_executable_extensions; do
6278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6279 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6280 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6288 RANLIB=$ac_cv_prog_RANLIB
6289 if test -n "$RANLIB"; then
6290 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6291 echo "${ECHO_T}$RANLIB" >&6
6293 echo "$as_me:$LINENO: result
: no
" >&5
6294 echo "${ECHO_T}no
" >&6
6298 if test -z "$ac_cv_prog_RANLIB"; then
6299 ac_ct_RANLIB=$RANLIB
6300 # Extract the first word of "ranlib
", so it can be a program name with args.
6301 set dummy ranlib; ac_word=$2
6302 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6303 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6304 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6305 echo $ECHO_N "(cached
) $ECHO_C" >&6
6307 if test -n "$ac_ct_RANLIB"; then
6308 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6317 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6318 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6324 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6327 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6328 if test -n "$ac_ct_RANLIB"; then
6329 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6330 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6332 echo "$as_me:$LINENO: result
: no
" >&5
6333 echo "${ECHO_T}no
" >&6
6336 RANLIB=$ac_ct_RANLIB
6338 RANLIB="$ac_cv_prog_RANLIB"
6341 test -z "$RANLIB" && RANLIB=:
6348 # Determine commands to create old-style static archives.
6349 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6350 old_postinstall_cmds='chmod 644 $oldlib'
6351 old_postuninstall_cmds=
6353 if test -n "$RANLIB"; then
6356 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6359 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6362 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6398 # If no C compiler was specified, use CC.
6401 # If no C compiler flags were specified, use CFLAGS.
6402 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6404 # Allow CC to be a program name with arguments.
6408 # Check for command to grab the raw symbol name followed by C symbol from nm.
6409 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6410 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6411 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6412 echo $ECHO_N "(cached
) $ECHO_C" >&6
6415 # These are sane defaults that work on at least a few old systems.
6416 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6418 # Character class describing NM global symbol codes.
6419 symcode='[BCDEGRST]'
6421 # Regexp to match symbols that can be accessed directly from C.
6422 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6424 # Define system-specific variables.
6429 cygwin* | mingw* | pw32*)
6430 symcode='[ABCDGISTW]'
6433 if test "$host_cpu" = ia64; then
6434 symcode='[ABCDEGRST]'
6438 symcode='[BCDEGRST]'
6441 symcode='[BCDEGQRST]'
6452 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6460 # If we're using GNU nm, then use its standard symbol codes.
6461 case `$NM -V 2>&1` in
6462 *GNU* | *'with BFD'*)
6463 symcode='[ABCDGIRSTW]' ;;
6466 # Transform an extracted symbol line into a proper C declaration.
6467 # Some systems (esp. on ia64) link data and code symbols differently,
6468 # so use this general approach.
6469 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6471 # Transform an extracted symbol line into symbol name and symbol address
6472 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6474 # Handle CRLF in mingw tool chain
6478 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6482 # Try without a prefix underscore, then with it.
6483 for ac_symprfx in "" "_
"; do
6485 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6486 symxfrm="\\1 $ac_symprfx\\2 \\2"
6488 # Write the raw and C identifiers.
6489 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6490 # Fake it for dumpbin and say T for any non-static function
6491 # and D for any global variable.
6492 # Also find C++ and __fastcall symbols from MSVC++,
6493 # which start with @ or ?.
6494 lt_cv_sys_global_symbol_pipe="$AWK '"\
6495 " {last_section=section; section=\$ 3};"\
6496 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6497 " \$ 0!~/External *\|/{next};"\
6498 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6499 " {if(hide[section]) next};"\
6500 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6501 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6502 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6503 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6504 " ' prfx
=^
$ac_symprfx"
6506 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6509 # Check to see that the pipe works correctly.
6513 cat > conftest.$ac_ext <<_LT_EOF
6518 void nm_test_func(void);
6519 void nm_test_func(void){}
6523 int main(){nm_test_var='a';nm_test_func();return(0);}
6526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6527 (eval $ac_compile) 2>&5
6529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6530 (exit $ac_status); }; then
6531 # Now try to grab the symbols.
6533 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6534 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6537 (exit $ac_status); } && test -s "$nlist"; then
6538 # Try sorting and uniquifying the output.
6539 if sort "$nlist" | uniq > "$nlist"T; then
6540 mv -f "$nlist"T "$nlist"
6545 # Make sure that we snagged all the symbols we need.
6546 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6547 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6548 cat <<_LT_EOF > conftest.$ac_ext
6554 # Now generate the symbol file.
6555 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6557 cat <<_LT_EOF >> conftest.$ac_ext
6559 /* The mapping between symbol names and symbols. */
6564 lt__PROGRAM__LTX_preloaded_symbols[] =
6566 { "@PROGRAM@
", (void *) 0 },
6568 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6569 cat <<\_LT_EOF >> conftest.$ac_ext
6573 /* This works around a problem in FreeBSD linker */
6574 #ifdef FREEBSD_WORKAROUND
6575 static const void *lt_preloaded_setup() {
6576 return lt__PROGRAM__LTX_preloaded_symbols;
6584 # Now try linking the two files.
6585 mv conftest.$ac_objext conftstm.$ac_objext
6586 lt_save_LIBS="$LIBS"
6587 lt_save_CFLAGS="$CFLAGS"
6588 LIBS="conftstm.
$ac_objext"
6589 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6591 (eval $ac_link) 2>&5
6593 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6594 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6597 LIBS="$lt_save_LIBS"
6598 CFLAGS="$lt_save_CFLAGS"
6600 echo "cannot
find nm_test_func
in $nlist" >&5
6603 echo "cannot
find nm_test_var
in $nlist" >&5
6606 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6609 echo "$progname: failed program was
:" >&5
6610 cat conftest.$ac_ext >&5
6612 rm -f conftest* conftst*
6614 # Do not use the global_symbol_pipe unless it works.
6615 if test "$pipe_works" = yes; then
6618 lt_cv_sys_global_symbol_pipe=
6624 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6625 lt_cv_sys_global_symbol_to_cdecl=
6627 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6628 echo "$as_me:$LINENO: result
: failed
" >&5
6629 echo "${ECHO_T}failed
" >&6
6631 echo "$as_me:$LINENO: result
: ok
" >&5
6632 echo "${ECHO_T}ok
" >&6
6651 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6652 if test "${enable_libtool_lock+set}" = set; then
6653 enableval="$enable_libtool_lock"
6656 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6658 # Some flags need to be propagated to the compiler or linker for good
6662 # Find out which ABI we are using.
6663 echo 'int i;' > conftest.$ac_ext
6664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6665 (eval $ac_compile) 2>&5
6667 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6668 (exit $ac_status); }; then
6669 case `/usr/bin/file conftest.$ac_objext` in
6681 # Find out which ABI we are using.
6682 echo '#line 6317 "configure
"' > 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 if test "$lt_cv_prog_gnu_ld" = yes; then
6689 case `/usr/bin/file conftest.$ac_objext` in
6691 LD="${LD-ld} -melf32bsmip"
6694 LD="${LD-ld} -melf32bmipn32"
6697 LD="${LD-ld} -melf64bmip"
6701 case `/usr/bin/file conftest.$ac_objext` in
6717 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6718 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6719 # Find out which ABI we are using.
6720 echo 'int i;' > conftest.$ac_ext
6721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6722 (eval $ac_compile) 2>&5
6724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6725 (exit $ac_status); }; then
6726 case `/usr/bin/file conftest.o` in
6729 x86_64-*kfreebsd*-gnu)
6730 LD="${LD-ld} -m elf_i386_fbsd
"
6733 LD="${LD-ld} -m elf_i386
"
6735 ppc64-*linux*|powerpc64-*linux*)
6736 LD="${LD-ld} -m elf32ppclinux
"
6739 LD="${LD-ld} -m elf_s390
"
6742 LD="${LD-ld} -m elf32_sparc
"
6748 x86_64-*kfreebsd*-gnu)
6749 LD="${LD-ld} -m elf_x86_64_fbsd
"
6752 LD="${LD-ld} -m elf_x86_64
"
6754 ppc*-*linux*|powerpc*-*linux*)
6755 LD="${LD-ld} -m elf64ppc
"
6757 s390*-*linux*|s390*-*tpf*)
6758 LD="${LD-ld} -m elf64_s390
"
6761 LD="${LD-ld} -m elf64_sparc
"
6771 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6772 SAVE_CFLAGS="$CFLAGS"
6773 CFLAGS="$CFLAGS -belf"
6774 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6775 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
6776 if test "${lt_cv_cc_needs_belf+set}" = set; then
6777 echo $ECHO_N "(cached
) $ECHO_C" >&6
6780 ac_cpp='$CPP $CPPFLAGS'
6781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6785 cat >conftest.$ac_ext <<_ACEOF
6788 cat confdefs.h >>conftest.$ac_ext
6789 cat >>conftest.$ac_ext <<_ACEOF
6790 /* end confdefs.h. */
6800 rm -f conftest.$ac_objext conftest$ac_exeext
6801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6802 (eval $ac_link) 2>conftest.er1
6804 grep -v '^ *+' conftest.er1 >conftest.err
6806 cat conftest.err >&5
6807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6808 (exit $ac_status); } &&
6809 { ac_try='test -z "$ac_c_werror_flag"
6810 || test ! -s conftest.err'
6811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6814 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6815 (exit $ac_status); }; } &&
6816 { ac_try='test -s conftest$ac_exeext'
6817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6820 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6821 (exit $ac_status); }; }; then
6822 lt_cv_cc_needs_belf=yes
6824 echo "$as_me: failed program was
:" >&5
6825 sed 's/^/| /' conftest.$ac_ext >&5
6827 lt_cv_cc_needs_belf=no
6829 rm -f conftest.err conftest.$ac_objext \
6830 conftest$ac_exeext conftest.$ac_ext
6832 ac_cpp='$CPP $CPPFLAGS'
6833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6838 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6839 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6840 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6841 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6842 CFLAGS="$SAVE_CFLAGS"
6846 # Find out which ABI we are using.
6847 echo 'int i;' > conftest.$ac_ext
6848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6849 (eval $ac_compile) 2>&5
6851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6852 (exit $ac_status); }; then
6853 case `/usr/bin/file conftest.o` in
6855 case $lt_cv_prog_gnu_ld in
6856 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6857 *) LD="${LD-ld} -64" ;;
6866 need_locks="$enable_libtool_lock"
6869 for ac_header in dlfcn.h
6871 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6872 echo "$as_me:$LINENO: checking
for $ac_header" >&5
6873 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
6874 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
6875 echo $ECHO_N "(cached
) $ECHO_C" >&6
6877 cat >conftest.$ac_ext <<_ACEOF
6880 cat confdefs.h >>conftest.$ac_ext
6881 cat >>conftest.$ac_ext <<_ACEOF
6882 /* end confdefs.h. */
6883 $ac_includes_default
6885 #include <$ac_header>
6887 rm -f conftest.$ac_objext
6888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6889 (eval $ac_compile) 2>conftest.er1
6891 grep -v '^ *+' conftest.er1 >conftest.err
6893 cat conftest.err >&5
6894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6895 (exit $ac_status); } &&
6896 { ac_try='test -z "$ac_c_werror_flag"
6897 || test ! -s conftest.err'
6898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6902 (exit $ac_status); }; } &&
6903 { ac_try='test -s conftest.$ac_objext'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6908 (exit $ac_status); }; }; then
6909 eval "$as_ac_Header=yes"
6911 echo "$as_me: failed program was
:" >&5
6912 sed 's/^/| /' conftest.$ac_ext >&5
6914 eval "$as_ac_Header=no
"
6916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6918 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
6919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6921 cat >>confdefs.h <<_ACEOF
6922 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6931 # This can be used to rebuild libtool when needed
6932 LIBTOOL_DEPS="$ltmain"
6934 # Always use our own libtool.
6935 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6961 test -z "$LN_S" && LN_S="ln -s"
6976 if test -n "${ZSH_VERSION+set}" ; then
6977 setopt NO_GLOB_SUBST
6980 echo "$as_me:$LINENO: checking
for objdir
" >&5
6981 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
6982 if test "${lt_cv_objdir+set}" = set; then
6983 echo $ECHO_N "(cached
) $ECHO_C" >&6
6985 rm -f .libs 2>/dev/null
6986 mkdir .libs 2>/dev/null
6987 if test -d .libs; then
6990 # MS-DOS does not allow filenames that begin with a dot.
6993 rmdir .libs 2>/dev/null
6995 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
6996 echo "${ECHO_T}$lt_cv_objdir" >&6
6997 objdir=$lt_cv_objdir
7003 cat >>confdefs.h <<_ACEOF
7004 #define LT_OBJDIR "$lt_cv_objdir/"
7025 # AIX sometimes has problems with the GCC collect2 program. For some
7026 # reason, if we set the COLLECT_NAMES environment variable, the problems
7027 # vanish in a puff of smoke.
7028 if test "X
${COLLECT_NAMES+set}" != Xset; then
7030 export COLLECT_NAMES
7035 # Sed substitution that helps us do robust quoting. It backslashifies
7036 # metacharacters that are still active within double-quoted strings.
7037 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7039 # Same as above, but do not quote variable references.
7040 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7042 # Sed substitution to delay expansion of an escaped shell variable in a
7043 # double_quote_subst'ed string.
7044 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7046 # Sed substitution to delay expansion of an escaped single quote.
7047 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7049 # Sed substitution to avoid accidental globbing in evaled expressions
7050 no_glob_subst
='s/\*/\\\*/g'
7054 can_build_shared
=yes
7056 # All known linkers require a `.a' archive for static linking (except MSVC,
7057 # which needs '.lib').
7060 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7063 old_CFLAGS
="$CFLAGS"
7065 # Set sane defaults for various variables
7066 test -z "$CC" && CC
=cc
7067 test -z "$LTCC" && LTCC
=$CC
7068 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7069 test -z "$LD" && LD
=ld
7070 test -z "$ac_objext" && ac_objext
=o
7072 for cc_temp
in $compiler""; do
7074 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7075 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7080 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7083 # Only perform the check for file, if the check method requires it
7084 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7085 case $deplibs_check_method in
7087 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7088 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7089 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7090 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7091 echo $ECHO_N "(cached) $ECHO_C" >&6
7095 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7098 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7099 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7100 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7101 for ac_dir
in $ac_dummy; do
7103 test -z "$ac_dir" && ac_dir
=.
7104 if test -f $ac_dir/${ac_tool_prefix}file; then
7105 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7106 if test -n "$file_magic_test_file"; then
7107 case $deplibs_check_method in
7109 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7110 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7111 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7112 $EGREP "$file_magic_regex" > /dev
/null
; then
7117 *** Warning: the command libtool uses to detect shared libraries,
7118 *** $file_magic_cmd, produces output that libtool cannot recognize.
7119 *** The result is that libtool may fail to recognize shared libraries
7120 *** as such. This will affect the creation of libtool libraries that
7121 *** depend on shared libraries, but programs linked with such libtool
7122 *** libraries will work regardless of this problem. Nevertheless, you
7123 *** may want to report the problem to your system manager and/or to
7124 *** bug-libtool@gnu.org
7134 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7139 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7140 if test -n "$MAGIC_CMD"; then
7141 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7142 echo "${ECHO_T}$MAGIC_CMD" >&6
7144 echo "$as_me:$LINENO: result: no" >&5
7145 echo "${ECHO_T}no" >&6
7152 if test -z "$lt_cv_path_MAGIC_CMD"; then
7153 if test -n "$ac_tool_prefix"; then
7154 echo "$as_me:$LINENO: checking for file" >&5
7155 echo $ECHO_N "checking for file... $ECHO_C" >&6
7156 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7164 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7165 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7166 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7167 for ac_dir
in $ac_dummy; do
7169 test -z "$ac_dir" && ac_dir
=.
7170 if test -f $ac_dir/file; then
7171 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7172 if test -n "$file_magic_test_file"; then
7173 case $deplibs_check_method in
7175 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7176 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7177 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7178 $EGREP "$file_magic_regex" > /dev
/null
; then
7183 *** Warning: the command libtool uses to detect shared libraries,
7184 *** $file_magic_cmd, produces output that libtool cannot recognize.
7185 *** The result is that libtool may fail to recognize shared libraries
7186 *** as such. This will affect the creation of libtool libraries that
7187 *** depend on shared libraries, but programs linked with such libtool
7188 *** libraries will work regardless of this problem. Nevertheless, you
7189 *** may want to report the problem to your system manager and/or to
7190 *** bug-libtool@gnu.org
7200 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7205 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7206 if test -n "$MAGIC_CMD"; then
7207 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7208 echo "${ECHO_T}$MAGIC_CMD" >&6
7210 echo "$as_me:$LINENO: result: no" >&5
7211 echo "${ECHO_T}no" >&6
7224 # Use C for the default configuration in the libtool script
7228 ac_cpp
='$CPP $CPPFLAGS'
7229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7234 # Source file extension for C test sources.
7237 # Object file extension for compiled C test sources.
7241 # Code to be used in simple compile tests
7242 lt_simple_compile_test_code
="int some_variable = 0;"
7244 # Code to be used in simple link tests
7245 lt_simple_link_test_code
='int main(){return(0);}'
7253 # If no C compiler was specified, use CC.
7256 # If no C compiler flags were specified, use CFLAGS.
7257 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7259 # Allow CC to be a program name with arguments.
7262 # Save the default compiler, since it gets overwritten when the other
7263 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7264 compiler_DEFAULT
=$CC
7266 # save warnings/boilerplate of simple test code
7267 ac_outfile
=conftest.
$ac_objext
7268 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7269 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7270 _lt_compiler_boilerplate
=`cat conftest.err`
7273 ac_outfile
=conftest.
$ac_objext
7274 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7275 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7276 _lt_linker_boilerplate
=`cat conftest.err`
7281 ## There is no encapsulation within the following macros, do not change
7282 ## the running order or otherwise move them around unless you know exactly
7283 ## what you are doing...
7284 if test -n "$compiler"; then
7286 lt_prog_compiler_no_builtin_flag
=
7288 if test "$GCC" = yes; then
7289 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7291 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7292 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7293 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 lt_cv_prog_compiler_rtti_exceptions
=no
7297 ac_outfile
=conftest.
$ac_objext
7298 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7299 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7300 # Insert the option either (1) after the last *FLAGS variable, or
7301 # (2) before a word containing "conftest.", or (3) at the end.
7302 # Note that $ac_compile itself does not contain backslashes and begins
7303 # with a dollar sign (not a hyphen), so the echo should work correctly.
7304 # The option is referenced via a variable to avoid confusing sed.
7305 lt_compile
=`echo "$ac_compile" | $SED \
7306 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7307 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7308 -e 's:$: $lt_compiler_flag:'`
7309 (eval echo "\"\$as_me:6944: $lt_compile\"" >&5)
7310 (eval "$lt_compile" 2>conftest.err
)
7312 cat conftest.err
>&5
7313 echo "$as_me:6948: \$? = $ac_status" >&5
7314 if (exit $ac_status) && test -s "$ac_outfile"; then
7315 # The compiler can only warn and ignore the option if not recognized
7316 # So say no if there are warnings other than the usual output.
7317 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7318 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7319 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7320 lt_cv_prog_compiler_rtti_exceptions
=yes
7326 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7327 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7329 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7330 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7342 lt_prog_compiler_wl
=
7343 lt_prog_compiler_pic
=
7344 lt_prog_compiler_static
=
7346 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7347 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7349 if test "$GCC" = yes; then
7350 lt_prog_compiler_wl
='-Wl,'
7351 lt_prog_compiler_static
='-static'
7355 # All AIX code is PIC.
7356 if test "$host_cpu" = ia64
; then
7357 # AIX 5 now supports IA64 processor
7358 lt_prog_compiler_static
='-Bstatic'
7363 if test "$host_cpu" = m68k
; then
7364 # FIXME: we need at least 68020 code to build shared libraries, but
7365 # adding the `-m68020' flag to GCC prevents building anything better,
7367 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7371 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7372 # PIC is the default for these OSes.
7375 mingw
* | cygwin
* | pw32
* | os2
*)
7376 # This hack is so that the source file can tell whether it is being
7377 # built for inclusion in a dll (and should export symbols for example).
7378 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7379 # (--disable-auto-import) libraries
7380 lt_prog_compiler_pic
='-DDLL_EXPORT'
7383 darwin
* | rhapsody
*)
7384 # PIC is the default on this platform
7385 # Common symbols not allowed in MH_DYLIB files
7386 lt_prog_compiler_pic
='-fno-common'
7390 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7397 lt_prog_compiler_pic
='-fPIC'
7403 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7404 # Instead, we relocate shared libraries at runtime.
7408 # Just because we use GCC doesn't mean we suddenly get shared libraries
7409 # on systems that don't support them.
7410 lt_prog_compiler_can_build_shared
=no
7415 # QNX uses GNU C++, but need to define -shared option too, otherwise
7417 lt_prog_compiler_pic
='-fPIC -shared'
7421 if test -d /usr
/nec
; then
7422 lt_prog_compiler_pic
=-Kconform_pic
7427 lt_prog_compiler_pic
='-fPIC'
7431 # PORTME Check for flag to pass linker flags through the system compiler.
7434 lt_prog_compiler_wl
='-Wl,'
7435 if test "$host_cpu" = ia64
; then
7436 # AIX 5 now supports IA64 processor
7437 lt_prog_compiler_static
='-Bstatic'
7439 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7443 # PIC is the default on this platform
7444 # Common symbols not allowed in MH_DYLIB files
7445 case $cc_basename in
7447 lt_prog_compiler_pic
='-qnocommon'
7448 lt_prog_compiler_wl
='-Wl,'
7453 mingw
* | cygwin
* | pw32
* | os2
*)
7454 # This hack is so that the source file can tell whether it is being
7455 # built for inclusion in a dll (and should export symbols for example).
7456 lt_prog_compiler_pic
='-DDLL_EXPORT'
7459 hpux9
* | hpux10
* | hpux11
*)
7460 lt_prog_compiler_wl
='-Wl,'
7461 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7468 lt_prog_compiler_pic
='+Z'
7471 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7472 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7475 irix5
* | irix6
* | nonstopux
*)
7476 lt_prog_compiler_wl
='-Wl,'
7477 # PIC (with -KPIC) is the default.
7478 lt_prog_compiler_static
='-non_shared'
7481 linux
* | k
*bsd
*-gnu)
7482 case $cc_basename in
7484 lt_prog_compiler_wl
='-Wl,'
7485 lt_prog_compiler_pic
='-KPIC'
7486 lt_prog_compiler_static
='-static'
7488 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7489 # Portland Group compilers (*not* the Pentium gcc compiler,
7490 # which looks to be a dead project)
7491 lt_prog_compiler_wl
='-Wl,'
7492 lt_prog_compiler_pic
='-fpic'
7493 lt_prog_compiler_static
='-Bstatic'
7496 lt_prog_compiler_wl
='-Wl,'
7497 # All Alpha code is PIC.
7498 lt_prog_compiler_static
='-non_shared'
7501 case `$CC -V 2>&1 | sed 5q` in
7504 lt_prog_compiler_pic
='-KPIC'
7505 lt_prog_compiler_static
='-Bstatic'
7506 lt_prog_compiler_wl
='-Wl,'
7509 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7510 lt_prog_compiler_pic
='-KPIC'
7511 lt_prog_compiler_static
='-Bstatic'
7512 lt_prog_compiler_wl
=''
7520 lt_prog_compiler_pic
='-KPIC'
7521 lt_prog_compiler_static
='-Bstatic'
7525 # QNX uses GNU C++, but need to define -shared option too, otherwise
7527 lt_prog_compiler_pic
='-fPIC -shared'
7530 osf3
* | osf4
* | osf5
*)
7531 lt_prog_compiler_wl
='-Wl,'
7532 # All OSF/1 code is PIC.
7533 lt_prog_compiler_static
='-non_shared'
7537 lt_prog_compiler_static
='-non_shared'
7541 lt_prog_compiler_pic
='-KPIC'
7542 lt_prog_compiler_static
='-Bstatic'
7543 case $cc_basename in
7545 lt_prog_compiler_wl
='-Qoption ld ';;
7547 lt_prog_compiler_wl
='-Wl,';;
7552 lt_prog_compiler_wl
='-Qoption ld '
7553 lt_prog_compiler_pic
='-PIC'
7554 lt_prog_compiler_static
='-Bstatic'
7557 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7558 lt_prog_compiler_wl
='-Wl,'
7559 lt_prog_compiler_pic
='-KPIC'
7560 lt_prog_compiler_static
='-Bstatic'
7564 if test -d /usr
/nec
;then
7565 lt_prog_compiler_pic
='-Kconform_pic'
7566 lt_prog_compiler_static
='-Bstatic'
7570 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7571 lt_prog_compiler_wl
='-Wl,'
7572 lt_prog_compiler_pic
='-KPIC'
7573 lt_prog_compiler_static
='-Bstatic'
7577 lt_prog_compiler_wl
='-Wl,'
7578 lt_prog_compiler_can_build_shared
=no
7582 lt_prog_compiler_pic
='-pic'
7583 lt_prog_compiler_static
='-Bstatic'
7587 lt_prog_compiler_can_build_shared
=no
7593 # For platforms which do not support PIC, -DPIC is meaningless:
7595 lt_prog_compiler_pic
=
7598 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7601 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7602 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7610 # Check to make sure the PIC flag actually works.
7612 if test -n "$lt_prog_compiler_pic"; then
7613 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7614 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7615 if test "${lt_prog_compiler_pic_works+set}" = set; then
7616 echo $ECHO_N "(cached) $ECHO_C" >&6
7618 lt_prog_compiler_pic_works
=no
7619 ac_outfile
=conftest.
$ac_objext
7620 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7621 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7622 # Insert the option either (1) after the last *FLAGS variable, or
7623 # (2) before a word containing "conftest.", or (3) at the end.
7624 # Note that $ac_compile itself does not contain backslashes and begins
7625 # with a dollar sign (not a hyphen), so the echo should work correctly.
7626 # The option is referenced via a variable to avoid confusing sed.
7627 lt_compile
=`echo "$ac_compile" | $SED \
7628 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7629 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7630 -e 's:$: $lt_compiler_flag:'`
7631 (eval echo "\"\$as_me:7266: $lt_compile\"" >&5)
7632 (eval "$lt_compile" 2>conftest.err
)
7634 cat conftest.err
>&5
7635 echo "$as_me:7270: \$? = $ac_status" >&5
7636 if (exit $ac_status) && test -s "$ac_outfile"; then
7637 # The compiler can only warn and ignore the option if not recognized
7638 # So say no if there are warnings other than the usual output.
7639 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7640 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7641 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7642 lt_prog_compiler_pic_works
=yes
7648 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7649 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7651 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7652 case $lt_prog_compiler_pic in
7654 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7657 lt_prog_compiler_pic
=
7658 lt_prog_compiler_can_build_shared
=no
7669 # Check to make sure the static flag actually works.
7671 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7672 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7673 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7674 if test "${lt_prog_compiler_static_works+set}" = set; then
7675 echo $ECHO_N "(cached) $ECHO_C" >&6
7677 lt_prog_compiler_static_works
=no
7678 save_LDFLAGS
="$LDFLAGS"
7679 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7680 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7681 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7682 # The linker can only warn and ignore the option if not recognized
7683 # So say no if there are warnings
7684 if test -s conftest.err
; then
7685 # Append any errors to the config.log.
7686 cat conftest.err
1>&5
7687 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7688 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7689 if diff conftest.exp conftest.er2
>/dev
/null
; then
7690 lt_prog_compiler_static_works
=yes
7693 lt_prog_compiler_static_works
=yes
7697 LDFLAGS
="$save_LDFLAGS"
7700 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7701 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7703 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7706 lt_prog_compiler_static
=
7715 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7716 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7717 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7718 echo $ECHO_N "(cached) $ECHO_C" >&6
7720 lt_cv_prog_compiler_c_o
=no
7721 $RM -r conftest
2>/dev
/null
7725 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7727 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7728 # Insert the option either (1) after the last *FLAGS variable, or
7729 # (2) before a word containing "conftest.", or (3) at the end.
7730 # Note that $ac_compile itself does not contain backslashes and begins
7731 # with a dollar sign (not a hyphen), so the echo should work correctly.
7732 lt_compile
=`echo "$ac_compile" | $SED \
7733 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7734 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7735 -e 's:$: $lt_compiler_flag:'`
7736 (eval echo "\"\$as_me:7371: $lt_compile\"" >&5)
7737 (eval "$lt_compile" 2>out
/conftest.err
)
7739 cat out
/conftest.err
>&5
7740 echo "$as_me:7375: \$? = $ac_status" >&5
7741 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7743 # The compiler can only warn and ignore the option if not recognized
7744 # So say no if there are warnings
7745 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7746 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7747 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7748 lt_cv_prog_compiler_c_o
=yes
7753 # SGI C++ compiler will create directory out/ii_files/ for
7754 # template instantiation
7755 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7756 $RM out
/* && rmdir out
7762 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7763 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7770 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7771 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7772 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7773 echo $ECHO_N "(cached) $ECHO_C" >&6
7775 lt_cv_prog_compiler_c_o
=no
7776 $RM -r conftest
2>/dev
/null
7780 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7782 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7783 # Insert the option either (1) after the last *FLAGS variable, or
7784 # (2) before a word containing "conftest.", or (3) at the end.
7785 # Note that $ac_compile itself does not contain backslashes and begins
7786 # with a dollar sign (not a hyphen), so the echo should work correctly.
7787 lt_compile
=`echo "$ac_compile" | $SED \
7788 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7789 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7790 -e 's:$: $lt_compiler_flag:'`
7791 (eval echo "\"\$as_me:7426: $lt_compile\"" >&5)
7792 (eval "$lt_compile" 2>out
/conftest.err
)
7794 cat out
/conftest.err
>&5
7795 echo "$as_me:7430: \$? = $ac_status" >&5
7796 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7798 # The compiler can only warn and ignore the option if not recognized
7799 # So say no if there are warnings
7800 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7801 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7802 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7803 lt_cv_prog_compiler_c_o
=yes
7808 # SGI C++ compiler will create directory out/ii_files/ for
7809 # template instantiation
7810 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7811 $RM out
/* && rmdir out
7817 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7818 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7823 hard_links
="nottested"
7824 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7825 # do not overwrite the value of need_locks provided by the user
7826 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7827 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7830 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7832 ln conftest.a conftest.b
2>&5 || hard_links
=no
7833 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7834 echo "$as_me:$LINENO: result: $hard_links" >&5
7835 echo "${ECHO_T}$hard_links" >&6
7836 if test "$hard_links" = no
; then
7837 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7838 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7850 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7851 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7854 allow_undefined_flag
=
7855 always_export_symbols
=no
7857 archive_expsym_cmds
=
7858 compiler_needs_object
=no
7859 enable_shared_with_static_runtimes
=no
7860 export_dynamic_flag_spec
=
7861 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7862 hardcode_automatic
=no
7864 hardcode_direct_absolute
=no
7865 hardcode_libdir_flag_spec
=
7866 hardcode_libdir_flag_spec_ld
=
7867 hardcode_libdir_separator
=
7869 hardcode_shlibpath_var
=unsupported
7871 link_all_deplibs
=unknown
7874 old_archive_from_new_cmds
=
7875 old_archive_from_expsyms_cmds
=
7876 thread_safe_flag_spec
=
7877 whole_archive_flag_spec
=
7878 # include_expsyms should be a list of space-separated symbols to be *always*
7879 # included in the symbol list
7881 # exclude_expsyms can be an extended regexp of symbols to exclude
7882 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7883 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7884 # as well as any symbol that contains `d'.
7885 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7886 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7887 # platforms (ab)use it in PIC code, but their linkers get confused if
7888 # the symbol is explicitly referenced. Since portable code cannot
7889 # rely on this symbol name, it's probably fine to never include it in
7890 # preloaded symbol tables.
7891 extract_expsyms_cmds
=
7894 cygwin
* | mingw
* | pw32
*)
7895 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7896 # When not using gcc, we currently assume that we are using
7897 # Microsoft Visual C++.
7898 if test "$GCC" != yes; then
7903 # we just hope/assume this is gcc and not c89 (= MSVC++)
7912 if test "$with_gnu_ld" = yes; then
7913 # If archive_cmds runs LD, not CC, wlarc should be empty
7916 # Set some defaults for GNU ld with shared library support. These
7917 # are reset later if shared libraries are not supported. Putting them
7918 # here allows them to be overridden if necessary.
7919 runpath_var
=LD_RUN_PATH
7920 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7921 export_dynamic_flag_spec
='${wl}--export-dynamic'
7922 # ancient GNU ld didn't support --whole-archive et. al.
7923 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7924 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7926 whole_archive_flag_spec
=
7928 supports_anon_versioning
=no
7929 case `$LD -v 2>&1` in
7930 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7931 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7932 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7933 *\
2.11.
*) ;; # other 2.11 versions
7934 *) supports_anon_versioning
=yes ;;
7937 # See if GNU ld supports shared libraries.
7940 # On AIX/PPC, the GNU linker is very broken
7941 if test "$host_cpu" != ia64
; then
7945 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7946 *** to be unable to reliably create shared libraries on AIX.
7947 *** Therefore, libtool is disabling shared libraries support. If you
7948 *** really care for shared libraries, you may want to modify your PATH
7949 *** so that a non-GNU linker is found, and then restart.
7956 if test "$host_cpu" = m68k
; then
7957 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)'
7958 hardcode_libdir_flag_spec
='-L$libdir'
7959 hardcode_minus_L
=yes
7962 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7963 # that the semantics of dynamic libraries on AmigaOS, at least up
7964 # to version 4, is to share data among multiple programs linked
7965 # with the same dynamic library. Since this doesn't match the
7966 # behavior of shared libraries on other platforms, we can't use
7972 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7973 allow_undefined_flag
=unsupported
7974 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7975 # support --undefined. This deserves some investigation. FIXME
7976 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7982 cygwin
* | mingw
* | pw32
*)
7983 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7984 # as there is no search path for DLLs.
7985 hardcode_libdir_flag_spec
='-L$libdir'
7986 allow_undefined_flag
=unsupported
7987 always_export_symbols
=no
7988 enable_shared_with_static_runtimes
=yes
7989 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7991 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7992 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7993 # If the export-symbols file already is a .def file (1st line
7994 # is EXPORTS), use it as is; otherwise, prepend...
7995 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7996 cp $export_symbols $output_objdir/$soname.def;
7998 echo EXPORTS > $output_objdir/$soname.def;
7999 cat $export_symbols >> $output_objdir/$soname.def;
8001 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8009 hardcode_shlibpath_var
=no
8010 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8011 export_dynamic_flag_spec
='${wl}-E'
8012 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8013 # Instead, shared libraries are loaded at an image base (0x10000000 by
8014 # default) and relocated if they conflict, which is a slow very memory
8015 # consuming and fragmenting process. To avoid this, we pick a random,
8016 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8017 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8018 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8019 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'
8022 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8024 if test "$host_os" = linux-dietlibc
; then
8025 case $cc_basename in
8026 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8029 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8030 && test "$tmp_diet" = no
8033 case $cc_basename,$host_cpu in
8034 pgcc
*) # Portland Group C compiler
8035 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'
8036 tmp_addflag
=' $pic_flag'
8038 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8039 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'
8040 tmp_addflag
=' $pic_flag -Mnomain' ;;
8041 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8042 tmp_addflag
=' -i_dynamic' ;;
8043 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8044 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8045 ifc
* | ifort
*) # Intel Fortran compiler
8046 tmp_addflag
=' -nofor_main' ;;
8048 case `$CC -V 2>&1 | sed 5q` in
8049 *Sun\ C
*) # Sun C 5.9
8050 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'
8051 compiler_needs_object
=yes
8052 tmp_sharedflag
='-G' ;;
8053 *Sun\ F
*) # Sun Fortran 8.3
8054 tmp_sharedflag
='-G' ;;
8056 tmp_sharedflag
='-shared' ;;
8058 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8060 if test "x$supports_anon_versioning" = xyes
; then
8061 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8062 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8063 echo "local: *; };" >> $output_objdir/$libname.ver~
8064 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8072 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8073 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8076 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8077 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8082 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8086 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8087 *** create shared libraries on Solaris systems. Therefore, libtool
8088 *** is disabling shared libraries support. We urge you to upgrade GNU
8089 *** binutils to release 2.9.1 or newer. Another option is to modify
8090 *** your PATH or compiler configuration so that the native linker is
8091 *** used, and then restart.
8094 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8095 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8096 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8102 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8103 case `$LD -v 2>&1` in
8104 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8108 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8109 *** reliably create shared libraries on SCO systems. Therefore, libtool
8110 *** is disabling shared libraries support. We urge you to upgrade GNU
8111 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8112 *** your PATH or compiler configuration so that the native linker is
8113 *** used, and then restart.
8118 # For security reasons, it is highly recommended that you always
8119 # use absolute paths for naming shared libraries, and exclude the
8120 # DT_RUNPATH tag from executables and libraries. But doing so
8121 # requires that you compile everything twice, which is a pain.
8122 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8123 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8124 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8125 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8134 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8137 hardcode_shlibpath_var
=no
8141 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8142 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8143 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8150 if test "$ld_shlibs" = no
; then
8152 hardcode_libdir_flag_spec
=
8153 export_dynamic_flag_spec
=
8154 whole_archive_flag_spec
=
8157 # PORTME fill in a description of your system's linker (not GNU ld)
8160 allow_undefined_flag
=unsupported
8161 always_export_symbols
=yes
8162 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'
8163 # Note: this linker hardcodes the directories in LIBPATH if there
8164 # are no directories specified by -L.
8165 hardcode_minus_L
=yes
8166 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8167 # Neither direct hardcoding nor static linking is supported with a
8169 hardcode_direct
=unsupported
8174 if test "$host_cpu" = ia64
; then
8175 # On IA64, the linker does run time linking by default, so we don't
8176 # have to do anything special.
8177 aix_use_runtimelinking
=no
8178 exp_sym_flag
='-Bexport'
8181 # If we're using GNU nm, then we don't want the "-C" option.
8182 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8183 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8184 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'
8186 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'
8188 aix_use_runtimelinking
=no
8190 # Test if we are trying to use run time linking or normal
8191 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8192 # need to do runtime linking.
8193 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8194 for ld_flag
in $LDFLAGS; do
8195 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8196 aix_use_runtimelinking
=yes
8203 exp_sym_flag
='-bexport'
8204 no_entry_flag
='-bnoentry'
8207 # When large executables or shared objects are built, AIX ld can
8208 # have problems creating the table of contents. If linking a library
8209 # or program results in "error TOC overflow" add -mminimal-toc to
8210 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8211 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8215 hardcode_direct_absolute
=yes
8216 hardcode_libdir_separator
=':'
8217 link_all_deplibs
=yes
8218 file_list_spec
='${wl}-f,'
8220 if test "$GCC" = yes; then
8221 case $host_os in aix4.
[012]|aix4.
[012].
*)
8222 # We only want to do this on AIX 4.2 and lower, the check
8223 # below for broken collect2 doesn't work under 4.3+
8224 collect2name
=`${CC} -print-prog-name=collect2`
8225 if test -f "$collect2name" &&
8226 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8228 # We have reworked collect2
8231 # We have old collect2
8232 hardcode_direct
=unsupported
8233 # It fails to find uninstalled libraries when the uninstalled
8234 # path is not listed in the libpath. Setting hardcode_minus_L
8235 # to unsupported forces relinking
8236 hardcode_minus_L
=yes
8237 hardcode_libdir_flag_spec
='-L$libdir'
8238 hardcode_libdir_separator
=
8242 shared_flag
='-shared'
8243 if test "$aix_use_runtimelinking" = yes; then
8244 shared_flag
="$shared_flag "'${wl}-G'
8248 if test "$host_cpu" = ia64
; then
8249 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8250 # chokes on -Wl,-G. The following line is correct:
8253 if test "$aix_use_runtimelinking" = yes; then
8254 shared_flag
='${wl}-G'
8256 shared_flag
='${wl}-bM:SRE'
8261 # It seems that -bexpall does not export symbols beginning with
8262 # underscore (_), so it is better to generate a list of symbols to export.
8263 always_export_symbols
=yes
8264 if test "$aix_use_runtimelinking" = yes; then
8265 # Warning - without using the other runtime loading flags (-brtl),
8266 # -berok will link without error, but may produce a broken library.
8267 allow_undefined_flag
='-berok'
8268 # Determine the default libpath from the value encoded in an
8270 cat >conftest.
$ac_ext <<_ACEOF
8273 cat confdefs.h
>>conftest.
$ac_ext
8274 cat >>conftest.
$ac_ext <<_ACEOF
8275 /* end confdefs.h. */
8285 rm -f conftest.
$ac_objext conftest
$ac_exeext
8286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8287 (eval $ac_link) 2>conftest.er1
8289 grep -v '^ *+' conftest.er1
>conftest.err
8291 cat conftest.err
>&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); } &&
8294 { ac_try
='test -z "$ac_c_werror_flag"
8295 || test ! -s conftest.err'
8296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; } &&
8301 { ac_try
='test -s conftest$ac_exeext'
8302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); }; }; then
8308 lt_aix_libpath_sed
='
8309 /Import File Strings/,/^$/ {
8315 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8316 # Check for a 64-bit object if we didn't find anything.
8317 if test -z "$aix_libpath"; then
8318 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.
$ac_ext >&5
8325 rm -f conftest.err conftest.
$ac_objext \
8326 conftest
$ac_exeext conftest.
$ac_ext
8327 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8329 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8330 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"
8332 if test "$host_cpu" = ia64
; then
8333 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8334 allow_undefined_flag
="-z nodefs"
8335 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"
8337 # Determine the default libpath from the value encoded in an
8339 cat >conftest.
$ac_ext <<_ACEOF
8342 cat confdefs.h
>>conftest.
$ac_ext
8343 cat >>conftest.
$ac_ext <<_ACEOF
8344 /* end confdefs.h. */
8354 rm -f conftest.
$ac_objext conftest
$ac_exeext
8355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8356 (eval $ac_link) 2>conftest.er1
8358 grep -v '^ *+' conftest.er1
>conftest.err
8360 cat conftest.err
>&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); } &&
8363 { ac_try
='test -z "$ac_c_werror_flag"
8364 || test ! -s conftest.err'
8365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); }; } &&
8370 { ac_try
='test -s conftest$ac_exeext'
8371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); }; }; then
8377 lt_aix_libpath_sed
='
8378 /Import File Strings/,/^$/ {
8384 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8385 # Check for a 64-bit object if we didn't find anything.
8386 if test -z "$aix_libpath"; then
8387 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8390 echo "$as_me: failed program was:" >&5
8391 sed 's/^/| /' conftest.
$ac_ext >&5
8394 rm -f conftest.err conftest.
$ac_objext \
8395 conftest
$ac_exeext conftest.
$ac_ext
8396 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8398 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8399 # Warning - without using the other run time loading flags,
8400 # -berok will link without error, but may produce a broken library.
8401 no_undefined_flag
=' ${wl}-bernotok'
8402 allow_undefined_flag
=' ${wl}-berok'
8403 # Exported symbols can be pulled into shared objects from archives
8404 whole_archive_flag_spec
='$convenience'
8405 archive_cmds_need_lc
=yes
8406 # This is similar to how AIX traditionally builds its shared libraries.
8407 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'
8413 if test "$host_cpu" = m68k
; then
8414 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)'
8415 hardcode_libdir_flag_spec
='-L$libdir'
8416 hardcode_minus_L
=yes
8418 # see comment about different semantics on the GNU ld section
8423 export_dynamic_flag_spec
=-rdynamic
8426 cygwin
* | mingw
* | pw32
*)
8427 # When not using gcc, we currently assume that we are using
8428 # Microsoft Visual C++.
8429 # hardcode_libdir_flag_spec is actually meaningless, as there is
8430 # no search path for DLLs.
8431 hardcode_libdir_flag_spec
=' '
8432 allow_undefined_flag
=unsupported
8433 # Tell ltmain to make .lib files, not .a files.
8435 # Tell ltmain to make .dll files, not .so files.
8437 # FIXME: Setting linknames here is a bad hack.
8438 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8439 # The linker will automatically build a .lib file if we build a DLL.
8440 old_archive_from_new_cmds
='true'
8441 # FIXME: Should let the user specify the lib program.
8442 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8443 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8444 enable_shared_with_static_runtimes
=yes
8447 darwin
* | rhapsody
*)
8449 rhapsody
* | darwin1.
[012])
8450 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8453 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8455 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8458 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8463 archive_cmds_need_lc
=no
8465 hardcode_automatic
=yes
8466 hardcode_shlibpath_var
=unsupported
8467 whole_archive_flag_spec
=''
8468 link_all_deplibs
=yes
8469 if test "$GCC" = yes ; then
8470 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8471 echo $ECHO_N "(cached) $ECHO_C" >&6
8473 lt_cv_apple_cc_single_mod
=no
8474 if test -z "${LT_MULTI_MODULE}"; then
8475 # By default we will add the -single_module flag. You can override
8476 # by either setting the environment variable LT_MULTI_MODULE
8477 # non-empty at configure time, or by adding -multi-module to the
8479 echo "int foo(void){return 1;}" > conftest.c
8480 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8481 -dynamiclib ${wl}-single_module conftest.c
8482 if test -f libconftest.dylib
; then
8483 lt_cv_apple_cc_single_mod
=yes
8484 rm libconftest.dylib
8490 output_verbose_link_cmd
=echo
8491 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8492 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8493 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8495 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8496 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8498 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8499 module_expsym_cmds
='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8501 case $cc_basename in
8503 output_verbose_link_cmd
=echo
8504 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8505 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8506 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8507 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8508 module_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8518 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8519 hardcode_libdir_flag_spec
='-L$libdir'
8520 hardcode_shlibpath_var
=no
8527 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8528 # support. Future versions do this automatically, but an explicit c++rt0.o
8529 # does not break anything, and helps significantly (at the cost of a little
8532 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8533 hardcode_libdir_flag_spec
='-R$libdir'
8535 hardcode_shlibpath_var
=no
8538 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8540 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8542 hardcode_minus_L
=yes
8543 hardcode_shlibpath_var
=no
8546 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8547 freebsd
* | dragonfly
*)
8548 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8549 hardcode_libdir_flag_spec
='-R$libdir'
8551 hardcode_shlibpath_var
=no
8555 if test "$GCC" = yes; then
8556 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'
8558 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'
8560 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8561 hardcode_libdir_separator
=:
8564 # hardcode_minus_L: Not really in the search PATH,
8565 # but as the default location of the library.
8566 hardcode_minus_L
=yes
8567 export_dynamic_flag_spec
='${wl}-E'
8571 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8572 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8574 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8576 if test "$with_gnu_ld" = no
; then
8577 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8578 hardcode_libdir_flag_spec_ld
='+b $libdir'
8579 hardcode_libdir_separator
=:
8581 hardcode_direct_absolute
=yes
8582 export_dynamic_flag_spec
='${wl}-E'
8583 # hardcode_minus_L: Not really in the search PATH,
8584 # but as the default location of the library.
8585 hardcode_minus_L
=yes
8590 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8593 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8596 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8599 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8605 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8608 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8611 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8615 if test "$with_gnu_ld" = no
; then
8616 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8617 hardcode_libdir_separator
=:
8622 hardcode_shlibpath_var
=no
8626 hardcode_direct_absolute
=yes
8627 export_dynamic_flag_spec
='${wl}-E'
8629 # hardcode_minus_L: Not really in the search PATH,
8630 # but as the default location of the library.
8631 hardcode_minus_L
=yes
8637 irix5
* | irix6
* | nonstopux
*)
8638 if test "$GCC" = yes; then
8639 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'
8640 # Try to use the -exported_symbol ld option, if it does not
8641 # work, assume that -exports_file does not work either and
8642 # implicitly export all symbols.
8643 save_LDFLAGS
="$LDFLAGS"
8644 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8645 cat >conftest.
$ac_ext <<_ACEOF
8648 rm -f conftest.
$ac_objext conftest
$ac_exeext
8649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8650 (eval $ac_link) 2>conftest.er1
8652 grep -v '^ *+' conftest.er1
>conftest.err
8654 cat conftest.err
>&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); } &&
8657 { ac_try
='test -z "$ac_c_werror_flag"
8658 || test ! -s conftest.err'
8659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 (exit $ac_status); }; } &&
8664 { ac_try
='test -s conftest$ac_exeext'
8665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); }; }; then
8670 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'
8673 echo "$as_me: failed program was:" >&5
8674 sed 's/^/| /' conftest.
$ac_ext >&5
8677 rm -f conftest.err conftest.
$ac_objext \
8678 conftest
$ac_exeext conftest.
$ac_ext
8679 LDFLAGS
="$save_LDFLAGS"
8681 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'
8682 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'
8684 archive_cmds_need_lc
='no'
8685 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8686 hardcode_libdir_separator
=:
8688 link_all_deplibs
=yes
8692 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8693 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8695 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8697 hardcode_libdir_flag_spec
='-R$libdir'
8699 hardcode_shlibpath_var
=no
8703 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8705 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8706 hardcode_libdir_separator
=:
8707 hardcode_shlibpath_var
=no
8715 hardcode_shlibpath_var
=no
8716 hardcode_direct_absolute
=yes
8717 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8718 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8719 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8720 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8721 export_dynamic_flag_spec
='${wl}-E'
8724 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8725 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8726 hardcode_libdir_flag_spec
='-R$libdir'
8729 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8730 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8737 hardcode_libdir_flag_spec
='-L$libdir'
8738 hardcode_minus_L
=yes
8739 allow_undefined_flag
=unsupported
8740 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'
8741 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8745 if test "$GCC" = yes; then
8746 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8747 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'
8749 allow_undefined_flag
=' -expect_unresolved \*'
8750 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'
8752 archive_cmds_need_lc
='no'
8753 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8754 hardcode_libdir_separator
=:
8757 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8758 if test "$GCC" = yes; then
8759 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8760 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'
8761 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8763 allow_undefined_flag
=' -expect_unresolved \*'
8764 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'
8765 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~
8766 $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'
8768 # Both c and cxx compiler support -rpath directly
8769 hardcode_libdir_flag_spec
='-rpath $libdir'
8771 archive_cmds_need_lc
='no'
8772 hardcode_libdir_separator
=:
8776 no_undefined_flag
=' -z defs'
8777 if test "$GCC" = yes; then
8779 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8780 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8781 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8783 case `$CC -V 2>&1` in
8786 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8787 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8788 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8792 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8793 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8794 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8798 hardcode_libdir_flag_spec
='-R$libdir'
8799 hardcode_shlibpath_var
=no
8801 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8803 # The compiler driver will combine and reorder linker options,
8804 # but understands `-z linker_flag'. GCC discards it without `$wl',
8805 # but is careful enough not to reorder.
8806 # Supported since Solaris 2.6 (maybe 2.5.1?)
8807 if test "$GCC" = yes; then
8808 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8810 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8814 link_all_deplibs
=yes
8818 if test "x$host_vendor" = xsequent
; then
8819 # Use $CC to link under sequent, because it throws in some extra .o
8820 # files that make .init and .fini sections work.
8821 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8823 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8825 hardcode_libdir_flag_spec
='-L$libdir'
8827 hardcode_minus_L
=yes
8828 hardcode_shlibpath_var
=no
8832 case $host_vendor in
8834 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8835 hardcode_direct
=yes # is this really true???
8838 ## LD is ld it makes a PLAMLIB
8839 ## CC just makes a GrossModule.
8840 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8841 reload_cmds
='$CC -r -o $output$reload_objs'
8845 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8846 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8849 runpath_var
='LD_RUN_PATH'
8850 hardcode_shlibpath_var
=no
8854 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8855 hardcode_shlibpath_var
=no
8856 export_dynamic_flag_spec
='-Bexport'
8860 if test -d /usr
/nec
; then
8861 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8862 hardcode_shlibpath_var
=no
8863 runpath_var
=LD_RUN_PATH
8864 hardcode_runpath_var
=yes
8869 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8870 no_undefined_flag
='${wl}-z,text'
8871 archive_cmds_need_lc
=no
8872 hardcode_shlibpath_var
=no
8873 runpath_var
='LD_RUN_PATH'
8875 if test "$GCC" = yes; then
8876 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8877 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8879 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8880 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8884 sysv5
* | sco3.2v5
* | sco5v6
*)
8885 # Note: We can NOT use -z defs as we might desire, because we do not
8886 # link with -lc, and that would cause any symbols used from libc to
8887 # always be unresolved, which means just about no library would
8888 # ever link correctly. If we're not using GNU ld we use -z text
8889 # though, which does catch some bad symbols but isn't as heavy-handed
8891 no_undefined_flag
='${wl}-z,text'
8892 allow_undefined_flag
='${wl}-z,nodefs'
8893 archive_cmds_need_lc
=no
8894 hardcode_shlibpath_var
=no
8895 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8896 hardcode_libdir_separator
=':'
8897 link_all_deplibs
=yes
8898 export_dynamic_flag_spec
='${wl}-Bexport'
8899 runpath_var
='LD_RUN_PATH'
8901 if test "$GCC" = yes; then
8902 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8903 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8905 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8906 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8911 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8912 hardcode_libdir_flag_spec
='-L$libdir'
8913 hardcode_shlibpath_var
=no
8921 if test x
$host_vendor = xsni
; then
8923 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8924 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8930 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8931 echo "${ECHO_T}$ld_shlibs" >&6
8932 test "$ld_shlibs" = no
&& can_build_shared
=no
8934 with_gnu_ld
=$with_gnu_ld
8951 # Do we need to explicitly link libc?
8953 case "x$archive_cmds_need_lc" in
8955 # Assume -lc should be added
8956 archive_cmds_need_lc
=yes
8958 if test "$enable_shared" = yes && test "$GCC" = yes; then
8959 case $archive_cmds in
8961 # FIXME: we may have to deal with multi-command sequences.
8964 # Test whether the compiler implicitly links with -lc since on some
8965 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8966 # to ld, don't add -lc before -lgcc.
8967 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8968 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8970 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8973 (eval $ac_compile) 2>&5
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); } 2>conftest.err
; then
8979 libobjs
=conftest.
$ac_objext
8981 wl
=$lt_prog_compiler_wl
8982 pic_flag
=$lt_prog_compiler_pic
8988 lt_save_allow_undefined_flag
=$allow_undefined_flag
8989 allow_undefined_flag
=
8990 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8991 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); }
8996 archive_cmds_need_lc
=no
8998 archive_cmds_need_lc
=yes
9000 allow_undefined_flag
=$lt_save_allow_undefined_flag
9002 cat conftest.err
1>&5
9005 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9006 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9169 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9170 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9172 if test "$withGCC" = yes; then
9174 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9175 *) lt_awk_arg
="/^libraries:/" ;;
9177 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9178 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9179 # if the path contains ";" then we assume it to be the separator
9180 # otherwise default to the standard path separator (i.e. ":") - it is
9181 # assumed that no part of a normal pathname contains ";" but that should
9182 # okay in the real world where ";" in dirpaths is itself problematic.
9183 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9185 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9187 # Ok, now we have the path, separated by spaces, we can step through it
9188 # and add multilib dir if necessary.
9189 lt_tmp_lt_search_path_spec
=
9190 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9191 for lt_sys_path
in $lt_search_path_spec; do
9192 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9193 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9195 test -d "$lt_sys_path" && \
9196 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9199 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9200 BEGIN {RS=" "; FS="/|\n";} {
9203 for (lt_i = NF; lt_i > 0; lt_i--) {
9204 if ($lt_i != "" && $lt_i != ".") {
9205 if ($lt_i == "..") {
9208 if (lt_count == 0) {
9209 lt_foo="/" $lt_i lt_foo;
9216 if (lt_foo != "") { lt_freq[lt_foo]++; }
9217 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9219 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9221 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9224 libname_spec
='lib$name'
9232 shlibpath_overrides_runpath
=unknown
9234 dynamic_linker
="$host_os ld.so"
9235 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9236 need_lib_prefix
=unknown
9237 hardcode_into_libs
=no
9239 # when you set need_version to no, make sure it does not cause -set_version
9240 # flags to be left without arguments
9241 need_version
=unknown
9246 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9247 shlibpath_var
=LIBPATH
9249 # AIX 3 has no versioning support, so we append a major version to the name.
9250 soname_spec
='${libname}${release}${shared_ext}$major'
9257 hardcode_into_libs
=yes
9258 if test "$host_cpu" = ia64
; then
9259 # AIX 5 supports IA64
9260 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9261 shlibpath_var
=LD_LIBRARY_PATH
9263 # With GCC up to 2.95.x, collect2 would create an import file
9264 # for dependence libraries. The import file would start with
9265 # the line `#! .'. This would cause the generated library to
9266 # depend on `.', always an invalid library. This was fixed in
9267 # development snapshots of GCC prior to 3.0.
9269 aix4 | aix4.
[01] | aix4.
[01].
*)
9270 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9272 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9279 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9280 # soname into executable. Probably we can add versioning support to
9281 # collect2, so additional links can be useful in future.
9282 if test "$aix_use_runtimelinking" = yes; then
9283 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9284 # instead of lib<name>.a to let people know that these are not
9285 # typical AIX shared libraries.
9286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9288 # We preserve .a as extension for shared libraries through AIX4.2
9289 # and later when we are not doing run time linking.
9290 library_names_spec
='${libname}${release}.a $libname.a'
9291 soname_spec
='${libname}${release}${shared_ext}$major'
9293 shlibpath_var
=LIBPATH
9298 if test "$host_cpu" = m68k
; then
9299 library_names_spec
='$libname.ixlibrary $libname.a'
9300 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9301 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'
9308 library_names_spec
='${libname}${shared_ext}'
9309 dynamic_linker
="$host_os ld.so"
9310 shlibpath_var
=LIBRARY_PATH
9316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9317 soname_spec
='${libname}${release}${shared_ext}$major'
9318 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9319 shlibpath_var
=LD_LIBRARY_PATH
9320 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9321 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9322 # the default ld.so.conf also contains /usr/contrib/lib and
9323 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9324 # libtool to hard-code these into programs
9327 cygwin
* | mingw
* | pw32
*)
9328 version_type
=windows
9333 case $withGCC,$host_os in
9334 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9335 library_names_spec
='$libname.dll.a'
9336 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9337 postinstall_cmds
='base_file=`basename \${file}`~
9338 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9339 dldir=$destdir/`dirname \$dlpath`~
9340 test -d \$dldir || mkdir -p \$dldir~
9341 $install_prog $dir/$dlname \$dldir/$dlname~
9342 chmod a+x \$dldir/$dlname~
9343 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9344 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9346 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9347 dlpath=$dir/\$dldll~
9349 shlibpath_overrides_runpath
=yes
9353 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9354 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9355 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9358 # MinGW DLLs use traditional 'lib' prefix
9359 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9360 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9361 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9362 # It is most probably a Windows format PATH printed by
9363 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9364 # path with ; separators, and with drive letters. We can handle the
9365 # drive letters (cygwin fileutils understands them), so leave them,
9366 # especially as we might pass files found there to a mingw objdump,
9367 # which wouldn't understand a cygwinified path. Ahh.
9368 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9370 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9374 # pw32 DLLs use 'pw' prefix rather than 'lib'
9375 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9381 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9384 dynamic_linker
='Win32 ld.exe'
9385 # FIXME: first we should search . and the directory the executable is in
9389 darwin
* | rhapsody
*)
9390 dynamic_linker
="$host_os dyld"
9394 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9395 soname_spec
='${libname}${release}${major}$shared_ext'
9396 shlibpath_overrides_runpath
=yes
9397 shlibpath_var
=DYLD_LIBRARY_PATH
9398 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9400 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9401 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9409 soname_spec
='${libname}${release}${shared_ext}$major'
9410 shlibpath_var
=LD_LIBRARY_PATH
9417 freebsd
* | dragonfly
*)
9418 # DragonFly does not have aout. When/if they implement a new
9419 # versioning mechanism, adjust this.
9420 if test -x /usr
/bin
/objformat
; then
9421 objformat
=`/usr/bin/objformat`
9424 freebsd
[123]*) objformat
=aout
;;
9428 version_type
=freebsd-
$objformat
9429 case $version_type in
9431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9436 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9440 shlibpath_var
=LD_LIBRARY_PATH
9443 shlibpath_overrides_runpath
=yes
9445 freebsd3.
[01]* | freebsdelf3.
[01]*)
9446 shlibpath_overrides_runpath
=yes
9447 hardcode_into_libs
=yes
9449 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9450 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9451 shlibpath_overrides_runpath
=no
9452 hardcode_into_libs
=yes
9454 *) # from 4.6 on, and DragonFly
9455 shlibpath_overrides_runpath
=yes
9456 hardcode_into_libs
=yes
9465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9466 soname_spec
='${libname}${release}${shared_ext}$major'
9467 shlibpath_var
=LD_LIBRARY_PATH
9468 hardcode_into_libs
=yes
9471 hpux9
* | hpux10
* | hpux11
*)
9472 # Give a soname corresponding to the major version so that dld.sl refuses to
9473 # link against other versions.
9480 hardcode_into_libs
=yes
9481 dynamic_linker
="$host_os dld.so"
9482 shlibpath_var
=LD_LIBRARY_PATH
9483 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9485 soname_spec
='${libname}${release}${shared_ext}$major'
9486 if test "X$HPUX_IA64_MODE" = X32
; then
9487 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9489 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9491 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9495 hardcode_into_libs
=yes
9496 dynamic_linker
="$host_os dld.sl"
9497 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9498 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9500 soname_spec
='${libname}${release}${shared_ext}$major'
9501 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9502 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9506 dynamic_linker
="$host_os dld.sl"
9507 shlibpath_var
=SHLIB_PATH
9508 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9510 soname_spec
='${libname}${release}${shared_ext}$major'
9513 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9514 postinstall_cmds
='chmod 555 $lib'
9521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9522 soname_spec
='${libname}${release}${shared_ext}$major'
9523 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9524 shlibpath_var
=LD_LIBRARY_PATH
9525 shlibpath_overrides_runpath
=no
9526 hardcode_into_libs
=yes
9529 irix5
* | irix6
* | nonstopux
*)
9531 nonstopux
*) version_type
=nonstopux
;;
9533 if test "$lt_cv_prog_gnu_ld" = yes; then
9541 soname_spec
='${libname}${release}${shared_ext}$major'
9542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9544 irix5
* | nonstopux
*)
9548 case $LD in # libtool.m4 will add one of these switches to LD
9549 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9550 libsuff
= shlibsuff
= libmagic
=32-bit;;
9551 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9552 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9553 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9554 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9555 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9559 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9560 shlibpath_overrides_runpath
=no
9561 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9562 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9563 hardcode_into_libs
=yes
9566 # No shared lib support for Linux oldld, aout, or coff.
9567 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9571 # This must be Linux ELF.
9572 linux
* | k
*bsd
*-gnu)
9576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9577 soname_spec
='${libname}${release}${shared_ext}$major'
9578 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9579 shlibpath_var
=LD_LIBRARY_PATH
9580 shlibpath_overrides_runpath
=no
9581 # Some binutils ld are patched to set DT_RUNPATH
9582 save_LDFLAGS
=$LDFLAGS
9584 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9585 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9586 cat >conftest.
$ac_ext <<_ACEOF
9589 cat confdefs.h
>>conftest.
$ac_ext
9590 cat >>conftest.
$ac_ext <<_ACEOF
9591 /* end confdefs.h. */
9601 rm -f conftest.
$ac_objext conftest
$ac_exeext
9602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9603 (eval $ac_link) 2>conftest.er1
9605 grep -v '^ *+' conftest.er1
>conftest.err
9607 cat conftest.err
>&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); } &&
9610 { ac_try
='test -z "$ac_c_werror_flag"
9611 || test ! -s conftest.err'
9612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); }; } &&
9617 { ac_try
='test -s conftest$ac_exeext'
9618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 (exit $ac_status); }; }; then
9623 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9624 shlibpath_overrides_runpath
=yes
9628 echo "$as_me: failed program was:" >&5
9629 sed 's/^/| /' conftest.
$ac_ext >&5
9632 rm -f conftest.err conftest.
$ac_objext \
9633 conftest
$ac_exeext conftest.
$ac_ext
9634 LDFLAGS
=$save_LDFLAGS
9637 # This implies no fast_install, which is unacceptable.
9638 # Some rework will be needed to allow for fast_install
9639 # before this can be enabled.
9640 hardcode_into_libs
=yes
9642 # Append ld.so.conf contents to the search path
9643 if test -f /etc
/ld.so.conf
; then
9644 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9645 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9648 # We used to test for /lib/ld.so.1 and disable shared libraries on
9649 # powerpc, because MkLinux only supported shared libraries with the
9650 # GNU dynamic linker. Since this was broken with cross compilers,
9651 # most powerpc-linux boxes support dynamic linking these days and
9652 # people can always --disable-shared, the test was removed, and we
9653 # assume the GNU/Linux dynamic linker is in use.
9654 dynamic_linker
='GNU/Linux ld.so'
9661 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9663 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9664 dynamic_linker
='NetBSD (a.out) ld.so'
9666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9667 soname_spec
='${libname}${release}${shared_ext}$major'
9668 dynamic_linker
='NetBSD ld.elf_so'
9670 shlibpath_var
=LD_LIBRARY_PATH
9671 shlibpath_overrides_runpath
=yes
9672 hardcode_into_libs
=yes
9677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9678 shlibpath_var
=LD_LIBRARY_PATH
9679 shlibpath_overrides_runpath
=yes
9686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9687 soname_spec
='${libname}${release}${shared_ext}$major'
9688 shlibpath_var
=LD_LIBRARY_PATH
9689 shlibpath_overrides_runpath
=no
9690 hardcode_into_libs
=yes
9691 dynamic_linker
='ldqnx.so'
9696 sys_lib_dlsearch_path_spec
="/usr/lib"
9698 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9700 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9701 *) need_version
=no
;;
9703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9704 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9705 shlibpath_var
=LD_LIBRARY_PATH
9706 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9708 openbsd2.
[89] | openbsd2.
[89].
*)
9709 shlibpath_overrides_runpath
=no
9712 shlibpath_overrides_runpath
=yes
9716 shlibpath_overrides_runpath
=yes
9721 libname_spec
='$name'
9724 library_names_spec
='$libname${shared_ext} $libname.a'
9725 dynamic_linker
='OS/2 ld.exe'
9726 shlibpath_var
=LIBPATH
9729 osf3
* | osf4
* | osf5
*)
9733 soname_spec
='${libname}${release}${shared_ext}$major'
9734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9735 shlibpath_var
=LD_LIBRARY_PATH
9736 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9737 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9749 soname_spec
='${libname}${release}${shared_ext}$major'
9750 shlibpath_var
=LD_LIBRARY_PATH
9751 shlibpath_overrides_runpath
=yes
9752 hardcode_into_libs
=yes
9753 # ldd complains unless libraries are executable
9754 postinstall_cmds
='chmod +x $lib'
9759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9760 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9761 shlibpath_var
=LD_LIBRARY_PATH
9762 shlibpath_overrides_runpath
=yes
9763 if test "$with_gnu_ld" = yes; then
9771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9772 soname_spec
='${libname}${release}${shared_ext}$major'
9773 shlibpath_var
=LD_LIBRARY_PATH
9774 case $host_vendor in
9776 shlibpath_overrides_runpath
=no
9778 runpath_var
=LD_RUN_PATH
9786 shlibpath_overrides_runpath
=no
9787 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9793 if test -d /usr
/nec
;then
9795 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9796 soname_spec
='$libname${shared_ext}.$major'
9797 shlibpath_var
=LD_LIBRARY_PATH
9801 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9802 version_type
=freebsd-elf
9805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9806 soname_spec
='${libname}${release}${shared_ext}$major'
9807 shlibpath_var
=LD_LIBRARY_PATH
9808 shlibpath_overrides_runpath
=yes
9809 hardcode_into_libs
=yes
9810 if test "$with_gnu_ld" = yes; then
9811 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9813 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9816 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9820 sys_lib_dlsearch_path_spec
='/usr/lib'
9824 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9828 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9829 shlibpath_var
=LD_LIBRARY_PATH
9830 shlibpath_overrides_runpath
=no
9831 hardcode_into_libs
=yes
9836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9837 soname_spec
='${libname}${release}${shared_ext}$major'
9838 shlibpath_var
=LD_LIBRARY_PATH
9845 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9846 echo "${ECHO_T}$dynamic_linker" >&6
9847 test "$dynamic_linker" = no
&& can_build_shared
=no
9849 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9850 if test "$GCC" = yes; then
9851 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9940 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9941 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9943 if test -n "$hardcode_libdir_flag_spec" ||
9944 test -n "$runpath_var" ||
9945 test "X$hardcode_automatic" = "Xyes" ; then
9947 # We can hardcode non-existent directories.
9948 if test "$hardcode_direct" != no
&&
9949 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9950 # have to relink, otherwise we might link with an installed library
9951 # when we should be linking with a yet-to-be-installed one
9952 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9953 test "$hardcode_minus_L" != no
; then
9954 # Linking always hardcodes the temporary library directory.
9955 hardcode_action
=relink
9957 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9958 hardcode_action
=immediate
9961 # We cannot hardcode anything, or else we can only hardcode existing
9963 hardcode_action
=unsupported
9965 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9966 echo "${ECHO_T}$hardcode_action" >&6
9968 if test "$hardcode_action" = relink ||
9969 test "$inherit_rpath" = yes; then
9970 # Fast installation is not supported
9971 enable_fast_install
=no
9972 elif test "$shlibpath_overrides_runpath" = yes ||
9973 test "$enable_shared" = no
; then
9974 # Fast installation is not necessary
9975 enable_fast_install
=needless
9983 if test "x$enable_dlopen" != xyes
; then
9984 enable_dlopen
=unknown
9985 enable_dlopen_self
=unknown
9986 enable_dlopen_self_static
=unknown
9993 lt_cv_dlopen
="load_add_on"
9995 lt_cv_dlopen_self
=yes
9999 lt_cv_dlopen
="LoadLibrary"
10004 lt_cv_dlopen
="dlopen"
10009 # if libdl is installed we need to link against it
10010 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10011 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10012 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10013 echo $ECHO_N "(cached) $ECHO_C" >&6
10015 ac_check_lib_save_LIBS
=$LIBS
10017 cat >conftest.
$ac_ext <<_ACEOF
10020 cat confdefs.h
>>conftest.
$ac_ext
10021 cat >>conftest.
$ac_ext <<_ACEOF
10022 /* end confdefs.h. */
10024 /* Override any gcc2 internal prototype to avoid an error. */
10028 /* We use char because int might match the return type of a gcc2
10029 builtin and then its argument prototype would still apply. */
10039 rm -f conftest.
$ac_objext conftest
$ac_exeext
10040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10041 (eval $ac_link) 2>conftest.er1
10043 grep -v '^ *+' conftest.er1
>conftest.err
10045 cat conftest.err
>&5
10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 (exit $ac_status); } &&
10048 { ac_try
='test -z "$ac_c_werror_flag"
10049 || test ! -s conftest.err'
10050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10051 (eval $ac_try) 2>&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); }; } &&
10055 { ac_try
='test -s conftest$ac_exeext'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; }; then
10061 ac_cv_lib_dl_dlopen
=yes
10063 echo "$as_me: failed program was:" >&5
10064 sed 's/^/| /' conftest.
$ac_ext >&5
10066 ac_cv_lib_dl_dlopen
=no
10068 rm -f conftest.err conftest.
$ac_objext \
10069 conftest
$ac_exeext conftest.
$ac_ext
10070 LIBS
=$ac_check_lib_save_LIBS
10072 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10073 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10074 if test $ac_cv_lib_dl_dlopen = yes; then
10075 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10078 lt_cv_dlopen
="dyld"
10080 lt_cv_dlopen_self
=yes
10087 echo "$as_me:$LINENO: checking for shl_load" >&5
10088 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10089 if test "${ac_cv_func_shl_load+set}" = set; then
10090 echo $ECHO_N "(cached) $ECHO_C" >&6
10092 cat >conftest.
$ac_ext <<_ACEOF
10095 cat confdefs.h
>>conftest.
$ac_ext
10096 cat >>conftest.
$ac_ext <<_ACEOF
10097 /* end confdefs.h. */
10098 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10100 #define shl_load innocuous_shl_load
10102 /* System header to define __stub macros and hopefully few prototypes,
10103 which can conflict with char shl_load (); below.
10104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10105 <limits.h> exists even on freestanding compilers. */
10108 # include <limits.h>
10110 # include <assert.h>
10115 /* Override any gcc2 internal prototype to avoid an error. */
10120 /* We use char because int might match the return type of a gcc2
10121 builtin and then its argument prototype would still apply. */
10123 /* The GNU C library defines this for functions which it implements
10124 to always fail with ENOSYS. Some functions are actually named
10125 something starting with __ and the normal name is an alias. */
10126 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10129 char (*f) () = shl_load;
10138 return f != shl_load;
10143 rm -f conftest.
$ac_objext conftest
$ac_exeext
10144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10145 (eval $ac_link) 2>conftest.er1
10147 grep -v '^ *+' conftest.er1
>conftest.err
10149 cat conftest.err
>&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); } &&
10152 { ac_try
='test -z "$ac_c_werror_flag"
10153 || test ! -s conftest.err'
10154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10155 (eval $ac_try) 2>&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); }; } &&
10159 { ac_try
='test -s conftest$ac_exeext'
10160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10161 (eval $ac_try) 2>&5
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); }; }; then
10165 ac_cv_func_shl_load
=yes
10167 echo "$as_me: failed program was:" >&5
10168 sed 's/^/| /' conftest.
$ac_ext >&5
10170 ac_cv_func_shl_load
=no
10172 rm -f conftest.err conftest.
$ac_objext \
10173 conftest
$ac_exeext conftest.
$ac_ext
10175 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10176 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10177 if test $ac_cv_func_shl_load = yes; then
10178 lt_cv_dlopen
="shl_load"
10180 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10181 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10182 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10183 echo $ECHO_N "(cached) $ECHO_C" >&6
10185 ac_check_lib_save_LIBS
=$LIBS
10187 cat >conftest.
$ac_ext <<_ACEOF
10190 cat confdefs.h
>>conftest.
$ac_ext
10191 cat >>conftest.
$ac_ext <<_ACEOF
10192 /* end confdefs.h. */
10194 /* Override any gcc2 internal prototype to avoid an error. */
10198 /* We use char because int might match the return type of a gcc2
10199 builtin and then its argument prototype would still apply. */
10209 rm -f conftest.
$ac_objext conftest
$ac_exeext
10210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10211 (eval $ac_link) 2>conftest.er1
10213 grep -v '^ *+' conftest.er1
>conftest.err
10215 cat conftest.err
>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); } &&
10218 { ac_try
='test -z "$ac_c_werror_flag"
10219 || test ! -s conftest.err'
10220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221 (eval $ac_try) 2>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; } &&
10225 { ac_try
='test -s conftest$ac_exeext'
10226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227 (eval $ac_try) 2>&5
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }; }; then
10231 ac_cv_lib_dld_shl_load
=yes
10233 echo "$as_me: failed program was:" >&5
10234 sed 's/^/| /' conftest.
$ac_ext >&5
10236 ac_cv_lib_dld_shl_load
=no
10238 rm -f conftest.err conftest.
$ac_objext \
10239 conftest
$ac_exeext conftest.
$ac_ext
10240 LIBS
=$ac_check_lib_save_LIBS
10242 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10243 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10244 if test $ac_cv_lib_dld_shl_load = yes; then
10245 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
10247 echo "$as_me:$LINENO: checking for dlopen" >&5
10248 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10249 if test "${ac_cv_func_dlopen+set}" = set; then
10250 echo $ECHO_N "(cached) $ECHO_C" >&6
10252 cat >conftest.
$ac_ext <<_ACEOF
10255 cat confdefs.h
>>conftest.
$ac_ext
10256 cat >>conftest.
$ac_ext <<_ACEOF
10257 /* end confdefs.h. */
10258 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10260 #define dlopen innocuous_dlopen
10262 /* System header to define __stub macros and hopefully few prototypes,
10263 which can conflict with char dlopen (); below.
10264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10265 <limits.h> exists even on freestanding compilers. */
10268 # include <limits.h>
10270 # include <assert.h>
10275 /* Override any gcc2 internal prototype to avoid an error. */
10280 /* We use char because int might match the return type of a gcc2
10281 builtin and then its argument prototype would still apply. */
10283 /* The GNU C library defines this for functions which it implements
10284 to always fail with ENOSYS. Some functions are actually named
10285 something starting with __ and the normal name is an alias. */
10286 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10289 char (*f) () = dlopen;
10298 return f != dlopen;
10303 rm -f conftest.
$ac_objext conftest
$ac_exeext
10304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10305 (eval $ac_link) 2>conftest.er1
10307 grep -v '^ *+' conftest.er1
>conftest.err
10309 cat conftest.err
>&5
10310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10311 (exit $ac_status); } &&
10312 { ac_try
='test -z "$ac_c_werror_flag"
10313 || test ! -s conftest.err'
10314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10315 (eval $ac_try) 2>&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); }; } &&
10319 { ac_try
='test -s conftest$ac_exeext'
10320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10321 (eval $ac_try) 2>&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); }; }; then
10325 ac_cv_func_dlopen
=yes
10327 echo "$as_me: failed program was:" >&5
10328 sed 's/^/| /' conftest.
$ac_ext >&5
10330 ac_cv_func_dlopen
=no
10332 rm -f conftest.err conftest.
$ac_objext \
10333 conftest
$ac_exeext conftest.
$ac_ext
10335 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10336 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10337 if test $ac_cv_func_dlopen = yes; then
10338 lt_cv_dlopen
="dlopen"
10340 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10341 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10342 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10343 echo $ECHO_N "(cached) $ECHO_C" >&6
10345 ac_check_lib_save_LIBS
=$LIBS
10347 cat >conftest.
$ac_ext <<_ACEOF
10350 cat confdefs.h
>>conftest.
$ac_ext
10351 cat >>conftest.
$ac_ext <<_ACEOF
10352 /* end confdefs.h. */
10354 /* Override any gcc2 internal prototype to avoid an error. */
10358 /* We use char because int might match the return type of a gcc2
10359 builtin and then its argument prototype would still apply. */
10369 rm -f conftest.
$ac_objext conftest
$ac_exeext
10370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10371 (eval $ac_link) 2>conftest.er1
10373 grep -v '^ *+' conftest.er1
>conftest.err
10375 cat conftest.err
>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } &&
10378 { ac_try
='test -z "$ac_c_werror_flag"
10379 || test ! -s conftest.err'
10380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10381 (eval $ac_try) 2>&5
10383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384 (exit $ac_status); }; } &&
10385 { ac_try
='test -s conftest$ac_exeext'
10386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10387 (eval $ac_try) 2>&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); }; }; then
10391 ac_cv_lib_dl_dlopen
=yes
10393 echo "$as_me: failed program was:" >&5
10394 sed 's/^/| /' conftest.
$ac_ext >&5
10396 ac_cv_lib_dl_dlopen
=no
10398 rm -f conftest.err conftest.
$ac_objext \
10399 conftest
$ac_exeext conftest.
$ac_ext
10400 LIBS
=$ac_check_lib_save_LIBS
10402 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10403 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10404 if test $ac_cv_lib_dl_dlopen = yes; then
10405 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10407 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10408 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10409 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10412 ac_check_lib_save_LIBS
=$LIBS
10413 LIBS
="-lsvld $LIBS"
10414 cat >conftest.
$ac_ext <<_ACEOF
10417 cat confdefs.h
>>conftest.
$ac_ext
10418 cat >>conftest.
$ac_ext <<_ACEOF
10419 /* end confdefs.h. */
10421 /* Override any gcc2 internal prototype to avoid an error. */
10425 /* We use char because int might match the return type of a gcc2
10426 builtin and then its argument prototype would still apply. */
10436 rm -f conftest.
$ac_objext conftest
$ac_exeext
10437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10438 (eval $ac_link) 2>conftest.er1
10440 grep -v '^ *+' conftest.er1
>conftest.err
10442 cat conftest.err
>&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); } &&
10445 { ac_try
='test -z "$ac_c_werror_flag"
10446 || test ! -s conftest.err'
10447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 (eval $ac_try) 2>&5
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; } &&
10452 { ac_try
='test -s conftest$ac_exeext'
10453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10454 (eval $ac_try) 2>&5
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); }; }; then
10458 ac_cv_lib_svld_dlopen
=yes
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.
$ac_ext >&5
10463 ac_cv_lib_svld_dlopen
=no
10465 rm -f conftest.err conftest.
$ac_objext \
10466 conftest
$ac_exeext conftest.
$ac_ext
10467 LIBS
=$ac_check_lib_save_LIBS
10469 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10470 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10471 if test $ac_cv_lib_svld_dlopen = yes; then
10472 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10474 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10475 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10476 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10477 echo $ECHO_N "(cached) $ECHO_C" >&6
10479 ac_check_lib_save_LIBS
=$LIBS
10481 cat >conftest.
$ac_ext <<_ACEOF
10484 cat confdefs.h
>>conftest.
$ac_ext
10485 cat >>conftest.
$ac_ext <<_ACEOF
10486 /* end confdefs.h. */
10488 /* Override any gcc2 internal prototype to avoid an error. */
10492 /* We use char because int might match the return type of a gcc2
10493 builtin and then its argument prototype would still apply. */
10503 rm -f conftest.
$ac_objext conftest
$ac_exeext
10504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10505 (eval $ac_link) 2>conftest.er1
10507 grep -v '^ *+' conftest.er1
>conftest.err
10509 cat conftest.err
>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); } &&
10512 { ac_try
='test -z "$ac_c_werror_flag"
10513 || test ! -s conftest.err'
10514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10515 (eval $ac_try) 2>&5
10517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10518 (exit $ac_status); }; } &&
10519 { ac_try
='test -s conftest$ac_exeext'
10520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10521 (eval $ac_try) 2>&5
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); }; }; then
10525 ac_cv_lib_dld_dld_link
=yes
10527 echo "$as_me: failed program was:" >&5
10528 sed 's/^/| /' conftest.
$ac_ext >&5
10530 ac_cv_lib_dld_dld_link
=no
10532 rm -f conftest.err conftest.
$ac_objext \
10533 conftest
$ac_exeext conftest.
$ac_ext
10534 LIBS
=$ac_check_lib_save_LIBS
10536 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10537 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10538 if test $ac_cv_lib_dld_dld_link = yes; then
10539 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10560 if test "x$lt_cv_dlopen" != xno
; then
10566 case $lt_cv_dlopen in
10568 save_CPPFLAGS
="$CPPFLAGS"
10569 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10571 save_LDFLAGS
="$LDFLAGS"
10572 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10575 LIBS
="$lt_cv_dlopen_libs $LIBS"
10577 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10578 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10579 if test "${lt_cv_dlopen_self+set}" = set; then
10580 echo $ECHO_N "(cached) $ECHO_C" >&6
10582 if test "$cross_compiling" = yes; then :
10583 lt_cv_dlopen_self
=cross
10585 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10586 lt_status
=$lt_dlunknown
10587 cat > conftest.
$ac_ext <<_LT_EOF
10588 #line 10223 "configure"
10589 #include "confdefs.h"
10598 # define LT_DLGLOBAL RTLD_GLOBAL
10601 # define LT_DLGLOBAL DL_GLOBAL
10603 # define LT_DLGLOBAL 0
10607 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10608 find out it does not work in some platform. */
10609 #ifndef LT_DLLAZY_OR_NOW
10611 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10614 # define LT_DLLAZY_OR_NOW DL_LAZY
10617 # define LT_DLLAZY_OR_NOW RTLD_NOW
10620 # define LT_DLLAZY_OR_NOW DL_NOW
10622 # define LT_DLLAZY_OR_NOW 0
10630 extern "C" void exit (int);
10633 void fnord() { int i=42;}
10636 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10637 int status = $lt_dlunknown;
10641 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10642 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10643 /* dlclose (self); */
10651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10652 (eval $ac_link) 2>&5
10654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10655 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10656 (.
/conftest
; exit; ) >&5 2>/dev
/null
10658 case x
$lt_status in
10659 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10660 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10661 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10664 # compilation failed
10665 lt_cv_dlopen_self
=no
10672 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10673 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10675 if test "x$lt_cv_dlopen_self" = xyes
; then
10676 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10677 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10678 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10679 if test "${lt_cv_dlopen_self_static+set}" = set; then
10680 echo $ECHO_N "(cached) $ECHO_C" >&6
10682 if test "$cross_compiling" = yes; then :
10683 lt_cv_dlopen_self_static
=cross
10685 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10686 lt_status
=$lt_dlunknown
10687 cat > conftest.
$ac_ext <<_LT_EOF
10688 #line 10323 "configure"
10689 #include "confdefs.h"
10698 # define LT_DLGLOBAL RTLD_GLOBAL
10701 # define LT_DLGLOBAL DL_GLOBAL
10703 # define LT_DLGLOBAL 0
10707 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10708 find out it does not work in some platform. */
10709 #ifndef LT_DLLAZY_OR_NOW
10711 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10714 # define LT_DLLAZY_OR_NOW DL_LAZY
10717 # define LT_DLLAZY_OR_NOW RTLD_NOW
10720 # define LT_DLLAZY_OR_NOW DL_NOW
10722 # define LT_DLLAZY_OR_NOW 0
10730 extern "C" void exit (int);
10733 void fnord() { int i=42;}
10736 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10737 int status = $lt_dlunknown;
10741 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10742 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10743 /* dlclose (self); */
10751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10752 (eval $ac_link) 2>&5
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10756 (.
/conftest
; exit; ) >&5 2>/dev
/null
10758 case x
$lt_status in
10759 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10760 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10761 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10764 # compilation failed
10765 lt_cv_dlopen_self_static
=no
10772 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10773 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10776 CPPFLAGS
="$save_CPPFLAGS"
10777 LDFLAGS
="$save_LDFLAGS"
10782 case $lt_cv_dlopen_self in
10783 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10784 *) enable_dlopen_self
=unknown
;;
10787 case $lt_cv_dlopen_self_static in
10788 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10789 *) enable_dlopen_self_static
=unknown
;;
10811 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10812 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10813 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10814 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10815 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10816 echo "$as_me:$LINENO: result: yes" >&5
10817 echo "${ECHO_T}yes" >&6
10819 # FIXME - insert some real tests, host_os isn't really good enough
10822 if test -n "$STRIP" ; then
10823 striplib
="$STRIP -x"
10824 old_striplib
="$STRIP -S"
10825 echo "$as_me:$LINENO: result: yes" >&5
10826 echo "${ECHO_T}yes" >&6
10828 echo "$as_me:$LINENO: result: no" >&5
10829 echo "${ECHO_T}no" >&6
10833 echo "$as_me:$LINENO: result: no" >&5
10834 echo "${ECHO_T}no" >&6
10850 # Report which library types will actually be built
10851 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10852 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10853 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10854 echo "${ECHO_T}$can_build_shared" >&6
10856 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10857 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10858 test "$can_build_shared" = "no" && enable_shared
=no
10860 # On AIX, shared libraries and static libraries use the same namespace, and
10861 # are all built from PIC.
10864 test "$enable_shared" = yes && enable_static
=no
10865 if test -n "$RANLIB"; then
10866 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10867 postinstall_cmds
='$RANLIB $lib'
10872 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10873 test "$enable_shared" = yes && enable_static
=no
10877 echo "$as_me:$LINENO: result: $enable_shared" >&5
10878 echo "${ECHO_T}$enable_shared" >&6
10880 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10881 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10882 # Make sure either enable_shared or enable_static is yes.
10883 test "$enable_shared" = yes || enable_static
=yes
10884 echo "$as_me:$LINENO: result: $enable_static" >&5
10885 echo "${ECHO_T}$enable_static" >&6
10892 ac_cpp
='$CPP $CPPFLAGS'
10893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10911 ac_config_commands
="$ac_config_commands libtool"
10916 # Only expand once:
10920 # Check whether --enable-targets or --disable-targets was given.
10921 if test "${enable_targets+set}" = set; then
10922 enableval
="$enable_targets"
10923 case "${enableval}" in
10924 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
10925 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
10926 { (exit 1); exit 1; }; }
10928 no
) enable_targets
= ;;
10929 *) enable_targets
=$enableval ;;
10931 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
10932 if test "${enable_commonbfdlib+set}" = set; then
10933 enableval
="$enable_commonbfdlib"
10934 case "${enableval}" in
10935 yes) commonbfdlib
=true
;;
10936 no
) commonbfdlib
=false
;;
10937 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
10938 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
10939 { (exit 1); exit 1; }; } ;;
10943 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
10945 # Check whether --enable-werror or --disable-werror was given.
10946 if test "${enable_werror+set}" = set; then
10947 enableval
="$enable_werror"
10948 case "${enableval}" in
10949 yes | y
) ERROR_ON_WARNING
="yes" ;;
10950 no | n
) ERROR_ON_WARNING
="no" ;;
10951 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
10952 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
10953 { (exit 1); exit 1; }; } ;;
10957 # Enable -Wno-format by default when using gcc on mingw
10960 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10961 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
10967 # Enable -Werror by default when using gcc
10968 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10969 ERROR_ON_WARNING
=yes
10973 if test "${ERROR_ON_WARNING}" = yes ; then
10974 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
10975 NO_WERROR
="-Wno-error"
10978 if test "${GCC}" = yes ; then
10979 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
10982 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10983 if test "${enable_build_warnings+set}" = set; then
10984 enableval
="$enable_build_warnings"
10985 case "${enableval}" in
10986 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
10987 no
) if test "${GCC}" = yes ; then
10990 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10991 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
10992 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10993 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
10994 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10998 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
10999 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11006 ac_config_headers
="$ac_config_headers config.h:config.in"
11009 if test -z "$target" ; then
11010 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
11011 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
11012 { (exit 1); exit 1; }; }
11014 if test -z "$host" ; then
11015 { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
11016 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
11017 { (exit 1); exit 1; }; }
11020 for ac_prog
in 'bison -y' byacc
11022 # Extract the first word of "$ac_prog", so it can be a program name with args.
11023 set dummy
$ac_prog; ac_word
=$2
11024 echo "$as_me:$LINENO: checking for $ac_word" >&5
11025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11026 if test "${ac_cv_prog_YACC+set}" = set; then
11027 echo $ECHO_N "(cached) $ECHO_C" >&6
11029 if test -n "$YACC"; then
11030 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11033 for as_dir
in $PATH
11036 test -z "$as_dir" && as_dir
=.
11037 for ac_exec_ext
in '' $ac_executable_extensions; do
11038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11039 ac_cv_prog_YACC
="$ac_prog"
11040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11048 YACC
=$ac_cv_prog_YACC
11049 if test -n "$YACC"; then
11050 echo "$as_me:$LINENO: result: $YACC" >&5
11051 echo "${ECHO_T}$YACC" >&6
11053 echo "$as_me:$LINENO: result: no" >&5
11054 echo "${ECHO_T}no" >&6
11057 test -n "$YACC" && break
11059 test -n "$YACC" || YACC
="yacc"
11061 for ac_prog
in flex
lex
11063 # Extract the first word of "$ac_prog", so it can be a program name with args.
11064 set dummy
$ac_prog; ac_word
=$2
11065 echo "$as_me:$LINENO: checking for $ac_word" >&5
11066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11067 if test "${ac_cv_prog_LEX+set}" = set; then
11068 echo $ECHO_N "(cached) $ECHO_C" >&6
11070 if test -n "$LEX"; then
11071 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11074 for as_dir
in $PATH
11077 test -z "$as_dir" && as_dir
=.
11078 for ac_exec_ext
in '' $ac_executable_extensions; do
11079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11080 ac_cv_prog_LEX
="$ac_prog"
11081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11089 LEX
=$ac_cv_prog_LEX
11090 if test -n "$LEX"; then
11091 echo "$as_me:$LINENO: result: $LEX" >&5
11092 echo "${ECHO_T}$LEX" >&6
11094 echo "$as_me:$LINENO: result: no" >&5
11095 echo "${ECHO_T}no" >&6
11098 test -n "$LEX" && break
11100 test -n "$LEX" || LEX
=":"
11102 if test -z "$LEXLIB"
11104 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11105 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11106 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11107 echo $ECHO_N "(cached) $ECHO_C" >&6
11109 ac_check_lib_save_LIBS
=$LIBS
11111 cat >conftest.
$ac_ext <<_ACEOF
11114 cat confdefs.h
>>conftest.
$ac_ext
11115 cat >>conftest.
$ac_ext <<_ACEOF
11116 /* end confdefs.h. */
11118 /* Override any gcc2 internal prototype to avoid an error. */
11122 /* We use char because int might match the return type of a gcc2
11123 builtin and then its argument prototype would still apply. */
11133 rm -f conftest.
$ac_objext conftest
$ac_exeext
11134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11135 (eval $ac_link) 2>conftest.er1
11137 grep -v '^ *+' conftest.er1
>conftest.err
11139 cat conftest.err
>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); } &&
11142 { ac_try
='test -z "$ac_c_werror_flag"
11143 || test ! -s conftest.err'
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145 (eval $ac_try) 2>&5
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; } &&
11149 { ac_try
='test -s conftest$ac_exeext'
11150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11151 (eval $ac_try) 2>&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); }; }; then
11155 ac_cv_lib_fl_yywrap
=yes
11157 echo "$as_me: failed program was:" >&5
11158 sed 's/^/| /' conftest.
$ac_ext >&5
11160 ac_cv_lib_fl_yywrap
=no
11162 rm -f conftest.err conftest.
$ac_objext \
11163 conftest
$ac_exeext conftest.
$ac_ext
11164 LIBS
=$ac_check_lib_save_LIBS
11166 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11167 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11168 if test $ac_cv_lib_fl_yywrap = yes; then
11171 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11172 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11173 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11174 echo $ECHO_N "(cached) $ECHO_C" >&6
11176 ac_check_lib_save_LIBS
=$LIBS
11178 cat >conftest.
$ac_ext <<_ACEOF
11181 cat confdefs.h
>>conftest.
$ac_ext
11182 cat >>conftest.
$ac_ext <<_ACEOF
11183 /* end confdefs.h. */
11185 /* Override any gcc2 internal prototype to avoid an error. */
11189 /* We use char because int might match the return type of a gcc2
11190 builtin and then its argument prototype would still apply. */
11200 rm -f conftest.
$ac_objext conftest
$ac_exeext
11201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11202 (eval $ac_link) 2>conftest.er1
11204 grep -v '^ *+' conftest.er1
>conftest.err
11206 cat conftest.err
>&5
11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11208 (exit $ac_status); } &&
11209 { ac_try
='test -z "$ac_c_werror_flag"
11210 || test ! -s conftest.err'
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; } &&
11216 { ac_try
='test -s conftest$ac_exeext'
11217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11218 (eval $ac_try) 2>&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); }; }; then
11222 ac_cv_lib_l_yywrap
=yes
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.
$ac_ext >&5
11227 ac_cv_lib_l_yywrap
=no
11229 rm -f conftest.err conftest.
$ac_objext \
11230 conftest
$ac_exeext conftest.
$ac_ext
11231 LIBS
=$ac_check_lib_save_LIBS
11233 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11234 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11235 if test $ac_cv_lib_l_yywrap = yes; then
11243 if test "x$LEX" != "x:"; then
11244 echo "$as_me:$LINENO: checking lex output file root" >&5
11245 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11246 if test "${ac_cv_prog_lex_root+set}" = set; then
11247 echo $ECHO_N "(cached) $ECHO_C" >&6
11249 # The minimal lex program is just a single line: %%. But some broken lexes
11250 # (Solaris, I think it was) want two %% lines, so accommodate them.
11251 cat >conftest.l
<<_ACEOF
11255 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11256 (eval $LEX conftest.l
) 2>&5
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); }
11260 if test -f lex.yy.c
; then
11261 ac_cv_prog_lex_root
=lex.yy
11262 elif test -f lexyy.c
; then
11263 ac_cv_prog_lex_root
=lexyy
11265 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11266 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11267 { (exit 1); exit 1; }; }
11270 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11271 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11273 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11275 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11276 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11277 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 # POSIX says lex can declare yytext either as a pointer or an array; the
11281 # default is implementation-dependent. Figure out which it is, since
11282 # not all implementations provide the %pointer and %array declarations.
11283 ac_cv_prog_lex_yytext_pointer
=no
11284 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11286 LIBS
="$LIBS $LEXLIB"
11287 cat >conftest.
$ac_ext <<_ACEOF
11288 `cat $LEX_OUTPUT_ROOT.c`
11290 rm -f conftest.
$ac_objext conftest
$ac_exeext
11291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11292 (eval $ac_link) 2>conftest.er1
11294 grep -v '^ *+' conftest.er1
>conftest.err
11296 cat conftest.err
>&5
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); } &&
11299 { ac_try
='test -z "$ac_c_werror_flag"
11300 || test ! -s conftest.err'
11301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11302 (eval $ac_try) 2>&5
11304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); }; } &&
11306 { ac_try
='test -s conftest$ac_exeext'
11307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11308 (eval $ac_try) 2>&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); }; }; then
11312 ac_cv_prog_lex_yytext_pointer
=yes
11314 echo "$as_me: failed program was:" >&5
11315 sed 's/^/| /' conftest.
$ac_ext >&5
11318 rm -f conftest.err conftest.
$ac_objext \
11319 conftest
$ac_exeext conftest.
$ac_ext
11321 rm -f "${LEX_OUTPUT_ROOT}.c"
11324 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11325 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11326 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11328 cat >>confdefs.h
<<\_ACEOF
11329 #define YYTEXT_POINTER 1
11335 if test "$LEX" = :; then
11336 LEX
=${am_missing_run}flex
11339 ALL_LINGUAS
="fr tr ja es sv da zh_CN ru ro rw zh_TW fi vi uk sk"
11340 # If we haven't got the data from the intl directory,
11341 # assume NLS is disabled.
11350 if test -f ..
/intl
/config.intl
; then
11351 . ..
/intl
/config.intl
11353 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11354 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11355 if test x
"$USE_NLS" != xyes
; then
11356 echo "$as_me:$LINENO: result: no" >&5
11357 echo "${ECHO_T}no" >&6
11359 echo "$as_me:$LINENO: result: yes" >&5
11360 echo "${ECHO_T}yes" >&6
11362 cat >>confdefs.h
<<\_ACEOF
11363 #define ENABLE_NLS 1
11367 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
11368 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
11369 # Look for .po and .gmo files in the source directory.
11372 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11373 # If there aren't any .gmo files the shell will give us the
11374 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11376 case "$cat" in *\
**)
11379 # The quadruple backslash is collapsed to a double backslash
11380 # by the backticks, then collapsed again by the double quotes,
11381 # leaving us with one backslash in the sed expression (right
11382 # before the dot that mustn't act as a wildcard).
11383 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11384 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11385 # The user is allowed to set LINGUAS to a list of languages to
11386 # install catalogs for. If it's empty that means "all of them."
11387 if test "x$LINGUAS" = x
; then
11388 CATALOGS
="$CATALOGS $cat"
11389 XLINGUAS
="$XLINGUAS $lang"
11391 case "$LINGUAS" in *$lang*)
11392 CATALOGS
="$CATALOGS $cat"
11393 XLINGUAS
="$XLINGUAS $lang"
11398 LINGUAS
="$XLINGUAS"
11399 echo "$as_me:$LINENO: result: $LINGUAS" >&5
11400 echo "${ECHO_T}$LINGUAS" >&6
11414 if test -n "$ac_aux_dir"; then
11415 case "$ac_aux_dir" in
11416 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11417 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11420 if test -z "$MKINSTALLDIRS"; then
11421 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11426 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11427 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11428 # Check whether --enable-nls or --disable-nls was given.
11429 if test "${enable_nls+set}" = set; then
11430 enableval
="$enable_nls"
11435 echo "$as_me:$LINENO: result: $USE_NLS" >&5
11436 echo "${ECHO_T}$USE_NLS" >&6
11443 # Prepare PATH_SEPARATOR.
11444 # The user is always right.
11445 if test "${PATH_SEPARATOR+set}" != set; then
11446 echo "#! /bin/sh" >conf$$.sh
11447 echo "exit 0" >>conf$$.sh
11449 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11457 # Find out how to test for executable files. Don't use a zero-byte file,
11458 # as systems may use methods other than mode bits to determine executability.
11459 cat >conf$$.
file <<_ASEOF
11463 chmod +x conf$$.
file
11464 if test -x conf$$.
file >/dev
/null
2>&1; then
11465 ac_executable_p
="test -x"
11467 ac_executable_p
="test -f"
11471 # Extract the first word of "msgfmt", so it can be a program name with args.
11472 set dummy msgfmt
; ac_word
=$2
11473 echo "$as_me:$LINENO: checking for $ac_word" >&5
11474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11475 if test "${ac_cv_path_MSGFMT+set}" = set; then
11476 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11483 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11484 for ac_dir
in $PATH; do
11486 test -z "$ac_dir" && ac_dir
=.
11487 for ac_exec_ext
in '' $ac_executable_extensions; do
11488 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11489 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11490 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11491 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11498 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11502 MSGFMT
="$ac_cv_path_MSGFMT"
11503 if test "$MSGFMT" != ":"; then
11504 echo "$as_me:$LINENO: result: $MSGFMT" >&5
11505 echo "${ECHO_T}$MSGFMT" >&6
11507 echo "$as_me:$LINENO: result: no" >&5
11508 echo "${ECHO_T}no" >&6
11511 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11512 set dummy gmsgfmt
; ac_word
=$2
11513 echo "$as_me:$LINENO: checking for $ac_word" >&5
11514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11515 if test "${ac_cv_path_GMSGFMT+set}" = set; then
11516 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11524 for as_dir
in $PATH
11527 test -z "$as_dir" && as_dir
=.
11528 for ac_exec_ext
in '' $ac_executable_extensions; do
11529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11530 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11537 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11541 GMSGFMT
=$ac_cv_path_GMSGFMT
11543 if test -n "$GMSGFMT"; then
11544 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11545 echo "${ECHO_T}$GMSGFMT" >&6
11547 echo "$as_me:$LINENO: result: no" >&5
11548 echo "${ECHO_T}no" >&6
11553 # Prepare PATH_SEPARATOR.
11554 # The user is always right.
11555 if test "${PATH_SEPARATOR+set}" != set; then
11556 echo "#! /bin/sh" >conf$$.sh
11557 echo "exit 0" >>conf$$.sh
11559 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11567 # Find out how to test for executable files. Don't use a zero-byte file,
11568 # as systems may use methods other than mode bits to determine executability.
11569 cat >conf$$.
file <<_ASEOF
11573 chmod +x conf$$.
file
11574 if test -x conf$$.
file >/dev
/null
2>&1; then
11575 ac_executable_p
="test -x"
11577 ac_executable_p
="test -f"
11581 # Extract the first word of "xgettext", so it can be a program name with args.
11582 set dummy xgettext
; ac_word
=$2
11583 echo "$as_me:$LINENO: checking for $ac_word" >&5
11584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11585 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11586 echo $ECHO_N "(cached) $ECHO_C" >&6
11588 case "$XGETTEXT" in
11590 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11593 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11594 for ac_dir
in $PATH; do
11596 test -z "$ac_dir" && ac_dir
=.
11597 for ac_exec_ext
in '' $ac_executable_extensions; do
11598 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11599 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11600 (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
11601 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11608 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11612 XGETTEXT
="$ac_cv_path_XGETTEXT"
11613 if test "$XGETTEXT" != ":"; then
11614 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11615 echo "${ECHO_T}$XGETTEXT" >&6
11617 echo "$as_me:$LINENO: result: no" >&5
11618 echo "${ECHO_T}no" >&6
11624 # Prepare PATH_SEPARATOR.
11625 # The user is always right.
11626 if test "${PATH_SEPARATOR+set}" != set; then
11627 echo "#! /bin/sh" >conf$$.sh
11628 echo "exit 0" >>conf$$.sh
11630 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11638 # Find out how to test for executable files. Don't use a zero-byte file,
11639 # as systems may use methods other than mode bits to determine executability.
11640 cat >conf$$.
file <<_ASEOF
11644 chmod +x conf$$.
file
11645 if test -x conf$$.
file >/dev
/null
2>&1; then
11646 ac_executable_p
="test -x"
11648 ac_executable_p
="test -f"
11652 # Extract the first word of "msgmerge", so it can be a program name with args.
11653 set dummy msgmerge
; ac_word
=$2
11654 echo "$as_me:$LINENO: checking for $ac_word" >&5
11655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11656 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11657 echo $ECHO_N "(cached) $ECHO_C" >&6
11659 case "$MSGMERGE" in
11661 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11664 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11665 for ac_dir
in $PATH; do
11667 test -z "$ac_dir" && ac_dir
=.
11668 for ac_exec_ext
in '' $ac_executable_extensions; do
11669 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11670 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11671 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11678 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11682 MSGMERGE
="$ac_cv_path_MSGMERGE"
11683 if test "$MSGMERGE" != ":"; then
11684 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11685 echo "${ECHO_T}$MSGMERGE" >&6
11687 echo "$as_me:$LINENO: result: no" >&5
11688 echo "${ECHO_T}no" >&6
11692 if test "$GMSGFMT" != ":"; then
11693 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11694 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11697 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11698 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11699 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11704 if test "$XGETTEXT" != ":"; then
11705 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11706 (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
11709 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11710 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11716 ac_config_commands
="$ac_config_commands default-1"
11720 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11721 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
11722 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11723 if test "${enable_maintainer_mode+set}" = set; then
11724 enableval
="$enable_maintainer_mode"
11725 USE_MAINTAINER_MODE
=$enableval
11727 USE_MAINTAINER_MODE
=no
11729 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11730 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11733 if test $USE_MAINTAINER_MODE = yes; then
11734 MAINTAINER_MODE_TRUE
=
11735 MAINTAINER_MODE_FALSE
='#'
11737 MAINTAINER_MODE_TRUE
='#'
11738 MAINTAINER_MODE_FALSE
=
11741 MAINT
=$MAINTAINER_MODE_TRUE
11747 GENINSRC_NEVER_TRUE
=
11748 GENINSRC_NEVER_FALSE
='#'
11750 GENINSRC_NEVER_TRUE
='#'
11751 GENINSRC_NEVER_FALSE
=
11755 if test -n "$EXEEXT"; then
11757 cat >>confdefs.h
<<\_ACEOF
11758 #define HAVE_EXECUTABLE_SUFFIX 1
11763 cat >>confdefs.h
<<_ACEOF
11764 #define EXECUTABLE_SUFFIX "${EXEEXT}"
11768 # host-specific stuff:
11772 .
${srcdir}/..
/bfd
/configure.
host
11777 if test -n "$ac_tool_prefix"; then
11778 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11779 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11780 echo "$as_me:$LINENO: checking for $ac_word" >&5
11781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11782 if test "${ac_cv_prog_RANLIB+set}" = set; then
11783 echo $ECHO_N "(cached) $ECHO_C" >&6
11785 if test -n "$RANLIB"; then
11786 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11789 for as_dir
in $PATH
11792 test -z "$as_dir" && as_dir
=.
11793 for ac_exec_ext
in '' $ac_executable_extensions; do
11794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11795 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11804 RANLIB
=$ac_cv_prog_RANLIB
11805 if test -n "$RANLIB"; then
11806 echo "$as_me:$LINENO: result: $RANLIB" >&5
11807 echo "${ECHO_T}$RANLIB" >&6
11809 echo "$as_me:$LINENO: result: no" >&5
11810 echo "${ECHO_T}no" >&6
11814 if test -z "$ac_cv_prog_RANLIB"; then
11815 ac_ct_RANLIB
=$RANLIB
11816 # Extract the first word of "ranlib", so it can be a program name with args.
11817 set dummy ranlib
; ac_word
=$2
11818 echo "$as_me:$LINENO: checking for $ac_word" >&5
11819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11820 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11821 echo $ECHO_N "(cached) $ECHO_C" >&6
11823 if test -n "$ac_ct_RANLIB"; then
11824 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11827 for as_dir
in $PATH
11830 test -z "$as_dir" && as_dir
=.
11831 for ac_exec_ext
in '' $ac_executable_extensions; do
11832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11833 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11840 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11843 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11844 if test -n "$ac_ct_RANLIB"; then
11845 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11846 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11848 echo "$as_me:$LINENO: result: no" >&5
11849 echo "${ECHO_T}no" >&6
11852 RANLIB
=$ac_ct_RANLIB
11854 RANLIB
="$ac_cv_prog_RANLIB"
11857 # Find a good install program. We prefer a C program (faster),
11858 # so one script is as good as another. But avoid the broken or
11859 # incompatible versions:
11860 # SysV /etc/install, /usr/sbin/install
11861 # SunOS /usr/etc/install
11862 # IRIX /sbin/install
11864 # AmigaOS /C/install, which installs bootblocks on floppy discs
11865 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11866 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11867 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11868 # OS/2's system install, which has a completely different semantic
11869 # ./install, which can be erroneously created by make from ./install.sh.
11870 # Reject install programs that cannot install multiple files.
11871 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11872 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11873 if test -z "$INSTALL"; then
11874 if test "${ac_cv_path_install+set}" = set; then
11875 echo $ECHO_N "(cached) $ECHO_C" >&6
11877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11878 for as_dir
in $PATH
11881 test -z "$as_dir" && as_dir
=.
11882 # Account for people who put trailing slashes in PATH elements.
11884 .
/ | .
// |
/cC
/* | \
11885 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11886 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11889 # OSF1 and SCO ODT 3.0 have their own names for install.
11890 # Don't use installbsd from OSF since it installs stuff as root
11892 for ac_prog
in ginstall scoinst
install; do
11893 for ac_exec_ext
in '' $ac_executable_extensions; do
11894 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11895 if test $ac_prog = install &&
11896 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11897 # AIX install. It has an incompatible calling convention.
11899 elif test $ac_prog = install &&
11900 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11901 # program-specific install script used by HP pwplus--don't use.
11904 rm -rf conftest.one conftest.two conftest.dir
11905 echo one
> conftest.one
11906 echo two
> conftest.two
11908 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11909 test -s conftest.one
&& test -s conftest.two
&&
11910 test -s conftest.dir
/conftest.one
&&
11911 test -s conftest.dir
/conftest.two
11913 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11924 rm -rf conftest.one conftest.two conftest.dir
11927 if test "${ac_cv_path_install+set}" = set; then
11928 INSTALL
=$ac_cv_path_install
11930 # As a last resort, use the slow shell script. Don't cache a
11931 # value for INSTALL within a source directory, because that will
11932 # break other packages using the cache if that directory is
11933 # removed, or if the value is a relative name.
11934 INSTALL
=$ac_install_sh
11937 echo "$as_me:$LINENO: result: $INSTALL" >&5
11938 echo "${ECHO_T}$INSTALL" >&6
11940 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11941 # It thinks the first close brace ends the variable substitution.
11942 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11944 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11946 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11949 # Put a plausible default for CC_FOR_BUILD in Makefile.
11950 if test -z "$CC_FOR_BUILD"; then
11951 if test "x$cross_compiling" = "xno"; then
11952 CC_FOR_BUILD
='$(CC)'
11958 # Also set EXEEXT_FOR_BUILD.
11959 if test "x$cross_compiling" = "xno"; then
11960 EXEEXT_FOR_BUILD
='$(EXEEXT)'
11962 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
11963 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
11964 if test "${bfd_cv_build_exeext+set}" = set; then
11965 echo $ECHO_N "(cached) $ECHO_C" >&6
11968 echo 'int main () { return 0; }' > conftest.c
11969 bfd_cv_build_exeext
=
11970 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
11971 for file in conftest.
*; do
11973 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
11974 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
11978 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
11980 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
11981 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
11982 EXEEXT_FOR_BUILD
=""
11983 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
11987 DEMANGLER_NAME
=c
++filt
11989 *-*-go32* |
*-*-msdos*)
11990 DEMANGLER_NAME
=cxxfilt
12002 for ac_header
in string.h
strings.h stdlib.h unistd.h fcntl.h sys
/file.h limits.h sys
/param.h
12004 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12006 echo "$as_me:$LINENO: checking for $ac_header" >&5
12007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12009 echo $ECHO_N "(cached) $ECHO_C" >&6
12011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12014 # Is the header compilable?
12015 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12016 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12017 cat >conftest.
$ac_ext <<_ACEOF
12020 cat confdefs.h
>>conftest.
$ac_ext
12021 cat >>conftest.
$ac_ext <<_ACEOF
12022 /* end confdefs.h. */
12023 $ac_includes_default
12024 #include <$ac_header>
12026 rm -f conftest.
$ac_objext
12027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12028 (eval $ac_compile) 2>conftest.er1
12030 grep -v '^ *+' conftest.er1
>conftest.err
12032 cat conftest.err
>&5
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); } &&
12035 { ac_try
='test -z "$ac_c_werror_flag"
12036 || test ! -s conftest.err'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; } &&
12042 { ac_try
='test -s conftest.$ac_objext'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; }; then
12048 ac_header_compiler
=yes
12050 echo "$as_me: failed program was:" >&5
12051 sed 's/^/| /' conftest.
$ac_ext >&5
12053 ac_header_compiler
=no
12055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12056 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12057 echo "${ECHO_T}$ac_header_compiler" >&6
12059 # Is the header present?
12060 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12061 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12062 cat >conftest.
$ac_ext <<_ACEOF
12065 cat confdefs.h
>>conftest.
$ac_ext
12066 cat >>conftest.
$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12068 #include <$ac_header>
12070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12071 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12073 grep -v '^ *+' conftest.er1
>conftest.err
12075 cat conftest.err
>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } >/dev
/null
; then
12078 if test -s conftest.err
; then
12079 ac_cpp_err
=$ac_c_preproc_warn_flag
12080 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12087 if test -z "$ac_cpp_err"; then
12088 ac_header_preproc
=yes
12090 echo "$as_me: failed program was:" >&5
12091 sed 's/^/| /' conftest.
$ac_ext >&5
12093 ac_header_preproc
=no
12095 rm -f conftest.err conftest.
$ac_ext
12096 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12097 echo "${ECHO_T}$ac_header_preproc" >&6
12099 # So? What about this header?
12100 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12102 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12103 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12105 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12106 ac_header_preproc
=yes
12109 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12110 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12111 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12112 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12113 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12114 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12115 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12116 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12118 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12119 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12120 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12123 ## ------------------------------------------ ##
12124 ## Report this to the AC_PACKAGE_NAME lists. ##
12125 ## ------------------------------------------ ##
12128 sed "s/^/$as_me: WARNING: /" >&2
12131 echo "$as_me:$LINENO: checking for $ac_header" >&5
12132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12134 echo $ECHO_N "(cached) $ECHO_C" >&6
12136 eval "$as_ac_Header=\$ac_header_preproc"
12138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12143 cat >>confdefs.h
<<_ACEOF
12144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12151 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
12152 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
12153 if test "${ac_cv_header_sys_wait_h+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 cat >conftest.
$ac_ext <<_ACEOF
12159 cat confdefs.h
>>conftest.
$ac_ext
12160 cat >>conftest.
$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 #include <sys/types.h>
12163 #include <sys/wait.h>
12164 #ifndef WEXITSTATUS
12165 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
12168 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
12176 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
12181 rm -f conftest.
$ac_objext
12182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12183 (eval $ac_compile) 2>conftest.er1
12185 grep -v '^ *+' conftest.er1
>conftest.err
12187 cat conftest.err
>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); } &&
12190 { ac_try
='test -z "$ac_c_werror_flag"
12191 || test ! -s conftest.err'
12192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12193 (eval $ac_try) 2>&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); }; } &&
12197 { ac_try
='test -s conftest.$ac_objext'
12198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12199 (eval $ac_try) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); }; }; then
12203 ac_cv_header_sys_wait_h
=yes
12205 echo "$as_me: failed program was:" >&5
12206 sed 's/^/| /' conftest.
$ac_ext >&5
12208 ac_cv_header_sys_wait_h
=no
12210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12212 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
12213 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
12214 if test $ac_cv_header_sys_wait_h = yes; then
12216 cat >>confdefs.h
<<\_ACEOF
12217 #define HAVE_SYS_WAIT_H 1
12222 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12223 # for constant arguments. Useless!
12224 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12225 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12226 if test "${ac_cv_working_alloca_h+set}" = set; then
12227 echo $ECHO_N "(cached) $ECHO_C" >&6
12229 cat >conftest.
$ac_ext <<_ACEOF
12232 cat confdefs.h
>>conftest.
$ac_ext
12233 cat >>conftest.
$ac_ext <<_ACEOF
12234 /* end confdefs.h. */
12235 #include <alloca.h>
12239 char *p = (char *) alloca (2 * sizeof (int));
12244 rm -f conftest.
$ac_objext conftest
$ac_exeext
12245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12246 (eval $ac_link) 2>conftest.er1
12248 grep -v '^ *+' conftest.er1
>conftest.err
12250 cat conftest.err
>&5
12251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252 (exit $ac_status); } &&
12253 { ac_try
='test -z "$ac_c_werror_flag"
12254 || test ! -s conftest.err'
12255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12256 (eval $ac_try) 2>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; } &&
12260 { ac_try
='test -s conftest$ac_exeext'
12261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12262 (eval $ac_try) 2>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); }; }; then
12266 ac_cv_working_alloca_h
=yes
12268 echo "$as_me: failed program was:" >&5
12269 sed 's/^/| /' conftest.
$ac_ext >&5
12271 ac_cv_working_alloca_h
=no
12273 rm -f conftest.err conftest.
$ac_objext \
12274 conftest
$ac_exeext conftest.
$ac_ext
12276 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12277 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
12278 if test $ac_cv_working_alloca_h = yes; then
12280 cat >>confdefs.h
<<\_ACEOF
12281 #define HAVE_ALLOCA_H 1
12286 echo "$as_me:$LINENO: checking for alloca" >&5
12287 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
12288 if test "${ac_cv_func_alloca_works+set}" = set; then
12289 echo $ECHO_N "(cached) $ECHO_C" >&6
12291 cat >conftest.
$ac_ext <<_ACEOF
12294 cat confdefs.h
>>conftest.
$ac_ext
12295 cat >>conftest.
$ac_ext <<_ACEOF
12296 /* end confdefs.h. */
12298 # define alloca __builtin_alloca
12301 # include <malloc.h>
12302 # define alloca _alloca
12305 # include <alloca.h>
12310 # ifndef alloca /* predefined by HP cc +Olibcalls */
12321 char *p = (char *) alloca (1);
12326 rm -f conftest.
$ac_objext conftest
$ac_exeext
12327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12328 (eval $ac_link) 2>conftest.er1
12330 grep -v '^ *+' conftest.er1
>conftest.err
12332 cat conftest.err
>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); } &&
12335 { ac_try
='test -z "$ac_c_werror_flag"
12336 || test ! -s conftest.err'
12337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12338 (eval $ac_try) 2>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }; } &&
12342 { ac_try
='test -s conftest$ac_exeext'
12343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344 (eval $ac_try) 2>&5
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; }; then
12348 ac_cv_func_alloca_works
=yes
12350 echo "$as_me: failed program was:" >&5
12351 sed 's/^/| /' conftest.
$ac_ext >&5
12353 ac_cv_func_alloca_works
=no
12355 rm -f conftest.err conftest.
$ac_objext \
12356 conftest
$ac_exeext conftest.
$ac_ext
12358 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
12359 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
12361 if test $ac_cv_func_alloca_works = yes; then
12363 cat >>confdefs.h
<<\_ACEOF
12364 #define HAVE_ALLOCA 1
12368 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12369 # that cause trouble. Some versions do not even contain alloca or
12370 # contain a buggy version. If you still want to use their alloca,
12371 # use ar to extract alloca.o from them instead of compiling alloca.c.
12373 ALLOCA
=alloca.
$ac_objext
12375 cat >>confdefs.h
<<\_ACEOF
12380 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12381 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
12382 if test "${ac_cv_os_cray+set}" = set; then
12383 echo $ECHO_N "(cached) $ECHO_C" >&6
12385 cat >conftest.
$ac_ext <<_ACEOF
12388 cat confdefs.h
>>conftest.
$ac_ext
12389 cat >>conftest.
$ac_ext <<_ACEOF
12390 /* end confdefs.h. */
12391 #if defined(CRAY) && ! defined(CRAY2)
12398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12399 $EGREP "webecray" >/dev
/null
2>&1; then
12407 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12408 echo "${ECHO_T}$ac_cv_os_cray" >&6
12409 if test $ac_cv_os_cray = yes; then
12410 for ac_func
in _getb67 GETB67 getb67
; do
12411 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12412 echo "$as_me:$LINENO: checking for $ac_func" >&5
12413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12414 if eval "test \"\${$as_ac_var+set}\" = set"; then
12415 echo $ECHO_N "(cached) $ECHO_C" >&6
12417 cat >conftest.
$ac_ext <<_ACEOF
12420 cat confdefs.h
>>conftest.
$ac_ext
12421 cat >>conftest.
$ac_ext <<_ACEOF
12422 /* end confdefs.h. */
12423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12425 #define $ac_func innocuous_$ac_func
12427 /* System header to define __stub macros and hopefully few prototypes,
12428 which can conflict with char $ac_func (); below.
12429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12430 <limits.h> exists even on freestanding compilers. */
12433 # include <limits.h>
12435 # include <assert.h>
12440 /* Override any gcc2 internal prototype to avoid an error. */
12445 /* We use char because int might match the return type of a gcc2
12446 builtin and then its argument prototype would still apply. */
12448 /* The GNU C library defines this for functions which it implements
12449 to always fail with ENOSYS. Some functions are actually named
12450 something starting with __ and the normal name is an alias. */
12451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12454 char (*f) () = $ac_func;
12463 return f != $ac_func;
12468 rm -f conftest.
$ac_objext conftest
$ac_exeext
12469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12470 (eval $ac_link) 2>conftest.er1
12472 grep -v '^ *+' conftest.er1
>conftest.err
12474 cat conftest.err
>&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); } &&
12477 { ac_try
='test -z "$ac_c_werror_flag"
12478 || test ! -s conftest.err'
12479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12480 (eval $ac_try) 2>&5
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }; } &&
12484 { ac_try
='test -s conftest$ac_exeext'
12485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12486 (eval $ac_try) 2>&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); }; }; then
12490 eval "$as_ac_var=yes"
12492 echo "$as_me: failed program was:" >&5
12493 sed 's/^/| /' conftest.
$ac_ext >&5
12495 eval "$as_ac_var=no"
12497 rm -f conftest.err conftest.
$ac_objext \
12498 conftest
$ac_exeext conftest.
$ac_ext
12500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12502 if test `eval echo '${'$as_ac_var'}'` = yes; then
12504 cat >>confdefs.h
<<_ACEOF
12505 #define CRAY_STACKSEG_END $ac_func
12514 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
12515 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
12516 if test "${ac_cv_c_stack_direction+set}" = set; then
12517 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 if test "$cross_compiling" = yes; then
12520 ac_cv_c_stack_direction
=0
12522 cat >conftest.
$ac_ext <<_ACEOF
12525 cat confdefs.h
>>conftest.
$ac_ext
12526 cat >>conftest.
$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12529 find_stack_direction ()
12531 static char *addr = 0;
12536 return find_stack_direction ();
12539 return (&dummy > addr) ? 1 : -1;
12545 exit (find_stack_direction () < 0);
12548 rm -f conftest
$ac_exeext
12549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12550 (eval $ac_link) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12555 (eval $ac_try) 2>&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); }; }; then
12559 ac_cv_c_stack_direction
=1
12561 echo "$as_me: program exited with status $ac_status" >&5
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.
$ac_ext >&5
12565 ( exit $ac_status )
12566 ac_cv_c_stack_direction
=-1
12568 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12571 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
12572 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
12574 cat >>confdefs.h
<<_ACEOF
12575 #define STACK_DIRECTION $ac_cv_c_stack_direction
12586 for ac_func
in sbrk utimes setmode getc_unlocked strcoll
12588 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12589 echo "$as_me:$LINENO: checking for $ac_func" >&5
12590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12591 if eval "test \"\${$as_ac_var+set}\" = set"; then
12592 echo $ECHO_N "(cached) $ECHO_C" >&6
12594 cat >conftest.
$ac_ext <<_ACEOF
12597 cat confdefs.h
>>conftest.
$ac_ext
12598 cat >>conftest.
$ac_ext <<_ACEOF
12599 /* end confdefs.h. */
12600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12602 #define $ac_func innocuous_$ac_func
12604 /* System header to define __stub macros and hopefully few prototypes,
12605 which can conflict with char $ac_func (); below.
12606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12607 <limits.h> exists even on freestanding compilers. */
12610 # include <limits.h>
12612 # include <assert.h>
12617 /* Override any gcc2 internal prototype to avoid an error. */
12622 /* We use char because int might match the return type of a gcc2
12623 builtin and then its argument prototype would still apply. */
12625 /* The GNU C library defines this for functions which it implements
12626 to always fail with ENOSYS. Some functions are actually named
12627 something starting with __ and the normal name is an alias. */
12628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12631 char (*f) () = $ac_func;
12640 return f != $ac_func;
12645 rm -f conftest.
$ac_objext conftest
$ac_exeext
12646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12647 (eval $ac_link) 2>conftest.er1
12649 grep -v '^ *+' conftest.er1
>conftest.err
12651 cat conftest.err
>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); } &&
12654 { ac_try
='test -z "$ac_c_werror_flag"
12655 || test ! -s conftest.err'
12656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12657 (eval $ac_try) 2>&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); }; } &&
12661 { ac_try
='test -s conftest$ac_exeext'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; }; then
12667 eval "$as_ac_var=yes"
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.
$ac_ext >&5
12672 eval "$as_ac_var=no"
12674 rm -f conftest.err conftest.
$ac_objext \
12675 conftest
$ac_exeext conftest.
$ac_ext
12677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12679 if test `eval echo '${'$as_ac_var'}'` = yes; then
12680 cat >>confdefs.h
<<_ACEOF
12681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12687 echo "$as_me:$LINENO: checking for mkstemp" >&5
12688 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
12689 if test "${ac_cv_func_mkstemp+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 cat >conftest.
$ac_ext <<_ACEOF
12695 cat confdefs.h
>>conftest.
$ac_ext
12696 cat >>conftest.
$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698 /* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
12699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12700 #define mkstemp innocuous_mkstemp
12702 /* System header to define __stub macros and hopefully few prototypes,
12703 which can conflict with char mkstemp (); below.
12704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12705 <limits.h> exists even on freestanding compilers. */
12708 # include <limits.h>
12710 # include <assert.h>
12715 /* Override any gcc2 internal prototype to avoid an error. */
12720 /* We use char because int might match the return type of a gcc2
12721 builtin and then its argument prototype would still apply. */
12723 /* The GNU C library defines this for functions which it implements
12724 to always fail with ENOSYS. Some functions are actually named
12725 something starting with __ and the normal name is an alias. */
12726 #if defined (__stub_mkstemp) || defined (__stub___mkstemp)
12729 char (*f) () = mkstemp;
12738 return f != mkstemp;
12743 rm -f conftest.
$ac_objext conftest
$ac_exeext
12744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12745 (eval $ac_link) 2>conftest.er1
12747 grep -v '^ *+' conftest.er1
>conftest.err
12749 cat conftest.err
>&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); } &&
12752 { ac_try
='test -z "$ac_c_werror_flag"
12753 || test ! -s conftest.err'
12754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12755 (eval $ac_try) 2>&5
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); }; } &&
12759 { ac_try
='test -s conftest$ac_exeext'
12760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12761 (eval $ac_try) 2>&5
12763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764 (exit $ac_status); }; }; then
12765 ac_cv_func_mkstemp
=yes
12767 echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.
$ac_ext >&5
12770 ac_cv_func_mkstemp
=no
12772 rm -f conftest.err conftest.
$ac_objext \
12773 conftest
$ac_exeext conftest.
$ac_ext
12775 echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
12776 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
12777 if test $ac_cv_func_mkstemp = yes; then
12779 cat >>confdefs.h
<<\_ACEOF
12780 #define HAVE_MKSTEMP 1
12785 echo "$as_me:$LINENO: checking for mkdtemp" >&5
12786 echo $ECHO_N "checking for mkdtemp... $ECHO_C" >&6
12787 if test "${ac_cv_func_mkdtemp+set}" = set; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12790 cat >conftest.
$ac_ext <<_ACEOF
12793 cat confdefs.h
>>conftest.
$ac_ext
12794 cat >>conftest.
$ac_ext <<_ACEOF
12795 /* end confdefs.h. */
12796 /* Define mkdtemp to an innocuous variant, in case <limits.h> declares mkdtemp.
12797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12798 #define mkdtemp innocuous_mkdtemp
12800 /* System header to define __stub macros and hopefully few prototypes,
12801 which can conflict with char mkdtemp (); below.
12802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12803 <limits.h> exists even on freestanding compilers. */
12806 # include <limits.h>
12808 # include <assert.h>
12813 /* Override any gcc2 internal prototype to avoid an error. */
12818 /* We use char because int might match the return type of a gcc2
12819 builtin and then its argument prototype would still apply. */
12821 /* The GNU C library defines this for functions which it implements
12822 to always fail with ENOSYS. Some functions are actually named
12823 something starting with __ and the normal name is an alias. */
12824 #if defined (__stub_mkdtemp) || defined (__stub___mkdtemp)
12827 char (*f) () = mkdtemp;
12836 return f != mkdtemp;
12841 rm -f conftest.
$ac_objext conftest
$ac_exeext
12842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12843 (eval $ac_link) 2>conftest.er1
12845 grep -v '^ *+' conftest.er1
>conftest.err
12847 cat conftest.err
>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); } &&
12850 { ac_try
='test -z "$ac_c_werror_flag"
12851 || test ! -s conftest.err'
12852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12853 (eval $ac_try) 2>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; } &&
12857 { ac_try
='test -s conftest$ac_exeext'
12858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12859 (eval $ac_try) 2>&5
12861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862 (exit $ac_status); }; }; then
12863 ac_cv_func_mkdtemp
=yes
12865 echo "$as_me: failed program was:" >&5
12866 sed 's/^/| /' conftest.
$ac_ext >&5
12868 ac_cv_func_mkdtemp
=no
12870 rm -f conftest.err conftest.
$ac_objext \
12871 conftest
$ac_exeext conftest.
$ac_ext
12873 echo "$as_me:$LINENO: result: $ac_cv_func_mkdtemp" >&5
12874 echo "${ECHO_T}$ac_cv_func_mkdtemp" >&6
12875 if test $ac_cv_func_mkdtemp = yes; then
12877 cat >>confdefs.h
<<\_ACEOF
12878 #define HAVE_MKDTEMP 1
12884 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
12885 # needs to be defined for it
12886 echo "$as_me:$LINENO: checking for fopen64" >&5
12887 echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
12888 if test "${bu_cv_have_fopen64+set}" = set; then
12889 echo $ECHO_N "(cached) $ECHO_C" >&6
12891 cat >conftest.
$ac_ext <<_ACEOF
12894 cat confdefs.h
>>conftest.
$ac_ext
12895 cat >>conftest.
$ac_ext <<_ACEOF
12896 /* end confdefs.h. */
12901 FILE *f = fopen64 ("/tmp/foo","r");
12906 rm -f conftest.
$ac_objext conftest
$ac_exeext
12907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12908 (eval $ac_link) 2>conftest.er1
12910 grep -v '^ *+' conftest.er1
>conftest.err
12912 cat conftest.err
>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); } &&
12915 { ac_try
='test -z "$ac_c_werror_flag"
12916 || test ! -s conftest.err'
12917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12918 (eval $ac_try) 2>&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); }; } &&
12922 { ac_try
='test -s conftest$ac_exeext'
12923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12924 (eval $ac_try) 2>&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); }; }; then
12928 bu_cv_have_fopen64
=yes
12930 echo "$as_me: failed program was:" >&5
12931 sed 's/^/| /' conftest.
$ac_ext >&5
12933 saved_CPPFLAGS
=$CPPFLAGS
12934 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12935 cat >conftest.
$ac_ext <<_ACEOF
12938 cat confdefs.h
>>conftest.
$ac_ext
12939 cat >>conftest.
$ac_ext <<_ACEOF
12940 /* end confdefs.h. */
12945 FILE *f = fopen64 ("/tmp/foo","r");
12950 rm -f conftest.
$ac_objext conftest
$ac_exeext
12951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12952 (eval $ac_link) 2>conftest.er1
12954 grep -v '^ *+' conftest.er1
>conftest.err
12956 cat conftest.err
>&5
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); } &&
12959 { ac_try
='test -z "$ac_c_werror_flag"
12960 || test ! -s conftest.err'
12961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12962 (eval $ac_try) 2>&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); }; } &&
12966 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
12972 bu_cv_have_fopen64
="need -D_LARGEFILE64_SOURCE"
12974 echo "$as_me: failed program was:" >&5
12975 sed 's/^/| /' conftest.
$ac_ext >&5
12977 bu_cv_have_fopen64
=no
12979 rm -f conftest.err conftest.
$ac_objext \
12980 conftest
$ac_exeext conftest.
$ac_ext
12981 CPPFLAGS
=$saved_CPPFLAGS
12983 rm -f conftest.err conftest.
$ac_objext \
12984 conftest
$ac_exeext conftest.
$ac_ext
12987 echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
12988 echo "${ECHO_T}$bu_cv_have_fopen64" >&6
12989 if test "$bu_cv_have_fopen64" != no
; then
12991 cat >>confdefs.h
<<\_ACEOF
12992 #define HAVE_FOPEN64 1
12996 echo "$as_me:$LINENO: checking for stat64" >&5
12997 echo $ECHO_N "checking for stat64... $ECHO_C" >&6
12998 if test "${bu_cv_have_stat64+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13001 cat >conftest.
$ac_ext <<_ACEOF
13004 cat confdefs.h
>>conftest.
$ac_ext
13005 cat >>conftest.
$ac_ext <<_ACEOF
13006 /* end confdefs.h. */
13007 #include <sys/stat.h>
13011 struct stat64 st; stat64 ("/tmp/foo", &st);
13016 rm -f conftest.
$ac_objext conftest
$ac_exeext
13017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13018 (eval $ac_link) 2>conftest.er1
13020 grep -v '^ *+' conftest.er1
>conftest.err
13022 cat conftest.err
>&5
13023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 (exit $ac_status); } &&
13025 { ac_try
='test -z "$ac_c_werror_flag"
13026 || test ! -s conftest.err'
13027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13028 (eval $ac_try) 2>&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); }; } &&
13032 { ac_try
='test -s conftest$ac_exeext'
13033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13034 (eval $ac_try) 2>&5
13036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); }; }; then
13038 bu_cv_have_stat64
=yes
13040 echo "$as_me: failed program was:" >&5
13041 sed 's/^/| /' conftest.
$ac_ext >&5
13043 saved_CPPFLAGS
=$CPPFLAGS
13044 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
13045 cat >conftest.
$ac_ext <<_ACEOF
13048 cat confdefs.h
>>conftest.
$ac_ext
13049 cat >>conftest.
$ac_ext <<_ACEOF
13050 /* end confdefs.h. */
13051 #include <sys/stat.h>
13055 struct stat64 st; stat64 ("/tmp/foo", &st);
13060 rm -f conftest.
$ac_objext conftest
$ac_exeext
13061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13062 (eval $ac_link) 2>conftest.er1
13064 grep -v '^ *+' conftest.er1
>conftest.err
13066 cat conftest.err
>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); } &&
13069 { ac_try
='test -z "$ac_c_werror_flag"
13070 || test ! -s conftest.err'
13071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 (eval $ac_try) 2>&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; } &&
13076 { ac_try
='test -s conftest$ac_exeext'
13077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13078 (eval $ac_try) 2>&5
13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); }; }; then
13082 bu_cv_have_stat64
="need -D_LARGEFILE64_SOURCE"
13084 echo "$as_me: failed program was:" >&5
13085 sed 's/^/| /' conftest.
$ac_ext >&5
13087 bu_cv_have_stat64
=no
13089 rm -f conftest.err conftest.
$ac_objext \
13090 conftest
$ac_exeext conftest.
$ac_ext
13091 CPPFLAGS
=$saved_CPPFLAGS
13093 rm -f conftest.err conftest.
$ac_objext \
13094 conftest
$ac_exeext conftest.
$ac_ext
13097 echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
13098 echo "${ECHO_T}$bu_cv_have_stat64" >&6
13099 if test "$bu_cv_have_stat64" != no
; then
13101 cat >>confdefs.h
<<\_ACEOF
13102 #define HAVE_STAT64 1
13106 if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
13107 ||
test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
13109 cat >>confdefs.h
<<\_ACEOF
13110 #define _LARGEFILE64_SOURCE 1
13113 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
13116 # Some systems have frexp only in -lm, not in -lc.
13117 echo "$as_me:$LINENO: checking for library containing frexp" >&5
13118 echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
13119 if test "${ac_cv_search_frexp+set}" = set; then
13120 echo $ECHO_N "(cached) $ECHO_C" >&6
13122 ac_func_search_save_LIBS
=$LIBS
13123 ac_cv_search_frexp
=no
13124 cat >conftest.
$ac_ext <<_ACEOF
13127 cat confdefs.h
>>conftest.
$ac_ext
13128 cat >>conftest.
$ac_ext <<_ACEOF
13129 /* end confdefs.h. */
13131 /* Override any gcc2 internal prototype to avoid an error. */
13135 /* We use char because int might match the return type of a gcc2
13136 builtin and then its argument prototype would still apply. */
13146 rm -f conftest.
$ac_objext conftest
$ac_exeext
13147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13148 (eval $ac_link) 2>conftest.er1
13150 grep -v '^ *+' conftest.er1
>conftest.err
13152 cat conftest.err
>&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); } &&
13155 { ac_try
='test -z "$ac_c_werror_flag"
13156 || test ! -s conftest.err'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; } &&
13162 { ac_try
='test -s conftest$ac_exeext'
13163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13164 (eval $ac_try) 2>&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); }; }; then
13168 ac_cv_search_frexp
="none required"
13170 echo "$as_me: failed program was:" >&5
13171 sed 's/^/| /' conftest.
$ac_ext >&5
13174 rm -f conftest.err conftest.
$ac_objext \
13175 conftest
$ac_exeext conftest.
$ac_ext
13176 if test "$ac_cv_search_frexp" = no
; then
13177 for ac_lib
in m
; do
13178 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13179 cat >conftest.
$ac_ext <<_ACEOF
13182 cat confdefs.h
>>conftest.
$ac_ext
13183 cat >>conftest.
$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13186 /* Override any gcc2 internal prototype to avoid an error. */
13190 /* We use char because int might match the return type of a gcc2
13191 builtin and then its argument prototype would still apply. */
13201 rm -f conftest.
$ac_objext conftest
$ac_exeext
13202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13203 (eval $ac_link) 2>conftest.er1
13205 grep -v '^ *+' conftest.er1
>conftest.err
13207 cat conftest.err
>&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); } &&
13210 { ac_try
='test -z "$ac_c_werror_flag"
13211 || test ! -s conftest.err'
13212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13213 (eval $ac_try) 2>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); }; } &&
13217 { ac_try
='test -s conftest$ac_exeext'
13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13219 (eval $ac_try) 2>&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; }; then
13223 ac_cv_search_frexp
="-l$ac_lib"
13226 echo "$as_me: failed program was:" >&5
13227 sed 's/^/| /' conftest.
$ac_ext >&5
13230 rm -f conftest.err conftest.
$ac_objext \
13231 conftest
$ac_exeext conftest.
$ac_ext
13234 LIBS
=$ac_func_search_save_LIBS
13236 echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
13237 echo "${ECHO_T}$ac_cv_search_frexp" >&6
13238 if test "$ac_cv_search_frexp" != no
; then
13239 test "$ac_cv_search_frexp" = "none required" || LIBS
="$ac_cv_search_frexp $LIBS"
13244 echo "$as_me:$LINENO: checking for time_t in time.h" >&5
13245 echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
13246 if test "${bu_cv_decl_time_t_time_h+set}" = set; then
13247 echo $ECHO_N "(cached) $ECHO_C" >&6
13249 cat >conftest.
$ac_ext <<_ACEOF
13252 cat confdefs.h
>>conftest.
$ac_ext
13253 cat >>conftest.
$ac_ext <<_ACEOF
13254 /* end confdefs.h. */
13264 rm -f conftest.
$ac_objext
13265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13266 (eval $ac_compile) 2>conftest.er1
13268 grep -v '^ *+' conftest.er1
>conftest.err
13270 cat conftest.err
>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } &&
13273 { ac_try
='test -z "$ac_c_werror_flag"
13274 || test ! -s conftest.err'
13275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13276 (eval $ac_try) 2>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); }; } &&
13280 { ac_try
='test -s conftest.$ac_objext'
13281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13282 (eval $ac_try) 2>&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); }; }; then
13286 bu_cv_decl_time_t_time_h
=yes
13288 echo "$as_me: failed program was:" >&5
13289 sed 's/^/| /' conftest.
$ac_ext >&5
13291 bu_cv_decl_time_t_time_h
=no
13293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13296 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
13297 echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
13298 if test $bu_cv_decl_time_t_time_h = yes; then
13300 cat >>confdefs.h
<<\_ACEOF
13301 #define HAVE_TIME_T_IN_TIME_H 1
13306 echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
13307 echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
13308 if test "${bu_cv_decl_time_t_types_h+set}" = set; then
13309 echo $ECHO_N "(cached) $ECHO_C" >&6
13311 cat >conftest.
$ac_ext <<_ACEOF
13314 cat confdefs.h
>>conftest.
$ac_ext
13315 cat >>conftest.
$ac_ext <<_ACEOF
13316 /* end confdefs.h. */
13317 #include <sys/types.h>
13326 rm -f conftest.
$ac_objext
13327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13328 (eval $ac_compile) 2>conftest.er1
13330 grep -v '^ *+' conftest.er1
>conftest.err
13332 cat conftest.err
>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); } &&
13335 { ac_try
='test -z "$ac_c_werror_flag"
13336 || test ! -s conftest.err'
13337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13338 (eval $ac_try) 2>&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); }; } &&
13342 { ac_try
='test -s conftest.$ac_objext'
13343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13344 (eval $ac_try) 2>&5
13346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347 (exit $ac_status); }; }; then
13348 bu_cv_decl_time_t_types_h
=yes
13350 echo "$as_me: failed program was:" >&5
13351 sed 's/^/| /' conftest.
$ac_ext >&5
13353 bu_cv_decl_time_t_types_h
=no
13355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13358 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
13359 echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
13360 if test $bu_cv_decl_time_t_types_h = yes; then
13362 cat >>confdefs.h
<<\_ACEOF
13363 #define HAVE_TIME_T_IN_TYPES_H 1
13368 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
13369 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
13370 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
13371 echo $ECHO_N "(cached) $ECHO_C" >&6
13373 cat >conftest.
$ac_ext <<_ACEOF
13376 cat confdefs.h
>>conftest.
$ac_ext
13377 cat >>conftest.
$ac_ext <<_ACEOF
13378 /* end confdefs.h. */
13379 #include <unistd.h>
13383 extern int getopt (int, char *const*, const char *);
13388 rm -f conftest.
$ac_objext
13389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13390 (eval $ac_compile) 2>conftest.er1
13392 grep -v '^ *+' conftest.er1
>conftest.err
13394 cat conftest.err
>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); } &&
13397 { ac_try
='test -z "$ac_c_werror_flag"
13398 || test ! -s conftest.err'
13399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13400 (eval $ac_try) 2>&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); }; } &&
13404 { ac_try
='test -s conftest.$ac_objext'
13405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13406 (eval $ac_try) 2>&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); }; }; then
13410 bu_cv_decl_getopt_unistd_h
=yes
13412 echo "$as_me: failed program was:" >&5
13413 sed 's/^/| /' conftest.
$ac_ext >&5
13415 bu_cv_decl_getopt_unistd_h
=no
13417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13420 echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
13421 echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
13422 if test $bu_cv_decl_getopt_unistd_h = yes; then
13424 cat >>confdefs.h
<<\_ACEOF
13425 #define HAVE_DECL_GETOPT 1
13430 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
13432 echo "$as_me:$LINENO: checking for utime.h" >&5
13433 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
13434 if test "${bu_cv_header_utime_h+set}" = set; then
13435 echo $ECHO_N "(cached) $ECHO_C" >&6
13437 cat >conftest.
$ac_ext <<_ACEOF
13440 cat confdefs.h
>>conftest.
$ac_ext
13441 cat >>conftest.
$ac_ext <<_ACEOF
13442 /* end confdefs.h. */
13443 #include <sys/types.h>
13456 rm -f conftest.
$ac_objext
13457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13458 (eval $ac_compile) 2>conftest.er1
13460 grep -v '^ *+' conftest.er1
>conftest.err
13462 cat conftest.err
>&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); } &&
13465 { ac_try
='test -z "$ac_c_werror_flag"
13466 || test ! -s conftest.err'
13467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13468 (eval $ac_try) 2>&5
13470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); }; } &&
13472 { ac_try
='test -s conftest.$ac_objext'
13473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13474 (eval $ac_try) 2>&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); }; }; then
13478 bu_cv_header_utime_h
=yes
13480 echo "$as_me: failed program was:" >&5
13481 sed 's/^/| /' conftest.
$ac_ext >&5
13483 bu_cv_header_utime_h
=no
13485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13488 echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
13489 echo "${ECHO_T}$bu_cv_header_utime_h" >&6
13490 if test $bu_cv_header_utime_h = yes; then
13492 cat >>confdefs.h
<<\_ACEOF
13493 #define HAVE_GOOD_UTIME_H 1
13498 echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
13499 echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
13500 if test "${ac_cv_have_decl_fprintf+set}" = set; then
13501 echo $ECHO_N "(cached) $ECHO_C" >&6
13503 cat >conftest.
$ac_ext <<_ACEOF
13506 cat confdefs.h
>>conftest.
$ac_ext
13507 cat >>conftest.
$ac_ext <<_ACEOF
13508 /* end confdefs.h. */
13509 $ac_includes_default
13514 char *p = (char *) fprintf;
13521 rm -f conftest.
$ac_objext
13522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13523 (eval $ac_compile) 2>conftest.er1
13525 grep -v '^ *+' conftest.er1
>conftest.err
13527 cat conftest.err
>&5
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); } &&
13530 { ac_try
='test -z "$ac_c_werror_flag"
13531 || test ! -s conftest.err'
13532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13533 (eval $ac_try) 2>&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; } &&
13537 { ac_try
='test -s conftest.$ac_objext'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; }; then
13543 ac_cv_have_decl_fprintf
=yes
13545 echo "$as_me: failed program was:" >&5
13546 sed 's/^/| /' conftest.
$ac_ext >&5
13548 ac_cv_have_decl_fprintf
=no
13550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13552 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
13553 echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
13554 if test $ac_cv_have_decl_fprintf = yes; then
13556 cat >>confdefs.h
<<_ACEOF
13557 #define HAVE_DECL_FPRINTF 1
13562 cat >>confdefs.h
<<_ACEOF
13563 #define HAVE_DECL_FPRINTF 0
13568 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
13569 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
13570 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
13571 echo $ECHO_N "(cached) $ECHO_C" >&6
13573 cat >conftest.
$ac_ext <<_ACEOF
13576 cat confdefs.h
>>conftest.
$ac_ext
13577 cat >>conftest.
$ac_ext <<_ACEOF
13578 /* end confdefs.h. */
13579 $ac_includes_default
13584 char *p = (char *) stpcpy;
13591 rm -f conftest.
$ac_objext
13592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13593 (eval $ac_compile) 2>conftest.er1
13595 grep -v '^ *+' conftest.er1
>conftest.err
13597 cat conftest.err
>&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); } &&
13600 { ac_try
='test -z "$ac_c_werror_flag"
13601 || test ! -s conftest.err'
13602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13603 (eval $ac_try) 2>&5
13605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13606 (exit $ac_status); }; } &&
13607 { ac_try
='test -s conftest.$ac_objext'
13608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13609 (eval $ac_try) 2>&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); }; }; then
13613 ac_cv_have_decl_stpcpy
=yes
13615 echo "$as_me: failed program was:" >&5
13616 sed 's/^/| /' conftest.
$ac_ext >&5
13618 ac_cv_have_decl_stpcpy
=no
13620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13622 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
13623 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
13624 if test $ac_cv_have_decl_stpcpy = yes; then
13626 cat >>confdefs.h
<<_ACEOF
13627 #define HAVE_DECL_STPCPY 1
13632 cat >>confdefs.h
<<_ACEOF
13633 #define HAVE_DECL_STPCPY 0
13638 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
13639 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
13640 if test "${ac_cv_have_decl_strstr+set}" = set; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 cat >conftest.
$ac_ext <<_ACEOF
13646 cat confdefs.h
>>conftest.
$ac_ext
13647 cat >>conftest.
$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13649 $ac_includes_default
13654 char *p = (char *) strstr;
13661 rm -f conftest.
$ac_objext
13662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13663 (eval $ac_compile) 2>conftest.er1
13665 grep -v '^ *+' conftest.er1
>conftest.err
13667 cat conftest.err
>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); } &&
13670 { ac_try
='test -z "$ac_c_werror_flag"
13671 || test ! -s conftest.err'
13672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13673 (eval $ac_try) 2>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); }; } &&
13677 { ac_try
='test -s conftest.$ac_objext'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; }; then
13683 ac_cv_have_decl_strstr
=yes
13685 echo "$as_me: failed program was:" >&5
13686 sed 's/^/| /' conftest.
$ac_ext >&5
13688 ac_cv_have_decl_strstr
=no
13690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13692 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
13693 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
13694 if test $ac_cv_have_decl_strstr = yes; then
13696 cat >>confdefs.h
<<_ACEOF
13697 #define HAVE_DECL_STRSTR 1
13702 cat >>confdefs.h
<<_ACEOF
13703 #define HAVE_DECL_STRSTR 0
13708 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
13709 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
13710 if test "${ac_cv_have_decl_sbrk+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 $ac_includes_default
13724 char *p = (char *) sbrk;
13731 rm -f conftest.
$ac_objext
13732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13733 (eval $ac_compile) 2>conftest.er1
13735 grep -v '^ *+' conftest.er1
>conftest.err
13737 cat conftest.err
>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try
='test -z "$ac_c_werror_flag"
13741 || test ! -s conftest.err'
13742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13743 (eval $ac_try) 2>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; } &&
13747 { ac_try
='test -s conftest.$ac_objext'
13748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13749 (eval $ac_try) 2>&5
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); }; }; then
13753 ac_cv_have_decl_sbrk
=yes
13755 echo "$as_me: failed program was:" >&5
13756 sed 's/^/| /' conftest.
$ac_ext >&5
13758 ac_cv_have_decl_sbrk
=no
13760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13762 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
13763 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
13764 if test $ac_cv_have_decl_sbrk = yes; then
13766 cat >>confdefs.h
<<_ACEOF
13767 #define HAVE_DECL_SBRK 1
13772 cat >>confdefs.h
<<_ACEOF
13773 #define HAVE_DECL_SBRK 0
13778 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
13779 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
13780 if test "${ac_cv_have_decl_getenv+set}" = set; then
13781 echo $ECHO_N "(cached) $ECHO_C" >&6
13783 cat >conftest.
$ac_ext <<_ACEOF
13786 cat confdefs.h
>>conftest.
$ac_ext
13787 cat >>conftest.
$ac_ext <<_ACEOF
13788 /* end confdefs.h. */
13789 $ac_includes_default
13794 char *p = (char *) getenv;
13801 rm -f conftest.
$ac_objext
13802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13803 (eval $ac_compile) 2>conftest.er1
13805 grep -v '^ *+' conftest.er1
>conftest.err
13807 cat conftest.err
>&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); } &&
13810 { ac_try
='test -z "$ac_c_werror_flag"
13811 || test ! -s conftest.err'
13812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 (eval $ac_try) 2>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }; } &&
13817 { ac_try
='test -s conftest.$ac_objext'
13818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13819 (eval $ac_try) 2>&5
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); }; }; then
13823 ac_cv_have_decl_getenv
=yes
13825 echo "$as_me: failed program was:" >&5
13826 sed 's/^/| /' conftest.
$ac_ext >&5
13828 ac_cv_have_decl_getenv
=no
13830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13832 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
13833 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
13834 if test $ac_cv_have_decl_getenv = yes; then
13836 cat >>confdefs.h
<<_ACEOF
13837 #define HAVE_DECL_GETENV 1
13842 cat >>confdefs.h
<<_ACEOF
13843 #define HAVE_DECL_GETENV 0
13848 echo "$as_me:$LINENO: checking whether environ is declared" >&5
13849 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
13850 if test "${ac_cv_have_decl_environ+set}" = set; then
13851 echo $ECHO_N "(cached) $ECHO_C" >&6
13853 cat >conftest.
$ac_ext <<_ACEOF
13856 cat confdefs.h
>>conftest.
$ac_ext
13857 cat >>conftest.
$ac_ext <<_ACEOF
13858 /* end confdefs.h. */
13859 $ac_includes_default
13864 char *p = (char *) environ;
13871 rm -f conftest.
$ac_objext
13872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13873 (eval $ac_compile) 2>conftest.er1
13875 grep -v '^ *+' conftest.er1
>conftest.err
13877 cat conftest.err
>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); } &&
13880 { ac_try
='test -z "$ac_c_werror_flag"
13881 || test ! -s conftest.err'
13882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13883 (eval $ac_try) 2>&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); }; } &&
13887 { ac_try
='test -s conftest.$ac_objext'
13888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13889 (eval $ac_try) 2>&5
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); }; }; then
13893 ac_cv_have_decl_environ
=yes
13895 echo "$as_me: failed program was:" >&5
13896 sed 's/^/| /' conftest.
$ac_ext >&5
13898 ac_cv_have_decl_environ
=no
13900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13902 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
13903 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
13904 if test $ac_cv_have_decl_environ = yes; then
13906 cat >>confdefs.h
<<_ACEOF
13907 #define HAVE_DECL_ENVIRON 1
13912 cat >>confdefs.h
<<_ACEOF
13913 #define HAVE_DECL_ENVIRON 0
13918 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
13919 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
13920 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13923 cat >conftest.
$ac_ext <<_ACEOF
13926 cat confdefs.h
>>conftest.
$ac_ext
13927 cat >>conftest.
$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13929 $ac_includes_default
13933 #ifndef getc_unlocked
13934 char *p = (char *) getc_unlocked;
13941 rm -f conftest.
$ac_objext
13942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13943 (eval $ac_compile) 2>conftest.er1
13945 grep -v '^ *+' conftest.er1
>conftest.err
13947 cat conftest.err
>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); } &&
13950 { ac_try
='test -z "$ac_c_werror_flag"
13951 || test ! -s conftest.err'
13952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13953 (eval $ac_try) 2>&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; } &&
13957 { ac_try
='test -s conftest.$ac_objext'
13958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13959 (eval $ac_try) 2>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; }; then
13963 ac_cv_have_decl_getc_unlocked
=yes
13965 echo "$as_me: failed program was:" >&5
13966 sed 's/^/| /' conftest.
$ac_ext >&5
13968 ac_cv_have_decl_getc_unlocked
=no
13970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13972 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
13973 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
13974 if test $ac_cv_have_decl_getc_unlocked = yes; then
13976 cat >>confdefs.h
<<_ACEOF
13977 #define HAVE_DECL_GETC_UNLOCKED 1
13982 cat >>confdefs.h
<<_ACEOF
13983 #define HAVE_DECL_GETC_UNLOCKED 0
13988 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
13989 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
13990 if test "${ac_cv_have_decl_snprintf+set}" = set; then
13991 echo $ECHO_N "(cached) $ECHO_C" >&6
13993 cat >conftest.
$ac_ext <<_ACEOF
13996 cat confdefs.h
>>conftest.
$ac_ext
13997 cat >>conftest.
$ac_ext <<_ACEOF
13998 /* end confdefs.h. */
13999 $ac_includes_default
14004 char *p = (char *) snprintf;
14011 rm -f conftest.
$ac_objext
14012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14013 (eval $ac_compile) 2>conftest.er1
14015 grep -v '^ *+' conftest.er1
>conftest.err
14017 cat conftest.err
>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } &&
14020 { ac_try
='test -z "$ac_c_werror_flag"
14021 || test ! -s conftest.err'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; } &&
14027 { ac_try
='test -s conftest.$ac_objext'
14028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029 (eval $ac_try) 2>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; }; then
14033 ac_cv_have_decl_snprintf
=yes
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.
$ac_ext >&5
14038 ac_cv_have_decl_snprintf
=no
14040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14042 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
14043 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
14044 if test $ac_cv_have_decl_snprintf = yes; then
14046 cat >>confdefs.h
<<_ACEOF
14047 #define HAVE_DECL_SNPRINTF 1
14052 cat >>confdefs.h
<<_ACEOF
14053 #define HAVE_DECL_SNPRINTF 0
14058 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
14059 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
14060 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 cat >conftest.
$ac_ext <<_ACEOF
14066 cat confdefs.h
>>conftest.
$ac_ext
14067 cat >>conftest.
$ac_ext <<_ACEOF
14068 /* end confdefs.h. */
14069 $ac_includes_default
14074 char *p = (char *) vsnprintf;
14081 rm -f conftest.
$ac_objext
14082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14083 (eval $ac_compile) 2>conftest.er1
14085 grep -v '^ *+' conftest.er1
>conftest.err
14087 cat conftest.err
>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } &&
14090 { ac_try
='test -z "$ac_c_werror_flag"
14091 || test ! -s conftest.err'
14092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14093 (eval $ac_try) 2>&5
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 (exit $ac_status); }; } &&
14097 { ac_try
='test -s conftest.$ac_objext'
14098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14099 (eval $ac_try) 2>&5
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); }; }; then
14103 ac_cv_have_decl_vsnprintf
=yes
14105 echo "$as_me: failed program was:" >&5
14106 sed 's/^/| /' conftest.
$ac_ext >&5
14108 ac_cv_have_decl_vsnprintf
=no
14110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14112 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
14113 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
14114 if test $ac_cv_have_decl_vsnprintf = yes; then
14116 cat >>confdefs.h
<<_ACEOF
14117 #define HAVE_DECL_VSNPRINTF 1
14122 cat >>confdefs.h
<<_ACEOF
14123 #define HAVE_DECL_VSNPRINTF 0
14131 # Link in zlib if we can. This allows us to read compressed debug
14132 # sections. This is used only by readelf.c (objdump uses bfd for
14133 # reading compressed sections).
14134 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
14135 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
14136 if test "${ac_cv_search_zlibVersion+set}" = set; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 ac_func_search_save_LIBS
=$LIBS
14140 ac_cv_search_zlibVersion
=no
14141 cat >conftest.
$ac_ext <<_ACEOF
14144 cat confdefs.h
>>conftest.
$ac_ext
14145 cat >>conftest.
$ac_ext <<_ACEOF
14146 /* end confdefs.h. */
14148 /* Override any gcc2 internal prototype to avoid an error. */
14152 /* We use char because int might match the return type of a gcc2
14153 builtin and then its argument prototype would still apply. */
14154 char zlibVersion ();
14163 rm -f conftest.
$ac_objext conftest
$ac_exeext
14164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14165 (eval $ac_link) 2>conftest.er1
14167 grep -v '^ *+' conftest.er1
>conftest.err
14169 cat conftest.err
>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } &&
14172 { ac_try
='test -z "$ac_c_werror_flag"
14173 || test ! -s conftest.err'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; } &&
14179 { ac_try
='test -s conftest$ac_exeext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 ac_cv_search_zlibVersion
="none required"
14187 echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.
$ac_ext >&5
14191 rm -f conftest.err conftest.
$ac_objext \
14192 conftest
$ac_exeext conftest.
$ac_ext
14193 if test "$ac_cv_search_zlibVersion" = no
; then
14194 for ac_lib
in z
; do
14195 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14196 cat >conftest.
$ac_ext <<_ACEOF
14199 cat confdefs.h
>>conftest.
$ac_ext
14200 cat >>conftest.
$ac_ext <<_ACEOF
14201 /* end confdefs.h. */
14203 /* Override any gcc2 internal prototype to avoid an error. */
14207 /* We use char because int might match the return type of a gcc2
14208 builtin and then its argument prototype would still apply. */
14209 char zlibVersion ();
14218 rm -f conftest.
$ac_objext conftest
$ac_exeext
14219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14220 (eval $ac_link) 2>conftest.er1
14222 grep -v '^ *+' conftest.er1
>conftest.err
14224 cat conftest.err
>&5
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); } &&
14227 { ac_try
='test -z "$ac_c_werror_flag"
14228 || test ! -s conftest.err'
14229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14230 (eval $ac_try) 2>&5
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 (exit $ac_status); }; } &&
14234 { ac_try
='test -s conftest$ac_exeext'
14235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14236 (eval $ac_try) 2>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; }; then
14240 ac_cv_search_zlibVersion
="-l$ac_lib"
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.
$ac_ext >&5
14247 rm -f conftest.err conftest.
$ac_objext \
14248 conftest
$ac_exeext conftest.
$ac_ext
14251 LIBS
=$ac_func_search_save_LIBS
14253 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
14254 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
14255 if test "$ac_cv_search_zlibVersion" != no
; then
14256 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
14258 for ac_header
in zlib.h
14260 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14262 echo "$as_me:$LINENO: checking for $ac_header" >&5
14263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14270 # Is the header compilable?
14271 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14272 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14273 cat >conftest.
$ac_ext <<_ACEOF
14276 cat confdefs.h
>>conftest.
$ac_ext
14277 cat >>conftest.
$ac_ext <<_ACEOF
14278 /* end confdefs.h. */
14279 $ac_includes_default
14280 #include <$ac_header>
14282 rm -f conftest.
$ac_objext
14283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14284 (eval $ac_compile) 2>conftest.er1
14286 grep -v '^ *+' conftest.er1
>conftest.err
14288 cat conftest.err
>&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); } &&
14291 { ac_try
='test -z "$ac_c_werror_flag"
14292 || test ! -s conftest.err'
14293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14294 (eval $ac_try) 2>&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); }; } &&
14298 { ac_try
='test -s conftest.$ac_objext'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; }; then
14304 ac_header_compiler
=yes
14306 echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.
$ac_ext >&5
14309 ac_header_compiler
=no
14311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14313 echo "${ECHO_T}$ac_header_compiler" >&6
14315 # Is the header present?
14316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14318 cat >conftest.
$ac_ext <<_ACEOF
14321 cat confdefs.h
>>conftest.
$ac_ext
14322 cat >>conftest.
$ac_ext <<_ACEOF
14323 /* end confdefs.h. */
14324 #include <$ac_header>
14326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14329 grep -v '^ *+' conftest.er1
>conftest.err
14331 cat conftest.err
>&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); } >/dev
/null
; then
14334 if test -s conftest.err
; then
14335 ac_cpp_err
=$ac_c_preproc_warn_flag
14336 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14343 if test -z "$ac_cpp_err"; then
14344 ac_header_preproc
=yes
14346 echo "$as_me: failed program was:" >&5
14347 sed 's/^/| /' conftest.
$ac_ext >&5
14349 ac_header_preproc
=no
14351 rm -f conftest.err conftest.
$ac_ext
14352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14353 echo "${ECHO_T}$ac_header_preproc" >&6
14355 # So? What about this header?
14356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14361 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14362 ac_header_preproc
=yes
14365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14366 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14368 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14369 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14370 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14371 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14372 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14375 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14376 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14379 ## ------------------------------------------ ##
14380 ## Report this to the AC_PACKAGE_NAME lists. ##
14381 ## ------------------------------------------ ##
14384 sed "s/^/$as_me: WARNING: /" >&2
14387 echo "$as_me:$LINENO: checking for $ac_header" >&5
14388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14390 echo $ECHO_N "(cached) $ECHO_C" >&6
14392 eval "$as_ac_Header=\$ac_header_preproc"
14394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14399 cat >>confdefs.h
<<_ACEOF
14400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14412 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
14414 cat >>confdefs.h
<<\_ACEOF
14415 #define USE_BINARY_FOPEN 1
14420 # target-specific stuff:
14422 # Canonicalize the secondary target names.
14423 if test -n "$enable_targets"; then
14424 for targ
in `echo $enable_targets | sed 's/,/ /g'`
14426 result
=`$ac_config_sub $targ 2>/dev/null`
14427 if test -n "$result"; then
14428 canon_targets
="$canon_targets $result"
14430 # Allow targets that config.sub doesn't recognize, like "all".
14431 canon_targets
="$canon_targets $targ"
14436 if test "${ac_cv_header_iconv_h+set}" = set; then
14437 echo "$as_me:$LINENO: checking for iconv.h" >&5
14438 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
14439 if test "${ac_cv_header_iconv_h+set}" = set; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
14443 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
14445 # Is the header compilable?
14446 echo "$as_me:$LINENO: checking iconv.h usability" >&5
14447 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
14448 cat >conftest.
$ac_ext <<_ACEOF
14451 cat confdefs.h
>>conftest.
$ac_ext
14452 cat >>conftest.
$ac_ext <<_ACEOF
14453 /* end confdefs.h. */
14454 $ac_includes_default
14457 rm -f conftest.
$ac_objext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14459 (eval $ac_compile) 2>conftest.er1
14461 grep -v '^ *+' conftest.er1
>conftest.err
14463 cat conftest.err
>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try
='test -z "$ac_c_werror_flag"
14467 || test ! -s conftest.err'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; } &&
14473 { ac_try
='test -s conftest.$ac_objext'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; }; then
14479 ac_header_compiler
=yes
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.
$ac_ext >&5
14484 ac_header_compiler
=no
14486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14488 echo "${ECHO_T}$ac_header_compiler" >&6
14490 # Is the header present?
14491 echo "$as_me:$LINENO: checking iconv.h presence" >&5
14492 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
14493 cat >conftest.
$ac_ext <<_ACEOF
14496 cat confdefs.h
>>conftest.
$ac_ext
14497 cat >>conftest.
$ac_ext <<_ACEOF
14498 /* end confdefs.h. */
14501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14502 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14504 grep -v '^ *+' conftest.er1
>conftest.err
14506 cat conftest.err
>&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } >/dev
/null
; then
14509 if test -s conftest.err
; then
14510 ac_cpp_err
=$ac_c_preproc_warn_flag
14511 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14518 if test -z "$ac_cpp_err"; then
14519 ac_header_preproc
=yes
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.
$ac_ext >&5
14524 ac_header_preproc
=no
14526 rm -f conftest.err conftest.
$ac_ext
14527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14528 echo "${ECHO_T}$ac_header_preproc" >&6
14530 # So? What about this header?
14531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14533 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
14534 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14535 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
14536 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
14537 ac_header_preproc
=yes
14540 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
14541 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
14543 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
14544 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
14545 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
14546 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
14547 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
14548 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
14549 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
14550 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
14551 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
14554 ## ------------------------------------------ ##
14555 ## Report this to the AC_PACKAGE_NAME lists. ##
14556 ## ------------------------------------------ ##
14559 sed "s/^/$as_me: WARNING: /" >&2
14562 echo "$as_me:$LINENO: checking for iconv.h" >&5
14563 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
14564 if test "${ac_cv_header_iconv_h+set}" = set; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14567 ac_cv_header_iconv_h
=$ac_header_preproc
14569 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
14570 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
14576 if test "X$prefix" = "XNONE"; then
14577 acl_final_prefix
="$ac_default_prefix"
14579 acl_final_prefix
="$prefix"
14581 if test "X$exec_prefix" = "XNONE"; then
14582 acl_final_exec_prefix
='${prefix}'
14584 acl_final_exec_prefix
="$exec_prefix"
14586 acl_save_prefix
="$prefix"
14587 prefix
="$acl_final_prefix"
14588 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
14589 prefix
="$acl_save_prefix"
14592 # Check whether --with-gnu-ld or --without-gnu-ld was given.
14593 if test "${with_gnu_ld+set}" = set; then
14594 withval
="$with_gnu_ld"
14595 test "$withval" = no || with_gnu_ld
=yes
14599 # Prepare PATH_SEPARATOR.
14600 # The user is always right.
14601 if test "${PATH_SEPARATOR+set}" != set; then
14602 echo "#! /bin/sh" >conf$$.sh
14603 echo "exit 0" >>conf$$.sh
14605 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14613 if test "$GCC" = yes; then
14614 # Check if gcc -print-prog-name=ld gives a path.
14615 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
14616 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
14619 # gcc leaves a trailing carriage return which upsets mingw
14620 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14622 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14625 # Accept absolute paths.
14626 [\\/]* |
[A-Za-z
]:[\\/]*)
14627 re_direlt
='/[^/][^/]*/\.\./'
14628 # Canonicalize the path of ld
14629 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
14630 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
14631 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
14633 test -z "$LD" && LD
="$ac_prog"
14636 # If it fails, then pretend we aren't using GCC.
14640 # If it is relative, then search for the first ld in PATH.
14641 with_gnu_ld
=unknown
14644 elif test "$with_gnu_ld" = yes; then
14645 echo "$as_me:$LINENO: checking for GNU ld" >&5
14646 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
14648 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
14649 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
14651 if test "${acl_cv_path_LD+set}" = set; then
14652 echo $ECHO_N "(cached) $ECHO_C" >&6
14654 if test -z "$LD"; then
14655 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14656 for ac_dir
in $PATH; do
14657 test -z "$ac_dir" && ac_dir
=.
14658 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14659 acl_cv_path_LD
="$ac_dir/$ac_prog"
14660 # Check to see if the program is GNU ld. I'd rather use --version,
14661 # but apparently some GNU ld's only accept -v.
14662 # Break only if it was the GNU/non-GNU ld that we prefer.
14663 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
14664 test "$with_gnu_ld" != no
&& break
14666 test "$with_gnu_ld" != yes && break
14672 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
14676 LD
="$acl_cv_path_LD"
14677 if test -n "$LD"; then
14678 echo "$as_me:$LINENO: result: $LD" >&5
14679 echo "${ECHO_T}$LD" >&6
14681 echo "$as_me:$LINENO: result: no" >&5
14682 echo "${ECHO_T}no" >&6
14684 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14685 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14686 { (exit 1); exit 1; }; }
14687 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14688 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
14689 if test "${acl_cv_prog_gnu_ld+set}" = set; then
14690 echo $ECHO_N "(cached) $ECHO_C" >&6
14692 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14693 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
14694 acl_cv_prog_gnu_ld
=yes
14696 acl_cv_prog_gnu_ld
=no
14699 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
14700 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
14701 with_gnu_ld
=$acl_cv_prog_gnu_ld
14705 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
14706 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
14707 if test "${acl_cv_rpath+set}" = set; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14711 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
14712 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14714 rm -f .
/conftest.sh
14718 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
14719 echo "${ECHO_T}$acl_cv_rpath" >&6
14721 libext
="$acl_cv_libext"
14722 shlibext
="$acl_cv_shlibext"
14723 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
14724 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
14725 hardcode_direct
="$acl_cv_hardcode_direct"
14726 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
14727 # Check whether --enable-rpath or --disable-rpath was given.
14728 if test "${enable_rpath+set}" = set; then
14729 enableval
="$enable_rpath"
14743 acl_save_prefix
="$prefix"
14744 prefix
="$acl_final_prefix"
14745 acl_save_exec_prefix
="$exec_prefix"
14746 exec_prefix
="$acl_final_exec_prefix"
14748 eval additional_includedir
=\"$includedir\"
14749 eval additional_libdir
=\"$libdir\"
14751 exec_prefix
="$acl_save_exec_prefix"
14752 prefix
="$acl_save_prefix"
14755 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
14756 if test "${with_libiconv_prefix+set}" = set; then
14757 withval
="$with_libiconv_prefix"
14759 if test "X$withval" = "Xno"; then
14762 if test "X$withval" = "X"; then
14764 acl_save_prefix
="$prefix"
14765 prefix
="$acl_final_prefix"
14766 acl_save_exec_prefix
="$exec_prefix"
14767 exec_prefix
="$acl_final_exec_prefix"
14769 eval additional_includedir
=\"$includedir\"
14770 eval additional_libdir
=\"$libdir\"
14772 exec_prefix
="$acl_save_exec_prefix"
14773 prefix
="$acl_save_prefix"
14776 additional_includedir
="$withval/include"
14777 additional_libdir
="$withval/lib"
14787 names_already_handled
=
14788 names_next_round
='iconv '
14789 while test -n "$names_next_round"; do
14790 names_this_round
="$names_next_round"
14792 for name
in $names_this_round; do
14794 for n
in $names_already_handled; do
14795 if test "$n" = "$name"; then
14796 already_handled
=yes
14800 if test -z "$already_handled"; then
14801 names_already_handled
="$names_already_handled $name"
14802 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14803 eval value
=\"\
$HAVE_LIB$uppername\"
14804 if test -n "$value"; then
14805 if test "$value" = yes; then
14806 eval value
=\"\
$LIB$uppername\"
14807 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
14808 eval value
=\"\
$LTLIB$uppername\"
14809 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
14818 if test $use_additional = yes; then
14819 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
14820 found_dir
="$additional_libdir"
14821 found_so
="$additional_libdir/lib$name.$shlibext"
14822 if test -f "$additional_libdir/lib$name.la"; then
14823 found_la
="$additional_libdir/lib$name.la"
14826 if test -f "$additional_libdir/lib$name.$libext"; then
14827 found_dir
="$additional_libdir"
14828 found_a
="$additional_libdir/lib$name.$libext"
14829 if test -f "$additional_libdir/lib$name.la"; then
14830 found_la
="$additional_libdir/lib$name.la"
14835 if test "X$found_dir" = "X"; then
14836 for x
in $LDFLAGS $LTLIBICONV; do
14838 acl_save_prefix
="$prefix"
14839 prefix
="$acl_final_prefix"
14840 acl_save_exec_prefix
="$exec_prefix"
14841 exec_prefix
="$acl_final_exec_prefix"
14843 exec_prefix
="$acl_save_exec_prefix"
14844 prefix
="$acl_save_prefix"
14848 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14849 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
14851 found_so
="$dir/lib$name.$shlibext"
14852 if test -f "$dir/lib$name.la"; then
14853 found_la
="$dir/lib$name.la"
14856 if test -f "$dir/lib$name.$libext"; then
14858 found_a
="$dir/lib$name.$libext"
14859 if test -f "$dir/lib$name.la"; then
14860 found_la
="$dir/lib$name.la"
14866 if test "X$found_dir" != "X"; then
14871 if test "X$found_dir" != "X"; then
14872 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14873 if test "X$found_so" != "X"; then
14874 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
14875 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14878 for x
in $ltrpathdirs; do
14879 if test "X$x" = "X$found_dir"; then
14884 if test -z "$haveit"; then
14885 ltrpathdirs
="$ltrpathdirs $found_dir"
14887 if test "$hardcode_direct" = yes; then
14888 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14890 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14891 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14893 for x
in $rpathdirs; do
14894 if test "X$x" = "X$found_dir"; then
14899 if test -z "$haveit"; then
14900 rpathdirs
="$rpathdirs $found_dir"
14904 for x
in $LDFLAGS $LIBICONV; do
14906 acl_save_prefix
="$prefix"
14907 prefix
="$acl_final_prefix"
14908 acl_save_exec_prefix
="$exec_prefix"
14909 exec_prefix
="$acl_final_exec_prefix"
14911 exec_prefix
="$acl_save_exec_prefix"
14912 prefix
="$acl_save_prefix"
14914 if test "X$x" = "X-L$found_dir"; then
14919 if test -z "$haveit"; then
14920 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14922 if test "$hardcode_minus_L" != no
; then
14923 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14925 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14931 if test "X$found_a" != "X"; then
14932 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
14934 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14937 additional_includedir
=
14938 case "$found_dir" in
14940 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
14941 additional_includedir
="$basedir/include"
14944 if test "X$additional_includedir" != "X"; then
14945 if test "X$additional_includedir" != "X/usr/include"; then
14947 if test "X$additional_includedir" = "X/usr/local/include"; then
14948 if test -n "$GCC"; then
14950 linux
*) haveit
=yes;;
14954 if test -z "$haveit"; then
14955 for x
in $CPPFLAGS $INCICONV; do
14957 acl_save_prefix
="$prefix"
14958 prefix
="$acl_final_prefix"
14959 acl_save_exec_prefix
="$exec_prefix"
14960 exec_prefix
="$acl_final_exec_prefix"
14962 exec_prefix
="$acl_save_exec_prefix"
14963 prefix
="$acl_save_prefix"
14965 if test "X$x" = "X-I$additional_includedir"; then
14970 if test -z "$haveit"; then
14971 if test -d "$additional_includedir"; then
14972 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14978 if test -n "$found_la"; then
14979 save_libdir
="$libdir"
14980 case "$found_la" in
14981 */* |
*\\*) .
"$found_la" ;;
14982 *) .
"./$found_la" ;;
14984 libdir
="$save_libdir"
14985 for dep
in $dependency_libs; do
14988 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14989 if test "X$additional_libdir" != "X/usr/lib"; then
14991 if test "X$additional_libdir" = "X/usr/local/lib"; then
14992 if test -n "$GCC"; then
14994 linux
*) haveit
=yes;;
14998 if test -z "$haveit"; then
15000 for x
in $LDFLAGS $LIBICONV; do
15002 acl_save_prefix
="$prefix"
15003 prefix
="$acl_final_prefix"
15004 acl_save_exec_prefix
="$exec_prefix"
15005 exec_prefix
="$acl_final_exec_prefix"
15007 exec_prefix
="$acl_save_exec_prefix"
15008 prefix
="$acl_save_prefix"
15010 if test "X$x" = "X-L$additional_libdir"; then
15015 if test -z "$haveit"; then
15016 if test -d "$additional_libdir"; then
15017 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15021 for x
in $LDFLAGS $LTLIBICONV; do
15023 acl_save_prefix
="$prefix"
15024 prefix
="$acl_final_prefix"
15025 acl_save_exec_prefix
="$exec_prefix"
15026 exec_prefix
="$acl_final_exec_prefix"
15028 exec_prefix
="$acl_save_exec_prefix"
15029 prefix
="$acl_save_prefix"
15031 if test "X$x" = "X-L$additional_libdir"; then
15036 if test -z "$haveit"; then
15037 if test -d "$additional_libdir"; then
15038 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15045 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15046 if test "$enable_rpath" != no
; then
15048 for x
in $rpathdirs; do
15049 if test "X$x" = "X$dir"; then
15054 if test -z "$haveit"; then
15055 rpathdirs
="$rpathdirs $dir"
15058 for x
in $ltrpathdirs; do
15059 if test "X$x" = "X$dir"; then
15064 if test -z "$haveit"; then
15065 ltrpathdirs
="$ltrpathdirs $dir"
15070 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15073 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15076 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
15077 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15083 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
15084 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15090 if test "X$rpathdirs" != "X"; then
15091 if test -n "$hardcode_libdir_separator"; then
15093 for found_dir
in $rpathdirs; do
15094 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
15096 acl_save_libdir
="$libdir"
15098 eval flag
=\"$hardcode_libdir_flag_spec\"
15099 libdir
="$acl_save_libdir"
15100 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15102 for found_dir
in $rpathdirs; do
15103 acl_save_libdir
="$libdir"
15104 libdir
="$found_dir"
15105 eval flag
=\"$hardcode_libdir_flag_spec\"
15106 libdir
="$acl_save_libdir"
15107 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15111 if test "X$ltrpathdirs" != "X"; then
15112 for found_dir
in $ltrpathdirs; do
15113 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15123 am_save_CPPFLAGS
="$CPPFLAGS"
15125 for element
in $INCICONV; do
15127 for x
in $CPPFLAGS; do
15129 acl_save_prefix
="$prefix"
15130 prefix
="$acl_final_prefix"
15131 acl_save_exec_prefix
="$exec_prefix"
15132 exec_prefix
="$acl_final_exec_prefix"
15134 exec_prefix
="$acl_save_exec_prefix"
15135 prefix
="$acl_save_prefix"
15137 if test "X$x" = "X$element"; then
15142 if test -z "$haveit"; then
15143 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15148 echo "$as_me:$LINENO: checking for iconv" >&5
15149 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
15150 if test "${am_cv_func_iconv+set}" = set; then
15151 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 am_cv_func_iconv
="no, consider installing GNU libiconv"
15156 cat >conftest.
$ac_ext <<_ACEOF
15159 cat confdefs.h
>>conftest.
$ac_ext
15160 cat >>conftest.
$ac_ext <<_ACEOF
15161 /* end confdefs.h. */
15162 #include <stdlib.h>
15167 iconv_t cd = iconv_open("","");
15168 iconv(cd,NULL,NULL,NULL,NULL);
15174 rm -f conftest.
$ac_objext conftest
$ac_exeext
15175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15176 (eval $ac_link) 2>conftest.er1
15178 grep -v '^ *+' conftest.er1
>conftest.err
15180 cat conftest.err
>&5
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); } &&
15183 { ac_try
='test -z "$ac_c_werror_flag"
15184 || test ! -s conftest.err'
15185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186 (eval $ac_try) 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; } &&
15190 { ac_try
='test -s conftest$ac_exeext'
15191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15192 (eval $ac_try) 2>&5
15194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15195 (exit $ac_status); }; }; then
15196 am_cv_func_iconv
=yes
15198 echo "$as_me: failed program was:" >&5
15199 sed 's/^/| /' conftest.
$ac_ext >&5
15202 rm -f conftest.err conftest.
$ac_objext \
15203 conftest
$ac_exeext conftest.
$ac_ext
15204 if test "$am_cv_func_iconv" != yes; then
15205 am_save_LIBS
="$LIBS"
15206 LIBS
="$LIBS $LIBICONV"
15207 cat >conftest.
$ac_ext <<_ACEOF
15210 cat confdefs.h
>>conftest.
$ac_ext
15211 cat >>conftest.
$ac_ext <<_ACEOF
15212 /* end confdefs.h. */
15213 #include <stdlib.h>
15218 iconv_t cd = iconv_open("","");
15219 iconv(cd,NULL,NULL,NULL,NULL);
15225 rm -f conftest.
$ac_objext conftest
$ac_exeext
15226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15227 (eval $ac_link) 2>conftest.er1
15229 grep -v '^ *+' conftest.er1
>conftest.err
15231 cat conftest.err
>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } &&
15234 { ac_try
='test -z "$ac_c_werror_flag"
15235 || test ! -s conftest.err'
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; } &&
15241 { ac_try
='test -s conftest$ac_exeext'
15242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15243 (eval $ac_try) 2>&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); }; }; then
15247 am_cv_lib_iconv
=yes
15248 am_cv_func_iconv
=yes
15250 echo "$as_me: failed program was:" >&5
15251 sed 's/^/| /' conftest.
$ac_ext >&5
15254 rm -f conftest.err conftest.
$ac_objext \
15255 conftest
$ac_exeext conftest.
$ac_ext
15256 LIBS
="$am_save_LIBS"
15260 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
15261 echo "${ECHO_T}$am_cv_func_iconv" >&6
15262 if test "$am_cv_func_iconv" = yes; then
15264 cat >>confdefs.h
<<\_ACEOF
15265 #define HAVE_ICONV 1
15269 if test "$am_cv_lib_iconv" = yes; then
15270 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
15271 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
15272 echo "$as_me:$LINENO: result: $LIBICONV" >&5
15273 echo "${ECHO_T}$LIBICONV" >&6
15275 CPPFLAGS
="$am_save_CPPFLAGS"
15282 if test "$am_cv_func_iconv" = yes; then
15283 echo "$as_me:$LINENO: checking for iconv declaration" >&5
15284 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
15285 if test "${am_cv_proto_iconv+set}" = set; then
15286 echo $ECHO_N "(cached) $ECHO_C" >&6
15289 cat >conftest.
$ac_ext <<_ACEOF
15292 cat confdefs.h
>>conftest.
$ac_ext
15293 cat >>conftest.
$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15296 #include <stdlib.h>
15302 #if defined(__STDC__) || defined(__cplusplus)
15303 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15316 rm -f conftest.
$ac_objext
15317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15318 (eval $ac_compile) 2>conftest.er1
15320 grep -v '^ *+' conftest.er1
>conftest.err
15322 cat conftest.err
>&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); } &&
15325 { ac_try
='test -z "$ac_c_werror_flag"
15326 || test ! -s conftest.err'
15327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15328 (eval $ac_try) 2>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; } &&
15332 { ac_try
='test -s conftest.$ac_objext'
15333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15334 (eval $ac_try) 2>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; }; then
15338 am_cv_proto_iconv_arg1
=""
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.
$ac_ext >&5
15343 am_cv_proto_iconv_arg1
="const"
15345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15346 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);"
15349 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
15350 echo "$as_me:$LINENO: result: ${ac_t:-
15351 }$am_cv_proto_iconv" >&5
15352 echo "${ECHO_T}${ac_t:-
15353 }$am_cv_proto_iconv" >&6
15355 cat >>confdefs.h
<<_ACEOF
15356 #define ICONV_CONST $am_cv_proto_iconv_arg1
15373 BUILD_INSTALL_MISC
=
15376 for targ
in $target $canon_targets
15378 if test "x$targ" = "xall"; then
15380 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
15381 BUILD_SRCONV
='$(SRCONV_PROG)'
15382 NLMCONV_DEFS
="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
15383 BUILD_MISC
="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
15384 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15385 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15386 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15387 if test -z "$DLLTOOL_DEFAULT"; then
15388 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
15390 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
15391 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
15394 i
[3-7]86*-*-netware*)
15395 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
15396 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_I386"
15399 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
15400 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_ALPHA"
15402 powerpc
*-*-netware*)
15403 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
15404 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_POWERPC"
15407 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
15408 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_SPARC"
15412 *-*-hms*) BUILD_SRCONV
='$(SRCONV_PROG)' ;;
15416 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15417 if test -z "$DLLTOOL_DEFAULT"; then
15418 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_EPOC"
15420 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
15421 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15422 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15424 arm-wince-pe
* | arm-
*-wince)
15425 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15426 if test -z "$DLLTOOL_DEFAULT"; then
15427 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_WINCE"
15429 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_WINCE -DDLLTOOL_ARM"
15430 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15431 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15434 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15435 if test -z "$DLLTOOL_DEFAULT"; then
15436 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
15438 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
15439 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15440 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15443 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15444 if test -z "$DLLTOOL_DEFAULT"; then
15445 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
15447 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
15448 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15449 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15452 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15453 if test -z "$DLLTOOL_DEFAULT"; then
15454 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MX86_64"
15456 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MX86_64"
15457 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15458 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15459 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
15461 i
[3-7]86-*-pe* | i
[3-7]86-*-cygwin* | i
[3-7]86-*-mingw32** | i
[3-7]86-*-netbsdpe*)
15462 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15463 if test -z "$DLLTOOL_DEFAULT"; then
15464 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
15466 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
15467 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15468 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15469 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
15471 i
[3-7]86-*-interix)
15472 BUILD_DLLTOOL
='$(DLLTOOL_PROG)'
15473 if test -z "$DLLTOOL_DEFAULT"; then
15474 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
15476 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
15478 powerpc
*-aix5.
[01])
15481 OBJDUMP_DEFS
="-DAIX_WEAK_SUPPORT"
15483 powerpc
*-*-pe* | powerpc
*-*-cygwin*)
15484 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15485 if test -z "$DLLTOOL_DEFAULT"; then
15486 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_PPC"
15488 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_PPC"
15489 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15490 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15492 powerpc
*-*-linux* | powerpc
*-*-elf* | powerpc
*-*-eabi*)
15493 BUILD_INSTALL_MISC
="${BUILD_INSTALL_MISC} embedspu"
15496 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15497 if test -z "$DLLTOOL_DEFAULT"; then
15498 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_SH"
15500 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_SH"
15501 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15502 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15505 BUILD_MISC
="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
15508 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15509 if test -z "$DLLTOOL_DEFAULT"; then
15510 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MIPS"
15512 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
15513 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15514 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15517 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15518 if test -z "$DLLTOOL_DEFAULT"; then
15519 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE"
15521 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
15522 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15523 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15526 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
15527 if test -z "$DLLTOOL_DEFAULT"; then
15528 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE_ELF"
15530 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
15533 OBJDUMP_DEFS
="-DSKIP_ZEROES=256 -DSKIP_ZEROES_AT_END=0"
15539 DLLTOOL_DEFS
="$DLLTOOL_DEFS $DLLTOOL_DEFAULT"
15541 if test "${with_windres+set}" = set; then
15542 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
15545 if test "${with_windmc+set}" = set; then
15546 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
15562 cat >>confdefs.h
<<_ACEOF
15563 #define TARGET "${target}"
15568 .
$srcdir/..
/bfd
/config.bfd
15569 if test "x$targ_underscore" = "xyes"; then
15575 cat >>confdefs.h
<<_ACEOF
15576 #define TARGET_PREPENDS_UNDERSCORE $UNDERSCORE
15581 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
15583 # Canonicalize the secondary target names.
15584 result
=`$ac_config_sub $targ_alias 2>/dev/null`
15585 if test -n "$result"; then
15591 .
${srcdir}/configure.tgt
15593 EMULATION
=$targ_emul
15594 EMULATION_VECTOR
=$targ_emul_vector
15600 # Required for html and install-html
15605 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
15607 cat >confcache
<<\_ACEOF
15608 # This file is a shell script that caches the results of configure
15609 # tests run on this system so they can be shared between configure
15610 # scripts and configure runs, see configure's option --config-cache.
15611 # It is not useful on other systems. If it contains results you don't
15612 # want to keep, you may remove or edit it.
15614 # config.status only pays attention to the cache file if you give it
15615 # the --recheck option to rerun configure.
15617 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15618 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15619 # following values.
15623 # The following way of writing the cache mishandles newlines in values,
15624 # but we know of no workaround that is simple, portable, and efficient.
15625 # So, don't put newlines in cache variables' values.
15626 # Ultrix sh set writes to stderr and can't be redirected directly,
15627 # and sets the high bit in the cache file unless we assign to the vars.
15630 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15632 # `set' does not quote correctly, so add quotes (double-quote
15633 # substitution turns \\\\ into \\, and sed turns \\ into \).
15636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15639 # `set' quotes correctly as required by POSIX, so do not add quotes.
15641 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15648 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15650 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15652 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
15653 if test -w $cache_file; then
15654 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15655 cat confcache
>$cache_file
15657 echo "not updating unwritable cache $cache_file"
15662 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15663 # Let make expand exec_prefix.
15664 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15666 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15667 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15668 # trailing colons and then remove the whole line if VPATH becomes empty
15669 # (actually we leave an empty line to preserve line numbers).
15670 if test "x$srcdir" = x.
; then
15671 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
15672 s/:*\$(srcdir):*/:/;
15673 s/:*\${srcdir}:*/:/;
15675 s/^\([^=]*=[ ]*\):*/\1/;
15681 DEFS
=-DHAVE_CONFIG_H
15685 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15686 # 1. Remove the extension, and $U if already installed.
15687 ac_i
=`echo "$ac_i" |
15688 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15690 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
15691 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
15693 LIBOBJS
=$ac_libobjs
15695 LTLIBOBJS
=$ac_ltlibobjs
15698 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15699 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15700 Usually this means the macro was only invoked conditionally." >&5
15701 echo "$as_me: error: conditional \"AMDEP\" was never defined.
15702 Usually this means the macro was only invoked conditionally." >&2;}
15703 { (exit 1); exit 1; }; }
15705 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15706 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15707 Usually this means the macro was only invoked conditionally." >&5
15708 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15709 Usually this means the macro was only invoked conditionally." >&2;}
15710 { (exit 1); exit 1; }; }
15712 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15713 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15714 Usually this means the macro was only invoked conditionally." >&5
15715 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15716 Usually this means the macro was only invoked conditionally." >&2;}
15717 { (exit 1); exit 1; }; }
15719 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
15720 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
15721 Usually this means the macro was only invoked conditionally." >&5
15722 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
15723 Usually this means the macro was only invoked conditionally." >&2;}
15724 { (exit 1); exit 1; }; }
15727 : ${CONFIG_STATUS=./config.status}
15728 ac_clean_files_save
=$ac_clean_files
15729 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15730 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15731 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15732 cat >$CONFIG_STATUS <<_ACEOF
15734 # Generated by $as_me.
15735 # Run this file to recreate the current configuration.
15736 # Compiler output produced by configure, useful for debugging
15737 # configure, is in config.log if it exists.
15740 ac_cs_recheck=false
15742 SHELL=\${CONFIG_SHELL-$SHELL}
15745 cat >>$CONFIG_STATUS <<\_ACEOF
15746 ## --------------------- ##
15747 ## M4sh Initialization. ##
15748 ## --------------------- ##
15750 # Be Bourne compatible
15751 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15754 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15755 # is contrary to our usage. Disable this feature.
15756 alias -g '${1+"$@"}'='"$@"'
15757 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
15760 DUALCASE
=1; export DUALCASE
# for MKS sh
15762 # Support unset when possible.
15763 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
15770 # Work around bugs in pre-3.0 UWIN ksh.
15771 $as_unset ENV MAIL MAILPATH
15778 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15779 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15780 LC_TELEPHONE LC_TIME
15782 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15783 eval $as_var=C
; export $as_var
15789 # Required to use basename.
15790 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15796 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
15797 as_basename
=basename
15803 # Name of the executable.
15804 as_me
=`$as_basename "$0" ||
15805 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15806 X"$0" : 'X\(//\)$' \| \
15807 X"$0" : 'X\(/\)$' \| \
15808 . : '\(.\)' 2>/dev/null ||
15810 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15811 /^X\/\(\/\/\)$/{ s//\1/; q; }
15812 /^X\/\(\/\).*/{ s//\1/; q; }
15816 # PATH needs CR, and LINENO needs CR and PATH.
15817 # Avoid depending upon Character Ranges.
15818 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15819 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15820 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15821 as_cr_digits
='0123456789'
15822 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15824 # The user is always right.
15825 if test "${PATH_SEPARATOR+set}" != set; then
15826 echo "#! /bin/sh" >conf$$.sh
15827 echo "exit 0" >>conf$$.sh
15829 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15838 as_lineno_1
=$LINENO
15839 as_lineno_2
=$LINENO
15840 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
15841 test "x$as_lineno_1" != "x$as_lineno_2" &&
15842 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
15843 # Find who we are. Look in the path if we contain no path at all
15846 *[\\/]* ) as_myself
=$0 ;;
15847 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15848 for as_dir
in $PATH
15851 test -z "$as_dir" && as_dir
=.
15852 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15857 # We did not find ourselves, most probably we were run as `sh COMMAND'
15858 # in which case we are not to be found in the path.
15859 if test "x$as_myself" = x
; then
15862 if test ! -f "$as_myself"; then
15863 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15864 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15865 { (exit 1); exit 1; }; }
15867 case $CONFIG_SHELL in
15869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15870 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
15873 test -z "$as_dir" && as_dir
=.
15874 for as_base
in sh bash ksh sh5
; do
15877 if ("$as_dir/$as_base" -c '
15878 as_lineno_1=$LINENO
15879 as_lineno_2=$LINENO
15880 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15881 test "x$as_lineno_1" != "x$as_lineno_2" &&
15882 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
15883 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
15884 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
15885 CONFIG_SHELL
=$as_dir/$as_base
15886 export CONFIG_SHELL
15887 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15895 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15896 # uniformly replaced by the line number. The first 'sed' inserts a
15897 # line-number line before each line; the second 'sed' does the real
15898 # work. The second script uses 'N' to pair each line-number line
15899 # with the numbered line, and appends trailing '-' during
15900 # substitution so that $LINENO is not a special case at line end.
15901 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15902 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15903 sed '=' <$as_myself |
15908 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15911 s,^['$as_cr_digits']*\n,,
15912 ' >$as_me.lineno
&&
15913 chmod +x
$as_me.lineno ||
15914 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15915 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15916 { (exit 1); exit 1; }; }
15918 # Don't try to exec as it changes $[0], causing all sort of problems
15919 # (the dirname of $[0] is not the place where we might find the
15920 # original and so on. Autoconf is especially sensible to this).
15922 # Exit status is that of the last command.
15927 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15928 *c
*,-n*) ECHO_N
= ECHO_C
='
15930 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
15931 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
15934 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15940 rm -f conf$$ conf$$.exe conf$$.
file
15942 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15943 # We could just check for DJGPP; but this test a) works b) is more generic
15944 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15945 if test -f conf$$.exe
; then
15946 # Don't use ln at all; we don't have any links
15951 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15956 rm -f conf$$ conf$$.exe conf$$.
file
15958 if mkdir
-p .
2>/dev
/null
; then
15961 test -d .
/-p && rmdir .
/-p
15965 as_executable_p
="test -f"
15967 # Sed expression to map a string onto a valid CPP name.
15968 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15970 # Sed expression to map a string onto a valid variable name.
15971 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15975 # We need space, tab and new line, in precisely that order.
15985 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15986 # report actual input values of CONFIG_FILES etc. instead of their
15987 # values after options handling. Logging --version etc. is OK.
15991 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15992 ## Running $as_me. ##
15997 This file was extended by $as_me, which was
15998 generated by GNU Autoconf 2.59. Invocation command line was
16000 CONFIG_FILES = $CONFIG_FILES
16001 CONFIG_HEADERS = $CONFIG_HEADERS
16002 CONFIG_LINKS = $CONFIG_LINKS
16003 CONFIG_COMMANDS = $CONFIG_COMMANDS
16007 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16011 # Files that config.status was made for.
16012 if test -n "$ac_config_files"; then
16013 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16016 if test -n "$ac_config_headers"; then
16017 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16020 if test -n "$ac_config_links"; then
16021 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16024 if test -n "$ac_config_commands"; then
16025 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16028 cat >>$CONFIG_STATUS <<\_ACEOF
16031 \`$as_me' instantiates files from templates according to the
16032 current configuration.
16034 Usage: $0 [OPTIONS] [FILE]...
16036 -h, --help print this help, then exit
16037 -V, --version print version number, then exit
16038 -q, --quiet do not print progress messages
16039 -d, --debug don't remove temporary files
16040 --recheck update $as_me by reconfiguring in the same conditions
16041 --file=FILE[:TEMPLATE]
16042 instantiate the configuration file FILE
16043 --header=FILE[:TEMPLATE]
16044 instantiate the configuration header FILE
16046 Configuration files:
16049 Configuration headers:
16052 Configuration commands:
16055 Report bugs to <bug-autoconf@gnu.org>."
16058 cat >>$CONFIG_STATUS <<_ACEOF
16061 configured by $0, generated by GNU Autoconf 2.59,
16062 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16064 Copyright (C) 2003 Free Software Foundation, Inc.
16065 This config.status script is free software; the Free Software Foundation
16066 gives unlimited permission to copy, distribute and modify it."
16071 cat >>$CONFIG_STATUS <<\_ACEOF
16072 # If no file are specified by the user, then we need to provide default
16073 # value. By we need to know if files were specified by the user.
16079 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
16080 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
16088 *) # This is not an option, so the user has probably given explicit
16091 ac_need_defaults
=false
;;
16095 # Handling of the options.
16097 cat >>$CONFIG_STATUS <<\_ACEOF
16098 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16100 --version |
--vers* |
-V )
16101 echo "$ac_cs_version"; exit 0 ;;
16103 # Conflict between --help and --header
16104 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16105 Try \`$0 --help' for more information." >&5
16106 echo "$as_me: error: ambiguous option: $1
16107 Try \`$0 --help' for more information." >&2;}
16108 { (exit 1); exit 1; }; };;
16109 --help |
--hel |
-h )
16110 echo "$ac_cs_usage"; exit 0 ;;
16111 --debug |
--d* |
-d )
16113 --file |
--fil |
--fi |
--f )
16115 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
16116 ac_need_defaults
=false
;;
16117 --header |
--heade |
--head |
--hea )
16119 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
16120 ac_need_defaults
=false
;;
16121 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16122 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16125 # This is an error.
16126 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16127 Try \`$0 --help' for more information." >&5
16128 echo "$as_me: error: unrecognized option: $1
16129 Try \`$0 --help' for more information." >&2;}
16130 { (exit 1); exit 1; }; } ;;
16132 *) ac_config_targets
="$ac_config_targets $1" ;;
16138 ac_configure_extra_args
=
16140 if $ac_cs_silent; then
16142 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16146 cat >>$CONFIG_STATUS <<_ACEOF
16147 if \$ac_cs_recheck; then
16148 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16149 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16154 cat >>$CONFIG_STATUS <<_ACEOF
16156 # INIT-COMMANDS section.
16159 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16162 # The HP-UX ksh and POSIX shell print the target directory to stdout
16163 # if CDPATH is set.
16164 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16166 sed_quote_subst='$sed_quote_subst'
16167 double_quote_subst='$double_quote_subst'
16168 delay_variable_subst='$delay_variable_subst'
16169 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16170 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16171 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16172 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16173 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16174 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16175 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16176 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16177 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16178 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16179 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16180 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16181 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16182 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16183 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16184 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16185 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16186 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16187 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16188 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16189 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16190 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16191 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16192 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16193 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16194 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16195 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16196 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16197 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16198 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16199 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16200 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16201 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16202 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16203 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16204 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16205 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16206 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16207 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16208 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16209 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16210 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16211 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16212 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"`'
16213 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16214 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16215 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16216 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16217 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16218 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16219 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16220 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16221 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16222 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16223 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16224 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16225 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16226 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16227 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16228 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16229 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16230 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16231 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16232 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16233 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16234 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16235 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16236 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16237 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16238 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16239 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16240 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16241 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16242 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16243 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16244 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16245 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16246 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16247 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16248 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16249 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16250 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16251 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16252 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16253 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16254 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16255 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16256 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16257 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16258 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16259 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16260 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16261 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16262 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16263 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16264 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16265 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16266 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16267 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16268 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16269 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16270 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16271 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16272 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16273 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16274 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16275 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16276 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16277 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16278 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16279 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16282 LTCFLAGS='$LTCFLAGS'
16283 compiler='$compiler_DEFAULT'
16285 # Quote evaled strings.
16296 deplibs_check_method \
16305 lt_cv_sys_global_symbol_pipe \
16306 lt_cv_sys_global_symbol_to_cdecl \
16307 lt_cv_sys_global_symbol_to_c_name_address \
16310 lt_prog_compiler_no_builtin_flag \
16311 lt_prog_compiler_wl \
16312 lt_prog_compiler_pic \
16313 lt_prog_compiler_static \
16314 lt_cv_prog_compiler_c_o \
16317 export_dynamic_flag_spec \
16318 whole_archive_flag_spec \
16319 compiler_needs_object \
16321 allow_undefined_flag \
16322 no_undefined_flag \
16323 hardcode_libdir_flag_spec \
16324 hardcode_libdir_flag_spec_ld \
16325 hardcode_libdir_separator \
16330 variables_saved_for_relink \
16332 library_names_spec \
16337 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16338 *[\\\\\\\`\\"\\\$]*)
16339 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16342 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16347 # Double-quote double-evaled strings.
16348 for var in reload_cmds \
16349 old_postinstall_cmds \
16350 old_postuninstall_cmds \
16352 extract_expsyms_cmds \
16353 old_archive_from_new_cmds \
16354 old_archive_from_expsyms_cmds \
16356 archive_expsym_cmds \
16358 module_expsym_cmds \
16359 export_symbols_cmds \
16362 postuninstall_cmds \
16364 sys_lib_search_path_spec \
16365 sys_lib_dlsearch_path_spec; do
16366 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16367 *[\\\\\\\`\\"\\\$]*)
16368 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16371 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16376 # Fix-up fallback echo if it was mangled by the above quoting rules.
16378 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16382 ac_aux_dir='$ac_aux_dir'
16383 xsi_shell='$xsi_shell'
16384 lt_shell_append='$lt_shell_append'
16386 # See if we are running on zsh, and set the options which allow our
16387 # commands through without removal of \ escapes INIT.
16388 if test -n "\${ZSH_VERSION+set}" ; then
16389 setopt NO_GLOB_SUBST
16395 TIMESTAMP='$TIMESTAMP'
16401 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16402 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
16404 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
16405 # Capture the value of LINGUAS because we need it to compute CATALOGS.
16406 LINGUAS="${LINGUAS-%UNSET%}"
16413 cat >>$CONFIG_STATUS <<\_ACEOF
16414 for ac_config_target
in $ac_config_targets
16416 case "$ac_config_target" in
16417 # Handling of arguments.
16418 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16419 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
16420 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
16421 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16422 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16423 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16424 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
16425 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16426 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16427 { (exit 1); exit 1; }; };;
16431 # If the user did not use the arguments to specify the items to instantiate,
16432 # then the envvar interface is used. Set only those that are not.
16433 # We use the long form for the default assignment because of an extremely
16434 # bizarre bug on SunOS 4.1.3.
16435 if $ac_need_defaults; then
16436 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16437 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16438 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16441 # Have a temporary directory for convenience. Make it in the build tree
16442 # simply because there is no reason to put it here, and in addition,
16443 # creating and moving files from /tmp can sometimes cause problems.
16444 # Create a temporary directory, and hook for its removal unless debugging.
16447 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
16448 trap '{ (exit 1); exit 1; }' 1 2 13 15
16451 # Create a (secure) tmp directory for tmp files.
16454 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16455 test -n "$tmp" && test -d "$tmp"
16458 tmp
=.
/confstat$$
-$RANDOM
16459 (umask 077 && mkdir
$tmp)
16462 echo "$me: cannot create a temporary directory in ." >&2
16463 { (exit 1); exit 1; }
16468 cat >>$CONFIG_STATUS <<_ACEOF
16471 # CONFIG_FILES section.
16474 # No need to generate the scripts if there are no CONFIG_FILES.
16475 # This happens for instance when ./config.status config.h
16476 if test -n "\$CONFIG_FILES"; then
16477 # Protect against being on the right side of a sed subst in config.status.
16478 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16479 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16480 s,@SHELL@,$SHELL,;t t
16481 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16482 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16483 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16484 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16485 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16486 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16487 s,@exec_prefix@,$exec_prefix,;t t
16488 s,@prefix@,$prefix,;t t
16489 s,@program_transform_name@,$program_transform_name,;t t
16490 s,@bindir@,$bindir,;t t
16491 s,@sbindir@,$sbindir,;t t
16492 s,@libexecdir@,$libexecdir,;t t
16493 s,@datadir@,$datadir,;t t
16494 s,@sysconfdir@,$sysconfdir,;t t
16495 s,@sharedstatedir@,$sharedstatedir,;t t
16496 s,@localstatedir@,$localstatedir,;t t
16497 s,@libdir@,$libdir,;t t
16498 s,@includedir@,$includedir,;t t
16499 s,@oldincludedir@,$oldincludedir,;t t
16500 s,@infodir@,$infodir,;t t
16501 s,@mandir@,$mandir,;t t
16502 s,@build_alias@,$build_alias,;t t
16503 s,@host_alias@,$host_alias,;t t
16504 s,@target_alias@,$target_alias,;t t
16505 s,@DEFS@,$DEFS,;t t
16506 s,@ECHO_C@,$ECHO_C,;t t
16507 s,@ECHO_N@,$ECHO_N,;t t
16508 s,@ECHO_T@,$ECHO_T,;t t
16509 s,@LIBS@,$LIBS,;t t
16510 s,@build@,$build,;t t
16511 s,@build_cpu@,$build_cpu,;t t
16512 s,@build_vendor@,$build_vendor,;t t
16513 s,@build_os@,$build_os,;t t
16514 s,@host@,$host,;t t
16515 s,@host_cpu@,$host_cpu,;t t
16516 s,@host_vendor@,$host_vendor,;t t
16517 s,@host_os@,$host_os,;t t
16518 s,@target@,$target,;t t
16519 s,@target_cpu@,$target_cpu,;t t
16520 s,@target_vendor@,$target_vendor,;t t
16521 s,@target_os@,$target_os,;t t
16523 s,@CFLAGS@,$CFLAGS,;t t
16524 s,@LDFLAGS@,$LDFLAGS,;t t
16525 s,@CPPFLAGS@,$CPPFLAGS,;t t
16526 s,@ac_ct_CC@,$ac_ct_CC,;t t
16527 s,@EXEEXT@,$EXEEXT,;t t
16528 s,@OBJEXT@,$OBJEXT,;t t
16529 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16530 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16531 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
16532 s,@CYGPATH_W@,$CYGPATH_W,;t t
16533 s,@PACKAGE@,$PACKAGE,;t t
16534 s,@VERSION@,$VERSION,;t t
16535 s,@ACLOCAL@,$ACLOCAL,;t t
16536 s,@AUTOCONF@,$AUTOCONF,;t t
16537 s,@AUTOMAKE@,$AUTOMAKE,;t t
16538 s,@AUTOHEADER@,$AUTOHEADER,;t t
16539 s,@MAKEINFO@,$MAKEINFO,;t t
16540 s,@install_sh@,$install_sh,;t t
16541 s,@STRIP@,$STRIP,;t t
16542 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
16543 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
16544 s,@mkdir_p@,$mkdir_p,;t t
16546 s,@SET_MAKE@,$SET_MAKE,;t t
16547 s,@am__leading_dot@,$am__leading_dot,;t t
16548 s,@AMTAR@,$AMTAR,;t t
16549 s,@am__tar@,$am__tar,;t t
16550 s,@am__untar@,$am__untar,;t t
16551 s,@DEPDIR@,$DEPDIR,;t t
16552 s,@am__include@,$am__include,;t t
16553 s,@am__quote@,$am__quote,;t t
16554 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
16555 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
16556 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
16557 s,@CCDEPMODE@,$CCDEPMODE,;t t
16558 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
16559 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
16561 s,@EGREP@,$EGREP,;t t
16562 s,@LIBTOOL@,$LIBTOOL,;t t
16564 s,@FGREP@,$FGREP,;t t
16565 s,@GREP@,$GREP,;t t
16567 s,@DUMPBIN@,$DUMPBIN,;t t
16568 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
16570 s,@LN_S@,$LN_S,;t t
16572 s,@ac_ct_AR@,$ac_ct_AR,;t t
16573 s,@RANLIB@,$RANLIB,;t t
16574 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16575 s,@lt_ECHO@,$lt_ECHO,;t t
16576 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
16577 s,@NO_WERROR@,$NO_WERROR,;t t
16578 s,@YACC@,$YACC,;t t
16580 s,@LEXLIB@,$LEXLIB,;t t
16581 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
16582 s,@USE_NLS@,$USE_NLS,;t t
16583 s,@LIBINTL@,$LIBINTL,;t t
16584 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
16585 s,@INCINTL@,$INCINTL,;t t
16586 s,@XGETTEXT@,$XGETTEXT,;t t
16587 s,@GMSGFMT@,$GMSGFMT,;t t
16588 s,@POSUB@,$POSUB,;t t
16589 s,@CATALOGS@,$CATALOGS,;t t
16590 s,@DATADIRNAME@,$DATADIRNAME,;t t
16591 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
16592 s,@GENCAT@,$GENCAT,;t t
16593 s,@CATOBJEXT@,$CATOBJEXT,;t t
16594 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
16595 s,@MSGFMT@,$MSGFMT,;t t
16596 s,@MSGMERGE@,$MSGMERGE,;t t
16597 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
16598 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
16599 s,@MAINT@,$MAINT,;t t
16600 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
16601 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
16602 s,@HDEFINES@,$HDEFINES,;t t
16603 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
16604 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
16605 s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
16606 s,@ALLOCA@,$ALLOCA,;t t
16607 s,@LIBICONV@,$LIBICONV,;t t
16608 s,@LTLIBICONV@,$LTLIBICONV,;t t
16609 s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
16610 s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
16611 s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
16612 s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
16613 s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
16614 s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
16615 s,@BUILD_WINDMC@,$BUILD_WINDMC,;t t
16616 s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
16617 s,@BUILD_MISC@,$BUILD_MISC,;t t
16618 s,@BUILD_INSTALL_MISC@,$BUILD_INSTALL_MISC,;t t
16619 s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
16620 s,@EMULATION@,$EMULATION,;t t
16621 s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
16622 s,@datarootdir@,$datarootdir,;t t
16623 s,@docdir@,$docdir,;t t
16624 s,@htmldir@,$htmldir,;t t
16625 s,@LIBOBJS@,$LIBOBJS,;t t
16626 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16631 cat >>$CONFIG_STATUS <<\_ACEOF
16632 # Split the substitutions into bite-sized pieces for seds with
16633 # small command number limits, like on Digital OSF/1 and HP-UX.
16634 ac_max_sed_lines
=48
16635 ac_sed_frag
=1 # Number of current file.
16636 ac_beg
=1 # First line for current file.
16637 ac_end
=$ac_max_sed_lines # Line after last line for current file.
16640 while $ac_more_lines; do
16641 if test $ac_beg -gt 1; then
16642 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16644 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16646 if test ! -s $tmp/subs.frag
; then
16647 ac_more_lines
=false
16649 # The purpose of the label and of the branching condition is to
16650 # speed up the sed processing (if there are no `@' at all, there
16651 # is no need to browse any of the substitutions).
16652 # These are the two extra sed commands mentioned above.
16654 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
16655 if test -z "$ac_sed_cmds"; then
16656 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
16658 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16660 ac_sed_frag
=`expr $ac_sed_frag + 1`
16662 ac_end
=`expr $ac_end + $ac_max_sed_lines`
16665 if test -z "$ac_sed_cmds"; then
16668 fi # test -n "$CONFIG_FILES"
16671 cat >>$CONFIG_STATUS <<\_ACEOF
16672 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
16673 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16675 - |
*:- |
*:-:* ) # input from stdin
16677 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16678 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16679 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16680 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16681 * ) ac_file_in
=$ac_file.
in ;;
16684 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16685 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16686 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16687 X"$ac_file" : 'X\(//\)[^/]' \| \
16688 X"$ac_file" : 'X\(//\)$' \| \
16689 X"$ac_file" : 'X\(/\)' \| \
16690 . : '\(.\)' 2>/dev/null ||
16692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16693 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16694 /^X\(\/\/\)$/{ s//\1/; q; }
16695 /^X\(\/\).*/{ s//\1/; q; }
16697 { if $as_mkdir_p; then
16702 while test ! -d "$as_dir"; do
16703 as_dirs
="$as_dir $as_dirs"
16704 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16705 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16706 X"$as_dir" : 'X\(//\)[^/]' \| \
16707 X"$as_dir" : 'X\(//\)$' \| \
16708 X"$as_dir" : 'X\(/\)' \| \
16709 . : '\(.\)' 2>/dev/null ||
16711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16712 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16713 /^X\(\/\/\)$/{ s//\1/; q; }
16714 /^X\(\/\).*/{ s//\1/; q; }
16717 test ! -n "$as_dirs" || mkdir
$as_dirs
16718 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16719 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16720 { (exit 1); exit 1; }; }; }
16724 if test "$ac_dir" != .
; then
16725 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16726 # A "../" for each directory in $ac_dir_suffix.
16727 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16729 ac_dir_suffix
= ac_top_builddir
=
16733 .
) # No --srcdir option. We are building in place.
16735 if test -z "$ac_top_builddir"; then
16738 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16740 [\\/]* | ?
:[\\/]* ) # Absolute path.
16741 ac_srcdir
=$srcdir$ac_dir_suffix;
16742 ac_top_srcdir
=$srcdir ;;
16743 *) # Relative path.
16744 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16745 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16748 # Do not use `cd foo && pwd` to compute absolute paths, because
16749 # the directories may not exist.
16751 .
) ac_abs_builddir
="$ac_dir";;
16754 .
) ac_abs_builddir
=`pwd`;;
16755 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16756 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16759 case $ac_abs_builddir in
16760 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16762 case ${ac_top_builddir}.
in
16763 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16764 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16765 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16768 case $ac_abs_builddir in
16769 .
) ac_abs_srcdir
=$ac_srcdir;;
16772 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16773 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16774 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16777 case $ac_abs_builddir in
16778 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16780 case $ac_top_srcdir in
16781 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16782 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16783 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16789 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16790 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
16793 if test x
"$ac_file" != x-
; then
16794 { echo "$as_me:$LINENO: creating $ac_file" >&5
16795 echo "$as_me: creating $ac_file" >&6;}
16798 # Let's still pretend it is `configure' which instantiates (i.e., don't
16799 # use $as_me), people would be surprised to read:
16800 # /* config.h. Generated by config.status. */
16801 if test x
"$ac_file" = x-
; then
16804 configure_input
="$ac_file. "
16806 configure_input
=$configure_input"Generated from `echo $ac_file_in |
16807 sed 's,.*/,,'` by configure."
16809 # First look for the input files in the build tree, otherwise in the
16811 ac_file_inputs
=`IFS=:
16812 for f in $ac_file_in; do
16814 -) echo $tmp/stdin ;;
16816 # Absolute (can't be DOS-style, as IFS=:)
16817 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16818 echo "$as_me: error: cannot find input file: $f" >&2;}
16819 { (exit 1); exit 1; }; }
16822 if test -f "$f"; then
16825 elif test -f "$srcdir/$f"; then
16830 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16831 echo "$as_me: error: cannot find input file: $f" >&2;}
16832 { (exit 1); exit 1; }; }
16835 done` ||
{ (exit 1); exit 1; }
16837 cat >>$CONFIG_STATUS <<_ACEOF
16841 cat >>$CONFIG_STATUS <<\_ACEOF
16843 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16844 s
,@configure_input@
,$configure_input,;t t
16845 s
,@srcdir@
,$ac_srcdir,;t t
16846 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
16847 s
,@top_srcdir@
,$ac_top_srcdir,;t t
16848 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
16849 s
,@builddir@
,$ac_builddir,;t t
16850 s
,@abs_builddir@
,$ac_abs_builddir,;t t
16851 s
,@top_builddir@
,$ac_top_builddir,;t t
16852 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
16853 s
,@INSTALL@
,$ac_INSTALL,;t t
16854 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16856 if test x"$ac_file" != x-; then
16857 mv $tmp/out $ac_file
16865 cat >>$CONFIG_STATUS <<\_ACEOF
16868 # CONFIG_HEADER section.
16871 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
16872 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16874 # ac_d sets the value in "#define NAME VALUE" lines.
16875 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16876 ac_dB
='[ ].*$,\1#\2'
16879 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16880 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16881 ac_uB
='$,\1#\2define\3'
16885 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
16886 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16888 - |
*:- |
*:-:* ) # input from stdin
16890 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16891 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16892 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16893 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16894 * ) ac_file_in
=$ac_file.
in ;;
16897 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
16898 echo "$as_me: creating $ac_file" >&6;}
16900 # First look for the input files in the build tree, otherwise in the
16902 ac_file_inputs
=`IFS=:
16903 for f in $ac_file_in; do
16905 -) echo $tmp/stdin ;;
16907 # Absolute (can't be DOS-style, as IFS=:)
16908 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16909 echo "$as_me: error: cannot find input file: $f" >&2;}
16910 { (exit 1); exit 1; }; }
16911 # Do quote $f, to prevent DOS paths from being IFS'd.
16914 if test -f "$f"; then
16917 elif test -f "$srcdir/$f"; then
16922 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16923 echo "$as_me: error: cannot find input file: $f" >&2;}
16924 { (exit 1); exit 1; }; }
16927 done` ||
{ (exit 1); exit 1; }
16928 # Remove the trailing spaces.
16929 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16933 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16934 # `conftest.undefs', that substitutes the proper values into
16935 # config.h.in to produce config.h. The first handles `#define'
16936 # templates, and the second `#undef' templates.
16937 # And first: Protect against being on the right side of a sed subst in
16938 # config.status. Protect against being in an unquoted here document
16939 # in config.status.
16940 rm -f conftest.defines conftest.undefs
16941 # Using a here document instead of a string reduces the quoting nightmare.
16942 # Putting comments in sed scripts is not portable.
16944 # `end' is used to avoid that the second main sed command (meant for
16945 # 0-ary CPP macros) applies to n-ary macro definitions.
16946 # See the Autoconf documentation for `clear'.
16947 cat >confdef2sed.
sed <<\_ACEOF
16952 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16954 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16957 # If some macros were called several times there might be several times
16958 # the same #defines, which is useless. Nevertheless, we may not want to
16959 # sort them, since we want the *last* AC-DEFINE to be honored.
16960 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16961 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16962 rm -f confdef2sed.sed
16964 # This sed command replaces #undef with comments. This is necessary, for
16965 # example, in the case of _POSIX_SOURCE, which is predefined and required
16966 # on some systems where configure will not decide to define it.
16967 cat >>conftest.undefs <<\_ACEOF
16968 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16971 # Break up conftest.defines because some shells have a limit on the size
16972 # of here documents, and old seds have small limits too (100 cmds).
16973 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16974 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16975 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16976 echo ' :' >>$CONFIG_STATUS
16977 rm -f conftest.tail
16978 while grep . conftest.defines >/dev/null
16980 # Write a limited-size here document to $tmp/defines.sed.
16981 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16982 # Speed up: don't consider the non `#define' lines.
16983 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16984 # Work around the forget-to-reset-the-flag bug.
16985 echo 't clr' >>$CONFIG_STATUS
16986 echo ': clr' >>$CONFIG_STATUS
16987 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
16989 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16991 mv $tmp/out $tmp/in
16993 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
16994 rm -f conftest.defines
16995 mv conftest.
tail conftest.defines
16997 rm -f conftest.defines
16998 echo ' fi # grep' >>$CONFIG_STATUS
16999 echo >>$CONFIG_STATUS
17001 # Break up conftest.undefs because some shells have a limit on the size
17002 # of here documents, and old seds have small limits too (100 cmds).
17003 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17004 rm -f conftest.
tail
17005 while grep . conftest.undefs
>/dev
/null
17007 # Write a limited-size here document to $tmp/undefs.sed.
17008 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
17009 # Speed up: don't consider the non
`#undef'
17010 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
17011 # Work around the forget-to-reset-the-flag bug.
17012 echo 't clr' >>$CONFIG_STATUS
17013 echo ': clr' >>$CONFIG_STATUS
17014 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
17016 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
17018 mv $tmp/out $tmp/in
17020 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
17021 rm -f conftest.undefs
17022 mv conftest.tail conftest.undefs
17024 rm -f conftest.undefs
17026 cat >>$CONFIG_STATUS <<\_ACEOF
17027 # Let's still pretend it is `configure
' which instantiates (i.e., don't
17028 # use $as_me), people would be surprised to read:
17029 # /* config.h. Generated by config.status. */
17030 if test x
"$ac_file" = x-
; then
17031 echo "/* Generated by configure. */" >$tmp/config.h
17033 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
17035 cat $tmp/in >>$tmp/config.h
17037 if test x
"$ac_file" != x-
; then
17038 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
17039 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17040 echo "$as_me: $ac_file is unchanged" >&6;}
17042 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17043 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17044 X"$ac_file" : 'X\(//\)[^/]' \| \
17045 X"$ac_file" : 'X\(//\)$' \| \
17046 X"$ac_file" : 'X\(/\)' \| \
17047 . : '\(.\)' 2>/dev/null ||
17049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17051 /^X\(\/\/\)$/{ s//\1/; q; }
17052 /^X\(\/\).*/{ s//\1/; q; }
17054 { if $as_mkdir_p; then
17059 while test ! -d "$as_dir"; do
17060 as_dirs
="$as_dir $as_dirs"
17061 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17063 X"$as_dir" : 'X\(//\)[^/]' \| \
17064 X"$as_dir" : 'X\(//\)$' \| \
17065 X"$as_dir" : 'X\(/\)' \| \
17066 . : '\(.\)' 2>/dev/null ||
17068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17069 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17070 /^X\(\/\/\)$/{ s//\1/; q; }
17071 /^X\(\/\).*/{ s//\1/; q; }
17074 test ! -n "$as_dirs" || mkdir
$as_dirs
17075 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17076 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17077 { (exit 1); exit 1; }; }; }
17080 mv $tmp/config.h
$ac_file
17084 rm -f $tmp/config.h
17086 # Compute $ac_file's index in $config_headers.
17088 for _am_header
in $config_headers :; do
17089 case $_am_header in
17090 $ac_file |
$ac_file:* )
17093 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17096 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
17097 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17098 X$ac_file : 'X\(//\)[^/]' \| \
17099 X$ac_file : 'X\(//\)$' \| \
17100 X$ac_file : 'X\(/\)' \| \
17101 . : '\(.\)' 2>/dev/null ||
17103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17104 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17105 /^X\(\/\/\)$/{ s//\1/; q; }
17106 /^X\(\/\).*/{ s//\1/; q; }
17107 s/.*/./; q'`/stamp-h
$_am_stamp_count
17110 cat >>$CONFIG_STATUS <<\_ACEOF
17113 # CONFIG_COMMANDS section.
17115 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
17116 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17117 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17118 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17119 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17120 X"$ac_dest" : 'X\(//\)[^/]' \| \
17121 X"$ac_dest" : 'X\(//\)$' \| \
17122 X"$ac_dest" : 'X\(/\)' \| \
17123 . : '\(.\)' 2>/dev/null ||
17125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17126 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17127 /^X\(\/\/\)$/{ s//\1/; q; }
17128 /^X\(\/\).*/{ s//\1/; q; }
17130 { if $as_mkdir_p; then
17135 while test ! -d "$as_dir"; do
17136 as_dirs
="$as_dir $as_dirs"
17137 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17138 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17139 X"$as_dir" : 'X\(//\)[^/]' \| \
17140 X"$as_dir" : 'X\(//\)$' \| \
17141 X"$as_dir" : 'X\(/\)' \| \
17142 . : '\(.\)' 2>/dev/null ||
17144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17145 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17146 /^X\(\/\/\)$/{ s//\1/; q; }
17147 /^X\(\/\).*/{ s//\1/; q; }
17150 test ! -n "$as_dirs" || mkdir
$as_dirs
17151 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17152 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17153 { (exit 1); exit 1; }; }; }
17157 if test "$ac_dir" != .
; then
17158 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17159 # A "../" for each directory in $ac_dir_suffix.
17160 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17162 ac_dir_suffix
= ac_top_builddir
=
17166 .
) # No --srcdir option. We are building in place.
17168 if test -z "$ac_top_builddir"; then
17171 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17173 [\\/]* | ?
:[\\/]* ) # Absolute path.
17174 ac_srcdir
=$srcdir$ac_dir_suffix;
17175 ac_top_srcdir
=$srcdir ;;
17176 *) # Relative path.
17177 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17178 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17181 # Do not use `cd foo && pwd` to compute absolute paths, because
17182 # the directories may not exist.
17184 .
) ac_abs_builddir
="$ac_dir";;
17187 .
) ac_abs_builddir
=`pwd`;;
17188 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17189 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17192 case $ac_abs_builddir in
17193 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17195 case ${ac_top_builddir}.
in
17196 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17197 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17198 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17201 case $ac_abs_builddir in
17202 .
) ac_abs_srcdir
=$ac_srcdir;;
17205 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17206 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17207 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17210 case $ac_abs_builddir in
17211 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17213 case $ac_top_srcdir in
17214 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17215 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17216 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17221 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17222 echo "$as_me: executing $ac_dest commands" >&6;}
17224 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
17225 # Strip MF so we end up with the name of the file.
17226 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17227 # Check whether this is an Automake generated Makefile or not.
17228 # We used to match only the files named `Makefile.in', but
17229 # some people rename them; so instead we look at the file content.
17230 # Grep'ing the first line is not enough: some people post-process
17231 # each Makefile.in and add a new line on top of each file to say so.
17232 # So let's grep whole file.
17233 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
17234 dirpart
=`(dirname "$mf") 2>/dev/null ||
17235 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17236 X"$mf" : 'X\(//\)[^/]' \| \
17237 X"$mf" : 'X\(//\)$' \| \
17238 X"$mf" : 'X\(/\)' \| \
17239 . : '\(.\)' 2>/dev/null ||
17241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17242 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17243 /^X\(\/\/\)$/{ s//\1/; q; }
17244 /^X\(\/\).*/{ s//\1/; q; }
17249 # Extract the definition of DEPDIR, am__include, and am__quote
17250 # from the Makefile without running `make'.
17251 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17252 test -z "$DEPDIR" && continue
17253 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17254 test -z "am__include" && continue
17255 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17256 # When using ansi2knr, U may be empty or an underscore; expand it
17257 U
=`sed -n 's/^U = //p' < "$mf"`
17258 # Find all dependency output files, they are included files with
17259 # $(DEPDIR) in their names. We invoke sed twice because it is the
17260 # simplest approach to changing $(DEPDIR) to its actual value in the
17262 for file in `sed -n "
17263 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17264 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17265 # Make sure the directory exists.
17266 test -f "$dirpart/$file" && continue
17267 fdir
=`(dirname "$file") 2>/dev/null ||
17268 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17269 X"$file" : 'X\(//\)[^/]' \| \
17270 X"$file" : 'X\(//\)$' \| \
17271 X"$file" : 'X\(/\)' \| \
17272 . : '\(.\)' 2>/dev/null ||
17274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17275 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17276 /^X\(\/\/\)$/{ s//\1/; q; }
17277 /^X\(\/\).*/{ s//\1/; q; }
17279 { if $as_mkdir_p; then
17280 mkdir
-p $dirpart/$fdir
17282 as_dir
=$dirpart/$fdir
17284 while test ! -d "$as_dir"; do
17285 as_dirs
="$as_dir $as_dirs"
17286 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17287 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17288 X"$as_dir" : 'X\(//\)[^/]' \| \
17289 X"$as_dir" : 'X\(//\)$' \| \
17290 X"$as_dir" : 'X\(/\)' \| \
17291 . : '\(.\)' 2>/dev/null ||
17293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17294 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17295 /^X\(\/\/\)$/{ s//\1/; q; }
17296 /^X\(\/\).*/{ s//\1/; q; }
17299 test ! -n "$as_dirs" || mkdir
$as_dirs
17300 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
17301 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
17302 { (exit 1); exit 1; }; }; }
17304 # echo "creating $dirpart/$file"
17305 echo '# dummy' > "$dirpart/$file"
17311 # See if we are running on zsh, and set the options which allow our
17312 # commands through without removal of \ escapes.
17313 if test -n "${ZSH_VERSION+set}" ; then
17314 setopt NO_GLOB_SUBST
17317 cfgfile
="${ofile}T"
17318 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17321 cat <<_LT_EOF >> "$cfgfile"
17324 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17325 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
17326 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17327 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17329 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17330 # 2006, 2007 Free Software Foundation, Inc.
17332 # This file is part of GNU Libtool:
17333 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17335 # This program is free software; you can redistribute it and/or modify
17336 # it under the terms of the GNU General Public License as published by
17337 # the Free Software Foundation; either version 2 of the License, or
17338 # (at your option) any later version.
17340 # This program is distributed in the hope that it will be useful, but
17341 # WITHOUT ANY WARRANTY; without even the implied warranty of
17342 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17343 # General Public License for more details.
17345 # You should have received a copy of the GNU General Public License
17346 # along with this program; if not, a copy can be downloaded from
17347 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
17348 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17349 # MA 02110-1301, USA.
17351 # As a special exception to the GNU General Public License, if you
17352 # distribute this file as part of a program that contains a
17353 # configuration script generated by Autoconf, you may include it under
17354 # the same distribution terms that you use for the rest of that program.
17357 # The names of the tagged configurations supported by this script.
17360 # ### BEGIN LIBTOOL CONFIG
17362 # Which release of libtool.m4 was used?
17363 macro_version=$macro_version
17364 macro_revision=$macro_revision
17366 # Whether or not to build shared libraries.
17367 build_libtool_libs=$enable_shared
17369 # Whether or not to build static libraries.
17370 build_old_libs=$enable_static
17372 # What type of objects to build.
17375 # Whether or not to optimize for fast installation.
17376 fast_install=$enable_fast_install
17379 host_alias=$host_alias
17383 # The build system.
17384 build_alias=$build_alias
17388 # A sed program that does not truncate output.
17391 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17392 Xsed="\$SED -e 1s/^X//"
17394 # A grep program that handles long lines.
17400 # A literal string matcher.
17403 # A BSD- or MS-compatible name lister.
17406 # Whether we need soft or hard links.
17409 # What is the maximum length of a command?
17410 max_cmd_len=$max_cmd_len
17412 # Object file suffix (normally "o").
17415 # Executable file suffix (normally "").
17418 # whether the shell understands "unset".
17421 # turn spaces into newlines.
17424 # turn newlines into spaces.
17427 # How to create reloadable object files.
17428 reload_flag=$lt_reload_flag
17429 reload_cmds=$lt_reload_cmds
17431 # Method to check whether dependent libraries are shared objects.
17432 deplibs_check_method=$lt_deplibs_check_method
17434 # Command to use when deplibs_check_method == "file_magic".
17435 file_magic_cmd=$lt_file_magic_cmd
17439 AR_FLAGS=$lt_AR_FLAGS
17441 # A symbol stripping program.
17444 # Commands used to install an old-style archive.
17446 old_postinstall_cmds=$lt_old_postinstall_cmds
17447 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17452 # LTCC compiler flags.
17453 LTCFLAGS=$lt_CFLAGS
17455 # Take the output of nm and produce a listing of raw symbols and C names.
17456 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17458 # Transform the output of nm in a proper C declaration.
17459 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17461 # Transform the output of nm in a C name address pair.
17462 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17464 # The name of the directory that contains temporary libtool files.
17467 # Shell to use when invoking shell scripts.
17470 # An echo program that does not interpret backslashes.
17473 # Used to examine libraries when file_magic_cmd begins with "file".
17474 MAGIC_CMD=$MAGIC_CMD
17476 # Must we lock files when doing compilation?
17477 need_locks=$lt_need_locks
17479 # Old archive suffix (normally "a").
17482 # Shared library suffix (normally ".so").
17483 shrext_cmds=$lt_shrext_cmds
17485 # The commands to extract the exported symbol list from a shared archive.
17486 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17488 # Variables whose values should be saved in libtool wrapper scripts and
17489 # restored at link time.
17490 variables_saved_for_relink=$lt_variables_saved_for_relink
17492 # Do we need the "lib" prefix for modules?
17493 need_lib_prefix=$need_lib_prefix
17495 # Do we need a version for libraries?
17496 need_version=$need_version
17498 # Library versioning type.
17499 version_type=$version_type
17501 # Shared library runtime path variable.
17502 runpath_var=$runpath_var
17504 # Shared library path variable.
17505 shlibpath_var=$shlibpath_var
17507 # Is shlibpath searched before the hard-coded library search path?
17508 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17510 # Format of library name prefix.
17511 libname_spec=$lt_libname_spec
17513 # List of archive names. First name is the real one, the rest are links.
17514 # The last name is the one that the linker finds with -lNAME
17515 library_names_spec=$lt_library_names_spec
17517 # The coded name of the library, if different from the real name.
17518 soname_spec=$lt_soname_spec
17520 # Command to use after installation of a shared archive.
17521 postinstall_cmds=$lt_postinstall_cmds
17523 # Command to use after uninstallation of a shared archive.
17524 postuninstall_cmds=$lt_postuninstall_cmds
17526 # Commands used to finish a libtool library installation in a directory.
17527 finish_cmds=$lt_finish_cmds
17529 # As "finish_cmds", except a single script fragment to be evaled but
17531 finish_eval=$lt_finish_eval
17533 # Whether we should hardcode library paths into libraries.
17534 hardcode_into_libs=$hardcode_into_libs
17536 # Compile-time system search path for libraries.
17537 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17539 # Run-time system search path for libraries.
17540 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17542 # Whether dlopen is supported.
17543 dlopen_support=$enable_dlopen
17545 # Whether dlopen of programs is supported.
17546 dlopen_self=$enable_dlopen_self
17548 # Whether dlopen of statically linked programs is supported.
17549 dlopen_self_static=$enable_dlopen_self_static
17551 # Commands to strip libraries.
17552 old_striplib=$lt_old_striplib
17553 striplib=$lt_striplib
17556 # The linker used to build libraries.
17559 # Commands used to build an old-style archive.
17560 old_archive_cmds=$lt_old_archive_cmds
17562 # A language specific compiler.
17565 # Is the compiler the GNU compiler?
17568 # Compiler flag to turn off builtin functions.
17569 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17571 # How to pass a linker flag through the compiler.
17572 wl=$lt_lt_prog_compiler_wl
17574 # Additional compiler flags for building library objects.
17575 pic_flag=$lt_lt_prog_compiler_pic
17577 # Compiler flag to prevent dynamic linking.
17578 link_static_flag=$lt_lt_prog_compiler_static
17580 # Does compiler simultaneously support -c and -o options?
17581 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17583 # Whether or not to add -lc for building shared libraries.
17584 build_libtool_need_lc=$archive_cmds_need_lc
17586 # Whether or not to disallow shared libs when runtime libs are static.
17587 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17589 # Compiler flag to allow reflexive dlopens.
17590 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17592 # Compiler flag to generate shared objects directly from archives.
17593 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17595 # Whether the compiler copes with passing no objects directly.
17596 compiler_needs_object=$lt_compiler_needs_object
17598 # Create an old-style archive from a shared archive.
17599 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17601 # Create a temporary old-style archive to link instead of a shared archive.
17602 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17604 # Commands used to build a shared archive.
17605 archive_cmds=$lt_archive_cmds
17606 archive_expsym_cmds=$lt_archive_expsym_cmds
17608 # Commands used to build a loadable module if different from building
17609 # a shared archive.
17610 module_cmds=$lt_module_cmds
17611 module_expsym_cmds=$lt_module_expsym_cmds
17613 # Whether we are building with GNU ld or not.
17614 with_gnu_ld=$lt_with_gnu_ld
17616 # Flag that allows shared libraries with undefined symbols to be built.
17617 allow_undefined_flag=$lt_allow_undefined_flag
17619 # Flag that enforces no undefined symbols.
17620 no_undefined_flag=$lt_no_undefined_flag
17622 # Flag to hardcode \$libdir into a binary during linking.
17623 # This must work even if \$libdir does not exist
17624 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17626 # If ld is used when linking, flag to hardcode \$libdir into a binary
17627 # during linking. This must work even if \$libdir does not exist.
17628 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17630 # Whether we need a single "-rpath" flag with a separated argument.
17631 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17633 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17634 # DIR into the resulting binary.
17635 hardcode_direct=$hardcode_direct
17637 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17638 # DIR into the resulting binary and the resulting library dependency is
17639 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17640 # library is relocated.
17641 hardcode_direct_absolute=$hardcode_direct_absolute
17643 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17644 # into the resulting binary.
17645 hardcode_minus_L=$hardcode_minus_L
17647 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17648 # into the resulting binary.
17649 hardcode_shlibpath_var=$hardcode_shlibpath_var
17651 # Set to "yes" if building a shared library automatically hardcodes DIR
17652 # into the library and all subsequent libraries and executables linked
17654 hardcode_automatic=$hardcode_automatic
17656 # Set to yes if linker adds runtime paths of dependent libraries
17657 # to runtime path list.
17658 inherit_rpath=$inherit_rpath
17660 # Whether libtool must link a program against all its dependency libraries.
17661 link_all_deplibs=$link_all_deplibs
17663 # Fix the shell variable \$srcfile for the compiler.
17664 fix_srcfile_path=$lt_fix_srcfile_path
17666 # Set to "yes" if exported symbols are required.
17667 always_export_symbols=$always_export_symbols
17669 # The commands to list exported symbols.
17670 export_symbols_cmds=$lt_export_symbols_cmds
17672 # Symbols that should not be listed in the preloaded symbols.
17673 exclude_expsyms=$lt_exclude_expsyms
17675 # Symbols that must always be exported.
17676 include_expsyms=$lt_include_expsyms
17678 # Commands necessary for linking programs (against libraries) with templates.
17679 prelink_cmds=$lt_prelink_cmds
17681 # Specify filename containing input files.
17682 file_list_spec=$lt_file_list_spec
17684 # How to hardcode a shared library path into an executable.
17685 hardcode_action=$hardcode_action
17687 # ### END LIBTOOL CONFIG
17693 cat <<\_LT_EOF
>> "$cfgfile"
17694 # AIX sometimes has problems with the GCC collect2 program. For some
17695 # reason, if we set the COLLECT_NAMES environment variable, the problems
17696 # vanish in a puff of smoke.
17697 if test "X${COLLECT_NAMES+set}" != Xset
; then
17699 export COLLECT_NAMES
17706 ltmain
="$ac_aux_dir/ltmain.sh"
17709 # We use sed instead of cat because bash on DJGPP gets confused if
17710 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17711 # text mode, it properly converts lines to CR/LF. This bash problem
17712 # is reportedly fixed, but why not run on old versions too?
17713 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17714 ||
(rm -f "$cfgfile"; exit 1)
17718 cat << \_LT_EOF
>> "$cfgfile"
17719 # func_dirname file append nondir_replacement
17720 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17721 # otherwise set result to NONDIR_REPLACEMENT.
17725 */*) func_dirname_result
="${1%/*}${2}" ;;
17726 * ) func_dirname_result
="${3}" ;;
17730 # func_basename file
17733 func_basename_result
="${1##*/}"
17736 # func_stripname prefix suffix name
17737 # strip PREFIX and SUFFIX off of NAME.
17738 # PREFIX and SUFFIX must not contain globbing or regex special
17739 # characters, hashes, percent signs, but SUFFIX may contain a leading
17740 # dot (in which case that matches only a dot).
17743 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17744 # positional parameters, so assign one to ordinary parameter first.
17745 func_stripname_result
=${3}
17746 func_stripname_result
=${func_stripname_result#"${1}"}
17747 func_stripname_result
=${func_stripname_result%"${2}"}
17753 func_opt_split_opt
=${1%%=*}
17754 func_opt_split_arg
=${1#*=}
17761 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17762 *) func_lo2o_result
=${1} ;;
17767 *) # Bourne compatible functions.
17768 cat << \_LT_EOF
>> "$cfgfile"
17769 # func_dirname file append nondir_replacement
17770 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17771 # otherwise set result to NONDIR_REPLACEMENT.
17774 # Extract subdirectory from the argument.
17775 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17776 if test "X$func_dirname_result" = "X${1}"; then
17777 func_dirname_result
="${3}"
17779 func_dirname_result
="$func_dirname_result${2}"
17783 # func_basename file
17786 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
17789 # func_stripname prefix suffix name
17790 # strip PREFIX and SUFFIX off of NAME.
17791 # PREFIX and SUFFIX must not contain globbing or regex special
17792 # characters, hashes, percent signs, but SUFFIX may contain a leading
17793 # dot (in which case that matches only a dot).
17794 # func_strip_suffix prefix name
17798 .
*) func_stripname_result
=`$ECHO "X${3}" \
17799 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17800 *) func_stripname_result
=`$ECHO "X${3}" \
17801 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17806 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17807 my_sed_long_arg
='1s/^-[^=]*=//'
17812 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17813 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17819 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17824 case $lt_shell_append in
17826 cat << \_LT_EOF
>> "$cfgfile"
17828 # func_append var value
17829 # Append VALUE to the end of shell variable VAR.
17837 cat << \_LT_EOF
>> "$cfgfile"
17839 # func_append var value
17840 # Append VALUE to the end of shell variable VAR.
17850 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17851 ||
(rm -f "$cfgfile"; exit 1)
17853 mv -f "$cfgfile" "$ofile" ||
17854 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17859 for ac_file
in $CONFIG_FILES; do
17860 # Support "outfile[:infile[:infile...]]"
17862 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17864 # PO directories have a Makefile.in generated from Makefile.in.in.
17865 case "$ac_file" in */Makefile.
in)
17866 # Adjust a relative srcdir.
17867 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17868 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
17869 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17870 # In autoconf-2.13 it is called $ac_given_srcdir.
17871 # In autoconf-2.50 it is called $srcdir.
17872 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17873 case "$ac_given_srcdir" in
17874 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17875 /*) top_srcdir
="$ac_given_srcdir" ;;
17876 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17878 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17879 rm -f "$ac_dir/POTFILES"
17880 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17881 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17882 POMAKEFILEDEPS
="POTFILES.in"
17883 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17884 # on $ac_dir but don't depend on user-specified configuration
17886 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17887 # The LINGUAS file contains the set of available languages.
17888 if test -n "$OBSOLETE_ALL_LINGUAS"; then
17889 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
17891 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17892 # Hide the ALL_LINGUAS assigment from automake.
17893 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17894 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
17896 # The set of available languages was given in configure.in.
17897 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17899 case "$ac_given_srcdir" in
17901 *) srcdirpre
='$(srcdir)/' ;;
17907 for lang
in $ALL_LINGUAS; do
17908 POFILES
="$POFILES $srcdirpre$lang.po"
17909 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17910 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17911 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17913 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17914 # environment variable.
17916 if test -n "$ALL_LINGUAS"; then
17917 for presentlang
in $ALL_LINGUAS; do
17919 if test "%UNSET%" != "$LINGUAS"; then
17920 desiredlanguages
="$LINGUAS"
17922 desiredlanguages
="$ALL_LINGUAS"
17924 for desiredlang
in $desiredlanguages; do
17925 # Use the presentlang catalog if desiredlang is
17926 # a. equal to presentlang, or
17927 # b. a variant of presentlang (because in this case,
17928 # presentlang can be used as a fallback for messages
17929 # which are not translated in the desiredlang catalog).
17930 case "$desiredlang" in
17931 "$presentlang"*) useit
=yes;;
17934 if test $useit = yes; then
17935 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17940 if test -n "$INST_LINGUAS"; then
17941 for lang
in $INST_LINGUAS; do
17942 CATALOGS
="$CATALOGS $lang.gmo"
17945 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17946 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"
17947 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17948 if test -f "$f"; then
17950 *.orig |
*.bak |
*~
) ;;
17951 *) cat "$f" >> "$ac_dir/Makefile" ;;
17963 cat >>$CONFIG_STATUS <<\_ACEOF
17965 { (exit 0); exit 0; }
17967 chmod +x
$CONFIG_STATUS
17968 ac_clean_files
=$ac_clean_files_save
17971 # configure is writing to config.log, and then calls config.status.
17972 # config.status does its own redirection, appending to config.log.
17973 # Unfortunately, on DOS this fails, as config.log is still kept open
17974 # by configure, so config.status won't be able to write to it; its
17975 # output is simply discarded. So we exec the FD to /dev/null,
17976 # effectively closing config.log, so it can be properly (re)opened and
17977 # appended to by config.status. When coming back to configure, we
17978 # need to make the FD available again.
17979 if test "$no_create" != yes; then
17981 ac_config_status_args
=
17982 test "$silent" = yes &&
17983 ac_config_status_args
="$ac_config_status_args --quiet"
17985 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17987 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17988 # would make configure fail if this is the last instruction.
17989 $ac_cs_success ||
{ (exit 1); exit 1; }