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
="z8k-dis.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 AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE CC_FOR_BUILD EXEEXT_FOR_BUILD HDEFINES CGEN_MAINT_TRUE CGEN_MAINT_FALSE cgendir LIBM SHARED_LDFLAGS SHARED_LIBADD SHARED_DEPENDENCIES archdefs BFD_MACHINES LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version
=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name
=s
,x
,x
,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir
='${exec_prefix}/bin'
491 sbindir
='${exec_prefix}/sbin'
492 libexecdir
='${exec_prefix}/libexec'
493 datadir
='${prefix}/share'
494 sysconfdir
='${prefix}/etc'
495 sharedstatedir
='${prefix}/com'
496 localstatedir
='${prefix}/var'
497 libdir
='${exec_prefix}/lib'
498 includedir
='${prefix}/include'
499 oldincludedir
='/usr/include'
500 infodir
='${prefix}/info'
501 mandir
='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
524 -build |
--build |
--buil |
--bui |
--bu)
525 ac_prev
=build_alias
;;
526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
527 build_alias
=$ac_optarg ;;
529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
531 ac_prev
=cache_file
;;
532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
534 cache_file
=$ac_optarg ;;
537 cache_file
=config.cache
;;
539 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
543 datadir
=$ac_optarg ;;
545 -disable-* |
--disable-*)
546 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* |
--enable-*)
555 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
568 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
569 |
--exec |
--exe |
--ex)
570 ac_prev
=exec_prefix
;;
571 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
572 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
573 |
--exec=* |
--exe=* |
--ex=*)
574 exec_prefix
=$ac_optarg ;;
576 -gas |
--gas |
--ga |
--g)
577 # Obsolete; use --with-gas.
580 -help |
--help |
--hel |
--he |
-h)
582 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
583 ac_init_help
=recursive
;;
584 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
585 ac_init_help
=short
;;
587 -host |
--host |
--hos |
--ho)
588 ac_prev
=host_alias
;;
589 -host=* |
--host=* |
--hos=* |
--ho=*)
590 host_alias
=$ac_optarg ;;
592 -includedir |
--includedir |
--includedi |
--included |
--include \
593 |
--includ |
--inclu |
--incl |
--inc)
594 ac_prev
=includedir
;;
595 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
596 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
597 includedir
=$ac_optarg ;;
599 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
601 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
602 infodir
=$ac_optarg ;;
604 -libdir |
--libdir |
--libdi |
--libd)
606 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
609 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
610 |
--libexe |
--libex |
--libe)
611 ac_prev
=libexecdir
;;
612 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
613 |
--libexe=* |
--libex=* |
--libe=*)
614 libexecdir
=$ac_optarg ;;
616 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
617 |
--localstate |
--localstat |
--localsta |
--localst \
618 |
--locals |
--local |
--loca |
--loc |
--lo)
619 ac_prev
=localstatedir
;;
620 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
621 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
622 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
623 localstatedir
=$ac_optarg ;;
625 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
627 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
631 # Obsolete; use --without-fp.
634 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
635 |
--no-cr |
--no-c |
-n)
638 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
639 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
642 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
643 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
644 |
--oldin |
--oldi |
--old |
--ol |
--o)
645 ac_prev
=oldincludedir
;;
646 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
647 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
648 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
649 oldincludedir
=$ac_optarg ;;
651 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
653 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
656 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
657 |
--program-pre |
--program-pr |
--program-p)
658 ac_prev
=program_prefix
;;
659 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
660 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
661 program_prefix
=$ac_optarg ;;
663 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
664 |
--program-suf |
--program-su |
--program-s)
665 ac_prev
=program_suffix
;;
666 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
667 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
668 program_suffix
=$ac_optarg ;;
670 -program-transform-name |
--program-transform-name \
671 |
--program-transform-nam |
--program-transform-na \
672 |
--program-transform-n |
--program-transform- \
673 |
--program-transform |
--program-transfor \
674 |
--program-transfo |
--program-transf \
675 |
--program-trans |
--program-tran \
676 |
--progr-tra |
--program-tr |
--program-t)
677 ac_prev
=program_transform_name
;;
678 -program-transform-name=* |
--program-transform-name=* \
679 |
--program-transform-nam=* |
--program-transform-na=* \
680 |
--program-transform-n=* |
--program-transform-=* \
681 |
--program-transform=* |
--program-transfor=* \
682 |
--program-transfo=* |
--program-transf=* \
683 |
--program-trans=* |
--program-tran=* \
684 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
685 program_transform_name
=$ac_optarg ;;
687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
688 |
-silent |
--silent |
--silen |
--sile |
--sil)
691 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
693 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
695 sbindir
=$ac_optarg ;;
697 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
698 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
699 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
701 ac_prev
=sharedstatedir
;;
702 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
703 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
704 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
706 sharedstatedir
=$ac_optarg ;;
708 -site |
--site |
--sit)
710 -site=* |
--site=* |
--sit=*)
713 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
715 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
718 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
719 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
720 ac_prev
=sysconfdir
;;
721 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
722 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
723 sysconfdir
=$ac_optarg ;;
725 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
726 ac_prev
=target_alias
;;
727 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
728 target_alias
=$ac_optarg ;;
730 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
733 -version |
--version |
--versio |
--versi |
--vers |
-V)
737 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* |
--without-*)
750 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package
=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
763 |
--x-incl |
--x-inc |
--x-in |
--x-i)
764 ac_prev
=x_includes
;;
765 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
766 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
767 x_includes
=$ac_optarg ;;
769 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
770 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
771 ac_prev
=x_libraries
;;
772 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
773 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
774 x_libraries
=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var
in exec_prefix prefix
811 eval ac_val
=$
`echo $ac_var`
813 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x
; then
840 if test "x$build_alias" = x
; then
841 cross_compiling
=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
852 test "$silent" = yes && exec 6>/dev
/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted
=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir
=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted
=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set
=${build_alias+set}
892 ac_env_build_alias_value
=$build_alias
893 ac_cv_env_build_alias_set
=${build_alias+set}
894 ac_cv_env_build_alias_value
=$build_alias
895 ac_env_host_alias_set
=${host_alias+set}
896 ac_env_host_alias_value
=$host_alias
897 ac_cv_env_host_alias_set
=${host_alias+set}
898 ac_cv_env_host_alias_value
=$host_alias
899 ac_env_target_alias_set
=${target_alias+set}
900 ac_env_target_alias_value
=$target_alias
901 ac_cv_env_target_alias_set
=${target_alias+set}
902 ac_cv_env_target_alias_value
=$target_alias
903 ac_env_CC_set
=${CC+set}
905 ac_cv_env_CC_set
=${CC+set}
906 ac_cv_env_CC_value
=$CC
907 ac_env_CFLAGS_set
=${CFLAGS+set}
908 ac_env_CFLAGS_value
=$CFLAGS
909 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
910 ac_cv_env_CFLAGS_value
=$CFLAGS
911 ac_env_LDFLAGS_set
=${LDFLAGS+set}
912 ac_env_LDFLAGS_value
=$LDFLAGS
913 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
914 ac_cv_env_LDFLAGS_value
=$LDFLAGS
915 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
916 ac_env_CPPFLAGS_value
=$CPPFLAGS
917 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
918 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
919 ac_env_CPP_set
=${CPP+set}
920 ac_env_CPP_value
=$CPP
921 ac_cv_env_CPP_set
=${CPP+set}
922 ac_cv_env_CPP_value
=$CPP
925 # Report the --help message.
927 if test "$ac_init_help" = "long"; then
928 # Omit some internal or obsolete options to make the list less imposing.
929 # This message is too long to be a string in the A/UX 3.1 sh.
931 \`configure' configures this package to adapt to many kinds of systems.
933 Usage: $0 [OPTION]... [VAR=VALUE]...
935 To assign environment variables (e.g., CC, CFLAGS...), specify them as
936 VAR=VALUE. See below for descriptions of some of the useful variables.
938 Defaults for the options are specified in brackets.
941 -h, --help display this help and exit
942 --help=short display options specific to this package
943 --help=recursive display the short help of all the included packages
944 -V, --version display version information and exit
945 -q, --quiet, --silent do not print \`checking...' messages
946 --cache-file=FILE cache test results in FILE [disabled]
947 -C, --config-cache alias for \`--cache-file=config.cache'
948 -n, --no-create do not create output files
949 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 Installation directories:
955 --prefix=PREFIX install architecture-independent files in PREFIX
957 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
960 By default, \`make install' will install all the files in
961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
963 for instance \`--prefix=\$HOME'.
965 For better control, use the options below.
967 Fine tuning of the installation directories:
968 --bindir=DIR user executables [EPREFIX/bin]
969 --sbindir=DIR system admin executables [EPREFIX/sbin]
970 --libexecdir=DIR program executables [EPREFIX/libexec]
971 --datadir=DIR read-only architecture-independent data [PREFIX/share]
972 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
973 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
974 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
975 --libdir=DIR object code libraries [EPREFIX/lib]
976 --includedir=DIR C header files [PREFIX/include]
977 --oldincludedir=DIR C header files for non-gcc [/usr/include]
978 --infodir=DIR info documentation [PREFIX/info]
979 --mandir=DIR man documentation [PREFIX/man]
985 --program-prefix=PREFIX prepend PREFIX to installed program names
986 --program-suffix=SUFFIX append SUFFIX to installed program names
987 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
990 --build=BUILD configure
for building on BUILD
[guessed
]
991 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
992 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
996 if test -n "$ac_init_help"; then
1001 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1002 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1003 --disable-dependency-tracking speeds up one-time build
1004 --enable-dependency-tracking do not reject slow dependency extractors
1005 --enable-shared[=PKGS
]
1006 build shared libraries
[default
=no
]
1007 --enable-static[=PKGS
]
1008 build static libraries
[default
=yes]
1009 --enable-fast-install[=PKGS
]
1010 optimize
for fast installation
[default
=yes]
1011 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1012 --enable-targets alternative target configurations
1013 --enable-werror treat compile warnings as errors
1014 --enable-build-warnings enable build-time compiler warnings
1015 --enable-maintainer-mode enable make rules and dependencies not useful
1016 (and sometimes confusing
) to the casual installer
1017 --enable-install-libbfd controls installation of libbfd and related headers
1018 --disable-nls do not use Native Language Support
1019 --enable-cgen-maint=dir build cgen generated files
1022 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1023 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1024 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1026 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1028 Some influential environment variables
:
1029 CC C compiler
command
1030 CFLAGS C compiler flags
1031 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1032 nonstandard directory
<lib dir
>
1033 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1034 headers
in a nonstandard directory
<include dir
>
1037 Use these variables to override the choices made by
`configure' or to help
1038 it to find libraries and programs with nonstandard names/locations.
1043 if test "$ac_init_help" = "recursive"; then
1044 # If there are subdirs, report their specific --help.
1046 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1047 test -d $ac_dir || continue
1050 if test "$ac_dir" != .; then
1051 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1052 # A "../" for each directory in $ac_dir_suffix.
1053 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1055 ac_dir_suffix= ac_top_builddir=
1059 .) # No --srcdir option. We are building in place.
1061 if test -z "$ac_top_builddir"; then
1064 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1066 [\\/]* | ?:[\\/]* ) # Absolute path.
1067 ac_srcdir=$srcdir$ac_dir_suffix;
1068 ac_top_srcdir=$srcdir ;;
1070 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1071 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1074 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1075 # the directories may not exist.
1077 .) ac_abs_builddir="$ac_dir";;
1080 .) ac_abs_builddir=`pwd`;;
1081 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1082 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1085 case $ac_abs_builddir in
1086 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1088 case ${ac_top_builddir}. in
1089 .) ac_abs_top_builddir=$ac_abs_builddir;;
1090 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1091 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1094 case $ac_abs_builddir in
1095 .) ac_abs_srcdir=$ac_srcdir;;
1098 .) ac_abs_srcdir=$ac_abs_builddir;;
1099 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1100 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1103 case $ac_abs_builddir in
1104 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1106 case $ac_top_srcdir in
1107 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1108 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1109 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1114 # Check for guested configure; otherwise get Cygnus style configure.
1115 if test -f $ac_srcdir/configure.gnu; then
1117 $SHELL $ac_srcdir/configure.gnu --help=recursive
1118 elif test -f $ac_srcdir/configure; then
1120 $SHELL $ac_srcdir/configure --help=recursive
1121 elif test -f $ac_srcdir/configure.ac ||
1122 test -f $ac_srcdir/configure.in; then
1124 $ac_configure --help
1126 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1132 test -n "$ac_init_help" && exit 0
1133 if $ac_init_version; then
1136 Copyright (C) 2003 Free Software Foundation, Inc.
1137 This configure script is free software; the Free Software Foundation
1138 gives unlimited permission to copy, distribute and modify it.
1144 This file contains any messages produced by compilers while
1145 running configure, to aid debugging if configure makes a mistake.
1147 It was created by $as_me, which was
1148 generated by GNU Autoconf 2.59. Invocation command line was
1159 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1160 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1161 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1162 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1163 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1165 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1166 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1168 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1169 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1170 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1171 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1172 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1173 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1174 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1182 test -z "$as_dir" && as_dir=.
1183 echo "PATH: $as_dir"
1198 # Keep a trace of the command line.
1199 # Strip out --no-create and --no-recursion so they do not pile up.
1200 # Strip out --silent because we don't want to record it for future runs.
1201 # Also quote any args containing shell meta-characters.
1202 # Make two passes to allow for proper duplicate-argument suppression.
1207 ac_must_keep_next=false
1213 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1215 | -silent | --silent | --silen | --sile | --sil)
1217 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1218 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1221 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1223 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1224 if test $ac_must_keep_next = true; then
1225 ac_must_keep_next=false # Got value, back to normal.
1228 *=* | --config-cache | -C | -disable-* | --disable-* \
1229 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1230 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1231 | -with-* | --with-* | -without-* | --without-* | --x)
1232 case "$ac_configure_args0 " in
1233 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1236 -* ) ac_must_keep_next=true ;;
1239 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1240 # Get rid of the leading space.
1246 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1247 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1249 # When interrupted or exit'd, cleanup temporary files, and complete
1250 # config.log. We remove comments because anyway the quotes in there
1251 # would cause problems or look ugly.
1252 # WARNING: Be sure not to use single quotes in there, as some shells,
1253 # such as our DU 5.0 friend, will then `close
' the trap.
1254 trap 'exit_status
=$?
1255 # Save into config.log some information that might help in debugging.
1260 ## ---------------- ##
1261 ## Cache variables. ##
1262 ## ---------------- ##
1265 # The following way of writing the cache mishandles newlines in values,
1268 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1271 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1276 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1283 ## ----------------- ##
1284 ## Output variables. ##
1285 ## ----------------- ##
1288 for ac_var
in $ac_subst_vars
1290 eval ac_val
=$
`echo $ac_var`
1291 echo "$ac_var='"'"'$ac_val'"'"'"
1295 if test -n "$ac_subst_files"; then
1302 for ac_var
in $ac_subst_files
1304 eval ac_val
=$
`echo $ac_var`
1305 echo "$ac_var='"'"'$ac_val'"'"'"
1310 if test -s confdefs.h
; then
1317 sed "/^$/d" confdefs.h |
sort
1320 test "$ac_signal" != 0 &&
1321 echo "$as_me: caught signal $ac_signal"
1322 echo "$as_me: exit $exit_status"
1324 rm -f core
*.core
&&
1325 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1328 for ac_signal in 1 2 13 15; do
1329 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1333 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1334 rm -rf conftest* confdefs.h
1335 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1338 # Predefined preprocessor variables.
1340 cat >>confdefs.h <<_ACEOF
1341 #define PACKAGE_NAME "$PACKAGE_NAME"
1345 cat >>confdefs.h <<_ACEOF
1346 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1350 cat >>confdefs.h <<_ACEOF
1351 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1355 cat >>confdefs.h <<_ACEOF
1356 #define PACKAGE_STRING "$PACKAGE_STRING"
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1365 # Let the site file select an alternate cache file if it wants to.
1366 # Prefer explicitly selected file to automatically selected ones.
1367 if test -z "$CONFIG_SITE"; then
1368 if test "x$prefix" != xNONE; then
1369 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1371 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1374 for ac_site_file in $CONFIG_SITE; do
1375 if test -r "$ac_site_file"; then
1376 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1377 echo "$as_me: loading site script $ac_site_file" >&6;}
1378 sed 's
/^
/|
/' "$ac_site_file" >&5
1383 if test -r "$cache_file"; then
1384 # Some versions of bash will fail to source /dev/null (special
1385 # files actually), so we avoid doing that.
1386 if test -f "$cache_file"; then
1387 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1388 echo "$as_me: loading cache $cache_file" >&6;}
1390 [\\/]* | ?:[\\/]* ) . $cache_file;;
1391 *) . ./$cache_file;;
1395 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1396 echo "$as_me: creating cache $cache_file" >&6;}
1400 # Check that the precious variables saved in the cache have kept the same
1402 ac_cache_corrupted=false
1403 for ac_var in `(set) 2>&1 |
1404 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1405 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1406 eval ac_new_set=\$ac_env_${ac_var}_set
1407 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1408 eval ac_new_val="\$ac_env_${ac_var}_value"
1409 case $ac_old_set,$ac_new_set in
1411 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1412 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1413 ac_cache_corrupted=: ;;
1415 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1417 ac_cache_corrupted=: ;;
1420 if test "x$ac_old_val" != "x$ac_new_val"; then
1421 # differences in whitespace do not lead to failure.
1422 ac_old_val_w=`echo x $ac_old_val`
1423 ac_new_val_w=`echo x $ac_new_val`
1424 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1425 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1426 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1427 ac_cache_corrupted=:
1429 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1430 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1431 eval $ac_var=\$ac_old_val
1433 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1434 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1435 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1436 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1439 # Pass precious variables to config.status.
1440 if test "$ac_new_set" = set; then
1442 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1443 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1444 *) ac_arg=$ac_var=$ac_new_val ;;
1446 case " $ac_configure_args " in
1447 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1448 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1452 if $ac_cache_corrupted; then
1453 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1454 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1455 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1456 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1457 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1458 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1459 { (exit 1); exit 1; }; }
1463 ac_cpp='$CPP $CPPFLAGS'
1464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1492 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1493 if test -f $ac_dir/install-sh; then
1495 ac_install_sh="$ac_aux_dir/install-sh -c"
1497 elif test -f $ac_dir/install.sh; then
1499 ac_install_sh="$ac_aux_dir/install.sh -c"
1501 elif test -f $ac_dir/shtool; then
1503 ac_install_sh="$ac_aux_dir/shtool install -c"
1507 if test -z "$ac_aux_dir"; then
1508 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1509 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1510 { (exit 1); exit 1; }; }
1512 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1513 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1514 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1516 # Make sure we can run config.sub.
1517 $ac_config_sub sun4 >/dev/null 2>&1 ||
1518 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1519 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1520 { (exit 1); exit 1; }; }
1522 echo "$as_me:$LINENO: checking build system type" >&5
1523 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1524 if test "${ac_cv_build+set}" = set; then
1525 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 ac_cv_build_alias=$build_alias
1528 test -z "$ac_cv_build_alias" &&
1529 ac_cv_build_alias=`$ac_config_guess`
1530 test -z "$ac_cv_build_alias" &&
1531 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1532 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1533 { (exit 1); exit 1; }; }
1534 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1535 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1536 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1537 { (exit 1); exit 1; }; }
1540 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1541 echo "${ECHO_T}$ac_cv_build" >&6
1543 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1544 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1545 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1548 echo "$as_me:$LINENO: checking host system type" >&5
1549 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1550 if test "${ac_cv_host+set}" = set; then
1551 echo $ECHO_N "(cached) $ECHO_C" >&6
1553 ac_cv_host_alias=$host_alias
1554 test -z "$ac_cv_host_alias" &&
1555 ac_cv_host_alias=$ac_cv_build_alias
1556 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1557 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1558 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1559 { (exit 1); exit 1; }; }
1562 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1563 echo "${ECHO_T}$ac_cv_host" >&6
1565 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1566 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1567 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1570 echo "$as_me:$LINENO: checking target system type" >&5
1571 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1572 if test "${ac_cv_target+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 ac_cv_target_alias=$target_alias
1576 test "x$ac_cv_target_alias" = "x" &&
1577 ac_cv_target_alias=$ac_cv_host_alias
1578 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1579 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1580 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1581 { (exit 1); exit 1; }; }
1584 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1585 echo "${ECHO_T}$ac_cv_target" >&6
1586 target=$ac_cv_target
1587 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1588 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1589 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1592 # The aliases save the names the user supplied, while $host etc.
1593 # will get canonicalized.
1594 test -n "$target_alias" &&
1595 test "$program_prefix$program_suffix$program_transform_name" = \
1597 program_prefix=${target_alias}-
1599 ac_cpp='$CPP $CPPFLAGS'
1600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1603 if test -n "$ac_tool_prefix"; then
1604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1605 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1606 echo "$as_me:$LINENO: checking for $ac_word" >&5
1607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1608 if test "${ac_cv_prog_CC+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1611 if test -n "$CC"; then
1612 ac_cv_prog_CC="$CC" # Let the user override the test.
1614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1618 test -z "$as_dir" && as_dir=.
1619 for ac_exec_ext in '' $ac_executable_extensions; do
1620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1621 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1631 if test -n "$CC"; then
1632 echo "$as_me:$LINENO: result: $CC" >&5
1633 echo "${ECHO_T}$CC" >&6
1635 echo "$as_me:$LINENO: result: no" >&5
1636 echo "${ECHO_T}no" >&6
1640 if test -z "$ac_cv_prog_CC"; then
1642 # Extract the first word of "gcc", so it can be a program name with args.
1643 set dummy gcc; ac_word=$2
1644 echo "$as_me:$LINENO: checking for $ac_word" >&5
1645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1646 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1647 echo $ECHO_N "(cached) $ECHO_C" >&6
1649 if test -n "$ac_ct_CC"; then
1650 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1656 test -z "$as_dir" && as_dir=.
1657 for ac_exec_ext in '' $ac_executable_extensions; do
1658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1659 ac_cv_prog_ac_ct_CC="gcc"
1660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1668 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1669 if test -n "$ac_ct_CC"; then
1670 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1671 echo "${ECHO_T}$ac_ct_CC" >&6
1673 echo "$as_me:$LINENO: result: no" >&5
1674 echo "${ECHO_T}no" >&6
1682 if test -z "$CC"; then
1683 if test -n "$ac_tool_prefix"; then
1684 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1685 set dummy ${ac_tool_prefix}cc; ac_word=$2
1686 echo "$as_me:$LINENO: checking for $ac_word" >&5
1687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1688 if test "${ac_cv_prog_CC+set}" = set; then
1689 echo $ECHO_N "(cached) $ECHO_C" >&6
1691 if test -n "$CC"; then
1692 ac_cv_prog_CC="$CC" # Let the user override the test.
1694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1698 test -z "$as_dir" && as_dir=.
1699 for ac_exec_ext in '' $ac_executable_extensions; do
1700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1701 ac_cv_prog_CC="${ac_tool_prefix}cc"
1702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1711 if test -n "$CC"; then
1712 echo "$as_me:$LINENO: result: $CC" >&5
1713 echo "${ECHO_T}$CC" >&6
1715 echo "$as_me:$LINENO: result: no" >&5
1716 echo "${ECHO_T}no" >&6
1720 if test -z "$ac_cv_prog_CC"; then
1722 # Extract the first word of "cc", so it can be a program name with args.
1723 set dummy cc; ac_word=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 if test -n "$ac_ct_CC"; then
1730 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir=.
1737 for ac_exec_ext in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_ac_ct_CC="cc"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1748 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1749 if test -n "$ac_ct_CC"; then
1750 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1751 echo "${ECHO_T}$ac_ct_CC" >&6
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1763 if test -z "$CC"; then
1764 # Extract the first word of "cc", so it can be a program name with args.
1765 set dummy cc; ac_word=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768 if test "${ac_cv_prog_CC+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 if test -n "$CC"; then
1772 ac_cv_prog_CC="$CC" # Let the user override the test.
1775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779 test -z "$as_dir" && as_dir=.
1780 for ac_exec_ext in '' $ac_executable_extensions; do
1781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1782 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1783 ac_prog_rejected=yes
1787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1793 if test $ac_prog_rejected = yes; then
1794 # We found a bogon in the path, so make sure we never use it.
1795 set dummy $ac_cv_prog_CC
1797 if test $# != 0; then
1798 # We chose a different compiler from the bogus one.
1799 # However, it has the same basename, so the bogon will be chosen
1800 # first if we set CC to just the basename; use the full file name.
1802 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1808 if test -n "$CC"; then
1809 echo "$as_me:$LINENO: result: $CC" >&5
1810 echo "${ECHO_T}$CC" >&6
1812 echo "$as_me:$LINENO: result: no" >&5
1813 echo "${ECHO_T}no" >&6
1817 if test -z "$CC"; then
1818 if test -n "$ac_tool_prefix"; then
1821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1823 echo "$as_me:$LINENO: checking for $ac_word" >&5
1824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1825 if test "${ac_cv_prog_CC+set}" = set; then
1826 echo $ECHO_N "(cached) $ECHO_C" >&6
1828 if test -n "$CC"; then
1829 ac_cv_prog_CC="$CC" # Let the user override the test.
1831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1835 test -z "$as_dir" && as_dir=.
1836 for ac_exec_ext in '' $ac_executable_extensions; do
1837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1838 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1848 if test -n "$CC"; then
1849 echo "$as_me:$LINENO: result: $CC" >&5
1850 echo "${ECHO_T}$CC" >&6
1852 echo "$as_me:$LINENO: result: no" >&5
1853 echo "${ECHO_T}no" >&6
1856 test -n "$CC" && break
1859 if test -z "$CC"; then
1863 # Extract the first word of "$ac_prog", so it can be a program name with args.
1864 set dummy $ac_prog; ac_word=$2
1865 echo "$as_me:$LINENO: checking for $ac_word" >&5
1866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1867 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1868 echo $ECHO_N "(cached) $ECHO_C" >&6
1870 if test -n "$ac_ct_CC"; then
1871 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877 test -z "$as_dir" && as_dir=.
1878 for ac_exec_ext in '' $ac_executable_extensions; do
1879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1880 ac_cv_prog_ac_ct_CC="$ac_prog"
1881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1890 if test -n "$ac_ct_CC"; then
1891 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1892 echo "${ECHO_T}$ac_ct_CC" >&6
1894 echo "$as_me:$LINENO: result: no" >&5
1895 echo "${ECHO_T}no" >&6
1898 test -n "$ac_ct_CC" && break
1907 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1908 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1909 { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1910 See \
`config.log' for more details." >&5
1911 echo "$as_me: error: no acceptable C compiler found in \$PATH
1912 See \`config.log
' for more details." >&2;}
1913 { (exit 1); exit 1; }; }; }
1915 # Provide some information about the compiler.
1916 echo "$as_me:$LINENO:" \
1917 "checking for C compiler version" >&5
1918 ac_compiler=`set X $ac_compile; echo $2`
1919 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1920 (eval $ac_compiler --version </dev/null >&5) 2>&5
1922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1923 (exit $ac_status); }
1924 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1925 (eval $ac_compiler -v </dev/null >&5) 2>&5
1927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928 (exit $ac_status); }
1929 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1930 (eval $ac_compiler -V </dev/null >&5) 2>&5
1932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1933 (exit $ac_status); }
1935 cat >conftest.$ac_ext <<_ACEOF
1938 cat confdefs.h >>conftest.$ac_ext
1939 cat >>conftest.$ac_ext <<_ACEOF
1940 /* end confdefs.h. */
1950 ac_clean_files_save=$ac_clean_files
1951 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1952 # Try to create an executable without -o first, disregard a.out.
1953 # It will help us diagnose broken compilers, and finding out an intuition
1955 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1956 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1957 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1958 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1959 (eval $ac_link_default) 2>&5
1961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1962 (exit $ac_status); }; then
1963 # Find the output, starting from the most likely. This scheme is
1964 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1967 # Be careful to initialize this variable, since it used to be cached.
1968 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1970 # b.out is created by i960 compilers.
1971 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1973 test -f "$ac_file" ||
continue
1975 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1978 # This is the source file.
1981 # We found the default executable, but exeext='' is most
1985 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1986 # FIXME: I believe we export ac_cv_exeext for Libtool,
1987 # but it would be cool to find out if it's true. Does anybody
1988 # maintain Libtool? --akim.
1996 echo "$as_me: failed program was:" >&5
1997 sed 's/^/| /' conftest.
$ac_ext >&5
1999 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2000 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2001 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2002 See \`config.log' for more details." >&5
2003 echo "$as_me: error: C compiler cannot create executables
2004 See \`config.log' for more details." >&2;}
2005 { (exit 77); exit 77; }; }; }
2008 ac_exeext
=$ac_cv_exeext
2009 echo "$as_me:$LINENO: result: $ac_file" >&5
2010 echo "${ECHO_T}$ac_file" >&6
2012 # Check the compiler produces executables we can run. If not, either
2013 # the compiler is broken, or we cross compile.
2014 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2015 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2016 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2017 # If not cross compiling, check that we can run a simple program.
2018 if test "$cross_compiling" != yes; then
2019 if { ac_try
='./$ac_file'
2020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024 (exit $ac_status); }; }; then
2027 if test "$cross_compiling" = maybe
; then
2030 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2031 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2032 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2033 If you meant to cross compile, use \`--host'.
2034 See \`config.log' for more details." >&5
2035 echo "$as_me: error: cannot run C compiled programs.
2036 If you meant to cross compile, use \`--host'.
2037 See \`config.log' for more details." >&2;}
2038 { (exit 1); exit 1; }; }; }
2042 echo "$as_me:$LINENO: result: yes" >&5
2043 echo "${ECHO_T}yes" >&6
2045 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2046 ac_clean_files
=$ac_clean_files_save
2047 # Check the compiler produces executables we can run. If not, either
2048 # the compiler is broken, or we cross compile.
2049 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2050 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2051 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2052 echo "${ECHO_T}$cross_compiling" >&6
2054 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2055 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2057 (eval $ac_link) 2>&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); }; then
2061 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2062 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2063 # work properly (i.e., refer to `conftest.exe'), while it won't with
2065 for ac_file
in conftest.exe conftest conftest.
*; do
2066 test -f "$ac_file" ||
continue
2068 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2069 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2076 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2077 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2078 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2079 See \`config.log' for more details." >&5
2080 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2081 See \`config.log' for more details." >&2;}
2082 { (exit 1); exit 1; }; }; }
2085 rm -f conftest
$ac_cv_exeext
2086 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2087 echo "${ECHO_T}$ac_cv_exeext" >&6
2089 rm -f conftest.
$ac_ext
2090 EXEEXT
=$ac_cv_exeext
2092 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2093 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2094 if test "${ac_cv_objext+set}" = set; then
2095 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 cat >conftest.
$ac_ext <<_ACEOF
2100 cat confdefs.h
>>conftest.
$ac_ext
2101 cat >>conftest.
$ac_ext <<_ACEOF
2102 /* end confdefs.h. */
2112 rm -f conftest.o conftest.obj
2113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2114 (eval $ac_compile) 2>&5
2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117 (exit $ac_status); }; then
2118 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2120 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2121 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2126 echo "$as_me: failed program was:" >&5
2127 sed 's/^/| /' conftest.
$ac_ext >&5
2129 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2130 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2131 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2132 See \`config.log' for more details." >&5
2133 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2134 See \`config.log' for more details." >&2;}
2135 { (exit 1); exit 1; }; }; }
2138 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2140 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2141 echo "${ECHO_T}$ac_cv_objext" >&6
2142 OBJEXT
=$ac_cv_objext
2144 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2145 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2146 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 cat >conftest.
$ac_ext <<_ACEOF
2152 cat confdefs.h
>>conftest.
$ac_ext
2153 cat >>conftest.
$ac_ext <<_ACEOF
2154 /* end confdefs.h. */
2167 rm -f conftest.
$ac_objext
2168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2169 (eval $ac_compile) 2>conftest.er1
2171 grep -v '^ *+' conftest.er1
>conftest.err
2173 cat conftest.err
>&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); } &&
2176 { ac_try
='test -z "$ac_c_werror_flag"
2177 || test ! -s conftest.err'
2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; } &&
2183 { ac_try
='test -s conftest.$ac_objext'
2184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }; }; then
2191 echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.
$ac_ext >&5
2196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2197 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2200 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2201 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2202 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2203 ac_test_CFLAGS
=${CFLAGS+set}
2204 ac_save_CFLAGS
=$CFLAGS
2206 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2207 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2208 if test "${ac_cv_prog_cc_g+set}" = set; then
2209 echo $ECHO_N "(cached) $ECHO_C" >&6
2211 cat >conftest.
$ac_ext <<_ACEOF
2214 cat confdefs.h
>>conftest.
$ac_ext
2215 cat >>conftest.
$ac_ext <<_ACEOF
2216 /* end confdefs.h. */
2226 rm -f conftest.
$ac_objext
2227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2228 (eval $ac_compile) 2>conftest.er1
2230 grep -v '^ *+' conftest.er1
>conftest.err
2232 cat conftest.err
>&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); } &&
2235 { ac_try
='test -z "$ac_c_werror_flag"
2236 || test ! -s conftest.err'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; } &&
2242 { ac_try
='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2250 echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.
$ac_ext >&5
2255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2257 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2258 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2259 if test "$ac_test_CFLAGS" = set; then
2260 CFLAGS
=$ac_save_CFLAGS
2261 elif test $ac_cv_prog_cc_g = yes; then
2262 if test "$GCC" = yes; then
2268 if test "$GCC" = yes; then
2274 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2275 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2276 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 ac_cv_prog_cc_stdc
=no
2281 cat >conftest.
$ac_ext <<_ACEOF
2284 cat confdefs.h
>>conftest.
$ac_ext
2285 cat >>conftest.
$ac_ext <<_ACEOF
2286 /* end confdefs.h. */
2289 #include <sys/types.h>
2290 #include <sys/stat.h>
2291 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2292 struct buf { int x; };
2293 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2294 static char *e (p, i)
2300 static char *f (char * (*g) (char **, int), char **p, ...)
2305 s = g (p, va_arg (v,int));
2310 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2311 function prototypes and stuff, but not '\xHH' hex character constants.
2312 These don't provoke an error unfortunately, instead are silently treated
2313 as 'x'. The following induces an error, until -std1 is added to get
2314 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2315 array size at least. It's necessary to write '\x00'==0 to get something
2316 that's true only with -std1. */
2317 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2319 int test (int i, double x);
2320 struct s1 {int (*f) (int a);};
2321 struct s2 {int (*f) (double a);};
2322 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2328 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2333 # Don't try gcc -ansi; that turns off useful extensions and
2334 # breaks some systems' header files.
2335 # AIX -qlanglvl=ansi
2336 # Ultrix and OSF/1 -std1
2337 # HP-UX 10.20 and later -Ae
2338 # HP-UX older versions -Aa -D_HPUX_SOURCE
2339 # SVR4 -Xc -D__EXTENSIONS__
2340 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2342 CC
="$ac_save_CC $ac_arg"
2343 rm -f conftest.
$ac_objext
2344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2345 (eval $ac_compile) 2>conftest.er1
2347 grep -v '^ *+' conftest.er1
>conftest.err
2349 cat conftest.err
>&5
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); } &&
2352 { ac_try
='test -z "$ac_c_werror_flag"
2353 || test ! -s conftest.err'
2354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); }; } &&
2359 { ac_try
='test -s conftest.$ac_objext'
2360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }; }; then
2365 ac_cv_prog_cc_stdc
=$ac_arg
2368 echo "$as_me: failed program was:" >&5
2369 sed 's/^/| /' conftest.
$ac_ext >&5
2372 rm -f conftest.err conftest.
$ac_objext
2374 rm -f conftest.
$ac_ext conftest.
$ac_objext
2379 case "x$ac_cv_prog_cc_stdc" in
2381 echo "$as_me:$LINENO: result: none needed" >&5
2382 echo "${ECHO_T}none needed" >&6 ;;
2384 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2385 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2386 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2389 # Some people use a C++ compiler to compile C. Since we use `exit',
2390 # in C++ we need to declare it. In case someone uses the same compiler
2391 # for both compiling C and C++ we need to have the C++ compiler decide
2392 # the declaration of exit, since it's the most demanding environment.
2393 cat >conftest.
$ac_ext <<_ACEOF
2398 rm -f conftest.
$ac_objext
2399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2400 (eval $ac_compile) 2>conftest.er1
2402 grep -v '^ *+' conftest.er1
>conftest.err
2404 cat conftest.err
>&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); } &&
2407 { ac_try
='test -z "$ac_c_werror_flag"
2408 || test ! -s conftest.err'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; } &&
2414 { ac_try
='test -s conftest.$ac_objext'
2415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; }; then
2420 for ac_declaration
in \
2422 'extern "C" void std::exit (int) throw (); using std::exit;' \
2423 'extern "C" void std::exit (int); using std::exit;' \
2424 'extern "C" void exit (int) throw ();' \
2425 'extern "C" void exit (int);' \
2428 cat >conftest.
$ac_ext <<_ACEOF
2431 cat confdefs.h
>>conftest.
$ac_ext
2432 cat >>conftest.
$ac_ext <<_ACEOF
2433 /* end confdefs.h. */
2444 rm -f conftest.
$ac_objext
2445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2446 (eval $ac_compile) 2>conftest.er1
2448 grep -v '^ *+' conftest.er1
>conftest.err
2450 cat conftest.err
>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); } &&
2453 { ac_try
='test -z "$ac_c_werror_flag"
2454 || test ! -s conftest.err'
2455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; } &&
2460 { ac_try
='test -s conftest.$ac_objext'
2461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; }; then
2468 echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.
$ac_ext >&5
2473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2474 cat >conftest.
$ac_ext <<_ACEOF
2477 cat confdefs.h
>>conftest.
$ac_ext
2478 cat >>conftest.
$ac_ext <<_ACEOF
2479 /* end confdefs.h. */
2489 rm -f conftest.
$ac_objext
2490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2491 (eval $ac_compile) 2>conftest.er1
2493 grep -v '^ *+' conftest.er1
>conftest.err
2495 cat conftest.err
>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); } &&
2498 { ac_try
='test -z "$ac_c_werror_flag"
2499 || test ! -s conftest.err'
2500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; } &&
2505 { ac_try
='test -s conftest.$ac_objext'
2506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; }; then
2513 echo "$as_me: failed program was:" >&5
2514 sed 's/^/| /' conftest.
$ac_ext >&5
2517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2520 if test -n "$ac_declaration"; then
2521 echo '#ifdef __cplusplus' >>confdefs.h
2522 echo $ac_declaration >>confdefs.h
2523 echo '#endif' >>confdefs.h
2527 echo "$as_me: failed program was:" >&5
2528 sed 's/^/| /' conftest.
$ac_ext >&5
2531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2533 ac_cpp
='$CPP $CPPFLAGS'
2534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2539 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2540 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2541 if test "${ac_cv_search_strerror+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 ac_func_search_save_LIBS
=$LIBS
2545 ac_cv_search_strerror
=no
2546 cat >conftest.
$ac_ext <<_ACEOF
2549 cat confdefs.h
>>conftest.
$ac_ext
2550 cat >>conftest.
$ac_ext <<_ACEOF
2551 /* end confdefs.h. */
2553 /* Override any gcc2 internal prototype to avoid an error. */
2557 /* We use char because int might match the return type of a gcc2
2558 builtin and then its argument prototype would still apply. */
2568 rm -f conftest.
$ac_objext conftest
$ac_exeext
2569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2570 (eval $ac_link) 2>conftest.er1
2572 grep -v '^ *+' conftest.er1
>conftest.err
2574 cat conftest.err
>&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); } &&
2577 { ac_try
='test -z "$ac_c_werror_flag"
2578 || test ! -s conftest.err'
2579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; } &&
2584 { ac_try
='test -s conftest$ac_exeext'
2585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }; }; then
2590 ac_cv_search_strerror
="none required"
2592 echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.
$ac_ext >&5
2596 rm -f conftest.err conftest.
$ac_objext \
2597 conftest
$ac_exeext conftest.
$ac_ext
2598 if test "$ac_cv_search_strerror" = no
; then
2599 for ac_lib
in cposix
; do
2600 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2601 cat >conftest.
$ac_ext <<_ACEOF
2604 cat confdefs.h
>>conftest.
$ac_ext
2605 cat >>conftest.
$ac_ext <<_ACEOF
2606 /* end confdefs.h. */
2608 /* Override any gcc2 internal prototype to avoid an error. */
2612 /* We use char because int might match the return type of a gcc2
2613 builtin and then its argument prototype would still apply. */
2623 rm -f conftest.
$ac_objext conftest
$ac_exeext
2624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2625 (eval $ac_link) 2>conftest.er1
2627 grep -v '^ *+' conftest.er1
>conftest.err
2629 cat conftest.err
>&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); } &&
2632 { ac_try
='test -z "$ac_c_werror_flag"
2633 || test ! -s conftest.err'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; } &&
2639 { ac_try
='test -s conftest$ac_exeext'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; }; then
2645 ac_cv_search_strerror
="-l$ac_lib"
2648 echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.
$ac_ext >&5
2652 rm -f conftest.err conftest.
$ac_objext \
2653 conftest
$ac_exeext conftest.
$ac_ext
2656 LIBS
=$ac_func_search_save_LIBS
2658 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2659 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2660 if test "$ac_cv_search_strerror" != no
; then
2661 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2666 # We currently only use the version number for the name of any shared
2667 # library. For user convenience, we always use the same version
2668 # number that BFD is using.
2669 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
4740 if test -n "$ac_tool_prefix"; then
4741 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4742 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4743 echo "$as_me:$LINENO: checking for $ac_word" >&5
4744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4745 if test "${ac_cv_prog_AR+set}" = set; then
4746 echo $ECHO_N "(cached) $ECHO_C" >&6
4748 if test -n "$AR"; then
4749 ac_cv_prog_AR
="$AR" # Let the user override the test.
4751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4755 test -z "$as_dir" && as_dir
=.
4756 for ac_exec_ext
in '' $ac_executable_extensions; do
4757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4758 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4768 if test -n "$AR"; then
4769 echo "$as_me:$LINENO: result: $AR" >&5
4770 echo "${ECHO_T}$AR" >&6
4772 echo "$as_me:$LINENO: result: no" >&5
4773 echo "${ECHO_T}no" >&6
4777 if test -z "$ac_cv_prog_AR"; then
4779 # Extract the first word of "ar", so it can be a program name with args.
4780 set dummy
ar; ac_word
=$2
4781 echo "$as_me:$LINENO: checking for $ac_word" >&5
4782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4783 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4784 echo $ECHO_N "(cached) $ECHO_C" >&6
4786 if test -n "$ac_ct_AR"; then
4787 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4793 test -z "$as_dir" && as_dir
=.
4794 for ac_exec_ext
in '' $ac_executable_extensions; do
4795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4796 ac_cv_prog_ac_ct_AR
="ar"
4797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4806 if test -n "$ac_ct_AR"; then
4807 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4808 echo "${ECHO_T}$ac_ct_AR" >&6
4810 echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6
4819 if test -n "$ac_tool_prefix"; then
4820 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4821 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4822 echo "$as_me:$LINENO: checking for $ac_word" >&5
4823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4824 if test "${ac_cv_prog_RANLIB+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 if test -n "$RANLIB"; then
4828 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir
=.
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4846 RANLIB
=$ac_cv_prog_RANLIB
4847 if test -n "$RANLIB"; then
4848 echo "$as_me:$LINENO: result: $RANLIB" >&5
4849 echo "${ECHO_T}$RANLIB" >&6
4851 echo "$as_me:$LINENO: result: no" >&5
4852 echo "${ECHO_T}no" >&6
4856 if test -z "$ac_cv_prog_RANLIB"; then
4857 ac_ct_RANLIB
=$RANLIB
4858 # Extract the first word of "ranlib", so it can be a program name with args.
4859 set dummy ranlib
; ac_word
=$2
4860 echo "$as_me:$LINENO: checking for $ac_word" >&5
4861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4862 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 if test -n "$ac_ct_RANLIB"; then
4866 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir
=.
4873 for ac_exec_ext
in '' $ac_executable_extensions; do
4874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4875 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4885 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4886 if test -n "$ac_ct_RANLIB"; then
4887 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4888 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4890 echo "$as_me:$LINENO: result: no" >&5
4891 echo "${ECHO_T}no" >&6
4894 RANLIB
=$ac_ct_RANLIB
4896 RANLIB
="$ac_cv_prog_RANLIB"
4900 # Check whether --enable-shared or --disable-shared was given.
4901 if test "${enable_shared+set}" = set; then
4902 enableval
="$enable_shared"
4903 p
=${PACKAGE-default}
4905 yes) enable_shared
=yes ;;
4906 no
) enable_shared
=no
;;
4909 # Look at the argument we got. We use all the common list separators.
4910 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4911 for pkg
in $enableval; do
4913 if test "X$pkg" = "X$p"; then
4934 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4935 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4940 macro_version
='2.2.6'
4941 macro_revision
='1.3012'
4955 ltmain
="$ac_aux_dir/ltmain.sh"
4957 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4958 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4959 if test "${lt_cv_path_SED+set}" = set; then
4960 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 # Loop through the user's path and test for sed and gsed.
4963 # Then use that list of sed's as ones to test for truncation.
4964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4968 test -z "$as_dir" && as_dir
=.
4969 for lt_ac_prog
in sed gsed
; do
4970 for ac_exec_ext
in '' $ac_executable_extensions; do
4971 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4972 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4980 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4981 # along with /bin/sed that truncates output.
4982 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4983 test ! -f $lt_ac_sed && continue
4984 cat /dev
/null
> conftest.
in
4986 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4987 # Check for GNU sed and select it if it is found.
4988 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4989 lt_cv_path_SED
=$lt_ac_sed
4993 cat conftest.
in conftest.
in >conftest.tmp
4994 mv conftest.tmp conftest.
in
4995 cp conftest.
in conftest.
nl
4997 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4998 cmp -s conftest.out conftest.
nl ||
break
4999 # 10000 chars as input seems more than enough
5000 test $lt_ac_count -gt 10 && break
5001 lt_ac_count
=`expr $lt_ac_count + 1`
5002 if test $lt_ac_count -gt $lt_ac_max; then
5003 lt_ac_max
=$lt_ac_count
5004 lt_cv_path_SED
=$lt_ac_sed
5013 echo "$as_me:$LINENO: result: $SED" >&5
5014 echo "${ECHO_T}$SED" >&6
5016 test -z "$SED" && SED
=sed
5017 Xsed
="$SED -e 1s/^X//"
5029 echo "$as_me:$LINENO: checking for fgrep" >&5
5030 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5031 if test "${ac_cv_prog_fgrep+set}" = set; then
5032 echo $ECHO_N "(cached) $ECHO_C" >&6
5034 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5035 then ac_cv_prog_fgrep
='grep -F'
5036 else ac_cv_prog_fgrep
='fgrep'
5039 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5040 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5041 FGREP
=$ac_cv_prog_fgrep
5044 test -z "$GREP" && GREP
=grep
5064 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5065 if test "${with_gnu_ld+set}" = set; then
5066 withval
="$with_gnu_ld"
5067 test "$withval" = no || with_gnu_ld
=yes
5072 if test "$GCC" = yes; then
5073 # Check if gcc -print-prog-name=ld gives a path.
5074 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5075 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5078 # gcc leaves a trailing carriage return which upsets mingw
5079 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5081 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5084 # Accept absolute paths.
5086 re_direlt
='/[^/][^/]*/\.\./'
5087 # Canonicalize the pathname of ld
5088 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5089 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5090 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5092 test -z "$LD" && LD
="$ac_prog"
5095 # If it fails, then pretend we aren't using GCC.
5099 # If it is relative, then search for the first ld in PATH.
5103 elif test "$with_gnu_ld" = yes; then
5104 echo "$as_me:$LINENO: checking for GNU ld" >&5
5105 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5107 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5108 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5110 if test "${lt_cv_path_LD+set}" = set; then
5111 echo $ECHO_N "(cached) $ECHO_C" >&6
5113 if test -z "$LD"; then
5114 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5115 for ac_dir
in $PATH; do
5117 test -z "$ac_dir" && ac_dir
=.
5118 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5119 lt_cv_path_LD
="$ac_dir/$ac_prog"
5120 # Check to see if the program is GNU ld. I'd rather use --version,
5121 # but apparently some variants of GNU ld only accept -v.
5122 # Break only if it was the GNU/non-GNU ld that we prefer.
5123 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5124 *GNU
* |
*'with BFD'*)
5125 test "$with_gnu_ld" != no
&& break
5128 test "$with_gnu_ld" != yes && break
5135 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5140 if test -n "$LD"; then
5141 echo "$as_me:$LINENO: result: $LD" >&5
5142 echo "${ECHO_T}$LD" >&6
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5147 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5148 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5149 { (exit 1); exit 1; }; }
5150 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5151 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5152 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5156 case `$LD -v 2>&1 </dev/null` in
5157 *GNU
* |
*'with BFD'*)
5158 lt_cv_prog_gnu_ld
=yes
5161 lt_cv_prog_gnu_ld
=no
5165 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5166 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5167 with_gnu_ld
=$lt_cv_prog_gnu_ld
5177 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5178 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5179 if test "${lt_cv_path_NM+set}" = set; then
5180 echo $ECHO_N "(cached) $ECHO_C" >&6
5182 if test -n "$NM"; then
5183 # Let the user override the test.
5186 lt_nm_to_check
="${ac_tool_prefix}nm"
5187 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5188 lt_nm_to_check
="$lt_nm_to_check nm"
5190 for lt_tmp_nm
in $lt_nm_to_check; do
5191 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5192 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5194 test -z "$ac_dir" && ac_dir
=.
5195 tmp_nm
="$ac_dir/$lt_tmp_nm"
5196 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5197 # Check to see if the nm accepts a BSD-compat flag.
5198 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5199 # nm: unknown option "B" ignored
5200 # Tru64's nm complains that /dev/null is an invalid object file
5201 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5202 */dev
/null
* |
*'Invalid file or object type'*)
5203 lt_cv_path_NM
="$tmp_nm -B"
5207 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5209 lt_cv_path_NM
="$tmp_nm -p"
5213 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5214 continue # so that we can try to find one that supports BSD flags
5223 : ${lt_cv_path_NM=no}
5226 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5227 echo "${ECHO_T}$lt_cv_path_NM" >&6
5228 if test "$lt_cv_path_NM" != "no"; then
5231 # Didn't find any BSD compatible name lister, look for dumpbin.
5232 if test -n "$ac_tool_prefix"; then
5233 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5235 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5236 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5237 echo "$as_me:$LINENO: checking for $ac_word" >&5
5238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5239 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5240 echo $ECHO_N "(cached) $ECHO_C" >&6
5242 if test -n "$DUMPBIN"; then
5243 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5249 test -z "$as_dir" && as_dir
=.
5250 for ac_exec_ext
in '' $ac_executable_extensions; do
5251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5252 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 DUMPBIN
=$ac_cv_prog_DUMPBIN
5262 if test -n "$DUMPBIN"; then
5263 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5264 echo "${ECHO_T}$DUMPBIN" >&6
5266 echo "$as_me:$LINENO: result: no" >&5
5267 echo "${ECHO_T}no" >&6
5270 test -n "$DUMPBIN" && break
5273 if test -z "$DUMPBIN"; then
5274 ac_ct_DUMPBIN
=$DUMPBIN
5275 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5277 # Extract the first word of "$ac_prog", so it can be a program name with args.
5278 set dummy
$ac_prog; ac_word
=$2
5279 echo "$as_me:$LINENO: checking for $ac_word" >&5
5280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5281 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5282 echo $ECHO_N "(cached) $ECHO_C" >&6
5284 if test -n "$ac_ct_DUMPBIN"; then
5285 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir
=.
5292 for ac_exec_ext
in '' $ac_executable_extensions; do
5293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5303 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5304 if test -n "$ac_ct_DUMPBIN"; then
5305 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5306 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5308 echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6
5312 test -n "$ac_ct_DUMPBIN" && break
5314 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5316 DUMPBIN
=$ac_ct_DUMPBIN
5320 if test "$DUMPBIN" != ":"; then
5324 test -z "$NM" && NM
=nm
5331 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5332 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5333 if test "${lt_cv_nm_interface+set}" = set; then
5334 echo $ECHO_N "(cached) $ECHO_C" >&6
5336 lt_cv_nm_interface
="BSD nm"
5337 echo "int some_variable = 0;" > conftest.
$ac_ext
5338 (eval echo "\"\$as_me:5338: $ac_compile\"" >&5)
5339 (eval "$ac_compile" 2>conftest.err
)
5340 cat conftest.err
>&5
5341 (eval echo "\"\$as_me:5341: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5342 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5343 cat conftest.err
>&5
5344 (eval echo "\"\$as_me:5344: output\"" >&5)
5345 cat conftest.out
>&5
5346 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5347 lt_cv_nm_interface
="MS dumpbin"
5351 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5352 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5354 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5355 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5357 if test "$LN_S" = "ln -s"; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5361 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5362 echo "${ECHO_T}no, using $LN_S" >&6
5365 # find the maximum length of command line arguments
5366 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5367 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5368 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5376 # On DJGPP, this test can blow up pretty badly due to problems in libc
5377 # (any single argument exceeding 2000 bytes causes a buffer overrun
5378 # during glob expansion). Even if it were fixed, the result of this
5379 # check would be larger than it should be.
5380 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5384 # Under GNU Hurd, this test is not required because there is
5385 # no limit to the length of command line arguments.
5386 # Libtool will interpret -1 as no limit whatsoever
5387 lt_cv_sys_max_cmd_len
=-1;
5390 cygwin
* | mingw
* | cegcc
*)
5391 # On Win9x/ME, this test blows up -- it succeeds, but takes
5392 # about 5 minutes as the teststring grows exponentially.
5393 # Worse, since 9x/ME are not pre-emptively multitasking,
5394 # you end up with a "frozen" computer, even though with patience
5395 # the test eventually succeeds (with a max line length of 256k).
5396 # Instead, let's just punt: use the minimum linelength reported by
5397 # all of the supported platforms: 8192 (on NT/2K/XP).
5398 lt_cv_sys_max_cmd_len
=8192;
5402 # On AmigaOS with pdksh, this test takes hours, literally.
5403 # So we just punt and use a minimum line length of 8192.
5404 lt_cv_sys_max_cmd_len
=8192;
5407 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5408 # This has been around since 386BSD, at least. Likely further.
5409 if test -x /sbin
/sysctl
; then
5410 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5411 elif test -x /usr
/sbin
/sysctl
; then
5412 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5414 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5416 # And add a safety zone
5417 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5418 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5422 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5423 lt_cv_sys_max_cmd_len
=196608
5427 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5428 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5429 # nice to cause kernel panics so lets avoid the loop below.
5430 # First set a reasonable default.
5431 lt_cv_sys_max_cmd_len
=16384
5433 if test -x /sbin
/sysconfig
; then
5434 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5435 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5440 lt_cv_sys_max_cmd_len
=102400
5442 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5443 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5444 if test -n "$kargmax"; then
5445 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5447 lt_cv_sys_max_cmd_len
=32768
5451 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5452 if test -n "$lt_cv_sys_max_cmd_len"; then
5453 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5454 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5456 # Make teststring a little bigger before we do anything with it.
5457 # a 1K string should be a reasonable start.
5458 for i
in 1 2 3 4 5 6 7 8 ; do
5459 teststring
=$teststring$teststring
5461 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5462 # If test is not a shell built-in, we'll probably end up computing a
5463 # maximum length that is only half of the actual maximum length, but
5465 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5466 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5467 test $i != 17 # 1/2 MB should be enough
5470 teststring
=$teststring$teststring
5472 # Only check the string length outside the loop.
5473 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5475 # Add a significant safety factor because C++ compilers can tack on
5476 # massive amounts of additional arguments before passing them to the
5477 # linker. It appears as though 1/2 is a usable value.
5478 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5485 if test -n $lt_cv_sys_max_cmd_len ; then
5486 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5487 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5489 echo "$as_me:$LINENO: result: none" >&5
5490 echo "${ECHO_T}none" >&6
5492 max_cmd_len
=$lt_cv_sys_max_cmd_len
5503 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5504 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5505 # Try some XSI features
5508 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5510 && eval 'test $(( 1 + 1 )) -eq 2 \
5511 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5513 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5514 echo "${ECHO_T}$xsi_shell" >&6
5517 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5518 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
5520 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5522 && lt_shell_append=yes
5523 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5524 echo "${ECHO_T}$lt_shell_append" >&6
5527 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5537 # test EBCDIC or ASCII
5538 case `echo X|tr X '\101'` in
5539 A) # ASCII based system
5540 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5541 lt_SP2NL='tr \040 \012'
5542 lt_NL2SP='tr \015\012 \040\040'
5544 *) # EBCDIC based system
5545 lt_SP2NL='tr \100 \n'
5546 lt_NL2SP='tr \r\n \100\100'
5558 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5559 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
5560 if test "${lt_cv_ld_reload_flag+set}" = set; then
5561 echo $ECHO_N "(cached
) $ECHO_C" >&6
5563 lt_cv_ld_reload_flag='-r'
5565 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5566 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5567 reload_flag=$lt_cv_ld_reload_flag
5568 case $reload_flag in
5570 *) reload_flag=" $reload_flag" ;;
5572 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5575 if test "$GCC" = yes; then
5576 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5578 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5591 if test -n "$ac_tool_prefix"; then
5592 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5593 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5594 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5595 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5596 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5597 echo $ECHO_N "(cached
) $ECHO_C" >&6
5599 if test -n "$OBJDUMP"; then
5600 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5610 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5618 OBJDUMP=$ac_cv_prog_OBJDUMP
5619 if test -n "$OBJDUMP"; then
5620 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
5621 echo "${ECHO_T}$OBJDUMP" >&6
5623 echo "$as_me:$LINENO: result
: no
" >&5
5624 echo "${ECHO_T}no
" >&6
5628 if test -z "$ac_cv_prog_OBJDUMP"; then
5629 ac_ct_OBJDUMP=$OBJDUMP
5630 # Extract the first word of "objdump
", so it can be a program name with args.
5631 set dummy objdump; ac_word=$2
5632 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5633 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5634 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5635 echo $ECHO_N "(cached
) $ECHO_C" >&6
5637 if test -n "$ac_ct_OBJDUMP"; then
5638 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5648 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5654 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
5657 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5658 if test -n "$ac_ct_OBJDUMP"; then
5659 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
5660 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
5662 echo "$as_me:$LINENO: result
: no
" >&5
5663 echo "${ECHO_T}no
" >&6
5666 OBJDUMP=$ac_ct_OBJDUMP
5668 OBJDUMP="$ac_cv_prog_OBJDUMP"
5671 test -z "$OBJDUMP" && OBJDUMP=objdump
5681 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5682 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
5683 if test "${lt_cv_deplibs_check_method+set}" = set; then
5684 echo $ECHO_N "(cached
) $ECHO_C" >&6
5686 lt_cv_file_magic_cmd='$MAGIC_CMD'
5687 lt_cv_file_magic_test_file=
5688 lt_cv_deplibs_check_method='unknown'
5689 # Need to set the preceding variable on all platforms that support
5690 # interlibrary dependencies.
5691 # 'none' -- dependencies not supported.
5692 # `unknown' -- same as none, but documents that we really don't know.
5693 # 'pass_all' -- all dependencies passed with no checks.
5694 # 'test_compile' -- check by making test program.
5695 # 'file_magic [[regex]]' -- check by looking for files in library path
5696 # which responds to the $file_magic_cmd with a given extended regex.
5697 # If you have `file' or equivalent on your system and you're not sure
5698 # whether `pass_all' will *always* work, you probably want this one.
5702 lt_cv_deplibs_check_method=pass_all
5706 lt_cv_deplibs_check_method=pass_all
5710 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5711 lt_cv_file_magic_cmd='/usr/bin/file -L'
5712 lt_cv_file_magic_test_file=/shlib/libc.so
5716 # func_win32_libid is a shell function defined in ltmain.sh
5717 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5718 lt_cv_file_magic_cmd='func_win32_libid'
5722 # Base MSYS/MinGW do not provide the 'file' command needed by
5723 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5724 # unless we find 'file', for example because we are cross-compiling.
5725 if ( file / ) >/dev/null 2>&1; then
5726 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5727 lt_cv_file_magic_cmd='func_win32_libid'
5729 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5730 lt_cv_file_magic_cmd='$OBJDUMP -f'
5735 # use the weaker test based on 'objdump'. See mingw*.
5736 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5737 lt_cv_file_magic_cmd='$OBJDUMP -f'
5740 darwin* | rhapsody*)
5741 lt_cv_deplibs_check_method=pass_all
5744 freebsd* | dragonfly*)
5745 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5748 # Not sure whether the presence of OpenBSD here was a mistake.
5749 # Let's accept both of them until this is cleared up.
5750 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5751 lt_cv_file_magic_cmd=/usr/bin/file
5752 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5756 lt_cv_deplibs_check_method=pass_all
5761 lt_cv_deplibs_check_method=pass_all
5764 hpux10.20* | hpux11*)
5765 lt_cv_file_magic_cmd=/usr/bin/file
5768 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5769 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5772 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]'
5773 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5776 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5777 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5783 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5784 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5787 irix5* | irix6* | nonstopux*)
5789 *-32|*"-32 ") libmagic=32-bit;;
5790 *-n32|*"-n32 ") libmagic=N32;;
5791 *-64|*"-64 ") libmagic=64-bit;;
5792 *) libmagic=never-match;;
5794 lt_cv_deplibs_check_method=pass_all
5797 # This must be Linux ELF.
5798 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5799 lt_cv_deplibs_check_method=pass_all
5803 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5804 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5806 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5811 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5812 lt_cv_file_magic_cmd=/usr/bin/file
5813 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5817 lt_cv_deplibs_check_method=pass_all
5821 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5822 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5824 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5828 osf3* | osf4* | osf5*)
5829 lt_cv_deplibs_check_method=pass_all
5833 lt_cv_deplibs_check_method=pass_all
5837 lt_cv_deplibs_check_method=pass_all
5840 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5841 lt_cv_deplibs_check_method=pass_all
5845 case $host_vendor in
5847 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]'
5848 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5851 lt_cv_deplibs_check_method=pass_all
5854 lt_cv_file_magic_cmd='/bin/file'
5855 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5858 lt_cv_file_magic_cmd='/bin/file'
5859 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5860 lt_cv_file_magic_test_file=/lib/libc.so
5863 lt_cv_deplibs_check_method=pass_all
5866 lt_cv_deplibs_check_method=pass_all
5872 lt_cv_deplibs_check_method=pass_all
5877 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5878 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5879 file_magic_cmd=$lt_cv_file_magic_cmd
5880 deplibs_check_method=$lt_cv_deplibs_check_method
5881 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5894 if test -n "$ac_tool_prefix"; then
5895 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5896 set dummy ${ac_tool_prefix}ar; ac_word=$2
5897 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5898 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5899 if test "${ac_cv_prog_AR+set}" = set; then
5900 echo $ECHO_N "(cached
) $ECHO_C" >&6
5902 if test -n "$AR"; then
5903 ac_cv_prog_AR="$AR" # Let the user override the test.
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5912 ac_cv_prog_AR="${ac_tool_prefix}ar"
5913 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5922 if test -n "$AR"; then
5923 echo "$as_me:$LINENO: result
: $AR" >&5
5924 echo "${ECHO_T}$AR" >&6
5926 echo "$as_me:$LINENO: result
: no
" >&5
5927 echo "${ECHO_T}no
" >&6
5931 if test -z "$ac_cv_prog_AR"; then
5933 # Extract the first word of "ar", so it can be a program name with args.
5934 set dummy ar; ac_word=$2
5935 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5936 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5937 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5938 echo $ECHO_N "(cached
) $ECHO_C" >&6
5940 if test -n "$ac_ct_AR"; then
5941 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_ac_ct_AR="ar"
5951 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5957 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5960 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5961 if test -n "$ac_ct_AR"; then
5962 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5963 echo "${ECHO_T}$ac_ct_AR" >&6
5965 echo "$as_me:$LINENO: result
: no
" >&5
5966 echo "${ECHO_T}no
" >&6
5974 test -z "$AR" && AR=ar
5975 test -z "$AR_FLAGS" && AR_FLAGS=cru
5987 if test -n "$ac_tool_prefix"; then
5988 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5989 set dummy ${ac_tool_prefix}strip; ac_word=$2
5990 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5991 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5992 if test "${ac_cv_prog_STRIP+set}" = set; then
5993 echo $ECHO_N "(cached
) $ECHO_C" >&6
5995 if test -n "$STRIP"; then
5996 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6002 test -z "$as_dir" && as_dir=.
6003 for ac_exec_ext in '' $ac_executable_extensions; do
6004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6005 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6006 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6014 STRIP=$ac_cv_prog_STRIP
6015 if test -n "$STRIP"; then
6016 echo "$as_me:$LINENO: result
: $STRIP" >&5
6017 echo "${ECHO_T}$STRIP" >&6
6019 echo "$as_me:$LINENO: result
: no
" >&5
6020 echo "${ECHO_T}no
" >&6
6024 if test -z "$ac_cv_prog_STRIP"; then
6026 # Extract the first word of "strip
", so it can be a program name with args.
6027 set dummy strip; ac_word=$2
6028 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6029 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6030 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6031 echo $ECHO_N "(cached
) $ECHO_C" >&6
6033 if test -n "$ac_ct_STRIP"; then
6034 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 test -z "$as_dir" && as_dir=.
6041 for ac_exec_ext in '' $ac_executable_extensions; do
6042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6043 ac_cv_prog_ac_ct_STRIP="strip
"
6044 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6050 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6053 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6054 if test -n "$ac_ct_STRIP"; then
6055 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6056 echo "${ECHO_T}$ac_ct_STRIP" >&6
6058 echo "$as_me:$LINENO: result
: no
" >&5
6059 echo "${ECHO_T}no
" >&6
6064 STRIP="$ac_cv_prog_STRIP"
6067 test -z "$STRIP" && STRIP=:
6074 if test -n "$ac_tool_prefix"; then
6075 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6076 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6077 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6078 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6079 if test "${ac_cv_prog_RANLIB+set}" = set; then
6080 echo $ECHO_N "(cached
) $ECHO_C" >&6
6082 if test -n "$RANLIB"; then
6083 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6089 test -z "$as_dir" && as_dir=.
6090 for ac_exec_ext in '' $ac_executable_extensions; do
6091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6092 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6093 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6101 RANLIB=$ac_cv_prog_RANLIB
6102 if test -n "$RANLIB"; then
6103 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6104 echo "${ECHO_T}$RANLIB" >&6
6106 echo "$as_me:$LINENO: result
: no
" >&5
6107 echo "${ECHO_T}no
" >&6
6111 if test -z "$ac_cv_prog_RANLIB"; then
6112 ac_ct_RANLIB=$RANLIB
6113 # Extract the first word of "ranlib
", so it can be a program name with args.
6114 set dummy ranlib; ac_word=$2
6115 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6116 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6117 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6118 echo $ECHO_N "(cached
) $ECHO_C" >&6
6120 if test -n "$ac_ct_RANLIB"; then
6121 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6127 test -z "$as_dir" && as_dir=.
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6130 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6131 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6137 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6140 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6141 if test -n "$ac_ct_RANLIB"; then
6142 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6143 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6145 echo "$as_me:$LINENO: result
: no
" >&5
6146 echo "${ECHO_T}no
" >&6
6149 RANLIB=$ac_ct_RANLIB
6151 RANLIB="$ac_cv_prog_RANLIB"
6154 test -z "$RANLIB" && RANLIB=:
6161 # Determine commands to create old-style static archives.
6162 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6163 old_postinstall_cmds='chmod 644 $oldlib'
6164 old_postuninstall_cmds=
6166 if test -n "$RANLIB"; then
6169 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6172 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6175 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6211 # If no C compiler was specified, use CC.
6214 # If no C compiler flags were specified, use CFLAGS.
6215 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6217 # Allow CC to be a program name with arguments.
6221 # Check for command to grab the raw symbol name followed by C symbol from nm.
6222 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6223 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6224 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6225 echo $ECHO_N "(cached
) $ECHO_C" >&6
6228 # These are sane defaults that work on at least a few old systems.
6229 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6231 # Character class describing NM global symbol codes.
6232 symcode='[BCDEGRST]'
6234 # Regexp to match symbols that can be accessed directly from C.
6235 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6237 # Define system-specific variables.
6242 cygwin* | mingw* | pw32* | cegcc*)
6243 symcode='[ABCDGISTW]'
6246 if test "$host_cpu" = ia64; then
6247 symcode='[ABCDEGRST]'
6251 symcode='[BCDEGRST]'
6254 symcode='[BCDEGQRST]'
6265 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6273 # If we're using GNU nm, then use its standard symbol codes.
6274 case `$NM -V 2>&1` in
6275 *GNU* | *'with BFD'*)
6276 symcode='[ABCDGIRSTW]' ;;
6279 # Transform an extracted symbol line into a proper C declaration.
6280 # Some systems (esp. on ia64) link data and code symbols differently,
6281 # so use this general approach.
6282 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6284 # Transform an extracted symbol line into symbol name and symbol address
6285 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6286 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6288 # Handle CRLF in mingw tool chain
6292 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6296 # Try without a prefix underscore, then with it.
6297 for ac_symprfx in "" "_
"; do
6299 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6300 symxfrm="\\1 $ac_symprfx\\2 \\2"
6302 # Write the raw and C identifiers.
6303 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6304 # Fake it for dumpbin and say T for any non-static function
6305 # and D for any global variable.
6306 # Also find C++ and __fastcall symbols from MSVC++,
6307 # which start with @ or ?.
6308 lt_cv_sys_global_symbol_pipe="$AWK '"\
6309 " {last_section=section; section=\$ 3};"\
6310 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6311 " \$ 0!~/External *\|/{next};"\
6312 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6313 " {if(hide[section]) next};"\
6314 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6315 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6316 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6317 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6318 " ' prfx
=^
$ac_symprfx"
6320 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6323 # Check to see that the pipe works correctly.
6327 cat > conftest.$ac_ext <<_LT_EOF
6332 void nm_test_func(void);
6333 void nm_test_func(void){}
6337 int main(){nm_test_var='a';nm_test_func();return(0);}
6340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6341 (eval $ac_compile) 2>&5
6343 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6344 (exit $ac_status); }; then
6345 # Now try to grab the symbols.
6347 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6348 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6350 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6351 (exit $ac_status); } && test -s "$nlist"; then
6352 # Try sorting and uniquifying the output.
6353 if sort "$nlist" | uniq > "$nlist"T; then
6354 mv -f "$nlist"T "$nlist"
6359 # Make sure that we snagged all the symbols we need.
6360 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6361 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6362 cat <<_LT_EOF > conftest.$ac_ext
6368 # Now generate the symbol file.
6369 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6371 cat <<_LT_EOF >> conftest.$ac_ext
6373 /* The mapping between symbol names and symbols. */
6378 lt__PROGRAM__LTX_preloaded_symbols[] =
6380 { "@PROGRAM@
", (void *) 0 },
6382 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6383 cat <<\_LT_EOF >> conftest.$ac_ext
6387 /* This works around a problem in FreeBSD linker */
6388 #ifdef FREEBSD_WORKAROUND
6389 static const void *lt_preloaded_setup() {
6390 return lt__PROGRAM__LTX_preloaded_symbols;
6398 # Now try linking the two files.
6399 mv conftest.$ac_objext conftstm.$ac_objext
6400 lt_save_LIBS="$LIBS"
6401 lt_save_CFLAGS="$CFLAGS"
6402 LIBS="conftstm.
$ac_objext"
6403 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6405 (eval $ac_link) 2>&5
6407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6408 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6411 LIBS="$lt_save_LIBS"
6412 CFLAGS="$lt_save_CFLAGS"
6414 echo "cannot
find nm_test_func
in $nlist" >&5
6417 echo "cannot
find nm_test_var
in $nlist" >&5
6420 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6423 echo "$progname: failed program was
:" >&5
6424 cat conftest.$ac_ext >&5
6426 rm -rf conftest* conftst*
6428 # Do not use the global_symbol_pipe unless it works.
6429 if test "$pipe_works" = yes; then
6432 lt_cv_sys_global_symbol_pipe=
6438 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6439 lt_cv_sys_global_symbol_to_cdecl=
6441 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6442 echo "$as_me:$LINENO: result
: failed
" >&5
6443 echo "${ECHO_T}failed
" >&6
6445 echo "$as_me:$LINENO: result
: ok
" >&5
6446 echo "${ECHO_T}ok
" >&6
6470 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6471 if test "${enable_libtool_lock+set}" = set; then
6472 enableval="$enable_libtool_lock"
6475 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6477 # Some flags need to be propagated to the compiler or linker for good
6481 # Find out which ABI we are using.
6482 echo 'int i;' > conftest.$ac_ext
6483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6484 (eval $ac_compile) 2>&5
6486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6487 (exit $ac_status); }; then
6488 case `/usr/bin/file conftest.$ac_objext` in
6500 # Find out which ABI we are using.
6501 echo '#line 6501 "configure
"' > conftest.$ac_ext
6502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6503 (eval $ac_compile) 2>&5
6505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6506 (exit $ac_status); }; then
6507 if test "$lt_cv_prog_gnu_ld" = yes; then
6508 case `/usr/bin/file conftest.$ac_objext` in
6510 LD="${LD-ld} -melf32bsmip"
6513 LD="${LD-ld} -melf32bmipn32"
6516 LD="${LD-ld} -melf64bmip"
6520 case `/usr/bin/file conftest.$ac_objext` in
6536 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6537 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6538 # Find out which ABI we are using.
6539 echo 'int i;' > conftest.$ac_ext
6540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6541 (eval $ac_compile) 2>&5
6543 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6544 (exit $ac_status); }; then
6545 case `/usr/bin/file conftest.o` in
6548 x86_64-*kfreebsd*-gnu)
6549 LD="${LD-ld} -m elf_i386_fbsd
"
6552 LD="${LD-ld} -m elf_i386
"
6554 ppc64-*linux*|powerpc64-*linux*)
6555 LD="${LD-ld} -m elf32ppclinux
"
6558 LD="${LD-ld} -m elf_s390
"
6561 LD="${LD-ld} -m elf32_sparc
"
6567 x86_64-*kfreebsd*-gnu)
6568 LD="${LD-ld} -m elf_x86_64_fbsd
"
6571 LD="${LD-ld} -m elf_x86_64
"
6573 ppc*-*linux*|powerpc*-*linux*)
6574 LD="${LD-ld} -m elf64ppc
"
6576 s390*-*linux*|s390*-*tpf*)
6577 LD="${LD-ld} -m elf64_s390
"
6580 LD="${LD-ld} -m elf64_sparc
"
6590 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6591 SAVE_CFLAGS="$CFLAGS"
6592 CFLAGS="$CFLAGS -belf"
6593 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6594 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
6595 if test "${lt_cv_cc_needs_belf+set}" = set; then
6596 echo $ECHO_N "(cached
) $ECHO_C" >&6
6599 ac_cpp='$CPP $CPPFLAGS'
6600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6604 cat >conftest.$ac_ext <<_ACEOF
6607 cat confdefs.h >>conftest.$ac_ext
6608 cat >>conftest.$ac_ext <<_ACEOF
6609 /* end confdefs.h. */
6619 rm -f conftest.$ac_objext conftest$ac_exeext
6620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6621 (eval $ac_link) 2>conftest.er1
6623 grep -v '^ *+' conftest.er1 >conftest.err
6625 cat conftest.err >&5
6626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6627 (exit $ac_status); } &&
6628 { ac_try='test -z "$ac_c_werror_flag"
6629 || test ! -s conftest.err'
6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6634 (exit $ac_status); }; } &&
6635 { ac_try='test -s conftest$ac_exeext'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6640 (exit $ac_status); }; }; then
6641 lt_cv_cc_needs_belf=yes
6643 echo "$as_me: failed program was
:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6646 lt_cv_cc_needs_belf=no
6648 rm -f conftest.err conftest.$ac_objext \
6649 conftest$ac_exeext conftest.$ac_ext
6651 ac_cpp='$CPP $CPPFLAGS'
6652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6657 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6658 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6659 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6660 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6661 CFLAGS="$SAVE_CFLAGS"
6665 # Find out which ABI we are using.
6666 echo 'int i;' > conftest.$ac_ext
6667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6668 (eval $ac_compile) 2>&5
6670 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6671 (exit $ac_status); }; then
6672 case `/usr/bin/file conftest.o` in
6674 case $lt_cv_prog_gnu_ld in
6675 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6677 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6689 need_locks="$enable_libtool_lock"
6693 rhapsody* | darwin*)
6694 if test -n "$ac_tool_prefix"; then
6695 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6696 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6697 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6698 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6699 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6700 echo $ECHO_N "(cached
) $ECHO_C" >&6
6702 if test -n "$DSYMUTIL"; then
6703 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709 test -z "$as_dir" && as_dir=.
6710 for ac_exec_ext in '' $ac_executable_extensions; do
6711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6712 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6713 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6721 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6722 if test -n "$DSYMUTIL"; then
6723 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
6724 echo "${ECHO_T}$DSYMUTIL" >&6
6726 echo "$as_me:$LINENO: result
: no
" >&5
6727 echo "${ECHO_T}no
" >&6
6731 if test -z "$ac_cv_prog_DSYMUTIL"; then
6732 ac_ct_DSYMUTIL=$DSYMUTIL
6733 # Extract the first word of "dsymutil
", so it can be a program name with args.
6734 set dummy dsymutil; ac_word=$2
6735 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6736 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6737 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6738 echo $ECHO_N "(cached
) $ECHO_C" >&6
6740 if test -n "$ac_ct_DSYMUTIL"; then
6741 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 test -z "$as_dir" && as_dir=.
6748 for ac_exec_ext in '' $ac_executable_extensions; do
6749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6750 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6751 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6757 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
6760 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6761 if test -n "$ac_ct_DSYMUTIL"; then
6762 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
6763 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6765 echo "$as_me:$LINENO: result
: no
" >&5
6766 echo "${ECHO_T}no
" >&6
6769 DSYMUTIL=$ac_ct_DSYMUTIL
6771 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6774 if test -n "$ac_tool_prefix"; then
6775 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6776 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6777 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6778 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6779 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6780 echo $ECHO_N "(cached
) $ECHO_C" >&6
6782 if test -n "$NMEDIT"; then
6783 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir=.
6790 for ac_exec_ext in '' $ac_executable_extensions; do
6791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6792 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6793 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6801 NMEDIT=$ac_cv_prog_NMEDIT
6802 if test -n "$NMEDIT"; then
6803 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6804 echo "${ECHO_T}$NMEDIT" >&6
6806 echo "$as_me:$LINENO: result
: no
" >&5
6807 echo "${ECHO_T}no
" >&6
6811 if test -z "$ac_cv_prog_NMEDIT"; then
6812 ac_ct_NMEDIT=$NMEDIT
6813 # Extract the first word of "nmedit
", so it can be a program name with args.
6814 set dummy nmedit; ac_word=$2
6815 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6816 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6817 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6818 echo $ECHO_N "(cached
) $ECHO_C" >&6
6820 if test -n "$ac_ct_NMEDIT"; then
6821 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6827 test -z "$as_dir" && as_dir=.
6828 for ac_exec_ext in '' $ac_executable_extensions; do
6829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6830 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6831 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6837 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
6840 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6841 if test -n "$ac_ct_NMEDIT"; then
6842 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6843 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
6845 echo "$as_me:$LINENO: result
: no
" >&5
6846 echo "${ECHO_T}no
" >&6
6849 NMEDIT=$ac_ct_NMEDIT
6851 NMEDIT="$ac_cv_prog_NMEDIT"
6854 if test -n "$ac_tool_prefix"; then
6855 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6856 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6857 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6858 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6859 if test "${ac_cv_prog_LIPO+set}" = set; then
6860 echo $ECHO_N "(cached
) $ECHO_C" >&6
6862 if test -n "$LIPO"; then
6863 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869 test -z "$as_dir" && as_dir=.
6870 for ac_exec_ext in '' $ac_executable_extensions; do
6871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6872 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6873 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6881 LIPO=$ac_cv_prog_LIPO
6882 if test -n "$LIPO"; then
6883 echo "$as_me:$LINENO: result
: $LIPO" >&5
6884 echo "${ECHO_T}$LIPO" >&6
6886 echo "$as_me:$LINENO: result
: no
" >&5
6887 echo "${ECHO_T}no
" >&6
6891 if test -z "$ac_cv_prog_LIPO"; then
6893 # Extract the first word of "lipo
", so it can be a program name with args.
6894 set dummy lipo; ac_word=$2
6895 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6896 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6897 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6898 echo $ECHO_N "(cached
) $ECHO_C" >&6
6900 if test -n "$ac_ct_LIPO"; then
6901 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6907 test -z "$as_dir" && as_dir=.
6908 for ac_exec_ext in '' $ac_executable_extensions; do
6909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6910 ac_cv_prog_ac_ct_LIPO="lipo
"
6911 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6917 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
6920 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6921 if test -n "$ac_ct_LIPO"; then
6922 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6923 echo "${ECHO_T}$ac_ct_LIPO" >&6
6925 echo "$as_me:$LINENO: result
: no
" >&5
6926 echo "${ECHO_T}no
" >&6
6931 LIPO="$ac_cv_prog_LIPO"
6934 if test -n "$ac_tool_prefix"; then
6935 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6936 set dummy ${ac_tool_prefix}otool; ac_word=$2
6937 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6938 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6939 if test "${ac_cv_prog_OTOOL+set}" = set; then
6940 echo $ECHO_N "(cached
) $ECHO_C" >&6
6942 if test -n "$OTOOL"; then
6943 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6949 test -z "$as_dir" && as_dir=.
6950 for ac_exec_ext in '' $ac_executable_extensions; do
6951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6952 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6953 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6961 OTOOL=$ac_cv_prog_OTOOL
6962 if test -n "$OTOOL"; then
6963 echo "$as_me:$LINENO: result
: $OTOOL" >&5
6964 echo "${ECHO_T}$OTOOL" >&6
6966 echo "$as_me:$LINENO: result
: no
" >&5
6967 echo "${ECHO_T}no
" >&6
6971 if test -z "$ac_cv_prog_OTOOL"; then
6973 # Extract the first word of "otool
", so it can be a program name with args.
6974 set dummy otool; ac_word=$2
6975 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6976 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6977 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6978 echo $ECHO_N "(cached
) $ECHO_C" >&6
6980 if test -n "$ac_ct_OTOOL"; then
6981 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 test -z "$as_dir" && as_dir=.
6988 for ac_exec_ext in '' $ac_executable_extensions; do
6989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6990 ac_cv_prog_ac_ct_OTOOL="otool
"
6991 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6997 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
7000 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7001 if test -n "$ac_ct_OTOOL"; then
7002 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
7003 echo "${ECHO_T}$ac_ct_OTOOL" >&6
7005 echo "$as_me:$LINENO: result
: no
" >&5
7006 echo "${ECHO_T}no
" >&6
7011 OTOOL="$ac_cv_prog_OTOOL"
7014 if test -n "$ac_tool_prefix"; then
7015 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7016 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7017 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7018 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7019 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7020 echo $ECHO_N "(cached
) $ECHO_C" >&6
7022 if test -n "$OTOOL64"; then
7023 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 test -z "$as_dir" && as_dir=.
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7032 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7033 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7041 OTOOL64=$ac_cv_prog_OTOOL64
7042 if test -n "$OTOOL64"; then
7043 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
7044 echo "${ECHO_T}$OTOOL64" >&6
7046 echo "$as_me:$LINENO: result
: no
" >&5
7047 echo "${ECHO_T}no
" >&6
7051 if test -z "$ac_cv_prog_OTOOL64"; then
7052 ac_ct_OTOOL64=$OTOOL64
7053 # Extract the first word of "otool64
", so it can be a program name with args.
7054 set dummy otool64; ac_word=$2
7055 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7056 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7057 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7058 echo $ECHO_N "(cached
) $ECHO_C" >&6
7060 if test -n "$ac_ct_OTOOL64"; then
7061 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 test -z "$as_dir" && as_dir=.
7068 for ac_exec_ext in '' $ac_executable_extensions; do
7069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7070 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7071 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7077 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
7080 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7081 if test -n "$ac_ct_OTOOL64"; then
7082 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
7083 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
7085 echo "$as_me:$LINENO: result
: no
" >&5
7086 echo "${ECHO_T}no
" >&6
7089 OTOOL64=$ac_ct_OTOOL64
7091 OTOOL64="$ac_cv_prog_OTOOL64"
7120 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
7121 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
7122 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7123 echo $ECHO_N "(cached
) $ECHO_C" >&6
7125 lt_cv_apple_cc_single_mod=no
7126 if test -z "${LT_MULTI_MODULE}"; then
7127 # By default we will add the -single_module flag. You can override
7128 # by either setting the environment variable LT_MULTI_MODULE
7129 # non-empty at configure time, or by adding -multi_module to the
7131 rm -rf libconftest.dylib*
7132 echo "int foo
(void
){return 1;}" > conftest.c
7133 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7134 -dynamiclib -Wl,-single_module conftest.c
" >&5
7135 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7136 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7138 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7139 lt_cv_apple_cc_single_mod=yes
7141 cat conftest.err >&5
7143 rm -rf libconftest.dylib*
7147 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
7148 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
7149 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
7150 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
7151 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7152 echo $ECHO_N "(cached
) $ECHO_C" >&6
7154 lt_cv_ld_exported_symbols_list=no
7155 save_LDFLAGS=$LDFLAGS
7156 echo "_main
" > conftest.sym
7157 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7158 cat >conftest.$ac_ext <<_ACEOF
7161 cat confdefs.h >>conftest.$ac_ext
7162 cat >>conftest.$ac_ext <<_ACEOF
7163 /* end confdefs.h. */
7173 rm -f conftest.$ac_objext conftest$ac_exeext
7174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7175 (eval $ac_link) 2>conftest.er1
7177 grep -v '^ *+' conftest.er1 >conftest.err
7179 cat conftest.err >&5
7180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7181 (exit $ac_status); } &&
7182 { ac_try='test -z "$ac_c_werror_flag"
7183 || test ! -s conftest.err'
7184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7188 (exit $ac_status); }; } &&
7189 { ac_try='test -s conftest$ac_exeext'
7190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7193 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7194 (exit $ac_status); }; }; then
7195 lt_cv_ld_exported_symbols_list=yes
7197 echo "$as_me: failed program was
:" >&5
7198 sed 's/^/| /' conftest.$ac_ext >&5
7200 lt_cv_ld_exported_symbols_list=no
7202 rm -f conftest.err conftest.$ac_objext \
7203 conftest$ac_exeext conftest.$ac_ext
7204 LDFLAGS="$save_LDFLAGS"
7207 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
7208 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
7210 rhapsody* | darwin1.[012])
7211 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7213 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7214 darwin*) # darwin 5.x on
7215 # if running on 10.5 or later, the deployment target defaults
7216 # to the OS version, if on x86, and 10.4, the deployment
7217 # target defaults to 10.4. Don't you love it?
7218 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7219 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7220 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7222 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7224 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7228 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7229 _lt_dar_single_mod='$single_module'
7231 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7232 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7234 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7236 if test "$DSYMUTIL" != ":"; then
7237 _lt_dsymutil='~$DSYMUTIL $lib || :'
7245 for ac_header in dlfcn.h
7247 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7248 echo "$as_me:$LINENO: checking
for $ac_header" >&5
7249 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6
7250 if eval "test \"\
${$as_ac_Header+set}\" = set"; then
7251 echo $ECHO_N "(cached
) $ECHO_C" >&6
7253 cat >conftest.$ac_ext <<_ACEOF
7256 cat confdefs.h >>conftest.$ac_ext
7257 cat >>conftest.$ac_ext <<_ACEOF
7258 /* end confdefs.h. */
7259 $ac_includes_default
7261 #include <$ac_header>
7263 rm -f conftest.$ac_objext
7264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7265 (eval $ac_compile) 2>conftest.er1
7267 grep -v '^ *+' conftest.er1 >conftest.err
7269 cat conftest.err >&5
7270 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7271 (exit $ac_status); } &&
7272 { ac_try='test -z "$ac_c_werror_flag"
7273 || test ! -s conftest.err'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7278 (exit $ac_status); }; } &&
7279 { ac_try='test -s conftest.$ac_objext'
7280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7283 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7284 (exit $ac_status); }; }; then
7285 eval "$as_ac_Header=yes"
7287 echo "$as_me: failed program was
:" >&5
7288 sed 's/^/| /' conftest.$ac_ext >&5
7290 eval "$as_ac_Header=no
"
7292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7294 echo "$as_me:$LINENO: result
: `eval echo '${'$as_ac_Header'}'`" >&5
7295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7297 cat >>confdefs.h <<_ACEOF
7298 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7318 # Check whether --enable-static or --disable-static was given.
7319 if test "${enable_static+set}" = set; then
7320 enableval="$enable_static"
7321 p=${PACKAGE-default}
7323 yes) enable_static=yes ;;
7324 no) enable_static=no ;;
7327 # Look at the argument we got. We use all the common list separators.
7328 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7329 for pkg in $enableval; do
7331 if test "X
$pkg" = "X
$p"; then
7350 # Check whether --with-pic or --without-pic was given.
7351 if test "${with_pic+set}" = set; then
7358 test -z "$pic_mode" && pic_mode=default
7366 # Check whether --enable-fast-install or --disable-fast-install was given.
7367 if test "${enable_fast_install+set}" = set; then
7368 enableval="$enable_fast_install"
7369 p=${PACKAGE-default}
7371 yes) enable_fast_install=yes ;;
7372 no) enable_fast_install=no ;;
7374 enable_fast_install=no
7375 # Look at the argument we got. We use all the common list separators.
7376 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7377 for pkg in $enableval; do
7379 if test "X
$pkg" = "X
$p"; then
7380 enable_fast_install=yes
7387 enable_fast_install=yes
7399 # This can be used to rebuild libtool when needed
7400 LIBTOOL_DEPS="$ltmain"
7402 # Always use our own libtool.
7403 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7429 test -z "$LN_S" && LN_S="ln -s"
7444 if test -n "${ZSH_VERSION+set}" ; then
7445 setopt NO_GLOB_SUBST
7448 echo "$as_me:$LINENO: checking
for objdir
" >&5
7449 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6
7450 if test "${lt_cv_objdir+set}" = set; then
7451 echo $ECHO_N "(cached
) $ECHO_C" >&6
7453 rm -f .libs 2>/dev/null
7454 mkdir .libs 2>/dev/null
7455 if test -d .libs; then
7458 # MS-DOS does not allow filenames that begin with a dot.
7461 rmdir .libs 2>/dev/null
7463 echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7464 echo "${ECHO_T}$lt_cv_objdir" >&6
7465 objdir=$lt_cv_objdir
7471 cat >>confdefs.h <<_ACEOF
7472 #define LT_OBJDIR "$lt_cv_objdir/"
7493 # AIX sometimes has problems with the GCC collect2 program. For some
7494 # reason, if we set the COLLECT_NAMES environment variable, the problems
7495 # vanish in a puff of smoke.
7496 if test "X
${COLLECT_NAMES+set}" != Xset; then
7498 export COLLECT_NAMES
7503 # Sed substitution that helps us do robust quoting. It backslashifies
7504 # metacharacters that are still active within double-quoted strings.
7505 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7507 # Same as above, but do not quote variable references.
7508 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7510 # Sed substitution to delay expansion of an escaped shell variable in a
7511 # double_quote_subst'ed string.
7512 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7514 # Sed substitution to delay expansion of an escaped single quote.
7515 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7517 # Sed substitution to avoid accidental globbing in evaled expressions
7518 no_glob_subst
='s/\*/\\\*/g'
7522 can_build_shared
=yes
7524 # All known linkers require a `.a' archive for static linking (except MSVC,
7525 # which needs '.lib').
7528 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7531 old_CFLAGS
="$CFLAGS"
7533 # Set sane defaults for various variables
7534 test -z "$CC" && CC
=cc
7535 test -z "$LTCC" && LTCC
=$CC
7536 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7537 test -z "$LD" && LD
=ld
7538 test -z "$ac_objext" && ac_objext
=o
7540 for cc_temp
in $compiler""; do
7542 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7543 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7548 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7551 # Only perform the check for file, if the check method requires it
7552 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7553 case $deplibs_check_method in
7555 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7556 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7557 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7558 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7559 echo $ECHO_N "(cached) $ECHO_C" >&6
7563 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7566 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7567 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7568 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7569 for ac_dir
in $ac_dummy; do
7571 test -z "$ac_dir" && ac_dir
=.
7572 if test -f $ac_dir/${ac_tool_prefix}file; then
7573 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7574 if test -n "$file_magic_test_file"; then
7575 case $deplibs_check_method in
7577 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7578 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7579 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7580 $EGREP "$file_magic_regex" > /dev
/null
; then
7585 *** Warning: the command libtool uses to detect shared libraries,
7586 *** $file_magic_cmd, produces output that libtool cannot recognize.
7587 *** The result is that libtool may fail to recognize shared libraries
7588 *** as such. This will affect the creation of libtool libraries that
7589 *** depend on shared libraries, but programs linked with such libtool
7590 *** libraries will work regardless of this problem. Nevertheless, you
7591 *** may want to report the problem to your system manager and/or to
7592 *** bug-libtool@gnu.org
7602 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7607 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7608 if test -n "$MAGIC_CMD"; then
7609 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7610 echo "${ECHO_T}$MAGIC_CMD" >&6
7612 echo "$as_me:$LINENO: result: no" >&5
7613 echo "${ECHO_T}no" >&6
7620 if test -z "$lt_cv_path_MAGIC_CMD"; then
7621 if test -n "$ac_tool_prefix"; then
7622 echo "$as_me:$LINENO: checking for file" >&5
7623 echo $ECHO_N "checking for file... $ECHO_C" >&6
7624 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7625 echo $ECHO_N "(cached) $ECHO_C" >&6
7629 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7632 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7633 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7634 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7635 for ac_dir
in $ac_dummy; do
7637 test -z "$ac_dir" && ac_dir
=.
7638 if test -f $ac_dir/file; then
7639 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7640 if test -n "$file_magic_test_file"; then
7641 case $deplibs_check_method in
7643 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7644 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7645 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7646 $EGREP "$file_magic_regex" > /dev
/null
; then
7651 *** Warning: the command libtool uses to detect shared libraries,
7652 *** $file_magic_cmd, produces output that libtool cannot recognize.
7653 *** The result is that libtool may fail to recognize shared libraries
7654 *** as such. This will affect the creation of libtool libraries that
7655 *** depend on shared libraries, but programs linked with such libtool
7656 *** libraries will work regardless of this problem. Nevertheless, you
7657 *** may want to report the problem to your system manager and/or to
7658 *** bug-libtool@gnu.org
7668 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7673 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7674 if test -n "$MAGIC_CMD"; then
7675 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7676 echo "${ECHO_T}$MAGIC_CMD" >&6
7678 echo "$as_me:$LINENO: result: no" >&5
7679 echo "${ECHO_T}no" >&6
7692 # Use C for the default configuration in the libtool script
7696 ac_cpp
='$CPP $CPPFLAGS'
7697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7702 # Source file extension for C test sources.
7705 # Object file extension for compiled C test sources.
7709 # Code to be used in simple compile tests
7710 lt_simple_compile_test_code
="int some_variable = 0;"
7712 # Code to be used in simple link tests
7713 lt_simple_link_test_code
='int main(){return(0);}'
7721 # If no C compiler was specified, use CC.
7724 # If no C compiler flags were specified, use CFLAGS.
7725 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7727 # Allow CC to be a program name with arguments.
7730 # Save the default compiler, since it gets overwritten when the other
7731 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7732 compiler_DEFAULT
=$CC
7734 # save warnings/boilerplate of simple test code
7735 ac_outfile
=conftest.
$ac_objext
7736 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7737 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7738 _lt_compiler_boilerplate
=`cat conftest.err`
7741 ac_outfile
=conftest.
$ac_objext
7742 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7743 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7744 _lt_linker_boilerplate
=`cat conftest.err`
7749 ## There is no encapsulation within the following macros, do not change
7750 ## the running order or otherwise move them around unless you know exactly
7751 ## what you are doing...
7752 if test -n "$compiler"; then
7754 lt_prog_compiler_no_builtin_flag
=
7756 if test "$GCC" = yes; then
7757 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7759 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7760 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7761 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7762 echo $ECHO_N "(cached) $ECHO_C" >&6
7764 lt_cv_prog_compiler_rtti_exceptions
=no
7765 ac_outfile
=conftest.
$ac_objext
7766 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7767 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7768 # Insert the option either (1) after the last *FLAGS variable, or
7769 # (2) before a word containing "conftest.", or (3) at the end.
7770 # Note that $ac_compile itself does not contain backslashes and begins
7771 # with a dollar sign (not a hyphen), so the echo should work correctly.
7772 # The option is referenced via a variable to avoid confusing sed.
7773 lt_compile
=`echo "$ac_compile" | $SED \
7774 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7775 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7776 -e 's:$: $lt_compiler_flag:'`
7777 (eval echo "\"\$as_me:7777: $lt_compile\"" >&5)
7778 (eval "$lt_compile" 2>conftest.err
)
7780 cat conftest.err
>&5
7781 echo "$as_me:7781: \$? = $ac_status" >&5
7782 if (exit $ac_status) && test -s "$ac_outfile"; then
7783 # The compiler can only warn and ignore the option if not recognized
7784 # So say no if there are warnings other than the usual output.
7785 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7786 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7787 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7788 lt_cv_prog_compiler_rtti_exceptions
=yes
7794 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7795 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7797 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7798 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7810 lt_prog_compiler_wl
=
7811 lt_prog_compiler_pic
=
7812 lt_prog_compiler_static
=
7814 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7815 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7817 if test "$GCC" = yes; then
7818 lt_prog_compiler_wl
='-Wl,'
7819 lt_prog_compiler_static
='-static'
7823 # All AIX code is PIC.
7824 if test "$host_cpu" = ia64
; then
7825 # AIX 5 now supports IA64 processor
7826 lt_prog_compiler_static
='-Bstatic'
7833 # see comment about AmigaOS4 .so support
7834 lt_prog_compiler_pic
='-fPIC'
7837 # FIXME: we need at least 68020 code to build shared libraries, but
7838 # adding the `-m68020' flag to GCC prevents building anything better,
7840 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7845 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7846 # PIC is the default for these OSes.
7849 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7850 # This hack is so that the source file can tell whether it is being
7851 # built for inclusion in a dll (and should export symbols for example).
7852 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7853 # (--disable-auto-import) libraries
7854 lt_prog_compiler_pic
='-DDLL_EXPORT'
7857 darwin
* | rhapsody
*)
7858 # PIC is the default on this platform
7859 # Common symbols not allowed in MH_DYLIB files
7860 lt_prog_compiler_pic
='-fno-common'
7864 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7865 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7866 # sets the default TLS model and affects inlining.
7872 lt_prog_compiler_pic
='-fPIC'
7878 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7879 # Instead, we relocate shared libraries at runtime.
7883 # Just because we use GCC doesn't mean we suddenly get shared libraries
7884 # on systems that don't support them.
7885 lt_prog_compiler_can_build_shared
=no
7890 # QNX uses GNU C++, but need to define -shared option too, otherwise
7892 lt_prog_compiler_pic
='-fPIC -shared'
7896 if test -d /usr
/nec
; then
7897 lt_prog_compiler_pic
=-Kconform_pic
7902 lt_prog_compiler_pic
='-fPIC'
7906 # PORTME Check for flag to pass linker flags through the system compiler.
7909 lt_prog_compiler_wl
='-Wl,'
7910 if test "$host_cpu" = ia64
; then
7911 # AIX 5 now supports IA64 processor
7912 lt_prog_compiler_static
='-Bstatic'
7914 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7918 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7919 # This hack is so that the source file can tell whether it is being
7920 # built for inclusion in a dll (and should export symbols for example).
7921 lt_prog_compiler_pic
='-DDLL_EXPORT'
7924 hpux9
* | hpux10
* | hpux11
*)
7925 lt_prog_compiler_wl
='-Wl,'
7926 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7933 lt_prog_compiler_pic
='+Z'
7936 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7937 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7940 irix5
* | irix6
* | nonstopux
*)
7941 lt_prog_compiler_wl
='-Wl,'
7942 # PIC (with -KPIC) is the default.
7943 lt_prog_compiler_static
='-non_shared'
7946 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7947 case $cc_basename in
7948 # old Intel for x86_64 which still supported -KPIC.
7950 lt_prog_compiler_wl
='-Wl,'
7951 lt_prog_compiler_pic
='-KPIC'
7952 lt_prog_compiler_static
='-static'
7954 # icc used to be incompatible with GCC.
7955 # ICC 10 doesn't accept -KPIC any more.
7957 lt_prog_compiler_wl
='-Wl,'
7958 lt_prog_compiler_pic
='-fPIC'
7959 lt_prog_compiler_static
='-static'
7961 # Lahey Fortran 8.1.
7963 lt_prog_compiler_wl
='-Wl,'
7964 lt_prog_compiler_pic
='--shared'
7965 lt_prog_compiler_static
='--static'
7967 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7968 # Portland Group compilers (*not* the Pentium gcc compiler,
7969 # which looks to be a dead project)
7970 lt_prog_compiler_wl
='-Wl,'
7971 lt_prog_compiler_pic
='-fpic'
7972 lt_prog_compiler_static
='-Bstatic'
7975 lt_prog_compiler_wl
='-Wl,'
7976 # All Alpha code is PIC.
7977 lt_prog_compiler_static
='-non_shared'
7980 # IBM XL C 8.0/Fortran 10.1 on PPC
7981 lt_prog_compiler_wl
='-Wl,'
7982 lt_prog_compiler_pic
='-qpic'
7983 lt_prog_compiler_static
='-qstaticlink'
7986 case `$CC -V 2>&1 | sed 5q` in
7989 lt_prog_compiler_pic
='-KPIC'
7990 lt_prog_compiler_static
='-Bstatic'
7991 lt_prog_compiler_wl
='-Wl,'
7994 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7995 lt_prog_compiler_pic
='-KPIC'
7996 lt_prog_compiler_static
='-Bstatic'
7997 lt_prog_compiler_wl
=''
8005 lt_prog_compiler_pic
='-KPIC'
8006 lt_prog_compiler_static
='-Bstatic'
8010 # QNX uses GNU C++, but need to define -shared option too, otherwise
8012 lt_prog_compiler_pic
='-fPIC -shared'
8015 osf3
* | osf4
* | osf5
*)
8016 lt_prog_compiler_wl
='-Wl,'
8017 # All OSF/1 code is PIC.
8018 lt_prog_compiler_static
='-non_shared'
8022 lt_prog_compiler_static
='-non_shared'
8026 lt_prog_compiler_pic
='-KPIC'
8027 lt_prog_compiler_static
='-Bstatic'
8028 case $cc_basename in
8030 lt_prog_compiler_wl
='-Qoption ld ';;
8032 lt_prog_compiler_wl
='-Wl,';;
8037 lt_prog_compiler_wl
='-Qoption ld '
8038 lt_prog_compiler_pic
='-PIC'
8039 lt_prog_compiler_static
='-Bstatic'
8042 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8043 lt_prog_compiler_wl
='-Wl,'
8044 lt_prog_compiler_pic
='-KPIC'
8045 lt_prog_compiler_static
='-Bstatic'
8049 if test -d /usr
/nec
;then
8050 lt_prog_compiler_pic
='-Kconform_pic'
8051 lt_prog_compiler_static
='-Bstatic'
8055 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8056 lt_prog_compiler_wl
='-Wl,'
8057 lt_prog_compiler_pic
='-KPIC'
8058 lt_prog_compiler_static
='-Bstatic'
8062 lt_prog_compiler_wl
='-Wl,'
8063 lt_prog_compiler_can_build_shared
=no
8067 lt_prog_compiler_pic
='-pic'
8068 lt_prog_compiler_static
='-Bstatic'
8072 lt_prog_compiler_can_build_shared
=no
8078 # For platforms which do not support PIC, -DPIC is meaningless:
8080 lt_prog_compiler_pic
=
8083 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8086 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8087 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8095 # Check to make sure the PIC flag actually works.
8097 if test -n "$lt_prog_compiler_pic"; then
8098 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8099 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8100 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8101 echo $ECHO_N "(cached) $ECHO_C" >&6
8103 lt_cv_prog_compiler_pic_works
=no
8104 ac_outfile
=conftest.
$ac_objext
8105 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8106 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8107 # Insert the option either (1) after the last *FLAGS variable, or
8108 # (2) before a word containing "conftest.", or (3) at the end.
8109 # Note that $ac_compile itself does not contain backslashes and begins
8110 # with a dollar sign (not a hyphen), so the echo should work correctly.
8111 # The option is referenced via a variable to avoid confusing sed.
8112 lt_compile
=`echo "$ac_compile" | $SED \
8113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8115 -e 's:$: $lt_compiler_flag:'`
8116 (eval echo "\"\$as_me:8116: $lt_compile\"" >&5)
8117 (eval "$lt_compile" 2>conftest.err
)
8119 cat conftest.err
>&5
8120 echo "$as_me:8120: \$? = $ac_status" >&5
8121 if (exit $ac_status) && test -s "$ac_outfile"; then
8122 # The compiler can only warn and ignore the option if not recognized
8123 # So say no if there are warnings other than the usual output.
8124 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8125 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8126 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8127 lt_cv_prog_compiler_pic_works
=yes
8133 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8134 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8136 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8137 case $lt_prog_compiler_pic in
8139 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8142 lt_prog_compiler_pic
=
8143 lt_prog_compiler_can_build_shared
=no
8154 # Check to make sure the static flag actually works.
8156 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8157 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8158 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8159 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8160 echo $ECHO_N "(cached) $ECHO_C" >&6
8162 lt_cv_prog_compiler_static_works
=no
8163 save_LDFLAGS
="$LDFLAGS"
8164 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8165 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8166 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8167 # The linker can only warn and ignore the option if not recognized
8168 # So say no if there are warnings
8169 if test -s conftest.err
; then
8170 # Append any errors to the config.log.
8171 cat conftest.err
1>&5
8172 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8173 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8174 if diff conftest.exp conftest.er2
>/dev
/null
; then
8175 lt_cv_prog_compiler_static_works
=yes
8178 lt_cv_prog_compiler_static_works
=yes
8182 LDFLAGS
="$save_LDFLAGS"
8185 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8186 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8188 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8191 lt_prog_compiler_static
=
8200 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8201 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8202 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8205 lt_cv_prog_compiler_c_o
=no
8206 $RM -r conftest
2>/dev
/null
8210 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8212 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8213 # Insert the option either (1) after the last *FLAGS variable, or
8214 # (2) before a word containing "conftest.", or (3) at the end.
8215 # Note that $ac_compile itself does not contain backslashes and begins
8216 # with a dollar sign (not a hyphen), so the echo should work correctly.
8217 lt_compile
=`echo "$ac_compile" | $SED \
8218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8220 -e 's:$: $lt_compiler_flag:'`
8221 (eval echo "\"\$as_me:8221: $lt_compile\"" >&5)
8222 (eval "$lt_compile" 2>out
/conftest.err
)
8224 cat out
/conftest.err
>&5
8225 echo "$as_me:8225: \$? = $ac_status" >&5
8226 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8228 # The compiler can only warn and ignore the option if not recognized
8229 # So say no if there are warnings
8230 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8231 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8232 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8233 lt_cv_prog_compiler_c_o
=yes
8238 # SGI C++ compiler will create directory out/ii_files/ for
8239 # template instantiation
8240 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8241 $RM out
/* && rmdir out
8247 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8248 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8255 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8256 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8257 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8258 echo $ECHO_N "(cached) $ECHO_C" >&6
8260 lt_cv_prog_compiler_c_o
=no
8261 $RM -r conftest
2>/dev
/null
8265 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8267 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8268 # Insert the option either (1) after the last *FLAGS variable, or
8269 # (2) before a word containing "conftest.", or (3) at the end.
8270 # Note that $ac_compile itself does not contain backslashes and begins
8271 # with a dollar sign (not a hyphen), so the echo should work correctly.
8272 lt_compile
=`echo "$ac_compile" | $SED \
8273 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8274 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8275 -e 's:$: $lt_compiler_flag:'`
8276 (eval echo "\"\$as_me:8276: $lt_compile\"" >&5)
8277 (eval "$lt_compile" 2>out
/conftest.err
)
8279 cat out
/conftest.err
>&5
8280 echo "$as_me:8280: \$? = $ac_status" >&5
8281 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8283 # The compiler can only warn and ignore the option if not recognized
8284 # So say no if there are warnings
8285 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8286 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8287 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8288 lt_cv_prog_compiler_c_o
=yes
8293 # SGI C++ compiler will create directory out/ii_files/ for
8294 # template instantiation
8295 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8296 $RM out
/* && rmdir out
8302 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8303 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8308 hard_links
="nottested"
8309 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8310 # do not overwrite the value of need_locks provided by the user
8311 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8312 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8315 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8317 ln conftest.a conftest.b
2>&5 || hard_links
=no
8318 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8319 echo "$as_me:$LINENO: result: $hard_links" >&5
8320 echo "${ECHO_T}$hard_links" >&6
8321 if test "$hard_links" = no
; then
8322 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8323 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8335 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8336 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8339 allow_undefined_flag
=
8340 always_export_symbols
=no
8342 archive_expsym_cmds
=
8343 compiler_needs_object
=no
8344 enable_shared_with_static_runtimes
=no
8345 export_dynamic_flag_spec
=
8346 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8347 hardcode_automatic
=no
8349 hardcode_direct_absolute
=no
8350 hardcode_libdir_flag_spec
=
8351 hardcode_libdir_flag_spec_ld
=
8352 hardcode_libdir_separator
=
8354 hardcode_shlibpath_var
=unsupported
8356 link_all_deplibs
=unknown
8359 old_archive_from_new_cmds
=
8360 old_archive_from_expsyms_cmds
=
8361 thread_safe_flag_spec
=
8362 whole_archive_flag_spec
=
8363 # include_expsyms should be a list of space-separated symbols to be *always*
8364 # included in the symbol list
8366 # exclude_expsyms can be an extended regexp of symbols to exclude
8367 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8368 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8369 # as well as any symbol that contains `d'.
8370 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8371 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8372 # platforms (ab)use it in PIC code, but their linkers get confused if
8373 # the symbol is explicitly referenced. Since portable code cannot
8374 # rely on this symbol name, it's probably fine to never include it in
8375 # preloaded symbol tables.
8376 # Exclude shared library initialization/finalization symbols.
8377 extract_expsyms_cmds
=
8380 cygwin
* | mingw
* | pw32
* | cegcc
*)
8381 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8382 # When not using gcc, we currently assume that we are using
8383 # Microsoft Visual C++.
8384 if test "$GCC" != yes; then
8389 # we just hope/assume this is gcc and not c89 (= MSVC++)
8398 if test "$with_gnu_ld" = yes; then
8399 # If archive_cmds runs LD, not CC, wlarc should be empty
8402 # Set some defaults for GNU ld with shared library support. These
8403 # are reset later if shared libraries are not supported. Putting them
8404 # here allows them to be overridden if necessary.
8405 runpath_var
=LD_RUN_PATH
8406 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8407 export_dynamic_flag_spec
='${wl}--export-dynamic'
8408 # ancient GNU ld didn't support --whole-archive et. al.
8409 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8410 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8412 whole_archive_flag_spec
=
8414 supports_anon_versioning
=no
8415 case `$LD -v 2>&1` in
8416 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8417 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8418 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8419 *\
2.11.
*) ;; # other 2.11 versions
8420 *) supports_anon_versioning
=yes ;;
8423 # See if GNU ld supports shared libraries.
8426 # On AIX/PPC, the GNU linker is very broken
8427 if test "$host_cpu" != ia64
; then
8431 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8432 *** to be unable to reliably create shared libraries on AIX.
8433 *** Therefore, libtool is disabling shared libraries support. If you
8434 *** really care for shared libraries, you may want to modify your PATH
8435 *** so that a non-GNU linker is found, and then restart.
8444 # see comment about AmigaOS4 .so support
8445 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8446 archive_expsym_cmds
=''
8449 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)'
8450 hardcode_libdir_flag_spec
='-L$libdir'
8451 hardcode_minus_L
=yes
8457 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8458 allow_undefined_flag
=unsupported
8459 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8460 # support --undefined. This deserves some investigation. FIXME
8461 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8467 cygwin
* | mingw
* | pw32
* | cegcc
*)
8468 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8469 # as there is no search path for DLLs.
8470 hardcode_libdir_flag_spec
='-L$libdir'
8471 allow_undefined_flag
=unsupported
8472 always_export_symbols
=no
8473 enable_shared_with_static_runtimes
=yes
8474 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8476 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8477 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8478 # If the export-symbols file already is a .def file (1st line
8479 # is EXPORTS), use it as is; otherwise, prepend...
8480 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8481 cp $export_symbols $output_objdir/$soname.def;
8483 echo EXPORTS > $output_objdir/$soname.def;
8484 cat $export_symbols >> $output_objdir/$soname.def;
8486 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8494 hardcode_shlibpath_var
=no
8495 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8496 export_dynamic_flag_spec
='${wl}-E'
8497 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8498 # Instead, shared libraries are loaded at an image base (0x10000000 by
8499 # default) and relocated if they conflict, which is a slow very memory
8500 # consuming and fragmenting process. To avoid this, we pick a random,
8501 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8502 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8503 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8504 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'
8507 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8509 if test "$host_os" = linux-dietlibc
; then
8510 case $cc_basename in
8511 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8514 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8515 && test "$tmp_diet" = no
8518 tmp_sharedflag
='-shared'
8519 case $cc_basename,$host_cpu in
8520 pgcc
*) # Portland Group C compiler
8521 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'
8522 tmp_addflag
=' $pic_flag'
8524 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8525 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'
8526 tmp_addflag
=' $pic_flag -Mnomain' ;;
8527 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8528 tmp_addflag
=' -i_dynamic' ;;
8529 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8530 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8531 ifc
* | ifort
*) # Intel Fortran compiler
8532 tmp_addflag
=' -nofor_main' ;;
8533 lf95
*) # Lahey Fortran 8.1
8534 whole_archive_flag_spec
=
8535 tmp_sharedflag
='--shared' ;;
8536 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8537 tmp_sharedflag
='-qmkshrobj'
8540 case `$CC -V 2>&1 | sed 5q` in
8541 *Sun\ C
*) # Sun C 5.9
8542 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'
8543 compiler_needs_object
=yes
8544 tmp_sharedflag
='-G' ;;
8545 *Sun\ F
*) # Sun Fortran 8.3
8546 tmp_sharedflag
='-G' ;;
8548 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8550 if test "x$supports_anon_versioning" = xyes
; then
8551 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8552 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8553 echo "local: *; };" >> $output_objdir/$libname.ver~
8554 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8557 case $cc_basename in
8559 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8560 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8561 hardcode_libdir_flag_spec
=
8562 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8563 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8564 if test "x$supports_anon_versioning" = xyes
; then
8565 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8566 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8567 echo "local: *; };" >> $output_objdir/$libname.ver~
8568 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8578 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8579 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8582 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8583 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8588 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8592 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8593 *** create shared libraries on Solaris systems. Therefore, libtool
8594 *** is disabling shared libraries support. We urge you to upgrade GNU
8595 *** binutils to release 2.9.1 or newer. Another option is to modify
8596 *** your PATH or compiler configuration so that the native linker is
8597 *** used, and then restart.
8600 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8601 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8602 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8608 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8609 case `$LD -v 2>&1` in
8610 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8614 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8615 *** reliably create shared libraries on SCO systems. Therefore, libtool
8616 *** is disabling shared libraries support. We urge you to upgrade GNU
8617 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8618 *** your PATH or compiler configuration so that the native linker is
8619 *** used, and then restart.
8624 # For security reasons, it is highly recommended that you always
8625 # use absolute paths for naming shared libraries, and exclude the
8626 # DT_RUNPATH tag from executables and libraries. But doing so
8627 # requires that you compile everything twice, which is a pain.
8628 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8629 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8630 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8631 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8640 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8643 hardcode_shlibpath_var
=no
8647 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8648 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8649 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8656 if test "$ld_shlibs" = no
; then
8658 hardcode_libdir_flag_spec
=
8659 export_dynamic_flag_spec
=
8660 whole_archive_flag_spec
=
8663 # PORTME fill in a description of your system's linker (not GNU ld)
8666 allow_undefined_flag
=unsupported
8667 always_export_symbols
=yes
8668 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'
8669 # Note: this linker hardcodes the directories in LIBPATH if there
8670 # are no directories specified by -L.
8671 hardcode_minus_L
=yes
8672 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8673 # Neither direct hardcoding nor static linking is supported with a
8675 hardcode_direct
=unsupported
8680 if test "$host_cpu" = ia64
; then
8681 # On IA64, the linker does run time linking by default, so we don't
8682 # have to do anything special.
8683 aix_use_runtimelinking
=no
8684 exp_sym_flag
='-Bexport'
8687 # If we're using GNU nm, then we don't want the "-C" option.
8688 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8689 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8690 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'
8692 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'
8694 aix_use_runtimelinking
=no
8696 # Test if we are trying to use run time linking or normal
8697 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8698 # need to do runtime linking.
8699 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8700 for ld_flag
in $LDFLAGS; do
8701 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8702 aix_use_runtimelinking
=yes
8709 exp_sym_flag
='-bexport'
8710 no_entry_flag
='-bnoentry'
8713 # When large executables or shared objects are built, AIX ld can
8714 # have problems creating the table of contents. If linking a library
8715 # or program results in "error TOC overflow" add -mminimal-toc to
8716 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8717 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8721 hardcode_direct_absolute
=yes
8722 hardcode_libdir_separator
=':'
8723 link_all_deplibs
=yes
8724 file_list_spec
='${wl}-f,'
8726 if test "$GCC" = yes; then
8727 case $host_os in aix4.
[012]|aix4.
[012].
*)
8728 # We only want to do this on AIX 4.2 and lower, the check
8729 # below for broken collect2 doesn't work under 4.3+
8730 collect2name
=`${CC} -print-prog-name=collect2`
8731 if test -f "$collect2name" &&
8732 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8734 # We have reworked collect2
8737 # We have old collect2
8738 hardcode_direct
=unsupported
8739 # It fails to find uninstalled libraries when the uninstalled
8740 # path is not listed in the libpath. Setting hardcode_minus_L
8741 # to unsupported forces relinking
8742 hardcode_minus_L
=yes
8743 hardcode_libdir_flag_spec
='-L$libdir'
8744 hardcode_libdir_separator
=
8748 shared_flag
='-shared'
8749 if test "$aix_use_runtimelinking" = yes; then
8750 shared_flag
="$shared_flag "'${wl}-G'
8754 if test "$host_cpu" = ia64
; then
8755 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8756 # chokes on -Wl,-G. The following line is correct:
8759 if test "$aix_use_runtimelinking" = yes; then
8760 shared_flag
='${wl}-G'
8762 shared_flag
='${wl}-bM:SRE'
8767 export_dynamic_flag_spec
='${wl}-bexpall'
8768 # It seems that -bexpall does not export symbols beginning with
8769 # underscore (_), so it is better to generate a list of symbols to export.
8770 always_export_symbols
=yes
8771 if test "$aix_use_runtimelinking" = yes; then
8772 # Warning - without using the other runtime loading flags (-brtl),
8773 # -berok will link without error, but may produce a broken library.
8774 allow_undefined_flag
='-berok'
8775 # Determine the default libpath from the value encoded in an
8777 cat >conftest.
$ac_ext <<_ACEOF
8780 cat confdefs.h
>>conftest.
$ac_ext
8781 cat >>conftest.
$ac_ext <<_ACEOF
8782 /* end confdefs.h. */
8792 rm -f conftest.
$ac_objext conftest
$ac_exeext
8793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8794 (eval $ac_link) 2>conftest.er1
8796 grep -v '^ *+' conftest.er1
>conftest.err
8798 cat conftest.err
>&5
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); } &&
8801 { ac_try
='test -z "$ac_c_werror_flag"
8802 || test ! -s conftest.err'
8803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); }; } &&
8808 { ac_try
='test -s conftest$ac_exeext'
8809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813 (exit $ac_status); }; }; then
8815 lt_aix_libpath_sed
='
8816 /Import File Strings/,/^$/ {
8822 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8823 # Check for a 64-bit object if we didn't find anything.
8824 if test -z "$aix_libpath"; then
8825 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8828 echo "$as_me: failed program was:" >&5
8829 sed 's/^/| /' conftest.
$ac_ext >&5
8832 rm -f conftest.err conftest.
$ac_objext \
8833 conftest
$ac_exeext conftest.
$ac_ext
8834 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8836 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8837 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"
8839 if test "$host_cpu" = ia64
; then
8840 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8841 allow_undefined_flag
="-z nodefs"
8842 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"
8844 # Determine the default libpath from the value encoded in an
8846 cat >conftest.
$ac_ext <<_ACEOF
8849 cat confdefs.h
>>conftest.
$ac_ext
8850 cat >>conftest.
$ac_ext <<_ACEOF
8851 /* end confdefs.h. */
8861 rm -f conftest.
$ac_objext conftest
$ac_exeext
8862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8863 (eval $ac_link) 2>conftest.er1
8865 grep -v '^ *+' conftest.er1
>conftest.err
8867 cat conftest.err
>&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); } &&
8870 { ac_try
='test -z "$ac_c_werror_flag"
8871 || test ! -s conftest.err'
8872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); }; } &&
8877 { ac_try
='test -s conftest$ac_exeext'
8878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); }; }; then
8884 lt_aix_libpath_sed
='
8885 /Import File Strings/,/^$/ {
8891 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8892 # Check for a 64-bit object if we didn't find anything.
8893 if test -z "$aix_libpath"; then
8894 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8897 echo "$as_me: failed program was:" >&5
8898 sed 's/^/| /' conftest.
$ac_ext >&5
8901 rm -f conftest.err conftest.
$ac_objext \
8902 conftest
$ac_exeext conftest.
$ac_ext
8903 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8905 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8906 # Warning - without using the other run time loading flags,
8907 # -berok will link without error, but may produce a broken library.
8908 no_undefined_flag
=' ${wl}-bernotok'
8909 allow_undefined_flag
=' ${wl}-berok'
8910 # Exported symbols can be pulled into shared objects from archives
8911 whole_archive_flag_spec
='$convenience'
8912 archive_cmds_need_lc
=yes
8913 # This is similar to how AIX traditionally builds its shared libraries.
8914 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'
8922 # see comment about AmigaOS4 .so support
8923 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8924 archive_expsym_cmds
=''
8927 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)'
8928 hardcode_libdir_flag_spec
='-L$libdir'
8929 hardcode_minus_L
=yes
8935 export_dynamic_flag_spec
=-rdynamic
8938 cygwin
* | mingw
* | pw32
* | cegcc
*)
8939 # When not using gcc, we currently assume that we are using
8940 # Microsoft Visual C++.
8941 # hardcode_libdir_flag_spec is actually meaningless, as there is
8942 # no search path for DLLs.
8943 hardcode_libdir_flag_spec
=' '
8944 allow_undefined_flag
=unsupported
8945 # Tell ltmain to make .lib files, not .a files.
8947 # Tell ltmain to make .dll files, not .so files.
8949 # FIXME: Setting linknames here is a bad hack.
8950 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8951 # The linker will automatically build a .lib file if we build a DLL.
8952 old_archive_from_new_cmds
='true'
8953 # FIXME: Should let the user specify the lib program.
8954 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8955 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8956 enable_shared_with_static_runtimes
=yes
8959 darwin
* | rhapsody
*)
8962 archive_cmds_need_lc
=no
8964 hardcode_automatic
=yes
8965 hardcode_shlibpath_var
=unsupported
8966 whole_archive_flag_spec
=''
8967 link_all_deplibs
=yes
8968 allow_undefined_flag
="$_lt_dar_allow_undefined"
8969 case $cc_basename in
8970 ifort
*) _lt_dar_can_shared
=yes ;;
8971 *) _lt_dar_can_shared
=$GCC ;;
8973 if test "$_lt_dar_can_shared" = "yes"; then
8974 output_verbose_link_cmd
=echo
8975 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8976 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8977 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8978 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8987 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8988 hardcode_libdir_flag_spec
='-L$libdir'
8989 hardcode_shlibpath_var
=no
8996 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8997 # support. Future versions do this automatically, but an explicit c++rt0.o
8998 # does not break anything, and helps significantly (at the cost of a little
9001 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9002 hardcode_libdir_flag_spec
='-R$libdir'
9004 hardcode_shlibpath_var
=no
9007 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9009 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9011 hardcode_minus_L
=yes
9012 hardcode_shlibpath_var
=no
9015 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9016 freebsd
* | dragonfly
*)
9017 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9018 hardcode_libdir_flag_spec
='-R$libdir'
9020 hardcode_shlibpath_var
=no
9024 if test "$GCC" = yes; then
9025 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'
9027 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'
9029 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9030 hardcode_libdir_separator
=:
9033 # hardcode_minus_L: Not really in the search PATH,
9034 # but as the default location of the library.
9035 hardcode_minus_L
=yes
9036 export_dynamic_flag_spec
='${wl}-E'
9040 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9041 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9043 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9045 if test "$with_gnu_ld" = no
; then
9046 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9047 hardcode_libdir_flag_spec_ld
='+b $libdir'
9048 hardcode_libdir_separator
=:
9050 hardcode_direct_absolute
=yes
9051 export_dynamic_flag_spec
='${wl}-E'
9052 # hardcode_minus_L: Not really in the search PATH,
9053 # but as the default location of the library.
9054 hardcode_minus_L
=yes
9059 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9062 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9065 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9068 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9074 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9077 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9080 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9084 if test "$with_gnu_ld" = no
; then
9085 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9086 hardcode_libdir_separator
=:
9091 hardcode_shlibpath_var
=no
9095 hardcode_direct_absolute
=yes
9096 export_dynamic_flag_spec
='${wl}-E'
9098 # hardcode_minus_L: Not really in the search PATH,
9099 # but as the default location of the library.
9100 hardcode_minus_L
=yes
9106 irix5
* | irix6
* | nonstopux
*)
9107 if test "$GCC" = yes; then
9108 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'
9109 # Try to use the -exported_symbol ld option, if it does not
9110 # work, assume that -exports_file does not work either and
9111 # implicitly export all symbols.
9112 save_LDFLAGS
="$LDFLAGS"
9113 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9114 cat >conftest.
$ac_ext <<_ACEOF
9117 rm -f conftest.
$ac_objext conftest
$ac_exeext
9118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9119 (eval $ac_link) 2>conftest.er1
9121 grep -v '^ *+' conftest.er1
>conftest.err
9123 cat conftest.err
>&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); } &&
9126 { ac_try
='test -z "$ac_c_werror_flag"
9127 || test ! -s conftest.err'
9128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); }; } &&
9133 { ac_try
='test -s conftest$ac_exeext'
9134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }; }; then
9139 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'
9142 echo "$as_me: failed program was:" >&5
9143 sed 's/^/| /' conftest.
$ac_ext >&5
9146 rm -f conftest.err conftest.
$ac_objext \
9147 conftest
$ac_exeext conftest.
$ac_ext
9148 LDFLAGS
="$save_LDFLAGS"
9150 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'
9151 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'
9153 archive_cmds_need_lc
='no'
9154 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9155 hardcode_libdir_separator
=:
9157 link_all_deplibs
=yes
9161 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9162 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9164 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9166 hardcode_libdir_flag_spec
='-R$libdir'
9168 hardcode_shlibpath_var
=no
9172 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9174 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9175 hardcode_libdir_separator
=:
9176 hardcode_shlibpath_var
=no
9183 if test -f /usr
/libexec
/ld.so
; then
9185 hardcode_shlibpath_var
=no
9186 hardcode_direct_absolute
=yes
9187 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9188 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9189 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9190 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9191 export_dynamic_flag_spec
='${wl}-E'
9194 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9195 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9196 hardcode_libdir_flag_spec
='-R$libdir'
9199 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9200 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9210 hardcode_libdir_flag_spec
='-L$libdir'
9211 hardcode_minus_L
=yes
9212 allow_undefined_flag
=unsupported
9213 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'
9214 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9218 if test "$GCC" = yes; then
9219 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9220 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'
9222 allow_undefined_flag
=' -expect_unresolved \*'
9223 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'
9225 archive_cmds_need_lc
='no'
9226 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9227 hardcode_libdir_separator
=:
9230 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9231 if test "$GCC" = yes; then
9232 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9233 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'
9234 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9236 allow_undefined_flag
=' -expect_unresolved \*'
9237 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'
9238 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~
9239 $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'
9241 # Both c and cxx compiler support -rpath directly
9242 hardcode_libdir_flag_spec
='-rpath $libdir'
9244 archive_cmds_need_lc
='no'
9245 hardcode_libdir_separator
=:
9249 no_undefined_flag
=' -z defs'
9250 if test "$GCC" = yes; then
9252 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9253 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9254 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9256 case `$CC -V 2>&1` in
9259 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9260 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9261 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9265 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9266 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9267 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9271 hardcode_libdir_flag_spec
='-R$libdir'
9272 hardcode_shlibpath_var
=no
9274 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9276 # The compiler driver will combine and reorder linker options,
9277 # but understands `-z linker_flag'. GCC discards it without `$wl',
9278 # but is careful enough not to reorder.
9279 # Supported since Solaris 2.6 (maybe 2.5.1?)
9280 if test "$GCC" = yes; then
9281 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9283 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9287 link_all_deplibs
=yes
9291 if test "x$host_vendor" = xsequent
; then
9292 # Use $CC to link under sequent, because it throws in some extra .o
9293 # files that make .init and .fini sections work.
9294 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9296 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9298 hardcode_libdir_flag_spec
='-L$libdir'
9300 hardcode_minus_L
=yes
9301 hardcode_shlibpath_var
=no
9305 case $host_vendor in
9307 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9308 hardcode_direct
=yes # is this really true???
9311 ## LD is ld it makes a PLAMLIB
9312 ## CC just makes a GrossModule.
9313 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9314 reload_cmds
='$CC -r -o $output$reload_objs'
9318 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9319 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9322 runpath_var
='LD_RUN_PATH'
9323 hardcode_shlibpath_var
=no
9327 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9328 hardcode_shlibpath_var
=no
9329 export_dynamic_flag_spec
='-Bexport'
9333 if test -d /usr
/nec
; then
9334 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9335 hardcode_shlibpath_var
=no
9336 runpath_var
=LD_RUN_PATH
9337 hardcode_runpath_var
=yes
9342 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9343 no_undefined_flag
='${wl}-z,text'
9344 archive_cmds_need_lc
=no
9345 hardcode_shlibpath_var
=no
9346 runpath_var
='LD_RUN_PATH'
9348 if test "$GCC" = yes; then
9349 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9350 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9352 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9353 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9357 sysv5
* | sco3.2v5
* | sco5v6
*)
9358 # Note: We can NOT use -z defs as we might desire, because we do not
9359 # link with -lc, and that would cause any symbols used from libc to
9360 # always be unresolved, which means just about no library would
9361 # ever link correctly. If we're not using GNU ld we use -z text
9362 # though, which does catch some bad symbols but isn't as heavy-handed
9364 no_undefined_flag
='${wl}-z,text'
9365 allow_undefined_flag
='${wl}-z,nodefs'
9366 archive_cmds_need_lc
=no
9367 hardcode_shlibpath_var
=no
9368 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9369 hardcode_libdir_separator
=':'
9370 link_all_deplibs
=yes
9371 export_dynamic_flag_spec
='${wl}-Bexport'
9372 runpath_var
='LD_RUN_PATH'
9374 if test "$GCC" = yes; then
9375 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9376 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9378 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9379 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9384 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9385 hardcode_libdir_flag_spec
='-L$libdir'
9386 hardcode_shlibpath_var
=no
9394 if test x
$host_vendor = xsni
; then
9396 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9397 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9403 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9404 echo "${ECHO_T}$ld_shlibs" >&6
9405 test "$ld_shlibs" = no
&& can_build_shared
=no
9407 with_gnu_ld
=$with_gnu_ld
9424 # Do we need to explicitly link libc?
9426 case "x$archive_cmds_need_lc" in
9428 # Assume -lc should be added
9429 archive_cmds_need_lc
=yes
9431 if test "$enable_shared" = yes && test "$GCC" = yes; then
9432 case $archive_cmds in
9434 # FIXME: we may have to deal with multi-command sequences.
9437 # Test whether the compiler implicitly links with -lc since on some
9438 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9439 # to ld, don't add -lc before -lgcc.
9440 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9441 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9442 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9443 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9449 (eval $ac_compile) 2>&5
9451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9452 (exit $ac_status); } 2>conftest.err
; then
9455 libobjs
=conftest.
$ac_objext
9457 wl
=$lt_prog_compiler_wl
9458 pic_flag
=$lt_prog_compiler_pic
9464 lt_save_allow_undefined_flag
=$allow_undefined_flag
9465 allow_undefined_flag
=
9466 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9467 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); }
9472 lt_cv_archive_cmds_need_lc
=no
9474 lt_cv_archive_cmds_need_lc
=yes
9476 allow_undefined_flag
=$lt_save_allow_undefined_flag
9478 cat conftest.err
1>&5
9483 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9484 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9485 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9648 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9649 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9651 if test "$GCC" = yes; then
9653 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9654 *) lt_awk_arg
="/^libraries:/" ;;
9656 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9657 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9658 # if the path contains ";" then we assume it to be the separator
9659 # otherwise default to the standard path separator (i.e. ":") - it is
9660 # assumed that no part of a normal pathname contains ";" but that should
9661 # okay in the real world where ";" in dirpaths is itself problematic.
9662 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9664 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9666 # Ok, now we have the path, separated by spaces, we can step through it
9667 # and add multilib dir if necessary.
9668 lt_tmp_lt_search_path_spec
=
9669 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9670 for lt_sys_path
in $lt_search_path_spec; do
9671 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9672 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9674 test -d "$lt_sys_path" && \
9675 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9678 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9679 BEGIN {RS=" "; FS="/|\n";} {
9682 for (lt_i = NF; lt_i > 0; lt_i--) {
9683 if ($lt_i != "" && $lt_i != ".") {
9684 if ($lt_i == "..") {
9687 if (lt_count == 0) {
9688 lt_foo="/" $lt_i lt_foo;
9695 if (lt_foo != "") { lt_freq[lt_foo]++; }
9696 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9698 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9700 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9703 libname_spec
='lib$name'
9711 shlibpath_overrides_runpath
=unknown
9713 dynamic_linker
="$host_os ld.so"
9714 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9715 need_lib_prefix
=unknown
9716 hardcode_into_libs
=no
9718 # when you set need_version to no, make sure it does not cause -set_version
9719 # flags to be left without arguments
9720 need_version
=unknown
9725 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9726 shlibpath_var
=LIBPATH
9728 # AIX 3 has no versioning support, so we append a major version to the name.
9729 soname_spec
='${libname}${release}${shared_ext}$major'
9736 hardcode_into_libs
=yes
9737 if test "$host_cpu" = ia64
; then
9738 # AIX 5 supports IA64
9739 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9740 shlibpath_var
=LD_LIBRARY_PATH
9742 # With GCC up to 2.95.x, collect2 would create an import file
9743 # for dependence libraries. The import file would start with
9744 # the line `#! .'. This would cause the generated library to
9745 # depend on `.', always an invalid library. This was fixed in
9746 # development snapshots of GCC prior to 3.0.
9748 aix4 | aix4.
[01] | aix4.
[01].
*)
9749 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9751 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9758 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9759 # soname into executable. Probably we can add versioning support to
9760 # collect2, so additional links can be useful in future.
9761 if test "$aix_use_runtimelinking" = yes; then
9762 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9763 # instead of lib<name>.a to let people know that these are not
9764 # typical AIX shared libraries.
9765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9767 # We preserve .a as extension for shared libraries through AIX4.2
9768 # and later when we are not doing run time linking.
9769 library_names_spec
='${libname}${release}.a $libname.a'
9770 soname_spec
='${libname}${release}${shared_ext}$major'
9772 shlibpath_var
=LIBPATH
9779 # Since July 2007 AmigaOS4 officially supports .so libraries.
9780 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9784 library_names_spec
='$libname.ixlibrary $libname.a'
9785 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9786 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'
9792 library_names_spec
='${libname}${shared_ext}'
9793 dynamic_linker
="$host_os ld.so"
9794 shlibpath_var
=LIBRARY_PATH
9800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9801 soname_spec
='${libname}${release}${shared_ext}$major'
9802 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9803 shlibpath_var
=LD_LIBRARY_PATH
9804 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9805 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9806 # the default ld.so.conf also contains /usr/contrib/lib and
9807 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9808 # libtool to hard-code these into programs
9811 cygwin
* | mingw
* | pw32
* | cegcc
*)
9812 version_type
=windows
9817 case $GCC,$host_os in
9818 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9819 library_names_spec
='$libname.dll.a'
9820 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9821 postinstall_cmds
='base_file=`basename \${file}`~
9822 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9823 dldir=$destdir/`dirname \$dlpath`~
9824 test -d \$dldir || mkdir -p \$dldir~
9825 $install_prog $dir/$dlname \$dldir/$dlname~
9826 chmod a+x \$dldir/$dlname~
9827 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9828 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9830 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9831 dlpath=$dir/\$dldll~
9833 shlibpath_overrides_runpath
=yes
9837 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9838 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9839 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9842 # MinGW DLLs use traditional 'lib' prefix
9843 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9844 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9845 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9846 # It is most probably a Windows format PATH printed by
9847 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9848 # path with ; separators, and with drive letters. We can handle the
9849 # drive letters (cygwin fileutils understands them), so leave them,
9850 # especially as we might pass files found there to a mingw objdump,
9851 # which wouldn't understand a cygwinified path. Ahh.
9852 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9854 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9858 # pw32 DLLs use 'pw' prefix rather than 'lib'
9859 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9865 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9868 dynamic_linker
='Win32 ld.exe'
9869 # FIXME: first we should search . and the directory the executable is in
9873 darwin
* | rhapsody
*)
9874 dynamic_linker
="$host_os dyld"
9878 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9879 soname_spec
='${libname}${release}${major}$shared_ext'
9880 shlibpath_overrides_runpath
=yes
9881 shlibpath_var
=DYLD_LIBRARY_PATH
9882 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9884 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9885 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9893 soname_spec
='${libname}${release}${shared_ext}$major'
9894 shlibpath_var
=LD_LIBRARY_PATH
9901 freebsd
* | dragonfly
*)
9902 # DragonFly does not have aout. When/if they implement a new
9903 # versioning mechanism, adjust this.
9904 if test -x /usr
/bin
/objformat
; then
9905 objformat
=`/usr/bin/objformat`
9908 freebsd
[123]*) objformat
=aout
;;
9912 version_type
=freebsd-
$objformat
9913 case $version_type in
9915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9920 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9924 shlibpath_var
=LD_LIBRARY_PATH
9927 shlibpath_overrides_runpath
=yes
9929 freebsd3.
[01]* | freebsdelf3.
[01]*)
9930 shlibpath_overrides_runpath
=yes
9931 hardcode_into_libs
=yes
9933 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9934 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9935 shlibpath_overrides_runpath
=no
9936 hardcode_into_libs
=yes
9938 *) # from 4.6 on, and DragonFly
9939 shlibpath_overrides_runpath
=yes
9940 hardcode_into_libs
=yes
9949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9950 soname_spec
='${libname}${release}${shared_ext}$major'
9951 shlibpath_var
=LD_LIBRARY_PATH
9952 hardcode_into_libs
=yes
9955 hpux9
* | hpux10
* | hpux11
*)
9956 # Give a soname corresponding to the major version so that dld.sl refuses to
9957 # link against other versions.
9964 hardcode_into_libs
=yes
9965 dynamic_linker
="$host_os dld.so"
9966 shlibpath_var
=LD_LIBRARY_PATH
9967 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9969 soname_spec
='${libname}${release}${shared_ext}$major'
9970 if test "X$HPUX_IA64_MODE" = X32
; then
9971 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9973 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9975 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9979 hardcode_into_libs
=yes
9980 dynamic_linker
="$host_os dld.sl"
9981 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9982 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9984 soname_spec
='${libname}${release}${shared_ext}$major'
9985 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9986 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9990 dynamic_linker
="$host_os dld.sl"
9991 shlibpath_var
=SHLIB_PATH
9992 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9994 soname_spec
='${libname}${release}${shared_ext}$major'
9997 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9998 postinstall_cmds
='chmod 555 $lib'
10005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10006 soname_spec
='${libname}${release}${shared_ext}$major'
10007 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10008 shlibpath_var
=LD_LIBRARY_PATH
10009 shlibpath_overrides_runpath
=no
10010 hardcode_into_libs
=yes
10013 irix5
* | irix6
* | nonstopux
*)
10015 nonstopux
*) version_type
=nonstopux
;;
10017 if test "$lt_cv_prog_gnu_ld" = yes; then
10025 soname_spec
='${libname}${release}${shared_ext}$major'
10026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10028 irix5
* | nonstopux
*)
10029 libsuff
= shlibsuff
=
10032 case $LD in # libtool.m4 will add one of these switches to LD
10033 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10034 libsuff
= shlibsuff
= libmagic
=32-bit;;
10035 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10036 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10037 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10038 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10039 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10043 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10044 shlibpath_overrides_runpath
=no
10045 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10046 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10047 hardcode_into_libs
=yes
10050 # No shared lib support for Linux oldld, aout, or coff.
10051 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10055 # This must be Linux ELF.
10056 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061 soname_spec
='${libname}${release}${shared_ext}$major'
10062 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10063 shlibpath_var
=LD_LIBRARY_PATH
10064 shlibpath_overrides_runpath
=no
10066 # Some binutils ld are patched to set DT_RUNPATH
10067 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10068 echo $ECHO_N "(cached) $ECHO_C" >&6
10070 lt_cv_shlibpath_overrides_runpath
=no
10071 save_LDFLAGS
=$LDFLAGS
10072 save_libdir
=$libdir
10073 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10074 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10075 cat >conftest.
$ac_ext <<_ACEOF
10078 cat confdefs.h
>>conftest.
$ac_ext
10079 cat >>conftest.
$ac_ext <<_ACEOF
10080 /* end confdefs.h. */
10090 rm -f conftest.
$ac_objext conftest
$ac_exeext
10091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10092 (eval $ac_link) 2>conftest.er1
10094 grep -v '^ *+' conftest.er1
>conftest.err
10096 cat conftest.err
>&5
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); } &&
10099 { ac_try
='test -z "$ac_c_werror_flag"
10100 || test ! -s conftest.err'
10101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10102 (eval $ac_try) 2>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); }; } &&
10106 { ac_try
='test -s conftest$ac_exeext'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; }; then
10112 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
10113 lt_cv_shlibpath_overrides_runpath
=yes
10117 echo "$as_me: failed program was:" >&5
10118 sed 's/^/| /' conftest.
$ac_ext >&5
10121 rm -f conftest.err conftest.
$ac_objext \
10122 conftest
$ac_exeext conftest.
$ac_ext
10123 LDFLAGS
=$save_LDFLAGS
10124 libdir
=$save_libdir
10128 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10130 # This implies no fast_install, which is unacceptable.
10131 # Some rework will be needed to allow for fast_install
10132 # before this can be enabled.
10133 hardcode_into_libs
=yes
10135 # Append ld.so.conf contents to the search path
10136 if test -f /etc
/ld.so.conf
; then
10137 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10138 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10141 # We used to test for /lib/ld.so.1 and disable shared libraries on
10142 # powerpc, because MkLinux only supported shared libraries with the
10143 # GNU dynamic linker. Since this was broken with cross compilers,
10144 # most powerpc-linux boxes support dynamic linking these days and
10145 # people can always --disable-shared, the test was removed, and we
10146 # assume the GNU/Linux dynamic linker is in use.
10147 dynamic_linker
='GNU/Linux ld.so'
10154 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10156 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10157 dynamic_linker
='NetBSD (a.out) ld.so'
10159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10160 soname_spec
='${libname}${release}${shared_ext}$major'
10161 dynamic_linker
='NetBSD ld.elf_so'
10163 shlibpath_var
=LD_LIBRARY_PATH
10164 shlibpath_overrides_runpath
=yes
10165 hardcode_into_libs
=yes
10170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10171 shlibpath_var
=LD_LIBRARY_PATH
10172 shlibpath_overrides_runpath
=yes
10179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10180 soname_spec
='${libname}${release}${shared_ext}$major'
10181 shlibpath_var
=LD_LIBRARY_PATH
10182 shlibpath_overrides_runpath
=no
10183 hardcode_into_libs
=yes
10184 dynamic_linker
='ldqnx.so'
10189 sys_lib_dlsearch_path_spec
="/usr/lib"
10191 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10193 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10194 *) need_version
=no
;;
10196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10197 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10198 shlibpath_var
=LD_LIBRARY_PATH
10199 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10201 openbsd2.
[89] | openbsd2.
[89].
*)
10202 shlibpath_overrides_runpath
=no
10205 shlibpath_overrides_runpath
=yes
10209 shlibpath_overrides_runpath
=yes
10214 libname_spec
='$name'
10217 library_names_spec
='$libname${shared_ext} $libname.a'
10218 dynamic_linker
='OS/2 ld.exe'
10219 shlibpath_var
=LIBPATH
10222 osf3
* | osf4
* | osf5
*)
10226 soname_spec
='${libname}${release}${shared_ext}$major'
10227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10228 shlibpath_var
=LD_LIBRARY_PATH
10229 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10230 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10242 soname_spec
='${libname}${release}${shared_ext}$major'
10243 shlibpath_var
=LD_LIBRARY_PATH
10244 shlibpath_overrides_runpath
=yes
10245 hardcode_into_libs
=yes
10246 # ldd complains unless libraries are executable
10247 postinstall_cmds
='chmod +x $lib'
10252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10253 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10254 shlibpath_var
=LD_LIBRARY_PATH
10255 shlibpath_overrides_runpath
=yes
10256 if test "$with_gnu_ld" = yes; then
10264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10265 soname_spec
='${libname}${release}${shared_ext}$major'
10266 shlibpath_var
=LD_LIBRARY_PATH
10267 case $host_vendor in
10269 shlibpath_overrides_runpath
=no
10271 runpath_var
=LD_RUN_PATH
10279 shlibpath_overrides_runpath
=no
10280 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10286 if test -d /usr
/nec
;then
10288 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10289 soname_spec
='$libname${shared_ext}.$major'
10290 shlibpath_var
=LD_LIBRARY_PATH
10294 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10295 version_type
=freebsd-elf
10298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10299 soname_spec
='${libname}${release}${shared_ext}$major'
10300 shlibpath_var
=LD_LIBRARY_PATH
10301 shlibpath_overrides_runpath
=yes
10302 hardcode_into_libs
=yes
10303 if test "$with_gnu_ld" = yes; then
10304 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10306 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10309 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10313 sys_lib_dlsearch_path_spec
='/usr/lib'
10317 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10322 shlibpath_var
=LD_LIBRARY_PATH
10323 shlibpath_overrides_runpath
=no
10324 hardcode_into_libs
=yes
10329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10330 soname_spec
='${libname}${release}${shared_ext}$major'
10331 shlibpath_var
=LD_LIBRARY_PATH
10338 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10339 echo "${ECHO_T}$dynamic_linker" >&6
10340 test "$dynamic_linker" = no
&& can_build_shared
=no
10342 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10343 if test "$GCC" = yes; then
10344 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10347 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10348 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10350 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10351 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10440 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10441 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10443 if test -n "$hardcode_libdir_flag_spec" ||
10444 test -n "$runpath_var" ||
10445 test "X$hardcode_automatic" = "Xyes" ; then
10447 # We can hardcode non-existent directories.
10448 if test "$hardcode_direct" != no
&&
10449 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10450 # have to relink, otherwise we might link with an installed library
10451 # when we should be linking with a yet-to-be-installed one
10452 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10453 test "$hardcode_minus_L" != no
; then
10454 # Linking always hardcodes the temporary library directory.
10455 hardcode_action
=relink
10457 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10458 hardcode_action
=immediate
10461 # We cannot hardcode anything, or else we can only hardcode existing
10463 hardcode_action
=unsupported
10465 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10466 echo "${ECHO_T}$hardcode_action" >&6
10468 if test "$hardcode_action" = relink ||
10469 test "$inherit_rpath" = yes; then
10470 # Fast installation is not supported
10471 enable_fast_install
=no
10472 elif test "$shlibpath_overrides_runpath" = yes ||
10473 test "$enable_shared" = no
; then
10474 # Fast installation is not necessary
10475 enable_fast_install
=needless
10483 if test "x$enable_dlopen" != xyes
; then
10484 enable_dlopen
=unknown
10485 enable_dlopen_self
=unknown
10486 enable_dlopen_self_static
=unknown
10493 lt_cv_dlopen
="load_add_on"
10495 lt_cv_dlopen_self
=yes
10498 mingw
* | pw32
* | cegcc
*)
10499 lt_cv_dlopen
="LoadLibrary"
10504 lt_cv_dlopen
="dlopen"
10509 # if libdl is installed we need to link against it
10510 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10511 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10512 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10513 echo $ECHO_N "(cached) $ECHO_C" >&6
10515 ac_check_lib_save_LIBS
=$LIBS
10517 cat >conftest.
$ac_ext <<_ACEOF
10520 cat confdefs.h
>>conftest.
$ac_ext
10521 cat >>conftest.
$ac_ext <<_ACEOF
10522 /* end confdefs.h. */
10524 /* Override any gcc2 internal prototype to avoid an error. */
10528 /* We use char because int might match the return type of a gcc2
10529 builtin and then its argument prototype would still apply. */
10539 rm -f conftest.
$ac_objext conftest
$ac_exeext
10540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10541 (eval $ac_link) 2>conftest.er1
10543 grep -v '^ *+' conftest.er1
>conftest.err
10545 cat conftest.err
>&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); } &&
10548 { ac_try
='test -z "$ac_c_werror_flag"
10549 || test ! -s conftest.err'
10550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10551 (eval $ac_try) 2>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); }; } &&
10555 { ac_try
='test -s conftest$ac_exeext'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; }; then
10561 ac_cv_lib_dl_dlopen
=yes
10563 echo "$as_me: failed program was:" >&5
10564 sed 's/^/| /' conftest.
$ac_ext >&5
10566 ac_cv_lib_dl_dlopen
=no
10568 rm -f conftest.err conftest.
$ac_objext \
10569 conftest
$ac_exeext conftest.
$ac_ext
10570 LIBS
=$ac_check_lib_save_LIBS
10572 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10573 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10574 if test $ac_cv_lib_dl_dlopen = yes; then
10575 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10578 lt_cv_dlopen
="dyld"
10580 lt_cv_dlopen_self
=yes
10587 echo "$as_me:$LINENO: checking for shl_load" >&5
10588 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10589 if test "${ac_cv_func_shl_load+set}" = set; then
10590 echo $ECHO_N "(cached) $ECHO_C" >&6
10592 cat >conftest.
$ac_ext <<_ACEOF
10595 cat confdefs.h
>>conftest.
$ac_ext
10596 cat >>conftest.
$ac_ext <<_ACEOF
10597 /* end confdefs.h. */
10598 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10600 #define shl_load innocuous_shl_load
10602 /* System header to define __stub macros and hopefully few prototypes,
10603 which can conflict with char shl_load (); below.
10604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10605 <limits.h> exists even on freestanding compilers. */
10608 # include <limits.h>
10610 # include <assert.h>
10615 /* Override any gcc2 internal prototype to avoid an error. */
10620 /* We use char because int might match the return type of a gcc2
10621 builtin and then its argument prototype would still apply. */
10623 /* The GNU C library defines this for functions which it implements
10624 to always fail with ENOSYS. Some functions are actually named
10625 something starting with __ and the normal name is an alias. */
10626 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10629 char (*f) () = shl_load;
10638 return f != shl_load;
10643 rm -f conftest.
$ac_objext conftest
$ac_exeext
10644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10645 (eval $ac_link) 2>conftest.er1
10647 grep -v '^ *+' conftest.er1
>conftest.err
10649 cat conftest.err
>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); } &&
10652 { ac_try
='test -z "$ac_c_werror_flag"
10653 || test ! -s conftest.err'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; } &&
10659 { ac_try
='test -s conftest$ac_exeext'
10660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10661 (eval $ac_try) 2>&5
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); }; }; then
10665 ac_cv_func_shl_load
=yes
10667 echo "$as_me: failed program was:" >&5
10668 sed 's/^/| /' conftest.
$ac_ext >&5
10670 ac_cv_func_shl_load
=no
10672 rm -f conftest.err conftest.
$ac_objext \
10673 conftest
$ac_exeext conftest.
$ac_ext
10675 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10676 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10677 if test $ac_cv_func_shl_load = yes; then
10678 lt_cv_dlopen
="shl_load"
10680 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10681 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10682 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10683 echo $ECHO_N "(cached) $ECHO_C" >&6
10685 ac_check_lib_save_LIBS
=$LIBS
10687 cat >conftest.
$ac_ext <<_ACEOF
10690 cat confdefs.h
>>conftest.
$ac_ext
10691 cat >>conftest.
$ac_ext <<_ACEOF
10692 /* end confdefs.h. */
10694 /* Override any gcc2 internal prototype to avoid an error. */
10698 /* We use char because int might match the return type of a gcc2
10699 builtin and then its argument prototype would still apply. */
10709 rm -f conftest.
$ac_objext conftest
$ac_exeext
10710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10711 (eval $ac_link) 2>conftest.er1
10713 grep -v '^ *+' conftest.er1
>conftest.err
10715 cat conftest.err
>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } &&
10718 { ac_try
='test -z "$ac_c_werror_flag"
10719 || test ! -s conftest.err'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; } &&
10725 { ac_try
='test -s conftest$ac_exeext'
10726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10727 (eval $ac_try) 2>&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); }; }; then
10731 ac_cv_lib_dld_shl_load
=yes
10733 echo "$as_me: failed program was:" >&5
10734 sed 's/^/| /' conftest.
$ac_ext >&5
10736 ac_cv_lib_dld_shl_load
=no
10738 rm -f conftest.err conftest.
$ac_objext \
10739 conftest
$ac_exeext conftest.
$ac_ext
10740 LIBS
=$ac_check_lib_save_LIBS
10742 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10743 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10744 if test $ac_cv_lib_dld_shl_load = yes; then
10745 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10747 echo "$as_me:$LINENO: checking for dlopen" >&5
10748 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10749 if test "${ac_cv_func_dlopen+set}" = set; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 cat >conftest.
$ac_ext <<_ACEOF
10755 cat confdefs.h
>>conftest.
$ac_ext
10756 cat >>conftest.
$ac_ext <<_ACEOF
10757 /* end confdefs.h. */
10758 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10760 #define dlopen innocuous_dlopen
10762 /* System header to define __stub macros and hopefully few prototypes,
10763 which can conflict with char dlopen (); below.
10764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10765 <limits.h> exists even on freestanding compilers. */
10768 # include <limits.h>
10770 # include <assert.h>
10775 /* Override any gcc2 internal prototype to avoid an error. */
10780 /* We use char because int might match the return type of a gcc2
10781 builtin and then its argument prototype would still apply. */
10783 /* The GNU C library defines this for functions which it implements
10784 to always fail with ENOSYS. Some functions are actually named
10785 something starting with __ and the normal name is an alias. */
10786 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10789 char (*f) () = dlopen;
10798 return f != dlopen;
10803 rm -f conftest.
$ac_objext conftest
$ac_exeext
10804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10805 (eval $ac_link) 2>conftest.er1
10807 grep -v '^ *+' conftest.er1
>conftest.err
10809 cat conftest.err
>&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } &&
10812 { ac_try
='test -z "$ac_c_werror_flag"
10813 || test ! -s conftest.err'
10814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10815 (eval $ac_try) 2>&5
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); }; } &&
10819 { ac_try
='test -s conftest$ac_exeext'
10820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10821 (eval $ac_try) 2>&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); }; }; then
10825 ac_cv_func_dlopen
=yes
10827 echo "$as_me: failed program was:" >&5
10828 sed 's/^/| /' conftest.
$ac_ext >&5
10830 ac_cv_func_dlopen
=no
10832 rm -f conftest.err conftest.
$ac_objext \
10833 conftest
$ac_exeext conftest.
$ac_ext
10835 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10836 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10837 if test $ac_cv_func_dlopen = yes; then
10838 lt_cv_dlopen
="dlopen"
10840 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10841 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10842 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10843 echo $ECHO_N "(cached) $ECHO_C" >&6
10845 ac_check_lib_save_LIBS
=$LIBS
10847 cat >conftest.
$ac_ext <<_ACEOF
10850 cat confdefs.h
>>conftest.
$ac_ext
10851 cat >>conftest.
$ac_ext <<_ACEOF
10852 /* end confdefs.h. */
10854 /* Override any gcc2 internal prototype to avoid an error. */
10858 /* We use char because int might match the return type of a gcc2
10859 builtin and then its argument prototype would still apply. */
10869 rm -f conftest.
$ac_objext conftest
$ac_exeext
10870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10871 (eval $ac_link) 2>conftest.er1
10873 grep -v '^ *+' conftest.er1
>conftest.err
10875 cat conftest.err
>&5
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); } &&
10878 { ac_try
='test -z "$ac_c_werror_flag"
10879 || test ! -s conftest.err'
10880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10881 (eval $ac_try) 2>&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); }; } &&
10885 { ac_try
='test -s conftest$ac_exeext'
10886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10887 (eval $ac_try) 2>&5
10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); }; }; then
10891 ac_cv_lib_dl_dlopen
=yes
10893 echo "$as_me: failed program was:" >&5
10894 sed 's/^/| /' conftest.
$ac_ext >&5
10896 ac_cv_lib_dl_dlopen
=no
10898 rm -f conftest.err conftest.
$ac_objext \
10899 conftest
$ac_exeext conftest.
$ac_ext
10900 LIBS
=$ac_check_lib_save_LIBS
10902 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10903 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10904 if test $ac_cv_lib_dl_dlopen = yes; then
10905 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10907 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10908 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10909 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10910 echo $ECHO_N "(cached) $ECHO_C" >&6
10912 ac_check_lib_save_LIBS
=$LIBS
10913 LIBS
="-lsvld $LIBS"
10914 cat >conftest.
$ac_ext <<_ACEOF
10917 cat confdefs.h
>>conftest.
$ac_ext
10918 cat >>conftest.
$ac_ext <<_ACEOF
10919 /* end confdefs.h. */
10921 /* Override any gcc2 internal prototype to avoid an error. */
10925 /* We use char because int might match the return type of a gcc2
10926 builtin and then its argument prototype would still apply. */
10936 rm -f conftest.
$ac_objext conftest
$ac_exeext
10937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10938 (eval $ac_link) 2>conftest.er1
10940 grep -v '^ *+' conftest.er1
>conftest.err
10942 cat conftest.err
>&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); } &&
10945 { ac_try
='test -z "$ac_c_werror_flag"
10946 || test ! -s conftest.err'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; } &&
10952 { ac_try
='test -s conftest$ac_exeext'
10953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10954 (eval $ac_try) 2>&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; }; then
10958 ac_cv_lib_svld_dlopen
=yes
10960 echo "$as_me: failed program was:" >&5
10961 sed 's/^/| /' conftest.
$ac_ext >&5
10963 ac_cv_lib_svld_dlopen
=no
10965 rm -f conftest.err conftest.
$ac_objext \
10966 conftest
$ac_exeext conftest.
$ac_ext
10967 LIBS
=$ac_check_lib_save_LIBS
10969 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10970 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10971 if test $ac_cv_lib_svld_dlopen = yes; then
10972 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10974 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10975 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10976 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10977 echo $ECHO_N "(cached) $ECHO_C" >&6
10979 ac_check_lib_save_LIBS
=$LIBS
10981 cat >conftest.
$ac_ext <<_ACEOF
10984 cat confdefs.h
>>conftest.
$ac_ext
10985 cat >>conftest.
$ac_ext <<_ACEOF
10986 /* end confdefs.h. */
10988 /* Override any gcc2 internal prototype to avoid an error. */
10992 /* We use char because int might match the return type of a gcc2
10993 builtin and then its argument prototype would still apply. */
11003 rm -f conftest.
$ac_objext conftest
$ac_exeext
11004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11005 (eval $ac_link) 2>conftest.er1
11007 grep -v '^ *+' conftest.er1
>conftest.err
11009 cat conftest.err
>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } &&
11012 { ac_try
='test -z "$ac_c_werror_flag"
11013 || test ! -s conftest.err'
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; } &&
11019 { ac_try
='test -s conftest$ac_exeext'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 ac_cv_lib_dld_dld_link
=yes
11027 echo "$as_me: failed program was:" >&5
11028 sed 's/^/| /' conftest.
$ac_ext >&5
11030 ac_cv_lib_dld_dld_link
=no
11032 rm -f conftest.err conftest.
$ac_objext \
11033 conftest
$ac_exeext conftest.
$ac_ext
11034 LIBS
=$ac_check_lib_save_LIBS
11036 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11037 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11038 if test $ac_cv_lib_dld_dld_link = yes; then
11039 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11060 if test "x$lt_cv_dlopen" != xno
; then
11066 case $lt_cv_dlopen in
11068 save_CPPFLAGS
="$CPPFLAGS"
11069 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11071 save_LDFLAGS
="$LDFLAGS"
11072 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11075 LIBS
="$lt_cv_dlopen_libs $LIBS"
11077 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11078 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11079 if test "${lt_cv_dlopen_self+set}" = set; then
11080 echo $ECHO_N "(cached) $ECHO_C" >&6
11082 if test "$cross_compiling" = yes; then :
11083 lt_cv_dlopen_self
=cross
11085 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11086 lt_status
=$lt_dlunknown
11087 cat > conftest.
$ac_ext <<_LT_EOF
11088 #line 11088 "configure"
11089 #include "confdefs.h"
11098 # define LT_DLGLOBAL RTLD_GLOBAL
11101 # define LT_DLGLOBAL DL_GLOBAL
11103 # define LT_DLGLOBAL 0
11107 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11108 find out it does not work in some platform. */
11109 #ifndef LT_DLLAZY_OR_NOW
11111 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11114 # define LT_DLLAZY_OR_NOW DL_LAZY
11117 # define LT_DLLAZY_OR_NOW RTLD_NOW
11120 # define LT_DLLAZY_OR_NOW DL_NOW
11122 # define LT_DLLAZY_OR_NOW 0
11129 void fnord() { int i=42;}
11132 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11133 int status = $lt_dlunknown;
11137 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11138 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11139 /* dlclose (self); */
11147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11148 (eval $ac_link) 2>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11152 (.
/conftest
; exit; ) >&5 2>/dev
/null
11154 case x
$lt_status in
11155 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11156 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11157 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11160 # compilation failed
11161 lt_cv_dlopen_self
=no
11168 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11169 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11171 if test "x$lt_cv_dlopen_self" = xyes
; then
11172 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11173 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11174 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11175 if test "${lt_cv_dlopen_self_static+set}" = set; then
11176 echo $ECHO_N "(cached) $ECHO_C" >&6
11178 if test "$cross_compiling" = yes; then :
11179 lt_cv_dlopen_self_static
=cross
11181 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11182 lt_status
=$lt_dlunknown
11183 cat > conftest.
$ac_ext <<_LT_EOF
11184 #line 11184 "configure"
11185 #include "confdefs.h"
11194 # define LT_DLGLOBAL RTLD_GLOBAL
11197 # define LT_DLGLOBAL DL_GLOBAL
11199 # define LT_DLGLOBAL 0
11203 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11204 find out it does not work in some platform. */
11205 #ifndef LT_DLLAZY_OR_NOW
11207 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11210 # define LT_DLLAZY_OR_NOW DL_LAZY
11213 # define LT_DLLAZY_OR_NOW RTLD_NOW
11216 # define LT_DLLAZY_OR_NOW DL_NOW
11218 # define LT_DLLAZY_OR_NOW 0
11225 void fnord() { int i=42;}
11228 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11229 int status = $lt_dlunknown;
11233 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11234 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11235 /* dlclose (self); */
11243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11244 (eval $ac_link) 2>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11248 (.
/conftest
; exit; ) >&5 2>/dev
/null
11250 case x
$lt_status in
11251 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11252 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11253 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11256 # compilation failed
11257 lt_cv_dlopen_self_static
=no
11264 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11265 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11268 CPPFLAGS
="$save_CPPFLAGS"
11269 LDFLAGS
="$save_LDFLAGS"
11274 case $lt_cv_dlopen_self in
11275 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11276 *) enable_dlopen_self
=unknown
;;
11279 case $lt_cv_dlopen_self_static in
11280 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11281 *) enable_dlopen_self_static
=unknown
;;
11303 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11304 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11305 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11306 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11307 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11308 echo "$as_me:$LINENO: result: yes" >&5
11309 echo "${ECHO_T}yes" >&6
11311 # FIXME - insert some real tests, host_os isn't really good enough
11314 if test -n "$STRIP" ; then
11315 striplib
="$STRIP -x"
11316 old_striplib
="$STRIP -S"
11317 echo "$as_me:$LINENO: result: yes" >&5
11318 echo "${ECHO_T}yes" >&6
11320 echo "$as_me:$LINENO: result: no" >&5
11321 echo "${ECHO_T}no" >&6
11325 echo "$as_me:$LINENO: result: no" >&5
11326 echo "${ECHO_T}no" >&6
11342 # Report which library types will actually be built
11343 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11344 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11345 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11346 echo "${ECHO_T}$can_build_shared" >&6
11348 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11349 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11350 test "$can_build_shared" = "no" && enable_shared
=no
11352 # On AIX, shared libraries and static libraries use the same namespace, and
11353 # are all built from PIC.
11356 test "$enable_shared" = yes && enable_static
=no
11357 if test -n "$RANLIB"; then
11358 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11359 postinstall_cmds
='$RANLIB $lib'
11364 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11365 test "$enable_shared" = yes && enable_static
=no
11369 echo "$as_me:$LINENO: result: $enable_shared" >&5
11370 echo "${ECHO_T}$enable_shared" >&6
11372 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11373 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11374 # Make sure either enable_shared or enable_static is yes.
11375 test "$enable_shared" = yes || enable_static
=yes
11376 echo "$as_me:$LINENO: result: $enable_static" >&5
11377 echo "${ECHO_T}$enable_static" >&6
11384 ac_cpp
='$CPP $CPPFLAGS'
11385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11403 ac_config_commands
="$ac_config_commands libtool"
11408 # Only expand once:
11412 # Check whether --enable-targets or --disable-targets was given.
11413 if test "${enable_targets+set}" = set; then
11414 enableval
="$enable_targets"
11415 case "${enableval}" in
11416 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
11417 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
11418 { (exit 1); exit 1; }; }
11420 no
) enable_targets
= ;;
11421 *) enable_targets
=$enableval ;;
11425 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11427 # Check whether --enable-werror or --disable-werror was given.
11428 if test "${enable_werror+set}" = set; then
11429 enableval
="$enable_werror"
11430 case "${enableval}" in
11431 yes | y
) ERROR_ON_WARNING
="yes" ;;
11432 no | n
) ERROR_ON_WARNING
="no" ;;
11433 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
11434 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
11435 { (exit 1); exit 1; }; } ;;
11439 # Enable -Wno-format by default when using gcc on mingw
11442 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11443 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11449 # Enable -Werror by default when using gcc
11450 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11451 ERROR_ON_WARNING
=yes
11455 if test "${ERROR_ON_WARNING}" = yes ; then
11456 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11457 NO_WERROR
="-Wno-error"
11460 if test "${GCC}" = yes ; then
11461 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11464 # Check whether --enable-build-warnings or --disable-build-warnings was given.
11465 if test "${enable_build_warnings+set}" = set; then
11466 enableval
="$enable_build_warnings"
11467 case "${enableval}" in
11468 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
11469 no
) if test "${GCC}" = yes ; then
11472 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11473 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
11474 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11475 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
11476 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11480 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11481 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11488 ac_config_headers
="$ac_config_headers config.h:config.in"
11491 if test -z "$target" ; then
11492 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
11493 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
11494 { (exit 1); exit 1; }; }
11497 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11498 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
11499 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11500 if test "${enable_maintainer_mode+set}" = set; then
11501 enableval
="$enable_maintainer_mode"
11502 USE_MAINTAINER_MODE
=$enableval
11504 USE_MAINTAINER_MODE
=no
11506 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11507 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11510 if test $USE_MAINTAINER_MODE = yes; then
11511 MAINTAINER_MODE_TRUE
=
11512 MAINTAINER_MODE_FALSE
='#'
11514 MAINTAINER_MODE_TRUE
='#'
11515 MAINTAINER_MODE_FALSE
=
11518 MAINT
=$MAINTAINER_MODE_TRUE
11521 case ${build_alias} in
11522 "") build_noncanonical
=${build} ;;
11523 *) build_noncanonical
=${build_alias} ;;
11526 case ${host_alias} in
11527 "") host_noncanonical
=${build_noncanonical} ;;
11528 *) host_noncanonical
=${host_alias} ;;
11531 case ${target_alias} in
11532 "") target_noncanonical
=${host_noncanonical} ;;
11533 *) target_noncanonical
=${target_alias} ;;
11536 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
11537 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
11538 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
11539 if test "${enable_install_libbfd+set}" = set; then
11540 enableval
="$enable_install_libbfd"
11541 install_libbfd_p
=$enableval
11543 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
11544 install_libbfd_p
=yes
11546 install_libbfd_p
=no
11549 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
11550 echo "${ECHO_T}$install_libbfd_p" >&6
11553 if test $install_libbfd_p = yes; then
11554 INSTALL_LIBBFD_TRUE
=
11555 INSTALL_LIBBFD_FALSE
='#'
11557 INSTALL_LIBBFD_TRUE
='#'
11558 INSTALL_LIBBFD_FALSE
=
11561 # Need _noncanonical variables for this.
11566 # libbfd.a is a host library containing target dependent code
11567 bfdlibdir
='$(libdir)'
11568 bfdincludedir
='$(includedir)'
11569 if test "${host}" != "${target}"; then
11570 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
11571 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
11579 # host-specific stuff:
11581 ALL_LINGUAS
="fr sv tr es da de id pt_BR ro nl fi vi ga zh_CN"
11582 # If we haven't got the data from the intl directory,
11583 # assume NLS is disabled.
11592 if test -f ..
/intl
/config.intl
; then
11593 . ..
/intl
/config.intl
11595 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11596 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11597 if test x
"$USE_NLS" != xyes
; then
11598 echo "$as_me:$LINENO: result: no" >&5
11599 echo "${ECHO_T}no" >&6
11601 echo "$as_me:$LINENO: result: yes" >&5
11602 echo "${ECHO_T}yes" >&6
11604 cat >>confdefs.h
<<\_ACEOF
11605 #define ENABLE_NLS 1
11609 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
11610 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
11611 # Look for .po and .gmo files in the source directory.
11614 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11615 # If there aren't any .gmo files the shell will give us the
11616 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11618 case "$cat" in *\
**)
11621 # The quadruple backslash is collapsed to a double backslash
11622 # by the backticks, then collapsed again by the double quotes,
11623 # leaving us with one backslash in the sed expression (right
11624 # before the dot that mustn't act as a wildcard).
11625 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11626 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11627 # The user is allowed to set LINGUAS to a list of languages to
11628 # install catalogs for. If it's empty that means "all of them."
11629 if test "x$LINGUAS" = x
; then
11630 CATALOGS
="$CATALOGS $cat"
11631 XLINGUAS
="$XLINGUAS $lang"
11633 case "$LINGUAS" in *$lang*)
11634 CATALOGS
="$CATALOGS $cat"
11635 XLINGUAS
="$XLINGUAS $lang"
11640 LINGUAS
="$XLINGUAS"
11641 echo "$as_me:$LINENO: result: $LINGUAS" >&5
11642 echo "${ECHO_T}$LINGUAS" >&6
11656 if test -n "$ac_aux_dir"; then
11657 case "$ac_aux_dir" in
11658 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11659 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11662 if test -z "$MKINSTALLDIRS"; then
11663 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11668 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11669 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11670 # Check whether --enable-nls or --disable-nls was given.
11671 if test "${enable_nls+set}" = set; then
11672 enableval
="$enable_nls"
11677 echo "$as_me:$LINENO: result: $USE_NLS" >&5
11678 echo "${ECHO_T}$USE_NLS" >&6
11685 # Prepare PATH_SEPARATOR.
11686 # The user is always right.
11687 if test "${PATH_SEPARATOR+set}" != set; then
11688 echo "#! /bin/sh" >conf$$.sh
11689 echo "exit 0" >>conf$$.sh
11691 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11699 # Find out how to test for executable files. Don't use a zero-byte file,
11700 # as systems may use methods other than mode bits to determine executability.
11701 cat >conf$$.
file <<_ASEOF
11705 chmod +x conf$$.
file
11706 if test -x conf$$.
file >/dev
/null
2>&1; then
11707 ac_executable_p
="test -x"
11709 ac_executable_p
="test -f"
11713 # Extract the first word of "msgfmt", so it can be a program name with args.
11714 set dummy msgfmt
; ac_word
=$2
11715 echo "$as_me:$LINENO: checking for $ac_word" >&5
11716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11717 if test "${ac_cv_path_MSGFMT+set}" = set; then
11718 echo $ECHO_N "(cached) $ECHO_C" >&6
11722 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11725 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11726 for ac_dir
in $PATH; do
11728 test -z "$ac_dir" && ac_dir
=.
11729 for ac_exec_ext
in '' $ac_executable_extensions; do
11730 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11731 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11732 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11733 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11740 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11744 MSGFMT
="$ac_cv_path_MSGFMT"
11745 if test "$MSGFMT" != ":"; then
11746 echo "$as_me:$LINENO: result: $MSGFMT" >&5
11747 echo "${ECHO_T}$MSGFMT" >&6
11749 echo "$as_me:$LINENO: result: no" >&5
11750 echo "${ECHO_T}no" >&6
11753 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11754 set dummy gmsgfmt
; ac_word
=$2
11755 echo "$as_me:$LINENO: checking for $ac_word" >&5
11756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11757 if test "${ac_cv_path_GMSGFMT+set}" = set; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11762 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11766 for as_dir
in $PATH
11769 test -z "$as_dir" && as_dir
=.
11770 for ac_exec_ext
in '' $ac_executable_extensions; do
11771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11772 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11779 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11783 GMSGFMT
=$ac_cv_path_GMSGFMT
11785 if test -n "$GMSGFMT"; then
11786 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11787 echo "${ECHO_T}$GMSGFMT" >&6
11789 echo "$as_me:$LINENO: result: no" >&5
11790 echo "${ECHO_T}no" >&6
11795 # Prepare PATH_SEPARATOR.
11796 # The user is always right.
11797 if test "${PATH_SEPARATOR+set}" != set; then
11798 echo "#! /bin/sh" >conf$$.sh
11799 echo "exit 0" >>conf$$.sh
11801 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11809 # Find out how to test for executable files. Don't use a zero-byte file,
11810 # as systems may use methods other than mode bits to determine executability.
11811 cat >conf$$.
file <<_ASEOF
11815 chmod +x conf$$.
file
11816 if test -x conf$$.
file >/dev
/null
2>&1; then
11817 ac_executable_p
="test -x"
11819 ac_executable_p
="test -f"
11823 # Extract the first word of "xgettext", so it can be a program name with args.
11824 set dummy xgettext
; ac_word
=$2
11825 echo "$as_me:$LINENO: checking for $ac_word" >&5
11826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11827 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11830 case "$XGETTEXT" in
11832 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11835 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11836 for ac_dir
in $PATH; do
11838 test -z "$ac_dir" && ac_dir
=.
11839 for ac_exec_ext
in '' $ac_executable_extensions; do
11840 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11841 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11842 (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
11843 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11850 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11854 XGETTEXT
="$ac_cv_path_XGETTEXT"
11855 if test "$XGETTEXT" != ":"; then
11856 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11857 echo "${ECHO_T}$XGETTEXT" >&6
11859 echo "$as_me:$LINENO: result: no" >&5
11860 echo "${ECHO_T}no" >&6
11866 # Prepare PATH_SEPARATOR.
11867 # The user is always right.
11868 if test "${PATH_SEPARATOR+set}" != set; then
11869 echo "#! /bin/sh" >conf$$.sh
11870 echo "exit 0" >>conf$$.sh
11872 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11880 # Find out how to test for executable files. Don't use a zero-byte file,
11881 # as systems may use methods other than mode bits to determine executability.
11882 cat >conf$$.
file <<_ASEOF
11886 chmod +x conf$$.
file
11887 if test -x conf$$.
file >/dev
/null
2>&1; then
11888 ac_executable_p
="test -x"
11890 ac_executable_p
="test -f"
11894 # Extract the first word of "msgmerge", so it can be a program name with args.
11895 set dummy msgmerge
; ac_word
=$2
11896 echo "$as_me:$LINENO: checking for $ac_word" >&5
11897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11898 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11899 echo $ECHO_N "(cached) $ECHO_C" >&6
11901 case "$MSGMERGE" in
11903 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11906 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11907 for ac_dir
in $PATH; do
11909 test -z "$ac_dir" && ac_dir
=.
11910 for ac_exec_ext
in '' $ac_executable_extensions; do
11911 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11912 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11913 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11920 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11924 MSGMERGE
="$ac_cv_path_MSGMERGE"
11925 if test "$MSGMERGE" != ":"; then
11926 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11927 echo "${ECHO_T}$MSGMERGE" >&6
11929 echo "$as_me:$LINENO: result: no" >&5
11930 echo "${ECHO_T}no" >&6
11934 if test "$GMSGFMT" != ":"; then
11935 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11936 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11939 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11940 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11941 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11946 if test "$XGETTEXT" != ":"; then
11947 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11948 (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
11951 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11952 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11958 ac_config_commands
="$ac_config_commands default-1"
11962 .
${srcdir}/..
/bfd
/configure.
host
11964 # Put a plausible default for CC_FOR_BUILD in Makefile.
11965 if test -z "$CC_FOR_BUILD"; then
11966 if test "x$cross_compiling" = "xno"; then
11967 CC_FOR_BUILD
='$(CC)'
11973 # Also set EXEEXT_FOR_BUILD.
11974 if test "x$cross_compiling" = "xno"; then
11975 EXEEXT_FOR_BUILD
='$(EXEEXT)'
11977 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
11978 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
11979 if test "${bfd_cv_build_exeext+set}" = set; then
11980 echo $ECHO_N "(cached) $ECHO_C" >&6
11983 echo 'int main () { return 0; }' > conftest.c
11984 bfd_cv_build_exeext
=
11985 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
11986 for file in conftest.
*; do
11988 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
11989 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
11993 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
11995 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
11996 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
11997 EXEEXT_FOR_BUILD
=""
11998 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
12003 # Find a good install program. We prefer a C program (faster),
12004 # so one script is as good as another. But avoid the broken or
12005 # incompatible versions:
12006 # SysV /etc/install, /usr/sbin/install
12007 # SunOS /usr/etc/install
12008 # IRIX /sbin/install
12010 # AmigaOS /C/install, which installs bootblocks on floppy discs
12011 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12012 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12013 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12014 # OS/2's system install, which has a completely different semantic
12015 # ./install, which can be erroneously created by make from ./install.sh.
12016 # Reject install programs that cannot install multiple files.
12017 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12018 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12019 if test -z "$INSTALL"; then
12020 if test "${ac_cv_path_install+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12024 for as_dir
in $PATH
12027 test -z "$as_dir" && as_dir
=.
12028 # Account for people who put trailing slashes in PATH elements.
12030 .
/ | .
// |
/cC
/* | \
12031 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
12032 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12035 # OSF1 and SCO ODT 3.0 have their own names for install.
12036 # Don't use installbsd from OSF since it installs stuff as root
12038 for ac_prog
in ginstall scoinst
install; do
12039 for ac_exec_ext
in '' $ac_executable_extensions; do
12040 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12041 if test $ac_prog = install &&
12042 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12043 # AIX install. It has an incompatible calling convention.
12045 elif test $ac_prog = install &&
12046 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12047 # program-specific install script used by HP pwplus--don't use.
12050 rm -rf conftest.one conftest.two conftest.dir
12051 echo one
> conftest.one
12052 echo two
> conftest.two
12054 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
12055 test -s conftest.one
&& test -s conftest.two
&&
12056 test -s conftest.dir
/conftest.one
&&
12057 test -s conftest.dir
/conftest.two
12059 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12070 rm -rf conftest.one conftest.two conftest.dir
12073 if test "${ac_cv_path_install+set}" = set; then
12074 INSTALL
=$ac_cv_path_install
12076 # As a last resort, use the slow shell script. Don't cache a
12077 # value for INSTALL within a source directory, because that will
12078 # break other packages using the cache if that directory is
12079 # removed, or if the value is a relative name.
12080 INSTALL
=$ac_install_sh
12083 echo "$as_me:$LINENO: result: $INSTALL" >&5
12084 echo "${ECHO_T}$INSTALL" >&6
12086 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12087 # It thinks the first close brace ends the variable substitution.
12088 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12090 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12092 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12099 for ac_header
in string.h
strings.h stdlib.h limits.h
12101 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12103 echo "$as_me:$LINENO: checking for $ac_header" >&5
12104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12106 echo $ECHO_N "(cached) $ECHO_C" >&6
12108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12111 # Is the header compilable?
12112 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12113 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12114 cat >conftest.
$ac_ext <<_ACEOF
12117 cat confdefs.h
>>conftest.
$ac_ext
12118 cat >>conftest.
$ac_ext <<_ACEOF
12119 /* end confdefs.h. */
12120 $ac_includes_default
12121 #include <$ac_header>
12123 rm -f conftest.
$ac_objext
12124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12125 (eval $ac_compile) 2>conftest.er1
12127 grep -v '^ *+' conftest.er1
>conftest.err
12129 cat conftest.err
>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } &&
12132 { ac_try
='test -z "$ac_c_werror_flag"
12133 || test ! -s conftest.err'
12134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12135 (eval $ac_try) 2>&5
12137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138 (exit $ac_status); }; } &&
12139 { ac_try
='test -s conftest.$ac_objext'
12140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12141 (eval $ac_try) 2>&5
12143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144 (exit $ac_status); }; }; then
12145 ac_header_compiler
=yes
12147 echo "$as_me: failed program was:" >&5
12148 sed 's/^/| /' conftest.
$ac_ext >&5
12150 ac_header_compiler
=no
12152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12153 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12154 echo "${ECHO_T}$ac_header_compiler" >&6
12156 # Is the header present?
12157 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12159 cat >conftest.
$ac_ext <<_ACEOF
12162 cat confdefs.h
>>conftest.
$ac_ext
12163 cat >>conftest.
$ac_ext <<_ACEOF
12164 /* end confdefs.h. */
12165 #include <$ac_header>
12167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12168 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12170 grep -v '^ *+' conftest.er1
>conftest.err
12172 cat conftest.err
>&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); } >/dev
/null
; then
12175 if test -s conftest.err
; then
12176 ac_cpp_err
=$ac_c_preproc_warn_flag
12177 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12184 if test -z "$ac_cpp_err"; then
12185 ac_header_preproc
=yes
12187 echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.
$ac_ext >&5
12190 ac_header_preproc
=no
12192 rm -f conftest.err conftest.
$ac_ext
12193 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12194 echo "${ECHO_T}$ac_header_preproc" >&6
12196 # So? What about this header?
12197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12199 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12200 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12202 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12203 ac_header_preproc
=yes
12206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12210 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12211 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12212 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12213 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12216 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12220 ## ------------------------------------------ ##
12221 ## Report this to the AC_PACKAGE_NAME lists. ##
12222 ## ------------------------------------------ ##
12225 sed "s/^/$as_me: WARNING: /" >&2
12228 echo "$as_me:$LINENO: checking for $ac_header" >&5
12229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12231 echo $ECHO_N "(cached) $ECHO_C" >&6
12233 eval "$as_ac_Header=\$ac_header_preproc"
12235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12240 cat >>confdefs.h
<<_ACEOF
12241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12249 echo "$as_me:$LINENO: checking whether basename is declared" >&5
12250 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
12251 if test "${ac_cv_have_decl_basename+set}" = set; then
12252 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 cat >conftest.
$ac_ext <<_ACEOF
12257 cat confdefs.h
>>conftest.
$ac_ext
12258 cat >>conftest.
$ac_ext <<_ACEOF
12259 /* end confdefs.h. */
12260 $ac_includes_default
12265 char *p = (char *) basename;
12272 rm -f conftest.
$ac_objext
12273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12274 (eval $ac_compile) 2>conftest.er1
12276 grep -v '^ *+' conftest.er1
>conftest.err
12278 cat conftest.err
>&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); } &&
12281 { ac_try
='test -z "$ac_c_werror_flag"
12282 || test ! -s conftest.err'
12283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12284 (eval $ac_try) 2>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }; } &&
12288 { ac_try
='test -s conftest.$ac_objext'
12289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12290 (eval $ac_try) 2>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); }; }; then
12294 ac_cv_have_decl_basename
=yes
12296 echo "$as_me: failed program was:" >&5
12297 sed 's/^/| /' conftest.
$ac_ext >&5
12299 ac_cv_have_decl_basename
=no
12301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12303 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
12304 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
12305 if test $ac_cv_have_decl_basename = yes; then
12307 cat >>confdefs.h
<<_ACEOF
12308 #define HAVE_DECL_BASENAME 1
12313 cat >>confdefs.h
<<_ACEOF
12314 #define HAVE_DECL_BASENAME 0
12319 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12320 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
12321 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
12322 echo $ECHO_N "(cached) $ECHO_C" >&6
12324 cat >conftest.
$ac_ext <<_ACEOF
12327 cat confdefs.h
>>conftest.
$ac_ext
12328 cat >>conftest.
$ac_ext <<_ACEOF
12329 /* end confdefs.h. */
12330 $ac_includes_default
12335 char *p = (char *) stpcpy;
12342 rm -f conftest.
$ac_objext
12343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12344 (eval $ac_compile) 2>conftest.er1
12346 grep -v '^ *+' conftest.er1
>conftest.err
12348 cat conftest.err
>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } &&
12351 { ac_try
='test -z "$ac_c_werror_flag"
12352 || test ! -s conftest.err'
12353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12354 (eval $ac_try) 2>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }; } &&
12358 { ac_try
='test -s conftest.$ac_objext'
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360 (eval $ac_try) 2>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; }; then
12364 ac_cv_have_decl_stpcpy
=yes
12366 echo "$as_me: failed program was:" >&5
12367 sed 's/^/| /' conftest.
$ac_ext >&5
12369 ac_cv_have_decl_stpcpy
=no
12371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12373 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12374 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
12375 if test $ac_cv_have_decl_stpcpy = yes; then
12377 cat >>confdefs.h
<<_ACEOF
12378 #define HAVE_DECL_STPCPY 1
12383 cat >>confdefs.h
<<_ACEOF
12384 #define HAVE_DECL_STPCPY 0
12393 cgendir
='$(srcdir)/../cgen'
12395 # Check whether --enable-cgen-maint or --disable-cgen-maint was given.
12396 if test "${enable_cgen_maint+set}" = set; then
12397 enableval
="$enable_cgen_maint"
12398 case "${enableval}" in
12399 yes) cgen_maint
=yes ;;
12400 no
) cgen_maint
=no
;;
12402 # argument is cgen install directory (not implemented yet).
12403 # Having a `share' directory might be more appropriate for the .scm,
12404 # .cpu, etc. files.
12406 cgendir
=${cgen_maint}/lib
/cgen
12411 if test x
${cgen_maint} = xyes
; then
12413 CGEN_MAINT_FALSE
='#'
12415 CGEN_MAINT_TRUE
='#'
12423 # Check if linker supports --as-needed and --no-as-needed options
12424 echo "$as_me:$LINENO: checking linker --as-needed support" >&5
12425 echo $ECHO_N "checking linker --as-needed support... $ECHO_C" >&6
12426 if test "${bfd_cv_ld_as_needed+set}" = set; then
12427 echo $ECHO_N "(cached) $ECHO_C" >&6
12429 bfd_cv_ld_as_needed
=no
12430 if $LD --help 2>/dev
/null |
grep as-needed
> /dev
/null
; then
12431 bfd_cv_ld_as_needed
=yes
12435 echo "$as_me:$LINENO: result: $bfd_cv_ld_as_needed" >&5
12436 echo "${ECHO_T}$bfd_cv_ld_as_needed" >&6
12440 *-*-beos* |
*-*-cygwin* |
*-*-pw32* |
*-*-darwin*)
12441 # These system don't have libm, or don't need it
12444 echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
12445 echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6
12446 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12449 ac_check_lib_save_LIBS
=$LIBS
12451 cat >conftest.
$ac_ext <<_ACEOF
12454 cat confdefs.h
>>conftest.
$ac_ext
12455 cat >>conftest.
$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12458 /* Override any gcc2 internal prototype to avoid an error. */
12462 /* We use char because int might match the return type of a gcc2
12463 builtin and then its argument prototype would still apply. */
12464 char _mwvalidcheckl ();
12473 rm -f conftest.
$ac_objext conftest
$ac_exeext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12475 (eval $ac_link) 2>conftest.er1
12477 grep -v '^ *+' conftest.er1
>conftest.err
12479 cat conftest.err
>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } &&
12482 { ac_try
='test -z "$ac_c_werror_flag"
12483 || test ! -s conftest.err'
12484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12485 (eval $ac_try) 2>&5
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); }; } &&
12489 { ac_try
='test -s conftest$ac_exeext'
12490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12491 (eval $ac_try) 2>&5
12493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12494 (exit $ac_status); }; }; then
12495 ac_cv_lib_mw__mwvalidcheckl
=yes
12497 echo "$as_me: failed program was:" >&5
12498 sed 's/^/| /' conftest.
$ac_ext >&5
12500 ac_cv_lib_mw__mwvalidcheckl
=no
12502 rm -f conftest.err conftest.
$ac_objext \
12503 conftest
$ac_exeext conftest.
$ac_ext
12504 LIBS
=$ac_check_lib_save_LIBS
12506 echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
12507 echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6
12508 if test $ac_cv_lib_mw__mwvalidcheckl = yes; then
12512 echo "$as_me:$LINENO: checking for cos in -lm" >&5
12513 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
12514 if test "${ac_cv_lib_m_cos+set}" = set; then
12515 echo $ECHO_N "(cached) $ECHO_C" >&6
12517 ac_check_lib_save_LIBS
=$LIBS
12519 cat >conftest.
$ac_ext <<_ACEOF
12522 cat confdefs.h
>>conftest.
$ac_ext
12523 cat >>conftest.
$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12526 /* Override any gcc2 internal prototype to avoid an error. */
12530 /* We use char because int might match the return type of a gcc2
12531 builtin and then its argument prototype would still apply. */
12541 rm -f conftest.
$ac_objext conftest
$ac_exeext
12542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12543 (eval $ac_link) 2>conftest.er1
12545 grep -v '^ *+' conftest.er1
>conftest.err
12547 cat conftest.err
>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); } &&
12550 { ac_try
='test -z "$ac_c_werror_flag"
12551 || test ! -s conftest.err'
12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 (eval $ac_try) 2>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; } &&
12557 { ac_try
='test -s conftest$ac_exeext'
12558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559 (eval $ac_try) 2>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); }; }; then
12563 ac_cv_lib_m_cos
=yes
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.
$ac_ext >&5
12570 rm -f conftest.err conftest.
$ac_objext \
12571 conftest
$ac_exeext conftest.
$ac_ext
12572 LIBS
=$ac_check_lib_save_LIBS
12574 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
12575 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
12576 if test $ac_cv_lib_m_cos = yes; then
12582 echo "$as_me:$LINENO: checking for cos in -lm" >&5
12583 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
12584 if test "${ac_cv_lib_m_cos+set}" = set; then
12585 echo $ECHO_N "(cached) $ECHO_C" >&6
12587 ac_check_lib_save_LIBS
=$LIBS
12589 cat >conftest.
$ac_ext <<_ACEOF
12592 cat confdefs.h
>>conftest.
$ac_ext
12593 cat >>conftest.
$ac_ext <<_ACEOF
12594 /* end confdefs.h. */
12596 /* Override any gcc2 internal prototype to avoid an error. */
12600 /* We use char because int might match the return type of a gcc2
12601 builtin and then its argument prototype would still apply. */
12611 rm -f conftest.
$ac_objext conftest
$ac_exeext
12612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12613 (eval $ac_link) 2>conftest.er1
12615 grep -v '^ *+' conftest.er1
>conftest.err
12617 cat conftest.err
>&5
12618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12619 (exit $ac_status); } &&
12620 { ac_try
='test -z "$ac_c_werror_flag"
12621 || test ! -s conftest.err'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; } &&
12627 { ac_try
='test -s conftest$ac_exeext'
12628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12629 (eval $ac_try) 2>&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); }; }; then
12633 ac_cv_lib_m_cos
=yes
12635 echo "$as_me: failed program was:" >&5
12636 sed 's/^/| /' conftest.
$ac_ext >&5
12640 rm -f conftest.err conftest.
$ac_objext \
12641 conftest
$ac_exeext conftest.
$ac_ext
12642 LIBS
=$ac_check_lib_save_LIBS
12644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
12645 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
12646 if test $ac_cv_lib_m_cos = yes; then
12655 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
12658 SHARED_DEPENDENCIES
=
12659 if test "$enable_shared" = "yes"; then
12660 # When building a shared libopcodes, link against the pic version of libiberty
12661 # so that apps that use libopcodes won't need libiberty just to satisfy any
12662 # libopcodes references.
12663 # We can't do that if a pic libiberty is unavailable since including non-pic
12664 # code would insert text relocations into libopcodes.
12665 # Note that linking against libbfd as we do here, which is itself linked
12666 # against libiberty, may not satisfy all the libopcodes libiberty references
12667 # since libbfd may not pull in the entirety of libiberty.
12668 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
12669 if test -n "$x"; then
12670 SHARED_LIBADD
="-L`pwd`/../libiberty/pic -liberty"
12675 SHARED_LDFLAGS
="-no-undefined"
12676 SHARED_LIBADD
="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
12679 SHARED_LIBADD
="-Wl,`pwd`/../bfd/.libs/libbfd.dylib ${SHARED_LIBADD}"
12680 SHARED_DEPENDENCIES
="../bfd/libbfd.la"
12683 case "$host_vendor" in
12685 SHARED_LIBADD
="-Wl,`pwd`/../bfd/.libs/libbfd.sl ${SHARED_LIBADD}"
12688 SHARED_LIBADD
="-Wl,`pwd`/../bfd/.libs/libbfd.so ${SHARED_LIBADD}"
12691 SHARED_DEPENDENCIES
="../bfd/libbfd.la"
12695 if test -n "$SHARED_LIBADD"; then
12696 if test -n "$LIBM"; then
12697 if test x
"$bfd_cv_ld_as_needed" = xyes
; then
12698 # Link against libm only when needed. Put -lc, -lm inside -Wl
12699 # to stop libtool reordering these options.
12700 SHARED_LIBADD
="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
12702 SHARED_LIBADD
="$SHARED_LIBADD $LIBM"
12711 # target-specific stuff:
12713 # Canonicalize the secondary target names.
12714 if test -n "$enable_targets" ; then
12715 for targ
in `echo $enable_targets | sed 's/,/ /g'`
12717 result
=`$ac_config_sub $targ 2>/dev/null`
12718 if test -n "$result" ; then
12719 canon_targets
="$canon_targets $result"
12721 # Allow targets that config.sub doesn't recognize, like "all".
12722 canon_targets
="$canon_targets $targ"
12729 for targ
in $target $canon_targets
12731 if test "x$targ" = "xall" ; then
12734 .
$srcdir/..
/bfd
/config.bfd
12735 selarchs
="$selarchs $targ_archs"
12739 # Utility var, documents generic cgen support files.
12741 cgen_files
="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
12743 # We don't do any links based on the target system, just makefile config.
12745 if test x
${all_targets} = xfalse
; then
12747 # Target architecture .o files.
12750 for arch
in $selarchs
12752 ad
=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
12753 archdefs
="$archdefs -DARCH_$ad"
12755 bfd_alpha_arch
) ta
="$ta alpha-dis.lo alpha-opc.lo" ;;
12756 bfd_arc_arch
) ta
="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
12757 bfd_arm_arch
) ta
="$ta arm-dis.lo" ;;
12758 bfd_avr_arch
) ta
="$ta avr-dis.lo" ;;
12759 bfd_bfin_arch
) ta
="$ta bfin-dis.lo" ;;
12760 bfd_cr16_arch
) ta
="$ta cr16-dis.lo cr16-opc.lo" ;;
12761 bfd_cris_arch
) ta
="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
12762 bfd_crx_arch
) ta
="$ta crx-dis.lo crx-opc.lo" ;;
12763 bfd_d10v_arch
) ta
="$ta d10v-dis.lo d10v-opc.lo" ;;
12764 bfd_d30v_arch
) ta
="$ta d30v-dis.lo d30v-opc.lo" ;;
12765 bfd_dlx_arch
) ta
="$ta dlx-dis.lo" ;;
12766 bfd_fr30_arch
) ta
="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen
=yes ;;
12767 bfd_frv_arch
) ta
="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen
=yes ;;
12768 bfd_moxie_arch
) ta
="$ta moxie-dis.lo moxie-opc.lo" ;;
12769 bfd_h8300_arch
) ta
="$ta h8300-dis.lo" ;;
12770 bfd_h8500_arch
) ta
="$ta h8500-dis.lo" ;;
12771 bfd_hppa_arch
) ta
="$ta hppa-dis.lo" ;;
12772 bfd_i370_arch
) ta
="$ta i370-dis.lo i370-opc.lo" ;;
12773 bfd_i386_arch|bfd_l1om_arch
)
12774 ta
="$ta i386-dis.lo i386-opc.lo" ;;
12775 bfd_i860_arch
) ta
="$ta i860-dis.lo" ;;
12776 bfd_i960_arch
) ta
="$ta i960-dis.lo" ;;
12777 bfd_ia64_arch
) ta
="$ta ia64-dis.lo ia64-opc.lo" ;;
12778 bfd_ip2k_arch
) ta
="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen
=yes ;;
12779 bfd_iq2000_arch
) ta
="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen
=yes ;;
12780 bfd_lm32_arch
) ta
="$ta lm32-asm.lo lm32-desc.lo lm32-dis.lo lm32-ibld.lo lm32-opc.lo lm32-opinst.lo" using_cgen
=yes ;;
12781 bfd_m32c_arch
) ta
="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen
=yes ;;
12782 bfd_m32r_arch
) ta
="$ta m32r-asm.lo m32r-desc.lo m32r-dis.lo m32r-ibld.lo m32r-opc.lo m32r-opinst.lo" using_cgen
=yes ;;
12783 bfd_m68hc11_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12784 bfd_m68hc12_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12785 bfd_m68k_arch
) ta
="$ta m68k-dis.lo m68k-opc.lo" ;;
12786 bfd_m88k_arch
) ta
="$ta m88k-dis.lo" ;;
12787 bfd_maxq_arch
) ta
="$ta maxq-dis.lo" ;;
12788 bfd_mcore_arch
) ta
="$ta mcore-dis.lo" ;;
12789 bfd_mep_arch
) ta
="$ta mep-asm.lo mep-desc.lo mep-dis.lo mep-ibld.lo mep-opc.lo" using_cgen
=yes ;;
12790 bfd_mips_arch
) ta
="$ta mips-dis.lo mips-opc.lo mips16-opc.lo" ;;
12791 bfd_mmix_arch
) ta
="$ta mmix-dis.lo mmix-opc.lo" ;;
12792 bfd_mn10200_arch
) ta
="$ta m10200-dis.lo m10200-opc.lo" ;;
12793 bfd_mn10300_arch
) ta
="$ta m10300-dis.lo m10300-opc.lo" ;;
12794 bfd_mt_arch
) ta
="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen
=yes ;;
12795 bfd_msp430_arch
) ta
="$ta msp430-dis.lo" ;;
12796 bfd_ns32k_arch
) ta
="$ta ns32k-dis.lo" ;;
12797 bfd_openrisc_arch
) ta
="$ta openrisc-asm.lo openrisc-desc.lo openrisc-dis.lo openrisc-ibld.lo openrisc-opc.lo" using_cgen
=yes ;;
12798 bfd_or32_arch
) ta
="$ta or32-dis.lo or32-opc.lo" using_cgen
=yes ;;
12799 bfd_pdp11_arch
) ta
="$ta pdp11-dis.lo pdp11-opc.lo" ;;
12800 bfd_pj_arch
) ta
="$ta pj-dis.lo pj-opc.lo" ;;
12801 bfd_powerpc_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
12802 bfd_powerpc_64_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
12803 bfd_pyramid_arch
) ;;
12805 bfd_rs6000_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
12806 bfd_s390_arch
) ta
="$ta s390-dis.lo s390-opc.lo" ;;
12807 bfd_score_arch
) ta
="$ta score-dis.lo score7-dis.lo" ;;
12809 # We can't decide what we want just from the CPU family.
12810 # We want SH5 support unless a specific version of sh is
12811 # specified, as in sh3-elf, sh3b-linux-gnu, etc.
12812 # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
12813 for t
in $target $canon_targets; do
12815 all | sh5
*-* | sh64
*-* | sh-
*-*elf
* | shl
*-*-*elf
* | \
12816 sh-
*-linux* | shl-
*-linux*)
12817 ta
="$ta sh64-dis.lo sh64-opc.lo"
12818 archdefs
="$archdefs -DINCLUDE_SHMEDIA"
12822 ta
="$ta sh-dis.lo cgen-bitset.lo" ;;
12823 bfd_sparc_arch
) ta
="$ta sparc-dis.lo sparc-opc.lo" ;;
12824 bfd_spu_arch
) ta
="$ta spu-dis.lo spu-opc.lo" ;;
12826 bfd_tic30_arch
) ta
="$ta tic30-dis.lo" ;;
12827 bfd_tic4x_arch
) ta
="$ta tic4x-dis.lo" ;;
12828 bfd_tic54x_arch
) ta
="$ta tic54x-dis.lo tic54x-opc.lo" ;;
12829 bfd_tic80_arch
) ta
="$ta tic80-dis.lo tic80-opc.lo" ;;
12830 bfd_v850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12831 bfd_v850e_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12832 bfd_v850ea_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
12833 bfd_vax_arch
) ta
="$ta vax-dis.lo" ;;
12834 bfd_w65_arch
) ta
="$ta w65-dis.lo" ;;
12836 bfd_xc16x_arch
) ta
="$ta xc16x-asm.lo xc16x-desc.lo xc16x-dis.lo xc16x-ibld.lo xc16x-opc.lo" using_cgen
=yes ;;
12837 bfd_xstormy16_arch
) ta
="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen
=yes ;;
12838 bfd_xtensa_arch
) ta
="$ta xtensa-dis.lo" ;;
12839 bfd_z80_arch
) ta
="$ta z80-dis.lo" ;;
12840 bfd_z8k_arch
) ta
="$ta z8k-dis.lo" ;;
12843 *) { { echo "$as_me:$LINENO: error: *** unknown target architecture $arch" >&5
12844 echo "$as_me: error: *** unknown target architecture $arch" >&2;}
12845 { (exit 1); exit 1; }; } ;;
12849 if test $using_cgen = yes ; then
12850 ta
="$ta $cgen_files"
12853 # Weed out duplicate .o files.
12863 # And duplicate -D flags.
12865 for i
in $archdefs ; do
12875 else # all_targets is true
12876 archdefs
=-DARCH_all
12877 BFD_MACHINES
='$(ALL_MACHINES)'
12883 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12885 cat >confcache
<<\_ACEOF
12886 # This file is a shell script that caches the results of configure
12887 # tests run on this system so they can be shared between configure
12888 # scripts and configure runs, see configure's option --config-cache.
12889 # It is not useful on other systems. If it contains results you don't
12890 # want to keep, you may remove or edit it.
12892 # config.status only pays attention to the cache file if you give it
12893 # the --recheck option to rerun configure.
12895 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12896 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12897 # following values.
12901 # The following way of writing the cache mishandles newlines in values,
12902 # but we know of no workaround that is simple, portable, and efficient.
12903 # So, don't put newlines in cache variables' values.
12904 # Ultrix sh set writes to stderr and can't be redirected directly,
12905 # and sets the high bit in the cache file unless we assign to the vars.
12908 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12910 # `set' does not quote correctly, so add quotes (double-quote
12911 # substitution turns \\\\ into \\, and sed turns \\ into \).
12914 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12917 # `set' quotes correctly as required by POSIX, so do not add quotes.
12919 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12926 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12928 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12930 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12931 if test -w $cache_file; then
12932 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12933 cat confcache
>$cache_file
12935 echo "not updating unwritable cache $cache_file"
12940 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12941 # Let make expand exec_prefix.
12942 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12944 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12945 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12946 # trailing colons and then remove the whole line if VPATH becomes empty
12947 # (actually we leave an empty line to preserve line numbers).
12948 if test "x$srcdir" = x.
; then
12949 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12950 s/:*\$(srcdir):*/:/;
12951 s/:*\${srcdir}:*/:/;
12953 s/^\([^=]*=[ ]*\):*/\1/;
12959 DEFS
=-DHAVE_CONFIG_H
12963 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12964 # 1. Remove the extension, and $U if already installed.
12965 ac_i
=`echo "$ac_i" |
12966 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12968 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12969 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12971 LIBOBJS
=$ac_libobjs
12973 LTLIBOBJS
=$ac_ltlibobjs
12976 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12977 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12978 Usually this means the macro was only invoked conditionally." >&5
12979 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12980 Usually this means the macro was only invoked conditionally." >&2;}
12981 { (exit 1); exit 1; }; }
12983 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12984 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12985 Usually this means the macro was only invoked conditionally." >&5
12986 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12987 Usually this means the macro was only invoked conditionally." >&2;}
12988 { (exit 1); exit 1; }; }
12990 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12991 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12992 Usually this means the macro was only invoked conditionally." >&5
12993 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12994 Usually this means the macro was only invoked conditionally." >&2;}
12995 { (exit 1); exit 1; }; }
12997 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
12998 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
12999 Usually this means the macro was only invoked conditionally." >&5
13000 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
13001 Usually this means the macro was only invoked conditionally." >&2;}
13002 { (exit 1); exit 1; }; }
13004 if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
13005 { { echo "$as_me:$LINENO: error: conditional \"CGEN_MAINT\" was never defined.
13006 Usually this means the macro was only invoked conditionally." >&5
13007 echo "$as_me: error: conditional \"CGEN_MAINT\" was never defined.
13008 Usually this means the macro was only invoked conditionally." >&2;}
13009 { (exit 1); exit 1; }; }
13012 : ${CONFIG_STATUS=./config.status}
13013 ac_clean_files_save
=$ac_clean_files
13014 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13015 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13016 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13017 cat >$CONFIG_STATUS <<_ACEOF
13019 # Generated by $as_me.
13020 # Run this file to recreate the current configuration.
13021 # Compiler output produced by configure, useful for debugging
13022 # configure, is in config.log if it exists.
13025 ac_cs_recheck=false
13027 SHELL=\${CONFIG_SHELL-$SHELL}
13030 cat >>$CONFIG_STATUS <<\_ACEOF
13031 ## --------------------- ##
13032 ## M4sh Initialization. ##
13033 ## --------------------- ##
13035 # Be Bourne compatible
13036 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13039 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13040 # is contrary to our usage. Disable this feature.
13041 alias -g '${1+"$@"}'='"$@"'
13042 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
13045 DUALCASE
=1; export DUALCASE
# for MKS sh
13047 # Support unset when possible.
13048 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13055 # Work around bugs in pre-3.0 UWIN ksh.
13056 $as_unset ENV MAIL MAILPATH
13063 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13064 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13065 LC_TELEPHONE LC_TIME
13067 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13068 eval $as_var=C
; export $as_var
13074 # Required to use basename.
13075 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13081 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
13082 as_basename
=basename
13088 # Name of the executable.
13089 as_me
=`$as_basename "$0" ||
13090 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13091 X"$0" : 'X\(//\)$' \| \
13092 X"$0" : 'X\(/\)$' \| \
13093 . : '\(.\)' 2>/dev/null ||
13095 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13096 /^X\/\(\/\/\)$/{ s//\1/; q; }
13097 /^X\/\(\/\).*/{ s//\1/; q; }
13101 # PATH needs CR, and LINENO needs CR and PATH.
13102 # Avoid depending upon Character Ranges.
13103 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13104 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13105 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13106 as_cr_digits
='0123456789'
13107 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13109 # The user is always right.
13110 if test "${PATH_SEPARATOR+set}" != set; then
13111 echo "#! /bin/sh" >conf$$.sh
13112 echo "exit 0" >>conf$$.sh
13114 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13123 as_lineno_1
=$LINENO
13124 as_lineno_2
=$LINENO
13125 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
13126 test "x$as_lineno_1" != "x$as_lineno_2" &&
13127 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
13128 # Find who we are. Look in the path if we contain no path at all
13131 *[\\/]* ) as_myself
=$0 ;;
13132 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13133 for as_dir
in $PATH
13136 test -z "$as_dir" && as_dir
=.
13137 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13142 # We did not find ourselves, most probably we were run as `sh COMMAND'
13143 # in which case we are not to be found in the path.
13144 if test "x$as_myself" = x
; then
13147 if test ! -f "$as_myself"; then
13148 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13149 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13150 { (exit 1); exit 1; }; }
13152 case $CONFIG_SHELL in
13154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13155 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
13158 test -z "$as_dir" && as_dir
=.
13159 for as_base
in sh bash ksh sh5
; do
13162 if ("$as_dir/$as_base" -c '
13163 as_lineno_1=$LINENO
13164 as_lineno_2=$LINENO
13165 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13166 test "x$as_lineno_1" != "x$as_lineno_2" &&
13167 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
13168 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
13169 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
13170 CONFIG_SHELL
=$as_dir/$as_base
13171 export CONFIG_SHELL
13172 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13180 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13181 # uniformly replaced by the line number. The first 'sed' inserts a
13182 # line-number line before each line; the second 'sed' does the real
13183 # work. The second script uses 'N' to pair each line-number line
13184 # with the numbered line, and appends trailing '-' during
13185 # substitution so that $LINENO is not a special case at line end.
13186 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13187 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13188 sed '=' <$as_myself |
13193 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13196 s,^['$as_cr_digits']*\n,,
13197 ' >$as_me.lineno
&&
13198 chmod +x
$as_me.lineno ||
13199 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13200 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13201 { (exit 1); exit 1; }; }
13203 # Don't try to exec as it changes $[0], causing all sort of problems
13204 # (the dirname of $[0] is not the place where we might find the
13205 # original and so on. Autoconf is especially sensible to this).
13207 # Exit status is that of the last command.
13212 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13213 *c
*,-n*) ECHO_N
= ECHO_C
='
13215 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
13216 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
13219 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13225 rm -f conf$$ conf$$.exe conf$$.
file
13227 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13228 # We could just check for DJGPP; but this test a) works b) is more generic
13229 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13230 if test -f conf$$.exe
; then
13231 # Don't use ln at all; we don't have any links
13236 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13241 rm -f conf$$ conf$$.exe conf$$.
file
13243 if mkdir
-p .
2>/dev
/null
; then
13246 test -d .
/-p && rmdir .
/-p
13250 as_executable_p
="test -f"
13252 # Sed expression to map a string onto a valid CPP name.
13253 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13255 # Sed expression to map a string onto a valid variable name.
13256 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13260 # We need space, tab and new line, in precisely that order.
13270 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13271 # report actual input values of CONFIG_FILES etc. instead of their
13272 # values after options handling. Logging --version etc. is OK.
13276 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13277 ## Running $as_me. ##
13282 This file was extended by $as_me, which was
13283 generated by GNU Autoconf 2.59. Invocation command line was
13285 CONFIG_FILES = $CONFIG_FILES
13286 CONFIG_HEADERS = $CONFIG_HEADERS
13287 CONFIG_LINKS = $CONFIG_LINKS
13288 CONFIG_COMMANDS = $CONFIG_COMMANDS
13292 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13296 # Files that config.status was made for.
13297 if test -n "$ac_config_files"; then
13298 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13301 if test -n "$ac_config_headers"; then
13302 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13305 if test -n "$ac_config_links"; then
13306 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13309 if test -n "$ac_config_commands"; then
13310 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13313 cat >>$CONFIG_STATUS <<\_ACEOF
13316 \`$as_me' instantiates files from templates according to the
13317 current configuration.
13319 Usage: $0 [OPTIONS] [FILE]...
13321 -h, --help print this help, then exit
13322 -V, --version print version number, then exit
13323 -q, --quiet do not print progress messages
13324 -d, --debug don't remove temporary files
13325 --recheck update $as_me by reconfiguring in the same conditions
13326 --file=FILE[:TEMPLATE]
13327 instantiate the configuration file FILE
13328 --header=FILE[:TEMPLATE]
13329 instantiate the configuration header FILE
13331 Configuration files:
13334 Configuration headers:
13337 Configuration commands:
13340 Report bugs to <bug-autoconf@gnu.org>."
13343 cat >>$CONFIG_STATUS <<_ACEOF
13346 configured by $0, generated by GNU Autoconf 2.59,
13347 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13349 Copyright (C) 2003 Free Software Foundation, Inc.
13350 This config.status script is free software; the Free Software Foundation
13351 gives unlimited permission to copy, distribute and modify it."
13356 cat >>$CONFIG_STATUS <<\_ACEOF
13357 # If no file are specified by the user, then we need to provide default
13358 # value. By we need to know if files were specified by the user.
13364 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13365 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13373 *) # This is not an option, so the user has probably given explicit
13376 ac_need_defaults
=false
;;
13380 # Handling of the options.
13382 cat >>$CONFIG_STATUS <<\_ACEOF
13383 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13385 --version |
--vers* |
-V )
13386 echo "$ac_cs_version"; exit 0 ;;
13388 # Conflict between --help and --header
13389 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13390 Try \`$0 --help' for more information." >&5
13391 echo "$as_me: error: ambiguous option: $1
13392 Try \`$0 --help' for more information." >&2;}
13393 { (exit 1); exit 1; }; };;
13394 --help |
--hel |
-h )
13395 echo "$ac_cs_usage"; exit 0 ;;
13396 --debug |
--d* |
-d )
13398 --file |
--fil |
--fi |
--f )
13400 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13401 ac_need_defaults
=false
;;
13402 --header |
--heade |
--head |
--hea )
13404 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13405 ac_need_defaults
=false
;;
13406 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13407 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13410 # This is an error.
13411 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13412 Try \`$0 --help' for more information." >&5
13413 echo "$as_me: error: unrecognized option: $1
13414 Try \`$0 --help' for more information." >&2;}
13415 { (exit 1); exit 1; }; } ;;
13417 *) ac_config_targets
="$ac_config_targets $1" ;;
13423 ac_configure_extra_args
=
13425 if $ac_cs_silent; then
13427 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13431 cat >>$CONFIG_STATUS <<_ACEOF
13432 if \$ac_cs_recheck; then
13433 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13434 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13439 cat >>$CONFIG_STATUS <<_ACEOF
13441 # INIT-COMMANDS section.
13444 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13447 # The HP-UX ksh and POSIX shell print the target directory to stdout
13448 # if CDPATH is set.
13449 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13451 sed_quote_subst='$sed_quote_subst'
13452 double_quote_subst='$double_quote_subst'
13453 delay_variable_subst='$delay_variable_subst'
13454 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13455 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13456 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13457 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13458 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13459 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13460 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13461 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13462 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13463 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13464 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13465 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13466 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13467 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13468 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13469 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13470 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13471 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13472 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13473 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13474 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13475 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13476 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13477 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13478 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13479 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13480 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13481 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13482 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13483 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13484 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13485 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13486 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13487 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13488 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13489 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13490 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13491 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13492 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13493 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13494 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13495 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13496 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13497 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13498 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"`'
13499 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13500 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13501 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13502 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13503 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13504 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13505 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13506 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13507 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13508 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13509 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13510 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13511 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13512 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13513 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13514 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13515 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13516 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13517 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13518 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13519 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13520 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13521 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13522 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13523 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13524 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13525 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13526 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13527 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13528 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13529 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13530 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13531 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13532 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13533 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13534 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13535 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13536 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13537 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13538 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13539 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13540 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13541 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13542 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13543 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13544 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13545 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13546 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13547 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13548 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13549 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13550 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13551 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13552 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13553 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13554 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13555 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13556 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13557 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13558 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13559 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13560 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13561 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13562 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13563 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13564 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13565 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13566 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13567 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13568 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13569 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13570 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13571 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13574 LTCFLAGS='$LTCFLAGS'
13575 compiler='$compiler_DEFAULT'
13577 # Quote evaled strings.
13589 deplibs_check_method \
13598 lt_cv_sys_global_symbol_pipe \
13599 lt_cv_sys_global_symbol_to_cdecl \
13600 lt_cv_sys_global_symbol_to_c_name_address \
13601 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13604 lt_prog_compiler_no_builtin_flag \
13605 lt_prog_compiler_wl \
13606 lt_prog_compiler_pic \
13607 lt_prog_compiler_static \
13608 lt_cv_prog_compiler_c_o \
13616 export_dynamic_flag_spec \
13617 whole_archive_flag_spec \
13618 compiler_needs_object \
13620 allow_undefined_flag \
13621 no_undefined_flag \
13622 hardcode_libdir_flag_spec \
13623 hardcode_libdir_flag_spec_ld \
13624 hardcode_libdir_separator \
13629 variables_saved_for_relink \
13631 library_names_spec \
13636 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13637 *[\\\\\\\`\\"\\\$]*)
13638 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13641 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13646 # Double-quote double-evaled strings.
13647 for var in reload_cmds \
13648 old_postinstall_cmds \
13649 old_postuninstall_cmds \
13651 extract_expsyms_cmds \
13652 old_archive_from_new_cmds \
13653 old_archive_from_expsyms_cmds \
13655 archive_expsym_cmds \
13657 module_expsym_cmds \
13658 export_symbols_cmds \
13661 postuninstall_cmds \
13663 sys_lib_search_path_spec \
13664 sys_lib_dlsearch_path_spec; do
13665 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13666 *[\\\\\\\`\\"\\\$]*)
13667 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13670 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13675 # Fix-up fallback echo if it was mangled by the above quoting rules.
13677 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13681 ac_aux_dir='$ac_aux_dir'
13682 xsi_shell='$xsi_shell'
13683 lt_shell_append='$lt_shell_append'
13685 # See if we are running on zsh, and set the options which allow our
13686 # commands through without removal of \ escapes INIT.
13687 if test -n "\${ZSH_VERSION+set}" ; then
13688 setopt NO_GLOB_SUBST
13694 TIMESTAMP='$TIMESTAMP'
13700 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13701 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13703 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13704 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13705 LINGUAS="${LINGUAS-%UNSET%}"
13712 cat >>$CONFIG_STATUS <<\_ACEOF
13713 for ac_config_target
in $ac_config_targets
13715 case "$ac_config_target" in
13716 # Handling of arguments.
13717 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13718 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13719 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13720 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13721 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13722 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
13723 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13724 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13725 { (exit 1); exit 1; }; };;
13729 # If the user did not use the arguments to specify the items to instantiate,
13730 # then the envvar interface is used. Set only those that are not.
13731 # We use the long form for the default assignment because of an extremely
13732 # bizarre bug on SunOS 4.1.3.
13733 if $ac_need_defaults; then
13734 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13735 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13736 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13739 # Have a temporary directory for convenience. Make it in the build tree
13740 # simply because there is no reason to put it here, and in addition,
13741 # creating and moving files from /tmp can sometimes cause problems.
13742 # Create a temporary directory, and hook for its removal unless debugging.
13745 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13746 trap '{ (exit 1); exit 1; }' 1 2 13 15
13749 # Create a (secure) tmp directory for tmp files.
13752 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13753 test -n "$tmp" && test -d "$tmp"
13756 tmp
=.
/confstat$$
-$RANDOM
13757 (umask 077 && mkdir
$tmp)
13760 echo "$me: cannot create a temporary directory in ." >&2
13761 { (exit 1); exit 1; }
13766 cat >>$CONFIG_STATUS <<_ACEOF
13769 # CONFIG_FILES section.
13772 # No need to generate the scripts if there are no CONFIG_FILES.
13773 # This happens for instance when ./config.status config.h
13774 if test -n "\$CONFIG_FILES"; then
13775 # Protect against being on the right side of a sed subst in config.status.
13776 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13777 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13778 s,@SHELL@,$SHELL,;t t
13779 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13780 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13781 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13782 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13783 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13784 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13785 s,@exec_prefix@,$exec_prefix,;t t
13786 s,@prefix@,$prefix,;t t
13787 s,@program_transform_name@,$program_transform_name,;t t
13788 s,@bindir@,$bindir,;t t
13789 s,@sbindir@,$sbindir,;t t
13790 s,@libexecdir@,$libexecdir,;t t
13791 s,@datadir@,$datadir,;t t
13792 s,@sysconfdir@,$sysconfdir,;t t
13793 s,@sharedstatedir@,$sharedstatedir,;t t
13794 s,@localstatedir@,$localstatedir,;t t
13795 s,@libdir@,$libdir,;t t
13796 s,@includedir@,$includedir,;t t
13797 s,@oldincludedir@,$oldincludedir,;t t
13798 s,@infodir@,$infodir,;t t
13799 s,@mandir@,$mandir,;t t
13800 s,@build_alias@,$build_alias,;t t
13801 s,@host_alias@,$host_alias,;t t
13802 s,@target_alias@,$target_alias,;t t
13803 s,@DEFS@,$DEFS,;t t
13804 s,@ECHO_C@,$ECHO_C,;t t
13805 s,@ECHO_N@,$ECHO_N,;t t
13806 s,@ECHO_T@,$ECHO_T,;t t
13807 s,@LIBS@,$LIBS,;t t
13808 s,@build@,$build,;t t
13809 s,@build_cpu@,$build_cpu,;t t
13810 s,@build_vendor@,$build_vendor,;t t
13811 s,@build_os@,$build_os,;t t
13812 s,@host@,$host,;t t
13813 s,@host_cpu@,$host_cpu,;t t
13814 s,@host_vendor@,$host_vendor,;t t
13815 s,@host_os@,$host_os,;t t
13816 s,@target@,$target,;t t
13817 s,@target_cpu@,$target_cpu,;t t
13818 s,@target_vendor@,$target_vendor,;t t
13819 s,@target_os@,$target_os,;t t
13821 s,@CFLAGS@,$CFLAGS,;t t
13822 s,@LDFLAGS@,$LDFLAGS,;t t
13823 s,@CPPFLAGS@,$CPPFLAGS,;t t
13824 s,@ac_ct_CC@,$ac_ct_CC,;t t
13825 s,@EXEEXT@,$EXEEXT,;t t
13826 s,@OBJEXT@,$OBJEXT,;t t
13827 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13828 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13829 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13830 s,@CYGPATH_W@,$CYGPATH_W,;t t
13831 s,@PACKAGE@,$PACKAGE,;t t
13832 s,@VERSION@,$VERSION,;t t
13833 s,@ACLOCAL@,$ACLOCAL,;t t
13834 s,@AUTOCONF@,$AUTOCONF,;t t
13835 s,@AUTOMAKE@,$AUTOMAKE,;t t
13836 s,@AUTOHEADER@,$AUTOHEADER,;t t
13837 s,@MAKEINFO@,$MAKEINFO,;t t
13838 s,@install_sh@,$install_sh,;t t
13839 s,@STRIP@,$STRIP,;t t
13840 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13841 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13842 s,@mkdir_p@,$mkdir_p,;t t
13844 s,@SET_MAKE@,$SET_MAKE,;t t
13845 s,@am__leading_dot@,$am__leading_dot,;t t
13846 s,@AMTAR@,$AMTAR,;t t
13847 s,@am__tar@,$am__tar,;t t
13848 s,@am__untar@,$am__untar,;t t
13849 s,@DEPDIR@,$DEPDIR,;t t
13850 s,@am__include@,$am__include,;t t
13851 s,@am__quote@,$am__quote,;t t
13852 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13853 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13854 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13855 s,@CCDEPMODE@,$CCDEPMODE,;t t
13856 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13857 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13859 s,@EGREP@,$EGREP,;t t
13861 s,@ac_ct_AR@,$ac_ct_AR,;t t
13862 s,@RANLIB@,$RANLIB,;t t
13863 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13864 s,@LIBTOOL@,$LIBTOOL,;t t
13866 s,@FGREP@,$FGREP,;t t
13867 s,@GREP@,$GREP,;t t
13869 s,@DUMPBIN@,$DUMPBIN,;t t
13870 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
13872 s,@LN_S@,$LN_S,;t t
13873 s,@OBJDUMP@,$OBJDUMP,;t t
13874 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
13875 s,@lt_ECHO@,$lt_ECHO,;t t
13876 s,@DSYMUTIL@,$DSYMUTIL,;t t
13877 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
13878 s,@NMEDIT@,$NMEDIT,;t t
13879 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
13880 s,@LIPO@,$LIPO,;t t
13881 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
13882 s,@OTOOL@,$OTOOL,;t t
13883 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
13884 s,@OTOOL64@,$OTOOL64,;t t
13885 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
13886 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
13887 s,@NO_WERROR@,$NO_WERROR,;t t
13888 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13889 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13890 s,@MAINT@,$MAINT,;t t
13891 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
13892 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
13893 s,@host_noncanonical@,$host_noncanonical,;t t
13894 s,@target_noncanonical@,$target_noncanonical,;t t
13895 s,@bfdlibdir@,$bfdlibdir,;t t
13896 s,@bfdincludedir@,$bfdincludedir,;t t
13897 s,@USE_NLS@,$USE_NLS,;t t
13898 s,@LIBINTL@,$LIBINTL,;t t
13899 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
13900 s,@INCINTL@,$INCINTL,;t t
13901 s,@XGETTEXT@,$XGETTEXT,;t t
13902 s,@GMSGFMT@,$GMSGFMT,;t t
13903 s,@POSUB@,$POSUB,;t t
13904 s,@CATALOGS@,$CATALOGS,;t t
13905 s,@DATADIRNAME@,$DATADIRNAME,;t t
13906 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
13907 s,@GENCAT@,$GENCAT,;t t
13908 s,@CATOBJEXT@,$CATOBJEXT,;t t
13909 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
13910 s,@MSGFMT@,$MSGFMT,;t t
13911 s,@MSGMERGE@,$MSGMERGE,;t t
13912 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13913 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
13914 s,@HDEFINES@,$HDEFINES,;t t
13915 s,@CGEN_MAINT_TRUE@,$CGEN_MAINT_TRUE,;t t
13916 s,@CGEN_MAINT_FALSE@,$CGEN_MAINT_FALSE,;t t
13917 s,@cgendir@,$cgendir,;t t
13918 s,@LIBM@,$LIBM,;t t
13919 s,@SHARED_LDFLAGS@,$SHARED_LDFLAGS,;t t
13920 s,@SHARED_LIBADD@,$SHARED_LIBADD,;t t
13921 s,@SHARED_DEPENDENCIES@,$SHARED_DEPENDENCIES,;t t
13922 s,@archdefs@,$archdefs,;t t
13923 s,@BFD_MACHINES@,$BFD_MACHINES,;t t
13924 s,@LIBOBJS@,$LIBOBJS,;t t
13925 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13930 cat >>$CONFIG_STATUS <<\_ACEOF
13931 # Split the substitutions into bite-sized pieces for seds with
13932 # small command number limits, like on Digital OSF/1 and HP-UX.
13933 ac_max_sed_lines
=48
13934 ac_sed_frag
=1 # Number of current file.
13935 ac_beg
=1 # First line for current file.
13936 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13939 while $ac_more_lines; do
13940 if test $ac_beg -gt 1; then
13941 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13943 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13945 if test ! -s $tmp/subs.frag
; then
13946 ac_more_lines
=false
13948 # The purpose of the label and of the branching condition is to
13949 # speed up the sed processing (if there are no `@' at all, there
13950 # is no need to browse any of the substitutions).
13951 # These are the two extra sed commands mentioned above.
13953 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13954 if test -z "$ac_sed_cmds"; then
13955 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13957 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13959 ac_sed_frag
=`expr $ac_sed_frag + 1`
13961 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13964 if test -z "$ac_sed_cmds"; then
13967 fi # test -n "$CONFIG_FILES"
13970 cat >>$CONFIG_STATUS <<\_ACEOF
13971 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13972 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13974 - |
*:- |
*:-:* ) # input from stdin
13976 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13977 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13978 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13979 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13980 * ) ac_file_in
=$ac_file.
in ;;
13983 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13984 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13985 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13986 X"$ac_file" : 'X\(//\)[^/]' \| \
13987 X"$ac_file" : 'X\(//\)$' \| \
13988 X"$ac_file" : 'X\(/\)' \| \
13989 . : '\(.\)' 2>/dev/null ||
13991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13992 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13993 /^X\(\/\/\)$/{ s//\1/; q; }
13994 /^X\(\/\).*/{ s//\1/; q; }
13996 { if $as_mkdir_p; then
14001 while test ! -d "$as_dir"; do
14002 as_dirs
="$as_dir $as_dirs"
14003 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14004 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14005 X"$as_dir" : 'X\(//\)[^/]' \| \
14006 X"$as_dir" : 'X\(//\)$' \| \
14007 X"$as_dir" : 'X\(/\)' \| \
14008 . : '\(.\)' 2>/dev/null ||
14010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14011 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14012 /^X\(\/\/\)$/{ s//\1/; q; }
14013 /^X\(\/\).*/{ s//\1/; q; }
14016 test ! -n "$as_dirs" || mkdir
$as_dirs
14017 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14018 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14019 { (exit 1); exit 1; }; }; }
14023 if test "$ac_dir" != .
; then
14024 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14025 # A "../" for each directory in $ac_dir_suffix.
14026 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14028 ac_dir_suffix
= ac_top_builddir
=
14032 .
) # No --srcdir option. We are building in place.
14034 if test -z "$ac_top_builddir"; then
14037 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14039 [\\/]* | ?
:[\\/]* ) # Absolute path.
14040 ac_srcdir
=$srcdir$ac_dir_suffix;
14041 ac_top_srcdir
=$srcdir ;;
14042 *) # Relative path.
14043 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14044 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14047 # Do not use `cd foo && pwd` to compute absolute paths, because
14048 # the directories may not exist.
14050 .
) ac_abs_builddir
="$ac_dir";;
14053 .
) ac_abs_builddir
=`pwd`;;
14054 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14055 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14058 case $ac_abs_builddir in
14059 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14061 case ${ac_top_builddir}.
in
14062 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14063 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14064 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14067 case $ac_abs_builddir in
14068 .
) ac_abs_srcdir
=$ac_srcdir;;
14071 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14072 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14073 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14076 case $ac_abs_builddir in
14077 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14079 case $ac_top_srcdir in
14080 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14081 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14082 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14088 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14089 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
14092 if test x
"$ac_file" != x-
; then
14093 { echo "$as_me:$LINENO: creating $ac_file" >&5
14094 echo "$as_me: creating $ac_file" >&6;}
14097 # Let's still pretend it is `configure' which instantiates (i.e., don't
14098 # use $as_me), people would be surprised to read:
14099 # /* config.h. Generated by config.status. */
14100 if test x
"$ac_file" = x-
; then
14103 configure_input
="$ac_file. "
14105 configure_input
=$configure_input"Generated from `echo $ac_file_in |
14106 sed 's,.*/,,'` by configure."
14108 # First look for the input files in the build tree, otherwise in the
14110 ac_file_inputs
=`IFS=:
14111 for f in $ac_file_in; do
14113 -) echo $tmp/stdin ;;
14115 # Absolute (can't be DOS-style, as IFS=:)
14116 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14117 echo "$as_me: error: cannot find input file: $f" >&2;}
14118 { (exit 1); exit 1; }; }
14121 if test -f "$f"; then
14124 elif test -f "$srcdir/$f"; then
14129 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14130 echo "$as_me: error: cannot find input file: $f" >&2;}
14131 { (exit 1); exit 1; }; }
14134 done` ||
{ (exit 1); exit 1; }
14136 cat >>$CONFIG_STATUS <<_ACEOF
14140 cat >>$CONFIG_STATUS <<\_ACEOF
14142 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14143 s
,@configure_input@
,$configure_input,;t t
14144 s
,@srcdir@
,$ac_srcdir,;t t
14145 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
14146 s
,@top_srcdir@
,$ac_top_srcdir,;t t
14147 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
14148 s
,@builddir@
,$ac_builddir,;t t
14149 s
,@abs_builddir@
,$ac_abs_builddir,;t t
14150 s
,@top_builddir@
,$ac_top_builddir,;t t
14151 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
14152 s
,@INSTALL@
,$ac_INSTALL,;t t
14153 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14155 if test x"$ac_file" != x-; then
14156 mv $tmp/out $ac_file
14164 cat >>$CONFIG_STATUS <<\_ACEOF
14167 # CONFIG_HEADER section.
14170 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
14171 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14173 # ac_d sets the value in "#define NAME VALUE" lines.
14174 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14175 ac_dB
='[ ].*$,\1#\2'
14178 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14179 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14180 ac_uB
='$,\1#\2define\3'
14184 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
14185 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14187 - |
*:- |
*:-:* ) # input from stdin
14189 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14190 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14191 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14192 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14193 * ) ac_file_in
=$ac_file.
in ;;
14196 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
14197 echo "$as_me: creating $ac_file" >&6;}
14199 # First look for the input files in the build tree, otherwise in the
14201 ac_file_inputs
=`IFS=:
14202 for f in $ac_file_in; do
14204 -) echo $tmp/stdin ;;
14206 # Absolute (can't be DOS-style, as IFS=:)
14207 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14208 echo "$as_me: error: cannot find input file: $f" >&2;}
14209 { (exit 1); exit 1; }; }
14210 # Do quote $f, to prevent DOS paths from being IFS'd.
14213 if test -f "$f"; then
14216 elif test -f "$srcdir/$f"; then
14221 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14222 echo "$as_me: error: cannot find input file: $f" >&2;}
14223 { (exit 1); exit 1; }; }
14226 done` ||
{ (exit 1); exit 1; }
14227 # Remove the trailing spaces.
14228 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14232 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14233 # `conftest.undefs', that substitutes the proper values into
14234 # config.h.in to produce config.h. The first handles `#define'
14235 # templates, and the second `#undef' templates.
14236 # And first: Protect against being on the right side of a sed subst in
14237 # config.status. Protect against being in an unquoted here document
14238 # in config.status.
14239 rm -f conftest.defines conftest.undefs
14240 # Using a here document instead of a string reduces the quoting nightmare.
14241 # Putting comments in sed scripts is not portable.
14243 # `end' is used to avoid that the second main sed command (meant for
14244 # 0-ary CPP macros) applies to n-ary macro definitions.
14245 # See the Autoconf documentation for `clear'.
14246 cat >confdef2sed.
sed <<\_ACEOF
14251 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14253 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14256 # If some macros were called several times there might be several times
14257 # the same #defines, which is useless. Nevertheless, we may not want to
14258 # sort them, since we want the *last* AC-DEFINE to be honored.
14259 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14260 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14261 rm -f confdef2sed.sed
14263 # This sed command replaces #undef with comments. This is necessary, for
14264 # example, in the case of _POSIX_SOURCE, which is predefined and required
14265 # on some systems where configure will not decide to define it.
14266 cat >>conftest.undefs <<\_ACEOF
14267 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14270 # Break up conftest.defines because some shells have a limit on the size
14271 # of here documents, and old seds have small limits too (100 cmds).
14272 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14273 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14274 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14275 echo ' :' >>$CONFIG_STATUS
14276 rm -f conftest.tail
14277 while grep . conftest.defines >/dev/null
14279 # Write a limited-size here document to $tmp/defines.sed.
14280 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14281 # Speed up: don't consider the non `#define' lines.
14282 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14283 # Work around the forget-to-reset-the-flag bug.
14284 echo 't clr' >>$CONFIG_STATUS
14285 echo ': clr' >>$CONFIG_STATUS
14286 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
14288 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14290 mv $tmp/out $tmp/in
14292 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
14293 rm -f conftest.defines
14294 mv conftest.
tail conftest.defines
14296 rm -f conftest.defines
14297 echo ' fi # grep' >>$CONFIG_STATUS
14298 echo >>$CONFIG_STATUS
14300 # Break up conftest.undefs because some shells have a limit on the size
14301 # of here documents, and old seds have small limits too (100 cmds).
14302 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14303 rm -f conftest.
tail
14304 while grep . conftest.undefs
>/dev
/null
14306 # Write a limited-size here document to $tmp/undefs.sed.
14307 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14308 # Speed up: don't consider the non
`#undef'
14309 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14310 # Work around the forget-to-reset-the-flag bug.
14311 echo 't clr' >>$CONFIG_STATUS
14312 echo ': clr' >>$CONFIG_STATUS
14313 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14315 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14317 mv $tmp/out $tmp/in
14319 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14320 rm -f conftest.undefs
14321 mv conftest.tail conftest.undefs
14323 rm -f conftest.undefs
14325 cat >>$CONFIG_STATUS <<\_ACEOF
14326 # Let's still pretend it is `configure
' which instantiates (i.e., don't
14327 # use $as_me), people would be surprised to read:
14328 # /* config.h. Generated by config.status. */
14329 if test x
"$ac_file" = x-
; then
14330 echo "/* Generated by configure. */" >$tmp/config.h
14332 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14334 cat $tmp/in >>$tmp/config.h
14336 if test x
"$ac_file" != x-
; then
14337 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
14338 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14339 echo "$as_me: $ac_file is unchanged" >&6;}
14341 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14342 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14343 X"$ac_file" : 'X\(//\)[^/]' \| \
14344 X"$ac_file" : 'X\(//\)$' \| \
14345 X"$ac_file" : 'X\(/\)' \| \
14346 . : '\(.\)' 2>/dev/null ||
14348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14349 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14350 /^X\(\/\/\)$/{ s//\1/; q; }
14351 /^X\(\/\).*/{ s//\1/; q; }
14353 { if $as_mkdir_p; then
14358 while test ! -d "$as_dir"; do
14359 as_dirs
="$as_dir $as_dirs"
14360 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14361 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14362 X"$as_dir" : 'X\(//\)[^/]' \| \
14363 X"$as_dir" : 'X\(//\)$' \| \
14364 X"$as_dir" : 'X\(/\)' \| \
14365 . : '\(.\)' 2>/dev/null ||
14367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14368 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14369 /^X\(\/\/\)$/{ s//\1/; q; }
14370 /^X\(\/\).*/{ s//\1/; q; }
14373 test ! -n "$as_dirs" || mkdir
$as_dirs
14374 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14375 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14376 { (exit 1); exit 1; }; }; }
14379 mv $tmp/config.h
$ac_file
14383 rm -f $tmp/config.h
14385 # Compute $ac_file's index in $config_headers.
14387 for _am_header
in $config_headers :; do
14388 case $_am_header in
14389 $ac_file |
$ac_file:* )
14392 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14395 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
14396 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14397 X$ac_file : 'X\(//\)[^/]' \| \
14398 X$ac_file : 'X\(//\)$' \| \
14399 X$ac_file : 'X\(/\)' \| \
14400 . : '\(.\)' 2>/dev/null ||
14402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14404 /^X\(\/\/\)$/{ s//\1/; q; }
14405 /^X\(\/\).*/{ s//\1/; q; }
14406 s/.*/./; q'`/stamp-h
$_am_stamp_count
14409 cat >>$CONFIG_STATUS <<\_ACEOF
14412 # CONFIG_COMMANDS section.
14414 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
14415 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
14416 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14417 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
14418 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14419 X"$ac_dest" : 'X\(//\)[^/]' \| \
14420 X"$ac_dest" : 'X\(//\)$' \| \
14421 X"$ac_dest" : 'X\(/\)' \| \
14422 . : '\(.\)' 2>/dev/null ||
14424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14425 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14426 /^X\(\/\/\)$/{ s//\1/; q; }
14427 /^X\(\/\).*/{ s//\1/; q; }
14429 { if $as_mkdir_p; then
14434 while test ! -d "$as_dir"; do
14435 as_dirs
="$as_dir $as_dirs"
14436 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14438 X"$as_dir" : 'X\(//\)[^/]' \| \
14439 X"$as_dir" : 'X\(//\)$' \| \
14440 X"$as_dir" : 'X\(/\)' \| \
14441 . : '\(.\)' 2>/dev/null ||
14443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14444 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14445 /^X\(\/\/\)$/{ s//\1/; q; }
14446 /^X\(\/\).*/{ s//\1/; q; }
14449 test ! -n "$as_dirs" || mkdir
$as_dirs
14450 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14451 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14452 { (exit 1); exit 1; }; }; }
14456 if test "$ac_dir" != .
; then
14457 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14458 # A "../" for each directory in $ac_dir_suffix.
14459 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14461 ac_dir_suffix
= ac_top_builddir
=
14465 .
) # No --srcdir option. We are building in place.
14467 if test -z "$ac_top_builddir"; then
14470 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14472 [\\/]* | ?
:[\\/]* ) # Absolute path.
14473 ac_srcdir
=$srcdir$ac_dir_suffix;
14474 ac_top_srcdir
=$srcdir ;;
14475 *) # Relative path.
14476 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14477 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14480 # Do not use `cd foo && pwd` to compute absolute paths, because
14481 # the directories may not exist.
14483 .
) ac_abs_builddir
="$ac_dir";;
14486 .
) ac_abs_builddir
=`pwd`;;
14487 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14488 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14491 case $ac_abs_builddir in
14492 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14494 case ${ac_top_builddir}.
in
14495 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14496 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14497 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14500 case $ac_abs_builddir in
14501 .
) ac_abs_srcdir
=$ac_srcdir;;
14504 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14505 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14506 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14509 case $ac_abs_builddir in
14510 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14512 case $ac_top_srcdir in
14513 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14514 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14515 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14520 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14521 echo "$as_me: executing $ac_dest commands" >&6;}
14523 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
14524 # Strip MF so we end up with the name of the file.
14525 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14526 # Check whether this is an Automake generated Makefile or not.
14527 # We used to match only the files named `Makefile.in', but
14528 # some people rename them; so instead we look at the file content.
14529 # Grep'ing the first line is not enough: some people post-process
14530 # each Makefile.in and add a new line on top of each file to say so.
14531 # So let's grep whole file.
14532 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
14533 dirpart
=`(dirname "$mf") 2>/dev/null ||
14534 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14535 X"$mf" : 'X\(//\)[^/]' \| \
14536 X"$mf" : 'X\(//\)$' \| \
14537 X"$mf" : 'X\(/\)' \| \
14538 . : '\(.\)' 2>/dev/null ||
14540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14541 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14542 /^X\(\/\/\)$/{ s//\1/; q; }
14543 /^X\(\/\).*/{ s//\1/; q; }
14548 # Extract the definition of DEPDIR, am__include, and am__quote
14549 # from the Makefile without running `make'.
14550 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14551 test -z "$DEPDIR" && continue
14552 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14553 test -z "am__include" && continue
14554 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14555 # When using ansi2knr, U may be empty or an underscore; expand it
14556 U
=`sed -n 's/^U = //p' < "$mf"`
14557 # Find all dependency output files, they are included files with
14558 # $(DEPDIR) in their names. We invoke sed twice because it is the
14559 # simplest approach to changing $(DEPDIR) to its actual value in the
14561 for file in `sed -n "
14562 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14563 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14564 # Make sure the directory exists.
14565 test -f "$dirpart/$file" && continue
14566 fdir
=`(dirname "$file") 2>/dev/null ||
14567 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14568 X"$file" : 'X\(//\)[^/]' \| \
14569 X"$file" : 'X\(//\)$' \| \
14570 X"$file" : 'X\(/\)' \| \
14571 . : '\(.\)' 2>/dev/null ||
14573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14574 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14575 /^X\(\/\/\)$/{ s//\1/; q; }
14576 /^X\(\/\).*/{ s//\1/; q; }
14578 { if $as_mkdir_p; then
14579 mkdir
-p $dirpart/$fdir
14581 as_dir
=$dirpart/$fdir
14583 while test ! -d "$as_dir"; do
14584 as_dirs
="$as_dir $as_dirs"
14585 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14586 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14587 X"$as_dir" : 'X\(//\)[^/]' \| \
14588 X"$as_dir" : 'X\(//\)$' \| \
14589 X"$as_dir" : 'X\(/\)' \| \
14590 . : '\(.\)' 2>/dev/null ||
14592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14593 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14594 /^X\(\/\/\)$/{ s//\1/; q; }
14595 /^X\(\/\).*/{ s//\1/; q; }
14598 test ! -n "$as_dirs" || mkdir
$as_dirs
14599 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14600 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14601 { (exit 1); exit 1; }; }; }
14603 # echo "creating $dirpart/$file"
14604 echo '# dummy' > "$dirpart/$file"
14610 # See if we are running on zsh, and set the options which allow our
14611 # commands through without removal of \ escapes.
14612 if test -n "${ZSH_VERSION+set}" ; then
14613 setopt NO_GLOB_SUBST
14616 cfgfile
="${ofile}T"
14617 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14620 cat <<_LT_EOF >> "$cfgfile"
14623 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14624 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14625 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14626 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14628 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14629 # 2006, 2007, 2008 Free Software Foundation, Inc.
14630 # Written by Gordon Matzigkeit, 1996
14632 # This file is part of GNU Libtool.
14634 # GNU Libtool is free software; you can redistribute it and/or
14635 # modify it under the terms of the GNU General Public License as
14636 # published by the Free Software Foundation; either version 2 of
14637 # the License, or (at your option) any later version.
14639 # As a special exception to the GNU General Public License,
14640 # if you distribute this file as part of a program or library that
14641 # is built using GNU Libtool, you may include this file under the
14642 # same distribution terms that you use for the rest of that program.
14644 # GNU Libtool is distributed in the hope that it will be useful,
14645 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14646 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14647 # GNU General Public License for more details.
14649 # You should have received a copy of the GNU General Public License
14650 # along with GNU Libtool; see the file COPYING. If not, a copy
14651 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14652 # obtained by writing to the Free Software Foundation, Inc.,
14653 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14656 # The names of the tagged configurations supported by this script.
14659 # ### BEGIN LIBTOOL CONFIG
14661 # Whether or not to build shared libraries.
14662 build_libtool_libs=$enable_shared
14664 # Which release of libtool.m4 was used?
14665 macro_version=$macro_version
14666 macro_revision=$macro_revision
14668 # Whether or not to build static libraries.
14669 build_old_libs=$enable_static
14671 # What type of objects to build.
14674 # Whether or not to optimize for fast installation.
14675 fast_install=$enable_fast_install
14678 host_alias=$host_alias
14682 # The build system.
14683 build_alias=$build_alias
14687 # A sed program that does not truncate output.
14690 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14691 Xsed="\$SED -e 1s/^X//"
14693 # A grep program that handles long lines.
14699 # A literal string matcher.
14702 # A BSD- or MS-compatible name lister.
14705 # Whether we need soft or hard links.
14708 # What is the maximum length of a command?
14709 max_cmd_len=$max_cmd_len
14711 # Object file suffix (normally "o").
14714 # Executable file suffix (normally "").
14717 # whether the shell understands "unset".
14720 # turn spaces into newlines.
14723 # turn newlines into spaces.
14726 # How to create reloadable object files.
14727 reload_flag=$lt_reload_flag
14728 reload_cmds=$lt_reload_cmds
14730 # An object symbol dumper.
14731 OBJDUMP=$lt_OBJDUMP
14733 # Method to check whether dependent libraries are shared objects.
14734 deplibs_check_method=$lt_deplibs_check_method
14736 # Command to use when deplibs_check_method == "file_magic".
14737 file_magic_cmd=$lt_file_magic_cmd
14741 AR_FLAGS=$lt_AR_FLAGS
14743 # A symbol stripping program.
14746 # Commands used to install an old-style archive.
14748 old_postinstall_cmds=$lt_old_postinstall_cmds
14749 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14754 # LTCC compiler flags.
14755 LTCFLAGS=$lt_CFLAGS
14757 # Take the output of nm and produce a listing of raw symbols and C names.
14758 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14760 # Transform the output of nm in a proper C declaration.
14761 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14763 # Transform the output of nm in a C name address pair.
14764 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14766 # Transform the output of nm in a C name address pair when lib prefix is needed.
14767 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14769 # The name of the directory that contains temporary libtool files.
14772 # Shell to use when invoking shell scripts.
14775 # An echo program that does not interpret backslashes.
14778 # Used to examine libraries when file_magic_cmd begins with "file".
14779 MAGIC_CMD=$MAGIC_CMD
14781 # Must we lock files when doing compilation?
14782 need_locks=$lt_need_locks
14784 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14785 DSYMUTIL=$lt_DSYMUTIL
14787 # Tool to change global to local symbols on Mac OS X.
14790 # Tool to manipulate fat objects and archives on Mac OS X.
14793 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14796 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14797 OTOOL64=$lt_OTOOL64
14799 # Old archive suffix (normally "a").
14802 # Shared library suffix (normally ".so").
14803 shrext_cmds=$lt_shrext_cmds
14805 # The commands to extract the exported symbol list from a shared archive.
14806 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14808 # Variables whose values should be saved in libtool wrapper scripts and
14809 # restored at link time.
14810 variables_saved_for_relink=$lt_variables_saved_for_relink
14812 # Do we need the "lib" prefix for modules?
14813 need_lib_prefix=$need_lib_prefix
14815 # Do we need a version for libraries?
14816 need_version=$need_version
14818 # Library versioning type.
14819 version_type=$version_type
14821 # Shared library runtime path variable.
14822 runpath_var=$runpath_var
14824 # Shared library path variable.
14825 shlibpath_var=$shlibpath_var
14827 # Is shlibpath searched before the hard-coded library search path?
14828 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14830 # Format of library name prefix.
14831 libname_spec=$lt_libname_spec
14833 # List of archive names. First name is the real one, the rest are links.
14834 # The last name is the one that the linker finds with -lNAME
14835 library_names_spec=$lt_library_names_spec
14837 # The coded name of the library, if different from the real name.
14838 soname_spec=$lt_soname_spec
14840 # Command to use after installation of a shared archive.
14841 postinstall_cmds=$lt_postinstall_cmds
14843 # Command to use after uninstallation of a shared archive.
14844 postuninstall_cmds=$lt_postuninstall_cmds
14846 # Commands used to finish a libtool library installation in a directory.
14847 finish_cmds=$lt_finish_cmds
14849 # As "finish_cmds", except a single script fragment to be evaled but
14851 finish_eval=$lt_finish_eval
14853 # Whether we should hardcode library paths into libraries.
14854 hardcode_into_libs=$hardcode_into_libs
14856 # Compile-time system search path for libraries.
14857 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14859 # Run-time system search path for libraries.
14860 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14862 # Whether dlopen is supported.
14863 dlopen_support=$enable_dlopen
14865 # Whether dlopen of programs is supported.
14866 dlopen_self=$enable_dlopen_self
14868 # Whether dlopen of statically linked programs is supported.
14869 dlopen_self_static=$enable_dlopen_self_static
14871 # Commands to strip libraries.
14872 old_striplib=$lt_old_striplib
14873 striplib=$lt_striplib
14876 # The linker used to build libraries.
14879 # Commands used to build an old-style archive.
14880 old_archive_cmds=$lt_old_archive_cmds
14882 # A language specific compiler.
14885 # Is the compiler the GNU compiler?
14888 # Compiler flag to turn off builtin functions.
14889 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14891 # How to pass a linker flag through the compiler.
14892 wl=$lt_lt_prog_compiler_wl
14894 # Additional compiler flags for building library objects.
14895 pic_flag=$lt_lt_prog_compiler_pic
14897 # Compiler flag to prevent dynamic linking.
14898 link_static_flag=$lt_lt_prog_compiler_static
14900 # Does compiler simultaneously support -c and -o options?
14901 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14903 # Whether or not to add -lc for building shared libraries.
14904 build_libtool_need_lc=$archive_cmds_need_lc
14906 # Whether or not to disallow shared libs when runtime libs are static.
14907 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14909 # Compiler flag to allow reflexive dlopens.
14910 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14912 # Compiler flag to generate shared objects directly from archives.
14913 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14915 # Whether the compiler copes with passing no objects directly.
14916 compiler_needs_object=$lt_compiler_needs_object
14918 # Create an old-style archive from a shared archive.
14919 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14921 # Create a temporary old-style archive to link instead of a shared archive.
14922 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14924 # Commands used to build a shared archive.
14925 archive_cmds=$lt_archive_cmds
14926 archive_expsym_cmds=$lt_archive_expsym_cmds
14928 # Commands used to build a loadable module if different from building
14929 # a shared archive.
14930 module_cmds=$lt_module_cmds
14931 module_expsym_cmds=$lt_module_expsym_cmds
14933 # Whether we are building with GNU ld or not.
14934 with_gnu_ld=$lt_with_gnu_ld
14936 # Flag that allows shared libraries with undefined symbols to be built.
14937 allow_undefined_flag=$lt_allow_undefined_flag
14939 # Flag that enforces no undefined symbols.
14940 no_undefined_flag=$lt_no_undefined_flag
14942 # Flag to hardcode \$libdir into a binary during linking.
14943 # This must work even if \$libdir does not exist
14944 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14946 # If ld is used when linking, flag to hardcode \$libdir into a binary
14947 # during linking. This must work even if \$libdir does not exist.
14948 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14950 # Whether we need a single "-rpath" flag with a separated argument.
14951 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14953 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14954 # DIR into the resulting binary.
14955 hardcode_direct=$hardcode_direct
14957 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14958 # DIR into the resulting binary and the resulting library dependency is
14959 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14960 # library is relocated.
14961 hardcode_direct_absolute=$hardcode_direct_absolute
14963 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14964 # into the resulting binary.
14965 hardcode_minus_L=$hardcode_minus_L
14967 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14968 # into the resulting binary.
14969 hardcode_shlibpath_var=$hardcode_shlibpath_var
14971 # Set to "yes" if building a shared library automatically hardcodes DIR
14972 # into the library and all subsequent libraries and executables linked
14974 hardcode_automatic=$hardcode_automatic
14976 # Set to yes if linker adds runtime paths of dependent libraries
14977 # to runtime path list.
14978 inherit_rpath=$inherit_rpath
14980 # Whether libtool must link a program against all its dependency libraries.
14981 link_all_deplibs=$link_all_deplibs
14983 # Fix the shell variable \$srcfile for the compiler.
14984 fix_srcfile_path=$lt_fix_srcfile_path
14986 # Set to "yes" if exported symbols are required.
14987 always_export_symbols=$always_export_symbols
14989 # The commands to list exported symbols.
14990 export_symbols_cmds=$lt_export_symbols_cmds
14992 # Symbols that should not be listed in the preloaded symbols.
14993 exclude_expsyms=$lt_exclude_expsyms
14995 # Symbols that must always be exported.
14996 include_expsyms=$lt_include_expsyms
14998 # Commands necessary for linking programs (against libraries) with templates.
14999 prelink_cmds=$lt_prelink_cmds
15001 # Specify filename containing input files.
15002 file_list_spec=$lt_file_list_spec
15004 # How to hardcode a shared library path into an executable.
15005 hardcode_action=$hardcode_action
15007 # ### END LIBTOOL CONFIG
15013 cat <<\_LT_EOF
>> "$cfgfile"
15014 # AIX sometimes has problems with the GCC collect2 program. For some
15015 # reason, if we set the COLLECT_NAMES environment variable, the problems
15016 # vanish in a puff of smoke.
15017 if test "X${COLLECT_NAMES+set}" != Xset
; then
15019 export COLLECT_NAMES
15026 ltmain
="$ac_aux_dir/ltmain.sh"
15029 # We use sed instead of cat because bash on DJGPP gets confused if
15030 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15031 # text mode, it properly converts lines to CR/LF. This bash problem
15032 # is reportedly fixed, but why not run on old versions too?
15033 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15034 ||
(rm -f "$cfgfile"; exit 1)
15038 cat << \_LT_EOF
>> "$cfgfile"
15040 # func_dirname file append nondir_replacement
15041 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15042 # otherwise set result to NONDIR_REPLACEMENT.
15046 */*) func_dirname_result
="${1%/*}${2}" ;;
15047 * ) func_dirname_result
="${3}" ;;
15051 # func_basename file
15054 func_basename_result
="${1##*/}"
15057 # func_dirname_and_basename file append nondir_replacement
15058 # perform func_basename and func_dirname in a single function
15060 # dirname: Compute the dirname of FILE. If nonempty,
15061 # add APPEND to the result, otherwise set result
15062 # to NONDIR_REPLACEMENT.
15063 # value returned in "$func_dirname_result"
15064 # basename: Compute filename of FILE.
15065 # value retuned in "$func_basename_result"
15066 # Implementation must be kept synchronized with func_dirname
15067 # and func_basename. For efficiency, we do not delegate to
15068 # those functions but instead duplicate the functionality here.
15069 func_dirname_and_basename
()
15072 */*) func_dirname_result
="${1%/*}${2}" ;;
15073 * ) func_dirname_result
="${3}" ;;
15075 func_basename_result
="${1##*/}"
15078 # func_stripname prefix suffix name
15079 # strip PREFIX and SUFFIX off of NAME.
15080 # PREFIX and SUFFIX must not contain globbing or regex special
15081 # characters, hashes, percent signs, but SUFFIX may contain a leading
15082 # dot (in which case that matches only a dot).
15085 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15086 # positional parameters, so assign one to ordinary parameter first.
15087 func_stripname_result
=${3}
15088 func_stripname_result
=${func_stripname_result#"${1}"}
15089 func_stripname_result
=${func_stripname_result%"${2}"}
15095 func_opt_split_opt
=${1%%=*}
15096 func_opt_split_arg
=${1#*=}
15103 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15104 *) func_lo2o_result
=${1} ;;
15108 # func_xform libobj-or-source
15111 func_xform_result
=${1%.*}.lo
15114 # func_arith arithmetic-term...
15117 func_arith_result
=$
(( $
* ))
15121 # STRING may not start with a hyphen.
15124 func_len_result
=${#1}
15129 *) # Bourne compatible functions.
15130 cat << \_LT_EOF
>> "$cfgfile"
15132 # func_dirname file append nondir_replacement
15133 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15134 # otherwise set result to NONDIR_REPLACEMENT.
15137 # Extract subdirectory from the argument.
15138 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15139 if test "X$func_dirname_result" = "X${1}"; then
15140 func_dirname_result
="${3}"
15142 func_dirname_result
="$func_dirname_result${2}"
15146 # func_basename file
15149 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15153 # func_stripname prefix suffix name
15154 # strip PREFIX and SUFFIX off of NAME.
15155 # PREFIX and SUFFIX must not contain globbing or regex special
15156 # characters, hashes, percent signs, but SUFFIX may contain a leading
15157 # dot (in which case that matches only a dot).
15158 # func_strip_suffix prefix name
15162 .
*) func_stripname_result
=`$ECHO "X${3}" \
15163 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15164 *) func_stripname_result
=`$ECHO "X${3}" \
15165 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15170 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15171 my_sed_long_arg
='1s/^-[^=]*=//'
15176 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15177 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15183 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15186 # func_xform libobj-or-source
15189 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15192 # func_arith arithmetic-term...
15195 func_arith_result
=`expr "$@"`
15199 # STRING may not start with a hyphen.
15202 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15208 case $lt_shell_append in
15210 cat << \_LT_EOF
>> "$cfgfile"
15212 # func_append var value
15213 # Append VALUE to the end of shell variable VAR.
15221 cat << \_LT_EOF
>> "$cfgfile"
15223 # func_append var value
15224 # Append VALUE to the end of shell variable VAR.
15235 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15236 ||
(rm -f "$cfgfile"; exit 1)
15238 mv -f "$cfgfile" "$ofile" ||
15239 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15244 for ac_file
in $CONFIG_FILES; do
15245 # Support "outfile[:infile[:infile...]]"
15247 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15249 # PO directories have a Makefile.in generated from Makefile.in.in.
15250 case "$ac_file" in */Makefile.
in)
15251 # Adjust a relative srcdir.
15252 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
15253 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
15254 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
15255 # In autoconf-2.13 it is called $ac_given_srcdir.
15256 # In autoconf-2.50 it is called $srcdir.
15257 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
15258 case "$ac_given_srcdir" in
15259 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
15260 /*) top_srcdir
="$ac_given_srcdir" ;;
15261 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15263 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
15264 rm -f "$ac_dir/POTFILES"
15265 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
15266 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
15267 POMAKEFILEDEPS
="POTFILES.in"
15268 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
15269 # on $ac_dir but don't depend on user-specified configuration
15271 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
15272 # The LINGUAS file contains the set of available languages.
15273 if test -n "$OBSOLETE_ALL_LINGUAS"; then
15274 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
15276 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
15277 # Hide the ALL_LINGUAS assigment from automake.
15278 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
15279 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
15281 # The set of available languages was given in configure.in.
15282 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
15284 case "$ac_given_srcdir" in
15286 *) srcdirpre
='$(srcdir)/' ;;
15292 for lang
in $ALL_LINGUAS; do
15293 POFILES
="$POFILES $srcdirpre$lang.po"
15294 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
15295 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
15296 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
15298 # CATALOGS depends on both $ac_dir and the user's LINGUAS
15299 # environment variable.
15301 if test -n "$ALL_LINGUAS"; then
15302 for presentlang
in $ALL_LINGUAS; do
15304 if test "%UNSET%" != "$LINGUAS"; then
15305 desiredlanguages
="$LINGUAS"
15307 desiredlanguages
="$ALL_LINGUAS"
15309 for desiredlang
in $desiredlanguages; do
15310 # Use the presentlang catalog if desiredlang is
15311 # a. equal to presentlang, or
15312 # b. a variant of presentlang (because in this case,
15313 # presentlang can be used as a fallback for messages
15314 # which are not translated in the desiredlang catalog).
15315 case "$desiredlang" in
15316 "$presentlang"*) useit
=yes;;
15319 if test $useit = yes; then
15320 INST_LINGUAS
="$INST_LINGUAS $presentlang"
15325 if test -n "$INST_LINGUAS"; then
15326 for lang
in $INST_LINGUAS; do
15327 CATALOGS
="$CATALOGS $lang.gmo"
15330 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
15331 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"
15332 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
15333 if test -f "$f"; then
15335 *.orig |
*.bak |
*~
) ;;
15336 *) cat "$f" >> "$ac_dir/Makefile" ;;
15348 cat >>$CONFIG_STATUS <<\_ACEOF
15350 { (exit 0); exit 0; }
15352 chmod +x
$CONFIG_STATUS
15353 ac_clean_files
=$ac_clean_files_save
15356 # configure is writing to config.log, and then calls config.status.
15357 # config.status does its own redirection, appending to config.log.
15358 # Unfortunately, on DOS this fails, as config.log is still kept open
15359 # by configure, so config.status won't be able to write to it; its
15360 # output is simply discarded. So we exec the FD to /dev/null,
15361 # effectively closing config.log, so it can be properly (re)opened and
15362 # appended to by config.status. When coming back to configure, we
15363 # need to make the FD available again.
15364 if test "$no_create" != yes; then
15366 ac_config_status_args
=
15367 test "$silent" = yes &&
15368 ac_config_status_args
="$ac_config_status_args --quiet"
15370 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15372 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15373 # would make configure fail if this is the last instruction.
15374 $ac_cs_success ||
{ (exit 1); exit 1; }