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 AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP 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 SHARED_LDFLAGS SHARED_LIBADD SHARED_DEPENDENCIES archdefs BFD_MACHINES LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version
=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name
=s
,x
,x
,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir
='${exec_prefix}/bin'
490 sbindir
='${exec_prefix}/sbin'
491 libexecdir
='${exec_prefix}/libexec'
492 datadir
='${prefix}/share'
493 sysconfdir
='${prefix}/etc'
494 sharedstatedir
='${prefix}/com'
495 localstatedir
='${prefix}/var'
496 libdir
='${exec_prefix}/lib'
497 includedir
='${prefix}/include'
498 oldincludedir
='/usr/include'
499 infodir
='${prefix}/info'
500 mandir
='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
520 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
523 -build |
--build |
--buil |
--bui |
--bu)
524 ac_prev
=build_alias
;;
525 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
526 build_alias
=$ac_optarg ;;
528 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
529 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
530 ac_prev
=cache_file
;;
531 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
532 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
533 cache_file
=$ac_optarg ;;
536 cache_file
=config.cache
;;
538 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
540 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
542 datadir
=$ac_optarg ;;
544 -disable-* |
--disable-*)
545 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* |
--enable-*)
554 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
567 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
568 |
--exec |
--exe |
--ex)
569 ac_prev
=exec_prefix
;;
570 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
571 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
572 |
--exec=* |
--exe=* |
--ex=*)
573 exec_prefix
=$ac_optarg ;;
575 -gas |
--gas |
--ga |
--g)
576 # Obsolete; use --with-gas.
579 -help |
--help |
--hel |
--he |
-h)
581 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
582 ac_init_help
=recursive
;;
583 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
584 ac_init_help
=short
;;
586 -host |
--host |
--hos |
--ho)
587 ac_prev
=host_alias
;;
588 -host=* |
--host=* |
--hos=* |
--ho=*)
589 host_alias
=$ac_optarg ;;
591 -includedir |
--includedir |
--includedi |
--included |
--include \
592 |
--includ |
--inclu |
--incl |
--inc)
593 ac_prev
=includedir
;;
594 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
595 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
596 includedir
=$ac_optarg ;;
598 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
600 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
601 infodir
=$ac_optarg ;;
603 -libdir |
--libdir |
--libdi |
--libd)
605 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
608 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
609 |
--libexe |
--libex |
--libe)
610 ac_prev
=libexecdir
;;
611 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
612 |
--libexe=* |
--libex=* |
--libe=*)
613 libexecdir
=$ac_optarg ;;
615 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
616 |
--localstate |
--localstat |
--localsta |
--localst \
617 |
--locals |
--local |
--loca |
--loc |
--lo)
618 ac_prev
=localstatedir
;;
619 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
620 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
621 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
622 localstatedir
=$ac_optarg ;;
624 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
626 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
630 # Obsolete; use --without-fp.
633 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
634 |
--no-cr |
--no-c |
-n)
637 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
638 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
641 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
642 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
643 |
--oldin |
--oldi |
--old |
--ol |
--o)
644 ac_prev
=oldincludedir
;;
645 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
646 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
647 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
648 oldincludedir
=$ac_optarg ;;
650 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
652 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
655 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
656 |
--program-pre |
--program-pr |
--program-p)
657 ac_prev
=program_prefix
;;
658 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
659 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
660 program_prefix
=$ac_optarg ;;
662 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
663 |
--program-suf |
--program-su |
--program-s)
664 ac_prev
=program_suffix
;;
665 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
666 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
667 program_suffix
=$ac_optarg ;;
669 -program-transform-name |
--program-transform-name \
670 |
--program-transform-nam |
--program-transform-na \
671 |
--program-transform-n |
--program-transform- \
672 |
--program-transform |
--program-transfor \
673 |
--program-transfo |
--program-transf \
674 |
--program-trans |
--program-tran \
675 |
--progr-tra |
--program-tr |
--program-t)
676 ac_prev
=program_transform_name
;;
677 -program-transform-name=* |
--program-transform-name=* \
678 |
--program-transform-nam=* |
--program-transform-na=* \
679 |
--program-transform-n=* |
--program-transform-=* \
680 |
--program-transform=* |
--program-transfor=* \
681 |
--program-transfo=* |
--program-transf=* \
682 |
--program-trans=* |
--program-tran=* \
683 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
684 program_transform_name
=$ac_optarg ;;
686 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
687 |
-silent |
--silent |
--silen |
--sile |
--sil)
690 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
692 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
694 sbindir
=$ac_optarg ;;
696 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
697 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
698 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
700 ac_prev
=sharedstatedir
;;
701 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
702 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
703 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
705 sharedstatedir
=$ac_optarg ;;
707 -site |
--site |
--sit)
709 -site=* |
--site=* |
--sit=*)
712 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
714 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
717 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
718 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
719 ac_prev
=sysconfdir
;;
720 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
721 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
722 sysconfdir
=$ac_optarg ;;
724 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
725 ac_prev
=target_alias
;;
726 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
727 target_alias
=$ac_optarg ;;
729 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
732 -version |
--version |
--versio |
--versi |
--vers |
-V)
736 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package
=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* |
--without-*)
749 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package
=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
762 |
--x-incl |
--x-inc |
--x-in |
--x-i)
763 ac_prev
=x_includes
;;
764 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
765 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
766 x_includes
=$ac_optarg ;;
768 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
769 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
770 ac_prev
=x_libraries
;;
771 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
772 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
773 x_libraries
=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var
in exec_prefix prefix
810 eval ac_val
=$
`echo $ac_var`
812 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val
=$
`echo $ac_var`
824 [\\/$
]* | ?
:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x
; then
839 if test "x$build_alias" = x
; then
840 cross_compiling
=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
851 test "$silent" = yes && exec 6>/dev
/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted
=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir
=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted
=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set
=${build_alias+set}
891 ac_env_build_alias_value
=$build_alias
892 ac_cv_env_build_alias_set
=${build_alias+set}
893 ac_cv_env_build_alias_value
=$build_alias
894 ac_env_host_alias_set
=${host_alias+set}
895 ac_env_host_alias_value
=$host_alias
896 ac_cv_env_host_alias_set
=${host_alias+set}
897 ac_cv_env_host_alias_value
=$host_alias
898 ac_env_target_alias_set
=${target_alias+set}
899 ac_env_target_alias_value
=$target_alias
900 ac_cv_env_target_alias_set
=${target_alias+set}
901 ac_cv_env_target_alias_value
=$target_alias
902 ac_env_CC_set
=${CC+set}
904 ac_cv_env_CC_set
=${CC+set}
905 ac_cv_env_CC_value
=$CC
906 ac_env_CFLAGS_set
=${CFLAGS+set}
907 ac_env_CFLAGS_value
=$CFLAGS
908 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
909 ac_cv_env_CFLAGS_value
=$CFLAGS
910 ac_env_LDFLAGS_set
=${LDFLAGS+set}
911 ac_env_LDFLAGS_value
=$LDFLAGS
912 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
913 ac_cv_env_LDFLAGS_value
=$LDFLAGS
914 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
915 ac_env_CPPFLAGS_value
=$CPPFLAGS
916 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
917 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
918 ac_env_CPP_set
=${CPP+set}
919 ac_env_CPP_value
=$CPP
920 ac_cv_env_CPP_set
=${CPP+set}
921 ac_cv_env_CPP_value
=$CPP
924 # Report the --help message.
926 if test "$ac_init_help" = "long"; then
927 # Omit some internal or obsolete options to make the list less imposing.
928 # This message is too long to be a string in the A/UX 3.1 sh.
930 \`configure' configures this package to adapt to many kinds of systems.
932 Usage: $0 [OPTION]... [VAR=VALUE]...
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE. See below for descriptions of some of the useful variables.
937 Defaults for the options are specified in brackets.
940 -h, --help display this help and exit
941 --help=short display options specific to this package
942 --help=recursive display the short help of all the included packages
943 -V, --version display version information and exit
944 -q, --quiet, --silent do not print \`checking...' messages
945 --cache-file=FILE cache test results in FILE [disabled]
946 -C, --config-cache alias for \`--cache-file=config.cache'
947 -n, --no-create do not create output files
948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953 Installation directories:
954 --prefix=PREFIX install architecture-independent files in PREFIX
956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
964 For better control, use the options below.
966 Fine tuning of the installation directories:
967 --bindir=DIR user executables [EPREFIX/bin]
968 --sbindir=DIR system admin executables [EPREFIX/sbin]
969 --libexecdir=DIR program executables [EPREFIX/libexec]
970 --datadir=DIR read-only architecture-independent data [PREFIX/share]
971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
974 --libdir=DIR object code libraries [EPREFIX/lib]
975 --includedir=DIR C header files [PREFIX/include]
976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
977 --infodir=DIR info documentation [PREFIX/info]
978 --mandir=DIR man documentation [PREFIX/man]
984 --program-prefix=PREFIX prepend PREFIX to installed program names
985 --program-suffix=SUFFIX append SUFFIX to installed program names
986 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
989 --build=BUILD configure
for building on BUILD
[guessed
]
990 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
991 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
995 if test -n "$ac_init_help"; then
1000 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1001 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1002 --disable-dependency-tracking speeds up one-time build
1003 --enable-dependency-tracking do not reject slow dependency extractors
1004 --enable-shared[=PKGS
]
1005 build shared libraries
[default
=no
]
1006 --enable-static[=PKGS
]
1007 build static libraries
[default
=yes]
1008 --enable-fast-install[=PKGS
]
1009 optimize
for fast installation
[default
=yes]
1010 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1011 --enable-targets alternative target configurations
1012 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
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: changes in the environment can compromise the build" >&5
1454 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1455 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1456 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1457 { (exit 1); exit 1; }; }
1461 ac_cpp='$CPP $CPPFLAGS'
1462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1463 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1488 if test -f $ac_dir/install-sh; then
1490 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 elif test -f $ac_dir/install.sh; then
1494 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 elif test -f $ac_dir/shtool; then
1498 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 if test -z "$ac_aux_dir"; then
1503 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1504 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1505 { (exit 1); exit 1; }; }
1507 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1508 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1509 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1511 # Make sure we can run config.sub.
1512 $ac_config_sub sun4 >/dev/null 2>&1 ||
1513 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1514 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1515 { (exit 1); exit 1; }; }
1517 echo "$as_me:$LINENO: checking build system type" >&5
1518 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1519 if test "${ac_cv_build+set}" = set; then
1520 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 ac_cv_build_alias=$build_alias
1523 test -z "$ac_cv_build_alias" &&
1524 ac_cv_build_alias=`$ac_config_guess`
1525 test -z "$ac_cv_build_alias" &&
1526 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1527 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1528 { (exit 1); exit 1; }; }
1529 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1530 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1531 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1532 { (exit 1); exit 1; }; }
1535 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1536 echo "${ECHO_T}$ac_cv_build" >&6
1538 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1539 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1540 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1543 echo "$as_me:$LINENO: checking host system type" >&5
1544 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1545 if test "${ac_cv_host+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 ac_cv_host_alias=$host_alias
1549 test -z "$ac_cv_host_alias" &&
1550 ac_cv_host_alias=$ac_cv_build_alias
1551 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1552 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1553 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1554 { (exit 1); exit 1; }; }
1557 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1558 echo "${ECHO_T}$ac_cv_host" >&6
1560 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1561 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1562 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1565 echo "$as_me:$LINENO: checking target system type" >&5
1566 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1567 if test "${ac_cv_target+set}" = set; then
1568 echo $ECHO_N "(cached) $ECHO_C" >&6
1570 ac_cv_target_alias=$target_alias
1571 test "x$ac_cv_target_alias" = "x" &&
1572 ac_cv_target_alias=$ac_cv_host_alias
1573 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1574 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1575 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1576 { (exit 1); exit 1; }; }
1579 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1580 echo "${ECHO_T}$ac_cv_target" >&6
1581 target=$ac_cv_target
1582 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1583 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1584 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1587 # The aliases save the names the user supplied, while $host etc.
1588 # will get canonicalized.
1589 test -n "$target_alias" &&
1590 test "$program_prefix$program_suffix$program_transform_name" = \
1592 program_prefix=${target_alias}-
1594 ac_cpp='$CPP $CPPFLAGS'
1595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1596 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1598 if test -n "$ac_tool_prefix"; then
1599 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1600 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1601 echo "$as_me:$LINENO: checking for $ac_word" >&5
1602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1603 if test "${ac_cv_prog_CC+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 if test -n "$CC"; then
1607 ac_cv_prog_CC="$CC" # Let the user override the test.
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir=.
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1626 if test -n "$CC"; then
1627 echo "$as_me:$LINENO: result: $CC" >&5
1628 echo "${ECHO_T}$CC" >&6
1630 echo "$as_me:$LINENO: result: no" >&5
1631 echo "${ECHO_T}no" >&6
1635 if test -z "$ac_cv_prog_CC"; then
1637 # Extract the first word of "gcc", so it can be a program name with args.
1638 set dummy gcc; ac_word=$2
1639 echo "$as_me:$LINENO: checking for $ac_word" >&5
1640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1644 if test -n "$ac_ct_CC"; then
1645 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1651 test -z "$as_dir" && as_dir=.
1652 for ac_exec_ext in '' $ac_executable_extensions; do
1653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1654 ac_cv_prog_ac_ct_CC="gcc"
1655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1664 if test -n "$ac_ct_CC"; then
1665 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1666 echo "${ECHO_T}$ac_ct_CC" >&6
1668 echo "$as_me:$LINENO: result: no" >&5
1669 echo "${ECHO_T}no" >&6
1677 if test -z "$CC"; then
1678 if test -n "$ac_tool_prefix"; then
1679 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1680 set dummy ${ac_tool_prefix}cc; ac_word=$2
1681 echo "$as_me:$LINENO: checking for $ac_word" >&5
1682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1683 if test "${ac_cv_prog_CC+set}" = set; then
1684 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 if test -n "$CC"; then
1687 ac_cv_prog_CC="$CC" # Let the user override the test.
1689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1693 test -z "$as_dir" && as_dir=.
1694 for ac_exec_ext in '' $ac_executable_extensions; do
1695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1696 ac_cv_prog_CC="${ac_tool_prefix}cc"
1697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1706 if test -n "$CC"; then
1707 echo "$as_me:$LINENO: result: $CC" >&5
1708 echo "${ECHO_T}$CC" >&6
1710 echo "$as_me:$LINENO: result: no" >&5
1711 echo "${ECHO_T}no" >&6
1715 if test -z "$ac_cv_prog_CC"; then
1717 # Extract the first word of "cc", so it can be a program name with args.
1718 set dummy cc; ac_word=$2
1719 echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1721 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 if test -n "$ac_ct_CC"; then
1725 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir=.
1732 for ac_exec_ext in '' $ac_executable_extensions; do
1733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1734 ac_cv_prog_ac_ct_CC="cc"
1735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1743 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1744 if test -n "$ac_ct_CC"; then
1745 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1746 echo "${ECHO_T}$ac_ct_CC" >&6
1748 echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6
1758 if test -z "$CC"; then
1759 # Extract the first word of "cc", so it can be a program name with args.
1760 set dummy cc; ac_word=$2
1761 echo "$as_me:$LINENO: checking for $ac_word" >&5
1762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1763 if test "${ac_cv_prog_CC+set}" = set; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1766 if test -n "$CC"; then
1767 ac_cv_prog_CC="$CC" # Let the user override the test.
1770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1774 test -z "$as_dir" && as_dir=.
1775 for ac_exec_ext in '' $ac_executable_extensions; do
1776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1777 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1778 ac_prog_rejected=yes
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1788 if test $ac_prog_rejected = yes; then
1789 # We found a bogon in the path, so make sure we never use it.
1790 set dummy $ac_cv_prog_CC
1792 if test $# != 0; then
1793 # We chose a different compiler from the bogus one.
1794 # However, it has the same basename, so the bogon will be chosen
1795 # first if we set CC to just the basename; use the full file name.
1797 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1803 if test -n "$CC"; then
1804 echo "$as_me:$LINENO: result: $CC" >&5
1805 echo "${ECHO_T}$CC" >&6
1807 echo "$as_me:$LINENO: result: no" >&5
1808 echo "${ECHO_T}no" >&6
1812 if test -z "$CC"; then
1813 if test -n "$ac_tool_prefix"; then
1816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1817 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1818 echo "$as_me:$LINENO: checking for $ac_word" >&5
1819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1820 if test "${ac_cv_prog_CC+set}" = set; then
1821 echo $ECHO_N "(cached) $ECHO_C" >&6
1823 if test -n "$CC"; then
1824 ac_cv_prog_CC="$CC" # Let the user override the test.
1826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1830 test -z "$as_dir" && as_dir=.
1831 for ac_exec_ext in '' $ac_executable_extensions; do
1832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1833 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1843 if test -n "$CC"; then
1844 echo "$as_me:$LINENO: result: $CC" >&5
1845 echo "${ECHO_T}$CC" >&6
1847 echo "$as_me:$LINENO: result: no" >&5
1848 echo "${ECHO_T}no" >&6
1851 test -n "$CC" && break
1854 if test -z "$CC"; then
1858 # Extract the first word of "$ac_prog", so it can be a program name with args.
1859 set dummy $ac_prog; ac_word=$2
1860 echo "$as_me:$LINENO: checking for $ac_word" >&5
1861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1862 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 if test -n "$ac_ct_CC"; then
1866 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1872 test -z "$as_dir" && as_dir=.
1873 for ac_exec_ext in '' $ac_executable_extensions; do
1874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1875 ac_cv_prog_ac_ct_CC="$ac_prog"
1876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1885 if test -n "$ac_ct_CC"; then
1886 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1887 echo "${ECHO_T}$ac_ct_CC" >&6
1889 echo "$as_me:$LINENO: result: no" >&5
1890 echo "${ECHO_T}no" >&6
1893 test -n "$ac_ct_CC" && break
1902 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1903 See \`config.log' for more details.
" >&5
1904 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1905 See \
`config.log' for more details." >&2;}
1906 { (exit 1); exit 1; }; }
1908 # Provide some information about the compiler.
1909 echo "$as_me:$LINENO:" \
1910 "checking for C compiler version" >&5
1911 ac_compiler=`set X
$ac_compile; echo $2`
1912 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1913 (eval $ac_compiler --version </dev/null >&5) 2>&5
1915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916 (exit $ac_status); }
1917 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1918 (eval $ac_compiler -v </dev/null >&5) 2>&5
1920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921 (exit $ac_status); }
1922 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1923 (eval $ac_compiler -V </dev/null >&5) 2>&5
1925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1926 (exit $ac_status); }
1928 cat >conftest.$ac_ext <<_ACEOF
1931 cat confdefs.h >>conftest.$ac_ext
1932 cat >>conftest.$ac_ext <<_ACEOF
1933 /* end confdefs.h. */
1943 ac_clean_files_save=$ac_clean_files
1944 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1945 # Try to create an executable without -o first, disregard a.out.
1946 # It will help us diagnose broken compilers, and finding out an intuition
1948 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1949 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1950 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1951 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1952 (eval $ac_link_default) 2>&5
1954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1955 (exit $ac_status); }; then
1956 # Find the output, starting from the most likely. This scheme is
1957 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1960 # Be careful to initialize this variable, since it used to be cached.
1961 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1963 # b.out is created by i960 compilers.
1964 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1966 test -f "$ac_file" || continue
1968 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1971 # This is the source file.
1974 # We found the default executable, but exeext='' is most
1978 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1979 # FIXME: I believe we export ac_cv_exeext for Libtool,
1980 # but it would be cool to find out if it's true. Does anybody
1981 # maintain Libtool? --akim.
1989 echo "$as_me: failed program was:" >&5
1990 sed 's/^/| /' conftest.$ac_ext >&5
1992 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1993 See \`config.log
' for more details." >&5
1994 echo "$as_me: error: C compiler cannot create executables
1995 See \`config.log' for more details.
" >&2;}
1996 { (exit 77); exit 77; }; }
1999 ac_exeext=$ac_cv_exeext
2000 echo "$as_me:$LINENO: result
: $ac_file" >&5
2001 echo "${ECHO_T}$ac_file" >&6
2003 # Check the compiler produces executables we can run. If not, either
2004 # the compiler is broken, or we cross compile.
2005 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2006 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
2007 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2008 # If not cross compiling, check that we can run a simple program.
2009 if test "$cross_compiling" != yes; then
2010 if { ac_try='./$ac_file'
2011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2014 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2015 (exit $ac_status); }; }; then
2018 if test "$cross_compiling" = maybe; then
2021 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2022 If you meant to cross compile
, use \
`--host'.
2023 See \`config.log
' for more details." >&5
2024 echo "$as_me: error: cannot run C compiled programs.
2025 If you meant to cross compile, use \`--host'.
2026 See \
`config.log' for more details." >&2;}
2027 { (exit 1); exit 1; }; }
2031 echo "$as_me:$LINENO: result: yes" >&5
2032 echo "${ECHO_T}yes" >&6
2034 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2035 ac_clean_files=$ac_clean_files_save
2036 # Check the compiler produces executables we can run. If not, either
2037 # the compiler is broken, or we cross compile.
2038 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2039 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2040 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2041 echo "${ECHO_T}$cross_compiling" >&6
2043 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2044 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2046 (eval $ac_link) 2>&5
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049 (exit $ac_status); }; then
2050 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2051 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2052 # work properly (i.e., refer to `conftest.exe'), while it won't with
2054 for ac_file
in conftest.exe conftest conftest.
*; do
2055 test -f "$ac_file" ||
continue
2057 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2058 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2065 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2066 See \`config.log' for more details." >&5
2067 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2068 See \`config.log' for more details." >&2;}
2069 { (exit 1); exit 1; }; }
2072 rm -f conftest
$ac_cv_exeext
2073 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2074 echo "${ECHO_T}$ac_cv_exeext" >&6
2076 rm -f conftest.
$ac_ext
2077 EXEEXT
=$ac_cv_exeext
2079 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2080 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2081 if test "${ac_cv_objext+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 cat >conftest.
$ac_ext <<_ACEOF
2087 cat confdefs.h
>>conftest.
$ac_ext
2088 cat >>conftest.
$ac_ext <<_ACEOF
2089 /* end confdefs.h. */
2099 rm -f conftest.o conftest.obj
2100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2101 (eval $ac_compile) 2>&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }; then
2105 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2107 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2108 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2113 echo "$as_me: failed program was:" >&5
2114 sed 's/^/| /' conftest.
$ac_ext >&5
2116 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2117 See \`config.log' for more details." >&5
2118 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2119 See \`config.log' for more details." >&2;}
2120 { (exit 1); exit 1; }; }
2123 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2125 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2126 echo "${ECHO_T}$ac_cv_objext" >&6
2127 OBJEXT
=$ac_cv_objext
2129 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2130 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2131 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 cat >conftest.
$ac_ext <<_ACEOF
2137 cat confdefs.h
>>conftest.
$ac_ext
2138 cat >>conftest.
$ac_ext <<_ACEOF
2139 /* end confdefs.h. */
2152 rm -f conftest.
$ac_objext
2153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2154 (eval $ac_compile) 2>conftest.er1
2156 grep -v '^ *+' conftest.er1
>conftest.err
2158 cat conftest.err
>&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); } &&
2161 { ac_try
='test -z "$ac_c_werror_flag"
2162 || test ! -s conftest.err'
2163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }; } &&
2168 { ac_try
='test -s conftest.$ac_objext'
2169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); }; }; then
2176 echo "$as_me: failed program was:" >&5
2177 sed 's/^/| /' conftest.
$ac_ext >&5
2181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2182 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2185 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2186 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2187 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2188 ac_test_CFLAGS
=${CFLAGS+set}
2189 ac_save_CFLAGS
=$CFLAGS
2191 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2192 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2193 if test "${ac_cv_prog_cc_g+set}" = set; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2196 cat >conftest.
$ac_ext <<_ACEOF
2199 cat confdefs.h
>>conftest.
$ac_ext
2200 cat >>conftest.
$ac_ext <<_ACEOF
2201 /* end confdefs.h. */
2211 rm -f conftest.
$ac_objext
2212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2213 (eval $ac_compile) 2>conftest.er1
2215 grep -v '^ *+' conftest.er1
>conftest.err
2217 cat conftest.err
>&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); } &&
2220 { ac_try
='test -z "$ac_c_werror_flag"
2221 || test ! -s conftest.err'
2222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); }; } &&
2227 { ac_try
='test -s conftest.$ac_objext'
2228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2232 (exit $ac_status); }; }; then
2235 echo "$as_me: failed program was:" >&5
2236 sed 's/^/| /' conftest.
$ac_ext >&5
2240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2242 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2243 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2244 if test "$ac_test_CFLAGS" = set; then
2245 CFLAGS
=$ac_save_CFLAGS
2246 elif test $ac_cv_prog_cc_g = yes; then
2247 if test "$GCC" = yes; then
2253 if test "$GCC" = yes; then
2259 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2260 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2261 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 ac_cv_prog_cc_stdc
=no
2266 cat >conftest.
$ac_ext <<_ACEOF
2269 cat confdefs.h
>>conftest.
$ac_ext
2270 cat >>conftest.
$ac_ext <<_ACEOF
2271 /* end confdefs.h. */
2274 #include <sys/types.h>
2275 #include <sys/stat.h>
2276 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2277 struct buf { int x; };
2278 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2279 static char *e (p, i)
2285 static char *f (char * (*g) (char **, int), char **p, ...)
2290 s = g (p, va_arg (v,int));
2295 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2296 function prototypes and stuff, but not '\xHH' hex character constants.
2297 These don't provoke an error unfortunately, instead are silently treated
2298 as 'x'. The following induces an error, until -std1 is added to get
2299 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2300 array size at least. It's necessary to write '\x00'==0 to get something
2301 that's true only with -std1. */
2302 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2304 int test (int i, double x);
2305 struct s1 {int (*f) (int a);};
2306 struct s2 {int (*f) (double a);};
2307 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2313 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2318 # Don't try gcc -ansi; that turns off useful extensions and
2319 # breaks some systems' header files.
2320 # AIX -qlanglvl=ansi
2321 # Ultrix and OSF/1 -std1
2322 # HP-UX 10.20 and later -Ae
2323 # HP-UX older versions -Aa -D_HPUX_SOURCE
2324 # SVR4 -Xc -D__EXTENSIONS__
2325 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2327 CC
="$ac_save_CC $ac_arg"
2328 rm -f conftest.
$ac_objext
2329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2330 (eval $ac_compile) 2>conftest.er1
2332 grep -v '^ *+' conftest.er1
>conftest.err
2334 cat conftest.err
>&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); } &&
2337 { ac_try
='test -z "$ac_c_werror_flag"
2338 || test ! -s conftest.err'
2339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }; } &&
2344 { ac_try
='test -s conftest.$ac_objext'
2345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }; }; then
2350 ac_cv_prog_cc_stdc
=$ac_arg
2353 echo "$as_me: failed program was:" >&5
2354 sed 's/^/| /' conftest.
$ac_ext >&5
2357 rm -f conftest.err conftest.
$ac_objext
2359 rm -f conftest.
$ac_ext conftest.
$ac_objext
2364 case "x$ac_cv_prog_cc_stdc" in
2366 echo "$as_me:$LINENO: result: none needed" >&5
2367 echo "${ECHO_T}none needed" >&6 ;;
2369 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2370 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2371 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2374 # Some people use a C++ compiler to compile C. Since we use `exit',
2375 # in C++ we need to declare it. In case someone uses the same compiler
2376 # for both compiling C and C++ we need to have the C++ compiler decide
2377 # the declaration of exit, since it's the most demanding environment.
2378 cat >conftest.
$ac_ext <<_ACEOF
2383 rm -f conftest.
$ac_objext
2384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2385 (eval $ac_compile) 2>conftest.er1
2387 grep -v '^ *+' conftest.er1
>conftest.err
2389 cat conftest.err
>&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } &&
2392 { ac_try
='test -z "$ac_c_werror_flag"
2393 || test ! -s conftest.err'
2394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; } &&
2399 { ac_try
='test -s conftest.$ac_objext'
2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; }; then
2405 for ac_declaration
in \
2407 'extern "C" void std::exit (int) throw (); using std::exit;' \
2408 'extern "C" void std::exit (int); using std::exit;' \
2409 'extern "C" void exit (int) throw ();' \
2410 'extern "C" void exit (int);' \
2413 cat >conftest.
$ac_ext <<_ACEOF
2416 cat confdefs.h
>>conftest.
$ac_ext
2417 cat >>conftest.
$ac_ext <<_ACEOF
2418 /* end confdefs.h. */
2429 rm -f conftest.
$ac_objext
2430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2431 (eval $ac_compile) 2>conftest.er1
2433 grep -v '^ *+' conftest.er1
>conftest.err
2435 cat conftest.err
>&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); } &&
2438 { ac_try
='test -z "$ac_c_werror_flag"
2439 || test ! -s conftest.err'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; } &&
2445 { ac_try
='test -s conftest.$ac_objext'
2446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; }; then
2453 echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.
$ac_ext >&5
2458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2459 cat >conftest.
$ac_ext <<_ACEOF
2462 cat confdefs.h
>>conftest.
$ac_ext
2463 cat >>conftest.
$ac_ext <<_ACEOF
2464 /* end confdefs.h. */
2474 rm -f conftest.
$ac_objext
2475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2476 (eval $ac_compile) 2>conftest.er1
2478 grep -v '^ *+' conftest.er1
>conftest.err
2480 cat conftest.err
>&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); } &&
2483 { ac_try
='test -z "$ac_c_werror_flag"
2484 || test ! -s conftest.err'
2485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; } &&
2490 { ac_try
='test -s conftest.$ac_objext'
2491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); }; }; then
2498 echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.
$ac_ext >&5
2502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2505 if test -n "$ac_declaration"; then
2506 echo '#ifdef __cplusplus' >>confdefs.h
2507 echo $ac_declaration >>confdefs.h
2508 echo '#endif' >>confdefs.h
2512 echo "$as_me: failed program was:" >&5
2513 sed 's/^/| /' conftest.
$ac_ext >&5
2516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2518 ac_cpp
='$CPP $CPPFLAGS'
2519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2524 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2525 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2526 if test "${ac_cv_search_strerror+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2529 ac_func_search_save_LIBS
=$LIBS
2530 ac_cv_search_strerror
=no
2531 cat >conftest.
$ac_ext <<_ACEOF
2534 cat confdefs.h
>>conftest.
$ac_ext
2535 cat >>conftest.
$ac_ext <<_ACEOF
2536 /* end confdefs.h. */
2538 /* Override any gcc2 internal prototype to avoid an error. */
2542 /* We use char because int might match the return type of a gcc2
2543 builtin and then its argument prototype would still apply. */
2553 rm -f conftest.
$ac_objext conftest
$ac_exeext
2554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2555 (eval $ac_link) 2>conftest.er1
2557 grep -v '^ *+' conftest.er1
>conftest.err
2559 cat conftest.err
>&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); } &&
2562 { ac_try
='test -z "$ac_c_werror_flag"
2563 || test ! -s conftest.err'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; } &&
2569 { ac_try
='test -s conftest$ac_exeext'
2570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; }; then
2575 ac_cv_search_strerror
="none required"
2577 echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.
$ac_ext >&5
2581 rm -f conftest.err conftest.
$ac_objext \
2582 conftest
$ac_exeext conftest.
$ac_ext
2583 if test "$ac_cv_search_strerror" = no
; then
2584 for ac_lib
in cposix
; do
2585 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2586 cat >conftest.
$ac_ext <<_ACEOF
2589 cat confdefs.h
>>conftest.
$ac_ext
2590 cat >>conftest.
$ac_ext <<_ACEOF
2591 /* end confdefs.h. */
2593 /* Override any gcc2 internal prototype to avoid an error. */
2597 /* We use char because int might match the return type of a gcc2
2598 builtin and then its argument prototype would still apply. */
2608 rm -f conftest.
$ac_objext conftest
$ac_exeext
2609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2610 (eval $ac_link) 2>conftest.er1
2612 grep -v '^ *+' conftest.er1
>conftest.err
2614 cat conftest.err
>&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); } &&
2617 { ac_try
='test -z "$ac_c_werror_flag"
2618 || test ! -s conftest.err'
2619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; } &&
2624 { ac_try
='test -s conftest$ac_exeext'
2625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); }; }; then
2630 ac_cv_search_strerror
="-l$ac_lib"
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.
$ac_ext >&5
2637 rm -f conftest.err conftest.
$ac_objext \
2638 conftest
$ac_exeext conftest.
$ac_ext
2641 LIBS
=$ac_func_search_save_LIBS
2643 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2644 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2645 if test "$ac_cv_search_strerror" != no
; then
2646 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2651 # We currently only use the version number for the name of any shared
2652 # library. For user convenience, we always use the same version
2653 # number that BFD is using.
2654 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2656 am__api_version
="1.9"
2657 # Find a good install program. We prefer a C program (faster),
2658 # so one script is as good as another. But avoid the broken or
2659 # incompatible versions:
2660 # SysV /etc/install, /usr/sbin/install
2661 # SunOS /usr/etc/install
2662 # IRIX /sbin/install
2664 # AmigaOS /C/install, which installs bootblocks on floppy discs
2665 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2666 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2667 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2668 # OS/2's system install, which has a completely different semantic
2669 # ./install, which can be erroneously created by make from ./install.sh.
2670 # Reject install programs that cannot install multiple files.
2671 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2672 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2673 if test -z "$INSTALL"; then
2674 if test "${ac_cv_path_install+set}" = set; then
2675 echo $ECHO_N "(cached) $ECHO_C" >&6
2677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir
=.
2682 # Account for people who put trailing slashes in PATH elements.
2684 .
/ | .
// |
/cC
/* | \
2685 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2686 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2689 # OSF1 and SCO ODT 3.0 have their own names for install.
2690 # Don't use installbsd from OSF since it installs stuff as root
2692 for ac_prog
in ginstall scoinst
install; do
2693 for ac_exec_ext
in '' $ac_executable_extensions; do
2694 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2695 if test $ac_prog = install &&
2696 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2697 # AIX install. It has an incompatible calling convention.
2699 elif test $ac_prog = install &&
2700 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2701 # program-specific install script used by HP pwplus--don't use.
2704 rm -rf conftest.one conftest.two conftest.dir
2705 echo one
> conftest.one
2706 echo two
> conftest.two
2708 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2709 test -s conftest.one
&& test -s conftest.two
&&
2710 test -s conftest.dir
/conftest.one
&&
2711 test -s conftest.dir
/conftest.two
2713 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2724 rm -rf conftest.one conftest.two conftest.dir
2727 if test "${ac_cv_path_install+set}" = set; then
2728 INSTALL
=$ac_cv_path_install
2730 # As a last resort, use the slow shell script. Don't cache a
2731 # value for INSTALL within a source directory, because that will
2732 # break other packages using the cache if that directory is
2733 # removed, or if the value is a relative name.
2734 INSTALL
=$ac_install_sh
2737 echo "$as_me:$LINENO: result: $INSTALL" >&5
2738 echo "${ECHO_T}$INSTALL" >&6
2740 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2741 # It thinks the first close brace ends the variable substitution.
2742 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2744 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2746 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2748 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2749 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2752 echo timestamp
> conftest.
file
2753 # Do `set' in a subshell so we don't clobber the current shell's
2754 # arguments. Must try -L first in case configure is actually a
2755 # symlink; some systems play weird games with the mod time of symlinks
2756 # (eg FreeBSD returns the mod time of the symlink's containing
2759 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2760 if test "$*" = "X"; then
2762 set X
`ls -t $srcdir/configure conftest.file`
2765 if test "$*" != "X $srcdir/configure conftest.file" \
2766 && test "$*" != "X conftest.file $srcdir/configure"; then
2768 # If neither matched, then we have a broken ls. This can happen
2769 # if, for instance, CONFIG_SHELL is bash and it inherits a
2770 # broken ls alias from the environment. This has actually
2771 # happened. Such a system could not be considered "sane".
2772 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2773 alias in your environment" >&5
2774 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2775 alias in your environment" >&2;}
2776 { (exit 1); exit 1; }; }
2779 test "$2" = conftest.
file
2785 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2786 Check your system clock" >&5
2787 echo "$as_me: error: newly created file is older than distributed files!
2788 Check your system clock" >&2;}
2789 { (exit 1); exit 1; }; }
2791 echo "$as_me:$LINENO: result: yes" >&5
2792 echo "${ECHO_T}yes" >&6
2793 test "$program_prefix" != NONE
&&
2794 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2795 # Use a double $ so make ignores it.
2796 test "$program_suffix" != NONE
&&
2797 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2798 # Double any \ or $. echo might interpret backslashes.
2799 # By default was `s,x,x', remove it if useless.
2800 cat <<\_ACEOF
>conftest.
sed
2801 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2803 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2806 # expand $ac_aux_dir to an absolute path
2807 am_aux_dir
=`cd $ac_aux_dir && pwd`
2809 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2810 # Use eval to expand $SHELL
2811 if eval "$MISSING --run true"; then
2812 am_missing_run
="$MISSING --run "
2815 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2816 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2819 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2820 # We used to keeping the `.' as first argument, in order to
2821 # allow $(mkdir_p) to be used without argument. As in
2822 # $(mkdir_p) $(somedir)
2823 # where $(somedir) is conditionally defined. However this is wrong
2825 # 1. if the package is installed by a user who cannot write `.'
2826 # make install will fail,
2827 # 2. the above comment should most certainly read
2828 # $(mkdir_p) $(DESTDIR)$(somedir)
2829 # so it does not work when $(somedir) is undefined and
2830 # $(DESTDIR) is not.
2831 # To support the latter case, we have to write
2832 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2833 # so the `.' trick is pointless.
2834 mkdir_p
='mkdir -p --'
2836 # On NextStep and OpenStep, the `mkdir' command does not
2837 # recognize any option. It will interpret all options as
2838 # directories to create, and then abort because `.' already
2840 for d
in .
/-p .
/--version;
2842 test -d $d && rmdir $d
2844 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2845 if test -f "$ac_aux_dir/mkinstalldirs"; then
2846 mkdir_p
='$(mkinstalldirs)'
2848 mkdir_p
='$(install_sh) -d'
2852 for ac_prog
in gawk mawk nawk
awk
2854 # Extract the first word of "$ac_prog", so it can be a program name with args.
2855 set dummy
$ac_prog; ac_word
=$2
2856 echo "$as_me:$LINENO: checking for $ac_word" >&5
2857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2858 if test "${ac_cv_prog_AWK+set}" = set; then
2859 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 if test -n "$AWK"; then
2862 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2868 test -z "$as_dir" && as_dir
=.
2869 for ac_exec_ext
in '' $ac_executable_extensions; do
2870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2871 ac_cv_prog_AWK
="$ac_prog"
2872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2881 if test -n "$AWK"; then
2882 echo "$as_me:$LINENO: result: $AWK" >&5
2883 echo "${ECHO_T}$AWK" >&6
2885 echo "$as_me:$LINENO: result: no" >&5
2886 echo "${ECHO_T}no" >&6
2889 test -n "$AWK" && break
2892 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2893 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2894 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2895 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2896 echo $ECHO_N "(cached) $ECHO_C" >&6
2898 cat >conftest.
make <<\_ACEOF
2900 @
echo 'ac_maketemp="$(MAKE)"'
2902 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2903 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2904 if test -n "$ac_maketemp"; then
2905 eval ac_cv_prog_make_
${ac_make}_set
=yes
2907 eval ac_cv_prog_make_
${ac_make}_set
=no
2911 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2912 echo "$as_me:$LINENO: result: yes" >&5
2913 echo "${ECHO_T}yes" >&6
2916 echo "$as_me:$LINENO: result: no" >&5
2917 echo "${ECHO_T}no" >&6
2918 SET_MAKE
="MAKE=${MAKE-make}"
2921 rm -rf .tst
2>/dev
/null
2922 mkdir .tst
2>/dev
/null
2923 if test -d .tst
; then
2928 rmdir .tst
2>/dev
/null
2930 DEPDIR
="${am__leading_dot}deps"
2932 ac_config_commands
="$ac_config_commands depfiles"
2935 am_make
=${MAKE-make}
2936 cat > confinc
<< 'END'
2941 # If we don't find an include directive, just comment out the code.
2942 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2943 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2947 # First try GNU make style include.
2948 echo "include confinc" > confmf
2949 # We grep out `Entering directory' and `Leaving directory'
2950 # messages which can occur if `w' ends up in MAKEFLAGS.
2951 # In particular we don't look at `^make:' because GNU make might
2952 # be invoked under some other name (usually "gmake"), in which
2953 # case it prints its new name instead of `make'.
2954 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2959 # Now try BSD make style include.
2960 if test "$am__include" = "#"; then
2961 echo '.include "confinc"' > confmf
2962 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2963 am__include
=.include
2970 echo "$as_me:$LINENO: result: $_am_result" >&5
2971 echo "${ECHO_T}$_am_result" >&6
2972 rm -f confinc confmf
2974 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2975 if test "${enable_dependency_tracking+set}" = set; then
2976 enableval
="$enable_dependency_tracking"
2979 if test "x$enable_dependency_tracking" != xno
; then
2980 am_depcomp
="$ac_aux_dir/depcomp"
2985 if test "x$enable_dependency_tracking" != xno; then
2995 # test to see if srcdir already configured
2996 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2997 test -f $srcdir/config.status
; then
2998 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2999 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3000 { (exit 1); exit 1; }; }
3003 # test whether we have cygpath
3004 if test -z "$CYGPATH_W"; then
3005 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3006 CYGPATH_W
='cygpath -w'
3013 # Define the identity of the package.
3015 VERSION
=${BFD_VERSION}
3018 cat >>confdefs.h
<<_ACEOF
3019 #define PACKAGE "$PACKAGE"
3023 cat >>confdefs.h
<<_ACEOF
3024 #define VERSION "$VERSION"
3027 # Some tools Automake needs.
3029 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3032 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3035 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3038 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3041 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3043 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3045 # Installed binaries are usually stripped using `strip' when the user
3046 # run `make install-strip'. However `strip' might not be the right
3047 # tool to use in cross-compilation environments, therefore Automake
3048 # will honor the `STRIP' environment variable to overrule this program.
3049 if test "$cross_compiling" != no
; then
3050 if test -n "$ac_tool_prefix"; then
3051 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3052 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3053 echo "$as_me:$LINENO: checking for $ac_word" >&5
3054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3055 if test "${ac_cv_prog_STRIP+set}" = set; then
3056 echo $ECHO_N "(cached) $ECHO_C" >&6
3058 if test -n "$STRIP"; then
3059 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3065 test -z "$as_dir" && as_dir
=.
3066 for ac_exec_ext
in '' $ac_executable_extensions; do
3067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3068 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3077 STRIP
=$ac_cv_prog_STRIP
3078 if test -n "$STRIP"; then
3079 echo "$as_me:$LINENO: result: $STRIP" >&5
3080 echo "${ECHO_T}$STRIP" >&6
3082 echo "$as_me:$LINENO: result: no" >&5
3083 echo "${ECHO_T}no" >&6
3087 if test -z "$ac_cv_prog_STRIP"; then
3089 # Extract the first word of "strip", so it can be a program name with args.
3090 set dummy strip
; ac_word
=$2
3091 echo "$as_me:$LINENO: checking for $ac_word" >&5
3092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3093 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3094 echo $ECHO_N "(cached) $ECHO_C" >&6
3096 if test -n "$ac_ct_STRIP"; then
3097 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3103 test -z "$as_dir" && as_dir
=.
3104 for ac_exec_ext
in '' $ac_executable_extensions; do
3105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3106 ac_cv_prog_ac_ct_STRIP
="strip"
3107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3116 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3117 if test -n "$ac_ct_STRIP"; then
3118 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3119 echo "${ECHO_T}$ac_ct_STRIP" >&6
3121 echo "$as_me:$LINENO: result: no" >&5
3122 echo "${ECHO_T}no" >&6
3127 STRIP
="$ac_cv_prog_STRIP"
3131 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3133 # We need awk for the "check" target. The system "awk" is bad on
3135 # Always define AMTAR for backward compatibility.
3137 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3139 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3144 depcc
="$CC" am_compiler_list
=
3146 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3147 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3148 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3149 echo $ECHO_N "(cached) $ECHO_C" >&6
3151 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3152 # We make a subdir and do the tests there. Otherwise we can end up
3153 # making bogus files that we don't know about and never remove. For
3154 # instance it was reported that on HP-UX the gcc test will end up
3155 # making a dummy file named `D' -- because `-MD' means `put the output
3158 # Copy depcomp to subdir because otherwise we won't find it if we're
3159 # using a relative directory.
3160 cp "$am_depcomp" conftest.dir
3162 # We will build objects and dependencies in a subdirectory because
3163 # it helps to detect inapplicable dependency modes. For instance
3164 # both Tru64's cc and ICC support -MD to output dependencies as a
3165 # side effect of compilation, but ICC will put the dependencies in
3166 # the current directory while Tru64 will put them in the object
3170 am_cv_CC_dependencies_compiler_type
=none
3171 if test "$am_compiler_list" = ""; then
3172 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3174 for depmode
in $am_compiler_list; do
3175 # Setup a source with many dependencies, because some compilers
3176 # like to wrap large dependency lists on column 80 (with \), and
3177 # we should not choose a depcomp mode which is confused by this.
3179 # We need to recreate these files for each test, as the compiler may
3180 # overwrite some of them when testing with obscure command lines.
3181 # This happens at least with the AIX C compiler.
3183 for i
in 1 2 3 4 5 6; do
3184 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3185 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3186 # Solaris 8's {/usr,}/bin/sh.
3187 touch sub
/conftst
$i.h
3189 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3193 # after this tag, mechanisms are not by side-effect, so they'll
3194 # only be used when explicitly requested
3195 if test "x$enable_dependency_tracking" = xyes
; then
3203 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3204 # mode. It turns out that the SunPro C++ compiler does not properly
3205 # handle `-M -o', and we need to detect this.
3206 if depmode
=$depmode \
3207 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3208 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3209 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3210 >/dev
/null
2>conftest.err
&&
3211 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3212 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3213 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3214 # icc doesn't choke on unknown options, it will just issue warnings
3215 # or remarks (even with -Werror). So we grep stderr for any message
3216 # that says an option was ignored or not supported.
3217 # When given -MP, icc 7.0 and 7.1 complain thusly:
3218 # icc: Command line warning: ignoring option '-M'; no argument required
3219 # The diagnosis changed in icc 8.0:
3220 # icc: Command line remark: option '-MP' not supported
3221 if (grep 'ignoring option' conftest.err ||
3222 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3223 am_cv_CC_dependencies_compiler_type
=$depmode
3232 am_cv_CC_dependencies_compiler_type
=none
3236 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3237 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3238 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3243 test "x$enable_dependency_tracking" != xno \
3244 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3246 am__fastdepCC_FALSE
='#'
3248 am__fastdepCC_TRUE
='#'
3249 am__fastdepCC_FALSE
=
3256 ac_cpp
='$CPP $CPPFLAGS'
3257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3260 if test -n "$ac_tool_prefix"; then
3261 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3262 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3263 echo "$as_me:$LINENO: checking for $ac_word" >&5
3264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3265 if test "${ac_cv_prog_CC+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 if test -n "$CC"; then
3269 ac_cv_prog_CC
="$CC" # Let the user override the test.
3271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir
=.
3276 for ac_exec_ext
in '' $ac_executable_extensions; do
3277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3278 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3288 if test -n "$CC"; then
3289 echo "$as_me:$LINENO: result: $CC" >&5
3290 echo "${ECHO_T}$CC" >&6
3292 echo "$as_me:$LINENO: result: no" >&5
3293 echo "${ECHO_T}no" >&6
3297 if test -z "$ac_cv_prog_CC"; then
3299 # Extract the first word of "gcc", so it can be a program name with args.
3300 set dummy gcc
; ac_word
=$2
3301 echo "$as_me:$LINENO: checking for $ac_word" >&5
3302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3303 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3304 echo $ECHO_N "(cached) $ECHO_C" >&6
3306 if test -n "$ac_ct_CC"; then
3307 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir
=.
3314 for ac_exec_ext
in '' $ac_executable_extensions; do
3315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3316 ac_cv_prog_ac_ct_CC
="gcc"
3317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3326 if test -n "$ac_ct_CC"; then
3327 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3328 echo "${ECHO_T}$ac_ct_CC" >&6
3330 echo "$as_me:$LINENO: result: no" >&5
3331 echo "${ECHO_T}no" >&6
3339 if test -z "$CC"; then
3340 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3342 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3343 echo "$as_me:$LINENO: checking for $ac_word" >&5
3344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3345 if test "${ac_cv_prog_CC+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 if test -n "$CC"; then
3349 ac_cv_prog_CC
="$CC" # Let the user override the test.
3351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3355 test -z "$as_dir" && as_dir
=.
3356 for ac_exec_ext
in '' $ac_executable_extensions; do
3357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3358 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 if test -n "$CC"; then
3369 echo "$as_me:$LINENO: result: $CC" >&5
3370 echo "${ECHO_T}$CC" >&6
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3377 if test -z "$ac_cv_prog_CC"; then
3379 # Extract the first word of "cc", so it can be a program name with args.
3380 set dummy cc
; ac_word
=$2
3381 echo "$as_me:$LINENO: checking for $ac_word" >&5
3382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3383 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3386 if test -n "$ac_ct_CC"; then
3387 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir
=.
3394 for ac_exec_ext
in '' $ac_executable_extensions; do
3395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3396 ac_cv_prog_ac_ct_CC
="cc"
3397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3405 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3406 if test -n "$ac_ct_CC"; then
3407 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3408 echo "${ECHO_T}$ac_ct_CC" >&6
3410 echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3420 if test -z "$CC"; then
3421 # Extract the first word of "cc", so it can be a program name with args.
3422 set dummy cc
; ac_word
=$2
3423 echo "$as_me:$LINENO: checking for $ac_word" >&5
3424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3425 if test "${ac_cv_prog_CC+set}" = set; then
3426 echo $ECHO_N "(cached) $ECHO_C" >&6
3428 if test -n "$CC"; then
3429 ac_cv_prog_CC
="$CC" # Let the user override the test.
3432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3436 test -z "$as_dir" && as_dir
=.
3437 for ac_exec_ext
in '' $ac_executable_extensions; do
3438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3439 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3440 ac_prog_rejected
=yes
3444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3450 if test $ac_prog_rejected = yes; then
3451 # We found a bogon in the path, so make sure we never use it.
3452 set dummy
$ac_cv_prog_CC
3454 if test $# != 0; then
3455 # We chose a different compiler from the bogus one.
3456 # However, it has the same basename, so the bogon will be chosen
3457 # first if we set CC to just the basename; use the full file name.
3459 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3465 if test -n "$CC"; then
3466 echo "$as_me:$LINENO: result: $CC" >&5
3467 echo "${ECHO_T}$CC" >&6
3469 echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6
3474 if test -z "$CC"; then
3475 if test -n "$ac_tool_prefix"; then
3478 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3479 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3480 echo "$as_me:$LINENO: checking for $ac_word" >&5
3481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3482 if test "${ac_cv_prog_CC+set}" = set; then
3483 echo $ECHO_N "(cached) $ECHO_C" >&6
3485 if test -n "$CC"; then
3486 ac_cv_prog_CC
="$CC" # Let the user override the test.
3488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3492 test -z "$as_dir" && as_dir
=.
3493 for ac_exec_ext
in '' $ac_executable_extensions; do
3494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3495 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3505 if test -n "$CC"; then
3506 echo "$as_me:$LINENO: result: $CC" >&5
3507 echo "${ECHO_T}$CC" >&6
3509 echo "$as_me:$LINENO: result: no" >&5
3510 echo "${ECHO_T}no" >&6
3513 test -n "$CC" && break
3516 if test -z "$CC"; then
3520 # Extract the first word of "$ac_prog", so it can be a program name with args.
3521 set dummy
$ac_prog; ac_word
=$2
3522 echo "$as_me:$LINENO: checking for $ac_word" >&5
3523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3524 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 if test -n "$ac_ct_CC"; then
3528 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3534 test -z "$as_dir" && as_dir
=.
3535 for ac_exec_ext
in '' $ac_executable_extensions; do
3536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3537 ac_cv_prog_ac_ct_CC
="$ac_prog"
3538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3546 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3547 if test -n "$ac_ct_CC"; then
3548 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3549 echo "${ECHO_T}$ac_ct_CC" >&6
3551 echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3555 test -n "$ac_ct_CC" && break
3564 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3565 See \`config.log' for more details." >&5
3566 echo "$as_me: error: no acceptable C compiler found in \$PATH
3567 See \`config.log' for more details." >&2;}
3568 { (exit 1); exit 1; }; }
3570 # Provide some information about the compiler.
3571 echo "$as_me:$LINENO:" \
3572 "checking for C compiler version" >&5
3573 ac_compiler
=`set X $ac_compile; echo $2`
3574 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3575 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); }
3579 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3580 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); }
3584 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3585 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); }
3590 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3591 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3592 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 cat >conftest.
$ac_ext <<_ACEOF
3598 cat confdefs.h
>>conftest.
$ac_ext
3599 cat >>conftest.
$ac_ext <<_ACEOF
3600 /* end confdefs.h. */
3613 rm -f conftest.
$ac_objext
3614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3615 (eval $ac_compile) 2>conftest.er1
3617 grep -v '^ *+' conftest.er1
>conftest.err
3619 cat conftest.err
>&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); } &&
3622 { ac_try
='test -z "$ac_c_werror_flag"
3623 || test ! -s conftest.err'
3624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); }; } &&
3629 { ac_try
='test -s conftest.$ac_objext'
3630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); }; }; then
3637 echo "$as_me: failed program was:" >&5
3638 sed 's/^/| /' conftest.
$ac_ext >&5
3642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3643 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3646 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3647 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3648 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3649 ac_test_CFLAGS
=${CFLAGS+set}
3650 ac_save_CFLAGS
=$CFLAGS
3652 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3653 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3654 if test "${ac_cv_prog_cc_g+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 cat >conftest.
$ac_ext <<_ACEOF
3660 cat confdefs.h
>>conftest.
$ac_ext
3661 cat >>conftest.
$ac_ext <<_ACEOF
3662 /* end confdefs.h. */
3672 rm -f conftest.
$ac_objext
3673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3674 (eval $ac_compile) 2>conftest.er1
3676 grep -v '^ *+' conftest.er1
>conftest.err
3678 cat conftest.err
>&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); } &&
3681 { ac_try
='test -z "$ac_c_werror_flag"
3682 || test ! -s conftest.err'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; } &&
3688 { ac_try
='test -s conftest.$ac_objext'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; }; then
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.
$ac_ext >&5
3701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3703 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3704 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3705 if test "$ac_test_CFLAGS" = set; then
3706 CFLAGS
=$ac_save_CFLAGS
3707 elif test $ac_cv_prog_cc_g = yes; then
3708 if test "$GCC" = yes; then
3714 if test "$GCC" = yes; then
3720 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3721 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3722 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3725 ac_cv_prog_cc_stdc
=no
3727 cat >conftest.
$ac_ext <<_ACEOF
3730 cat confdefs.h
>>conftest.
$ac_ext
3731 cat >>conftest.
$ac_ext <<_ACEOF
3732 /* end confdefs.h. */
3735 #include <sys/types.h>
3736 #include <sys/stat.h>
3737 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3738 struct buf { int x; };
3739 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3740 static char *e (p, i)
3746 static char *f (char * (*g) (char **, int), char **p, ...)
3751 s = g (p, va_arg (v,int));
3756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3757 function prototypes and stuff, but not '\xHH' hex character constants.
3758 These don't provoke an error unfortunately, instead are silently treated
3759 as 'x'. The following induces an error, until -std1 is added to get
3760 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3761 array size at least. It's necessary to write '\x00'==0 to get something
3762 that's true only with -std1. */
3763 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3765 int test (int i, double x);
3766 struct s1 {int (*f) (int a);};
3767 struct s2 {int (*f) (double a);};
3768 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3774 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3779 # Don't try gcc -ansi; that turns off useful extensions and
3780 # breaks some systems' header files.
3781 # AIX -qlanglvl=ansi
3782 # Ultrix and OSF/1 -std1
3783 # HP-UX 10.20 and later -Ae
3784 # HP-UX older versions -Aa -D_HPUX_SOURCE
3785 # SVR4 -Xc -D__EXTENSIONS__
3786 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3788 CC
="$ac_save_CC $ac_arg"
3789 rm -f conftest.
$ac_objext
3790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3791 (eval $ac_compile) 2>conftest.er1
3793 grep -v '^ *+' conftest.er1
>conftest.err
3795 cat conftest.err
>&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); } &&
3798 { ac_try
='test -z "$ac_c_werror_flag"
3799 || test ! -s conftest.err'
3800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); }; } &&
3805 { ac_try
='test -s conftest.$ac_objext'
3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); }; }; then
3811 ac_cv_prog_cc_stdc
=$ac_arg
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.
$ac_ext >&5
3818 rm -f conftest.err conftest.
$ac_objext
3820 rm -f conftest.
$ac_ext conftest.
$ac_objext
3825 case "x$ac_cv_prog_cc_stdc" in
3827 echo "$as_me:$LINENO: result: none needed" >&5
3828 echo "${ECHO_T}none needed" >&6 ;;
3830 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3831 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3832 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3835 # Some people use a C++ compiler to compile C. Since we use `exit',
3836 # in C++ we need to declare it. In case someone uses the same compiler
3837 # for both compiling C and C++ we need to have the C++ compiler decide
3838 # the declaration of exit, since it's the most demanding environment.
3839 cat >conftest.
$ac_ext <<_ACEOF
3844 rm -f conftest.
$ac_objext
3845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3846 (eval $ac_compile) 2>conftest.er1
3848 grep -v '^ *+' conftest.er1
>conftest.err
3850 cat conftest.err
>&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); } &&
3853 { ac_try
='test -z "$ac_c_werror_flag"
3854 || test ! -s conftest.err'
3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); }; } &&
3860 { ac_try
='test -s conftest.$ac_objext'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; }; then
3866 for ac_declaration
in \
3868 'extern "C" void std::exit (int) throw (); using std::exit;' \
3869 'extern "C" void std::exit (int); using std::exit;' \
3870 'extern "C" void exit (int) throw ();' \
3871 'extern "C" void exit (int);' \
3874 cat >conftest.
$ac_ext <<_ACEOF
3877 cat confdefs.h
>>conftest.
$ac_ext
3878 cat >>conftest.
$ac_ext <<_ACEOF
3879 /* end confdefs.h. */
3890 rm -f conftest.
$ac_objext
3891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3892 (eval $ac_compile) 2>conftest.er1
3894 grep -v '^ *+' conftest.er1
>conftest.err
3896 cat conftest.err
>&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); } &&
3899 { ac_try
='test -z "$ac_c_werror_flag"
3900 || test ! -s conftest.err'
3901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); }; } &&
3906 { ac_try
='test -s conftest.$ac_objext'
3907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); }; }; then
3914 echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.
$ac_ext >&5
3919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3920 cat >conftest.
$ac_ext <<_ACEOF
3923 cat confdefs.h
>>conftest.
$ac_ext
3924 cat >>conftest.
$ac_ext <<_ACEOF
3925 /* end confdefs.h. */
3935 rm -f conftest.
$ac_objext
3936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3937 (eval $ac_compile) 2>conftest.er1
3939 grep -v '^ *+' conftest.er1
>conftest.err
3941 cat conftest.err
>&5
3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943 (exit $ac_status); } &&
3944 { ac_try
='test -z "$ac_c_werror_flag"
3945 || test ! -s conftest.err'
3946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3950 (exit $ac_status); }; } &&
3951 { ac_try
='test -s conftest.$ac_objext'
3952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); }; }; then
3959 echo "$as_me: failed program was:" >&5
3960 sed 's/^/| /' conftest.
$ac_ext >&5
3963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3966 if test -n "$ac_declaration"; then
3967 echo '#ifdef __cplusplus' >>confdefs.h
3968 echo $ac_declaration >>confdefs.h
3969 echo '#endif' >>confdefs.h
3973 echo "$as_me: failed program was:" >&5
3974 sed 's/^/| /' conftest.
$ac_ext >&5
3977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3979 ac_cpp
='$CPP $CPPFLAGS'
3980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3985 cat >>confdefs.h
<<\_ACEOF
3986 #define _GNU_SOURCE 1
3991 if test -n "$ac_tool_prefix"; then
3992 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3993 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3994 echo "$as_me:$LINENO: checking for $ac_word" >&5
3995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3996 if test "${ac_cv_prog_AR+set}" = set; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3999 if test -n "$AR"; then
4000 ac_cv_prog_AR
="$AR" # Let the user override the test.
4002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4006 test -z "$as_dir" && as_dir
=.
4007 for ac_exec_ext
in '' $ac_executable_extensions; do
4008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4009 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 if test -n "$AR"; then
4020 echo "$as_me:$LINENO: result: $AR" >&5
4021 echo "${ECHO_T}$AR" >&6
4023 echo "$as_me:$LINENO: result: no" >&5
4024 echo "${ECHO_T}no" >&6
4028 if test -z "$ac_cv_prog_AR"; then
4030 # Extract the first word of "ar", so it can be a program name with args.
4031 set dummy
ar; ac_word
=$2
4032 echo "$as_me:$LINENO: checking for $ac_word" >&5
4033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4034 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4035 echo $ECHO_N "(cached) $ECHO_C" >&6
4037 if test -n "$ac_ct_AR"; then
4038 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir
=.
4045 for ac_exec_ext
in '' $ac_executable_extensions; do
4046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4047 ac_cv_prog_ac_ct_AR
="ar"
4048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4057 if test -n "$ac_ct_AR"; then
4058 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4059 echo "${ECHO_T}$ac_ct_AR" >&6
4061 echo "$as_me:$LINENO: result: no" >&5
4062 echo "${ECHO_T}no" >&6
4070 if test -n "$ac_tool_prefix"; then
4071 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4072 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4073 echo "$as_me:$LINENO: checking for $ac_word" >&5
4074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4075 if test "${ac_cv_prog_RANLIB+set}" = set; then
4076 echo $ECHO_N "(cached) $ECHO_C" >&6
4078 if test -n "$RANLIB"; then
4079 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4085 test -z "$as_dir" && as_dir
=.
4086 for ac_exec_ext
in '' $ac_executable_extensions; do
4087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4088 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 RANLIB
=$ac_cv_prog_RANLIB
4098 if test -n "$RANLIB"; then
4099 echo "$as_me:$LINENO: result: $RANLIB" >&5
4100 echo "${ECHO_T}$RANLIB" >&6
4102 echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6
4107 if test -z "$ac_cv_prog_RANLIB"; then
4108 ac_ct_RANLIB
=$RANLIB
4109 # Extract the first word of "ranlib", so it can be a program name with args.
4110 set dummy ranlib
; ac_word
=$2
4111 echo "$as_me:$LINENO: checking for $ac_word" >&5
4112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4113 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 if test -n "$ac_ct_RANLIB"; then
4117 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir
=.
4124 for ac_exec_ext
in '' $ac_executable_extensions; do
4125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4133 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4136 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4137 if test -n "$ac_ct_RANLIB"; then
4138 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4139 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4141 echo "$as_me:$LINENO: result: no" >&5
4142 echo "${ECHO_T}no" >&6
4145 RANLIB
=$ac_ct_RANLIB
4147 RANLIB
="$ac_cv_prog_RANLIB"
4151 # Check whether --enable-shared or --disable-shared was given.
4152 if test "${enable_shared+set}" = set; then
4153 enableval
="$enable_shared"
4154 p
=${PACKAGE-default}
4156 yes) enable_shared
=yes ;;
4157 no
) enable_shared
=no
;;
4160 # Look at the argument we got. We use all the common list separators.
4161 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4162 for pkg
in $enableval; do
4164 if test "X$pkg" = "X$p"; then
4185 macro_version
='2.1a'
4186 macro_revision
='1.2435'
4199 ltmain
="$ac_aux_dir/ltmain.sh"
4210 # Check whether --enable-static or --disable-static was given.
4211 if test "${enable_static+set}" = set; then
4212 enableval
="$enable_static"
4213 p
=${PACKAGE-default}
4215 yes) enable_static
=yes ;;
4216 no
) enable_static
=no
;;
4219 # Look at the argument we got. We use all the common list separators.
4220 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4221 for pkg
in $enableval; do
4223 if test "X$pkg" = "X$p"; then
4242 # Check whether --with-pic or --without-pic was given.
4243 if test "${with_pic+set}" = set; then
4250 test -z "$pic_mode" && pic_mode
=default
4258 # Check whether --enable-fast-install or --disable-fast-install was given.
4259 if test "${enable_fast_install+set}" = set; then
4260 enableval
="$enable_fast_install"
4261 p
=${PACKAGE-default}
4263 yes) enable_fast_install
=yes ;;
4264 no
) enable_fast_install
=no
;;
4266 enable_fast_install
=no
4267 # Look at the argument we got. We use all the common list separators.
4268 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4269 for pkg
in $enableval; do
4271 if test "X$pkg" = "X$p"; then
4272 enable_fast_install
=yes
4279 enable_fast_install
=yes
4289 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4290 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4291 if test "${lt_cv_path_SED+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4294 # Loop through the user's path and test for sed and gsed.
4295 # Then use that list of sed's as ones to test for truncation.
4296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4300 test -z "$as_dir" && as_dir
=.
4301 for lt_ac_prog
in sed gsed
; do
4302 for ac_exec_ext
in '' $ac_executable_extensions; do
4303 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4304 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4312 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4313 # along with /bin/sed that truncates output.
4314 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4315 test ! -f $lt_ac_sed && continue
4316 cat /dev
/null
> conftest.
in
4318 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4319 # Check for GNU sed and select it if it is found.
4320 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4321 lt_cv_path_SED
=$lt_ac_sed
4325 cat conftest.
in conftest.
in >conftest.tmp
4326 mv conftest.tmp conftest.
in
4327 cp conftest.
in conftest.
nl
4329 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4330 cmp -s conftest.out conftest.
nl ||
break
4331 # 10000 chars as input seems more than enough
4332 test $lt_ac_count -gt 10 && break
4333 lt_ac_count
=`expr $lt_ac_count + 1`
4334 if test $lt_ac_count -gt $lt_ac_max; then
4335 lt_ac_max
=$lt_ac_count
4336 lt_cv_path_SED
=$lt_ac_sed
4345 echo "$as_me:$LINENO: result: $SED" >&5
4346 echo "${ECHO_T}$SED" >&6
4348 test -z "$SED" && SED
=sed
4349 Xsed
="$SED -e 1s/^X//"
4361 echo "$as_me:$LINENO: checking for egrep" >&5
4362 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4363 if test "${ac_cv_prog_egrep+set}" = set; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4367 then ac_cv_prog_egrep
='grep -E'
4368 else ac_cv_prog_egrep
='egrep'
4371 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4372 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4373 EGREP
=$ac_cv_prog_egrep
4376 echo "$as_me:$LINENO: checking for fgrep" >&5
4377 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4378 if test "${ac_cv_prog_fgrep+set}" = set; then
4379 echo $ECHO_N "(cached) $ECHO_C" >&6
4381 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4382 then ac_cv_prog_fgrep
='grep -F'
4383 else ac_cv_prog_fgrep
='fgrep'
4386 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4387 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4388 FGREP
=$ac_cv_prog_fgrep
4391 test -z "$GREP" && GREP
=grep
4411 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4412 if test "${with_gnu_ld+set}" = set; then
4413 withval
="$with_gnu_ld"
4414 test "$withval" = no || with_gnu_ld
=yes
4419 if test "$GCC" = yes; then
4420 # Check if gcc -print-prog-name=ld gives a path.
4421 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4422 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4425 # gcc leaves a trailing carriage return which upsets mingw
4426 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4428 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4431 # Accept absolute paths.
4433 re_direlt
='/[^/][^/]*/\.\./'
4434 # Canonicalize the pathname of ld
4435 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4436 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4437 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4439 test -z "$LD" && LD
="$ac_prog"
4442 # If it fails, then pretend we aren't using GCC.
4446 # If it is relative, then search for the first ld in PATH.
4450 elif test "$with_gnu_ld" = yes; then
4451 echo "$as_me:$LINENO: checking for GNU ld" >&5
4452 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4454 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4455 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4457 if test "${lt_cv_path_LD+set}" = set; then
4458 echo $ECHO_N "(cached) $ECHO_C" >&6
4460 if test -z "$LD"; then
4461 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4462 for ac_dir
in $PATH; do
4464 test -z "$ac_dir" && ac_dir
=.
4465 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4466 lt_cv_path_LD
="$ac_dir/$ac_prog"
4467 # Check to see if the program is GNU ld. I'd rather use --version,
4468 # but apparently some variants of GNU ld only accept -v.
4469 # Break only if it was the GNU/non-GNU ld that we prefer.
4470 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4471 *GNU
* |
*'with BFD'*)
4472 test "$with_gnu_ld" != no
&& break
4475 test "$with_gnu_ld" != yes && break
4482 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4487 if test -n "$LD"; then
4488 echo "$as_me:$LINENO: result: $LD" >&5
4489 echo "${ECHO_T}$LD" >&6
4491 echo "$as_me:$LINENO: result: no" >&5
4492 echo "${ECHO_T}no" >&6
4494 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4495 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4496 { (exit 1); exit 1; }; }
4497 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4498 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4499 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4500 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4503 case `$LD -v 2>&1 </dev/null` in
4504 *GNU
* |
*'with BFD'*)
4505 lt_cv_prog_gnu_ld
=yes
4508 lt_cv_prog_gnu_ld
=no
4512 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4513 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4514 with_gnu_ld
=$lt_cv_prog_gnu_ld
4525 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4526 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4527 if test "${lt_cv_path_NM+set}" = set; then
4528 echo $ECHO_N "(cached) $ECHO_C" >&6
4530 if test -n "$NM"; then
4531 # Let the user override the test.
4534 lt_nm_to_check
="${ac_tool_prefix}nm"
4535 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4536 lt_nm_to_check
="$lt_nm_to_check nm"
4538 for lt_tmp_nm
in $lt_nm_to_check; do
4539 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4540 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4542 test -z "$ac_dir" && ac_dir
=.
4543 tmp_nm
="$ac_dir/$lt_tmp_nm"
4544 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4545 # Check to see if the nm accepts a BSD-compat flag.
4546 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4547 # nm: unknown option "B" ignored
4548 # Tru64's nm complains that /dev/null is an invalid object file
4549 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4550 */dev
/null
* |
*'Invalid file or object type'*)
4551 lt_cv_path_NM
="$tmp_nm -B"
4555 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4557 lt_cv_path_NM
="$tmp_nm -p"
4561 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4562 continue # so that we can try to find one that supports BSD flags
4571 : ${lt_cv_path_NM=no}
4574 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4575 echo "${ECHO_T}$lt_cv_path_NM" >&6
4576 if test "$lt_cv_path_NM" != "no"; then
4579 # Didn't find any BSD compatible name lister, look for dumpbin.
4580 if test -n "$ac_tool_prefix"; then
4581 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4583 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4584 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4585 echo "$as_me:$LINENO: checking for $ac_word" >&5
4586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4587 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4590 if test -n "$DUMPBIN"; then
4591 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4597 test -z "$as_dir" && as_dir
=.
4598 for ac_exec_ext
in '' $ac_executable_extensions; do
4599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4600 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 DUMPBIN
=$ac_cv_prog_DUMPBIN
4610 if test -n "$DUMPBIN"; then
4611 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4612 echo "${ECHO_T}$DUMPBIN" >&6
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4618 test -n "$DUMPBIN" && break
4621 if test -z "$DUMPBIN"; then
4622 ac_ct_DUMPBIN
=$DUMPBIN
4623 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4625 # Extract the first word of "$ac_prog", so it can be a program name with args.
4626 set dummy
$ac_prog; ac_word
=$2
4627 echo "$as_me:$LINENO: checking for $ac_word" >&5
4628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4629 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 if test -n "$ac_ct_DUMPBIN"; then
4633 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4639 test -z "$as_dir" && as_dir
=.
4640 for ac_exec_ext
in '' $ac_executable_extensions; do
4641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4642 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4652 if test -n "$ac_ct_DUMPBIN"; then
4653 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4654 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4656 echo "$as_me:$LINENO: result: no" >&5
4657 echo "${ECHO_T}no" >&6
4660 test -n "$ac_ct_DUMPBIN" && break
4662 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4664 DUMPBIN
=$ac_ct_DUMPBIN
4668 if test "$DUMPBIN" != ":"; then
4672 test -z "$NM" && NM
=nm
4679 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4680 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4681 if test "${lt_cv_nm_interface+set}" = set; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 lt_cv_nm_interface
="BSD nm"
4685 echo "int some_variable = 0;" > conftest.
$ac_ext
4686 (eval echo "\"\$as_me:4686: $ac_compile\"" >&5)
4687 (eval "$ac_compile" 2>conftest.err
)
4688 cat conftest.err
>&5
4689 (eval echo "\"\$as_me:4689: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4690 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4691 cat conftest.err
>&5
4692 (eval echo "\"\$as_me:4692: output\"" >&5)
4693 cat conftest.out
>&5
4694 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4695 lt_cv_nm_interface
="MS dumpbin"
4699 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4700 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4702 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4703 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4705 if test "$LN_S" = "ln -s"; then
4706 echo "$as_me:$LINENO: result: yes" >&5
4707 echo "${ECHO_T}yes" >&6
4709 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4710 echo "${ECHO_T}no, using $LN_S" >&6
4713 # find the maximum length of command line arguments
4714 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4715 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4716 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4717 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 # On DJGPP, this test can blow up pretty badly due to problems in libc
4725 # (any single argument exceeding 2000 bytes causes a buffer overrun
4726 # during glob expansion). Even if it were fixed, the result of this
4727 # check would be larger than it should be.
4728 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4732 # Under GNU Hurd, this test is not required because there is
4733 # no limit to the length of command line arguments.
4734 # Libtool will interpret -1 as no limit whatsoever
4735 lt_cv_sys_max_cmd_len
=-1;
4739 # On Win9x/ME, this test blows up -- it succeeds, but takes
4740 # about 5 minutes as the teststring grows exponentially.
4741 # Worse, since 9x/ME are not pre-emptively multitasking,
4742 # you end up with a "frozen" computer, even though with patience
4743 # the test eventually succeeds (with a max line length of 256k).
4744 # Instead, let's just punt: use the minimum linelength reported by
4745 # all of the supported platforms: 8192 (on NT/2K/XP).
4746 lt_cv_sys_max_cmd_len
=8192;
4750 # On AmigaOS with pdksh, this test takes hours, literally.
4751 # So we just punt and use a minimum line length of 8192.
4752 lt_cv_sys_max_cmd_len
=8192;
4755 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4756 # This has been around since 386BSD, at least. Likely further.
4757 if test -x /sbin
/sysctl
; then
4758 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4759 elif test -x /usr
/sbin
/sysctl
; then
4760 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4762 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4764 # And add a safety zone
4765 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4766 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4770 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4771 lt_cv_sys_max_cmd_len
=196608
4775 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4776 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4777 # nice to cause kernel panics so lets avoid the loop below.
4778 # First set a reasonable default.
4779 lt_cv_sys_max_cmd_len
=16384
4781 if test -x /sbin
/sysconfig
; then
4782 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4783 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4788 lt_cv_sys_max_cmd_len
=102400
4790 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4791 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4792 if test -n "$kargmax"; then
4793 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4795 lt_cv_sys_max_cmd_len
=32768
4799 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4800 if test -n $lt_cv_sys_max_cmd_len; then
4801 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4802 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4804 # Make teststring a little bigger before we do anything with it.
4805 # a 1K string should be a reasonable start.
4806 for i
in 1 2 3 4 5 6 7 8 ; do
4807 teststring
=$teststring$teststring
4809 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4810 # If test is not a shell built-in, we'll probably end up computing a
4811 # maximum length that is only half of the actual maximum length, but
4813 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4814 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4815 test $i != 17 # 1/2 MB should be enough
4818 teststring
=$teststring$teststring
4820 # Only check the string length outside the loop.
4821 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4823 # Add a significant safety factor because C++ compilers can tack on
4824 # massive amounts of additional arguments before passing them to the
4825 # linker. It appears as though 1/2 is a usable value.
4826 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4833 if test -n $lt_cv_sys_max_cmd_len ; then
4834 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4835 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4837 echo "$as_me:$LINENO: result: none" >&5
4838 echo "${ECHO_T}none" >&6
4840 max_cmd_len
=$lt_cv_sys_max_cmd_len
4852 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4853 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4854 # Try some XSI features
4857 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4858 = c,a/b,, ) >/dev/null 2>&1 \
4860 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4861 echo "${ECHO_T}$xsi_shell" >&6
4864 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4865 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4867 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4869 && lt_shell_append=yes
4870 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4871 echo "${ECHO_T}$lt_shell_append" >&6
4874 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4884 # test EBCDIC or ASCII
4885 case `echo X|tr X '\101'` in
4886 A) # ASCII based system
4887 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4888 lt_SP2NL='tr \040 \012'
4889 lt_NL2SP='tr \015\012 \040\040'
4891 *) # EBCDIC based system
4892 lt_SP2NL='tr \100 \n'
4893 lt_NL2SP='tr \r\n \100\100'
4905 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4906 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4907 if test "${lt_cv_ld_reload_flag+set}" = set; then
4908 echo $ECHO_N "(cached
) $ECHO_C" >&6
4910 lt_cv_ld_reload_flag='-r'
4912 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4913 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4914 reload_flag=$lt_cv_ld_reload_flag
4915 case $reload_flag in
4917 *) reload_flag=" $reload_flag" ;;
4919 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4922 if test "$GCC" = yes; then
4923 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4925 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4939 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4940 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4941 if test "${lt_cv_deplibs_check_method+set}" = set; then
4942 echo $ECHO_N "(cached
) $ECHO_C" >&6
4944 lt_cv_file_magic_cmd='$MAGIC_CMD'
4945 lt_cv_file_magic_test_file=
4946 lt_cv_deplibs_check_method='unknown'
4947 # Need to set the preceding variable on all platforms that support
4948 # interlibrary dependencies.
4949 # 'none' -- dependencies not supported.
4950 # `unknown' -- same as none, but documents that we really don't know.
4951 # 'pass_all' -- all dependencies passed with no checks.
4952 # 'test_compile' -- check by making test program.
4953 # 'file_magic [[regex]]' -- check by looking for files in library path
4954 # which responds to the $file_magic_cmd with a given extended regex.
4955 # If you have `file' or equivalent on your system and you're not sure
4956 # whether `pass_all' will *always* work, you probably want this one.
4960 lt_cv_deplibs_check_method=pass_all
4964 lt_cv_deplibs_check_method=pass_all
4968 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4969 lt_cv_file_magic_cmd='/usr/bin/file -L'
4970 lt_cv_file_magic_test_file=/shlib/libc.so
4974 # func_win32_libid is a shell function defined in ltmain.sh
4975 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4976 lt_cv_file_magic_cmd='func_win32_libid'
4980 # Base MSYS/MinGW do not provide the 'file' command needed by
4981 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4982 # unless we find 'file', for example because we are cross-compiling.
4983 if ( file / ) >/dev/null 2>&1; then
4984 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4985 lt_cv_file_magic_cmd='func_win32_libid'
4987 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4988 lt_cv_file_magic_cmd='$OBJDUMP -f'
4992 darwin* | rhapsody*)
4993 lt_cv_deplibs_check_method=pass_all
4996 freebsd* | dragonfly*)
4997 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5000 # Not sure whether the presence of OpenBSD here was a mistake.
5001 # Let's accept both of them until this is cleared up.
5002 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5003 lt_cv_file_magic_cmd=/usr/bin/file
5004 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5008 lt_cv_deplibs_check_method=pass_all
5013 lt_cv_deplibs_check_method=pass_all
5016 hpux10.20* | hpux11*)
5017 lt_cv_file_magic_cmd=/usr/bin/file
5020 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5021 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5024 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]'
5025 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5028 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5029 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5035 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5039 irix5* | irix6* | nonstopux*)
5041 *-32|*"-32 ") libmagic=32-bit;;
5042 *-n32|*"-n32 ") libmagic=N32;;
5043 *-64|*"-64 ") libmagic=64-bit;;
5044 *) libmagic=never-match;;
5046 lt_cv_deplibs_check_method=pass_all
5049 # This must be Linux ELF.
5050 linux* | k*bsd*-gnu)
5051 lt_cv_deplibs_check_method=pass_all
5055 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5056 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5058 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5063 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5064 lt_cv_file_magic_cmd=/usr/bin/file
5065 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5069 lt_cv_deplibs_check_method=pass_all
5073 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5074 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5076 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5080 osf3* | osf4* | osf5*)
5081 lt_cv_deplibs_check_method=pass_all
5085 lt_cv_deplibs_check_method=pass_all
5089 lt_cv_deplibs_check_method=pass_all
5092 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5093 lt_cv_deplibs_check_method=pass_all
5097 case $host_vendor in
5099 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]'
5100 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5103 lt_cv_deplibs_check_method=pass_all
5106 lt_cv_file_magic_cmd='/bin/file'
5107 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5110 lt_cv_file_magic_cmd='/bin/file'
5111 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5112 lt_cv_file_magic_test_file=/lib/libc.so
5115 lt_cv_deplibs_check_method=pass_all
5118 lt_cv_deplibs_check_method=pass_all
5124 lt_cv_deplibs_check_method=pass_all
5129 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5130 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5131 file_magic_cmd=$lt_cv_file_magic_cmd
5132 deplibs_check_method=$lt_cv_deplibs_check_method
5133 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5146 if test -n "$ac_tool_prefix"; then
5147 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5148 set dummy ${ac_tool_prefix}ar; ac_word=$2
5149 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5150 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5151 if test "${ac_cv_prog_AR+set}" = set; then
5152 echo $ECHO_N "(cached
) $ECHO_C" >&6
5154 if test -n "$AR"; then
5155 ac_cv_prog_AR="$AR" # Let the user override the test.
5157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 test -z "$as_dir" && as_dir=.
5162 for ac_exec_ext in '' $ac_executable_extensions; do
5163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5164 ac_cv_prog_AR="${ac_tool_prefix}ar"
5165 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5174 if test -n "$AR"; then
5175 echo "$as_me:$LINENO: result
: $AR" >&5
5176 echo "${ECHO_T}$AR" >&6
5178 echo "$as_me:$LINENO: result
: no
" >&5
5179 echo "${ECHO_T}no
" >&6
5183 if test -z "$ac_cv_prog_AR"; then
5185 # Extract the first word of "ar", so it can be a program name with args.
5186 set dummy ar; ac_word=$2
5187 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5188 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5189 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5190 echo $ECHO_N "(cached
) $ECHO_C" >&6
5192 if test -n "$ac_ct_AR"; then
5193 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir=.
5200 for ac_exec_ext in '' $ac_executable_extensions; do
5201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5202 ac_cv_prog_ac_ct_AR="ar"
5203 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5209 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5212 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5213 if test -n "$ac_ct_AR"; then
5214 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5215 echo "${ECHO_T}$ac_ct_AR" >&6
5217 echo "$as_me:$LINENO: result
: no
" >&5
5218 echo "${ECHO_T}no
" >&6
5226 test -z "$AR" && AR=ar
5227 test -z "$AR_FLAGS" && AR_FLAGS=cru
5239 if test -n "$ac_tool_prefix"; then
5240 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5241 set dummy ${ac_tool_prefix}strip; ac_word=$2
5242 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5243 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5244 if test "${ac_cv_prog_STRIP+set}" = set; then
5245 echo $ECHO_N "(cached
) $ECHO_C" >&6
5247 if test -n "$STRIP"; then
5248 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5257 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5258 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5266 STRIP=$ac_cv_prog_STRIP
5267 if test -n "$STRIP"; then
5268 echo "$as_me:$LINENO: result
: $STRIP" >&5
5269 echo "${ECHO_T}$STRIP" >&6
5271 echo "$as_me:$LINENO: result
: no
" >&5
5272 echo "${ECHO_T}no
" >&6
5276 if test -z "$ac_cv_prog_STRIP"; then
5278 # Extract the first word of "strip
", so it can be a program name with args.
5279 set dummy strip; ac_word=$2
5280 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5281 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5282 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5283 echo $ECHO_N "(cached
) $ECHO_C" >&6
5285 if test -n "$ac_ct_STRIP"; then
5286 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir=.
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5295 ac_cv_prog_ac_ct_STRIP="strip
"
5296 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5302 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5305 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5306 if test -n "$ac_ct_STRIP"; then
5307 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5308 echo "${ECHO_T}$ac_ct_STRIP" >&6
5310 echo "$as_me:$LINENO: result
: no
" >&5
5311 echo "${ECHO_T}no
" >&6
5316 STRIP="$ac_cv_prog_STRIP"
5319 test -z "$STRIP" && STRIP=:
5326 if test -n "$ac_tool_prefix"; then
5327 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5328 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5329 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5330 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5331 if test "${ac_cv_prog_RANLIB+set}" = set; then
5332 echo $ECHO_N "(cached
) $ECHO_C" >&6
5334 if test -n "$RANLIB"; then
5335 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir=.
5342 for ac_exec_ext in '' $ac_executable_extensions; do
5343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5344 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5345 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5353 RANLIB=$ac_cv_prog_RANLIB
5354 if test -n "$RANLIB"; then
5355 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5356 echo "${ECHO_T}$RANLIB" >&6
5358 echo "$as_me:$LINENO: result
: no
" >&5
5359 echo "${ECHO_T}no
" >&6
5363 if test -z "$ac_cv_prog_RANLIB"; then
5364 ac_ct_RANLIB=$RANLIB
5365 # Extract the first word of "ranlib
", so it can be a program name with args.
5366 set dummy ranlib; ac_word=$2
5367 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5368 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5369 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5370 echo $ECHO_N "(cached
) $ECHO_C" >&6
5372 if test -n "$ac_ct_RANLIB"; then
5373 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir=.
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5382 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5383 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5389 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5392 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5393 if test -n "$ac_ct_RANLIB"; then
5394 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5395 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5397 echo "$as_me:$LINENO: result
: no
" >&5
5398 echo "${ECHO_T}no
" >&6
5401 RANLIB=$ac_ct_RANLIB
5403 RANLIB="$ac_cv_prog_RANLIB"
5406 test -z "$RANLIB" && RANLIB=:
5413 # Determine commands to create old-style static archives.
5414 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5415 old_postinstall_cmds='chmod 644 $oldlib'
5416 old_postuninstall_cmds=
5418 if test -n "$RANLIB"; then
5421 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5424 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5427 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5463 # If no C compiler was specified, use CC.
5466 # If no C compiler flags were specified, use CFLAGS.
5467 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5469 # Allow CC to be a program name with arguments.
5473 # Check for command to grab the raw symbol name followed by C symbol from nm.
5474 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5475 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5476 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5477 echo $ECHO_N "(cached
) $ECHO_C" >&6
5480 # These are sane defaults that work on at least a few old systems.
5481 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5483 # Character class describing NM global symbol codes.
5484 symcode='[BCDEGRST]'
5486 # Regexp to match symbols that can be accessed directly from C.
5487 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5489 # Define system-specific variables.
5494 cygwin* | mingw* | pw32*)
5495 symcode='[ABCDGISTW]'
5498 if test "$host_cpu" = ia64; then
5499 symcode='[ABCDEGRST]'
5503 symcode='[BCDEGRST]'
5506 symcode='[BCDEGQRST]'
5517 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5525 # If we're using GNU nm, then use its standard symbol codes.
5526 case `$NM -V 2>&1` in
5527 *GNU* | *'with BFD'*)
5528 symcode='[ABCDGIRSTW]' ;;
5531 # Transform an extracted symbol line into a proper C declaration.
5532 # Some systems (esp. on ia64) link data and code symbols differently,
5533 # so use this general approach.
5534 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5536 # Transform an extracted symbol line into symbol name and symbol address
5537 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5539 # Handle CRLF in mingw tool chain
5543 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5547 # Try without a prefix underscore, then with it.
5548 for ac_symprfx in "" "_
"; do
5550 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5551 symxfrm="\\1 $ac_symprfx\\2 \\2"
5553 # Write the raw and C identifiers.
5554 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5555 # Fake it for dumpbin and say T for any non-static function
5556 # and D for any global variable.
5557 # Also find C++ and __fastcall symbols from MSVC++,
5558 # which start with @ or ?.
5559 lt_cv_sys_global_symbol_pipe="$AWK '"\
5560 " {last_section=section; section=\$ 3};"\
5561 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5562 " \$ 0!~/External *\|/{next};"\
5563 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5564 " {if(hide[section]) next};"\
5565 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5566 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5567 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5568 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5569 " ' prfx
=^
$ac_symprfx"
5571 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5574 # Check to see that the pipe works correctly.
5578 cat > conftest.$ac_ext <<_LT_EOF
5583 void nm_test_func(void);
5584 void nm_test_func(void){}
5588 int main(){nm_test_var='a';nm_test_func();return(0);}
5591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5592 (eval $ac_compile) 2>&5
5594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5595 (exit $ac_status); }; then
5596 # Now try to grab the symbols.
5598 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5599 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5602 (exit $ac_status); } && test -s "$nlist"; then
5603 # Try sorting and uniquifying the output.
5604 if sort "$nlist" | uniq > "$nlist"T; then
5605 mv -f "$nlist"T "$nlist"
5610 # Make sure that we snagged all the symbols we need.
5611 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5612 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5613 cat <<_LT_EOF > conftest.$ac_ext
5619 # Now generate the symbol file.
5620 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5622 cat <<_LT_EOF >> conftest.$ac_ext
5624 /* The mapping between symbol names and symbols. */
5629 lt__PROGRAM__LTX_preloaded_symbols[] =
5631 { "@PROGRAM@
", (void *) 0 },
5633 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5634 cat <<\_LT_EOF >> conftest.$ac_ext
5638 /* This works around a problem in FreeBSD linker */
5639 #ifdef FREEBSD_WORKAROUND
5640 static const void *lt_preloaded_setup() {
5641 return lt__PROGRAM__LTX_preloaded_symbols;
5649 # Now try linking the two files.
5650 mv conftest.$ac_objext conftstm.$ac_objext
5651 lt_save_LIBS="$LIBS"
5652 lt_save_CFLAGS="$CFLAGS"
5653 LIBS="conftstm.
$ac_objext"
5654 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5656 (eval $ac_link) 2>&5
5658 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5659 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5662 LIBS="$lt_save_LIBS"
5663 CFLAGS="$lt_save_CFLAGS"
5665 echo "cannot
find nm_test_func
in $nlist" >&5
5668 echo "cannot
find nm_test_var
in $nlist" >&5
5671 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5674 echo "$progname: failed program was
:" >&5
5675 cat conftest.$ac_ext >&5
5677 rm -f conftest* conftst*
5679 # Do not use the global_symbol_pipe unless it works.
5680 if test "$pipe_works" = yes; then
5683 lt_cv_sys_global_symbol_pipe=
5689 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5690 lt_cv_sys_global_symbol_to_cdecl=
5692 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5693 echo "$as_me:$LINENO: result
: failed
" >&5
5694 echo "${ECHO_T}failed
" >&6
5696 echo "$as_me:$LINENO: result
: ok
" >&5
5697 echo "${ECHO_T}ok
" >&6
5716 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5717 if test "${enable_libtool_lock+set}" = set; then
5718 enableval="$enable_libtool_lock"
5721 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5723 # Some flags need to be propagated to the compiler or linker for good
5727 # Find out which ABI we are using.
5728 echo 'int i;' > conftest.$ac_ext
5729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5730 (eval $ac_compile) 2>&5
5732 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5733 (exit $ac_status); }; then
5734 case `/usr/bin/file conftest.$ac_objext` in
5746 # Find out which ABI we are using.
5747 echo '#line 5747 "configure
"' > conftest.$ac_ext
5748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5749 (eval $ac_compile) 2>&5
5751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5752 (exit $ac_status); }; then
5753 if test "$lt_cv_prog_gnu_ld" = yes; then
5754 case `/usr/bin/file conftest.$ac_objext` in
5756 LD="${LD-ld} -melf32bsmip"
5759 LD="${LD-ld} -melf32bmipn32"
5762 LD="${LD-ld} -melf64bmip"
5766 case `/usr/bin/file conftest.$ac_objext` in
5782 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5783 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5784 # Find out which ABI we are using.
5785 echo 'int i;' > conftest.$ac_ext
5786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5787 (eval $ac_compile) 2>&5
5789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5790 (exit $ac_status); }; then
5791 case `/usr/bin/file conftest.o` in
5794 x86_64-*kfreebsd*-gnu)
5795 LD="${LD-ld} -m elf_i386_fbsd
"
5798 LD="${LD-ld} -m elf_i386
"
5800 ppc64-*linux*|powerpc64-*linux*)
5801 LD="${LD-ld} -m elf32ppclinux
"
5804 LD="${LD-ld} -m elf_s390
"
5807 LD="${LD-ld} -m elf32_sparc
"
5813 x86_64-*kfreebsd*-gnu)
5814 LD="${LD-ld} -m elf_x86_64_fbsd
"
5817 LD="${LD-ld} -m elf_x86_64
"
5819 ppc*-*linux*|powerpc*-*linux*)
5820 LD="${LD-ld} -m elf64ppc
"
5822 s390*-*linux*|s390*-*tpf*)
5823 LD="${LD-ld} -m elf64_s390
"
5826 LD="${LD-ld} -m elf64_sparc
"
5836 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5837 SAVE_CFLAGS="$CFLAGS"
5838 CFLAGS="$CFLAGS -belf"
5839 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5840 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5841 if test "${lt_cv_cc_needs_belf+set}" = set; then
5842 echo $ECHO_N "(cached
) $ECHO_C" >&6
5845 ac_cpp='$CPP $CPPFLAGS'
5846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5850 cat >conftest.$ac_ext <<_ACEOF
5853 cat confdefs.h >>conftest.$ac_ext
5854 cat >>conftest.$ac_ext <<_ACEOF
5855 /* end confdefs.h. */
5865 rm -f conftest.$ac_objext conftest$ac_exeext
5866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5867 (eval $ac_link) 2>conftest.er1
5869 grep -v '^ *+' conftest.er1 >conftest.err
5871 cat conftest.err >&5
5872 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5873 (exit $ac_status); } &&
5874 { ac_try='test -z "$ac_c_werror_flag"
5875 || test ! -s conftest.err'
5876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5879 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5880 (exit $ac_status); }; } &&
5881 { ac_try='test -s conftest$ac_exeext'
5882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5885 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5886 (exit $ac_status); }; }; then
5887 lt_cv_cc_needs_belf=yes
5889 echo "$as_me: failed program was
:" >&5
5890 sed 's/^/| /' conftest.$ac_ext >&5
5892 lt_cv_cc_needs_belf=no
5894 rm -f conftest.err conftest.$ac_objext \
5895 conftest$ac_exeext conftest.$ac_ext
5897 ac_cpp='$CPP $CPPFLAGS'
5898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5903 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5904 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5905 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5906 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5907 CFLAGS="$SAVE_CFLAGS"
5911 # Find out which ABI we are using.
5912 echo 'int i;' > conftest.$ac_ext
5913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5914 (eval $ac_compile) 2>&5
5916 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5917 (exit $ac_status); }; then
5918 case `/usr/bin/file conftest.o` in
5920 case $lt_cv_prog_gnu_ld in
5921 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5922 *) LD="${LD-ld} -64" ;;
5931 need_locks="$enable_libtool_lock"
5934 ac_cpp='$CPP $CPPFLAGS'
5935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5938 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5939 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5940 # On Suns, sometimes $CPP names a directory.
5941 if test -n "$CPP" && test -d "$CPP"; then
5944 if test -z "$CPP"; then
5945 if test "${ac_cv_prog_CPP+set}" = set; then
5946 echo $ECHO_N "(cached
) $ECHO_C" >&6
5948 # Double quotes because CPP needs to be expanded
5949 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5952 for ac_c_preproc_warn_flag in '' yes
5954 # Use a header file that comes with gcc, so configuring glibc
5955 # with a fresh cross-compiler works.
5956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5957 # <limits.h> exists even on freestanding compilers.
5958 # On the NeXT, cc -E runs the code through the compiler's parser,
5959 # not just through cpp. "Syntax error
" is here to catch this case.
5960 cat >conftest.$ac_ext <<_ACEOF
5963 cat confdefs.h >>conftest.$ac_ext
5964 cat >>conftest.$ac_ext <<_ACEOF
5965 /* end confdefs.h. */
5967 # include <limits.h>
5969 # include <assert.h>
5973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5976 grep -v '^ *+' conftest.er1 >conftest.err
5978 cat conftest.err >&5
5979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5980 (exit $ac_status); } >/dev/null; then
5981 if test -s conftest.err; then
5982 ac_cpp_err=$ac_c_preproc_warn_flag
5983 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5990 if test -z "$ac_cpp_err"; then
5993 echo "$as_me: failed program was
:" >&5
5994 sed 's/^/| /' conftest.$ac_ext >&5
5996 # Broken: fails on valid input.
5999 rm -f conftest.err conftest.$ac_ext
6001 # OK, works on sane cases. Now check whether non-existent headers
6002 # can be detected and how.
6003 cat >conftest.$ac_ext <<_ACEOF
6006 cat confdefs.h >>conftest.$ac_ext
6007 cat >>conftest.$ac_ext <<_ACEOF
6008 /* end confdefs.h. */
6009 #include <ac_nonexistent.h>
6011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6014 grep -v '^ *+' conftest.er1 >conftest.err
6016 cat conftest.err >&5
6017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6018 (exit $ac_status); } >/dev/null; then
6019 if test -s conftest.err; then
6020 ac_cpp_err=$ac_c_preproc_warn_flag
6021 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6028 if test -z "$ac_cpp_err"; then
6029 # Broken: success on invalid input.
6032 echo "$as_me: failed program was
:" >&5
6033 sed 's/^/| /' conftest.$ac_ext >&5
6035 # Passes both tests.
6039 rm -f conftest.err conftest.$ac_ext
6042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6043 rm -f conftest.err conftest.$ac_ext
6044 if $ac_preproc_ok; then
6056 echo "$as_me:$LINENO: result
: $CPP" >&5
6057 echo "${ECHO_T}$CPP" >&6
6059 for ac_c_preproc_warn_flag in '' yes
6061 # Use a header file that comes with gcc, so configuring glibc
6062 # with a fresh cross-compiler works.
6063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6064 # <limits.h> exists even on freestanding compilers.
6065 # On the NeXT, cc -E runs the code through the compiler's parser,
6066 # not just through cpp. "Syntax error
" is here to catch this case.
6067 cat >conftest.$ac_ext <<_ACEOF
6070 cat confdefs.h >>conftest.$ac_ext
6071 cat >>conftest.$ac_ext <<_ACEOF
6072 /* end confdefs.h. */
6074 # include <limits.h>
6076 # include <assert.h>
6080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6083 grep -v '^ *+' conftest.er1 >conftest.err
6085 cat conftest.err >&5
6086 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6087 (exit $ac_status); } >/dev/null; then
6088 if test -s conftest.err; then
6089 ac_cpp_err=$ac_c_preproc_warn_flag
6090 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6097 if test -z "$ac_cpp_err"; then
6100 echo "$as_me: failed program was
:" >&5
6101 sed 's/^/| /' conftest.$ac_ext >&5
6103 # Broken: fails on valid input.
6106 rm -f conftest.err conftest.$ac_ext
6108 # OK, works on sane cases. Now check whether non-existent headers
6109 # can be detected and how.
6110 cat >conftest.$ac_ext <<_ACEOF
6113 cat confdefs.h >>conftest.$ac_ext
6114 cat >>conftest.$ac_ext <<_ACEOF
6115 /* end confdefs.h. */
6116 #include <ac_nonexistent.h>
6118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6121 grep -v '^ *+' conftest.er1 >conftest.err
6123 cat conftest.err >&5
6124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6125 (exit $ac_status); } >/dev/null; then
6126 if test -s conftest.err; then
6127 ac_cpp_err=$ac_c_preproc_warn_flag
6128 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6135 if test -z "$ac_cpp_err"; then
6136 # Broken: success on invalid input.
6139 echo "$as_me: failed program was
:" >&5
6140 sed 's/^/| /' conftest.$ac_ext >&5
6142 # Passes both tests.
6146 rm -f conftest.err conftest.$ac_ext
6149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6150 rm -f conftest.err conftest.$ac_ext
6151 if $ac_preproc_ok; then
6154 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
6155 See \
`config.log' for more details." >&5
6156 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6157 See \`config.log
' for more details." >&2;}
6158 { (exit 1); exit 1; }; }
6162 ac_cpp='$CPP $CPPFLAGS'
6163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6164 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6168 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6169 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6170 if test "${ac_cv_header_stdc+set}" = set; then
6171 echo $ECHO_N "(cached) $ECHO_C" >&6
6173 cat >conftest.$ac_ext <<_ACEOF
6176 cat confdefs.h >>conftest.$ac_ext
6177 cat >>conftest.$ac_ext <<_ACEOF
6178 /* end confdefs.h. */
6192 rm -f conftest.$ac_objext
6193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6194 (eval $ac_compile) 2>conftest.er1
6196 grep -v '^
*+' conftest.er1 >conftest.err
6198 cat conftest.err >&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); } &&
6201 { ac_try='test -z "$ac_c_werror_flag"
6202 ||
test ! -s conftest.err
'
6203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); }; } &&
6208 { ac_try='test -s conftest.
$ac_objext'
6209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 (exit $ac_status); }; }; then
6214 ac_cv_header_stdc=yes
6216 echo "$as_me: failed program was:" >&5
6217 sed 's
/^
/|
/' conftest.$ac_ext >&5
6219 ac_cv_header_stdc=no
6221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6223 if test $ac_cv_header_stdc = yes; then
6224 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6225 cat >conftest.$ac_ext <<_ACEOF
6228 cat confdefs.h >>conftest.$ac_ext
6229 cat >>conftest.$ac_ext <<_ACEOF
6230 /* end confdefs.h. */
6234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6235 $EGREP "memchr" >/dev/null 2>&1; then
6238 ac_cv_header_stdc=no
6244 if test $ac_cv_header_stdc = yes; then
6245 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6246 cat >conftest.$ac_ext <<_ACEOF
6249 cat confdefs.h >>conftest.$ac_ext
6250 cat >>conftest.$ac_ext <<_ACEOF
6251 /* end confdefs.h. */
6255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6256 $EGREP "free" >/dev/null 2>&1; then
6259 ac_cv_header_stdc=no
6265 if test $ac_cv_header_stdc = yes; then
6266 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6267 if test "$cross_compiling" = yes; then
6270 cat >conftest.$ac_ext <<_ACEOF
6273 cat confdefs.h >>conftest.$ac_ext
6274 cat >>conftest.$ac_ext <<_ACEOF
6275 /* end confdefs.h. */
6277 #if ((' ' & 0x0FF) == 0x020)
6278 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6279 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6281 # define ISLOWER(c) \
6282 (('a
' <= (c) && (c) <= 'i
') \
6283 || ('j
' <= (c) && (c) <= 'r
') \
6284 || ('s
' <= (c) && (c) <= 'z
'))
6285 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6288 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6293 for (i = 0; i < 256; i++)
6294 if (XOR (islower (i), ISLOWER (i))
6295 || toupper (i) != TOUPPER (i))
6300 rm -f conftest$ac_exeext
6301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6302 (eval $ac_link) 2>&5
6304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310 (exit $ac_status); }; }; then
6313 echo "$as_me: program exited with status $ac_status" >&5
6314 echo "$as_me: failed program was:" >&5
6315 sed 's
/^
/|
/' conftest.$ac_ext >&5
6318 ac_cv_header_stdc=no
6320 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6324 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6325 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6326 if test $ac_cv_header_stdc = yes; then
6328 cat >>confdefs.h <<\_ACEOF
6329 #define STDC_HEADERS 1
6334 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6344 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6345 inttypes.h stdint.h unistd.h
6347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6348 echo "$as_me:$LINENO: checking for $ac_header" >&5
6349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6351 echo $ECHO_N "(cached) $ECHO_C" >&6
6353 cat >conftest.$ac_ext <<_ACEOF
6356 cat confdefs.h >>conftest.$ac_ext
6357 cat >>conftest.$ac_ext <<_ACEOF
6358 /* end confdefs.h. */
6359 $ac_includes_default
6361 #include <$ac_header>
6363 rm -f conftest.$ac_objext
6364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6365 (eval $ac_compile) 2>conftest.er1
6367 grep -v '^
*+' conftest.er1 >conftest.err
6369 cat conftest.err >&5
6370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371 (exit $ac_status); } &&
6372 { ac_try='test -z "$ac_c_werror_flag"
6373 ||
test ! -s conftest.err
'
6374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378 (exit $ac_status); }; } &&
6379 { ac_try='test -s conftest.
$ac_objext'
6380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); }; }; then
6385 eval "$as_ac_Header=yes"
6387 echo "$as_me: failed program was:" >&5
6388 sed 's
/^
/|
/' conftest.$ac_ext >&5
6390 eval "$as_ac_Header=no"
6392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6397 cat >>confdefs.h <<_ACEOF
6398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6407 for ac_header in dlfcn.h
6409 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6410 echo "$as_me:$LINENO: checking for $ac_header" >&5
6411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 cat >conftest.$ac_ext <<_ACEOF
6418 cat confdefs.h >>conftest.$ac_ext
6419 cat >>conftest.$ac_ext <<_ACEOF
6420 /* end confdefs.h. */
6421 $ac_includes_default
6423 #include <$ac_header>
6425 rm -f conftest.$ac_objext
6426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6427 (eval $ac_compile) 2>conftest.er1
6429 grep -v '^
*+' conftest.er1 >conftest.err
6431 cat conftest.err >&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); } &&
6434 { ac_try='test -z "$ac_c_werror_flag"
6435 ||
test ! -s conftest.err
'
6436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); }; } &&
6441 { ac_try='test -s conftest.
$ac_objext'
6442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); }; }; then
6447 eval "$as_ac_Header=yes"
6449 echo "$as_me: failed program was:" >&5
6450 sed 's
/^
/|
/' conftest.$ac_ext >&5
6452 eval "$as_ac_Header=no"
6454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6459 cat >>confdefs.h <<_ACEOF
6460 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6469 # This can be used to rebuild libtool when needed
6470 LIBTOOL_DEPS="$ltmain"
6472 # Always use our own libtool.
6473 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6499 test -z "$LN_S" && LN_S="ln -s"
6514 if test -n "${ZSH_VERSION+set}" ; then
6515 setopt NO_GLOB_SUBST
6518 echo "$as_me:$LINENO: checking for objdir" >&5
6519 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6520 if test "${lt_cv_objdir+set}" = set; then
6521 echo $ECHO_N "(cached) $ECHO_C" >&6
6523 rm -f .libs 2>/dev/null
6524 mkdir .libs 2>/dev/null
6525 if test -d .libs; then
6528 # MS-DOS does not allow filenames that begin with a dot.
6531 rmdir .libs 2>/dev/null
6533 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6534 echo "${ECHO_T}$lt_cv_objdir" >&6
6535 objdir=$lt_cv_objdir
6541 cat >>confdefs.h <<_ACEOF
6542 #define LT_OBJDIR "$lt_cv_objdir/"
6563 # AIX sometimes has problems with the GCC collect2 program. For some
6564 # reason, if we set the COLLECT_NAMES environment variable, the problems
6565 # vanish in a puff of smoke.
6566 if test "X${COLLECT_NAMES+set}" != Xset; then
6568 export COLLECT_NAMES
6573 # Sed substitution that helps us do robust quoting. It backslashifies
6574 # metacharacters that are still active within double-quoted strings.
6575 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6577 # Same as above, but do not quote variable references.
6578 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6580 # Sed substitution to delay expansion of an escaped shell variable in a
6581 # double_quote_subst'ed string.
6582 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6584 # Sed substitution to delay expansion of an escaped single quote.
6585 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6587 # Sed substitution to avoid accidental globbing in evaled expressions
6588 no_glob_subst='s/\*/\\\*/g'
6592 can_build_shared=yes
6594 # All known linkers require a `.a
' archive for static linking (except MSVC,
6595 # which needs '.lib
').
6598 with_gnu_ld="$lt_cv_prog_gnu_ld"
6601 old_CFLAGS="$CFLAGS"
6603 # Set sane defaults for various variables
6604 test -z "$CC" && CC=cc
6605 test -z "$LTCC" && LTCC=$CC
6606 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6607 test -z "$LD" && LD=ld
6608 test -z "$ac_objext" && ac_objext=o
6610 for cc_temp in $compiler""; do
6612 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6613 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6618 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6621 # Only perform the check for file, if the check method requires it
6622 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6623 case $deplibs_check_method in
6625 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6626 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6627 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6628 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6629 echo $ECHO_N "(cached) $ECHO_C" >&6
6633 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6636 lt_save_MAGIC_CMD="$MAGIC_CMD"
6637 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6638 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6639 for ac_dir in $ac_dummy; do
6641 test -z "$ac_dir" && ac_dir=.
6642 if test -f $ac_dir/${ac_tool_prefix}file; then
6643 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6644 if test -n "$file_magic_test_file"; then
6645 case $deplibs_check_method in
6647 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6648 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6649 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6650 $EGREP "$file_magic_regex" > /dev/null; then
6655 *** Warning: the command libtool uses to detect shared libraries,
6656 *** $file_magic_cmd, produces output that libtool cannot recognize.
6657 *** The result is that libtool may fail to recognize shared libraries
6658 *** as such. This will affect the creation of libtool libraries that
6659 *** depend on shared libraries, but programs linked with such libtool
6660 *** libraries will work regardless of this problem. Nevertheless, you
6661 *** may want to report the problem to your system manager and/or to
6662 *** bug-libtool@gnu.org
6672 MAGIC_CMD="$lt_save_MAGIC_CMD"
6677 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6678 if test -n "$MAGIC_CMD"; then
6679 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6680 echo "${ECHO_T}$MAGIC_CMD" >&6
6682 echo "$as_me:$LINENO: result: no" >&5
6683 echo "${ECHO_T}no" >&6
6690 if test -z "$lt_cv_path_MAGIC_CMD"; then
6691 if test -n "$ac_tool_prefix"; then
6692 echo "$as_me:$LINENO: checking for file" >&5
6693 echo $ECHO_N "checking for file... $ECHO_C" >&6
6694 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6699 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6702 lt_save_MAGIC_CMD="$MAGIC_CMD"
6703 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6704 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6705 for ac_dir in $ac_dummy; do
6707 test -z "$ac_dir" && ac_dir=.
6708 if test -f $ac_dir/file; then
6709 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6710 if test -n "$file_magic_test_file"; then
6711 case $deplibs_check_method in
6713 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6714 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6715 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6716 $EGREP "$file_magic_regex" > /dev/null; then
6721 *** Warning: the command libtool uses to detect shared libraries,
6722 *** $file_magic_cmd, produces output that libtool cannot recognize.
6723 *** The result is that libtool may fail to recognize shared libraries
6724 *** as such. This will affect the creation of libtool libraries that
6725 *** depend on shared libraries, but programs linked with such libtool
6726 *** libraries will work regardless of this problem. Nevertheless, you
6727 *** may want to report the problem to your system manager and/or to
6728 *** bug-libtool@gnu.org
6738 MAGIC_CMD="$lt_save_MAGIC_CMD"
6743 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6744 if test -n "$MAGIC_CMD"; then
6745 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6746 echo "${ECHO_T}$MAGIC_CMD" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6762 # Use C for the default configuration in the libtool script
6766 ac_cpp='$CPP $CPPFLAGS'
6767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6768 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6772 # Source file extension for C test sources.
6775 # Object file extension for compiled C test sources.
6779 # Code to be used in simple compile tests
6780 lt_simple_compile_test_code="int some_variable = 0;"
6782 # Code to be used in simple link tests
6783 lt_simple_link_test_code='int main
(){return(0);}'
6791 # If no C compiler was specified, use CC.
6794 # If no C compiler flags were specified, use CFLAGS.
6795 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6797 # Allow CC to be a program name with arguments.
6800 # Save the default compiler, since it gets overwritten when the other
6801 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6802 compiler_DEFAULT=$CC
6804 # save warnings/boilerplate of simple test code
6805 ac_outfile=conftest.$ac_objext
6806 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6807 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6808 _lt_compiler_boilerplate=`cat conftest.err`
6811 ac_outfile=conftest.$ac_objext
6812 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6813 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6814 _lt_linker_boilerplate=`cat conftest.err`
6819 ## There is no encapsulation within the following macros, do not change
6820 ## the running order or otherwise move them around unless you know exactly
6821 ## what you are doing...
6822 if test -n "$compiler"; then
6824 lt_prog_compiler_no_builtin_flag=
6826 if test "$GCC" = yes; then
6827 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6829 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6830 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6831 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6832 echo $ECHO_N "(cached) $ECHO_C" >&6
6834 lt_cv_prog_compiler_rtti_exceptions=no
6835 ac_outfile=conftest.$ac_objext
6836 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6837 lt_compiler_flag="-fno-rtti -fno-exceptions"
6838 # Insert the option either (1) after the last *FLAGS variable, or
6839 # (2) before a word containing "conftest.", or (3) at the end.
6840 # Note that $ac_compile itself does not contain backslashes and begins
6841 # with a dollar sign (not a hyphen), so the echo should work correctly.
6842 # The option is referenced via a variable to avoid confusing sed.
6843 lt_compile=`echo "$ac_compile" | $SED \
6844 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6845 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6846 -e 's
:$
: $lt_compiler_flag:'`
6847 (eval echo "\"\$as_me:6847: $lt_compile\"" >&5)
6848 (eval "$lt_compile" 2>conftest.err)
6850 cat conftest.err >&5
6851 echo "$as_me:6851: \$? = $ac_status" >&5
6852 if (exit $ac_status) && test -s "$ac_outfile"; then
6853 # The compiler can only warn and ignore the option if not recognized
6854 # So say no if there are warnings other than the usual output.
6855 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6856 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6857 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6858 lt_cv_prog_compiler_rtti_exceptions=yes
6864 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6865 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6867 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6868 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6880 lt_prog_compiler_wl=
6881 lt_prog_compiler_pic=
6882 lt_prog_compiler_static=
6884 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6885 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6887 if test "$GCC" = yes; then
6888 lt_prog_compiler_wl='-Wl,'
6889 lt_prog_compiler_static='-static'
6893 # All AIX code is PIC.
6894 if test "$host_cpu" = ia64; then
6895 # AIX 5 now supports IA64 processor
6896 lt_prog_compiler_static='-Bstatic'
6901 if test "$host_cpu" = m68k; then
6902 # FIXME: we need at least 68020 code to build shared libraries, but
6903 # adding the `-m68020' flag to GCC prevents building anything better
,
6905 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6909 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6910 # PIC is the default for these OSes.
6913 mingw
* | cygwin
* | pw32
* | os2
*)
6914 # This hack is so that the source file can tell whether it is being
6915 # built for inclusion in a dll (and should export symbols for example).
6916 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6917 # (--disable-auto-import) libraries
6918 lt_prog_compiler_pic
='-DDLL_EXPORT'
6921 darwin
* | rhapsody
*)
6922 # PIC is the default on this platform
6923 # Common symbols not allowed in MH_DYLIB files
6924 lt_prog_compiler_pic
='-fno-common'
6928 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6935 lt_prog_compiler_pic
='-fPIC'
6941 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6942 # Instead, we relocate shared libraries at runtime.
6946 # Just because we use GCC doesn't mean we suddenly get shared libraries
6947 # on systems that don't support them.
6948 lt_prog_compiler_can_build_shared
=no
6953 # QNX uses GNU C++, but need to define -shared option too, otherwise
6955 lt_prog_compiler_pic
='-fPIC -shared'
6959 if test -d /usr
/nec
; then
6960 lt_prog_compiler_pic
=-Kconform_pic
6965 lt_prog_compiler_pic
='-fPIC'
6969 # PORTME Check for flag to pass linker flags through the system compiler.
6972 lt_prog_compiler_wl
='-Wl,'
6973 if test "$host_cpu" = ia64
; then
6974 # AIX 5 now supports IA64 processor
6975 lt_prog_compiler_static
='-Bstatic'
6977 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6981 # PIC is the default on this platform
6982 # Common symbols not allowed in MH_DYLIB files
6983 case $cc_basename in
6985 lt_prog_compiler_pic
='-qnocommon'
6986 lt_prog_compiler_wl
='-Wl,'
6991 mingw
* | cygwin
* | pw32
* | os2
*)
6992 # This hack is so that the source file can tell whether it is being
6993 # built for inclusion in a dll (and should export symbols for example).
6994 lt_prog_compiler_pic
='-DDLL_EXPORT'
6997 hpux9
* | hpux10
* | hpux11
*)
6998 lt_prog_compiler_wl
='-Wl,'
6999 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7006 lt_prog_compiler_pic
='+Z'
7009 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7010 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7013 irix5
* | irix6
* | nonstopux
*)
7014 lt_prog_compiler_wl
='-Wl,'
7015 # PIC (with -KPIC) is the default.
7016 lt_prog_compiler_static
='-non_shared'
7019 linux
* | k
*bsd
*-gnu)
7020 case $cc_basename in
7022 lt_prog_compiler_wl
='-Wl,'
7023 lt_prog_compiler_pic
='-KPIC'
7024 lt_prog_compiler_static
='-static'
7026 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7027 # Portland Group compilers (*not* the Pentium gcc compiler,
7028 # which looks to be a dead project)
7029 lt_prog_compiler_wl
='-Wl,'
7030 lt_prog_compiler_pic
='-fpic'
7031 lt_prog_compiler_static
='-Bstatic'
7034 lt_prog_compiler_wl
='-Wl,'
7035 # All Alpha code is PIC.
7036 lt_prog_compiler_static
='-non_shared'
7039 case `$CC -V 2>&1 | sed 5q` in
7042 lt_prog_compiler_pic
='-KPIC'
7043 lt_prog_compiler_static
='-Bstatic'
7044 lt_prog_compiler_wl
='-Wl,'
7047 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7048 lt_prog_compiler_pic
='-KPIC'
7049 lt_prog_compiler_static
='-Bstatic'
7050 lt_prog_compiler_wl
=''
7058 lt_prog_compiler_pic
='-KPIC'
7059 lt_prog_compiler_static
='-Bstatic'
7063 # QNX uses GNU C++, but need to define -shared option too, otherwise
7065 lt_prog_compiler_pic
='-fPIC -shared'
7068 osf3
* | osf4
* | osf5
*)
7069 lt_prog_compiler_wl
='-Wl,'
7070 # All OSF/1 code is PIC.
7071 lt_prog_compiler_static
='-non_shared'
7075 lt_prog_compiler_static
='-non_shared'
7079 lt_prog_compiler_pic
='-KPIC'
7080 lt_prog_compiler_static
='-Bstatic'
7081 case $cc_basename in
7083 lt_prog_compiler_wl
='-Qoption ld ';;
7085 lt_prog_compiler_wl
='-Wl,';;
7090 lt_prog_compiler_wl
='-Qoption ld '
7091 lt_prog_compiler_pic
='-PIC'
7092 lt_prog_compiler_static
='-Bstatic'
7095 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7096 lt_prog_compiler_wl
='-Wl,'
7097 lt_prog_compiler_pic
='-KPIC'
7098 lt_prog_compiler_static
='-Bstatic'
7102 if test -d /usr
/nec
;then
7103 lt_prog_compiler_pic
='-Kconform_pic'
7104 lt_prog_compiler_static
='-Bstatic'
7108 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7109 lt_prog_compiler_wl
='-Wl,'
7110 lt_prog_compiler_pic
='-KPIC'
7111 lt_prog_compiler_static
='-Bstatic'
7115 lt_prog_compiler_wl
='-Wl,'
7116 lt_prog_compiler_can_build_shared
=no
7120 lt_prog_compiler_pic
='-pic'
7121 lt_prog_compiler_static
='-Bstatic'
7125 lt_prog_compiler_can_build_shared
=no
7131 # For platforms which do not support PIC, -DPIC is meaningless:
7133 lt_prog_compiler_pic
=
7136 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7139 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7140 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7148 # Check to make sure the PIC flag actually works.
7150 if test -n "$lt_prog_compiler_pic"; then
7151 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7152 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7153 if test "${lt_prog_compiler_pic_works+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7156 lt_prog_compiler_pic_works
=no
7157 ac_outfile
=conftest.
$ac_objext
7158 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7159 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7160 # Insert the option either (1) after the last *FLAGS variable, or
7161 # (2) before a word containing "conftest.", or (3) at the end.
7162 # Note that $ac_compile itself does not contain backslashes and begins
7163 # with a dollar sign (not a hyphen), so the echo should work correctly.
7164 # The option is referenced via a variable to avoid confusing sed.
7165 lt_compile
=`echo "$ac_compile" | $SED \
7166 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7168 -e 's:$: $lt_compiler_flag:'`
7169 (eval echo "\"\$as_me:7169: $lt_compile\"" >&5)
7170 (eval "$lt_compile" 2>conftest.err
)
7172 cat conftest.err
>&5
7173 echo "$as_me:7173: \$? = $ac_status" >&5
7174 if (exit $ac_status) && test -s "$ac_outfile"; then
7175 # The compiler can only warn and ignore the option if not recognized
7176 # So say no if there are warnings other than the usual output.
7177 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7178 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7179 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7180 lt_prog_compiler_pic_works
=yes
7186 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7187 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7189 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7190 case $lt_prog_compiler_pic in
7192 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7195 lt_prog_compiler_pic
=
7196 lt_prog_compiler_can_build_shared
=no
7207 # Check to make sure the static flag actually works.
7209 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7210 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7211 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7212 if test "${lt_prog_compiler_static_works+set}" = set; then
7213 echo $ECHO_N "(cached) $ECHO_C" >&6
7215 lt_prog_compiler_static_works
=no
7216 save_LDFLAGS
="$LDFLAGS"
7217 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7218 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7219 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7220 # The linker can only warn and ignore the option if not recognized
7221 # So say no if there are warnings
7222 if test -s conftest.err
; then
7223 # Append any errors to the config.log.
7224 cat conftest.err
1>&5
7225 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7226 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7227 if diff conftest.exp conftest.er2
>/dev
/null
; then
7228 lt_prog_compiler_static_works
=yes
7231 lt_prog_compiler_static_works
=yes
7235 LDFLAGS
="$save_LDFLAGS"
7238 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7239 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7241 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7244 lt_prog_compiler_static
=
7253 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7254 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7255 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7258 lt_cv_prog_compiler_c_o
=no
7259 $RM -r conftest
2>/dev
/null
7263 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7265 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7266 # Insert the option either (1) after the last *FLAGS variable, or
7267 # (2) before a word containing "conftest.", or (3) at the end.
7268 # Note that $ac_compile itself does not contain backslashes and begins
7269 # with a dollar sign (not a hyphen), so the echo should work correctly.
7270 lt_compile
=`echo "$ac_compile" | $SED \
7271 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7272 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7273 -e 's:$: $lt_compiler_flag:'`
7274 (eval echo "\"\$as_me:7274: $lt_compile\"" >&5)
7275 (eval "$lt_compile" 2>out
/conftest.err
)
7277 cat out
/conftest.err
>&5
7278 echo "$as_me:7278: \$? = $ac_status" >&5
7279 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7281 # The compiler can only warn and ignore the option if not recognized
7282 # So say no if there are warnings
7283 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7284 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7285 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7286 lt_cv_prog_compiler_c_o
=yes
7291 # SGI C++ compiler will create directory out/ii_files/ for
7292 # template instantiation
7293 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7294 $RM out
/* && rmdir out
7300 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7301 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7308 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7309 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7310 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7311 echo $ECHO_N "(cached) $ECHO_C" >&6
7313 lt_cv_prog_compiler_c_o
=no
7314 $RM -r conftest
2>/dev
/null
7318 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7320 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7321 # Insert the option either (1) after the last *FLAGS variable, or
7322 # (2) before a word containing "conftest.", or (3) at the end.
7323 # Note that $ac_compile itself does not contain backslashes and begins
7324 # with a dollar sign (not a hyphen), so the echo should work correctly.
7325 lt_compile
=`echo "$ac_compile" | $SED \
7326 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7327 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7328 -e 's:$: $lt_compiler_flag:'`
7329 (eval echo "\"\$as_me:7329: $lt_compile\"" >&5)
7330 (eval "$lt_compile" 2>out
/conftest.err
)
7332 cat out
/conftest.err
>&5
7333 echo "$as_me:7333: \$? = $ac_status" >&5
7334 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7336 # The compiler can only warn and ignore the option if not recognized
7337 # So say no if there are warnings
7338 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7339 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7340 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7341 lt_cv_prog_compiler_c_o
=yes
7346 # SGI C++ compiler will create directory out/ii_files/ for
7347 # template instantiation
7348 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7349 $RM out
/* && rmdir out
7355 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7356 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7361 hard_links
="nottested"
7362 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7363 # do not overwrite the value of need_locks provided by the user
7364 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7365 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7368 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7370 ln conftest.a conftest.b
2>&5 || hard_links
=no
7371 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7372 echo "$as_me:$LINENO: result: $hard_links" >&5
7373 echo "${ECHO_T}$hard_links" >&6
7374 if test "$hard_links" = no
; then
7375 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7376 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7388 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7389 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7392 allow_undefined_flag
=
7393 always_export_symbols
=no
7395 archive_expsym_cmds
=
7396 compiler_needs_object
=no
7397 enable_shared_with_static_runtimes
=no
7398 export_dynamic_flag_spec
=
7399 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7400 hardcode_automatic
=no
7402 hardcode_direct_absolute
=no
7403 hardcode_libdir_flag_spec
=
7404 hardcode_libdir_flag_spec_ld
=
7405 hardcode_libdir_separator
=
7407 hardcode_shlibpath_var
=unsupported
7409 link_all_deplibs
=unknown
7412 old_archive_from_new_cmds
=
7413 old_archive_from_expsyms_cmds
=
7414 thread_safe_flag_spec
=
7415 whole_archive_flag_spec
=
7416 # include_expsyms should be a list of space-separated symbols to be *always*
7417 # included in the symbol list
7419 # exclude_expsyms can be an extended regexp of symbols to exclude
7420 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7421 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7422 # as well as any symbol that contains `d'.
7423 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7424 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7425 # platforms (ab)use it in PIC code, but their linkers get confused if
7426 # the symbol is explicitly referenced. Since portable code cannot
7427 # rely on this symbol name, it's probably fine to never include it in
7428 # preloaded symbol tables.
7429 extract_expsyms_cmds
=
7432 cygwin
* | mingw
* | pw32
*)
7433 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7434 # When not using gcc, we currently assume that we are using
7435 # Microsoft Visual C++.
7436 if test "$GCC" != yes; then
7441 # we just hope/assume this is gcc and not c89 (= MSVC++)
7450 if test "$with_gnu_ld" = yes; then
7451 # If archive_cmds runs LD, not CC, wlarc should be empty
7454 # Set some defaults for GNU ld with shared library support. These
7455 # are reset later if shared libraries are not supported. Putting them
7456 # here allows them to be overridden if necessary.
7457 runpath_var
=LD_RUN_PATH
7458 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7459 export_dynamic_flag_spec
='${wl}--export-dynamic'
7460 # ancient GNU ld didn't support --whole-archive et. al.
7461 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7462 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7464 whole_archive_flag_spec
=
7466 supports_anon_versioning
=no
7467 case `$LD -v 2>&1` in
7468 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7469 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7470 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7471 *\
2.11.
*) ;; # other 2.11 versions
7472 *) supports_anon_versioning
=yes ;;
7475 # See if GNU ld supports shared libraries.
7478 # On AIX/PPC, the GNU linker is very broken
7479 if test "$host_cpu" != ia64
; then
7483 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7484 *** to be unable to reliably create shared libraries on AIX.
7485 *** Therefore, libtool is disabling shared libraries support. If you
7486 *** really care for shared libraries, you may want to modify your PATH
7487 *** so that a non-GNU linker is found, and then restart.
7494 if test "$host_cpu" = m68k
; then
7495 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)'
7496 hardcode_libdir_flag_spec
='-L$libdir'
7497 hardcode_minus_L
=yes
7500 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7501 # that the semantics of dynamic libraries on AmigaOS, at least up
7502 # to version 4, is to share data among multiple programs linked
7503 # with the same dynamic library. Since this doesn't match the
7504 # behavior of shared libraries on other platforms, we can't use
7510 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7511 allow_undefined_flag
=unsupported
7512 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7513 # support --undefined. This deserves some investigation. FIXME
7514 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7520 cygwin
* | mingw
* | pw32
*)
7521 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7522 # as there is no search path for DLLs.
7523 hardcode_libdir_flag_spec
='-L$libdir'
7524 allow_undefined_flag
=unsupported
7525 always_export_symbols
=no
7526 enable_shared_with_static_runtimes
=yes
7527 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7529 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7530 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7531 # If the export-symbols file already is a .def file (1st line
7532 # is EXPORTS), use it as is; otherwise, prepend...
7533 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7534 cp $export_symbols $output_objdir/$soname.def;
7536 echo EXPORTS > $output_objdir/$soname.def;
7537 cat $export_symbols >> $output_objdir/$soname.def;
7539 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7547 hardcode_shlibpath_var
=no
7548 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7549 export_dynamic_flag_spec
='${wl}-E'
7550 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7551 # Instead, shared libraries are loaded at an image base (0x10000000 by
7552 # default) and relocated if they conflict, which is a slow very memory
7553 # consuming and fragmenting process. To avoid this, we pick a random,
7554 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7555 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7556 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7557 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'
7560 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7562 if test "$host_os" = linux-dietlibc
; then
7563 case $cc_basename in
7564 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7567 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7568 && test "$tmp_diet" = no
7571 case $cc_basename,$host_cpu in
7572 pgcc
*) # Portland Group C compiler
7573 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'
7574 tmp_addflag
=' $pic_flag'
7576 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7577 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'
7578 tmp_addflag
=' $pic_flag -Mnomain' ;;
7579 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7580 tmp_addflag
=' -i_dynamic' ;;
7581 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7582 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7583 ifc
* | ifort
*) # Intel Fortran compiler
7584 tmp_addflag
=' -nofor_main' ;;
7586 case `$CC -V 2>&1 | sed 5q` in
7587 *Sun\ C
*) # Sun C 5.9
7588 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'
7589 compiler_needs_object
=yes
7590 tmp_sharedflag
='-G' ;;
7591 *Sun\ F
*) # Sun Fortran 8.3
7592 tmp_sharedflag
='-G' ;;
7594 tmp_sharedflag
='-shared' ;;
7596 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7598 if test "x$supports_anon_versioning" = xyes
; then
7599 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7600 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7601 echo "local: *; };" >> $output_objdir/$libname.ver~
7602 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7610 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7611 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7614 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7615 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7620 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7624 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7625 *** create shared libraries on Solaris systems. Therefore, libtool
7626 *** is disabling shared libraries support. We urge you to upgrade GNU
7627 *** binutils to release 2.9.1 or newer. Another option is to modify
7628 *** your PATH or compiler configuration so that the native linker is
7629 *** used, and then restart.
7632 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7633 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7634 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7640 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7641 case `$LD -v 2>&1` in
7642 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7646 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7647 *** reliably create shared libraries on SCO systems. Therefore, libtool
7648 *** is disabling shared libraries support. We urge you to upgrade GNU
7649 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7650 *** your PATH or compiler configuration so that the native linker is
7651 *** used, and then restart.
7656 # For security reasons, it is highly recommended that you always
7657 # use absolute paths for naming shared libraries, and exclude the
7658 # DT_RUNPATH tag from executables and libraries. But doing so
7659 # requires that you compile everything twice, which is a pain.
7660 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7661 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7662 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7663 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7672 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7675 hardcode_shlibpath_var
=no
7679 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7680 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7681 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7688 if test "$ld_shlibs" = no
; then
7690 hardcode_libdir_flag_spec
=
7691 export_dynamic_flag_spec
=
7692 whole_archive_flag_spec
=
7695 # PORTME fill in a description of your system's linker (not GNU ld)
7698 allow_undefined_flag
=unsupported
7699 always_export_symbols
=yes
7700 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'
7701 # Note: this linker hardcodes the directories in LIBPATH if there
7702 # are no directories specified by -L.
7703 hardcode_minus_L
=yes
7704 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7705 # Neither direct hardcoding nor static linking is supported with a
7707 hardcode_direct
=unsupported
7712 if test "$host_cpu" = ia64
; then
7713 # On IA64, the linker does run time linking by default, so we don't
7714 # have to do anything special.
7715 aix_use_runtimelinking
=no
7716 exp_sym_flag
='-Bexport'
7719 # If we're using GNU nm, then we don't want the "-C" option.
7720 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7721 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7722 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'
7724 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'
7726 aix_use_runtimelinking
=no
7728 # Test if we are trying to use run time linking or normal
7729 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7730 # need to do runtime linking.
7731 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7732 for ld_flag
in $LDFLAGS; do
7733 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7734 aix_use_runtimelinking
=yes
7741 exp_sym_flag
='-bexport'
7742 no_entry_flag
='-bnoentry'
7745 # When large executables or shared objects are built, AIX ld can
7746 # have problems creating the table of contents. If linking a library
7747 # or program results in "error TOC overflow" add -mminimal-toc to
7748 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7749 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7753 hardcode_direct_absolute
=yes
7754 hardcode_libdir_separator
=':'
7755 link_all_deplibs
=yes
7756 file_list_spec
='${wl}-f,'
7758 if test "$GCC" = yes; then
7759 case $host_os in aix4.
[012]|aix4.
[012].
*)
7760 # We only want to do this on AIX 4.2 and lower, the check
7761 # below for broken collect2 doesn't work under 4.3+
7762 collect2name
=`${CC} -print-prog-name=collect2`
7763 if test -f "$collect2name" &&
7764 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7766 # We have reworked collect2
7769 # We have old collect2
7770 hardcode_direct
=unsupported
7771 # It fails to find uninstalled libraries when the uninstalled
7772 # path is not listed in the libpath. Setting hardcode_minus_L
7773 # to unsupported forces relinking
7774 hardcode_minus_L
=yes
7775 hardcode_libdir_flag_spec
='-L$libdir'
7776 hardcode_libdir_separator
=
7780 shared_flag
='-shared'
7781 if test "$aix_use_runtimelinking" = yes; then
7782 shared_flag
="$shared_flag "'${wl}-G'
7786 if test "$host_cpu" = ia64
; then
7787 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7788 # chokes on -Wl,-G. The following line is correct:
7791 if test "$aix_use_runtimelinking" = yes; then
7792 shared_flag
='${wl}-G'
7794 shared_flag
='${wl}-bM:SRE'
7799 # It seems that -bexpall does not export symbols beginning with
7800 # underscore (_), so it is better to generate a list of symbols to export.
7801 always_export_symbols
=yes
7802 if test "$aix_use_runtimelinking" = yes; then
7803 # Warning - without using the other runtime loading flags (-brtl),
7804 # -berok will link without error, but may produce a broken library.
7805 allow_undefined_flag
='-berok'
7806 # Determine the default libpath from the value encoded in an
7808 cat >conftest.
$ac_ext <<_ACEOF
7811 cat confdefs.h
>>conftest.
$ac_ext
7812 cat >>conftest.
$ac_ext <<_ACEOF
7813 /* end confdefs.h. */
7823 rm -f conftest.
$ac_objext conftest
$ac_exeext
7824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7825 (eval $ac_link) 2>conftest.er1
7827 grep -v '^ *+' conftest.er1
>conftest.err
7829 cat conftest.err
>&5
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); } &&
7832 { ac_try
='test -z "$ac_c_werror_flag"
7833 || test ! -s conftest.err'
7834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); }; } &&
7839 { ac_try
='test -s conftest$ac_exeext'
7840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7844 (exit $ac_status); }; }; then
7846 lt_aix_libpath_sed
='
7847 /Import File Strings/,/^$/ {
7853 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7854 # Check for a 64-bit object if we didn't find anything.
7855 if test -z "$aix_libpath"; then
7856 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7859 echo "$as_me: failed program was:" >&5
7860 sed 's/^/| /' conftest.
$ac_ext >&5
7863 rm -f conftest.err conftest.
$ac_objext \
7864 conftest
$ac_exeext conftest.
$ac_ext
7865 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7867 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7868 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"
7870 if test "$host_cpu" = ia64
; then
7871 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7872 allow_undefined_flag
="-z nodefs"
7873 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"
7875 # Determine the default libpath from the value encoded in an
7877 cat >conftest.
$ac_ext <<_ACEOF
7880 cat confdefs.h
>>conftest.
$ac_ext
7881 cat >>conftest.
$ac_ext <<_ACEOF
7882 /* end confdefs.h. */
7892 rm -f conftest.
$ac_objext conftest
$ac_exeext
7893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7894 (eval $ac_link) 2>conftest.er1
7896 grep -v '^ *+' conftest.er1
>conftest.err
7898 cat conftest.err
>&5
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); } &&
7901 { ac_try
='test -z "$ac_c_werror_flag"
7902 || test ! -s conftest.err'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; } &&
7908 { ac_try
='test -s conftest$ac_exeext'
7909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); }; }; then
7915 lt_aix_libpath_sed
='
7916 /Import File Strings/,/^$/ {
7922 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7923 # Check for a 64-bit object if we didn't find anything.
7924 if test -z "$aix_libpath"; then
7925 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7928 echo "$as_me: failed program was:" >&5
7929 sed 's/^/| /' conftest.
$ac_ext >&5
7932 rm -f conftest.err conftest.
$ac_objext \
7933 conftest
$ac_exeext conftest.
$ac_ext
7934 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7936 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7937 # Warning - without using the other run time loading flags,
7938 # -berok will link without error, but may produce a broken library.
7939 no_undefined_flag
=' ${wl}-bernotok'
7940 allow_undefined_flag
=' ${wl}-berok'
7941 # Exported symbols can be pulled into shared objects from archives
7942 whole_archive_flag_spec
='$convenience'
7943 archive_cmds_need_lc
=yes
7944 # This is similar to how AIX traditionally builds its shared libraries.
7945 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'
7951 if test "$host_cpu" = m68k
; then
7952 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)'
7953 hardcode_libdir_flag_spec
='-L$libdir'
7954 hardcode_minus_L
=yes
7956 # see comment about different semantics on the GNU ld section
7961 export_dynamic_flag_spec
=-rdynamic
7964 cygwin
* | mingw
* | pw32
*)
7965 # When not using gcc, we currently assume that we are using
7966 # Microsoft Visual C++.
7967 # hardcode_libdir_flag_spec is actually meaningless, as there is
7968 # no search path for DLLs.
7969 hardcode_libdir_flag_spec
=' '
7970 allow_undefined_flag
=unsupported
7971 # Tell ltmain to make .lib files, not .a files.
7973 # Tell ltmain to make .dll files, not .so files.
7975 # FIXME: Setting linknames here is a bad hack.
7976 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7977 # The linker will automatically build a .lib file if we build a DLL.
7978 old_archive_from_new_cmds
='true'
7979 # FIXME: Should let the user specify the lib program.
7980 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7981 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7982 enable_shared_with_static_runtimes
=yes
7985 darwin
* | rhapsody
*)
7987 rhapsody
* | darwin1.
[012])
7988 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7991 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7993 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7996 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8001 archive_cmds_need_lc
=no
8003 hardcode_automatic
=yes
8004 hardcode_shlibpath_var
=unsupported
8005 whole_archive_flag_spec
=''
8006 link_all_deplibs
=yes
8007 if test "$GCC" = yes ; then
8008 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8009 echo $ECHO_N "(cached) $ECHO_C" >&6
8011 lt_cv_apple_cc_single_mod
=no
8012 if test -z "${LT_MULTI_MODULE}"; then
8013 # By default we will add the -single_module flag. You can override
8014 # by either setting the environment variable LT_MULTI_MODULE
8015 # non-empty at configure time, or by adding -multi-module to the
8017 echo "int foo(void){return 1;}" > conftest.c
8018 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8019 -dynamiclib ${wl}-single_module conftest.c
8020 if test -f libconftest.dylib
; then
8021 lt_cv_apple_cc_single_mod
=yes
8022 rm libconftest.dylib
8028 output_verbose_link_cmd
=echo
8029 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8030 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8031 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8033 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8034 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8036 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8037 module_expsym_cmds
='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8039 case $cc_basename in
8041 output_verbose_link_cmd
=echo
8042 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8043 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8044 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8045 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8046 module_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8056 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8057 hardcode_libdir_flag_spec
='-L$libdir'
8058 hardcode_shlibpath_var
=no
8065 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8066 # support. Future versions do this automatically, but an explicit c++rt0.o
8067 # does not break anything, and helps significantly (at the cost of a little
8070 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8071 hardcode_libdir_flag_spec
='-R$libdir'
8073 hardcode_shlibpath_var
=no
8076 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8078 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8080 hardcode_minus_L
=yes
8081 hardcode_shlibpath_var
=no
8084 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8085 freebsd
* | dragonfly
*)
8086 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8087 hardcode_libdir_flag_spec
='-R$libdir'
8089 hardcode_shlibpath_var
=no
8093 if test "$GCC" = yes; then
8094 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'
8096 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'
8098 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8099 hardcode_libdir_separator
=:
8102 # hardcode_minus_L: Not really in the search PATH,
8103 # but as the default location of the library.
8104 hardcode_minus_L
=yes
8105 export_dynamic_flag_spec
='${wl}-E'
8109 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8110 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8112 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8114 if test "$with_gnu_ld" = no
; then
8115 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8116 hardcode_libdir_flag_spec_ld
='+b $libdir'
8117 hardcode_libdir_separator
=:
8119 hardcode_direct_absolute
=yes
8120 export_dynamic_flag_spec
='${wl}-E'
8121 # hardcode_minus_L: Not really in the search PATH,
8122 # but as the default location of the library.
8123 hardcode_minus_L
=yes
8128 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8131 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8134 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8137 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8143 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8146 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8149 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8153 if test "$with_gnu_ld" = no
; then
8154 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8155 hardcode_libdir_separator
=:
8160 hardcode_shlibpath_var
=no
8164 hardcode_direct_absolute
=yes
8165 export_dynamic_flag_spec
='${wl}-E'
8167 # hardcode_minus_L: Not really in the search PATH,
8168 # but as the default location of the library.
8169 hardcode_minus_L
=yes
8175 irix5
* | irix6
* | nonstopux
*)
8176 if test "$GCC" = yes; then
8177 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'
8178 # Try to use the -exported_symbol ld option, if it does not
8179 # work, assume that -exports_file does not work either and
8180 # implicitly export all symbols.
8181 save_LDFLAGS
="$LDFLAGS"
8182 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8183 cat >conftest.
$ac_ext <<_ACEOF
8186 rm -f conftest.
$ac_objext conftest
$ac_exeext
8187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8188 (eval $ac_link) 2>conftest.er1
8190 grep -v '^ *+' conftest.er1
>conftest.err
8192 cat conftest.err
>&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } &&
8195 { ac_try
='test -z "$ac_c_werror_flag"
8196 || test ! -s conftest.err'
8197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); }; } &&
8202 { ac_try
='test -s conftest$ac_exeext'
8203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); }; }; then
8208 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'
8211 echo "$as_me: failed program was:" >&5
8212 sed 's/^/| /' conftest.
$ac_ext >&5
8215 rm -f conftest.err conftest.
$ac_objext \
8216 conftest
$ac_exeext conftest.
$ac_ext
8217 LDFLAGS
="$save_LDFLAGS"
8219 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'
8220 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'
8222 archive_cmds_need_lc
='no'
8223 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8224 hardcode_libdir_separator
=:
8226 link_all_deplibs
=yes
8230 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8231 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8233 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8235 hardcode_libdir_flag_spec
='-R$libdir'
8237 hardcode_shlibpath_var
=no
8241 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8243 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8244 hardcode_libdir_separator
=:
8245 hardcode_shlibpath_var
=no
8253 hardcode_shlibpath_var
=no
8254 hardcode_direct_absolute
=yes
8255 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8256 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8257 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8258 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8259 export_dynamic_flag_spec
='${wl}-E'
8262 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8263 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8264 hardcode_libdir_flag_spec
='-R$libdir'
8267 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8268 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8275 hardcode_libdir_flag_spec
='-L$libdir'
8276 hardcode_minus_L
=yes
8277 allow_undefined_flag
=unsupported
8278 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'
8279 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8283 if test "$GCC" = yes; then
8284 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8285 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'
8287 allow_undefined_flag
=' -expect_unresolved \*'
8288 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'
8290 archive_cmds_need_lc
='no'
8291 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8292 hardcode_libdir_separator
=:
8295 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8296 if test "$GCC" = yes; then
8297 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8298 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'
8299 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8301 allow_undefined_flag
=' -expect_unresolved \*'
8302 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'
8303 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~
8304 $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'
8306 # Both c and cxx compiler support -rpath directly
8307 hardcode_libdir_flag_spec
='-rpath $libdir'
8309 archive_cmds_need_lc
='no'
8310 hardcode_libdir_separator
=:
8314 no_undefined_flag
=' -z defs'
8315 if test "$GCC" = yes; then
8317 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8318 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8319 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8321 case `$CC -V 2>&1` in
8324 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8325 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8326 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8330 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8331 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8332 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8336 hardcode_libdir_flag_spec
='-R$libdir'
8337 hardcode_shlibpath_var
=no
8339 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8341 # The compiler driver will combine and reorder linker options,
8342 # but understands `-z linker_flag'. GCC discards it without `$wl',
8343 # but is careful enough not to reorder.
8344 # Supported since Solaris 2.6 (maybe 2.5.1?)
8345 if test "$GCC" = yes; then
8346 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8348 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8352 link_all_deplibs
=yes
8356 if test "x$host_vendor" = xsequent
; then
8357 # Use $CC to link under sequent, because it throws in some extra .o
8358 # files that make .init and .fini sections work.
8359 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8361 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8363 hardcode_libdir_flag_spec
='-L$libdir'
8365 hardcode_minus_L
=yes
8366 hardcode_shlibpath_var
=no
8370 case $host_vendor in
8372 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8373 hardcode_direct
=yes # is this really true???
8376 ## LD is ld it makes a PLAMLIB
8377 ## CC just makes a GrossModule.
8378 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8379 reload_cmds
='$CC -r -o $output$reload_objs'
8383 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8384 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8387 runpath_var
='LD_RUN_PATH'
8388 hardcode_shlibpath_var
=no
8392 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8393 hardcode_shlibpath_var
=no
8394 export_dynamic_flag_spec
='-Bexport'
8398 if test -d /usr
/nec
; then
8399 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8400 hardcode_shlibpath_var
=no
8401 runpath_var
=LD_RUN_PATH
8402 hardcode_runpath_var
=yes
8407 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8408 no_undefined_flag
='${wl}-z,text'
8409 archive_cmds_need_lc
=no
8410 hardcode_shlibpath_var
=no
8411 runpath_var
='LD_RUN_PATH'
8413 if test "$GCC" = yes; then
8414 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8415 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8417 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8418 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8422 sysv5
* | sco3.2v5
* | sco5v6
*)
8423 # Note: We can NOT use -z defs as we might desire, because we do not
8424 # link with -lc, and that would cause any symbols used from libc to
8425 # always be unresolved, which means just about no library would
8426 # ever link correctly. If we're not using GNU ld we use -z text
8427 # though, which does catch some bad symbols but isn't as heavy-handed
8429 no_undefined_flag
='${wl}-z,text'
8430 allow_undefined_flag
='${wl}-z,nodefs'
8431 archive_cmds_need_lc
=no
8432 hardcode_shlibpath_var
=no
8433 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8434 hardcode_libdir_separator
=':'
8435 link_all_deplibs
=yes
8436 export_dynamic_flag_spec
='${wl}-Bexport'
8437 runpath_var
='LD_RUN_PATH'
8439 if test "$GCC" = yes; then
8440 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8441 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8443 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8444 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8449 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8450 hardcode_libdir_flag_spec
='-L$libdir'
8451 hardcode_shlibpath_var
=no
8459 if test x
$host_vendor = xsni
; then
8461 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8462 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8468 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8469 echo "${ECHO_T}$ld_shlibs" >&6
8470 test "$ld_shlibs" = no
&& can_build_shared
=no
8472 with_gnu_ld
=$with_gnu_ld
8489 # Do we need to explicitly link libc?
8491 case "x$archive_cmds_need_lc" in
8493 # Assume -lc should be added
8494 archive_cmds_need_lc
=yes
8496 if test "$enable_shared" = yes && test "$GCC" = yes; then
8497 case $archive_cmds in
8499 # FIXME: we may have to deal with multi-command sequences.
8502 # Test whether the compiler implicitly links with -lc since on some
8503 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8504 # to ld, don't add -lc before -lgcc.
8505 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8506 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8508 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8511 (eval $ac_compile) 2>&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); } 2>conftest.err
; then
8517 libobjs
=conftest.
$ac_objext
8519 wl
=$lt_prog_compiler_wl
8520 pic_flag
=$lt_prog_compiler_pic
8526 lt_save_allow_undefined_flag
=$allow_undefined_flag
8527 allow_undefined_flag
=
8528 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8529 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); }
8534 archive_cmds_need_lc
=no
8536 archive_cmds_need_lc
=yes
8538 allow_undefined_flag
=$lt_save_allow_undefined_flag
8540 cat conftest.err
1>&5
8543 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8544 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8707 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8708 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8710 if test "$withGCC" = yes; then
8712 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8713 *) lt_awk_arg
="/^libraries:/" ;;
8715 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8716 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8717 # if the path contains ";" then we assume it to be the separator
8718 # otherwise default to the standard path separator (i.e. ":") - it is
8719 # assumed that no part of a normal pathname contains ";" but that should
8720 # okay in the real world where ";" in dirpaths is itself problematic.
8721 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8723 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8725 # Ok, now we have the path, separated by spaces, we can step through it
8726 # and add multilib dir if necessary.
8727 lt_tmp_lt_search_path_spec
=
8728 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8729 for lt_sys_path
in $lt_search_path_spec; do
8730 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8731 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8733 test -d "$lt_sys_path" && \
8734 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8737 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8738 BEGIN {RS=" "; FS="/|\n";} {
8741 for (lt_i = NF; lt_i > 0; lt_i--) {
8742 if ($lt_i != "" && $lt_i != ".") {
8743 if ($lt_i == "..") {
8746 if (lt_count == 0) {
8747 lt_foo="/" $lt_i lt_foo;
8754 if (lt_foo != "") { lt_freq[lt_foo]++; }
8755 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8757 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8759 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8762 libname_spec
='lib$name'
8770 shlibpath_overrides_runpath
=unknown
8772 dynamic_linker
="$host_os ld.so"
8773 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8774 need_lib_prefix
=unknown
8775 hardcode_into_libs
=no
8777 # when you set need_version to no, make sure it does not cause -set_version
8778 # flags to be left without arguments
8779 need_version
=unknown
8784 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8785 shlibpath_var
=LIBPATH
8787 # AIX 3 has no versioning support, so we append a major version to the name.
8788 soname_spec
='${libname}${release}${shared_ext}$major'
8795 hardcode_into_libs
=yes
8796 if test "$host_cpu" = ia64
; then
8797 # AIX 5 supports IA64
8798 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8799 shlibpath_var
=LD_LIBRARY_PATH
8801 # With GCC up to 2.95.x, collect2 would create an import file
8802 # for dependence libraries. The import file would start with
8803 # the line `#! .'. This would cause the generated library to
8804 # depend on `.', always an invalid library. This was fixed in
8805 # development snapshots of GCC prior to 3.0.
8807 aix4 | aix4.
[01] | aix4.
[01].
*)
8808 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8810 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8817 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8818 # soname into executable. Probably we can add versioning support to
8819 # collect2, so additional links can be useful in future.
8820 if test "$aix_use_runtimelinking" = yes; then
8821 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8822 # instead of lib<name>.a to let people know that these are not
8823 # typical AIX shared libraries.
8824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8826 # We preserve .a as extension for shared libraries through AIX4.2
8827 # and later when we are not doing run time linking.
8828 library_names_spec
='${libname}${release}.a $libname.a'
8829 soname_spec
='${libname}${release}${shared_ext}$major'
8831 shlibpath_var
=LIBPATH
8836 if test "$host_cpu" = m68k
; then
8837 library_names_spec
='$libname.ixlibrary $libname.a'
8838 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8839 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'
8846 library_names_spec
='${libname}${shared_ext}'
8847 dynamic_linker
="$host_os ld.so"
8848 shlibpath_var
=LIBRARY_PATH
8854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8855 soname_spec
='${libname}${release}${shared_ext}$major'
8856 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8857 shlibpath_var
=LD_LIBRARY_PATH
8858 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8859 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8860 # the default ld.so.conf also contains /usr/contrib/lib and
8861 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8862 # libtool to hard-code these into programs
8865 cygwin
* | mingw
* | pw32
*)
8866 version_type
=windows
8871 case $withGCC,$host_os in
8872 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8873 library_names_spec
='$libname.dll.a'
8874 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8875 postinstall_cmds
='base_file=`basename \${file}`~
8876 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8877 dldir=$destdir/`dirname \$dlpath`~
8878 test -d \$dldir || mkdir -p \$dldir~
8879 $install_prog $dir/$dlname \$dldir/$dlname~
8880 chmod a+x \$dldir/$dlname~
8881 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8882 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8884 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8885 dlpath=$dir/\$dldll~
8887 shlibpath_overrides_runpath
=yes
8891 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8892 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8893 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8896 # MinGW DLLs use traditional 'lib' prefix
8897 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8898 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8899 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8900 # It is most probably a Windows format PATH printed by
8901 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8902 # path with ; separators, and with drive letters. We can handle the
8903 # drive letters (cygwin fileutils understands them), so leave them,
8904 # especially as we might pass files found there to a mingw objdump,
8905 # which wouldn't understand a cygwinified path. Ahh.
8906 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8908 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8912 # pw32 DLLs use 'pw' prefix rather than 'lib'
8913 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8919 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8922 dynamic_linker
='Win32 ld.exe'
8923 # FIXME: first we should search . and the directory the executable is in
8927 darwin
* | rhapsody
*)
8928 dynamic_linker
="$host_os dyld"
8932 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8933 soname_spec
='${libname}${release}${major}$shared_ext'
8934 shlibpath_overrides_runpath
=yes
8935 shlibpath_var
=DYLD_LIBRARY_PATH
8936 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8938 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8939 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8947 soname_spec
='${libname}${release}${shared_ext}$major'
8948 shlibpath_var
=LD_LIBRARY_PATH
8955 freebsd
* | dragonfly
*)
8956 # DragonFly does not have aout. When/if they implement a new
8957 # versioning mechanism, adjust this.
8958 if test -x /usr
/bin
/objformat
; then
8959 objformat
=`/usr/bin/objformat`
8962 freebsd
[123]*) objformat
=aout
;;
8966 version_type
=freebsd-
$objformat
8967 case $version_type in
8969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8974 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8978 shlibpath_var
=LD_LIBRARY_PATH
8981 shlibpath_overrides_runpath
=yes
8983 freebsd3.
[01]* | freebsdelf3.
[01]*)
8984 shlibpath_overrides_runpath
=yes
8985 hardcode_into_libs
=yes
8987 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8988 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8989 shlibpath_overrides_runpath
=no
8990 hardcode_into_libs
=yes
8992 *) # from 4.6 on, and DragonFly
8993 shlibpath_overrides_runpath
=yes
8994 hardcode_into_libs
=yes
9003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9004 soname_spec
='${libname}${release}${shared_ext}$major'
9005 shlibpath_var
=LD_LIBRARY_PATH
9006 hardcode_into_libs
=yes
9009 hpux9
* | hpux10
* | hpux11
*)
9010 # Give a soname corresponding to the major version so that dld.sl refuses to
9011 # link against other versions.
9018 hardcode_into_libs
=yes
9019 dynamic_linker
="$host_os dld.so"
9020 shlibpath_var
=LD_LIBRARY_PATH
9021 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9023 soname_spec
='${libname}${release}${shared_ext}$major'
9024 if test "X$HPUX_IA64_MODE" = X32
; then
9025 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9027 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9029 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9033 hardcode_into_libs
=yes
9034 dynamic_linker
="$host_os dld.sl"
9035 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9036 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9038 soname_spec
='${libname}${release}${shared_ext}$major'
9039 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9040 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9044 dynamic_linker
="$host_os dld.sl"
9045 shlibpath_var
=SHLIB_PATH
9046 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9048 soname_spec
='${libname}${release}${shared_ext}$major'
9051 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9052 postinstall_cmds
='chmod 555 $lib'
9059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9060 soname_spec
='${libname}${release}${shared_ext}$major'
9061 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9062 shlibpath_var
=LD_LIBRARY_PATH
9063 shlibpath_overrides_runpath
=no
9064 hardcode_into_libs
=yes
9067 irix5
* | irix6
* | nonstopux
*)
9069 nonstopux
*) version_type
=nonstopux
;;
9071 if test "$lt_cv_prog_gnu_ld" = yes; then
9079 soname_spec
='${libname}${release}${shared_ext}$major'
9080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9082 irix5
* | nonstopux
*)
9086 case $LD in # libtool.m4 will add one of these switches to LD
9087 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9088 libsuff
= shlibsuff
= libmagic
=32-bit;;
9089 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9090 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9091 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9092 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9093 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9097 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9098 shlibpath_overrides_runpath
=no
9099 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9100 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9101 hardcode_into_libs
=yes
9104 # No shared lib support for Linux oldld, aout, or coff.
9105 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9109 # This must be Linux ELF.
9110 linux
* | k
*bsd
*-gnu)
9114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9115 soname_spec
='${libname}${release}${shared_ext}$major'
9116 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9117 shlibpath_var
=LD_LIBRARY_PATH
9118 shlibpath_overrides_runpath
=no
9119 # Some binutils ld are patched to set DT_RUNPATH
9120 save_LDFLAGS
=$LDFLAGS
9122 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9123 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9124 cat >conftest.
$ac_ext <<_ACEOF
9127 cat confdefs.h
>>conftest.
$ac_ext
9128 cat >>conftest.
$ac_ext <<_ACEOF
9129 /* end confdefs.h. */
9139 rm -f conftest.
$ac_objext conftest
$ac_exeext
9140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9141 (eval $ac_link) 2>conftest.er1
9143 grep -v '^ *+' conftest.er1
>conftest.err
9145 cat conftest.err
>&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); } &&
9148 { ac_try
='test -z "$ac_c_werror_flag"
9149 || test ! -s conftest.err'
9150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9154 (exit $ac_status); }; } &&
9155 { ac_try
='test -s conftest$ac_exeext'
9156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); }; }; then
9161 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9162 shlibpath_overrides_runpath
=yes
9166 echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.
$ac_ext >&5
9170 rm -f conftest.err conftest.
$ac_objext \
9171 conftest
$ac_exeext conftest.
$ac_ext
9172 LDFLAGS
=$save_LDFLAGS
9175 # This implies no fast_install, which is unacceptable.
9176 # Some rework will be needed to allow for fast_install
9177 # before this can be enabled.
9178 hardcode_into_libs
=yes
9180 # Append ld.so.conf contents to the search path
9181 if test -f /etc
/ld.so.conf
; then
9182 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9183 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9186 # We used to test for /lib/ld.so.1 and disable shared libraries on
9187 # powerpc, because MkLinux only supported shared libraries with the
9188 # GNU dynamic linker. Since this was broken with cross compilers,
9189 # most powerpc-linux boxes support dynamic linking these days and
9190 # people can always --disable-shared, the test was removed, and we
9191 # assume the GNU/Linux dynamic linker is in use.
9192 dynamic_linker
='GNU/Linux ld.so'
9199 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9201 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9202 dynamic_linker
='NetBSD (a.out) ld.so'
9204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9205 soname_spec
='${libname}${release}${shared_ext}$major'
9206 dynamic_linker
='NetBSD ld.elf_so'
9208 shlibpath_var
=LD_LIBRARY_PATH
9209 shlibpath_overrides_runpath
=yes
9210 hardcode_into_libs
=yes
9215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9216 shlibpath_var
=LD_LIBRARY_PATH
9217 shlibpath_overrides_runpath
=yes
9224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9225 soname_spec
='${libname}${release}${shared_ext}$major'
9226 shlibpath_var
=LD_LIBRARY_PATH
9227 shlibpath_overrides_runpath
=no
9228 hardcode_into_libs
=yes
9229 dynamic_linker
='ldqnx.so'
9234 sys_lib_dlsearch_path_spec
="/usr/lib"
9236 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9238 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9239 *) need_version
=no
;;
9241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9242 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9243 shlibpath_var
=LD_LIBRARY_PATH
9244 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9246 openbsd2.
[89] | openbsd2.
[89].
*)
9247 shlibpath_overrides_runpath
=no
9250 shlibpath_overrides_runpath
=yes
9254 shlibpath_overrides_runpath
=yes
9259 libname_spec
='$name'
9262 library_names_spec
='$libname${shared_ext} $libname.a'
9263 dynamic_linker
='OS/2 ld.exe'
9264 shlibpath_var
=LIBPATH
9267 osf3
* | osf4
* | osf5
*)
9271 soname_spec
='${libname}${release}${shared_ext}$major'
9272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9273 shlibpath_var
=LD_LIBRARY_PATH
9274 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9275 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9287 soname_spec
='${libname}${release}${shared_ext}$major'
9288 shlibpath_var
=LD_LIBRARY_PATH
9289 shlibpath_overrides_runpath
=yes
9290 hardcode_into_libs
=yes
9291 # ldd complains unless libraries are executable
9292 postinstall_cmds
='chmod +x $lib'
9297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9298 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9299 shlibpath_var
=LD_LIBRARY_PATH
9300 shlibpath_overrides_runpath
=yes
9301 if test "$with_gnu_ld" = yes; then
9309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9310 soname_spec
='${libname}${release}${shared_ext}$major'
9311 shlibpath_var
=LD_LIBRARY_PATH
9312 case $host_vendor in
9314 shlibpath_overrides_runpath
=no
9316 runpath_var
=LD_RUN_PATH
9324 shlibpath_overrides_runpath
=no
9325 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9331 if test -d /usr
/nec
;then
9333 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9334 soname_spec
='$libname${shared_ext}.$major'
9335 shlibpath_var
=LD_LIBRARY_PATH
9339 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9340 version_type
=freebsd-elf
9343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9344 soname_spec
='${libname}${release}${shared_ext}$major'
9345 shlibpath_var
=LD_LIBRARY_PATH
9346 shlibpath_overrides_runpath
=yes
9347 hardcode_into_libs
=yes
9348 if test "$with_gnu_ld" = yes; then
9349 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9351 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9354 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9358 sys_lib_dlsearch_path_spec
='/usr/lib'
9362 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9366 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9367 shlibpath_var
=LD_LIBRARY_PATH
9368 shlibpath_overrides_runpath
=no
9369 hardcode_into_libs
=yes
9374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9375 soname_spec
='${libname}${release}${shared_ext}$major'
9376 shlibpath_var
=LD_LIBRARY_PATH
9383 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9384 echo "${ECHO_T}$dynamic_linker" >&6
9385 test "$dynamic_linker" = no
&& can_build_shared
=no
9387 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9388 if test "$GCC" = yes; then
9389 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9478 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9479 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9481 if test -n "$hardcode_libdir_flag_spec" ||
9482 test -n "$runpath_var" ||
9483 test "X$hardcode_automatic" = "Xyes" ; then
9485 # We can hardcode non-existent directories.
9486 if test "$hardcode_direct" != no
&&
9487 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9488 # have to relink, otherwise we might link with an installed library
9489 # when we should be linking with a yet-to-be-installed one
9490 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9491 test "$hardcode_minus_L" != no
; then
9492 # Linking always hardcodes the temporary library directory.
9493 hardcode_action
=relink
9495 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9496 hardcode_action
=immediate
9499 # We cannot hardcode anything, or else we can only hardcode existing
9501 hardcode_action
=unsupported
9503 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9504 echo "${ECHO_T}$hardcode_action" >&6
9506 if test "$hardcode_action" = relink ||
9507 test "$inherit_rpath" = yes; then
9508 # Fast installation is not supported
9509 enable_fast_install
=no
9510 elif test "$shlibpath_overrides_runpath" = yes ||
9511 test "$enable_shared" = no
; then
9512 # Fast installation is not necessary
9513 enable_fast_install
=needless
9521 if test "x$enable_dlopen" != xyes
; then
9522 enable_dlopen
=unknown
9523 enable_dlopen_self
=unknown
9524 enable_dlopen_self_static
=unknown
9531 lt_cv_dlopen
="load_add_on"
9533 lt_cv_dlopen_self
=yes
9537 lt_cv_dlopen
="LoadLibrary"
9542 lt_cv_dlopen
="dlopen"
9547 # if libdl is installed we need to link against it
9548 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9549 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9550 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9551 echo $ECHO_N "(cached) $ECHO_C" >&6
9553 ac_check_lib_save_LIBS
=$LIBS
9555 cat >conftest.
$ac_ext <<_ACEOF
9558 cat confdefs.h
>>conftest.
$ac_ext
9559 cat >>conftest.
$ac_ext <<_ACEOF
9560 /* end confdefs.h. */
9562 /* Override any gcc2 internal prototype to avoid an error. */
9566 /* We use char because int might match the return type of a gcc2
9567 builtin and then its argument prototype would still apply. */
9577 rm -f conftest.
$ac_objext conftest
$ac_exeext
9578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9579 (eval $ac_link) 2>conftest.er1
9581 grep -v '^ *+' conftest.er1
>conftest.err
9583 cat conftest.err
>&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); } &&
9586 { ac_try
='test -z "$ac_c_werror_flag"
9587 || test ! -s conftest.err'
9588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); }; } &&
9593 { ac_try
='test -s conftest$ac_exeext'
9594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9598 (exit $ac_status); }; }; then
9599 ac_cv_lib_dl_dlopen
=yes
9601 echo "$as_me: failed program was:" >&5
9602 sed 's/^/| /' conftest.
$ac_ext >&5
9604 ac_cv_lib_dl_dlopen
=no
9606 rm -f conftest.err conftest.
$ac_objext \
9607 conftest
$ac_exeext conftest.
$ac_ext
9608 LIBS
=$ac_check_lib_save_LIBS
9610 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9611 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9612 if test $ac_cv_lib_dl_dlopen = yes; then
9613 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9618 lt_cv_dlopen_self
=yes
9625 echo "$as_me:$LINENO: checking for shl_load" >&5
9626 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9627 if test "${ac_cv_func_shl_load+set}" = set; then
9628 echo $ECHO_N "(cached) $ECHO_C" >&6
9630 cat >conftest.
$ac_ext <<_ACEOF
9633 cat confdefs.h
>>conftest.
$ac_ext
9634 cat >>conftest.
$ac_ext <<_ACEOF
9635 /* end confdefs.h. */
9636 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9638 #define shl_load innocuous_shl_load
9640 /* System header to define __stub macros and hopefully few prototypes,
9641 which can conflict with char shl_load (); below.
9642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9643 <limits.h> exists even on freestanding compilers. */
9646 # include <limits.h>
9648 # include <assert.h>
9653 /* Override any gcc2 internal prototype to avoid an error. */
9658 /* We use char because int might match the return type of a gcc2
9659 builtin and then its argument prototype would still apply. */
9661 /* The GNU C library defines this for functions which it implements
9662 to always fail with ENOSYS. Some functions are actually named
9663 something starting with __ and the normal name is an alias. */
9664 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9667 char (*f) () = shl_load;
9676 return f != shl_load;
9681 rm -f conftest.
$ac_objext conftest
$ac_exeext
9682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9683 (eval $ac_link) 2>conftest.er1
9685 grep -v '^ *+' conftest.er1
>conftest.err
9687 cat conftest.err
>&5
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); } &&
9690 { ac_try
='test -z "$ac_c_werror_flag"
9691 || test ! -s conftest.err'
9692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); }; } &&
9697 { ac_try
='test -s conftest$ac_exeext'
9698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); }; }; then
9703 ac_cv_func_shl_load
=yes
9705 echo "$as_me: failed program was:" >&5
9706 sed 's/^/| /' conftest.
$ac_ext >&5
9708 ac_cv_func_shl_load
=no
9710 rm -f conftest.err conftest.
$ac_objext \
9711 conftest
$ac_exeext conftest.
$ac_ext
9713 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9714 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9715 if test $ac_cv_func_shl_load = yes; then
9716 lt_cv_dlopen
="shl_load"
9718 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9719 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9720 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 ac_check_lib_save_LIBS
=$LIBS
9725 cat >conftest.
$ac_ext <<_ACEOF
9728 cat confdefs.h
>>conftest.
$ac_ext
9729 cat >>conftest.
$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9732 /* Override any gcc2 internal prototype to avoid an error. */
9736 /* We use char because int might match the return type of a gcc2
9737 builtin and then its argument prototype would still apply. */
9747 rm -f conftest.
$ac_objext conftest
$ac_exeext
9748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9749 (eval $ac_link) 2>conftest.er1
9751 grep -v '^ *+' conftest.er1
>conftest.err
9753 cat conftest.err
>&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } &&
9756 { ac_try
='test -z "$ac_c_werror_flag"
9757 || test ! -s conftest.err'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; } &&
9763 { ac_try
='test -s conftest$ac_exeext'
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); }; }; then
9769 ac_cv_lib_dld_shl_load
=yes
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.
$ac_ext >&5
9774 ac_cv_lib_dld_shl_load
=no
9776 rm -f conftest.err conftest.
$ac_objext \
9777 conftest
$ac_exeext conftest.
$ac_ext
9778 LIBS
=$ac_check_lib_save_LIBS
9780 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9781 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9782 if test $ac_cv_lib_dld_shl_load = yes; then
9783 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9785 echo "$as_me:$LINENO: checking for dlopen" >&5
9786 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9787 if test "${ac_cv_func_dlopen+set}" = set; then
9788 echo $ECHO_N "(cached) $ECHO_C" >&6
9790 cat >conftest.
$ac_ext <<_ACEOF
9793 cat confdefs.h
>>conftest.
$ac_ext
9794 cat >>conftest.
$ac_ext <<_ACEOF
9795 /* end confdefs.h. */
9796 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9798 #define dlopen innocuous_dlopen
9800 /* System header to define __stub macros and hopefully few prototypes,
9801 which can conflict with char dlopen (); below.
9802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9803 <limits.h> exists even on freestanding compilers. */
9806 # include <limits.h>
9808 # include <assert.h>
9813 /* Override any gcc2 internal prototype to avoid an error. */
9818 /* We use char because int might match the return type of a gcc2
9819 builtin and then its argument prototype would still apply. */
9821 /* The GNU C library defines this for functions which it implements
9822 to always fail with ENOSYS. Some functions are actually named
9823 something starting with __ and the normal name is an alias. */
9824 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9827 char (*f) () = dlopen;
9841 rm -f conftest.
$ac_objext conftest
$ac_exeext
9842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9843 (eval $ac_link) 2>conftest.er1
9845 grep -v '^ *+' conftest.er1
>conftest.err
9847 cat conftest.err
>&5
9848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849 (exit $ac_status); } &&
9850 { ac_try
='test -z "$ac_c_werror_flag"
9851 || test ! -s conftest.err'
9852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); }; } &&
9857 { ac_try
='test -s conftest$ac_exeext'
9858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); }; }; then
9863 ac_cv_func_dlopen
=yes
9865 echo "$as_me: failed program was:" >&5
9866 sed 's/^/| /' conftest.
$ac_ext >&5
9868 ac_cv_func_dlopen
=no
9870 rm -f conftest.err conftest.
$ac_objext \
9871 conftest
$ac_exeext conftest.
$ac_ext
9873 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9874 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9875 if test $ac_cv_func_dlopen = yes; then
9876 lt_cv_dlopen
="dlopen"
9878 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9879 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9880 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9881 echo $ECHO_N "(cached) $ECHO_C" >&6
9883 ac_check_lib_save_LIBS
=$LIBS
9885 cat >conftest.
$ac_ext <<_ACEOF
9888 cat confdefs.h
>>conftest.
$ac_ext
9889 cat >>conftest.
$ac_ext <<_ACEOF
9890 /* end confdefs.h. */
9892 /* Override any gcc2 internal prototype to avoid an error. */
9896 /* We use char because int might match the return type of a gcc2
9897 builtin and then its argument prototype would still apply. */
9907 rm -f conftest.
$ac_objext conftest
$ac_exeext
9908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9909 (eval $ac_link) 2>conftest.er1
9911 grep -v '^ *+' conftest.er1
>conftest.err
9913 cat conftest.err
>&5
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); } &&
9916 { ac_try
='test -z "$ac_c_werror_flag"
9917 || test ! -s conftest.err'
9918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 (exit $ac_status); }; } &&
9923 { ac_try
='test -s conftest$ac_exeext'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; }; then
9929 ac_cv_lib_dl_dlopen
=yes
9931 echo "$as_me: failed program was:" >&5
9932 sed 's/^/| /' conftest.
$ac_ext >&5
9934 ac_cv_lib_dl_dlopen
=no
9936 rm -f conftest.err conftest.
$ac_objext \
9937 conftest
$ac_exeext conftest.
$ac_ext
9938 LIBS
=$ac_check_lib_save_LIBS
9940 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9941 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9942 if test $ac_cv_lib_dl_dlopen = yes; then
9943 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9945 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9946 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9947 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9948 echo $ECHO_N "(cached) $ECHO_C" >&6
9950 ac_check_lib_save_LIBS
=$LIBS
9952 cat >conftest.
$ac_ext <<_ACEOF
9955 cat confdefs.h
>>conftest.
$ac_ext
9956 cat >>conftest.
$ac_ext <<_ACEOF
9957 /* end confdefs.h. */
9959 /* Override any gcc2 internal prototype to avoid an error. */
9963 /* We use char because int might match the return type of a gcc2
9964 builtin and then its argument prototype would still apply. */
9974 rm -f conftest.
$ac_objext conftest
$ac_exeext
9975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9976 (eval $ac_link) 2>conftest.er1
9978 grep -v '^ *+' conftest.er1
>conftest.err
9980 cat conftest.err
>&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); } &&
9983 { ac_try
='test -z "$ac_c_werror_flag"
9984 || test ! -s conftest.err'
9985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 (exit $ac_status); }; } &&
9990 { ac_try
='test -s conftest$ac_exeext'
9991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 (exit $ac_status); }; }; then
9996 ac_cv_lib_svld_dlopen
=yes
9998 echo "$as_me: failed program was:" >&5
9999 sed 's/^/| /' conftest.
$ac_ext >&5
10001 ac_cv_lib_svld_dlopen
=no
10003 rm -f conftest.err conftest.
$ac_objext \
10004 conftest
$ac_exeext conftest.
$ac_ext
10005 LIBS
=$ac_check_lib_save_LIBS
10007 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10008 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10009 if test $ac_cv_lib_svld_dlopen = yes; then
10010 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10012 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10013 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10014 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10017 ac_check_lib_save_LIBS
=$LIBS
10019 cat >conftest.
$ac_ext <<_ACEOF
10022 cat confdefs.h
>>conftest.
$ac_ext
10023 cat >>conftest.
$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10026 /* Override any gcc2 internal prototype to avoid an error. */
10030 /* We use char because int might match the return type of a gcc2
10031 builtin and then its argument prototype would still apply. */
10041 rm -f conftest.
$ac_objext conftest
$ac_exeext
10042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10043 (eval $ac_link) 2>conftest.er1
10045 grep -v '^ *+' conftest.er1
>conftest.err
10047 cat conftest.err
>&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); } &&
10050 { ac_try
='test -z "$ac_c_werror_flag"
10051 || test ! -s conftest.err'
10052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10053 (eval $ac_try) 2>&5
10055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056 (exit $ac_status); }; } &&
10057 { ac_try
='test -s conftest$ac_exeext'
10058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10059 (eval $ac_try) 2>&5
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); }; }; then
10063 ac_cv_lib_dld_dld_link
=yes
10065 echo "$as_me: failed program was:" >&5
10066 sed 's/^/| /' conftest.
$ac_ext >&5
10068 ac_cv_lib_dld_dld_link
=no
10070 rm -f conftest.err conftest.
$ac_objext \
10071 conftest
$ac_exeext conftest.
$ac_ext
10072 LIBS
=$ac_check_lib_save_LIBS
10074 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10075 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10076 if test $ac_cv_lib_dld_dld_link = yes; then
10077 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10098 if test "x$lt_cv_dlopen" != xno
; then
10104 case $lt_cv_dlopen in
10106 save_CPPFLAGS
="$CPPFLAGS"
10107 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10109 save_LDFLAGS
="$LDFLAGS"
10110 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10113 LIBS
="$lt_cv_dlopen_libs $LIBS"
10115 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10116 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10117 if test "${lt_cv_dlopen_self+set}" = set; then
10118 echo $ECHO_N "(cached) $ECHO_C" >&6
10120 if test "$cross_compiling" = yes; then :
10121 lt_cv_dlopen_self
=cross
10123 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10124 lt_status
=$lt_dlunknown
10125 cat > conftest.
$ac_ext <<_LT_EOF
10126 #line 10126 "configure"
10127 #include "confdefs.h"
10136 # define LT_DLGLOBAL RTLD_GLOBAL
10139 # define LT_DLGLOBAL DL_GLOBAL
10141 # define LT_DLGLOBAL 0
10145 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10146 find out it does not work in some platform. */
10147 #ifndef LT_DLLAZY_OR_NOW
10149 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10152 # define LT_DLLAZY_OR_NOW DL_LAZY
10155 # define LT_DLLAZY_OR_NOW RTLD_NOW
10158 # define LT_DLLAZY_OR_NOW DL_NOW
10160 # define LT_DLLAZY_OR_NOW 0
10168 extern "C" void exit (int);
10171 void fnord() { int i=42;}
10174 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10175 int status = $lt_dlunknown;
10179 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10180 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10181 /* dlclose (self); */
10189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10190 (eval $ac_link) 2>&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10194 (.
/conftest
; exit; ) >&5 2>/dev
/null
10196 case x
$lt_status in
10197 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10198 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10199 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10202 # compilation failed
10203 lt_cv_dlopen_self
=no
10210 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10211 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10213 if test "x$lt_cv_dlopen_self" = xyes
; then
10214 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10215 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10216 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10217 if test "${lt_cv_dlopen_self_static+set}" = set; then
10218 echo $ECHO_N "(cached) $ECHO_C" >&6
10220 if test "$cross_compiling" = yes; then :
10221 lt_cv_dlopen_self_static
=cross
10223 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10224 lt_status
=$lt_dlunknown
10225 cat > conftest.
$ac_ext <<_LT_EOF
10226 #line 10226 "configure"
10227 #include "confdefs.h"
10236 # define LT_DLGLOBAL RTLD_GLOBAL
10239 # define LT_DLGLOBAL DL_GLOBAL
10241 # define LT_DLGLOBAL 0
10245 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10246 find out it does not work in some platform. */
10247 #ifndef LT_DLLAZY_OR_NOW
10249 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10252 # define LT_DLLAZY_OR_NOW DL_LAZY
10255 # define LT_DLLAZY_OR_NOW RTLD_NOW
10258 # define LT_DLLAZY_OR_NOW DL_NOW
10260 # define LT_DLLAZY_OR_NOW 0
10268 extern "C" void exit (int);
10271 void fnord() { int i=42;}
10274 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10275 int status = $lt_dlunknown;
10279 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10280 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10281 /* dlclose (self); */
10289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10290 (eval $ac_link) 2>&5
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10294 (.
/conftest
; exit; ) >&5 2>/dev
/null
10296 case x
$lt_status in
10297 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10298 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10299 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10302 # compilation failed
10303 lt_cv_dlopen_self_static
=no
10310 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10311 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10314 CPPFLAGS
="$save_CPPFLAGS"
10315 LDFLAGS
="$save_LDFLAGS"
10320 case $lt_cv_dlopen_self in
10321 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10322 *) enable_dlopen_self
=unknown
;;
10325 case $lt_cv_dlopen_self_static in
10326 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10327 *) enable_dlopen_self_static
=unknown
;;
10349 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10350 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10351 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10352 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10353 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10354 echo "$as_me:$LINENO: result: yes" >&5
10355 echo "${ECHO_T}yes" >&6
10357 # FIXME - insert some real tests, host_os isn't really good enough
10360 if test -n "$STRIP" ; then
10361 striplib
="$STRIP -x"
10362 old_striplib
="$STRIP -S"
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10371 echo "$as_me:$LINENO: result: no" >&5
10372 echo "${ECHO_T}no" >&6
10388 # Report which library types will actually be built
10389 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10390 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10391 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10392 echo "${ECHO_T}$can_build_shared" >&6
10394 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10395 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10396 test "$can_build_shared" = "no" && enable_shared
=no
10398 # On AIX, shared libraries and static libraries use the same namespace, and
10399 # are all built from PIC.
10402 test "$enable_shared" = yes && enable_static
=no
10403 if test -n "$RANLIB"; then
10404 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10405 postinstall_cmds
='$RANLIB $lib'
10410 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10411 test "$enable_shared" = yes && enable_static
=no
10415 echo "$as_me:$LINENO: result: $enable_shared" >&5
10416 echo "${ECHO_T}$enable_shared" >&6
10418 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10419 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10420 # Make sure either enable_shared or enable_static is yes.
10421 test "$enable_shared" = yes || enable_static
=yes
10422 echo "$as_me:$LINENO: result: $enable_static" >&5
10423 echo "${ECHO_T}$enable_static" >&6
10430 ac_cpp
='$CPP $CPPFLAGS'
10431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10449 ac_config_commands
="$ac_config_commands libtool"
10454 # Only expand once:
10458 # Check whether --enable-targets or --disable-targets was given.
10459 if test "${enable_targets+set}" = set; then
10460 enableval
="$enable_targets"
10461 case "${enableval}" in
10462 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
10463 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
10464 { (exit 1); exit 1; }; }
10466 no
) enable_targets
= ;;
10467 *) enable_targets
=$enableval ;;
10469 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
10470 if test "${enable_commonbfdlib+set}" = set; then
10471 enableval
="$enable_commonbfdlib"
10472 case "${enableval}" in
10473 yes) commonbfdlib
=true
;;
10474 no
) commonbfdlib
=false
;;
10475 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for opcodes commonbfdlib option" >&5
10476 echo "$as_me: error: bad value ${enableval} for opcodes commonbfdlib option" >&2;}
10477 { (exit 1); exit 1; }; } ;;
10481 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
10483 # Check whether --enable-werror or --disable-werror was given.
10484 if test "${enable_werror+set}" = set; then
10485 enableval
="$enable_werror"
10486 case "${enableval}" in
10487 yes | y
) ERROR_ON_WARNING
="yes" ;;
10488 no | n
) ERROR_ON_WARNING
="no" ;;
10489 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
10490 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
10491 { (exit 1); exit 1; }; } ;;
10495 # Enable -Wno-format by default when using gcc on mingw
10498 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10499 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
10505 # Enable -Werror by default when using gcc
10506 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10507 ERROR_ON_WARNING
=yes
10511 if test "${ERROR_ON_WARNING}" = yes ; then
10512 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
10513 NO_WERROR
="-Wno-error"
10516 if test "${GCC}" = yes ; then
10517 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
10520 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10521 if test "${enable_build_warnings+set}" = set; then
10522 enableval
="$enable_build_warnings"
10523 case "${enableval}" in
10524 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
10525 no
) if test "${GCC}" = yes ; then
10528 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10529 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
10530 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10531 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
10532 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10536 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
10537 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
10544 ac_config_headers
="$ac_config_headers config.h:config.in"
10547 if test -z "$target" ; then
10548 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
10549 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
10550 { (exit 1); exit 1; }; }
10553 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10554 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
10555 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
10556 if test "${enable_maintainer_mode+set}" = set; then
10557 enableval
="$enable_maintainer_mode"
10558 USE_MAINTAINER_MODE
=$enableval
10560 USE_MAINTAINER_MODE
=no
10562 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10563 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
10566 if test $USE_MAINTAINER_MODE = yes; then
10567 MAINTAINER_MODE_TRUE
=
10568 MAINTAINER_MODE_FALSE
='#'
10570 MAINTAINER_MODE_TRUE
='#'
10571 MAINTAINER_MODE_FALSE
=
10574 MAINT
=$MAINTAINER_MODE_TRUE
10577 case ${build_alias} in
10578 "") build_noncanonical
=${build} ;;
10579 *) build_noncanonical
=${build_alias} ;;
10582 case ${host_alias} in
10583 "") host_noncanonical
=${build_noncanonical} ;;
10584 *) host_noncanonical
=${host_alias} ;;
10587 case ${target_alias} in
10588 "") target_noncanonical
=${host_noncanonical} ;;
10589 *) target_noncanonical
=${target_alias} ;;
10592 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
10593 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
10594 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
10595 if test "${enable_install_libbfd+set}" = set; then
10596 enableval
="$enable_install_libbfd"
10597 install_libbfd_p
=$enableval
10599 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
10600 install_libbfd_p
=yes
10602 install_libbfd_p
=no
10605 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
10606 echo "${ECHO_T}$install_libbfd_p" >&6
10609 if test $install_libbfd_p = yes; then
10610 INSTALL_LIBBFD_TRUE
=
10611 INSTALL_LIBBFD_FALSE
='#'
10613 INSTALL_LIBBFD_TRUE
='#'
10614 INSTALL_LIBBFD_FALSE
=
10617 # Need _noncanonical variables for this.
10622 # libbfd.a is a host library containing target dependent code
10623 bfdlibdir
='$(libdir)'
10624 bfdincludedir
='$(includedir)'
10625 if test "${host}" != "${target}"; then
10626 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
10627 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
10635 # host-specific stuff:
10637 ALL_LINGUAS
="fr sv tr es da de id pt_BR ro nl fi vi ga zh_CN"
10638 # If we haven't got the data from the intl directory,
10639 # assume NLS is disabled.
10648 if test -f ..
/intl
/config.intl
; then
10649 . ..
/intl
/config.intl
10651 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10652 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10653 if test x
"$USE_NLS" != xyes
; then
10654 echo "$as_me:$LINENO: result: no" >&5
10655 echo "${ECHO_T}no" >&6
10657 echo "$as_me:$LINENO: result: yes" >&5
10658 echo "${ECHO_T}yes" >&6
10660 cat >>confdefs.h
<<\_ACEOF
10661 #define ENABLE_NLS 1
10665 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10666 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10667 # Look for .po and .gmo files in the source directory.
10670 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
10671 # If there aren't any .gmo files the shell will give us the
10672 # literal string "../path/to/srcdir/po/*.gmo" which has to be
10674 case "$cat" in *\
**)
10677 # The quadruple backslash is collapsed to a double backslash
10678 # by the backticks, then collapsed again by the double quotes,
10679 # leaving us with one backslash in the sed expression (right
10680 # before the dot that mustn't act as a wildcard).
10681 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
10682 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
10683 # The user is allowed to set LINGUAS to a list of languages to
10684 # install catalogs for. If it's empty that means "all of them."
10685 if test "x$LINGUAS" = x
; then
10686 CATALOGS
="$CATALOGS $cat"
10687 XLINGUAS
="$XLINGUAS $lang"
10689 case "$LINGUAS" in *$lang*)
10690 CATALOGS
="$CATALOGS $cat"
10691 XLINGUAS
="$XLINGUAS $lang"
10696 LINGUAS
="$XLINGUAS"
10697 echo "$as_me:$LINENO: result: $LINGUAS" >&5
10698 echo "${ECHO_T}$LINGUAS" >&6
10712 if test -n "$ac_aux_dir"; then
10713 case "$ac_aux_dir" in
10714 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
10715 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
10718 if test -z "$MKINSTALLDIRS"; then
10719 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
10724 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10725 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10726 # Check whether --enable-nls or --disable-nls was given.
10727 if test "${enable_nls+set}" = set; then
10728 enableval
="$enable_nls"
10733 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10734 echo "${ECHO_T}$USE_NLS" >&6
10741 # Prepare PATH_SEPARATOR.
10742 # The user is always right.
10743 if test "${PATH_SEPARATOR+set}" != set; then
10744 echo "#! /bin/sh" >conf$$.sh
10745 echo "exit 0" >>conf$$.sh
10747 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10755 # Find out how to test for executable files. Don't use a zero-byte file,
10756 # as systems may use methods other than mode bits to determine executability.
10757 cat >conf$$.
file <<_ASEOF
10761 chmod +x conf$$.
file
10762 if test -x conf$$.
file >/dev
/null
2>&1; then
10763 ac_executable_p
="test -x"
10765 ac_executable_p
="test -f"
10769 # Extract the first word of "msgfmt", so it can be a program name with args.
10770 set dummy msgfmt
; ac_word
=$2
10771 echo "$as_me:$LINENO: checking for $ac_word" >&5
10772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10773 if test "${ac_cv_path_MSGFMT+set}" = set; then
10774 echo $ECHO_N "(cached) $ECHO_C" >&6
10778 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
10781 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10782 for ac_dir
in $PATH; do
10784 test -z "$ac_dir" && ac_dir
=.
10785 for ac_exec_ext
in '' $ac_executable_extensions; do
10786 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10787 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
10788 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
10789 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
10796 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
10800 MSGFMT
="$ac_cv_path_MSGFMT"
10801 if test "$MSGFMT" != ":"; then
10802 echo "$as_me:$LINENO: result: $MSGFMT" >&5
10803 echo "${ECHO_T}$MSGFMT" >&6
10805 echo "$as_me:$LINENO: result: no" >&5
10806 echo "${ECHO_T}no" >&6
10809 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10810 set dummy gmsgfmt
; ac_word
=$2
10811 echo "$as_me:$LINENO: checking for $ac_word" >&5
10812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10813 if test "${ac_cv_path_GMSGFMT+set}" = set; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10818 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
10821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10822 for as_dir
in $PATH
10825 test -z "$as_dir" && as_dir
=.
10826 for ac_exec_ext
in '' $ac_executable_extensions; do
10827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10828 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
10829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10835 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
10839 GMSGFMT
=$ac_cv_path_GMSGFMT
10841 if test -n "$GMSGFMT"; then
10842 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10843 echo "${ECHO_T}$GMSGFMT" >&6
10845 echo "$as_me:$LINENO: result: no" >&5
10846 echo "${ECHO_T}no" >&6
10851 # Prepare PATH_SEPARATOR.
10852 # The user is always right.
10853 if test "${PATH_SEPARATOR+set}" != set; then
10854 echo "#! /bin/sh" >conf$$.sh
10855 echo "exit 0" >>conf$$.sh
10857 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10865 # Find out how to test for executable files. Don't use a zero-byte file,
10866 # as systems may use methods other than mode bits to determine executability.
10867 cat >conf$$.
file <<_ASEOF
10871 chmod +x conf$$.
file
10872 if test -x conf$$.
file >/dev
/null
2>&1; then
10873 ac_executable_p
="test -x"
10875 ac_executable_p
="test -f"
10879 # Extract the first word of "xgettext", so it can be a program name with args.
10880 set dummy xgettext
; ac_word
=$2
10881 echo "$as_me:$LINENO: checking for $ac_word" >&5
10882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10883 if test "${ac_cv_path_XGETTEXT+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10886 case "$XGETTEXT" in
10888 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
10891 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10892 for ac_dir
in $PATH; do
10894 test -z "$ac_dir" && ac_dir
=.
10895 for ac_exec_ext
in '' $ac_executable_extensions; do
10896 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10897 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
10898 (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
10899 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
10906 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
10910 XGETTEXT
="$ac_cv_path_XGETTEXT"
10911 if test "$XGETTEXT" != ":"; then
10912 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
10913 echo "${ECHO_T}$XGETTEXT" >&6
10915 echo "$as_me:$LINENO: result: no" >&5
10916 echo "${ECHO_T}no" >&6
10922 # Prepare PATH_SEPARATOR.
10923 # The user is always right.
10924 if test "${PATH_SEPARATOR+set}" != set; then
10925 echo "#! /bin/sh" >conf$$.sh
10926 echo "exit 0" >>conf$$.sh
10928 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10936 # Find out how to test for executable files. Don't use a zero-byte file,
10937 # as systems may use methods other than mode bits to determine executability.
10938 cat >conf$$.
file <<_ASEOF
10942 chmod +x conf$$.
file
10943 if test -x conf$$.
file >/dev
/null
2>&1; then
10944 ac_executable_p
="test -x"
10946 ac_executable_p
="test -f"
10950 # Extract the first word of "msgmerge", so it can be a program name with args.
10951 set dummy msgmerge
; ac_word
=$2
10952 echo "$as_me:$LINENO: checking for $ac_word" >&5
10953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10954 if test "${ac_cv_path_MSGMERGE+set}" = set; then
10955 echo $ECHO_N "(cached) $ECHO_C" >&6
10957 case "$MSGMERGE" in
10959 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
10962 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10963 for ac_dir
in $PATH; do
10965 test -z "$ac_dir" && ac_dir
=.
10966 for ac_exec_ext
in '' $ac_executable_extensions; do
10967 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10968 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
10969 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
10976 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
10980 MSGMERGE
="$ac_cv_path_MSGMERGE"
10981 if test "$MSGMERGE" != ":"; then
10982 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
10983 echo "${ECHO_T}$MSGMERGE" >&6
10985 echo "$as_me:$LINENO: result: no" >&5
10986 echo "${ECHO_T}no" >&6
10990 if test "$GMSGFMT" != ":"; then
10991 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
10992 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
10995 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
10996 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
10997 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11002 if test "$XGETTEXT" != ":"; then
11003 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11004 (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
11007 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11008 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11014 ac_config_commands
="$ac_config_commands default-1"
11018 .
${srcdir}/..
/bfd
/configure.
host
11020 # Put a plausible default for CC_FOR_BUILD in Makefile.
11021 if test -z "$CC_FOR_BUILD"; then
11022 if test "x$cross_compiling" = "xno"; then
11023 CC_FOR_BUILD
='$(CC)'
11029 # Also set EXEEXT_FOR_BUILD.
11030 if test "x$cross_compiling" = "xno"; then
11031 EXEEXT_FOR_BUILD
='$(EXEEXT)'
11033 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
11034 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
11035 if test "${bfd_cv_build_exeext+set}" = set; then
11036 echo $ECHO_N "(cached) $ECHO_C" >&6
11039 echo 'int main () { return 0; }' > conftest.c
11040 bfd_cv_build_exeext
=
11041 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
11042 for file in conftest.
*; do
11044 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
11045 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
11049 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
11051 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
11052 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
11053 EXEEXT_FOR_BUILD
=""
11054 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
11059 # Find a good install program. We prefer a C program (faster),
11060 # so one script is as good as another. But avoid the broken or
11061 # incompatible versions:
11062 # SysV /etc/install, /usr/sbin/install
11063 # SunOS /usr/etc/install
11064 # IRIX /sbin/install
11066 # AmigaOS /C/install, which installs bootblocks on floppy discs
11067 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11068 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11069 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11070 # OS/2's system install, which has a completely different semantic
11071 # ./install, which can be erroneously created by make from ./install.sh.
11072 # Reject install programs that cannot install multiple files.
11073 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11074 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11075 if test -z "$INSTALL"; then
11076 if test "${ac_cv_path_install+set}" = set; then
11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11080 for as_dir
in $PATH
11083 test -z "$as_dir" && as_dir
=.
11084 # Account for people who put trailing slashes in PATH elements.
11086 .
/ | .
// |
/cC
/* | \
11087 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11088 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11091 # OSF1 and SCO ODT 3.0 have their own names for install.
11092 # Don't use installbsd from OSF since it installs stuff as root
11094 for ac_prog
in ginstall scoinst
install; do
11095 for ac_exec_ext
in '' $ac_executable_extensions; do
11096 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11097 if test $ac_prog = install &&
11098 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11099 # AIX install. It has an incompatible calling convention.
11101 elif test $ac_prog = install &&
11102 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11103 # program-specific install script used by HP pwplus--don't use.
11106 rm -rf conftest.one conftest.two conftest.dir
11107 echo one
> conftest.one
11108 echo two
> conftest.two
11110 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11111 test -s conftest.one
&& test -s conftest.two
&&
11112 test -s conftest.dir
/conftest.one
&&
11113 test -s conftest.dir
/conftest.two
11115 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11126 rm -rf conftest.one conftest.two conftest.dir
11129 if test "${ac_cv_path_install+set}" = set; then
11130 INSTALL
=$ac_cv_path_install
11132 # As a last resort, use the slow shell script. Don't cache a
11133 # value for INSTALL within a source directory, because that will
11134 # break other packages using the cache if that directory is
11135 # removed, or if the value is a relative name.
11136 INSTALL
=$ac_install_sh
11139 echo "$as_me:$LINENO: result: $INSTALL" >&5
11140 echo "${ECHO_T}$INSTALL" >&6
11142 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11143 # It thinks the first close brace ends the variable substitution.
11144 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11146 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11148 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11155 for ac_header
in string.h
strings.h stdlib.h limits.h
11157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11159 echo "$as_me:$LINENO: checking for $ac_header" >&5
11160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11162 echo $ECHO_N "(cached) $ECHO_C" >&6
11164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11167 # Is the header compilable?
11168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11170 cat >conftest.
$ac_ext <<_ACEOF
11173 cat confdefs.h
>>conftest.
$ac_ext
11174 cat >>conftest.
$ac_ext <<_ACEOF
11175 /* end confdefs.h. */
11176 $ac_includes_default
11177 #include <$ac_header>
11179 rm -f conftest.
$ac_objext
11180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11181 (eval $ac_compile) 2>conftest.er1
11183 grep -v '^ *+' conftest.er1
>conftest.err
11185 cat conftest.err
>&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); } &&
11188 { ac_try
='test -z "$ac_c_werror_flag"
11189 || test ! -s conftest.err'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; } &&
11195 { ac_try
='test -s conftest.$ac_objext'
11196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; }; then
11201 ac_header_compiler
=yes
11203 echo "$as_me: failed program was:" >&5
11204 sed 's/^/| /' conftest.
$ac_ext >&5
11206 ac_header_compiler
=no
11208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11210 echo "${ECHO_T}$ac_header_compiler" >&6
11212 # Is the header present?
11213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11215 cat >conftest.
$ac_ext <<_ACEOF
11218 cat confdefs.h
>>conftest.
$ac_ext
11219 cat >>conftest.
$ac_ext <<_ACEOF
11220 /* end confdefs.h. */
11221 #include <$ac_header>
11223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11226 grep -v '^ *+' conftest.er1
>conftest.err
11228 cat conftest.err
>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); } >/dev
/null
; then
11231 if test -s conftest.err
; then
11232 ac_cpp_err
=$ac_c_preproc_warn_flag
11233 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11240 if test -z "$ac_cpp_err"; then
11241 ac_header_preproc
=yes
11243 echo "$as_me: failed program was:" >&5
11244 sed 's/^/| /' conftest.
$ac_ext >&5
11246 ac_header_preproc
=no
11248 rm -f conftest.err conftest.
$ac_ext
11249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11250 echo "${ECHO_T}$ac_header_preproc" >&6
11252 # So? What about this header?
11253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11259 ac_header_preproc
=yes
11262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11276 ## ------------------------------------------ ##
11277 ## Report this to the AC_PACKAGE_NAME lists. ##
11278 ## ------------------------------------------ ##
11281 sed "s/^/$as_me: WARNING: /" >&2
11284 echo "$as_me:$LINENO: checking for $ac_header" >&5
11285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11287 echo $ECHO_N "(cached) $ECHO_C" >&6
11289 eval "$as_ac_Header=\$ac_header_preproc"
11291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11296 cat >>confdefs.h
<<_ACEOF
11297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11305 echo "$as_me:$LINENO: checking whether basename is declared" >&5
11306 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
11307 if test "${ac_cv_have_decl_basename+set}" = set; then
11308 echo $ECHO_N "(cached) $ECHO_C" >&6
11310 cat >conftest.
$ac_ext <<_ACEOF
11313 cat confdefs.h
>>conftest.
$ac_ext
11314 cat >>conftest.
$ac_ext <<_ACEOF
11315 /* end confdefs.h. */
11316 $ac_includes_default
11321 char *p = (char *) basename;
11328 rm -f conftest.
$ac_objext
11329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11330 (eval $ac_compile) 2>conftest.er1
11332 grep -v '^ *+' conftest.er1
>conftest.err
11334 cat conftest.err
>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } &&
11337 { ac_try
='test -z "$ac_c_werror_flag"
11338 || test ! -s conftest.err'
11339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11340 (eval $ac_try) 2>&5
11342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); }; } &&
11344 { ac_try
='test -s conftest.$ac_objext'
11345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11346 (eval $ac_try) 2>&5
11348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11349 (exit $ac_status); }; }; then
11350 ac_cv_have_decl_basename
=yes
11352 echo "$as_me: failed program was:" >&5
11353 sed 's/^/| /' conftest.
$ac_ext >&5
11355 ac_cv_have_decl_basename
=no
11357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11359 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
11360 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
11361 if test $ac_cv_have_decl_basename = yes; then
11363 cat >>confdefs.h
<<_ACEOF
11364 #define HAVE_DECL_BASENAME 1
11369 cat >>confdefs.h
<<_ACEOF
11370 #define HAVE_DECL_BASENAME 0
11375 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
11376 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
11377 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
11378 echo $ECHO_N "(cached) $ECHO_C" >&6
11380 cat >conftest.
$ac_ext <<_ACEOF
11383 cat confdefs.h
>>conftest.
$ac_ext
11384 cat >>conftest.
$ac_ext <<_ACEOF
11385 /* end confdefs.h. */
11386 $ac_includes_default
11391 char *p = (char *) stpcpy;
11398 rm -f conftest.
$ac_objext
11399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11400 (eval $ac_compile) 2>conftest.er1
11402 grep -v '^ *+' conftest.er1
>conftest.err
11404 cat conftest.err
>&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); } &&
11407 { ac_try
='test -z "$ac_c_werror_flag"
11408 || test ! -s conftest.err'
11409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11410 (eval $ac_try) 2>&5
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); }; } &&
11414 { ac_try
='test -s conftest.$ac_objext'
11415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11416 (eval $ac_try) 2>&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); }; }; then
11420 ac_cv_have_decl_stpcpy
=yes
11422 echo "$as_me: failed program was:" >&5
11423 sed 's/^/| /' conftest.
$ac_ext >&5
11425 ac_cv_have_decl_stpcpy
=no
11427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11429 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
11430 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
11431 if test $ac_cv_have_decl_stpcpy = yes; then
11433 cat >>confdefs.h
<<_ACEOF
11434 #define HAVE_DECL_STPCPY 1
11439 cat >>confdefs.h
<<_ACEOF
11440 #define HAVE_DECL_STPCPY 0
11449 cgendir
='$(srcdir)/../cgen'
11451 # Check whether --enable-cgen-maint or --disable-cgen-maint was given.
11452 if test "${enable_cgen_maint+set}" = set; then
11453 enableval
="$enable_cgen_maint"
11454 case "${enableval}" in
11455 yes) cgen_maint
=yes ;;
11456 no
) cgen_maint
=no
;;
11458 # argument is cgen install directory (not implemented yet).
11459 # Having a `share' directory might be more appropriate for the .scm,
11460 # .cpu, etc. files.
11462 cgendir
=${cgen_maint}/lib
/cgen
11467 if test x
${cgen_maint} = xyes
; then
11469 CGEN_MAINT_FALSE
='#'
11471 CGEN_MAINT_TRUE
='#'
11479 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
11482 SHARED_DEPENDENCIES
=
11483 if test "$enable_shared" = "yes"; then
11486 SHARED_LDFLAGS
="-no-undefined"
11487 SHARED_LIBADD
="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
11490 SHARED_LIBADD
="-Wl,`pwd`/../bfd/.libs/libbfd.dylib"
11491 SHARED_DEPENDENCIES
="../bfd/libbfd.la"
11494 case "$host_vendor" in
11496 SHARED_LIBADD
="-Wl,`pwd`/../bfd/.libs/libbfd.sl"
11499 SHARED_LIBADD
="-Wl,`pwd`/../bfd/.libs/libbfd.so"
11502 SHARED_DEPENDENCIES
="../bfd/libbfd.la"
11510 # target-specific stuff:
11512 # Canonicalize the secondary target names.
11513 if test -n "$enable_targets" ; then
11514 for targ
in `echo $enable_targets | sed 's/,/ /g'`
11516 result
=`$ac_config_sub $targ 2>/dev/null`
11517 if test -n "$result" ; then
11518 canon_targets
="$canon_targets $result"
11520 # Allow targets that config.sub doesn't recognize, like "all".
11521 canon_targets
="$canon_targets $targ"
11528 for targ
in $target $canon_targets
11530 if test "x$targ" = "xall" ; then
11533 .
$srcdir/..
/bfd
/config.bfd
11534 selarchs
="$selarchs $targ_archs"
11538 # Utility var, documents generic cgen support files.
11540 cgen_files
="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
11542 # We don't do any links based on the target system, just makefile config.
11544 if test x
${all_targets} = xfalse
; then
11546 # Target architecture .o files.
11549 for arch
in $selarchs
11551 ad
=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
11552 archdefs
="$archdefs -DARCH_$ad"
11554 bfd_alpha_arch
) ta
="$ta alpha-dis.lo alpha-opc.lo" ;;
11555 bfd_arc_arch
) ta
="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
11556 bfd_arm_arch
) ta
="$ta arm-dis.lo" ;;
11557 bfd_avr_arch
) ta
="$ta avr-dis.lo" ;;
11558 bfd_bfin_arch
) ta
="$ta bfin-dis.lo" ;;
11559 bfd_cr16_arch
) ta
="$ta cr16-dis.lo cr16-opc.lo" ;;
11560 bfd_cris_arch
) ta
="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
11561 bfd_crx_arch
) ta
="$ta crx-dis.lo crx-opc.lo" ;;
11562 bfd_d10v_arch
) ta
="$ta d10v-dis.lo d10v-opc.lo" ;;
11563 bfd_d30v_arch
) ta
="$ta d30v-dis.lo d30v-opc.lo" ;;
11564 bfd_dlx_arch
) ta
="$ta dlx-dis.lo" ;;
11565 bfd_fr30_arch
) ta
="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen
=yes ;;
11566 bfd_frv_arch
) ta
="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen
=yes ;;
11567 bfd_h8300_arch
) ta
="$ta h8300-dis.lo" ;;
11568 bfd_h8500_arch
) ta
="$ta h8500-dis.lo" ;;
11569 bfd_hppa_arch
) ta
="$ta hppa-dis.lo" ;;
11570 bfd_i370_arch
) ta
="$ta i370-dis.lo i370-opc.lo" ;;
11571 bfd_i386_arch
) ta
="$ta i386-dis.lo i386-opc.lo" ;;
11572 bfd_i860_arch
) ta
="$ta i860-dis.lo" ;;
11573 bfd_i960_arch
) ta
="$ta i960-dis.lo" ;;
11574 bfd_ia64_arch
) ta
="$ta ia64-dis.lo ia64-opc.lo" ;;
11575 bfd_ip2k_arch
) ta
="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen
=yes ;;
11576 bfd_iq2000_arch
) ta
="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen
=yes ;;
11577 bfd_m32c_arch
) ta
="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen
=yes ;;
11578 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 ;;
11579 bfd_m68hc11_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
11580 bfd_m68hc12_arch
) ta
="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
11581 bfd_m68k_arch
) ta
="$ta m68k-dis.lo m68k-opc.lo" ;;
11582 bfd_m88k_arch
) ta
="$ta m88k-dis.lo" ;;
11583 bfd_maxq_arch
) ta
="$ta maxq-dis.lo" ;;
11584 bfd_mcore_arch
) ta
="$ta mcore-dis.lo" ;;
11585 bfd_mep_arch
) ta
="$ta mep-asm.lo mep-desc.lo mep-dis.lo mep-ibld.lo mep-opc.lo" using_cgen
=yes ;;
11586 bfd_mips_arch
) ta
="$ta mips-dis.lo mips-opc.lo mips16-opc.lo" ;;
11587 bfd_mmix_arch
) ta
="$ta mmix-dis.lo mmix-opc.lo" ;;
11588 bfd_mn10200_arch
) ta
="$ta m10200-dis.lo m10200-opc.lo" ;;
11589 bfd_mn10300_arch
) ta
="$ta m10300-dis.lo m10300-opc.lo" ;;
11590 bfd_mt_arch
) ta
="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen
=yes ;;
11591 bfd_msp430_arch
) ta
="$ta msp430-dis.lo" ;;
11592 bfd_ns32k_arch
) ta
="$ta ns32k-dis.lo" ;;
11593 bfd_openrisc_arch
) ta
="$ta openrisc-asm.lo openrisc-desc.lo openrisc-dis.lo openrisc-ibld.lo openrisc-opc.lo" using_cgen
=yes ;;
11594 bfd_or32_arch
) ta
="$ta or32-dis.lo or32-opc.lo" using_cgen
=yes ;;
11595 bfd_pdp11_arch
) ta
="$ta pdp11-dis.lo pdp11-opc.lo" ;;
11596 bfd_pj_arch
) ta
="$ta pj-dis.lo pj-opc.lo" ;;
11597 bfd_powerpc_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
11598 bfd_powerpc_64_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
11599 bfd_pyramid_arch
) ;;
11601 bfd_rs6000_arch
) ta
="$ta ppc-dis.lo ppc-opc.lo" ;;
11602 bfd_s390_arch
) ta
="$ta s390-dis.lo s390-opc.lo" ;;
11603 bfd_score_arch
) ta
="$ta score-dis.lo" ;;
11605 # We can't decide what we want just from the CPU family.
11606 # We want SH5 support unless a specific version of sh is
11607 # specified, as in sh3-elf, sh3b-linux-gnu, etc.
11608 # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
11609 for t
in $target $canon_targets; do
11611 all | sh5
*-* | sh64
*-* | sh-
*-*elf
* | shl
*-*-*elf
* | \
11612 sh-
*-linux* | shl-
*-linux*)
11613 ta
="$ta sh64-dis.lo sh64-opc.lo"
11614 archdefs
="$archdefs -DINCLUDE_SHMEDIA"
11618 ta
="$ta sh-dis.lo cgen-bitset.lo" ;;
11619 bfd_sparc_arch
) ta
="$ta sparc-dis.lo sparc-opc.lo" ;;
11620 bfd_spu_arch
) ta
="$ta spu-dis.lo spu-opc.lo" ;;
11622 bfd_tic30_arch
) ta
="$ta tic30-dis.lo" ;;
11623 bfd_tic4x_arch
) ta
="$ta tic4x-dis.lo" ;;
11624 bfd_tic54x_arch
) ta
="$ta tic54x-dis.lo tic54x-opc.lo" ;;
11625 bfd_tic80_arch
) ta
="$ta tic80-dis.lo tic80-opc.lo" ;;
11626 bfd_v850_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
11627 bfd_v850e_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
11628 bfd_v850ea_arch
) ta
="$ta v850-opc.lo v850-dis.lo" ;;
11629 bfd_vax_arch
) ta
="$ta vax-dis.lo" ;;
11630 bfd_w65_arch
) ta
="$ta w65-dis.lo" ;;
11632 bfd_xc16x_arch
) ta
="$ta xc16x-asm.lo xc16x-desc.lo xc16x-dis.lo xc16x-ibld.lo xc16x-opc.lo" using_cgen
=yes ;;
11633 bfd_xstormy16_arch
) ta
="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen
=yes ;;
11634 bfd_xtensa_arch
) ta
="$ta xtensa-dis.lo" ;;
11635 bfd_z80_arch
) ta
="$ta z80-dis.lo" ;;
11636 bfd_z8k_arch
) ta
="$ta z8k-dis.lo" ;;
11639 *) { { echo "$as_me:$LINENO: error: *** unknown target architecture $arch" >&5
11640 echo "$as_me: error: *** unknown target architecture $arch" >&2;}
11641 { (exit 1); exit 1; }; } ;;
11645 if test $using_cgen = yes ; then
11646 ta
="$ta $cgen_files"
11649 # Weed out duplicate .o files.
11659 # And duplicate -D flags.
11661 for i
in $archdefs ; do
11671 else # all_targets is true
11672 archdefs
=-DARCH_all
11673 BFD_MACHINES
='$(ALL_MACHINES)'
11679 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
11681 cat >confcache
<<\_ACEOF
11682 # This file is a shell script that caches the results of configure
11683 # tests run on this system so they can be shared between configure
11684 # scripts and configure runs, see configure's option --config-cache.
11685 # It is not useful on other systems. If it contains results you don't
11686 # want to keep, you may remove or edit it.
11688 # config.status only pays attention to the cache file if you give it
11689 # the --recheck option to rerun configure.
11691 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11692 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11693 # following values.
11697 # The following way of writing the cache mishandles newlines in values,
11698 # but we know of no workaround that is simple, portable, and efficient.
11699 # So, don't put newlines in cache variables' values.
11700 # Ultrix sh set writes to stderr and can't be redirected directly,
11701 # and sets the high bit in the cache file unless we assign to the vars.
11704 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11706 # `set' does not quote correctly, so add quotes (double-quote
11707 # substitution turns \\\\ into \\, and sed turns \\ into \).
11710 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11713 # `set' quotes correctly as required by POSIX, so do not add quotes.
11715 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11722 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11724 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11726 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11727 if test -w $cache_file; then
11728 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11729 cat confcache
>$cache_file
11731 echo "not updating unwritable cache $cache_file"
11736 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11737 # Let make expand exec_prefix.
11738 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11740 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11741 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11742 # trailing colons and then remove the whole line if VPATH becomes empty
11743 # (actually we leave an empty line to preserve line numbers).
11744 if test "x$srcdir" = x.
; then
11745 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11746 s/:*\$(srcdir):*/:/;
11747 s/:*\${srcdir}:*/:/;
11749 s/^\([^=]*=[ ]*\):*/\1/;
11755 DEFS
=-DHAVE_CONFIG_H
11759 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11760 # 1. Remove the extension, and $U if already installed.
11761 ac_i
=`echo "$ac_i" |
11762 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11764 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11765 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11767 LIBOBJS
=$ac_libobjs
11769 LTLIBOBJS
=$ac_ltlibobjs
11772 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11773 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11774 Usually this means the macro was only invoked conditionally." >&5
11775 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11776 Usually this means the macro was only invoked conditionally." >&2;}
11777 { (exit 1); exit 1; }; }
11779 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11780 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11781 Usually this means the macro was only invoked conditionally." >&5
11782 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11783 Usually this means the macro was only invoked conditionally." >&2;}
11784 { (exit 1); exit 1; }; }
11786 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11787 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11788 Usually this means the macro was only invoked conditionally." >&5
11789 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11790 Usually this means the macro was only invoked conditionally." >&2;}
11791 { (exit 1); exit 1; }; }
11793 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
11794 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
11795 Usually this means the macro was only invoked conditionally." >&5
11796 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
11797 Usually this means the macro was only invoked conditionally." >&2;}
11798 { (exit 1); exit 1; }; }
11800 if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
11801 { { echo "$as_me:$LINENO: error: conditional \"CGEN_MAINT\" was never defined.
11802 Usually this means the macro was only invoked conditionally." >&5
11803 echo "$as_me: error: conditional \"CGEN_MAINT\" was never defined.
11804 Usually this means the macro was only invoked conditionally." >&2;}
11805 { (exit 1); exit 1; }; }
11808 : ${CONFIG_STATUS=./config.status}
11809 ac_clean_files_save
=$ac_clean_files
11810 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11811 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11812 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11813 cat >$CONFIG_STATUS <<_ACEOF
11815 # Generated by $as_me.
11816 # Run this file to recreate the current configuration.
11817 # Compiler output produced by configure, useful for debugging
11818 # configure, is in config.log if it exists.
11821 ac_cs_recheck=false
11823 SHELL=\${CONFIG_SHELL-$SHELL}
11826 cat >>$CONFIG_STATUS <<\_ACEOF
11827 ## --------------------- ##
11828 ## M4sh Initialization. ##
11829 ## --------------------- ##
11831 # Be Bourne compatible
11832 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11835 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11836 # is contrary to our usage. Disable this feature.
11837 alias -g '${1+"$@"}'='"$@"'
11838 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11841 DUALCASE
=1; export DUALCASE
# for MKS sh
11843 # Support unset when possible.
11844 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11851 # Work around bugs in pre-3.0 UWIN ksh.
11852 $as_unset ENV MAIL MAILPATH
11859 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11860 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11861 LC_TELEPHONE LC_TIME
11863 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11864 eval $as_var=C
; export $as_var
11870 # Required to use basename.
11871 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11877 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11878 as_basename
=basename
11884 # Name of the executable.
11885 as_me
=`$as_basename "$0" ||
11886 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11887 X"$0" : 'X\(//\)$' \| \
11888 X"$0" : 'X\(/\)$' \| \
11889 . : '\(.\)' 2>/dev/null ||
11891 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11892 /^X\/\(\/\/\)$/{ s//\1/; q; }
11893 /^X\/\(\/\).*/{ s//\1/; q; }
11897 # PATH needs CR, and LINENO needs CR and PATH.
11898 # Avoid depending upon Character Ranges.
11899 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11900 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11901 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11902 as_cr_digits
='0123456789'
11903 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11905 # The user is always right.
11906 if test "${PATH_SEPARATOR+set}" != set; then
11907 echo "#! /bin/sh" >conf$$.sh
11908 echo "exit 0" >>conf$$.sh
11910 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11919 as_lineno_1
=$LINENO
11920 as_lineno_2
=$LINENO
11921 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11922 test "x$as_lineno_1" != "x$as_lineno_2" &&
11923 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11924 # Find who we are. Look in the path if we contain no path at all
11927 *[\\/]* ) as_myself
=$0 ;;
11928 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11929 for as_dir
in $PATH
11932 test -z "$as_dir" && as_dir
=.
11933 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11938 # We did not find ourselves, most probably we were run as `sh COMMAND'
11939 # in which case we are not to be found in the path.
11940 if test "x$as_myself" = x
; then
11943 if test ! -f "$as_myself"; then
11944 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11945 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11946 { (exit 1); exit 1; }; }
11948 case $CONFIG_SHELL in
11950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11951 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11954 test -z "$as_dir" && as_dir
=.
11955 for as_base
in sh bash ksh sh5
; do
11958 if ("$as_dir/$as_base" -c '
11959 as_lineno_1=$LINENO
11960 as_lineno_2=$LINENO
11961 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11962 test "x$as_lineno_1" != "x$as_lineno_2" &&
11963 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11964 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11965 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11966 CONFIG_SHELL
=$as_dir/$as_base
11967 export CONFIG_SHELL
11968 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11976 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11977 # uniformly replaced by the line number. The first 'sed' inserts a
11978 # line-number line before each line; the second 'sed' does the real
11979 # work. The second script uses 'N' to pair each line-number line
11980 # with the numbered line, and appends trailing '-' during
11981 # substitution so that $LINENO is not a special case at line end.
11982 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11983 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11984 sed '=' <$as_myself |
11989 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11992 s,^['$as_cr_digits']*\n,,
11993 ' >$as_me.lineno
&&
11994 chmod +x
$as_me.lineno ||
11995 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11996 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11997 { (exit 1); exit 1; }; }
11999 # Don't try to exec as it changes $[0], causing all sort of problems
12000 # (the dirname of $[0] is not the place where we might find the
12001 # original and so on. Autoconf is especially sensible to this).
12003 # Exit status is that of the last command.
12008 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12009 *c
*,-n*) ECHO_N
= ECHO_C
='
12011 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12012 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12015 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12021 rm -f conf$$ conf$$.exe conf$$.
file
12023 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12024 # We could just check for DJGPP; but this test a) works b) is more generic
12025 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12026 if test -f conf$$.exe
; then
12027 # Don't use ln at all; we don't have any links
12032 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12037 rm -f conf$$ conf$$.exe conf$$.
file
12039 if mkdir
-p .
2>/dev
/null
; then
12042 test -d .
/-p && rmdir .
/-p
12046 as_executable_p
="test -f"
12048 # Sed expression to map a string onto a valid CPP name.
12049 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12051 # Sed expression to map a string onto a valid variable name.
12052 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12056 # We need space, tab and new line, in precisely that order.
12066 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12067 # report actual input values of CONFIG_FILES etc. instead of their
12068 # values after options handling. Logging --version etc. is OK.
12072 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12073 ## Running $as_me. ##
12078 This file was extended by $as_me, which was
12079 generated by GNU Autoconf 2.59. Invocation command line was
12081 CONFIG_FILES = $CONFIG_FILES
12082 CONFIG_HEADERS = $CONFIG_HEADERS
12083 CONFIG_LINKS = $CONFIG_LINKS
12084 CONFIG_COMMANDS = $CONFIG_COMMANDS
12088 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12092 # Files that config.status was made for.
12093 if test -n "$ac_config_files"; then
12094 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12097 if test -n "$ac_config_headers"; then
12098 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12101 if test -n "$ac_config_links"; then
12102 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12105 if test -n "$ac_config_commands"; then
12106 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12109 cat >>$CONFIG_STATUS <<\_ACEOF
12112 \`$as_me' instantiates files from templates according to the
12113 current configuration.
12115 Usage: $0 [OPTIONS] [FILE]...
12117 -h, --help print this help, then exit
12118 -V, --version print version number, then exit
12119 -q, --quiet do not print progress messages
12120 -d, --debug don't remove temporary files
12121 --recheck update $as_me by reconfiguring in the same conditions
12122 --file=FILE[:TEMPLATE]
12123 instantiate the configuration file FILE
12124 --header=FILE[:TEMPLATE]
12125 instantiate the configuration header FILE
12127 Configuration files:
12130 Configuration headers:
12133 Configuration commands:
12136 Report bugs to <bug-autoconf@gnu.org>."
12139 cat >>$CONFIG_STATUS <<_ACEOF
12142 configured by $0, generated by GNU Autoconf 2.59,
12143 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12145 Copyright (C) 2003 Free Software Foundation, Inc.
12146 This config.status script is free software; the Free Software Foundation
12147 gives unlimited permission to copy, distribute and modify it."
12152 cat >>$CONFIG_STATUS <<\_ACEOF
12153 # If no file are specified by the user, then we need to provide default
12154 # value. By we need to know if files were specified by the user.
12160 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12161 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12169 *) # This is not an option, so the user has probably given explicit
12172 ac_need_defaults
=false
;;
12176 # Handling of the options.
12178 cat >>$CONFIG_STATUS <<\_ACEOF
12179 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12181 --version |
--vers* |
-V )
12182 echo "$ac_cs_version"; exit 0 ;;
12184 # Conflict between --help and --header
12185 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12186 Try \`$0 --help' for more information." >&5
12187 echo "$as_me: error: ambiguous option: $1
12188 Try \`$0 --help' for more information." >&2;}
12189 { (exit 1); exit 1; }; };;
12190 --help |
--hel |
-h )
12191 echo "$ac_cs_usage"; exit 0 ;;
12192 --debug |
--d* |
-d )
12194 --file |
--fil |
--fi |
--f )
12196 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12197 ac_need_defaults
=false
;;
12198 --header |
--heade |
--head |
--hea )
12200 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12201 ac_need_defaults
=false
;;
12202 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12203 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12206 # This is an error.
12207 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12208 Try \`$0 --help' for more information." >&5
12209 echo "$as_me: error: unrecognized option: $1
12210 Try \`$0 --help' for more information." >&2;}
12211 { (exit 1); exit 1; }; } ;;
12213 *) ac_config_targets
="$ac_config_targets $1" ;;
12219 ac_configure_extra_args
=
12221 if $ac_cs_silent; then
12223 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12227 cat >>$CONFIG_STATUS <<_ACEOF
12228 if \$ac_cs_recheck; then
12229 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12230 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12235 cat >>$CONFIG_STATUS <<_ACEOF
12237 # INIT-COMMANDS section.
12240 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12243 # The HP-UX ksh and POSIX shell print the target directory to stdout
12244 # if CDPATH is set.
12245 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12247 sed_quote_subst='$sed_quote_subst'
12248 double_quote_subst='$double_quote_subst'
12249 delay_variable_subst='$delay_variable_subst'
12250 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12251 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12252 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12253 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12254 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12255 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12256 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12257 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12258 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12259 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12260 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12261 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12262 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12263 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12264 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12265 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12266 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12267 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12268 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12269 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12270 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12271 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12272 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12273 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12274 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12275 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12276 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12277 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12278 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12279 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12280 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12281 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12282 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12283 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12284 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12285 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12286 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12287 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12288 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12289 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12290 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12291 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12292 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12293 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"`'
12294 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12295 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12296 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12297 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12298 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12299 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12300 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12301 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12302 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12303 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12304 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12305 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12306 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12307 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12308 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12309 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12310 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12311 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12312 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12313 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12314 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12315 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12316 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12317 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12318 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12319 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12320 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12321 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12322 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12323 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12324 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12325 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12326 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12327 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12328 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12329 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12330 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12331 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12332 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12333 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12334 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12335 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12336 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12337 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12338 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12339 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12340 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12341 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12342 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12343 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12344 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12345 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12346 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12347 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12348 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12349 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12350 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12351 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12352 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12353 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12354 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12355 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12356 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12357 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12358 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12359 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12360 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12363 LTCFLAGS='$LTCFLAGS'
12364 compiler='$compiler_DEFAULT'
12366 # Quote evaled strings.
12377 deplibs_check_method \
12386 lt_cv_sys_global_symbol_pipe \
12387 lt_cv_sys_global_symbol_to_cdecl \
12388 lt_cv_sys_global_symbol_to_c_name_address \
12391 lt_prog_compiler_no_builtin_flag \
12392 lt_prog_compiler_wl \
12393 lt_prog_compiler_pic \
12394 lt_prog_compiler_static \
12395 lt_cv_prog_compiler_c_o \
12398 export_dynamic_flag_spec \
12399 whole_archive_flag_spec \
12400 compiler_needs_object \
12402 allow_undefined_flag \
12403 no_undefined_flag \
12404 hardcode_libdir_flag_spec \
12405 hardcode_libdir_flag_spec_ld \
12406 hardcode_libdir_separator \
12411 variables_saved_for_relink \
12413 library_names_spec \
12418 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12419 *[\\\\\\\`\\"\\\$]*)
12420 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12423 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12428 # Double-quote double-evaled strings.
12429 for var in reload_cmds \
12430 old_postinstall_cmds \
12431 old_postuninstall_cmds \
12433 extract_expsyms_cmds \
12434 old_archive_from_new_cmds \
12435 old_archive_from_expsyms_cmds \
12437 archive_expsym_cmds \
12439 module_expsym_cmds \
12440 export_symbols_cmds \
12443 postuninstall_cmds \
12445 sys_lib_search_path_spec \
12446 sys_lib_dlsearch_path_spec; do
12447 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12448 *[\\\\\\\`\\"\\\$]*)
12449 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12452 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12457 # Fix-up fallback echo if it was mangled by the above quoting rules.
12459 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12463 ac_aux_dir='$ac_aux_dir'
12464 xsi_shell='$xsi_shell'
12465 lt_shell_append='$lt_shell_append'
12467 # See if we are running on zsh, and set the options which allow our
12468 # commands through without removal of \ escapes INIT.
12469 if test -n "\${ZSH_VERSION+set}" ; then
12470 setopt NO_GLOB_SUBST
12476 TIMESTAMP='$TIMESTAMP'
12482 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12483 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12485 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12486 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12487 LINGUAS="${LINGUAS-%UNSET%}"
12494 cat >>$CONFIG_STATUS <<\_ACEOF
12495 for ac_config_target
in $ac_config_targets
12497 case "$ac_config_target" in
12498 # Handling of arguments.
12499 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12500 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12501 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12502 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12503 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12504 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
12505 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12506 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12507 { (exit 1); exit 1; }; };;
12511 # If the user did not use the arguments to specify the items to instantiate,
12512 # then the envvar interface is used. Set only those that are not.
12513 # We use the long form for the default assignment because of an extremely
12514 # bizarre bug on SunOS 4.1.3.
12515 if $ac_need_defaults; then
12516 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12517 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12518 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12521 # Have a temporary directory for convenience. Make it in the build tree
12522 # simply because there is no reason to put it here, and in addition,
12523 # creating and moving files from /tmp can sometimes cause problems.
12524 # Create a temporary directory, and hook for its removal unless debugging.
12527 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12528 trap '{ (exit 1); exit 1; }' 1 2 13 15
12531 # Create a (secure) tmp directory for tmp files.
12534 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12535 test -n "$tmp" && test -d "$tmp"
12538 tmp
=.
/confstat$$
-$RANDOM
12539 (umask 077 && mkdir
$tmp)
12542 echo "$me: cannot create a temporary directory in ." >&2
12543 { (exit 1); exit 1; }
12548 cat >>$CONFIG_STATUS <<_ACEOF
12551 # CONFIG_FILES section.
12554 # No need to generate the scripts if there are no CONFIG_FILES.
12555 # This happens for instance when ./config.status config.h
12556 if test -n "\$CONFIG_FILES"; then
12557 # Protect against being on the right side of a sed subst in config.status.
12558 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12559 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12560 s,@SHELL@,$SHELL,;t t
12561 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12562 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12563 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12564 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12565 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12566 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12567 s,@exec_prefix@,$exec_prefix,;t t
12568 s,@prefix@,$prefix,;t t
12569 s,@program_transform_name@,$program_transform_name,;t t
12570 s,@bindir@,$bindir,;t t
12571 s,@sbindir@,$sbindir,;t t
12572 s,@libexecdir@,$libexecdir,;t t
12573 s,@datadir@,$datadir,;t t
12574 s,@sysconfdir@,$sysconfdir,;t t
12575 s,@sharedstatedir@,$sharedstatedir,;t t
12576 s,@localstatedir@,$localstatedir,;t t
12577 s,@libdir@,$libdir,;t t
12578 s,@includedir@,$includedir,;t t
12579 s,@oldincludedir@,$oldincludedir,;t t
12580 s,@infodir@,$infodir,;t t
12581 s,@mandir@,$mandir,;t t
12582 s,@build_alias@,$build_alias,;t t
12583 s,@host_alias@,$host_alias,;t t
12584 s,@target_alias@,$target_alias,;t t
12585 s,@DEFS@,$DEFS,;t t
12586 s,@ECHO_C@,$ECHO_C,;t t
12587 s,@ECHO_N@,$ECHO_N,;t t
12588 s,@ECHO_T@,$ECHO_T,;t t
12589 s,@LIBS@,$LIBS,;t t
12590 s,@build@,$build,;t t
12591 s,@build_cpu@,$build_cpu,;t t
12592 s,@build_vendor@,$build_vendor,;t t
12593 s,@build_os@,$build_os,;t t
12594 s,@host@,$host,;t t
12595 s,@host_cpu@,$host_cpu,;t t
12596 s,@host_vendor@,$host_vendor,;t t
12597 s,@host_os@,$host_os,;t t
12598 s,@target@,$target,;t t
12599 s,@target_cpu@,$target_cpu,;t t
12600 s,@target_vendor@,$target_vendor,;t t
12601 s,@target_os@,$target_os,;t t
12603 s,@CFLAGS@,$CFLAGS,;t t
12604 s,@LDFLAGS@,$LDFLAGS,;t t
12605 s,@CPPFLAGS@,$CPPFLAGS,;t t
12606 s,@ac_ct_CC@,$ac_ct_CC,;t t
12607 s,@EXEEXT@,$EXEEXT,;t t
12608 s,@OBJEXT@,$OBJEXT,;t t
12609 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12610 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12611 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12612 s,@CYGPATH_W@,$CYGPATH_W,;t t
12613 s,@PACKAGE@,$PACKAGE,;t t
12614 s,@VERSION@,$VERSION,;t t
12615 s,@ACLOCAL@,$ACLOCAL,;t t
12616 s,@AUTOCONF@,$AUTOCONF,;t t
12617 s,@AUTOMAKE@,$AUTOMAKE,;t t
12618 s,@AUTOHEADER@,$AUTOHEADER,;t t
12619 s,@MAKEINFO@,$MAKEINFO,;t t
12620 s,@install_sh@,$install_sh,;t t
12621 s,@STRIP@,$STRIP,;t t
12622 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12623 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12624 s,@mkdir_p@,$mkdir_p,;t t
12626 s,@SET_MAKE@,$SET_MAKE,;t t
12627 s,@am__leading_dot@,$am__leading_dot,;t t
12628 s,@AMTAR@,$AMTAR,;t t
12629 s,@am__tar@,$am__tar,;t t
12630 s,@am__untar@,$am__untar,;t t
12631 s,@DEPDIR@,$DEPDIR,;t t
12632 s,@am__include@,$am__include,;t t
12633 s,@am__quote@,$am__quote,;t t
12634 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12635 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12636 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12637 s,@CCDEPMODE@,$CCDEPMODE,;t t
12638 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12639 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12641 s,@ac_ct_AR@,$ac_ct_AR,;t t
12642 s,@RANLIB@,$RANLIB,;t t
12643 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12644 s,@LIBTOOL@,$LIBTOOL,;t t
12646 s,@EGREP@,$EGREP,;t t
12647 s,@FGREP@,$FGREP,;t t
12648 s,@GREP@,$GREP,;t t
12650 s,@DUMPBIN@,$DUMPBIN,;t t
12651 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
12653 s,@LN_S@,$LN_S,;t t
12654 s,@lt_ECHO@,$lt_ECHO,;t t
12656 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
12657 s,@NO_WERROR@,$NO_WERROR,;t t
12658 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12659 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12660 s,@MAINT@,$MAINT,;t t
12661 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
12662 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
12663 s,@host_noncanonical@,$host_noncanonical,;t t
12664 s,@target_noncanonical@,$target_noncanonical,;t t
12665 s,@bfdlibdir@,$bfdlibdir,;t t
12666 s,@bfdincludedir@,$bfdincludedir,;t t
12667 s,@USE_NLS@,$USE_NLS,;t t
12668 s,@LIBINTL@,$LIBINTL,;t t
12669 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
12670 s,@INCINTL@,$INCINTL,;t t
12671 s,@XGETTEXT@,$XGETTEXT,;t t
12672 s,@GMSGFMT@,$GMSGFMT,;t t
12673 s,@POSUB@,$POSUB,;t t
12674 s,@CATALOGS@,$CATALOGS,;t t
12675 s,@DATADIRNAME@,$DATADIRNAME,;t t
12676 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
12677 s,@GENCAT@,$GENCAT,;t t
12678 s,@CATOBJEXT@,$CATOBJEXT,;t t
12679 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12680 s,@MSGFMT@,$MSGFMT,;t t
12681 s,@MSGMERGE@,$MSGMERGE,;t t
12682 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12683 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
12684 s,@HDEFINES@,$HDEFINES,;t t
12685 s,@CGEN_MAINT_TRUE@,$CGEN_MAINT_TRUE,;t t
12686 s,@CGEN_MAINT_FALSE@,$CGEN_MAINT_FALSE,;t t
12687 s,@cgendir@,$cgendir,;t t
12688 s,@SHARED_LDFLAGS@,$SHARED_LDFLAGS,;t t
12689 s,@SHARED_LIBADD@,$SHARED_LIBADD,;t t
12690 s,@SHARED_DEPENDENCIES@,$SHARED_DEPENDENCIES,;t t
12691 s,@archdefs@,$archdefs,;t t
12692 s,@BFD_MACHINES@,$BFD_MACHINES,;t t
12693 s,@LIBOBJS@,$LIBOBJS,;t t
12694 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12699 cat >>$CONFIG_STATUS <<\_ACEOF
12700 # Split the substitutions into bite-sized pieces for seds with
12701 # small command number limits, like on Digital OSF/1 and HP-UX.
12702 ac_max_sed_lines
=48
12703 ac_sed_frag
=1 # Number of current file.
12704 ac_beg
=1 # First line for current file.
12705 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12708 while $ac_more_lines; do
12709 if test $ac_beg -gt 1; then
12710 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12712 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12714 if test ! -s $tmp/subs.frag
; then
12715 ac_more_lines
=false
12717 # The purpose of the label and of the branching condition is to
12718 # speed up the sed processing (if there are no `@' at all, there
12719 # is no need to browse any of the substitutions).
12720 # These are the two extra sed commands mentioned above.
12722 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12723 if test -z "$ac_sed_cmds"; then
12724 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12726 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12728 ac_sed_frag
=`expr $ac_sed_frag + 1`
12730 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12733 if test -z "$ac_sed_cmds"; then
12736 fi # test -n "$CONFIG_FILES"
12739 cat >>$CONFIG_STATUS <<\_ACEOF
12740 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12741 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12743 - |
*:- |
*:-:* ) # input from stdin
12745 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12746 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12747 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12748 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12749 * ) ac_file_in
=$ac_file.
in ;;
12752 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12753 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12754 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12755 X"$ac_file" : 'X\(//\)[^/]' \| \
12756 X"$ac_file" : 'X\(//\)$' \| \
12757 X"$ac_file" : 'X\(/\)' \| \
12758 . : '\(.\)' 2>/dev/null ||
12760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12761 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12762 /^X\(\/\/\)$/{ s//\1/; q; }
12763 /^X\(\/\).*/{ s//\1/; q; }
12765 { if $as_mkdir_p; then
12770 while test ! -d "$as_dir"; do
12771 as_dirs
="$as_dir $as_dirs"
12772 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12773 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12774 X"$as_dir" : 'X\(//\)[^/]' \| \
12775 X"$as_dir" : 'X\(//\)$' \| \
12776 X"$as_dir" : 'X\(/\)' \| \
12777 . : '\(.\)' 2>/dev/null ||
12779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12780 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12781 /^X\(\/\/\)$/{ s//\1/; q; }
12782 /^X\(\/\).*/{ s//\1/; q; }
12785 test ! -n "$as_dirs" || mkdir
$as_dirs
12786 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12787 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12788 { (exit 1); exit 1; }; }; }
12792 if test "$ac_dir" != .
; then
12793 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12794 # A "../" for each directory in $ac_dir_suffix.
12795 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12797 ac_dir_suffix
= ac_top_builddir
=
12801 .
) # No --srcdir option. We are building in place.
12803 if test -z "$ac_top_builddir"; then
12806 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12808 [\\/]* | ?
:[\\/]* ) # Absolute path.
12809 ac_srcdir
=$srcdir$ac_dir_suffix;
12810 ac_top_srcdir
=$srcdir ;;
12811 *) # Relative path.
12812 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12813 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12816 # Do not use `cd foo && pwd` to compute absolute paths, because
12817 # the directories may not exist.
12819 .
) ac_abs_builddir
="$ac_dir";;
12822 .
) ac_abs_builddir
=`pwd`;;
12823 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12824 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12827 case $ac_abs_builddir in
12828 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12830 case ${ac_top_builddir}.
in
12831 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12832 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12833 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12836 case $ac_abs_builddir in
12837 .
) ac_abs_srcdir
=$ac_srcdir;;
12840 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12841 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12842 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12845 case $ac_abs_builddir in
12846 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12848 case $ac_top_srcdir in
12849 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12850 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12851 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12857 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12858 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12861 if test x
"$ac_file" != x-
; then
12862 { echo "$as_me:$LINENO: creating $ac_file" >&5
12863 echo "$as_me: creating $ac_file" >&6;}
12866 # Let's still pretend it is `configure' which instantiates (i.e., don't
12867 # use $as_me), people would be surprised to read:
12868 # /* config.h. Generated by config.status. */
12869 if test x
"$ac_file" = x-
; then
12872 configure_input
="$ac_file. "
12874 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12875 sed 's,.*/,,'` by configure."
12877 # First look for the input files in the build tree, otherwise in the
12879 ac_file_inputs
=`IFS=:
12880 for f in $ac_file_in; do
12882 -) echo $tmp/stdin ;;
12884 # Absolute (can't be DOS-style, as IFS=:)
12885 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12886 echo "$as_me: error: cannot find input file: $f" >&2;}
12887 { (exit 1); exit 1; }; }
12890 if test -f "$f"; then
12893 elif test -f "$srcdir/$f"; then
12898 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12899 echo "$as_me: error: cannot find input file: $f" >&2;}
12900 { (exit 1); exit 1; }; }
12903 done` ||
{ (exit 1); exit 1; }
12905 cat >>$CONFIG_STATUS <<_ACEOF
12909 cat >>$CONFIG_STATUS <<\_ACEOF
12911 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12912 s
,@configure_input@
,$configure_input,;t t
12913 s
,@srcdir@
,$ac_srcdir,;t t
12914 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12915 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12916 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12917 s
,@builddir@
,$ac_builddir,;t t
12918 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12919 s
,@top_builddir@
,$ac_top_builddir,;t t
12920 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12921 s
,@INSTALL@
,$ac_INSTALL,;t t
12922 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12924 if test x"$ac_file" != x-; then
12925 mv $tmp/out $ac_file
12933 cat >>$CONFIG_STATUS <<\_ACEOF
12936 # CONFIG_HEADER section.
12939 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12940 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12942 # ac_d sets the value in "#define NAME VALUE" lines.
12943 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12944 ac_dB
='[ ].*$,\1#\2'
12947 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12948 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12949 ac_uB
='$,\1#\2define\3'
12953 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12954 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12956 - |
*:- |
*:-:* ) # input from stdin
12958 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12959 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12960 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12961 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12962 * ) ac_file_in
=$ac_file.
in ;;
12965 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12966 echo "$as_me: creating $ac_file" >&6;}
12968 # First look for the input files in the build tree, otherwise in the
12970 ac_file_inputs
=`IFS=:
12971 for f in $ac_file_in; do
12973 -) echo $tmp/stdin ;;
12975 # Absolute (can't be DOS-style, as IFS=:)
12976 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12977 echo "$as_me: error: cannot find input file: $f" >&2;}
12978 { (exit 1); exit 1; }; }
12979 # Do quote $f, to prevent DOS paths from being IFS'd.
12982 if test -f "$f"; then
12985 elif test -f "$srcdir/$f"; then
12990 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12991 echo "$as_me: error: cannot find input file: $f" >&2;}
12992 { (exit 1); exit 1; }; }
12995 done` ||
{ (exit 1); exit 1; }
12996 # Remove the trailing spaces.
12997 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13001 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13002 # `conftest.undefs', that substitutes the proper values into
13003 # config.h.in to produce config.h. The first handles `#define'
13004 # templates, and the second `#undef' templates.
13005 # And first: Protect against being on the right side of a sed subst in
13006 # config.status. Protect against being in an unquoted here document
13007 # in config.status.
13008 rm -f conftest.defines conftest.undefs
13009 # Using a here document instead of a string reduces the quoting nightmare.
13010 # Putting comments in sed scripts is not portable.
13012 # `end' is used to avoid that the second main sed command (meant for
13013 # 0-ary CPP macros) applies to n-ary macro definitions.
13014 # See the Autoconf documentation for `clear'.
13015 cat >confdef2sed.
sed <<\_ACEOF
13020 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13022 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13025 # If some macros were called several times there might be several times
13026 # the same #defines, which is useless. Nevertheless, we may not want to
13027 # sort them, since we want the *last* AC-DEFINE to be honored.
13028 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13029 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13030 rm -f confdef2sed.sed
13032 # This sed command replaces #undef with comments. This is necessary, for
13033 # example, in the case of _POSIX_SOURCE, which is predefined and required
13034 # on some systems where configure will not decide to define it.
13035 cat >>conftest.undefs <<\_ACEOF
13036 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13039 # Break up conftest.defines because some shells have a limit on the size
13040 # of here documents, and old seds have small limits too (100 cmds).
13041 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13042 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13043 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13044 echo ' :' >>$CONFIG_STATUS
13045 rm -f conftest.tail
13046 while grep . conftest.defines >/dev/null
13048 # Write a limited-size here document to $tmp/defines.sed.
13049 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13050 # Speed up: don't consider the non `#define' lines.
13051 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13052 # Work around the forget-to-reset-the-flag bug.
13053 echo 't clr' >>$CONFIG_STATUS
13054 echo ': clr' >>$CONFIG_STATUS
13055 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13057 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13059 mv $tmp/out $tmp/in
13061 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13062 rm -f conftest.defines
13063 mv conftest.
tail conftest.defines
13065 rm -f conftest.defines
13066 echo ' fi # grep' >>$CONFIG_STATUS
13067 echo >>$CONFIG_STATUS
13069 # Break up conftest.undefs because some shells have a limit on the size
13070 # of here documents, and old seds have small limits too (100 cmds).
13071 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13072 rm -f conftest.
tail
13073 while grep . conftest.undefs
>/dev
/null
13075 # Write a limited-size here document to $tmp/undefs.sed.
13076 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13077 # Speed up: don't consider the non
`#undef'
13078 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13079 # Work around the forget-to-reset-the-flag bug.
13080 echo 't clr' >>$CONFIG_STATUS
13081 echo ': clr' >>$CONFIG_STATUS
13082 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13084 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13086 mv $tmp/out $tmp/in
13088 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13089 rm -f conftest.undefs
13090 mv conftest.tail conftest.undefs
13092 rm -f conftest.undefs
13094 cat >>$CONFIG_STATUS <<\_ACEOF
13095 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13096 # use $as_me), people would be surprised to read:
13097 # /* config.h. Generated by config.status. */
13098 if test x
"$ac_file" = x-
; then
13099 echo "/* Generated by configure. */" >$tmp/config.h
13101 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13103 cat $tmp/in >>$tmp/config.h
13105 if test x
"$ac_file" != x-
; then
13106 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
13107 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13108 echo "$as_me: $ac_file is unchanged" >&6;}
13110 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13111 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13112 X"$ac_file" : 'X\(//\)[^/]' \| \
13113 X"$ac_file" : 'X\(//\)$' \| \
13114 X"$ac_file" : 'X\(/\)' \| \
13115 . : '\(.\)' 2>/dev/null ||
13117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13118 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13119 /^X\(\/\/\)$/{ s//\1/; q; }
13120 /^X\(\/\).*/{ s//\1/; q; }
13122 { if $as_mkdir_p; then
13127 while test ! -d "$as_dir"; do
13128 as_dirs
="$as_dir $as_dirs"
13129 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13130 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13131 X"$as_dir" : 'X\(//\)[^/]' \| \
13132 X"$as_dir" : 'X\(//\)$' \| \
13133 X"$as_dir" : 'X\(/\)' \| \
13134 . : '\(.\)' 2>/dev/null ||
13136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13137 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13138 /^X\(\/\/\)$/{ s//\1/; q; }
13139 /^X\(\/\).*/{ s//\1/; q; }
13142 test ! -n "$as_dirs" || mkdir
$as_dirs
13143 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13144 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13145 { (exit 1); exit 1; }; }; }
13148 mv $tmp/config.h
$ac_file
13152 rm -f $tmp/config.h
13154 # Compute $ac_file's index in $config_headers.
13156 for _am_header
in $config_headers :; do
13157 case $_am_header in
13158 $ac_file |
$ac_file:* )
13161 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13164 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13165 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13166 X$ac_file : 'X\(//\)[^/]' \| \
13167 X$ac_file : 'X\(//\)$' \| \
13168 X$ac_file : 'X\(/\)' \| \
13169 . : '\(.\)' 2>/dev/null ||
13171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13172 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13173 /^X\(\/\/\)$/{ s//\1/; q; }
13174 /^X\(\/\).*/{ s//\1/; q; }
13175 s/.*/./; q'`/stamp-h
$_am_stamp_count
13178 cat >>$CONFIG_STATUS <<\_ACEOF
13181 # CONFIG_COMMANDS section.
13183 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
13184 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
13185 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13186 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
13187 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13188 X"$ac_dest" : 'X\(//\)[^/]' \| \
13189 X"$ac_dest" : 'X\(//\)$' \| \
13190 X"$ac_dest" : 'X\(/\)' \| \
13191 . : '\(.\)' 2>/dev/null ||
13193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13194 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13195 /^X\(\/\/\)$/{ s//\1/; q; }
13196 /^X\(\/\).*/{ s//\1/; q; }
13198 { if $as_mkdir_p; then
13203 while test ! -d "$as_dir"; do
13204 as_dirs
="$as_dir $as_dirs"
13205 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13206 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13207 X"$as_dir" : 'X\(//\)[^/]' \| \
13208 X"$as_dir" : 'X\(//\)$' \| \
13209 X"$as_dir" : 'X\(/\)' \| \
13210 . : '\(.\)' 2>/dev/null ||
13212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13213 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13214 /^X\(\/\/\)$/{ s//\1/; q; }
13215 /^X\(\/\).*/{ s//\1/; q; }
13218 test ! -n "$as_dirs" || mkdir
$as_dirs
13219 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13220 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13221 { (exit 1); exit 1; }; }; }
13225 if test "$ac_dir" != .
; then
13226 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13227 # A "../" for each directory in $ac_dir_suffix.
13228 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13230 ac_dir_suffix
= ac_top_builddir
=
13234 .
) # No --srcdir option. We are building in place.
13236 if test -z "$ac_top_builddir"; then
13239 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13241 [\\/]* | ?
:[\\/]* ) # Absolute path.
13242 ac_srcdir
=$srcdir$ac_dir_suffix;
13243 ac_top_srcdir
=$srcdir ;;
13244 *) # Relative path.
13245 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13246 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13249 # Do not use `cd foo && pwd` to compute absolute paths, because
13250 # the directories may not exist.
13252 .
) ac_abs_builddir
="$ac_dir";;
13255 .
) ac_abs_builddir
=`pwd`;;
13256 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13257 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13260 case $ac_abs_builddir in
13261 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13263 case ${ac_top_builddir}.
in
13264 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13265 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13266 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13269 case $ac_abs_builddir in
13270 .
) ac_abs_srcdir
=$ac_srcdir;;
13273 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13274 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13275 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13278 case $ac_abs_builddir in
13279 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13281 case $ac_top_srcdir in
13282 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13283 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13284 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13289 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13290 echo "$as_me: executing $ac_dest commands" >&6;}
13292 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
13293 # Strip MF so we end up with the name of the file.
13294 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13295 # Check whether this is an Automake generated Makefile or not.
13296 # We used to match only the files named `Makefile.in', but
13297 # some people rename them; so instead we look at the file content.
13298 # Grep'ing the first line is not enough: some people post-process
13299 # each Makefile.in and add a new line on top of each file to say so.
13300 # So let's grep whole file.
13301 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
13302 dirpart
=`(dirname "$mf") 2>/dev/null ||
13303 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13304 X"$mf" : 'X\(//\)[^/]' \| \
13305 X"$mf" : 'X\(//\)$' \| \
13306 X"$mf" : 'X\(/\)' \| \
13307 . : '\(.\)' 2>/dev/null ||
13309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13310 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13311 /^X\(\/\/\)$/{ s//\1/; q; }
13312 /^X\(\/\).*/{ s//\1/; q; }
13317 # Extract the definition of DEPDIR, am__include, and am__quote
13318 # from the Makefile without running `make'.
13319 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13320 test -z "$DEPDIR" && continue
13321 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13322 test -z "am__include" && continue
13323 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13324 # When using ansi2knr, U may be empty or an underscore; expand it
13325 U
=`sed -n 's/^U = //p' < "$mf"`
13326 # Find all dependency output files, they are included files with
13327 # $(DEPDIR) in their names. We invoke sed twice because it is the
13328 # simplest approach to changing $(DEPDIR) to its actual value in the
13330 for file in `sed -n "
13331 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13332 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13333 # Make sure the directory exists.
13334 test -f "$dirpart/$file" && continue
13335 fdir
=`(dirname "$file") 2>/dev/null ||
13336 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13337 X"$file" : 'X\(//\)[^/]' \| \
13338 X"$file" : 'X\(//\)$' \| \
13339 X"$file" : 'X\(/\)' \| \
13340 . : '\(.\)' 2>/dev/null ||
13342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13343 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13344 /^X\(\/\/\)$/{ s//\1/; q; }
13345 /^X\(\/\).*/{ s//\1/; q; }
13347 { if $as_mkdir_p; then
13348 mkdir
-p $dirpart/$fdir
13350 as_dir
=$dirpart/$fdir
13352 while test ! -d "$as_dir"; do
13353 as_dirs
="$as_dir $as_dirs"
13354 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13355 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13356 X"$as_dir" : 'X\(//\)[^/]' \| \
13357 X"$as_dir" : 'X\(//\)$' \| \
13358 X"$as_dir" : 'X\(/\)' \| \
13359 . : '\(.\)' 2>/dev/null ||
13361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13362 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13363 /^X\(\/\/\)$/{ s//\1/; q; }
13364 /^X\(\/\).*/{ s//\1/; q; }
13367 test ! -n "$as_dirs" || mkdir
$as_dirs
13368 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13369 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13370 { (exit 1); exit 1; }; }; }
13372 # echo "creating $dirpart/$file"
13373 echo '# dummy' > "$dirpart/$file"
13379 # See if we are running on zsh, and set the options which allow our
13380 # commands through without removal of \ escapes.
13381 if test -n "${ZSH_VERSION+set}" ; then
13382 setopt NO_GLOB_SUBST
13385 cfgfile
="${ofile}T"
13386 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13389 cat <<_LT_EOF >> "$cfgfile"
13392 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13393 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
13394 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13395 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13397 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13398 # 2006, 2007 Free Software Foundation, Inc.
13400 # This file is part of GNU Libtool:
13401 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
13403 # This program is free software; you can redistribute it and/or modify
13404 # it under the terms of the GNU General Public License as published by
13405 # the Free Software Foundation; either version 2 of the License, or
13406 # (at your option) any later version.
13408 # This program is distributed in the hope that it will be useful, but
13409 # WITHOUT ANY WARRANTY; without even the implied warranty of
13410 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13411 # General Public License for more details.
13413 # You should have received a copy of the GNU General Public License
13414 # along with this program; if not, a copy can be downloaded from
13415 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
13416 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
13417 # MA 02110-1301, USA.
13419 # As a special exception to the GNU General Public License, if you
13420 # distribute this file as part of a program that contains a
13421 # configuration script generated by Autoconf, you may include it under
13422 # the same distribution terms that you use for the rest of that program.
13425 # The names of the tagged configurations supported by this script.
13428 # ### BEGIN LIBTOOL CONFIG
13430 # Whether or not to build shared libraries.
13431 build_libtool_libs=$enable_shared
13433 # Which release of libtool.m4 was used?
13434 macro_version=$macro_version
13435 macro_revision=$macro_revision
13437 # Whether or not to build static libraries.
13438 build_old_libs=$enable_static
13440 # What type of objects to build.
13443 # Whether or not to optimize for fast installation.
13444 fast_install=$enable_fast_install
13447 host_alias=$host_alias
13451 # The build system.
13452 build_alias=$build_alias
13456 # A sed program that does not truncate output.
13459 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13460 Xsed="\$SED -e 1s/^X//"
13462 # A grep program that handles long lines.
13468 # A literal string matcher.
13471 # A BSD- or MS-compatible name lister.
13474 # Whether we need soft or hard links.
13477 # What is the maximum length of a command?
13478 max_cmd_len=$max_cmd_len
13480 # Object file suffix (normally "o").
13483 # Executable file suffix (normally "").
13486 # whether the shell understands "unset".
13489 # turn spaces into newlines.
13492 # turn newlines into spaces.
13495 # How to create reloadable object files.
13496 reload_flag=$lt_reload_flag
13497 reload_cmds=$lt_reload_cmds
13499 # Method to check whether dependent libraries are shared objects.
13500 deplibs_check_method=$lt_deplibs_check_method
13502 # Command to use when deplibs_check_method == "file_magic".
13503 file_magic_cmd=$lt_file_magic_cmd
13507 AR_FLAGS=$lt_AR_FLAGS
13509 # A symbol stripping program.
13512 # Commands used to install an old-style archive.
13514 old_postinstall_cmds=$lt_old_postinstall_cmds
13515 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13520 # LTCC compiler flags.
13521 LTCFLAGS=$lt_CFLAGS
13523 # Take the output of nm and produce a listing of raw symbols and C names.
13524 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13526 # Transform the output of nm in a proper C declaration.
13527 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13529 # Transform the output of nm in a C name address pair.
13530 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13532 # The name of the directory that contains temporary libtool files.
13535 # Shell to use when invoking shell scripts.
13538 # An echo program that does not interpret backslashes.
13541 # Used to examine libraries when file_magic_cmd begins with "file".
13542 MAGIC_CMD=$MAGIC_CMD
13544 # Must we lock files when doing compilation?
13545 need_locks=$lt_need_locks
13547 # Old archive suffix (normally "a").
13550 # Shared library suffix (normally ".so").
13551 shrext_cmds=$lt_shrext_cmds
13553 # The commands to extract the exported symbol list from a shared archive.
13554 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13556 # Variables whose values should be saved in libtool wrapper scripts and
13557 # restored at link time.
13558 variables_saved_for_relink=$lt_variables_saved_for_relink
13560 # Do we need the "lib" prefix for modules?
13561 need_lib_prefix=$need_lib_prefix
13563 # Do we need a version for libraries?
13564 need_version=$need_version
13566 # Library versioning type.
13567 version_type=$version_type
13569 # Shared library runtime path variable.
13570 runpath_var=$runpath_var
13572 # Shared library path variable.
13573 shlibpath_var=$shlibpath_var
13575 # Is shlibpath searched before the hard-coded library search path?
13576 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13578 # Format of library name prefix.
13579 libname_spec=$lt_libname_spec
13581 # List of archive names. First name is the real one, the rest are links.
13582 # The last name is the one that the linker finds with -lNAME
13583 library_names_spec=$lt_library_names_spec
13585 # The coded name of the library, if different from the real name.
13586 soname_spec=$lt_soname_spec
13588 # Command to use after installation of a shared archive.
13589 postinstall_cmds=$lt_postinstall_cmds
13591 # Command to use after uninstallation of a shared archive.
13592 postuninstall_cmds=$lt_postuninstall_cmds
13594 # Commands used to finish a libtool library installation in a directory.
13595 finish_cmds=$lt_finish_cmds
13597 # As "finish_cmds", except a single script fragment to be evaled but
13599 finish_eval=$lt_finish_eval
13601 # Whether we should hardcode library paths into libraries.
13602 hardcode_into_libs=$hardcode_into_libs
13604 # Compile-time system search path for libraries.
13605 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13607 # Run-time system search path for libraries.
13608 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13610 # Whether dlopen is supported.
13611 dlopen_support=$enable_dlopen
13613 # Whether dlopen of programs is supported.
13614 dlopen_self=$enable_dlopen_self
13616 # Whether dlopen of statically linked programs is supported.
13617 dlopen_self_static=$enable_dlopen_self_static
13619 # Commands to strip libraries.
13620 old_striplib=$lt_old_striplib
13621 striplib=$lt_striplib
13624 # The linker used to build libraries.
13627 # Commands used to build an old-style archive.
13628 old_archive_cmds=$lt_old_archive_cmds
13630 # A language specific compiler.
13633 # Is the compiler the GNU compiler?
13636 # Compiler flag to turn off builtin functions.
13637 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13639 # How to pass a linker flag through the compiler.
13640 wl=$lt_lt_prog_compiler_wl
13642 # Additional compiler flags for building library objects.
13643 pic_flag=$lt_lt_prog_compiler_pic
13645 # Compiler flag to prevent dynamic linking.
13646 link_static_flag=$lt_lt_prog_compiler_static
13648 # Does compiler simultaneously support -c and -o options?
13649 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13651 # Whether or not to add -lc for building shared libraries.
13652 build_libtool_need_lc=$archive_cmds_need_lc
13654 # Whether or not to disallow shared libs when runtime libs are static.
13655 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13657 # Compiler flag to allow reflexive dlopens.
13658 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13660 # Compiler flag to generate shared objects directly from archives.
13661 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13663 # Whether the compiler copes with passing no objects directly.
13664 compiler_needs_object=$lt_compiler_needs_object
13666 # Create an old-style archive from a shared archive.
13667 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13669 # Create a temporary old-style archive to link instead of a shared archive.
13670 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13672 # Commands used to build a shared archive.
13673 archive_cmds=$lt_archive_cmds
13674 archive_expsym_cmds=$lt_archive_expsym_cmds
13676 # Commands used to build a loadable module if different from building
13677 # a shared archive.
13678 module_cmds=$lt_module_cmds
13679 module_expsym_cmds=$lt_module_expsym_cmds
13681 # Whether we are building with GNU ld or not.
13682 with_gnu_ld=$lt_with_gnu_ld
13684 # Flag that allows shared libraries with undefined symbols to be built.
13685 allow_undefined_flag=$lt_allow_undefined_flag
13687 # Flag that enforces no undefined symbols.
13688 no_undefined_flag=$lt_no_undefined_flag
13690 # Flag to hardcode \$libdir into a binary during linking.
13691 # This must work even if \$libdir does not exist
13692 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13694 # If ld is used when linking, flag to hardcode \$libdir into a binary
13695 # during linking. This must work even if \$libdir does not exist.
13696 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13698 # Whether we need a single "-rpath" flag with a separated argument.
13699 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13701 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13702 # DIR into the resulting binary.
13703 hardcode_direct=$hardcode_direct
13705 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13706 # DIR into the resulting binary and the resulting library dependency is
13707 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13708 # library is relocated.
13709 hardcode_direct_absolute=$hardcode_direct_absolute
13711 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13712 # into the resulting binary.
13713 hardcode_minus_L=$hardcode_minus_L
13715 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13716 # into the resulting binary.
13717 hardcode_shlibpath_var=$hardcode_shlibpath_var
13719 # Set to "yes" if building a shared library automatically hardcodes DIR
13720 # into the library and all subsequent libraries and executables linked
13722 hardcode_automatic=$hardcode_automatic
13724 # Set to yes if linker adds runtime paths of dependent libraries
13725 # to runtime path list.
13726 inherit_rpath=$inherit_rpath
13728 # Whether libtool must link a program against all its dependency libraries.
13729 link_all_deplibs=$link_all_deplibs
13731 # Fix the shell variable \$srcfile for the compiler.
13732 fix_srcfile_path=$lt_fix_srcfile_path
13734 # Set to "yes" if exported symbols are required.
13735 always_export_symbols=$always_export_symbols
13737 # The commands to list exported symbols.
13738 export_symbols_cmds=$lt_export_symbols_cmds
13740 # Symbols that should not be listed in the preloaded symbols.
13741 exclude_expsyms=$lt_exclude_expsyms
13743 # Symbols that must always be exported.
13744 include_expsyms=$lt_include_expsyms
13746 # Commands necessary for linking programs (against libraries) with templates.
13747 prelink_cmds=$lt_prelink_cmds
13749 # Specify filename containing input files.
13750 file_list_spec=$lt_file_list_spec
13752 # How to hardcode a shared library path into an executable.
13753 hardcode_action=$hardcode_action
13755 # ### END LIBTOOL CONFIG
13761 cat <<\_LT_EOF
>> "$cfgfile"
13762 # AIX sometimes has problems with the GCC collect2 program. For some
13763 # reason, if we set the COLLECT_NAMES environment variable, the problems
13764 # vanish in a puff of smoke.
13765 if test "X${COLLECT_NAMES+set}" != Xset
; then
13767 export COLLECT_NAMES
13774 ltmain
="$ac_aux_dir/ltmain.sh"
13777 # We use sed instead of cat because bash on DJGPP gets confused if
13778 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13779 # text mode, it properly converts lines to CR/LF. This bash problem
13780 # is reportedly fixed, but why not run on old versions too?
13781 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13782 ||
(rm -f "$cfgfile"; exit 1)
13786 cat << \_LT_EOF
>> "$cfgfile"
13787 # func_dirname file append nondir_replacement
13788 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13789 # otherwise set result to NONDIR_REPLACEMENT.
13793 */*) func_dirname_result
="${1%/*}${2}" ;;
13794 * ) func_dirname_result
="${3}" ;;
13798 # func_basename file
13801 func_basename_result
="${1##*/}"
13804 # func_stripname prefix suffix name
13805 # strip PREFIX and SUFFIX off of NAME.
13806 # PREFIX and SUFFIX must not contain globbing or regex special
13807 # characters, hashes, percent signs, but SUFFIX may contain a leading
13808 # dot (in which case that matches only a dot).
13811 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13812 # positional parameters, so assign one to ordinary parameter first.
13813 func_stripname_result
=${3}
13814 func_stripname_result
=${func_stripname_result#"${1}"}
13815 func_stripname_result
=${func_stripname_result%"${2}"}
13821 func_opt_split_opt
=${1%%=*}
13822 func_opt_split_arg
=${1#*=}
13829 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13830 *) func_lo2o_result
=${1} ;;
13835 *) # Bourne compatible functions.
13836 cat << \_LT_EOF
>> "$cfgfile"
13837 # func_dirname file append nondir_replacement
13838 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13839 # otherwise set result to NONDIR_REPLACEMENT.
13842 # Extract subdirectory from the argument.
13843 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13844 if test "X$func_dirname_result" = "X${1}"; then
13845 func_dirname_result
="${3}"
13847 func_dirname_result
="$func_dirname_result${2}"
13851 # func_basename file
13854 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
13857 # func_stripname prefix suffix name
13858 # strip PREFIX and SUFFIX off of NAME.
13859 # PREFIX and SUFFIX must not contain globbing or regex special
13860 # characters, hashes, percent signs, but SUFFIX may contain a leading
13861 # dot (in which case that matches only a dot).
13862 # func_strip_suffix prefix name
13866 .
*) func_stripname_result
=`$ECHO "X${3}" \
13867 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13868 *) func_stripname_result
=`$ECHO "X${3}" \
13869 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13874 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13875 my_sed_long_arg
='1s/^-[^=]*=//'
13880 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13881 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13887 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13892 case $lt_shell_append in
13894 cat << \_LT_EOF
>> "$cfgfile"
13896 # func_append var value
13897 # Append VALUE to the end of shell variable VAR.
13905 cat << \_LT_EOF
>> "$cfgfile"
13907 # func_append var value
13908 # Append VALUE to the end of shell variable VAR.
13918 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13919 ||
(rm -f "$cfgfile"; exit 1)
13921 mv -f "$cfgfile" "$ofile" ||
13922 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13927 for ac_file
in $CONFIG_FILES; do
13928 # Support "outfile[:infile[:infile...]]"
13930 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13932 # PO directories have a Makefile.in generated from Makefile.in.in.
13933 case "$ac_file" in */Makefile.
in)
13934 # Adjust a relative srcdir.
13935 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13936 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
13937 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13938 # In autoconf-2.13 it is called $ac_given_srcdir.
13939 # In autoconf-2.50 it is called $srcdir.
13940 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
13941 case "$ac_given_srcdir" in
13942 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
13943 /*) top_srcdir
="$ac_given_srcdir" ;;
13944 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13946 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13947 rm -f "$ac_dir/POTFILES"
13948 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
13949 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13950 POMAKEFILEDEPS
="POTFILES.in"
13951 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13952 # on $ac_dir but don't depend on user-specified configuration
13954 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13955 # The LINGUAS file contains the set of available languages.
13956 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13957 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
13959 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13960 # Hide the ALL_LINGUAS assigment from automake.
13961 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13962 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
13964 # The set of available languages was given in configure.in.
13965 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13967 case "$ac_given_srcdir" in
13969 *) srcdirpre
='$(srcdir)/' ;;
13975 for lang
in $ALL_LINGUAS; do
13976 POFILES
="$POFILES $srcdirpre$lang.po"
13977 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
13978 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
13979 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
13981 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13982 # environment variable.
13984 if test -n "$ALL_LINGUAS"; then
13985 for presentlang
in $ALL_LINGUAS; do
13987 if test "%UNSET%" != "$LINGUAS"; then
13988 desiredlanguages
="$LINGUAS"
13990 desiredlanguages
="$ALL_LINGUAS"
13992 for desiredlang
in $desiredlanguages; do
13993 # Use the presentlang catalog if desiredlang is
13994 # a. equal to presentlang, or
13995 # b. a variant of presentlang (because in this case,
13996 # presentlang can be used as a fallback for messages
13997 # which are not translated in the desiredlang catalog).
13998 case "$desiredlang" in
13999 "$presentlang"*) useit
=yes;;
14002 if test $useit = yes; then
14003 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14008 if test -n "$INST_LINGUAS"; then
14009 for lang
in $INST_LINGUAS; do
14010 CATALOGS
="$CATALOGS $lang.gmo"
14013 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14014 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"
14015 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14016 if test -f "$f"; then
14018 *.orig |
*.bak |
*~
) ;;
14019 *) cat "$f" >> "$ac_dir/Makefile" ;;
14031 cat >>$CONFIG_STATUS <<\_ACEOF
14033 { (exit 0); exit 0; }
14035 chmod +x
$CONFIG_STATUS
14036 ac_clean_files
=$ac_clean_files_save
14039 # configure is writing to config.log, and then calls config.status.
14040 # config.status does its own redirection, appending to config.log.
14041 # Unfortunately, on DOS this fails, as config.log is still kept open
14042 # by configure, so config.status won't be able to write to it; its
14043 # output is simply discarded. So we exec the FD to /dev/null,
14044 # effectively closing config.log, so it can be properly (re)opened and
14045 # appended to by config.status. When coming back to configure, we
14046 # need to make the FD available again.
14047 if test "$no_create" != yes; then
14049 ac_config_status_args
=
14050 test "$silent" = yes &&
14051 ac_config_status_args
="$ac_config_status_args --quiet"
14053 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14055 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14056 # would make configure fail if this is the last instruction.
14057 $ac_cs_success ||
{ (exit 1); exit 1; }