2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
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.
417 PACKAGE_NAME
='package-unused'
418 PACKAGE_TARNAME
='libobjc'
419 PACKAGE_VERSION
='version-unused'
420 PACKAGE_STRING
='package-unused version-unused'
423 ac_unique_file
="objc/objc.h"
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 build_libsubdir build_subdir host_subdir target_subdir VERSION OBJC_BOEHM_GC OBJC_BOEHM_GC_INCLUDES multi_basedir host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical glibcpp_srcdir toolexecdir toolexeclibdir includedirname libsuffix CC ac_ct_CC EXEEXT OBJEXT extra_ldflags_libobjc CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT DLLTOOL ac_ct_DLLTOOL OBJDUMP ac_ct_OBJDUMP LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S STRIP ac_ct_STRIP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CPPFLAGS SET_MAKE LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version
=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name
=s
,x
,x
,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir
='${exec_prefix}/bin'
491 sbindir
='${exec_prefix}/sbin'
492 libexecdir
='${exec_prefix}/libexec'
493 datadir
='${prefix}/share'
494 sysconfdir
='${prefix}/etc'
495 sharedstatedir
='${prefix}/com'
496 localstatedir
='${prefix}/var'
497 libdir
='${exec_prefix}/lib'
498 includedir
='${prefix}/include'
499 oldincludedir
='/usr/include'
500 infodir
='${prefix}/info'
501 mandir
='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
521 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
524 -build |
--build |
--buil |
--bui |
--bu)
525 ac_prev
=build_alias
;;
526 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
527 build_alias
=$ac_optarg ;;
529 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
530 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
531 ac_prev
=cache_file
;;
532 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
533 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
534 cache_file
=$ac_optarg ;;
537 cache_file
=config.cache
;;
539 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
541 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
543 datadir
=$ac_optarg ;;
545 -disable-* |
--disable-*)
546 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* |
--enable-*)
555 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
568 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
569 |
--exec |
--exe |
--ex)
570 ac_prev
=exec_prefix
;;
571 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
572 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
573 |
--exec=* |
--exe=* |
--ex=*)
574 exec_prefix
=$ac_optarg ;;
576 -gas |
--gas |
--ga |
--g)
577 # Obsolete; use --with-gas.
580 -help |
--help |
--hel |
--he |
-h)
582 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
583 ac_init_help
=recursive
;;
584 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
585 ac_init_help
=short
;;
587 -host |
--host |
--hos |
--ho)
588 ac_prev
=host_alias
;;
589 -host=* |
--host=* |
--hos=* |
--ho=*)
590 host_alias
=$ac_optarg ;;
592 -includedir |
--includedir |
--includedi |
--included |
--include \
593 |
--includ |
--inclu |
--incl |
--inc)
594 ac_prev
=includedir
;;
595 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
596 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
597 includedir
=$ac_optarg ;;
599 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
601 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
602 infodir
=$ac_optarg ;;
604 -libdir |
--libdir |
--libdi |
--libd)
606 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
609 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
610 |
--libexe |
--libex |
--libe)
611 ac_prev
=libexecdir
;;
612 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
613 |
--libexe=* |
--libex=* |
--libe=*)
614 libexecdir
=$ac_optarg ;;
616 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
617 |
--localstate |
--localstat |
--localsta |
--localst \
618 |
--locals |
--local |
--loca |
--loc |
--lo)
619 ac_prev
=localstatedir
;;
620 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
621 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
622 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
623 localstatedir
=$ac_optarg ;;
625 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
627 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
631 # Obsolete; use --without-fp.
634 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
635 |
--no-cr |
--no-c |
-n)
638 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
639 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
642 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
643 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
644 |
--oldin |
--oldi |
--old |
--ol |
--o)
645 ac_prev
=oldincludedir
;;
646 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
647 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
648 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
649 oldincludedir
=$ac_optarg ;;
651 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
653 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
656 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
657 |
--program-pre |
--program-pr |
--program-p)
658 ac_prev
=program_prefix
;;
659 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
660 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
661 program_prefix
=$ac_optarg ;;
663 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
664 |
--program-suf |
--program-su |
--program-s)
665 ac_prev
=program_suffix
;;
666 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
667 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
668 program_suffix
=$ac_optarg ;;
670 -program-transform-name |
--program-transform-name \
671 |
--program-transform-nam |
--program-transform-na \
672 |
--program-transform-n |
--program-transform- \
673 |
--program-transform |
--program-transfor \
674 |
--program-transfo |
--program-transf \
675 |
--program-trans |
--program-tran \
676 |
--progr-tra |
--program-tr |
--program-t)
677 ac_prev
=program_transform_name
;;
678 -program-transform-name=* |
--program-transform-name=* \
679 |
--program-transform-nam=* |
--program-transform-na=* \
680 |
--program-transform-n=* |
--program-transform-=* \
681 |
--program-transform=* |
--program-transfor=* \
682 |
--program-transfo=* |
--program-transf=* \
683 |
--program-trans=* |
--program-tran=* \
684 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
685 program_transform_name
=$ac_optarg ;;
687 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
688 |
-silent |
--silent |
--silen |
--sile |
--sil)
691 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
693 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
695 sbindir
=$ac_optarg ;;
697 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
698 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
699 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
701 ac_prev
=sharedstatedir
;;
702 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
703 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
704 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
706 sharedstatedir
=$ac_optarg ;;
708 -site |
--site |
--sit)
710 -site=* |
--site=* |
--sit=*)
713 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
715 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
718 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
719 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
720 ac_prev
=sysconfdir
;;
721 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
722 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
723 sysconfdir
=$ac_optarg ;;
725 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
726 ac_prev
=target_alias
;;
727 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
728 target_alias
=$ac_optarg ;;
730 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
733 -version |
--version |
--versio |
--versi |
--vers |
-V)
737 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* |
--without-*)
750 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package
=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
763 |
--x-incl |
--x-inc |
--x-in |
--x-i)
764 ac_prev
=x_includes
;;
765 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
766 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
767 x_includes
=$ac_optarg ;;
769 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
770 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
771 ac_prev
=x_libraries
;;
772 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
773 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
774 x_libraries
=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var
in exec_prefix prefix
811 eval ac_val
=$
`echo $ac_var`
813 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val
=$
`echo $ac_var`
825 [\\/$
]* | ?
:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x
; then
840 if test "x$build_alias" = x
; then
841 cross_compiling
=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
852 test "$silent" = yes && exec 6>/dev
/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted
=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir
=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted
=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set
=${build_alias+set}
892 ac_env_build_alias_value
=$build_alias
893 ac_cv_env_build_alias_set
=${build_alias+set}
894 ac_cv_env_build_alias_value
=$build_alias
895 ac_env_host_alias_set
=${host_alias+set}
896 ac_env_host_alias_value
=$host_alias
897 ac_cv_env_host_alias_set
=${host_alias+set}
898 ac_cv_env_host_alias_value
=$host_alias
899 ac_env_target_alias_set
=${target_alias+set}
900 ac_env_target_alias_value
=$target_alias
901 ac_cv_env_target_alias_set
=${target_alias+set}
902 ac_cv_env_target_alias_value
=$target_alias
903 ac_env_CPP_set
=${CPP+set}
904 ac_env_CPP_value
=$CPP
905 ac_cv_env_CPP_set
=${CPP+set}
906 ac_cv_env_CPP_value
=$CPP
907 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value
=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
913 # Report the --help message.
915 if test "$ac_init_help" = "long"; then
916 # Omit some internal or obsolete options to make the list less imposing.
917 # This message is too long to be a string in the A/UX 3.1 sh.
919 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
921 Usage: $0 [OPTION]... [VAR=VALUE]...
923 To assign environment variables (e.g., CC, CFLAGS...), specify them as
924 VAR=VALUE. See below for descriptions of some of the useful variables.
926 Defaults for the options are specified in brackets.
929 -h, --help display this help and exit
930 --help=short display options specific to this package
931 --help=recursive display the short help of all the included packages
932 -V, --version display version information and exit
933 -q, --quiet, --silent do not print \`checking...' messages
934 --cache-file=FILE cache test results in FILE [disabled]
935 -C, --config-cache alias for \`--cache-file=config.cache'
936 -n, --no-create do not create output files
937 --srcdir=DIR find the sources in DIR [configure dir or \`..']
942 Installation directories:
943 --prefix=PREFIX install architecture-independent files in PREFIX
945 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
948 By default, \`make install' will install all the files in
949 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
950 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
951 for instance \`--prefix=\$HOME'.
953 For better control, use the options below.
955 Fine tuning of the installation directories:
956 --bindir=DIR user executables [EPREFIX/bin]
957 --sbindir=DIR system admin executables [EPREFIX/sbin]
958 --libexecdir=DIR program executables [EPREFIX/libexec]
959 --datadir=DIR read-only architecture-independent data [PREFIX/share]
960 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
961 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
962 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
963 --libdir=DIR object code libraries [EPREFIX/lib]
964 --includedir=DIR C header files [PREFIX/include]
965 --oldincludedir=DIR C header files for non-gcc [/usr/include]
966 --infodir=DIR info documentation [PREFIX/info]
967 --mandir=DIR man documentation [PREFIX/man]
973 --build=BUILD configure
for building on BUILD
[guessed
]
974 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
975 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
979 if test -n "$ac_init_help"; then
980 case $ac_init_help in
981 short | recursive
) echo "Configuration of package-unused version-unused:";;
986 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
987 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
988 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
989 --enable-objc-gc enable the use of Boehm
's garbage collector with
990 the GNU Objective-C runtime.
991 --enable-multilib build many library versions (default)
992 --enable-maintainer-mode enable make rules and dependencies not useful
993 (and sometimes confusing) to the casual installer
994 --enable-shared[=PKGS]
995 build shared libraries [default=yes]
996 --enable-static[=PKGS]
997 build static libraries [default=yes]
998 --enable-fast-install[=PKGS]
999 optimize for fast installation [default=yes]
1000 --disable-libtool-lock avoid locking (might break parallel builds)
1001 --enable-sjlj-exceptions
1002 force use of builtin_setjmp for exceptions
1005 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1006 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1007 --with-build-libsubdir=DIR Directory where to find libraries for build system
1008 --with-target-subdir=SUBDIR
1009 configuring in a subdirectory
1010 --with-cross-host=HOST configuring with a cross compiler
1011 --with-pic try to use only PIC/non-PIC objects [default=use
1013 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1015 Some influential environment variables:
1016 CC C compiler command
1017 CFLAGS C compiler flags
1018 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1019 nonstandard directory <lib dir>
1020 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1021 headers in a nonstandard directory <include dir>
1024 Use these variables to override the choices made by `configure' or to
help
1025 it to
find libraries and programs with nonstandard names
/locations.
1030 if test "$ac_init_help" = "recursive"; then
1031 # If there are subdirs, report their specific --help.
1033 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1034 test -d $ac_dir ||
continue
1037 if test "$ac_dir" != .
; then
1038 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1039 # A "../" for each directory in $ac_dir_suffix.
1040 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1042 ac_dir_suffix
= ac_top_builddir
=
1046 .
) # No --srcdir option. We are building in place.
1048 if test -z "$ac_top_builddir"; then
1051 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1053 [\\/]* | ?
:[\\/]* ) # Absolute path.
1054 ac_srcdir
=$srcdir$ac_dir_suffix;
1055 ac_top_srcdir
=$srcdir ;;
1057 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1058 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1061 # Do not use `cd foo && pwd` to compute absolute paths, because
1062 # the directories may not exist.
1064 .
) ac_abs_builddir
="$ac_dir";;
1067 .
) ac_abs_builddir
=`pwd`;;
1068 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1069 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1072 case $ac_abs_builddir in
1073 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1075 case ${ac_top_builddir}.
in
1076 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1077 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1078 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1081 case $ac_abs_builddir in
1082 .
) ac_abs_srcdir
=$ac_srcdir;;
1085 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1086 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1087 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1090 case $ac_abs_builddir in
1091 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1093 case $ac_top_srcdir in
1094 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1095 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1096 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1101 # Check for guested configure; otherwise get Cygnus style configure.
1102 if test -f $ac_srcdir/configure.gnu
; then
1104 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1105 elif test -f $ac_srcdir/configure
; then
1107 $SHELL $ac_srcdir/configure
--help=recursive
1108 elif test -f $ac_srcdir/configure.ac ||
1109 test -f $ac_srcdir/configure.
in; then
1111 $ac_configure --help
1113 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1119 test -n "$ac_init_help" && exit 0
1120 if $ac_init_version; then
1122 package-unused configure version-unused
1123 generated by GNU Autoconf
2.59
1125 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1126 This configure
script is free software
; the Free Software Foundation
1127 gives unlimited permission to copy
, distribute and modify it.
1133 This file contains any messages produced by compilers while
1134 running configure, to aid debugging if configure makes a mistake.
1136 It was created by package-unused $as_me version-unused, which was
1137 generated by GNU Autoconf 2.59. Invocation command line was
1148 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1149 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1150 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1151 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1152 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1154 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1155 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1157 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1158 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1159 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1160 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1161 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1162 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1163 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1171 test -z "$as_dir" && as_dir
=.
1172 echo "PATH: $as_dir"
1187 # Keep a trace of the command line.
1188 # Strip out --no-create and --no-recursion so they do not pile up.
1189 # Strip out --silent because we don't want to record it for future runs.
1190 # Also quote any args containing shell meta-characters.
1191 # Make two passes to allow for proper duplicate-argument suppression.
1196 ac_must_keep_next
=false
1202 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1203 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1204 |
-silent |
--silent |
--silen |
--sile |
--sil)
1206 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1207 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1210 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1212 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1213 if test $ac_must_keep_next = true
; then
1214 ac_must_keep_next
=false
# Got value, back to normal.
1217 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1218 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1219 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1220 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1221 case "$ac_configure_args0 " in
1222 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1225 -* ) ac_must_keep_next
=true
;;
1228 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1229 # Get rid of the leading space.
1235 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1236 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1238 # When interrupted or exit'd, cleanup temporary files, and complete
1239 # config.log. We remove comments because anyway the quotes in there
1240 # would cause problems or look ugly.
1241 # WARNING: Be sure not to use single quotes in there, as some shells,
1242 # such as our DU 5.0 friend, will then `close' the trap.
1243 trap 'exit_status=$?
1244 # Save into config.log some information that might help in debugging.
1249 ## ---------------- ##
1250 ## Cache variables. ##
1251 ## ---------------- ##
1254 # The following way of writing the cache mishandles newlines in values,
1257 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1260 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1265 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1272 ## ----------------- ##
1273 ## Output variables. ##
1274 ## ----------------- ##
1277 for ac_var in $ac_subst_vars
1279 eval ac_val=$`echo $ac_var`
1280 echo "$ac_var='"'"'$ac_val'"'"'"
1284 if test -n "$ac_subst_files"; then
1291 for ac_var in $ac_subst_files
1293 eval ac_val=$`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1299 if test -s confdefs.h; then
1306 sed "/^$/d" confdefs.h | sort
1309 test "$ac_signal" != 0 &&
1310 echo "$as_me: caught signal $ac_signal"
1311 echo "$as_me: exit $exit_status"
1313 rm -f core *.core &&
1314 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1317 for ac_signal
in 1 2 13 15; do
1318 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1322 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1323 rm -rf conftest
* confdefs.h
1324 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1327 # Predefined preprocessor variables.
1329 cat >>confdefs.h
<<_ACEOF
1330 #define PACKAGE_NAME "$PACKAGE_NAME"
1334 cat >>confdefs.h
<<_ACEOF
1335 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1339 cat >>confdefs.h
<<_ACEOF
1340 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1344 cat >>confdefs.h
<<_ACEOF
1345 #define PACKAGE_STRING "$PACKAGE_STRING"
1349 cat >>confdefs.h
<<_ACEOF
1350 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1354 # Let the site file select an alternate cache file if it wants to.
1355 # Prefer explicitly selected file to automatically selected ones.
1356 if test -z "$CONFIG_SITE"; then
1357 if test "x$prefix" != xNONE
; then
1358 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1360 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1363 for ac_site_file
in $CONFIG_SITE; do
1364 if test -r "$ac_site_file"; then
1365 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1366 echo "$as_me: loading site script $ac_site_file" >&6;}
1367 sed 's/^/| /' "$ac_site_file" >&5
1372 if test -r "$cache_file"; then
1373 # Some versions of bash will fail to source /dev/null (special
1374 # files actually), so we avoid doing that.
1375 if test -f "$cache_file"; then
1376 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1377 echo "$as_me: loading cache $cache_file" >&6;}
1379 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1380 *) . .
/$cache_file;;
1384 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1385 echo "$as_me: creating cache $cache_file" >&6;}
1389 # Check that the precious variables saved in the cache have kept the same
1391 ac_cache_corrupted
=false
1392 for ac_var
in `(set) 2>&1 |
1393 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1394 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1395 eval ac_new_set
=\
$ac_env_${ac_var}_set
1396 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1397 eval ac_new_val
="\$ac_env_${ac_var}_value"
1398 case $ac_old_set,$ac_new_set in
1400 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1401 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1402 ac_cache_corrupted
=: ;;
1404 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1405 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1406 ac_cache_corrupted
=: ;;
1409 if test "x$ac_old_val" != "x$ac_new_val"; then
1410 # differences in whitespace do not lead to failure.
1411 ac_old_val_w
=`echo x $ac_old_val`
1412 ac_new_val_w
=`echo x $ac_new_val`
1413 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1414 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1415 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1416 ac_cache_corrupted
=:
1418 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1419 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1420 eval $ac_var=\
$ac_old_val
1422 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1423 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1424 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1425 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1428 # Pass precious variables to config.status.
1429 if test "$ac_new_set" = set; then
1431 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1432 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1433 *) ac_arg
=$ac_var=$ac_new_val ;;
1435 case " $ac_configure_args " in
1436 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1437 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1441 if $ac_cache_corrupted; then
1442 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1443 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1444 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1445 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1446 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1447 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1448 { (exit 1); exit 1; }; }
1452 ac_cpp
='$CPP $CPPFLAGS'
1453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1488 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1489 if test -f $ac_dir/install-sh
; then
1491 ac_install_sh
="$ac_aux_dir/install-sh -c"
1493 elif test -f $ac_dir/install.sh
; then
1495 ac_install_sh
="$ac_aux_dir/install.sh -c"
1497 elif test -f $ac_dir/shtool
; then
1499 ac_install_sh
="$ac_aux_dir/shtool install -c"
1503 if test -z "$ac_aux_dir"; then
1504 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1505 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1506 { (exit 1); exit 1; }; }
1508 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1509 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1510 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 # Make sure we can run config.sub.
1513 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1514 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1515 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1516 { (exit 1); exit 1; }; }
1518 echo "$as_me:$LINENO: checking build system type" >&5
1519 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1520 if test "${ac_cv_build+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 ac_cv_build_alias
=$build_alias
1524 test -z "$ac_cv_build_alias" &&
1525 ac_cv_build_alias
=`$ac_config_guess`
1526 test -z "$ac_cv_build_alias" &&
1527 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1528 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1529 { (exit 1); exit 1; }; }
1530 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1531 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1532 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1533 { (exit 1); exit 1; }; }
1536 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1537 echo "${ECHO_T}$ac_cv_build" >&6
1539 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1540 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1541 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1544 case ${build_alias} in
1545 "") build_noncanonical
=${build} ;;
1546 *) build_noncanonical
=${build_alias} ;;
1549 case ${host_alias} in
1550 "") host_noncanonical
=${build_noncanonical} ;;
1551 *) host_noncanonical
=${host_alias} ;;
1554 case ${target_alias} in
1555 "") target_noncanonical
=${host_noncanonical} ;;
1556 *) target_noncanonical
=${target_alias} ;;
1560 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1561 # have matching libraries, they should use host libraries: Makefile.tpl
1562 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1563 # However, they still use the build modules, because the corresponding
1564 # host modules (e.g. bison) are only built for the host when bootstrap
1566 # - build_subdir is where we find build modules, and never changes.
1567 # - build_libsubdir is where we find build libraries, and can be overridden.
1569 # Prefix 'build-' so this never conflicts with target_subdir.
1570 build_subdir
="build-${build_noncanonical}"
1572 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1573 if test "${with_build_libsubdir+set}" = set; then
1574 withval
="$with_build_libsubdir"
1575 build_libsubdir
="$withval"
1577 build_libsubdir
="$build_subdir"
1579 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1580 if ( test $srcdir = .
&& test -d gcc
) \
1581 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1582 host_subdir
="host-${host_noncanonical}"
1587 target_subdir
=${target_noncanonical}
1590 # We need the following definitions because AC_PROG_LIBTOOL relies on them
1592 # Version is pulled out to make it a bit easier to change using sed.
1596 # This works around the fact that libtool configuration may change LD
1597 # for this particular configuration, but some shells, instead of
1598 # keeping the changes in LD private, export them just because LD is
1600 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1606 # We use these options to decide which functions to include.
1608 # Check whether --with-target-subdir or --without-target-subdir was given.
1609 if test "${with_target_subdir+set}" = set; then
1610 withval
="$with_target_subdir"
1614 # Check whether --with-cross-host or --without-cross-host was given.
1615 if test "${with_cross_host+set}" = set; then
1616 withval
="$with_cross_host"
1620 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1621 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1622 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1623 if test "${enable_version_specific_runtime_libs+set}" = set; then
1624 enableval
="$enable_version_specific_runtime_libs"
1625 case "$enableval" in
1626 yes) version_specific_libs
=yes ;;
1627 no
) version_specific_libs
=no
;;
1628 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1629 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1630 { (exit 1); exit 1; }; };;
1633 version_specific_libs
=no
1635 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1636 echo "${ECHO_T}$version_specific_libs" >&6
1638 # Check whether --enable-objc-gc or --disable-objc-gc was given.
1639 if test "${enable_objc_gc+set}" = set; then
1640 enableval
="$enable_objc_gc"
1641 case $enable_objc_gc in
1644 OBJC_BOEHM_GC_INCLUDES
=''
1647 OBJC_BOEHM_GC
=libobjc_gc.la
1648 OBJC_BOEHM_GC_INCLUDES
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
1652 OBJC_BOEHM_GC
=''; OBJC_BOEHM_GC_INCLUDES
=''
1661 # Find the rest of the source tree framework.
1662 # Default to --enable-multilib
1663 # Check whether --enable-multilib or --disable-multilib was given.
1664 if test "${enable_multilib+set}" = set; then
1665 enableval
="$enable_multilib"
1666 case "$enableval" in
1667 yes) multilib
=yes ;;
1669 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1670 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1671 { (exit 1); exit 1; }; } ;;
1677 # We may get other options which we leave undocumented:
1678 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1679 # See config-ml.in if you want the gory details.
1681 if test "$srcdir" = "."; then
1682 if test "$with_target_subdir" != "."; then
1683 multi_basedir
="$srcdir/$with_multisrctop../.."
1685 multi_basedir
="$srcdir/$with_multisrctop.."
1688 multi_basedir
="$srcdir/.."
1692 # Even if the default multilib is not a cross compilation,
1693 # it may be that some of the other multilibs are.
1694 if test $cross_compiling = no
&& test $multilib = yes \
1695 && test "x${with_multisubdir}" != x
; then
1696 cross_compiling
=maybe
1699 ac_config_commands
="$ac_config_commands default-1"
1702 echo "$as_me:$LINENO: checking host system type" >&5
1703 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1704 if test "${ac_cv_host+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 ac_cv_host_alias
=$host_alias
1708 test -z "$ac_cv_host_alias" &&
1709 ac_cv_host_alias
=$ac_cv_build_alias
1710 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1711 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1712 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1713 { (exit 1); exit 1; }; }
1716 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1717 echo "${ECHO_T}$ac_cv_host" >&6
1719 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1720 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1721 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1724 echo "$as_me:$LINENO: checking target system type" >&5
1725 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1726 if test "${ac_cv_target+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 ac_cv_target_alias
=$target_alias
1730 test "x$ac_cv_target_alias" = "x" &&
1731 ac_cv_target_alias
=$ac_cv_host_alias
1732 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1733 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1734 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1735 { (exit 1); exit 1; }; }
1738 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1739 echo "${ECHO_T}$ac_cv_target" >&6
1740 target
=$ac_cv_target
1741 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1742 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1743 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1746 # The aliases save the names the user supplied, while $host etc.
1747 # will get canonicalized.
1748 test -n "$target_alias" &&
1749 test "$program_prefix$program_suffix$program_transform_name" = \
1751 program_prefix
=${target_alias}-
1755 # Export source directory.
1756 # These need to be absolute paths, yet at the same time need to
1757 # canonicalize only relative paths, because then amd will not unmount
1758 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1760 \\/$
* | ?
:\\/*) glibcpp_srcdir
=${srcdir} ;;
1761 *) glibcpp_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1765 # Calculate toolexeclibdir
1766 # Also toolexecdir, though it's only used in toolexeclibdir
1767 case ${version_specific_libs} in
1769 # Need the gcc compiler version to know where to install libraries
1770 # and header files if --enable-version-specific-runtime-libs option
1772 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
1773 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1776 if test -n "$with_cross_host" &&
1777 test x
"$with_cross_host" != x
"no"; then
1778 # Install a library built with a cross compiler in tooldir, not libdir.
1779 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
1780 toolexeclibdir
='$(toolexecdir)/lib'
1782 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
1783 toolexeclibdir
='$(libdir)'
1785 multi_os_directory
=`$CC -print-multi-os-directory`
1786 case $multi_os_directory in
1787 .
) ;; # Avoid trailing /.
1788 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
1795 # Figure out if we want to name the include directory and the
1796 # library name changes differently.
1797 includedirname
=include
1801 # Darwin is the only target so far that needs a different include directory.
1802 includedirname
=include-gnu-runtime
1809 ac_config_headers
="$ac_config_headers config.h"
1818 # We must force CC to /not/ be a precious variable; otherwise
1819 # the wrong, non-multilib-adjusted value will be used in multilibs.
1820 # As a side effect, we have to subst CFLAGS ourselves.
1824 ac_cpp
='$CPP $CPPFLAGS'
1825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1828 if test -n "$ac_tool_prefix"; then
1829 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1830 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1831 echo "$as_me:$LINENO: checking for $ac_word" >&5
1832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1833 if test "${ac_cv_prog_CC+set}" = set; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1836 if test -n "$CC"; then
1837 ac_cv_prog_CC
="$CC" # Let the user override the test.
1839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1843 test -z "$as_dir" && as_dir
=.
1844 for ac_exec_ext
in '' $ac_executable_extensions; do
1845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1846 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1856 if test -n "$CC"; then
1857 echo "$as_me:$LINENO: result: $CC" >&5
1858 echo "${ECHO_T}$CC" >&6
1860 echo "$as_me:$LINENO: result: no" >&5
1861 echo "${ECHO_T}no" >&6
1865 if test -z "$ac_cv_prog_CC"; then
1867 # Extract the first word of "gcc", so it can be a program name with args.
1868 set dummy gcc
; ac_word
=$2
1869 echo "$as_me:$LINENO: checking for $ac_word" >&5
1870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 if test -n "$ac_ct_CC"; then
1875 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1881 test -z "$as_dir" && as_dir
=.
1882 for ac_exec_ext
in '' $ac_executable_extensions; do
1883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1884 ac_cv_prog_ac_ct_CC
="gcc"
1885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1893 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1894 if test -n "$ac_ct_CC"; then
1895 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1896 echo "${ECHO_T}$ac_ct_CC" >&6
1898 echo "$as_me:$LINENO: result: no" >&5
1899 echo "${ECHO_T}no" >&6
1907 if test -z "$CC"; then
1908 if test -n "$ac_tool_prefix"; then
1909 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1910 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1911 echo "$as_me:$LINENO: checking for $ac_word" >&5
1912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1913 if test "${ac_cv_prog_CC+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 if test -n "$CC"; then
1917 ac_cv_prog_CC
="$CC" # Let the user override the test.
1919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1923 test -z "$as_dir" && as_dir
=.
1924 for ac_exec_ext
in '' $ac_executable_extensions; do
1925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1926 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1936 if test -n "$CC"; then
1937 echo "$as_me:$LINENO: result: $CC" >&5
1938 echo "${ECHO_T}$CC" >&6
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1945 if test -z "$ac_cv_prog_CC"; then
1947 # Extract the first word of "cc", so it can be a program name with args.
1948 set dummy cc
; ac_word
=$2
1949 echo "$as_me:$LINENO: checking for $ac_word" >&5
1950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1951 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1952 echo $ECHO_N "(cached) $ECHO_C" >&6
1954 if test -n "$ac_ct_CC"; then
1955 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1961 test -z "$as_dir" && as_dir
=.
1962 for ac_exec_ext
in '' $ac_executable_extensions; do
1963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1964 ac_cv_prog_ac_ct_CC
="cc"
1965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1973 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1974 if test -n "$ac_ct_CC"; then
1975 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1976 echo "${ECHO_T}$ac_ct_CC" >&6
1978 echo "$as_me:$LINENO: result: no" >&5
1979 echo "${ECHO_T}no" >&6
1988 if test -z "$CC"; then
1989 # Extract the first word of "cc", so it can be a program name with args.
1990 set dummy cc
; ac_word
=$2
1991 echo "$as_me:$LINENO: checking for $ac_word" >&5
1992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1993 if test "${ac_cv_prog_CC+set}" = set; then
1994 echo $ECHO_N "(cached) $ECHO_C" >&6
1996 if test -n "$CC"; then
1997 ac_cv_prog_CC
="$CC" # Let the user override the test.
2000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2004 test -z "$as_dir" && as_dir
=.
2005 for ac_exec_ext
in '' $ac_executable_extensions; do
2006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2007 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2008 ac_prog_rejected
=yes
2012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 if test $ac_prog_rejected = yes; then
2019 # We found a bogon in the path, so make sure we never use it.
2020 set dummy
$ac_cv_prog_CC
2022 if test $# != 0; then
2023 # We chose a different compiler from the bogus one.
2024 # However, it has the same basename, so the bogon will be chosen
2025 # first if we set CC to just the basename; use the full file name.
2027 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2033 if test -n "$CC"; then
2034 echo "$as_me:$LINENO: result: $CC" >&5
2035 echo "${ECHO_T}$CC" >&6
2037 echo "$as_me:$LINENO: result: no" >&5
2038 echo "${ECHO_T}no" >&6
2042 if test -z "$CC"; then
2043 if test -n "$ac_tool_prefix"; then
2046 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2047 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2048 echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2050 if test "${ac_cv_prog_CC+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 if test -n "$CC"; then
2054 ac_cv_prog_CC
="$CC" # Let the user override the test.
2056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir
=.
2061 for ac_exec_ext
in '' $ac_executable_extensions; do
2062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 if test -n "$CC"; then
2074 echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6
2077 echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6
2081 test -n "$CC" && break
2084 if test -z "$CC"; then
2088 # Extract the first word of "$ac_prog", so it can be a program name with args.
2089 set dummy
$ac_prog; ac_word
=$2
2090 echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2092 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 if test -n "$ac_ct_CC"; then
2096 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2102 test -z "$as_dir" && as_dir
=.
2103 for ac_exec_ext
in '' $ac_executable_extensions; do
2104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105 ac_cv_prog_ac_ct_CC
="$ac_prog"
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2114 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2115 if test -n "$ac_ct_CC"; then
2116 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2117 echo "${ECHO_T}$ac_ct_CC" >&6
2119 echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6
2123 test -n "$ac_ct_CC" && break
2132 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2133 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2135 See \`config.log' for more details." >&5
2136 echo "$as_me: error: no acceptable C compiler found in \$PATH
2137 See \`config.log' for more details." >&2;}
2138 { (exit 1); exit 1; }; }; }
2140 # Provide some information about the compiler.
2141 echo "$as_me:$LINENO:" \
2142 "checking for C compiler version" >&5
2143 ac_compiler
=`set X $ac_compile; echo $2`
2144 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2145 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); }
2149 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2150 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); }
2154 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2155 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }
2160 cat >conftest.
$ac_ext <<_ACEOF
2163 cat confdefs.h
>>conftest.
$ac_ext
2164 cat >>conftest.
$ac_ext <<_ACEOF
2165 /* end confdefs.h. */
2176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2177 (eval $ac_link) 2>&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; then
2186 if test x
$gcc_no_link = xyes
; then
2187 # Setting cross_compile will disable run tests; it will
2188 # also disable AC_CHECK_FILE but that's generally
2189 # correct if we can't link.
2193 cat >conftest.
$ac_ext <<_ACEOF
2196 cat confdefs.h
>>conftest.
$ac_ext
2197 cat >>conftest.
$ac_ext <<_ACEOF
2198 /* end confdefs.h. */
2208 ac_clean_files_save
=$ac_clean_files
2209 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2210 # Try to create an executable without -o first, disregard a.out.
2211 # It will help us diagnose broken compilers, and finding out an intuition
2213 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2214 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2215 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2216 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2217 (eval $ac_link_default) 2>&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; then
2221 # Find the output, starting from the most likely. This scheme is
2222 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2225 # Be careful to initialize this variable, since it used to be cached.
2226 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2228 # b.out is created by i960 compilers.
2229 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2231 test -f "$ac_file" ||
continue
2233 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2236 # This is the source file.
2239 # We found the default executable, but exeext='' is most
2243 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2244 # FIXME: I believe we export ac_cv_exeext for Libtool,
2245 # but it would be cool to find out if it's true. Does anybody
2246 # maintain Libtool? --akim.
2254 echo "$as_me: failed program was:" >&5
2255 sed 's/^/| /' conftest.
$ac_ext >&5
2257 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2258 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2259 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2260 See \`config.log' for more details." >&5
2261 echo "$as_me: error: C compiler cannot create executables
2262 See \`config.log' for more details." >&2;}
2263 { (exit 77); exit 77; }; }; }
2266 ac_exeext
=$ac_cv_exeext
2267 echo "$as_me:$LINENO: result: $ac_file" >&5
2268 echo "${ECHO_T}$ac_file" >&6
2270 # Check the compiler produces executables we can run. If not, either
2271 # the compiler is broken, or we cross compile.
2272 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2273 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2274 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2275 # If not cross compiling, check that we can run a simple program.
2276 if test "$cross_compiling" != yes; then
2277 if { ac_try
='./$ac_file'
2278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }; }; then
2285 if test "$cross_compiling" = maybe
; then
2288 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2289 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2291 If you meant to cross compile, use \`--host'.
2292 See \`config.log' for more details." >&5
2293 echo "$as_me: error: cannot run C compiled programs.
2294 If you meant to cross compile, use \`--host'.
2295 See \`config.log' for more details." >&2;}
2296 { (exit 1); exit 1; }; }; }
2300 echo "$as_me:$LINENO: result: yes" >&5
2301 echo "${ECHO_T}yes" >&6
2303 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2304 ac_clean_files
=$ac_clean_files_save
2305 # Check the compiler produces executables we can run. If not, either
2306 # the compiler is broken, or we cross compile.
2307 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2308 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2309 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2310 echo "${ECHO_T}$cross_compiling" >&6
2312 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2313 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2315 (eval $ac_link) 2>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }; then
2319 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2320 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2321 # work properly (i.e., refer to `conftest.exe'), while it won't with
2323 for ac_file
in conftest.exe conftest conftest.
*; do
2324 test -f "$ac_file" ||
continue
2326 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2327 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2334 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2335 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2336 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2337 See \`config.log' for more details." >&5
2338 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2339 See \`config.log' for more details." >&2;}
2340 { (exit 1); exit 1; }; }; }
2343 rm -f conftest
$ac_cv_exeext
2344 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2345 echo "${ECHO_T}$ac_cv_exeext" >&6
2347 rm -f conftest.
$ac_ext
2348 EXEEXT
=$ac_cv_exeext
2351 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2352 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2353 if test "${ac_cv_objext+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 cat >conftest.
$ac_ext <<_ACEOF
2359 cat confdefs.h
>>conftest.
$ac_ext
2360 cat >>conftest.
$ac_ext <<_ACEOF
2361 /* end confdefs.h. */
2371 rm -f conftest.o conftest.obj
2372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2373 (eval $ac_compile) 2>&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }; then
2377 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2379 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2380 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2385 echo "$as_me: failed program was:" >&5
2386 sed 's/^/| /' conftest.
$ac_ext >&5
2388 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2389 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2390 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2391 See \`config.log' for more details." >&5
2392 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2393 See \`config.log' for more details." >&2;}
2394 { (exit 1); exit 1; }; }; }
2397 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2399 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2400 echo "${ECHO_T}$ac_cv_objext" >&6
2401 OBJEXT
=$ac_cv_objext
2403 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2404 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2405 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2406 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 cat >conftest.
$ac_ext <<_ACEOF
2411 cat confdefs.h
>>conftest.
$ac_ext
2412 cat >>conftest.
$ac_ext <<_ACEOF
2413 /* end confdefs.h. */
2426 rm -f conftest.
$ac_objext
2427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2428 (eval $ac_compile) 2>conftest.er1
2430 grep -v '^ *+' conftest.er1
>conftest.err
2432 cat conftest.err
>&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); } &&
2435 { ac_try
='test -z "$ac_c_werror_flag"
2436 || test ! -s conftest.err'
2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; } &&
2442 { ac_try
='test -s conftest.$ac_objext'
2443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447 (exit $ac_status); }; }; then
2450 echo "$as_me: failed program was:" >&5
2451 sed 's/^/| /' conftest.
$ac_ext >&5
2455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2456 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2459 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2460 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2461 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2462 ac_test_CFLAGS
=${CFLAGS+set}
2463 ac_save_CFLAGS
=$CFLAGS
2465 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2466 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2467 if test "${ac_cv_prog_cc_g+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 cat >conftest.
$ac_ext <<_ACEOF
2473 cat confdefs.h
>>conftest.
$ac_ext
2474 cat >>conftest.
$ac_ext <<_ACEOF
2475 /* end confdefs.h. */
2485 rm -f conftest.
$ac_objext
2486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2487 (eval $ac_compile) 2>conftest.er1
2489 grep -v '^ *+' conftest.er1
>conftest.err
2491 cat conftest.err
>&5
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); } &&
2494 { ac_try
='test -z "$ac_c_werror_flag"
2495 || test ! -s conftest.err'
2496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }; } &&
2501 { ac_try
='test -s conftest.$ac_objext'
2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2509 echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.
$ac_ext >&5
2514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2516 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2517 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2518 if test "$ac_test_CFLAGS" = set; then
2519 CFLAGS
=$ac_save_CFLAGS
2520 elif test $ac_cv_prog_cc_g = yes; then
2521 if test "$GCC" = yes; then
2527 if test "$GCC" = yes; then
2533 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2534 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2535 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 ac_cv_prog_cc_stdc
=no
2540 cat >conftest.
$ac_ext <<_ACEOF
2543 cat confdefs.h
>>conftest.
$ac_ext
2544 cat >>conftest.
$ac_ext <<_ACEOF
2545 /* end confdefs.h. */
2548 #include <sys/types.h>
2549 #include <sys/stat.h>
2550 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2551 struct buf { int x; };
2552 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2553 static char *e (p, i)
2559 static char *f (char * (*g) (char **, int), char **p, ...)
2564 s = g (p, va_arg (v,int));
2569 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2570 function prototypes and stuff, but not '\xHH' hex character constants.
2571 These don't provoke an error unfortunately, instead are silently treated
2572 as 'x'. The following induces an error, until -std1 is added to get
2573 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2574 array size at least. It's necessary to write '\x00'==0 to get something
2575 that's true only with -std1. */
2576 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2578 int test (int i, double x);
2579 struct s1 {int (*f) (int a);};
2580 struct s2 {int (*f) (double a);};
2581 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2587 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2592 # Don't try gcc -ansi; that turns off useful extensions and
2593 # breaks some systems' header files.
2594 # AIX -qlanglvl=ansi
2595 # Ultrix and OSF/1 -std1
2596 # HP-UX 10.20 and later -Ae
2597 # HP-UX older versions -Aa -D_HPUX_SOURCE
2598 # SVR4 -Xc -D__EXTENSIONS__
2599 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2601 CC
="$ac_save_CC $ac_arg"
2602 rm -f conftest.
$ac_objext
2603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2604 (eval $ac_compile) 2>conftest.er1
2606 grep -v '^ *+' conftest.er1
>conftest.err
2608 cat conftest.err
>&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); } &&
2611 { ac_try
='test -z "$ac_c_werror_flag"
2612 || test ! -s conftest.err'
2613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; } &&
2618 { ac_try
='test -s conftest.$ac_objext'
2619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; }; then
2624 ac_cv_prog_cc_stdc
=$ac_arg
2627 echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.
$ac_ext >&5
2631 rm -f conftest.err conftest.
$ac_objext
2633 rm -f conftest.
$ac_ext conftest.
$ac_objext
2638 case "x$ac_cv_prog_cc_stdc" in
2640 echo "$as_me:$LINENO: result: none needed" >&5
2641 echo "${ECHO_T}none needed" >&6 ;;
2643 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2644 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2645 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2648 # Some people use a C++ compiler to compile C. Since we use `exit',
2649 # in C++ we need to declare it. In case someone uses the same compiler
2650 # for both compiling C and C++ we need to have the C++ compiler decide
2651 # the declaration of exit, since it's the most demanding environment.
2652 cat >conftest.
$ac_ext <<_ACEOF
2657 rm -f conftest.
$ac_objext
2658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2659 (eval $ac_compile) 2>conftest.er1
2661 grep -v '^ *+' conftest.er1
>conftest.err
2663 cat conftest.err
>&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); } &&
2666 { ac_try
='test -z "$ac_c_werror_flag"
2667 || test ! -s conftest.err'
2668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); }; } &&
2673 { ac_try
='test -s conftest.$ac_objext'
2674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); }; }; then
2679 for ac_declaration
in \
2681 'extern "C" void std::exit (int) throw (); using std::exit;' \
2682 'extern "C" void std::exit (int); using std::exit;' \
2683 'extern "C" void exit (int) throw ();' \
2684 'extern "C" void exit (int);' \
2687 cat >conftest.
$ac_ext <<_ACEOF
2690 cat confdefs.h
>>conftest.
$ac_ext
2691 cat >>conftest.
$ac_ext <<_ACEOF
2692 /* end confdefs.h. */
2703 rm -f conftest.
$ac_objext
2704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2705 (eval $ac_compile) 2>conftest.er1
2707 grep -v '^ *+' conftest.er1
>conftest.err
2709 cat conftest.err
>&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); } &&
2712 { ac_try
='test -z "$ac_c_werror_flag"
2713 || test ! -s conftest.err'
2714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }; } &&
2719 { ac_try
='test -s conftest.$ac_objext'
2720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; }; then
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.
$ac_ext >&5
2732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2733 cat >conftest.
$ac_ext <<_ACEOF
2736 cat confdefs.h
>>conftest.
$ac_ext
2737 cat >>conftest.
$ac_ext <<_ACEOF
2738 /* end confdefs.h. */
2748 rm -f conftest.
$ac_objext
2749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2750 (eval $ac_compile) 2>conftest.er1
2752 grep -v '^ *+' conftest.er1
>conftest.err
2754 cat conftest.err
>&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); } &&
2757 { ac_try
='test -z "$ac_c_werror_flag"
2758 || test ! -s conftest.err'
2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }; } &&
2764 { ac_try
='test -s conftest.$ac_objext'
2765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; }; then
2772 echo "$as_me: failed program was:" >&5
2773 sed 's/^/| /' conftest.
$ac_ext >&5
2776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2779 if test -n "$ac_declaration"; then
2780 echo '#ifdef __cplusplus' >>confdefs.h
2781 echo $ac_declaration >>confdefs.h
2782 echo '#endif' >>confdefs.h
2786 echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.
$ac_ext >&5
2790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2792 ac_cpp
='$CPP $CPPFLAGS'
2793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2799 # extra LD Flags which are required for targets
2802 # Darwin needs -single_module when linking libobjc
2803 extra_ldflags_libobjc
=-Wl,-single_module
2810 if test -n "$ac_tool_prefix"; then
2811 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2812 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2813 echo "$as_me:$LINENO: checking for $ac_word" >&5
2814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2815 if test "${ac_cv_prog_AS+set}" = set; then
2816 echo $ECHO_N "(cached) $ECHO_C" >&6
2818 if test -n "$AS"; then
2819 ac_cv_prog_AS
="$AS" # Let the user override the test.
2821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir
=.
2826 for ac_exec_ext
in '' $ac_executable_extensions; do
2827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2828 ac_cv_prog_AS
="${ac_tool_prefix}as"
2829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 if test -n "$AS"; then
2839 echo "$as_me:$LINENO: result: $AS" >&5
2840 echo "${ECHO_T}$AS" >&6
2842 echo "$as_me:$LINENO: result: no" >&5
2843 echo "${ECHO_T}no" >&6
2847 if test -z "$ac_cv_prog_AS"; then
2849 # Extract the first word of "as", so it can be a program name with args.
2850 set dummy as
; ac_word
=$2
2851 echo "$as_me:$LINENO: checking for $ac_word" >&5
2852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2853 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 if test -n "$ac_ct_AS"; then
2857 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
2859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir
=.
2864 for ac_exec_ext
in '' $ac_executable_extensions; do
2865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2866 ac_cv_prog_ac_ct_AS
="as"
2867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2875 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
2876 if test -n "$ac_ct_AS"; then
2877 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2878 echo "${ECHO_T}$ac_ct_AS" >&6
2880 echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6
2889 if test -n "$ac_tool_prefix"; then
2890 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2891 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2892 echo "$as_me:$LINENO: checking for $ac_word" >&5
2893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2894 if test "${ac_cv_prog_AR+set}" = set; then
2895 echo $ECHO_N "(cached) $ECHO_C" >&6
2897 if test -n "$AR"; then
2898 ac_cv_prog_AR
="$AR" # Let the user override the test.
2900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2904 test -z "$as_dir" && as_dir
=.
2905 for ac_exec_ext
in '' $ac_executable_extensions; do
2906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2907 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2917 if test -n "$AR"; then
2918 echo "$as_me:$LINENO: result: $AR" >&5
2919 echo "${ECHO_T}$AR" >&6
2921 echo "$as_me:$LINENO: result: no" >&5
2922 echo "${ECHO_T}no" >&6
2926 if test -z "$ac_cv_prog_AR"; then
2928 # Extract the first word of "ar", so it can be a program name with args.
2929 set dummy
ar; ac_word
=$2
2930 echo "$as_me:$LINENO: checking for $ac_word" >&5
2931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2932 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 if test -n "$ac_ct_AR"; then
2936 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir
=.
2943 for ac_exec_ext
in '' $ac_executable_extensions; do
2944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_ac_ct_AR
="ar"
2946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2955 if test -n "$ac_ct_AR"; then
2956 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2957 echo "${ECHO_T}$ac_ct_AR" >&6
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2968 if test -n "$ac_tool_prefix"; then
2969 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2970 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2971 echo "$as_me:$LINENO: checking for $ac_word" >&5
2972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2973 if test "${ac_cv_prog_RANLIB+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 if test -n "$RANLIB"; then
2977 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2983 test -z "$as_dir" && as_dir
=.
2984 for ac_exec_ext
in '' $ac_executable_extensions; do
2985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2986 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 RANLIB
=$ac_cv_prog_RANLIB
2996 if test -n "$RANLIB"; then
2997 echo "$as_me:$LINENO: result: $RANLIB" >&5
2998 echo "${ECHO_T}$RANLIB" >&6
3000 echo "$as_me:$LINENO: result: no" >&5
3001 echo "${ECHO_T}no" >&6
3005 if test -z "$ac_cv_prog_RANLIB"; then
3006 ac_ct_RANLIB
=$RANLIB
3007 # Extract the first word of "ranlib", so it can be a program name with args.
3008 set dummy ranlib
; ac_word
=$2
3009 echo "$as_me:$LINENO: checking for $ac_word" >&5
3010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3011 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3014 if test -n "$ac_ct_RANLIB"; then
3015 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir
=.
3022 for ac_exec_ext
in '' $ac_executable_extensions; do
3023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3024 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3034 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3035 if test -n "$ac_ct_RANLIB"; then
3036 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3037 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3039 echo "$as_me:$LINENO: result: no" >&5
3040 echo "${ECHO_T}no" >&6
3043 RANLIB
=$ac_ct_RANLIB
3045 RANLIB
="$ac_cv_prog_RANLIB"
3048 # Find a good install program. We prefer a C program (faster),
3049 # so one script is as good as another. But avoid the broken or
3050 # incompatible versions:
3051 # SysV /etc/install, /usr/sbin/install
3052 # SunOS /usr/etc/install
3053 # IRIX /sbin/install
3055 # AmigaOS /C/install, which installs bootblocks on floppy discs
3056 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3057 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3058 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3059 # OS/2's system install, which has a completely different semantic
3060 # ./install, which can be erroneously created by make from ./install.sh.
3061 # Reject install programs that cannot install multiple files.
3062 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3063 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3064 if test -z "$INSTALL"; then
3065 if test "${ac_cv_path_install+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3072 test -z "$as_dir" && as_dir
=.
3073 # Account for people who put trailing slashes in PATH elements.
3075 .
/ | .
// |
/cC
/* | \
3076 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3077 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3080 # OSF1 and SCO ODT 3.0 have their own names for install.
3081 # Don't use installbsd from OSF since it installs stuff as root
3083 for ac_prog
in ginstall scoinst
install; do
3084 for ac_exec_ext
in '' $ac_executable_extensions; do
3085 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3086 if test $ac_prog = install &&
3087 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3088 # AIX install. It has an incompatible calling convention.
3090 elif test $ac_prog = install &&
3091 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3092 # program-specific install script used by HP pwplus--don't use.
3095 rm -rf conftest.one conftest.two conftest.dir
3096 echo one
> conftest.one
3097 echo two
> conftest.two
3099 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3100 test -s conftest.one
&& test -s conftest.two
&&
3101 test -s conftest.dir
/conftest.one
&&
3102 test -s conftest.dir
/conftest.two
3104 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3115 rm -rf conftest.one conftest.two conftest.dir
3118 if test "${ac_cv_path_install+set}" = set; then
3119 INSTALL
=$ac_cv_path_install
3121 # As a last resort, use the slow shell script. Don't cache a
3122 # value for INSTALL within a source directory, because that will
3123 # break other packages using the cache if that directory is
3124 # removed, or if the value is a relative name.
3125 INSTALL
=$ac_install_sh
3128 echo "$as_me:$LINENO: result: $INSTALL" >&5
3129 echo "${ECHO_T}$INSTALL" >&6
3131 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3132 # It thinks the first close brace ends the variable substitution.
3133 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3135 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3137 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3140 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3141 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3142 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3143 if test "${enable_maintainer_mode+set}" = set; then
3144 enableval
="$enable_maintainer_mode"
3145 USE_MAINTAINER_MODE
=$enableval
3147 USE_MAINTAINER_MODE
=no
3149 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3150 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3153 if test $USE_MAINTAINER_MODE = yes; then
3154 MAINTAINER_MODE_TRUE
=
3155 MAINTAINER_MODE_FALSE
='#'
3157 MAINTAINER_MODE_TRUE
='#'
3158 MAINTAINER_MODE_FALSE
=
3161 MAINT
=$MAINTAINER_MODE_TRUE
3165 # Enable Win32 DLL on MS Windows - FIXME
3166 enable_win32_dll
=yes
3169 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-cegcc*)
3170 if test -n "$ac_tool_prefix"; then
3171 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3172 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3173 echo "$as_me:$LINENO: checking for $ac_word" >&5
3174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3175 if test "${ac_cv_prog_AS+set}" = set; then
3176 echo $ECHO_N "(cached) $ECHO_C" >&6
3178 if test -n "$AS"; then
3179 ac_cv_prog_AS
="$AS" # Let the user override the test.
3181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir
=.
3186 for ac_exec_ext
in '' $ac_executable_extensions; do
3187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3188 ac_cv_prog_AS
="${ac_tool_prefix}as"
3189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 if test -n "$AS"; then
3199 echo "$as_me:$LINENO: result: $AS" >&5
3200 echo "${ECHO_T}$AS" >&6
3202 echo "$as_me:$LINENO: result: no" >&5
3203 echo "${ECHO_T}no" >&6
3207 if test -z "$ac_cv_prog_AS"; then
3209 # Extract the first word of "as", so it can be a program name with args.
3210 set dummy as
; ac_word
=$2
3211 echo "$as_me:$LINENO: checking for $ac_word" >&5
3212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3213 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3214 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 if test -n "$ac_ct_AS"; then
3217 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3223 test -z "$as_dir" && as_dir
=.
3224 for ac_exec_ext
in '' $ac_executable_extensions; do
3225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3226 ac_cv_prog_ac_ct_AS
="as"
3227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
3236 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3237 if test -n "$ac_ct_AS"; then
3238 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3239 echo "${ECHO_T}$ac_ct_AS" >&6
3241 echo "$as_me:$LINENO: result: no" >&5
3242 echo "${ECHO_T}no" >&6
3250 if test -n "$ac_tool_prefix"; then
3251 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3252 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
3253 echo "$as_me:$LINENO: checking for $ac_word" >&5
3254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3255 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3258 if test -n "$DLLTOOL"; then
3259 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
3261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir
=.
3266 for ac_exec_ext
in '' $ac_executable_extensions; do
3267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
3269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 DLLTOOL
=$ac_cv_prog_DLLTOOL
3278 if test -n "$DLLTOOL"; then
3279 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3280 echo "${ECHO_T}$DLLTOOL" >&6
3282 echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6
3287 if test -z "$ac_cv_prog_DLLTOOL"; then
3288 ac_ct_DLLTOOL
=$DLLTOOL
3289 # Extract the first word of "dlltool", so it can be a program name with args.
3290 set dummy dlltool
; ac_word
=$2
3291 echo "$as_me:$LINENO: checking for $ac_word" >&5
3292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3293 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3294 echo $ECHO_N "(cached) $ECHO_C" >&6
3296 if test -n "$ac_ct_DLLTOOL"; then
3297 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
3299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3303 test -z "$as_dir" && as_dir
=.
3304 for ac_exec_ext
in '' $ac_executable_extensions; do
3305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
3307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
3316 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
3317 if test -n "$ac_ct_DLLTOOL"; then
3318 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3319 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3325 DLLTOOL
=$ac_ct_DLLTOOL
3327 DLLTOOL
="$ac_cv_prog_DLLTOOL"
3330 if test -n "$ac_tool_prefix"; then
3331 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3332 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
3333 echo "$as_me:$LINENO: checking for $ac_word" >&5
3334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3335 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3338 if test -n "$OBJDUMP"; then
3339 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
3341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3345 test -z "$as_dir" && as_dir
=.
3346 for ac_exec_ext
in '' $ac_executable_extensions; do
3347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3348 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
3349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 OBJDUMP
=$ac_cv_prog_OBJDUMP
3358 if test -n "$OBJDUMP"; then
3359 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3360 echo "${ECHO_T}$OBJDUMP" >&6
3362 echo "$as_me:$LINENO: result: no" >&5
3363 echo "${ECHO_T}no" >&6
3367 if test -z "$ac_cv_prog_OBJDUMP"; then
3368 ac_ct_OBJDUMP
=$OBJDUMP
3369 # Extract the first word of "objdump", so it can be a program name with args.
3370 set dummy objdump
; ac_word
=$2
3371 echo "$as_me:$LINENO: checking for $ac_word" >&5
3372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3373 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 if test -n "$ac_ct_OBJDUMP"; then
3377 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
3379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3383 test -z "$as_dir" && as_dir
=.
3384 for ac_exec_ext
in '' $ac_executable_extensions; do
3385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3386 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
3387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3393 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
3396 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
3397 if test -n "$ac_ct_OBJDUMP"; then
3398 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3399 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
3401 echo "$as_me:$LINENO: result: no" >&5
3402 echo "${ECHO_T}no" >&6
3405 OBJDUMP
=$ac_ct_OBJDUMP
3407 OBJDUMP
="$ac_cv_prog_OBJDUMP"
3413 test -z "$AS" && AS
=as
3419 test -z "$DLLTOOL" && DLLTOOL
=dlltool
3425 test -z "$OBJDUMP" && OBJDUMP
=objdump
3436 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3437 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3442 macro_version
='2.2.6'
3443 macro_revision
='1.3012'
3457 ltmain
="$ac_aux_dir/ltmain.sh"
3459 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3460 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3461 if test "${lt_cv_path_SED+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 # Loop through the user's path and test for sed and gsed.
3465 # Then use that list of sed's as ones to test for truncation.
3466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3470 test -z "$as_dir" && as_dir
=.
3471 for lt_ac_prog
in sed gsed
; do
3472 for ac_exec_ext
in '' $ac_executable_extensions; do
3473 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3474 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3482 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3483 # along with /bin/sed that truncates output.
3484 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3485 test ! -f $lt_ac_sed && continue
3486 cat /dev
/null
> conftest.
in
3488 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3489 # Check for GNU sed and select it if it is found.
3490 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3491 lt_cv_path_SED
=$lt_ac_sed
3495 cat conftest.
in conftest.
in >conftest.tmp
3496 mv conftest.tmp conftest.
in
3497 cp conftest.
in conftest.
nl
3499 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3500 cmp -s conftest.out conftest.
nl ||
break
3501 # 10000 chars as input seems more than enough
3502 test $lt_ac_count -gt 10 && break
3503 lt_ac_count
=`expr $lt_ac_count + 1`
3504 if test $lt_ac_count -gt $lt_ac_max; then
3505 lt_ac_max
=$lt_ac_count
3506 lt_cv_path_SED
=$lt_ac_sed
3515 echo "$as_me:$LINENO: result: $SED" >&5
3516 echo "${ECHO_T}$SED" >&6
3518 test -z "$SED" && SED
=sed
3519 Xsed
="$SED -e 1s/^X//"
3531 echo "$as_me:$LINENO: checking for egrep" >&5
3532 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3533 if test "${ac_cv_prog_egrep+set}" = set; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3537 then ac_cv_prog_egrep
='grep -E'
3538 else ac_cv_prog_egrep
='egrep'
3541 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3542 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3543 EGREP
=$ac_cv_prog_egrep
3546 echo "$as_me:$LINENO: checking for fgrep" >&5
3547 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3548 if test "${ac_cv_prog_fgrep+set}" = set; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
3552 then ac_cv_prog_fgrep
='grep -F'
3553 else ac_cv_prog_fgrep
='fgrep'
3556 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3557 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3558 FGREP
=$ac_cv_prog_fgrep
3561 test -z "$GREP" && GREP
=grep
3581 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3582 if test "${with_gnu_ld+set}" = set; then
3583 withval
="$with_gnu_ld"
3584 test "$withval" = no || with_gnu_ld
=yes
3589 if test "$GCC" = yes; then
3590 # Check if gcc -print-prog-name=ld gives a path.
3591 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3592 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3595 # gcc leaves a trailing carriage return which upsets mingw
3596 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3598 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3601 # Accept absolute paths.
3603 re_direlt
='/[^/][^/]*/\.\./'
3604 # Canonicalize the pathname of ld
3605 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3606 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3607 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3609 test -z "$LD" && LD
="$ac_prog"
3612 # If it fails, then pretend we aren't using GCC.
3616 # If it is relative, then search for the first ld in PATH.
3620 elif test "$with_gnu_ld" = yes; then
3621 echo "$as_me:$LINENO: checking for GNU ld" >&5
3622 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3624 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3625 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3627 if test "${lt_cv_path_LD+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
3630 if test -z "$LD"; then
3631 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3632 for ac_dir
in $PATH; do
3634 test -z "$ac_dir" && ac_dir
=.
3635 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3636 lt_cv_path_LD
="$ac_dir/$ac_prog"
3637 # Check to see if the program is GNU ld. I'd rather use --version,
3638 # but apparently some variants of GNU ld only accept -v.
3639 # Break only if it was the GNU/non-GNU ld that we prefer.
3640 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3641 *GNU
* |
*'with BFD'*)
3642 test "$with_gnu_ld" != no
&& break
3645 test "$with_gnu_ld" != yes && break
3652 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3657 if test -n "$LD"; then
3658 echo "$as_me:$LINENO: result: $LD" >&5
3659 echo "${ECHO_T}$LD" >&6
3661 echo "$as_me:$LINENO: result: no" >&5
3662 echo "${ECHO_T}no" >&6
3664 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3665 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3666 { (exit 1); exit 1; }; }
3667 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3668 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3669 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3672 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3673 case `$LD -v 2>&1 </dev/null` in
3674 *GNU
* |
*'with BFD'*)
3675 lt_cv_prog_gnu_ld
=yes
3678 lt_cv_prog_gnu_ld
=no
3682 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3683 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3684 with_gnu_ld
=$lt_cv_prog_gnu_ld
3694 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3695 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
3696 if test "${lt_cv_path_NM+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 if test -n "$NM"; then
3700 # Let the user override the test.
3703 lt_nm_to_check
="${ac_tool_prefix}nm"
3704 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3705 lt_nm_to_check
="$lt_nm_to_check nm"
3707 for lt_tmp_nm
in $lt_nm_to_check; do
3708 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3709 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3711 test -z "$ac_dir" && ac_dir
=.
3712 tmp_nm
="$ac_dir/$lt_tmp_nm"
3713 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3714 # Check to see if the nm accepts a BSD-compat flag.
3715 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3716 # nm: unknown option "B" ignored
3717 # Tru64's nm complains that /dev/null is an invalid object file
3718 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3719 */dev
/null
* |
*'Invalid file or object type'*)
3720 lt_cv_path_NM
="$tmp_nm -B"
3724 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3726 lt_cv_path_NM
="$tmp_nm -p"
3730 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3731 continue # so that we can try to find one that supports BSD flags
3740 : ${lt_cv_path_NM=no}
3743 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3744 echo "${ECHO_T}$lt_cv_path_NM" >&6
3745 if test "$lt_cv_path_NM" != "no"; then
3748 # Didn't find any BSD compatible name lister, look for dumpbin.
3749 if test -n "$ac_tool_prefix"; then
3750 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3753 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3754 echo "$as_me:$LINENO: checking for $ac_word" >&5
3755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3756 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3757 echo $ECHO_N "(cached) $ECHO_C" >&6
3759 if test -n "$DUMPBIN"; then
3760 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3766 test -z "$as_dir" && as_dir
=.
3767 for ac_exec_ext
in '' $ac_executable_extensions; do
3768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3769 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3778 DUMPBIN
=$ac_cv_prog_DUMPBIN
3779 if test -n "$DUMPBIN"; then
3780 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3781 echo "${ECHO_T}$DUMPBIN" >&6
3783 echo "$as_me:$LINENO: result: no" >&5
3784 echo "${ECHO_T}no" >&6
3787 test -n "$DUMPBIN" && break
3790 if test -z "$DUMPBIN"; then
3791 ac_ct_DUMPBIN
=$DUMPBIN
3792 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3794 # Extract the first word of "$ac_prog", so it can be a program name with args.
3795 set dummy
$ac_prog; ac_word
=$2
3796 echo "$as_me:$LINENO: checking for $ac_word" >&5
3797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3798 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 if test -n "$ac_ct_DUMPBIN"; then
3802 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3808 test -z "$as_dir" && as_dir
=.
3809 for ac_exec_ext
in '' $ac_executable_extensions; do
3810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3811 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3821 if test -n "$ac_ct_DUMPBIN"; then
3822 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3823 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
3825 echo "$as_me:$LINENO: result: no" >&5
3826 echo "${ECHO_T}no" >&6
3829 test -n "$ac_ct_DUMPBIN" && break
3831 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
3833 DUMPBIN
=$ac_ct_DUMPBIN
3837 if test "$DUMPBIN" != ":"; then
3841 test -z "$NM" && NM
=nm
3848 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3849 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
3850 if test "${lt_cv_nm_interface+set}" = set; then
3851 echo $ECHO_N "(cached) $ECHO_C" >&6
3853 lt_cv_nm_interface
="BSD nm"
3854 echo "int some_variable = 0;" > conftest.
$ac_ext
3855 (eval echo "\"\$as_me:3855: $ac_compile\"" >&5)
3856 (eval "$ac_compile" 2>conftest.err
)
3857 cat conftest.err
>&5
3858 (eval echo "\"\$as_me:3858: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3859 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3860 cat conftest.err
>&5
3861 (eval echo "\"\$as_me:3861: output\"" >&5)
3862 cat conftest.out
>&5
3863 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3864 lt_cv_nm_interface
="MS dumpbin"
3868 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3869 echo "${ECHO_T}$lt_cv_nm_interface" >&6
3871 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3872 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3874 if test "$LN_S" = "ln -s"; then
3875 echo "$as_me:$LINENO: result: yes" >&5
3876 echo "${ECHO_T}yes" >&6
3878 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3879 echo "${ECHO_T}no, using $LN_S" >&6
3882 # find the maximum length of command line arguments
3883 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3884 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3885 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3893 # On DJGPP, this test can blow up pretty badly due to problems in libc
3894 # (any single argument exceeding 2000 bytes causes a buffer overrun
3895 # during glob expansion). Even if it were fixed, the result of this
3896 # check would be larger than it should be.
3897 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3901 # Under GNU Hurd, this test is not required because there is
3902 # no limit to the length of command line arguments.
3903 # Libtool will interpret -1 as no limit whatsoever
3904 lt_cv_sys_max_cmd_len
=-1;
3907 cygwin
* | mingw
* | cegcc
*)
3908 # On Win9x/ME, this test blows up -- it succeeds, but takes
3909 # about 5 minutes as the teststring grows exponentially.
3910 # Worse, since 9x/ME are not pre-emptively multitasking,
3911 # you end up with a "frozen" computer, even though with patience
3912 # the test eventually succeeds (with a max line length of 256k).
3913 # Instead, let's just punt: use the minimum linelength reported by
3914 # all of the supported platforms: 8192 (on NT/2K/XP).
3915 lt_cv_sys_max_cmd_len
=8192;
3919 # On AmigaOS with pdksh, this test takes hours, literally.
3920 # So we just punt and use a minimum line length of 8192.
3921 lt_cv_sys_max_cmd_len
=8192;
3924 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3925 # This has been around since 386BSD, at least. Likely further.
3926 if test -x /sbin
/sysctl
; then
3927 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3928 elif test -x /usr
/sbin
/sysctl
; then
3929 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3931 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
3933 # And add a safety zone
3934 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3935 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3939 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3940 lt_cv_sys_max_cmd_len
=196608
3944 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3945 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3946 # nice to cause kernel panics so lets avoid the loop below.
3947 # First set a reasonable default.
3948 lt_cv_sys_max_cmd_len
=16384
3950 if test -x /sbin
/sysconfig
; then
3951 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3952 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
3957 lt_cv_sys_max_cmd_len
=102400
3959 sysv5
* | sco5v6
* | sysv4.2uw2
*)
3960 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3961 if test -n "$kargmax"; then
3962 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
3964 lt_cv_sys_max_cmd_len
=32768
3968 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
3969 if test -n "$lt_cv_sys_max_cmd_len"; then
3970 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3971 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3973 # Make teststring a little bigger before we do anything with it.
3974 # a 1K string should be a reasonable start.
3975 for i
in 1 2 3 4 5 6 7 8 ; do
3976 teststring
=$teststring$teststring
3978 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
3979 # If test is not a shell built-in, we'll probably end up computing a
3980 # maximum length that is only half of the actual maximum length, but
3982 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3983 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
3984 test $i != 17 # 1/2 MB should be enough
3987 teststring
=$teststring$teststring
3989 # Only check the string length outside the loop.
3990 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
3992 # Add a significant safety factor because C++ compilers can tack on
3993 # massive amounts of additional arguments before passing them to the
3994 # linker. It appears as though 1/2 is a usable value.
3995 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4002 if test -n $lt_cv_sys_max_cmd_len ; then
4003 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4004 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4006 echo "$as_me:$LINENO: result: none" >&5
4007 echo "${ECHO_T}none" >&6
4009 max_cmd_len
=$lt_cv_sys_max_cmd_len
4020 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4021 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4022 # Try some XSI features
4025 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4027 && eval 'test $(( 1 + 1 )) -eq 2 \
4028 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4030 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4031 echo "${ECHO_T}$xsi_shell" >&6
4034 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4035 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4037 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4039 && lt_shell_append=yes
4040 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4041 echo "${ECHO_T}$lt_shell_append" >&6
4044 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4054 # test EBCDIC or ASCII
4055 case `echo X|tr X '\101'` in
4056 A) # ASCII based system
4057 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4058 lt_SP2NL='tr \040 \012'
4059 lt_NL2SP='tr \015\012 \040\040'
4061 *) # EBCDIC based system
4062 lt_SP2NL='tr \100 \n'
4063 lt_NL2SP='tr \r\n \100\100'
4075 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4076 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4077 if test "${lt_cv_ld_reload_flag+set}" = set; then
4078 echo $ECHO_N "(cached
) $ECHO_C" >&6
4080 lt_cv_ld_reload_flag='-r'
4082 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4083 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4084 reload_flag=$lt_cv_ld_reload_flag
4085 case $reload_flag in
4087 *) reload_flag=" $reload_flag" ;;
4089 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4092 if test "$GCC" = yes; then
4093 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4095 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4108 if test -n "$ac_tool_prefix"; then
4109 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4110 set dummy ${ac_tool_prefix}objdump; 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_OBJDUMP+set}" = set; then
4114 echo $ECHO_N "(cached
) $ECHO_C" >&6
4116 if test -n "$OBJDUMP"; then
4117 ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ac_tool_prefix}objdump
"
4127 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4135 OBJDUMP=$ac_cv_prog_OBJDUMP
4136 if test -n "$OBJDUMP"; then
4137 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4138 echo "${ECHO_T}$OBJDUMP" >&6
4140 echo "$as_me:$LINENO: result
: no
" >&5
4141 echo "${ECHO_T}no
" >&6
4145 if test -z "$ac_cv_prog_OBJDUMP"; then
4146 ac_ct_OBJDUMP=$OBJDUMP
4147 # Extract the first word of "objdump
", so it can be a program name with args.
4148 set dummy objdump; ac_word=$2
4149 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4150 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4151 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4152 echo $ECHO_N "(cached
) $ECHO_C" >&6
4154 if test -n "$ac_ct_OBJDUMP"; then
4155 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 test -z "$as_dir" && as_dir=.
4162 for ac_exec_ext in '' $ac_executable_extensions; do
4163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4164 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4165 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4171 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
4174 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4175 if test -n "$ac_ct_OBJDUMP"; then
4176 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4177 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4179 echo "$as_me:$LINENO: result
: no
" >&5
4180 echo "${ECHO_T}no
" >&6
4183 OBJDUMP=$ac_ct_OBJDUMP
4185 OBJDUMP="$ac_cv_prog_OBJDUMP"
4188 test -z "$OBJDUMP" && OBJDUMP=objdump
4195 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4196 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4197 if test "${lt_cv_deplibs_check_method+set}" = set; then
4198 echo $ECHO_N "(cached
) $ECHO_C" >&6
4200 lt_cv_file_magic_cmd='$MAGIC_CMD'
4201 lt_cv_file_magic_test_file=
4202 lt_cv_deplibs_check_method='unknown'
4203 # Need to set the preceding variable on all platforms that support
4204 # interlibrary dependencies.
4205 # 'none' -- dependencies not supported.
4206 # `unknown' -- same as none, but documents that we really don't know.
4207 # 'pass_all' -- all dependencies passed with no checks.
4208 # 'test_compile' -- check by making test program.
4209 # 'file_magic [[regex]]' -- check by looking for files in library path
4210 # which responds to the $file_magic_cmd with a given extended regex.
4211 # If you have `file' or equivalent on your system and you're not sure
4212 # whether `pass_all' will *always* work, you probably want this one.
4216 lt_cv_deplibs_check_method=pass_all
4220 lt_cv_deplibs_check_method=pass_all
4224 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4225 lt_cv_file_magic_cmd='/usr/bin/file -L'
4226 lt_cv_file_magic_test_file=/shlib/libc.so
4230 # func_win32_libid is a shell function defined in ltmain.sh
4231 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4232 lt_cv_file_magic_cmd='func_win32_libid'
4236 # Base MSYS/MinGW do not provide the 'file' command needed by
4237 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4238 # unless we find 'file', for example because we are cross-compiling.
4239 if ( file / ) >/dev/null 2>&1; then
4240 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4241 lt_cv_file_magic_cmd='func_win32_libid'
4243 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4244 lt_cv_file_magic_cmd='$OBJDUMP -f'
4249 # use the weaker test based on 'objdump'. See mingw*.
4250 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4251 lt_cv_file_magic_cmd='$OBJDUMP -f'
4254 darwin* | rhapsody*)
4255 lt_cv_deplibs_check_method=pass_all
4258 freebsd* | dragonfly*)
4259 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4262 # Not sure whether the presence of OpenBSD here was a mistake.
4263 # Let's accept both of them until this is cleared up.
4264 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4265 lt_cv_file_magic_cmd=/usr/bin/file
4266 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4270 lt_cv_deplibs_check_method=pass_all
4275 lt_cv_deplibs_check_method=pass_all
4278 hpux10.20* | hpux11*)
4279 lt_cv_file_magic_cmd=/usr/bin/file
4282 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4283 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4286 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]'
4287 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4290 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4291 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4297 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4298 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4301 irix5* | irix6* | nonstopux*)
4303 *-32|*"-32 ") libmagic=32-bit;;
4304 *-n32|*"-n32 ") libmagic=N32;;
4305 *-64|*"-64 ") libmagic=64-bit;;
4306 *) libmagic=never-match;;
4308 lt_cv_deplibs_check_method=pass_all
4311 # This must be Linux ELF.
4312 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4313 lt_cv_deplibs_check_method=pass_all
4317 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4318 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4320 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4325 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4326 lt_cv_file_magic_cmd=/usr/bin/file
4327 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4331 lt_cv_deplibs_check_method=pass_all
4335 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4338 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4342 osf3* | osf4* | osf5*)
4343 lt_cv_deplibs_check_method=pass_all
4347 lt_cv_deplibs_check_method=pass_all
4351 lt_cv_deplibs_check_method=pass_all
4354 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4355 lt_cv_deplibs_check_method=pass_all
4359 case $host_vendor in
4361 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]'
4362 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4365 lt_cv_deplibs_check_method=pass_all
4368 lt_cv_file_magic_cmd='/bin/file'
4369 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4372 lt_cv_file_magic_cmd='/bin/file'
4373 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4374 lt_cv_file_magic_test_file=/lib/libc.so
4377 lt_cv_deplibs_check_method=pass_all
4380 lt_cv_deplibs_check_method=pass_all
4386 lt_cv_deplibs_check_method=pass_all
4391 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4392 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4393 file_magic_cmd=$lt_cv_file_magic_cmd
4394 deplibs_check_method=$lt_cv_deplibs_check_method
4395 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4408 if test -n "$ac_tool_prefix"; then
4409 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4410 set dummy ${ac_tool_prefix}ar; ac_word=$2
4411 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4412 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4413 if test "${ac_cv_prog_AR+set}" = set; then
4414 echo $ECHO_N "(cached
) $ECHO_C" >&6
4416 if test -n "$AR"; then
4417 ac_cv_prog_AR="$AR" # Let the user override the test.
4419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423 test -z "$as_dir" && as_dir=.
4424 for ac_exec_ext in '' $ac_executable_extensions; do
4425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4426 ac_cv_prog_AR="${ac_tool_prefix}ar"
4427 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4436 if test -n "$AR"; then
4437 echo "$as_me:$LINENO: result
: $AR" >&5
4438 echo "${ECHO_T}$AR" >&6
4440 echo "$as_me:$LINENO: result
: no
" >&5
4441 echo "${ECHO_T}no
" >&6
4445 if test -z "$ac_cv_prog_AR"; then
4447 # Extract the first word of "ar", so it can be a program name with args.
4448 set dummy ar; ac_word=$2
4449 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4450 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4451 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4452 echo $ECHO_N "(cached
) $ECHO_C" >&6
4454 if test -n "$ac_ct_AR"; then
4455 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir=.
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4464 ac_cv_prog_ac_ct_AR="ar"
4465 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4471 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
4474 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4475 if test -n "$ac_ct_AR"; then
4476 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4477 echo "${ECHO_T}$ac_ct_AR" >&6
4479 echo "$as_me:$LINENO: result
: no
" >&5
4480 echo "${ECHO_T}no
" >&6
4488 test -z "$AR" && AR=ar
4489 test -z "$AR_FLAGS" && AR_FLAGS=cru
4501 if test -n "$ac_tool_prefix"; then
4502 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4503 set dummy ${ac_tool_prefix}strip; ac_word=$2
4504 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4505 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4506 if test "${ac_cv_prog_STRIP+set}" = set; then
4507 echo $ECHO_N "(cached
) $ECHO_C" >&6
4509 if test -n "$STRIP"; then
4510 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 test -z "$as_dir" && as_dir=.
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4519 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4520 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4528 STRIP=$ac_cv_prog_STRIP
4529 if test -n "$STRIP"; then
4530 echo "$as_me:$LINENO: result
: $STRIP" >&5
4531 echo "${ECHO_T}$STRIP" >&6
4533 echo "$as_me:$LINENO: result
: no
" >&5
4534 echo "${ECHO_T}no
" >&6
4538 if test -z "$ac_cv_prog_STRIP"; then
4540 # Extract the first word of "strip
", so it can be a program name with args.
4541 set dummy strip; ac_word=$2
4542 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4543 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4544 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4545 echo $ECHO_N "(cached
) $ECHO_C" >&6
4547 if test -n "$ac_ct_STRIP"; then
4548 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 test -z "$as_dir" && as_dir=.
4555 for ac_exec_ext in '' $ac_executable_extensions; do
4556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4557 ac_cv_prog_ac_ct_STRIP="strip
"
4558 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4564 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4567 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4568 if test -n "$ac_ct_STRIP"; then
4569 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
4570 echo "${ECHO_T}$ac_ct_STRIP" >&6
4572 echo "$as_me:$LINENO: result
: no
" >&5
4573 echo "${ECHO_T}no
" >&6
4578 STRIP="$ac_cv_prog_STRIP"
4581 test -z "$STRIP" && STRIP=:
4588 if test -n "$ac_tool_prefix"; then
4589 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4590 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4591 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4592 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4593 if test "${ac_cv_prog_RANLIB+set}" = set; then
4594 echo $ECHO_N "(cached
) $ECHO_C" >&6
4596 if test -n "$RANLIB"; then
4597 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 test -z "$as_dir" && as_dir=.
4604 for ac_exec_ext in '' $ac_executable_extensions; do
4605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4606 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4607 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4615 RANLIB=$ac_cv_prog_RANLIB
4616 if test -n "$RANLIB"; then
4617 echo "$as_me:$LINENO: result
: $RANLIB" >&5
4618 echo "${ECHO_T}$RANLIB" >&6
4620 echo "$as_me:$LINENO: result
: no
" >&5
4621 echo "${ECHO_T}no
" >&6
4625 if test -z "$ac_cv_prog_RANLIB"; then
4626 ac_ct_RANLIB=$RANLIB
4627 # Extract the first word of "ranlib
", so it can be a program name with args.
4628 set dummy ranlib; ac_word=$2
4629 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4630 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4631 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4632 echo $ECHO_N "(cached
) $ECHO_C" >&6
4634 if test -n "$ac_ct_RANLIB"; then
4635 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 test -z "$as_dir" && as_dir=.
4642 for ac_exec_ext in '' $ac_executable_extensions; do
4643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4644 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4645 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4651 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4654 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4655 if test -n "$ac_ct_RANLIB"; then
4656 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4657 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4659 echo "$as_me:$LINENO: result
: no
" >&5
4660 echo "${ECHO_T}no
" >&6
4663 RANLIB=$ac_ct_RANLIB
4665 RANLIB="$ac_cv_prog_RANLIB"
4668 test -z "$RANLIB" && RANLIB=:
4675 # Determine commands to create old-style static archives.
4676 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4677 old_postinstall_cmds='chmod 644 $oldlib'
4678 old_postuninstall_cmds=
4680 if test -n "$RANLIB"; then
4683 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4686 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4689 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4725 # If no C compiler was specified, use CC.
4728 # If no C compiler flags were specified, use CFLAGS.
4729 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4731 # Allow CC to be a program name with arguments.
4735 # Check for command to grab the raw symbol name followed by C symbol from nm.
4736 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
4737 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
4738 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4739 echo $ECHO_N "(cached
) $ECHO_C" >&6
4742 # These are sane defaults that work on at least a few old systems.
4743 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4745 # Character class describing NM global symbol codes.
4746 symcode='[BCDEGRST]'
4748 # Regexp to match symbols that can be accessed directly from C.
4749 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4751 # Define system-specific variables.
4756 cygwin* | mingw* | pw32* | cegcc*)
4757 symcode='[ABCDGISTW]'
4760 if test "$host_cpu" = ia64; then
4761 symcode='[ABCDEGRST]'
4765 symcode='[BCDEGRST]'
4768 symcode='[BCDEGQRST]'
4779 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4787 # If we're using GNU nm, then use its standard symbol codes.
4788 case `$NM -V 2>&1` in
4789 *GNU* | *'with BFD'*)
4790 symcode='[ABCDGIRSTW]' ;;
4793 # Transform an extracted symbol line into a proper C declaration.
4794 # Some systems (esp. on ia64) link data and code symbols differently,
4795 # so use this general approach.
4796 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4798 # Transform an extracted symbol line into symbol name and symbol address
4799 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4800 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
4802 # Handle CRLF in mingw tool chain
4806 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4810 # Try without a prefix underscore, then with it.
4811 for ac_symprfx in "" "_
"; do
4813 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4814 symxfrm="\\1 $ac_symprfx\\2 \\2"
4816 # Write the raw and C identifiers.
4817 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4818 # Fake it for dumpbin and say T for any non-static function
4819 # and D for any global variable.
4820 # Also find C++ and __fastcall symbols from MSVC++,
4821 # which start with @ or ?.
4822 lt_cv_sys_global_symbol_pipe="$AWK '"\
4823 " {last_section=section; section=\$ 3};"\
4824 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4825 " \$ 0!~/External *\|/{next};"\
4826 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4827 " {if(hide[section]) next};"\
4828 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4829 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4830 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4831 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4832 " ' prfx
=^
$ac_symprfx"
4834 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4837 # Check to see that the pipe works correctly.
4841 cat > conftest.$ac_ext <<_LT_EOF
4846 void nm_test_func(void);
4847 void nm_test_func(void){}
4851 int main(){nm_test_var='a';nm_test_func();return(0);}
4854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4855 (eval $ac_compile) 2>&5
4857 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4858 (exit $ac_status); }; then
4859 # Now try to grab the symbols.
4861 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
4862 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4864 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4865 (exit $ac_status); } && test -s "$nlist"; then
4866 # Try sorting and uniquifying the output.
4867 if sort "$nlist" | uniq > "$nlist"T; then
4868 mv -f "$nlist"T "$nlist"
4873 # Make sure that we snagged all the symbols we need.
4874 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4875 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4876 cat <<_LT_EOF > conftest.$ac_ext
4882 # Now generate the symbol file.
4883 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4885 cat <<_LT_EOF >> conftest.$ac_ext
4887 /* The mapping between symbol names and symbols. */
4892 lt__PROGRAM__LTX_preloaded_symbols[] =
4894 { "@PROGRAM@
", (void *) 0 },
4896 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4897 cat <<\_LT_EOF >> conftest.$ac_ext
4901 /* This works around a problem in FreeBSD linker */
4902 #ifdef FREEBSD_WORKAROUND
4903 static const void *lt_preloaded_setup() {
4904 return lt__PROGRAM__LTX_preloaded_symbols;
4912 # Now try linking the two files.
4913 mv conftest.$ac_objext conftstm.$ac_objext
4914 lt_save_LIBS="$LIBS"
4915 lt_save_CFLAGS="$CFLAGS"
4916 LIBS="conftstm.
$ac_objext"
4917 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4919 (eval $ac_link) 2>&5
4921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4922 (exit $ac_status); } && test -s conftest${ac_exeext}; then
4925 LIBS="$lt_save_LIBS"
4926 CFLAGS="$lt_save_CFLAGS"
4928 echo "cannot
find nm_test_func
in $nlist" >&5
4931 echo "cannot
find nm_test_var
in $nlist" >&5
4934 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
4937 echo "$progname: failed program was
:" >&5
4938 cat conftest.$ac_ext >&5
4940 rm -rf conftest* conftst*
4942 # Do not use the global_symbol_pipe unless it works.
4943 if test "$pipe_works" = yes; then
4946 lt_cv_sys_global_symbol_pipe=
4952 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4953 lt_cv_sys_global_symbol_to_cdecl=
4955 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4956 echo "$as_me:$LINENO: result
: failed
" >&5
4957 echo "${ECHO_T}failed
" >&6
4959 echo "$as_me:$LINENO: result
: ok
" >&5
4960 echo "${ECHO_T}ok
" >&6
4985 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4986 if test "${enable_libtool_lock+set}" = set; then
4987 enableval="$enable_libtool_lock"
4990 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4992 # Some flags need to be propagated to the compiler or linker for good
4996 # Find out which ABI we are using.
4997 echo 'int i;' > conftest.$ac_ext
4998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4999 (eval $ac_compile) 2>&5
5001 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5002 (exit $ac_status); }; then
5003 case `/usr/bin/file conftest.$ac_objext` in
5015 # Find out which ABI we are using.
5016 echo '#line 5016 "configure
"' > conftest.$ac_ext
5017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5018 (eval $ac_compile) 2>&5
5020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5021 (exit $ac_status); }; then
5022 if test "$lt_cv_prog_gnu_ld" = yes; then
5023 case `/usr/bin/file conftest.$ac_objext` in
5025 LD="${LD-ld} -melf32bsmip"
5028 LD="${LD-ld} -melf32bmipn32"
5031 LD="${LD-ld} -melf64bmip"
5035 case `/usr/bin/file conftest.$ac_objext` in
5051 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5052 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5053 # Find out which ABI we are using.
5054 echo 'int i;' > conftest.$ac_ext
5055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5056 (eval $ac_compile) 2>&5
5058 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5059 (exit $ac_status); }; then
5060 case `/usr/bin/file conftest.o` in
5063 x86_64-*kfreebsd*-gnu)
5064 LD="${LD-ld} -m elf_i386_fbsd
"
5067 LD="${LD-ld} -m elf_i386
"
5069 ppc64-*linux*|powerpc64-*linux*)
5070 LD="${LD-ld} -m elf32ppclinux
"
5073 LD="${LD-ld} -m elf_s390
"
5076 LD="${LD-ld} -m elf32_sparc
"
5082 x86_64-*kfreebsd*-gnu)
5083 LD="${LD-ld} -m elf_x86_64_fbsd
"
5086 LD="${LD-ld} -m elf_x86_64
"
5088 ppc*-*linux*|powerpc*-*linux*)
5089 LD="${LD-ld} -m elf64ppc
"
5091 s390*-*linux*|s390*-*tpf*)
5092 LD="${LD-ld} -m elf64_s390
"
5095 LD="${LD-ld} -m elf64_sparc
"
5105 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5106 SAVE_CFLAGS="$CFLAGS"
5107 CFLAGS="$CFLAGS -belf"
5108 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5109 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5110 if test "${lt_cv_cc_needs_belf+set}" = set; then
5111 echo $ECHO_N "(cached
) $ECHO_C" >&6
5114 ac_cpp='$CPP $CPPFLAGS'
5115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119 if test x$gcc_no_link = xyes; then
5120 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
5121 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
5122 { (exit 1); exit 1; }; }
5124 cat >conftest.$ac_ext <<_ACEOF
5127 cat confdefs.h >>conftest.$ac_ext
5128 cat >>conftest.$ac_ext <<_ACEOF
5129 /* end confdefs.h. */
5139 rm -f conftest.$ac_objext conftest$ac_exeext
5140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5141 (eval $ac_link) 2>conftest.er1
5143 grep -v '^ *+' conftest.er1 >conftest.err
5145 cat conftest.err >&5
5146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5147 (exit $ac_status); } &&
5148 { ac_try='test -z "$ac_c_werror_flag"
5149 || test ! -s conftest.err'
5150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5154 (exit $ac_status); }; } &&
5155 { ac_try='test -s conftest$ac_exeext'
5156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5159 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5160 (exit $ac_status); }; }; then
5161 lt_cv_cc_needs_belf=yes
5163 echo "$as_me: failed program was
:" >&5
5164 sed 's/^/| /' conftest.$ac_ext >&5
5166 lt_cv_cc_needs_belf=no
5168 rm -f conftest.err conftest.$ac_objext \
5169 conftest$ac_exeext conftest.$ac_ext
5171 ac_cpp='$CPP $CPPFLAGS'
5172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5177 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5178 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5179 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5180 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5181 CFLAGS="$SAVE_CFLAGS"
5185 # Find out which ABI we are using.
5186 echo 'int i;' > conftest.$ac_ext
5187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5188 (eval $ac_compile) 2>&5
5190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5191 (exit $ac_status); }; then
5192 case `/usr/bin/file conftest.o` in
5194 case $lt_cv_prog_gnu_ld in
5195 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5197 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5209 need_locks="$enable_libtool_lock"
5213 rhapsody* | darwin*)
5214 if test -n "$ac_tool_prefix"; then
5215 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5216 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5217 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5218 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5219 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5220 echo $ECHO_N "(cached
) $ECHO_C" >&6
5222 if test -n "$DSYMUTIL"; then
5223 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 test -z "$as_dir" && as_dir=.
5230 for ac_exec_ext in '' $ac_executable_extensions; do
5231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5232 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5233 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5241 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5242 if test -n "$DSYMUTIL"; then
5243 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5244 echo "${ECHO_T}$DSYMUTIL" >&6
5246 echo "$as_me:$LINENO: result
: no
" >&5
5247 echo "${ECHO_T}no
" >&6
5251 if test -z "$ac_cv_prog_DSYMUTIL"; then
5252 ac_ct_DSYMUTIL=$DSYMUTIL
5253 # Extract the first word of "dsymutil
", so it can be a program name with args.
5254 set dummy dsymutil; ac_word=$2
5255 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5256 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5257 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5258 echo $ECHO_N "(cached
) $ECHO_C" >&6
5260 if test -n "$ac_ct_DSYMUTIL"; then
5261 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 test -z "$as_dir" && as_dir=.
5268 for ac_exec_ext in '' $ac_executable_extensions; do
5269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5270 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5271 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5277 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5280 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5281 if test -n "$ac_ct_DSYMUTIL"; then
5282 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5283 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
5285 echo "$as_me:$LINENO: result
: no
" >&5
5286 echo "${ECHO_T}no
" >&6
5289 DSYMUTIL=$ac_ct_DSYMUTIL
5291 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5294 if test -n "$ac_tool_prefix"; then
5295 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5296 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5297 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5298 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5299 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5300 echo $ECHO_N "(cached
) $ECHO_C" >&6
5302 if test -n "$NMEDIT"; then
5303 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5312 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5313 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5321 NMEDIT=$ac_cv_prog_NMEDIT
5322 if test -n "$NMEDIT"; then
5323 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
5324 echo "${ECHO_T}$NMEDIT" >&6
5326 echo "$as_me:$LINENO: result
: no
" >&5
5327 echo "${ECHO_T}no
" >&6
5331 if test -z "$ac_cv_prog_NMEDIT"; then
5332 ac_ct_NMEDIT=$NMEDIT
5333 # Extract the first word of "nmedit
", so it can be a program name with args.
5334 set dummy nmedit; ac_word=$2
5335 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5336 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5337 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5338 echo $ECHO_N "(cached
) $ECHO_C" >&6
5340 if test -n "$ac_ct_NMEDIT"; then
5341 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir=.
5348 for ac_exec_ext in '' $ac_executable_extensions; do
5349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5350 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5351 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5357 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
5360 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5361 if test -n "$ac_ct_NMEDIT"; then
5362 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
5363 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
5365 echo "$as_me:$LINENO: result
: no
" >&5
5366 echo "${ECHO_T}no
" >&6
5369 NMEDIT=$ac_ct_NMEDIT
5371 NMEDIT="$ac_cv_prog_NMEDIT"
5374 if test -n "$ac_tool_prefix"; then
5375 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5376 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5377 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5378 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5379 if test "${ac_cv_prog_LIPO+set}" = set; then
5380 echo $ECHO_N "(cached
) $ECHO_C" >&6
5382 if test -n "$LIPO"; then
5383 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
5393 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5401 LIPO=$ac_cv_prog_LIPO
5402 if test -n "$LIPO"; then
5403 echo "$as_me:$LINENO: result
: $LIPO" >&5
5404 echo "${ECHO_T}$LIPO" >&6
5406 echo "$as_me:$LINENO: result
: no
" >&5
5407 echo "${ECHO_T}no
" >&6
5411 if test -z "$ac_cv_prog_LIPO"; then
5413 # Extract the first word of "lipo
", so it can be a program name with args.
5414 set dummy lipo; ac_word=$2
5415 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5416 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5417 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5418 echo $ECHO_N "(cached
) $ECHO_C" >&6
5420 if test -n "$ac_ct_LIPO"; then
5421 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 test -z "$as_dir" && as_dir=.
5428 for ac_exec_ext in '' $ac_executable_extensions; do
5429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5430 ac_cv_prog_ac_ct_LIPO="lipo
"
5431 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5437 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
5440 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5441 if test -n "$ac_ct_LIPO"; then
5442 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
5443 echo "${ECHO_T}$ac_ct_LIPO" >&6
5445 echo "$as_me:$LINENO: result
: no
" >&5
5446 echo "${ECHO_T}no
" >&6
5451 LIPO="$ac_cv_prog_LIPO"
5454 if test -n "$ac_tool_prefix"; then
5455 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
5456 set dummy ${ac_tool_prefix}otool; ac_word=$2
5457 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5458 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5459 if test "${ac_cv_prog_OTOOL+set}" = set; then
5460 echo $ECHO_N "(cached
) $ECHO_C" >&6
5462 if test -n "$OTOOL"; then
5463 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
5473 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5481 OTOOL=$ac_cv_prog_OTOOL
5482 if test -n "$OTOOL"; then
5483 echo "$as_me:$LINENO: result
: $OTOOL" >&5
5484 echo "${ECHO_T}$OTOOL" >&6
5486 echo "$as_me:$LINENO: result
: no
" >&5
5487 echo "${ECHO_T}no
" >&6
5491 if test -z "$ac_cv_prog_OTOOL"; then
5493 # Extract the first word of "otool
", so it can be a program name with args.
5494 set dummy otool; ac_word=$2
5495 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5496 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5497 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5498 echo $ECHO_N "(cached
) $ECHO_C" >&6
5500 if test -n "$ac_ct_OTOOL"; then
5501 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5510 ac_cv_prog_ac_ct_OTOOL="otool
"
5511 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5517 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
5520 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5521 if test -n "$ac_ct_OTOOL"; then
5522 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
5523 echo "${ECHO_T}$ac_ct_OTOOL" >&6
5525 echo "$as_me:$LINENO: result
: no
" >&5
5526 echo "${ECHO_T}no
" >&6
5531 OTOOL="$ac_cv_prog_OTOOL"
5534 if test -n "$ac_tool_prefix"; then
5535 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
5536 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5537 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5538 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5539 if test "${ac_cv_prog_OTOOL64+set}" = set; then
5540 echo $ECHO_N "(cached
) $ECHO_C" >&6
5542 if test -n "$OTOOL64"; then
5543 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 test -z "$as_dir" && as_dir=.
5550 for ac_exec_ext in '' $ac_executable_extensions; do
5551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5552 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
5553 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5561 OTOOL64=$ac_cv_prog_OTOOL64
5562 if test -n "$OTOOL64"; then
5563 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
5564 echo "${ECHO_T}$OTOOL64" >&6
5566 echo "$as_me:$LINENO: result
: no
" >&5
5567 echo "${ECHO_T}no
" >&6
5571 if test -z "$ac_cv_prog_OTOOL64"; then
5572 ac_ct_OTOOL64=$OTOOL64
5573 # Extract the first word of "otool64
", so it can be a program name with args.
5574 set dummy otool64; ac_word=$2
5575 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5576 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5577 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
5578 echo $ECHO_N "(cached
) $ECHO_C" >&6
5580 if test -n "$ac_ct_OTOOL64"; then
5581 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 test -z "$as_dir" && as_dir=.
5588 for ac_exec_ext in '' $ac_executable_extensions; do
5589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5590 ac_cv_prog_ac_ct_OTOOL64="otool64
"
5591 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5597 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
5600 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5601 if test -n "$ac_ct_OTOOL64"; then
5602 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
5603 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
5605 echo "$as_me:$LINENO: result
: no
" >&5
5606 echo "${ECHO_T}no
" >&6
5609 OTOOL64=$ac_ct_OTOOL64
5611 OTOOL64="$ac_cv_prog_OTOOL64"
5640 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
5641 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
5642 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
5643 echo $ECHO_N "(cached
) $ECHO_C" >&6
5645 lt_cv_apple_cc_single_mod=no
5646 if test -z "${LT_MULTI_MODULE}"; then
5647 # By default we will add the -single_module flag. You can override
5648 # by either setting the environment variable LT_MULTI_MODULE
5649 # non-empty at configure time, or by adding -multi_module to the
5651 rm -rf libconftest.dylib*
5652 echo "int foo
(void
){return 1;}" > conftest.c
5653 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5654 -dynamiclib -Wl,-single_module conftest.c
" >&5
5655 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5656 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5658 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5659 lt_cv_apple_cc_single_mod=yes
5661 cat conftest.err >&5
5663 rm -rf libconftest.dylib*
5667 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
5668 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
5669 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
5670 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
5671 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
5672 echo $ECHO_N "(cached
) $ECHO_C" >&6
5674 lt_cv_ld_exported_symbols_list=no
5675 save_LDFLAGS=$LDFLAGS
5676 echo "_main
" > conftest.sym
5677 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
5678 if test x$gcc_no_link = xyes; then
5679 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
5680 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
5681 { (exit 1); exit 1; }; }
5683 cat >conftest.$ac_ext <<_ACEOF
5686 cat confdefs.h >>conftest.$ac_ext
5687 cat >>conftest.$ac_ext <<_ACEOF
5688 /* end confdefs.h. */
5698 rm -f conftest.$ac_objext conftest$ac_exeext
5699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5700 (eval $ac_link) 2>conftest.er1
5702 grep -v '^ *+' conftest.er1 >conftest.err
5704 cat conftest.err >&5
5705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5706 (exit $ac_status); } &&
5707 { ac_try='test -z "$ac_c_werror_flag"
5708 || test ! -s conftest.err'
5709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5712 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5713 (exit $ac_status); }; } &&
5714 { ac_try='test -s conftest$ac_exeext'
5715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5719 (exit $ac_status); }; }; then
5720 lt_cv_ld_exported_symbols_list=yes
5722 echo "$as_me: failed program was
:" >&5
5723 sed 's/^/| /' conftest.$ac_ext >&5
5725 lt_cv_ld_exported_symbols_list=no
5727 rm -f conftest.err conftest.$ac_objext \
5728 conftest$ac_exeext conftest.$ac_ext
5729 LDFLAGS="$save_LDFLAGS"
5732 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
5733 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
5735 rhapsody* | darwin1.[012])
5736 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5738 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5739 darwin*) # darwin 5.x on
5740 # if running on 10.5 or later, the deployment target defaults
5741 # to the OS version, if on x86, and 10.4, the deployment
5742 # target defaults to 10.4. Don't you love it?
5743 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5744 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5745 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5747 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5749 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5753 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5754 _lt_dar_single_mod='$single_module'
5756 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5757 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5759 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5761 if test "$DSYMUTIL" != ":"; then
5762 _lt_dsymutil='~$DSYMUTIL $lib || :'
5770 ac_cpp='$CPP $CPPFLAGS'
5771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5774 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5775 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5776 # On Suns, sometimes $CPP names a directory.
5777 if test -n "$CPP" && test -d "$CPP"; then
5780 if test -z "$CPP"; then
5781 if test "${ac_cv_prog_CPP+set}" = set; then
5782 echo $ECHO_N "(cached
) $ECHO_C" >&6
5784 # Double quotes because CPP needs to be expanded
5785 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5788 for ac_c_preproc_warn_flag in '' yes
5790 # Use a header file that comes with gcc, so configuring glibc
5791 # with a fresh cross-compiler works.
5792 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5793 # <limits.h> exists even on freestanding compilers.
5794 # On the NeXT, cc -E runs the code through the compiler's parser,
5795 # not just through cpp. "Syntax error
" is here to catch this case.
5796 cat >conftest.$ac_ext <<_ACEOF
5799 cat confdefs.h >>conftest.$ac_ext
5800 cat >>conftest.$ac_ext <<_ACEOF
5801 /* end confdefs.h. */
5803 # include <limits.h>
5805 # include <assert.h>
5809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5810 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5812 grep -v '^ *+' conftest.er1 >conftest.err
5814 cat conftest.err >&5
5815 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5816 (exit $ac_status); } >/dev/null; then
5817 if test -s conftest.err; then
5818 ac_cpp_err=$ac_c_preproc_warn_flag
5819 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5826 if test -z "$ac_cpp_err"; then
5829 echo "$as_me: failed program was
:" >&5
5830 sed 's/^/| /' conftest.$ac_ext >&5
5832 # Broken: fails on valid input.
5835 rm -f conftest.err conftest.$ac_ext
5837 # OK, works on sane cases. Now check whether non-existent headers
5838 # can be detected and how.
5839 cat >conftest.$ac_ext <<_ACEOF
5842 cat confdefs.h >>conftest.$ac_ext
5843 cat >>conftest.$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5845 #include <ac_nonexistent.h>
5847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5850 grep -v '^ *+' conftest.er1 >conftest.err
5852 cat conftest.err >&5
5853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5854 (exit $ac_status); } >/dev/null; then
5855 if test -s conftest.err; then
5856 ac_cpp_err=$ac_c_preproc_warn_flag
5857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5864 if test -z "$ac_cpp_err"; then
5865 # Broken: success on invalid input.
5868 echo "$as_me: failed program was
:" >&5
5869 sed 's/^/| /' conftest.$ac_ext >&5
5871 # Passes both tests.
5875 rm -f conftest.err conftest.$ac_ext
5878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5879 rm -f conftest.err conftest.$ac_ext
5880 if $ac_preproc_ok; then
5892 echo "$as_me:$LINENO: result
: $CPP" >&5
5893 echo "${ECHO_T}$CPP" >&6
5895 for ac_c_preproc_warn_flag in '' yes
5897 # Use a header file that comes with gcc, so configuring glibc
5898 # with a fresh cross-compiler works.
5899 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5900 # <limits.h> exists even on freestanding compilers.
5901 # On the NeXT, cc -E runs the code through the compiler's parser,
5902 # not just through cpp. "Syntax error
" is here to catch this case.
5903 cat >conftest.$ac_ext <<_ACEOF
5906 cat confdefs.h >>conftest.$ac_ext
5907 cat >>conftest.$ac_ext <<_ACEOF
5908 /* end confdefs.h. */
5910 # include <limits.h>
5912 # include <assert.h>
5916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5919 grep -v '^ *+' conftest.er1 >conftest.err
5921 cat conftest.err >&5
5922 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5923 (exit $ac_status); } >/dev/null; then
5924 if test -s conftest.err; then
5925 ac_cpp_err=$ac_c_preproc_warn_flag
5926 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5933 if test -z "$ac_cpp_err"; then
5936 echo "$as_me: failed program was
:" >&5
5937 sed 's/^/| /' conftest.$ac_ext >&5
5939 # Broken: fails on valid input.
5942 rm -f conftest.err conftest.$ac_ext
5944 # OK, works on sane cases. Now check whether non-existent headers
5945 # can be detected and how.
5946 cat >conftest.$ac_ext <<_ACEOF
5949 cat confdefs.h >>conftest.$ac_ext
5950 cat >>conftest.$ac_ext <<_ACEOF
5951 /* end confdefs.h. */
5952 #include <ac_nonexistent.h>
5954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5955 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5957 grep -v '^ *+' conftest.er1 >conftest.err
5959 cat conftest.err >&5
5960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5961 (exit $ac_status); } >/dev/null; then
5962 if test -s conftest.err; then
5963 ac_cpp_err=$ac_c_preproc_warn_flag
5964 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5971 if test -z "$ac_cpp_err"; then
5972 # Broken: success on invalid input.
5975 echo "$as_me: failed program was
:" >&5
5976 sed 's/^/| /' conftest.$ac_ext >&5
5978 # Passes both tests.
5982 rm -f conftest.err conftest.$ac_ext
5985 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5986 rm -f conftest.err conftest.$ac_ext
5987 if $ac_preproc_ok; then
5990 { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
5991 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5992 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5993 See \`config.log' for more details.
" >&5
5994 echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
5995 See \
`config.log' for more details." >&2;}
5996 { (exit 1); exit 1; }; }; }
6000 ac_cpp='$CPP $CPPFLAGS'
6001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6006 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6007 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6008 if test "${ac_cv_header_stdc+set}" = set; then
6009 echo $ECHO_N "(cached) $ECHO_C" >&6
6011 cat >conftest.$ac_ext <<_ACEOF
6014 cat confdefs.h >>conftest.$ac_ext
6015 cat >>conftest.$ac_ext <<_ACEOF
6016 /* end confdefs.h. */
6030 rm -f conftest.$ac_objext
6031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6032 (eval $ac_compile) 2>conftest.er1
6034 grep -v '^ *+' conftest.er1 >conftest.err
6036 cat conftest.err >&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); } &&
6039 { ac_try='test -z "$ac_c_werror_flag"
6040 || test ! -s conftest.err'
6041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; } &&
6046 { ac_try='test -s conftest.$ac_objext'
6047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); }; }; then
6052 ac_cv_header_stdc=yes
6054 echo "$as_me: failed program was:" >&5
6055 sed 's/^/| /' conftest.$ac_ext >&5
6057 ac_cv_header_stdc=no
6059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6061 if test $ac_cv_header_stdc = yes; then
6062 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6063 cat >conftest.$ac_ext <<_ACEOF
6066 cat confdefs.h >>conftest.$ac_ext
6067 cat >>conftest.$ac_ext <<_ACEOF
6068 /* end confdefs.h. */
6072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6073 $EGREP "memchr" >/dev/null 2>&1; then
6076 ac_cv_header_stdc=no
6082 if test $ac_cv_header_stdc = yes; then
6083 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6084 cat >conftest.$ac_ext <<_ACEOF
6087 cat confdefs.h >>conftest.$ac_ext
6088 cat >>conftest.$ac_ext <<_ACEOF
6089 /* end confdefs.h. */
6093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6094 $EGREP "free" >/dev/null 2>&1; then
6097 ac_cv_header_stdc=no
6103 if test $ac_cv_header_stdc = yes; then
6104 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6105 if test "$cross_compiling" = yes; then
6108 cat >conftest.$ac_ext <<_ACEOF
6111 cat confdefs.h >>conftest.$ac_ext
6112 cat >>conftest.$ac_ext <<_ACEOF
6113 /* end confdefs.h. */
6115 #if ((' ' & 0x0FF) == 0x020)
6116 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6117 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6119 # define ISLOWER(c) \
6120 (('a' <= (c) && (c) <= 'i') \
6121 || ('j' <= (c) && (c) <= 'r') \
6122 || ('s' <= (c) && (c) <= 'z'))
6123 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6126 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6131 for (i = 0; i < 256; i++)
6132 if (XOR (islower (i), ISLOWER (i))
6133 || toupper (i) != TOUPPER (i))
6138 rm -f conftest$ac_exeext
6139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6140 (eval $ac_link) 2>&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148 (exit $ac_status); }; }; then
6151 echo "$as_me: program exited with status $ac_status" >&5
6152 echo "$as_me: failed program was:" >&5
6153 sed 's/^/| /' conftest.$ac_ext >&5
6156 ac_cv_header_stdc=no
6158 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6162 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6163 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6164 if test $ac_cv_header_stdc = yes; then
6166 cat >>confdefs.h <<\_ACEOF
6167 #define STDC_HEADERS 1
6172 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6182 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6183 inttypes.h stdint.h unistd.h
6185 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6186 echo "$as_me:$LINENO: checking for $ac_header" >&5
6187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6189 echo $ECHO_N "(cached) $ECHO_C" >&6
6191 cat >conftest.$ac_ext <<_ACEOF
6194 cat confdefs.h >>conftest.$ac_ext
6195 cat >>conftest.$ac_ext <<_ACEOF
6196 /* end confdefs.h. */
6197 $ac_includes_default
6199 #include <$ac_header>
6201 rm -f conftest.$ac_objext
6202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6203 (eval $ac_compile) 2>conftest.er1
6205 grep -v '^ *+' conftest.er1 >conftest.err
6207 cat conftest.err >&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } &&
6210 { ac_try='test -z "$ac_c_werror_flag"
6211 || test ! -s conftest.err'
6212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); }; } &&
6217 { ac_try='test -s conftest.$ac_objext'
6218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); }; }; then
6223 eval "$as_ac_Header=yes"
6225 echo "$as_me: failed program was:" >&5
6226 sed 's/^/| /' conftest.$ac_ext >&5
6228 eval "$as_ac_Header=no"
6230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6235 cat >>confdefs.h <<_ACEOF
6236 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6245 for ac_header in dlfcn.h
6247 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6248 echo "$as_me:$LINENO: checking for $ac_header" >&5
6249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6251 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 cat >conftest.$ac_ext <<_ACEOF
6256 cat confdefs.h >>conftest.$ac_ext
6257 cat >>conftest.$ac_ext <<_ACEOF
6258 /* end confdefs.h. */
6259 $ac_includes_default
6261 #include <$ac_header>
6263 rm -f conftest.$ac_objext
6264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6265 (eval $ac_compile) 2>conftest.er1
6267 grep -v '^ *+' conftest.er1 >conftest.err
6269 cat conftest.err >&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); } &&
6272 { ac_try='test -z "$ac_c_werror_flag"
6273 || test ! -s conftest.err'
6274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); }; } &&
6279 { ac_try='test -s conftest.$ac_objext'
6280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); }; }; then
6285 eval "$as_ac_Header=yes"
6287 echo "$as_me: failed program was:" >&5
6288 sed 's/^/| /' conftest.$ac_ext >&5
6290 eval "$as_ac_Header=no"
6292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6297 cat >>confdefs.h <<_ACEOF
6298 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6315 # Check whether --enable-shared or --disable-shared was given.
6316 if test "${enable_shared+set}" = set; then
6317 enableval="$enable_shared"
6318 p=${PACKAGE-default}
6320 yes) enable_shared=yes ;;
6321 no) enable_shared=no ;;
6324 # Look at the argument we got. We use all the common list separators.
6325 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6326 for pkg in $enableval; do
6328 if test "X$pkg" = "X$p"; then
6346 # Check whether --enable-static or --disable-static was given.
6347 if test "${enable_static+set}" = set; then
6348 enableval="$enable_static"
6349 p=${PACKAGE-default}
6351 yes) enable_static=yes ;;
6352 no) enable_static=no ;;
6355 # Look at the argument we got. We use all the common list separators.
6356 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6357 for pkg in $enableval; do
6359 if test "X$pkg" = "X$p"; then
6378 # Check whether --with-pic or --without-pic was given.
6379 if test "${with_pic+set}" = set; then
6386 test -z "$pic_mode" && pic_mode=default
6394 # Check whether --enable-fast-install or --disable-fast-install was given.
6395 if test "${enable_fast_install+set}" = set; then
6396 enableval="$enable_fast_install"
6397 p=${PACKAGE-default}
6399 yes) enable_fast_install=yes ;;
6400 no) enable_fast_install=no ;;
6402 enable_fast_install=no
6403 # Look at the argument we got. We use all the common list separators.
6404 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6405 for pkg in $enableval; do
6407 if test "X$pkg" = "X$p"; then
6408 enable_fast_install=yes
6415 enable_fast_install=yes
6427 # This can be used to rebuild libtool when needed
6428 LIBTOOL_DEPS="$ltmain"
6430 # Always use our own libtool.
6431 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6457 test -z "$LN_S" && LN_S="ln -s"
6472 if test -n "${ZSH_VERSION+set}" ; then
6473 setopt NO_GLOB_SUBST
6476 echo "$as_me:$LINENO: checking for objdir" >&5
6477 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6478 if test "${lt_cv_objdir+set}" = set; then
6479 echo $ECHO_N "(cached) $ECHO_C" >&6
6481 rm -f .libs 2>/dev/null
6482 mkdir .libs 2>/dev/null
6483 if test -d .libs; then
6486 # MS-DOS does not allow filenames that begin with a dot.
6489 rmdir .libs 2>/dev/null
6491 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6492 echo "${ECHO_T}$lt_cv_objdir" >&6
6493 objdir=$lt_cv_objdir
6499 cat >>confdefs.h <<_ACEOF
6500 #define LT_OBJDIR "$lt_cv_objdir/"
6521 # AIX sometimes has problems with the GCC collect2 program. For some
6522 # reason, if we set the COLLECT_NAMES environment variable, the problems
6523 # vanish in a puff of smoke.
6524 if test "X${COLLECT_NAMES+set}" != Xset; then
6526 export COLLECT_NAMES
6531 # Sed substitution that helps us do robust quoting. It backslashifies
6532 # metacharacters that are still active within double-quoted strings.
6533 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6535 # Same as above, but do not quote variable references.
6536 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6538 # Sed substitution to delay expansion of an escaped shell variable in a
6539 # double_quote_subst'ed string.
6540 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6542 # Sed substitution to delay expansion of an escaped single quote.
6543 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6545 # Sed substitution to avoid accidental globbing in evaled expressions
6546 no_glob_subst='s/\*/\\\*/g'
6550 can_build_shared=yes
6552 # All known linkers require a `.a' archive for static linking (except MSVC,
6553 # which needs '.lib').
6556 with_gnu_ld="$lt_cv_prog_gnu_ld"
6559 old_CFLAGS="$CFLAGS"
6561 # Set sane defaults for various variables
6562 test -z "$CC" && CC=cc
6563 test -z "$LTCC" && LTCC=$CC
6564 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6565 test -z "$LD" && LD=ld
6566 test -z "$ac_objext" && ac_objext=o
6568 for cc_temp in $compiler""; do
6570 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6571 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6576 cc_basename=`$ECHO "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
6579 # Only perform the check for file, if the check method requires it
6580 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6581 case $deplibs_check_method in
6583 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6584 echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
6585 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6
6586 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6587 echo $ECHO_N "(cached
) $ECHO_C" >&6
6591 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6594 lt_save_MAGIC_CMD="$MAGIC_CMD"
6595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6596 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
6597 for ac_dir in $ac_dummy; do
6599 test -z "$ac_dir" && ac_dir=.
6600 if test -f $ac_dir/${ac_tool_prefix}file; then
6601 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6602 if test -n "$file_magic_test_file"; then
6603 case $deplibs_check_method in
6605 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
6606 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6607 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6608 $EGREP "$file_magic_regex" > /dev/null; then
6613 *** Warning: the command libtool uses to detect shared libraries,
6614 *** $file_magic_cmd, produces output that libtool cannot recognize.
6615 *** The result is that libtool may fail to recognize shared libraries
6616 *** as such. This will affect the creation of libtool libraries that
6617 *** depend on shared libraries, but programs linked with such libtool
6618 *** libraries will work regardless of this problem. Nevertheless, you
6619 *** may want to report the problem to your system manager and/or to
6620 *** bug-libtool@gnu.org
6630 MAGIC_CMD="$lt_save_MAGIC_CMD"
6635 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6636 if test -n "$MAGIC_CMD"; then
6637 echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
6638 echo "${ECHO_T}$MAGIC_CMD" >&6
6640 echo "$as_me:$LINENO: result
: no
" >&5
6641 echo "${ECHO_T}no
" >&6
6648 if test -z "$lt_cv_path_MAGIC_CMD"; then
6649 if test -n "$ac_tool_prefix"; then
6650 echo "$as_me:$LINENO: checking
for file" >&5
6651 echo $ECHO_N "checking
for file...
$ECHO_C" >&6
6652 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6653 echo $ECHO_N "(cached
) $ECHO_C" >&6
6657 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6660 lt_save_MAGIC_CMD="$MAGIC_CMD"
6661 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6662 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
6663 for ac_dir in $ac_dummy; do
6665 test -z "$ac_dir" && ac_dir=.
6666 if test -f $ac_dir/file; then
6667 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6668 if test -n "$file_magic_test_file"; then
6669 case $deplibs_check_method in
6671 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
6672 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6673 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6674 $EGREP "$file_magic_regex" > /dev/null; then
6679 *** Warning: the command libtool uses to detect shared libraries,
6680 *** $file_magic_cmd, produces output that libtool cannot recognize.
6681 *** The result is that libtool may fail to recognize shared libraries
6682 *** as such. This will affect the creation of libtool libraries that
6683 *** depend on shared libraries, but programs linked with such libtool
6684 *** libraries will work regardless of this problem. Nevertheless, you
6685 *** may want to report the problem to your system manager and/or to
6686 *** bug-libtool@gnu.org
6696 MAGIC_CMD="$lt_save_MAGIC_CMD"
6701 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6702 if test -n "$MAGIC_CMD"; then
6703 echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
6704 echo "${ECHO_T}$MAGIC_CMD" >&6
6706 echo "$as_me:$LINENO: result
: no
" >&5
6707 echo "${ECHO_T}no
" >&6
6720 # Use C for the default configuration in the libtool script
6724 ac_cpp='$CPP $CPPFLAGS'
6725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6730 # Source file extension for C test sources.
6733 # Object file extension for compiled C test sources.
6737 # Code to be used in simple compile tests
6738 lt_simple_compile_test_code="int some_variable
= 0;"
6740 # Code to be used in simple link tests
6741 lt_simple_link_test_code='int main(){return(0);}'
6749 # If no C compiler was specified, use CC.
6752 # If no C compiler flags were specified, use CFLAGS.
6753 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6755 # Allow CC to be a program name with arguments.
6758 # Save the default compiler, since it gets overwritten when the other
6759 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6760 compiler_DEFAULT=$CC
6762 # save warnings/boilerplate of simple test code
6763 ac_outfile=conftest.$ac_objext
6764 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6765 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6766 _lt_compiler_boilerplate=`cat conftest.err`
6769 ac_outfile=conftest.$ac_objext
6770 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6771 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6772 _lt_linker_boilerplate=`cat conftest.err`
6777 ## There is no encapsulation within the following macros, do not change
6778 ## the running order or otherwise move them around unless you know exactly
6779 ## what you are doing...
6780 if test -n "$compiler"; then
6782 lt_prog_compiler_no_builtin_flag=
6784 if test "$GCC" = yes; then
6785 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6787 echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
6788 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6
6789 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6790 echo $ECHO_N "(cached
) $ECHO_C" >&6
6792 lt_cv_prog_compiler_rtti_exceptions=no
6793 ac_outfile=conftest.$ac_objext
6794 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6795 lt_compiler_flag="-fno-rtti -fno-exceptions"
6796 # Insert the option either (1) after the last *FLAGS variable, or
6797 # (2) before a word containing "conftest.
", or (3) at the end.
6798 # Note that $ac_compile itself does not contain backslashes and begins
6799 # with a dollar sign (not a hyphen), so the echo should work correctly.
6800 # The option is referenced via a variable to avoid confusing sed.
6801 lt_compile=`echo "$ac_compile" | $SED \
6802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6804 -e 's:$: $lt_compiler_flag:'`
6805 (eval echo "\"\
$as_me:6805: $lt_compile\"" >&5)
6806 (eval "$lt_compile" 2>conftest.err)
6808 cat conftest.err >&5
6809 echo "$as_me:6809: \$?
= $ac_status" >&5
6810 if (exit $ac_status) && test -s "$ac_outfile"; then
6811 # The compiler can only warn and ignore the option if not recognized
6812 # So say no if there are warnings other than the usual output.
6813 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6815 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6816 lt_cv_prog_compiler_rtti_exceptions=yes
6822 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
6823 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6825 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6826 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6838 lt_prog_compiler_wl=
6839 lt_prog_compiler_pic=
6840 lt_prog_compiler_static=
6842 echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
6843 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6
6845 if test "$GCC" = yes; then
6846 lt_prog_compiler_wl='-Wl,'
6847 lt_prog_compiler_static='-static'
6851 # All AIX code is PIC.
6852 if test "$host_cpu" = ia64; then
6853 # AIX 5 now supports IA64 processor
6854 lt_prog_compiler_static='-Bstatic'
6861 # see comment about AmigaOS4 .so support
6862 lt_prog_compiler_pic='-fPIC'
6865 # FIXME: we need at least 68020 code to build shared libraries, but
6866 # adding the `-m68020' flag to GCC prevents building anything better,
6868 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6873 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6874 # PIC is the default for these OSes.
6877 mingw* | cygwin* | pw32* | os2* | cegcc*)
6878 # This hack is so that the source file can tell whether it is being
6879 # built for inclusion in a dll (and should export symbols for example).
6880 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6881 # (--disable-auto-import) libraries
6882 lt_prog_compiler_pic='-DDLL_EXPORT'
6885 darwin* | rhapsody*)
6886 # PIC is the default on this platform
6887 # Common symbols not allowed in MH_DYLIB files
6888 lt_prog_compiler_pic='-fno-common'
6892 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6893 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6894 # sets the default TLS model and affects inlining.
6900 lt_prog_compiler_pic='-fPIC'
6906 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6907 # Instead, we relocate shared libraries at runtime.
6911 # Just because we use GCC doesn't mean we suddenly get shared libraries
6912 # on systems that don't support them.
6913 lt_prog_compiler_can_build_shared=no
6918 # QNX uses GNU C++, but need to define -shared option too, otherwise
6920 lt_prog_compiler_pic='-fPIC -shared'
6924 if test -d /usr/nec; then
6925 lt_prog_compiler_pic=-Kconform_pic
6930 lt_prog_compiler_pic='-fPIC'
6934 # PORTME Check for flag to pass linker flags through the system compiler.
6937 lt_prog_compiler_wl='-Wl,'
6938 if test "$host_cpu" = ia64; then
6939 # AIX 5 now supports IA64 processor
6940 lt_prog_compiler_static='-Bstatic'
6942 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6946 mingw* | cygwin* | pw32* | os2* | cegcc*)
6947 # This hack is so that the source file can tell whether it is being
6948 # built for inclusion in a dll (and should export symbols for example).
6949 lt_prog_compiler_pic='-DDLL_EXPORT'
6952 hpux9* | hpux10* | hpux11*)
6953 lt_prog_compiler_wl='-Wl,'
6954 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6961 lt_prog_compiler_pic='+Z'
6964 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6965 lt_prog_compiler_static='${wl}-a ${wl}archive'
6968 irix5* | irix6* | nonstopux*)
6969 lt_prog_compiler_wl='-Wl,'
6970 # PIC (with -KPIC) is the default.
6971 lt_prog_compiler_static='-non_shared'
6974 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6975 case $cc_basename in
6976 # old Intel for x86_64 which still supported -KPIC.
6978 lt_prog_compiler_wl='-Wl,'
6979 lt_prog_compiler_pic='-KPIC'
6980 lt_prog_compiler_static='-static'
6982 # icc used to be incompatible with GCC.
6983 # ICC 10 doesn't accept -KPIC any more.
6985 lt_prog_compiler_wl='-Wl,'
6986 lt_prog_compiler_pic='-fPIC'
6987 lt_prog_compiler_static='-static'
6989 # Lahey Fortran 8.1.
6991 lt_prog_compiler_wl='-Wl,'
6992 lt_prog_compiler_pic='--shared'
6993 lt_prog_compiler_static='--static'
6995 pgcc* | pgf77* | pgf90* | pgf95*)
6996 # Portland Group compilers (*not* the Pentium gcc compiler,
6997 # which looks to be a dead project)
6998 lt_prog_compiler_wl='-Wl,'
6999 lt_prog_compiler_pic='-fpic'
7000 lt_prog_compiler_static='-Bstatic'
7003 lt_prog_compiler_wl='-Wl,'
7004 # All Alpha code is PIC.
7005 lt_prog_compiler_static='-non_shared'
7008 # IBM XL C 8.0/Fortran 10.1 on PPC
7009 lt_prog_compiler_wl='-Wl,'
7010 lt_prog_compiler_pic='-qpic'
7011 lt_prog_compiler_static='-qstaticlink'
7014 case `$CC -V 2>&1 | sed 5q` in
7017 lt_prog_compiler_pic='-KPIC'
7018 lt_prog_compiler_static='-Bstatic'
7019 lt_prog_compiler_wl='-Wl,'
7022 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7023 lt_prog_compiler_pic='-KPIC'
7024 lt_prog_compiler_static='-Bstatic'
7025 lt_prog_compiler_wl=''
7033 lt_prog_compiler_pic='-KPIC'
7034 lt_prog_compiler_static='-Bstatic'
7038 # QNX uses GNU C++, but need to define -shared option too, otherwise
7040 lt_prog_compiler_pic='-fPIC -shared'
7043 osf3* | osf4* | osf5*)
7044 lt_prog_compiler_wl='-Wl,'
7045 # All OSF/1 code is PIC.
7046 lt_prog_compiler_static='-non_shared'
7050 lt_prog_compiler_static='-non_shared'
7054 lt_prog_compiler_pic='-KPIC'
7055 lt_prog_compiler_static='-Bstatic'
7056 case $cc_basename in
7058 lt_prog_compiler_wl='-Qoption ld ';;
7060 lt_prog_compiler_wl='-Wl,';;
7065 lt_prog_compiler_wl='-Qoption ld '
7066 lt_prog_compiler_pic='-PIC'
7067 lt_prog_compiler_static='-Bstatic'
7070 sysv4 | sysv4.2uw2* | sysv4.3*)
7071 lt_prog_compiler_wl='-Wl,'
7072 lt_prog_compiler_pic='-KPIC'
7073 lt_prog_compiler_static='-Bstatic'
7077 if test -d /usr/nec ;then
7078 lt_prog_compiler_pic='-Kconform_pic'
7079 lt_prog_compiler_static='-Bstatic'
7083 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7084 lt_prog_compiler_wl='-Wl,'
7085 lt_prog_compiler_pic='-KPIC'
7086 lt_prog_compiler_static='-Bstatic'
7090 lt_prog_compiler_wl='-Wl,'
7091 lt_prog_compiler_can_build_shared=no
7095 lt_prog_compiler_pic='-pic'
7096 lt_prog_compiler_static='-Bstatic'
7100 lt_prog_compiler_can_build_shared=no
7106 # For platforms which do not support PIC, -DPIC is meaningless:
7108 lt_prog_compiler_pic=
7111 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7114 echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
7115 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7123 # Check to make sure the PIC flag actually works.
7125 if test -n "$lt_prog_compiler_pic"; then
7126 echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
7127 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6
7128 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7129 echo $ECHO_N "(cached
) $ECHO_C" >&6
7131 lt_cv_prog_compiler_pic_works=no
7132 ac_outfile=conftest.$ac_objext
7133 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7134 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7135 # Insert the option either (1) after the last *FLAGS variable, or
7136 # (2) before a word containing "conftest.
", or (3) at the end.
7137 # Note that $ac_compile itself does not contain backslashes and begins
7138 # with a dollar sign (not a hyphen), so the echo should work correctly.
7139 # The option is referenced via a variable to avoid confusing sed.
7140 lt_compile=`echo "$ac_compile" | $SED \
7141 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7142 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7143 -e 's:$: $lt_compiler_flag:'`
7144 (eval echo "\"\
$as_me:7144: $lt_compile\"" >&5)
7145 (eval "$lt_compile" 2>conftest.err)
7147 cat conftest.err >&5
7148 echo "$as_me:7148: \$?
= $ac_status" >&5
7149 if (exit $ac_status) && test -s "$ac_outfile"; then
7150 # The compiler can only warn and ignore the option if not recognized
7151 # So say no if there are warnings other than the usual output.
7152 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7153 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7154 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7155 lt_cv_prog_compiler_pic_works=yes
7161 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_pic_works" >&5
7162 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
7164 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7165 case $lt_prog_compiler_pic in
7167 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7170 lt_prog_compiler_pic=
7171 lt_prog_compiler_can_build_shared=no
7182 # Check to make sure the static flag actually works.
7184 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7185 echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
7186 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6
7187 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7188 echo $ECHO_N "(cached
) $ECHO_C" >&6
7190 lt_cv_prog_compiler_static_works=no
7191 save_LDFLAGS="$LDFLAGS"
7192 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7193 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7194 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7195 # The linker can only warn and ignore the option if not recognized
7196 # So say no if there are warnings
7197 if test -s conftest.err; then
7198 # Append any errors to the config.log.
7199 cat conftest.err 1>&5
7200 $ECHO "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7201 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7202 if diff conftest.exp conftest.er2 >/dev/null; then
7203 lt_cv_prog_compiler_static_works=yes
7206 lt_cv_prog_compiler_static_works=yes
7210 LDFLAGS="$save_LDFLAGS"
7213 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_static_works" >&5
7214 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
7216 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7219 lt_prog_compiler_static=
7228 echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7229 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6
7230 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7231 echo $ECHO_N "(cached
) $ECHO_C" >&6
7233 lt_cv_prog_compiler_c_o=no
7234 $RM -r conftest 2>/dev/null
7238 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7240 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7241 # Insert the option either (1) after the last *FLAGS variable, or
7242 # (2) before a word containing "conftest.
", or (3) at the end.
7243 # Note that $ac_compile itself does not contain backslashes and begins
7244 # with a dollar sign (not a hyphen), so the echo should work correctly.
7245 lt_compile=`echo "$ac_compile" | $SED \
7246 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7247 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7248 -e 's:$: $lt_compiler_flag:'`
7249 (eval echo "\"\
$as_me:7249: $lt_compile\"" >&5)
7250 (eval "$lt_compile" 2>out/conftest.err)
7252 cat out/conftest.err >&5
7253 echo "$as_me:7253: \$?
= $ac_status" >&5
7254 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7256 # The compiler can only warn and ignore the option if not recognized
7257 # So say no if there are warnings
7258 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7259 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7260 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7261 lt_cv_prog_compiler_c_o=yes
7266 # SGI C++ compiler will create directory out/ii_files/ for
7267 # template instantiation
7268 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7269 $RM out/* && rmdir out
7275 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
7276 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7283 echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7284 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6
7285 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7286 echo $ECHO_N "(cached
) $ECHO_C" >&6
7288 lt_cv_prog_compiler_c_o=no
7289 $RM -r conftest 2>/dev/null
7293 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7295 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7296 # Insert the option either (1) after the last *FLAGS variable, or
7297 # (2) before a word containing "conftest.
", or (3) at the end.
7298 # Note that $ac_compile itself does not contain backslashes and begins
7299 # with a dollar sign (not a hyphen), so the echo should work correctly.
7300 lt_compile=`echo "$ac_compile" | $SED \
7301 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7302 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7303 -e 's:$: $lt_compiler_flag:'`
7304 (eval echo "\"\
$as_me:7304: $lt_compile\"" >&5)
7305 (eval "$lt_compile" 2>out/conftest.err)
7307 cat out/conftest.err >&5
7308 echo "$as_me:7308: \$?
= $ac_status" >&5
7309 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7311 # The compiler can only warn and ignore the option if not recognized
7312 # So say no if there are warnings
7313 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7314 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7315 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7316 lt_cv_prog_compiler_c_o=yes
7321 # SGI C++ compiler will create directory out/ii_files/ for
7322 # template instantiation
7323 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7324 $RM out/* && rmdir out
7330 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
7331 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7336 hard_links="nottested
"
7337 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7338 # do not overwrite the value of need_locks provided by the user
7339 echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
7340 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6
7343 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7345 ln conftest.a conftest.b 2>&5 || hard_links=no
7346 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7347 echo "$as_me:$LINENO: result
: $hard_links" >&5
7348 echo "${ECHO_T}$hard_links" >&6
7349 if test "$hard_links" = no; then
7350 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
7351 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
7363 echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
7364 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6
7367 allow_undefined_flag=
7368 always_export_symbols=no
7370 archive_expsym_cmds=
7371 compiler_needs_object=no
7372 enable_shared_with_static_runtimes=no
7373 export_dynamic_flag_spec=
7374 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7375 hardcode_automatic=no
7377 hardcode_direct_absolute=no
7378 hardcode_libdir_flag_spec=
7379 hardcode_libdir_flag_spec_ld=
7380 hardcode_libdir_separator=
7382 hardcode_shlibpath_var=unsupported
7384 link_all_deplibs=unknown
7387 old_archive_from_new_cmds=
7388 old_archive_from_expsyms_cmds=
7389 thread_safe_flag_spec=
7390 whole_archive_flag_spec=
7391 # include_expsyms should be a list of space-separated symbols to be *always*
7392 # included in the symbol list
7394 # exclude_expsyms can be an extended regexp of symbols to exclude
7395 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7396 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7397 # as well as any symbol that contains `d'.
7398 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7399 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7400 # platforms (ab)use it in PIC code, but their linkers get confused if
7401 # the symbol is explicitly referenced. Since portable code cannot
7402 # rely on this symbol name, it's probably fine to never include it in
7403 # preloaded symbol tables.
7404 # Exclude shared library initialization/finalization symbols.
7405 extract_expsyms_cmds=
7408 cygwin* | mingw* | pw32* | cegcc*)
7409 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7410 # When not using gcc, we currently assume that we are using
7411 # Microsoft Visual C++.
7412 if test "$GCC" != yes; then
7417 # we just hope/assume this is gcc and not c89 (= MSVC++)
7426 if test "$with_gnu_ld" = yes; then
7427 # If archive_cmds runs LD, not CC, wlarc should be empty
7430 # Set some defaults for GNU ld with shared library support. These
7431 # are reset later if shared libraries are not supported. Putting them
7432 # here allows them to be overridden if necessary.
7433 runpath_var=LD_RUN_PATH
7434 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7435 export_dynamic_flag_spec='${wl}--export-dynamic'
7436 # ancient GNU ld didn't support --whole-archive et. al.
7437 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7438 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7440 whole_archive_flag_spec=
7442 supports_anon_versioning=no
7443 case `$LD -v 2>&1` in
7444 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7445 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7446 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7447 *\ 2.11.*) ;; # other 2.11 versions
7448 *) supports_anon_versioning=yes ;;
7451 # See if GNU ld supports shared libraries.
7454 # On AIX/PPC, the GNU linker is very broken
7455 if test "$host_cpu" != ia64; then
7459 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7460 *** to be unable to reliably create shared libraries on AIX.
7461 *** Therefore, libtool is disabling shared libraries support. If you
7462 *** really care for shared libraries, you may want to modify your PATH
7463 *** so that a non-GNU linker is found, and then restart.
7472 # see comment about AmigaOS4 .so support
7473 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7474 archive_expsym_cmds=''
7477 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)'
7478 hardcode_libdir_flag_spec
='-L$libdir'
7479 hardcode_minus_L
=yes
7485 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7486 allow_undefined_flag
=unsupported
7487 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7488 # support --undefined. This deserves some investigation. FIXME
7489 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7495 cygwin
* | mingw
* | pw32
* | cegcc
*)
7496 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7497 # as there is no search path for DLLs.
7498 hardcode_libdir_flag_spec
='-L$libdir'
7499 allow_undefined_flag
=unsupported
7500 always_export_symbols
=no
7501 enable_shared_with_static_runtimes
=yes
7502 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7504 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7505 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7506 # If the export-symbols file already is a .def file (1st line
7507 # is EXPORTS), use it as is; otherwise, prepend...
7508 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7509 cp $export_symbols $output_objdir/$soname.def;
7511 echo EXPORTS > $output_objdir/$soname.def;
7512 cat $export_symbols >> $output_objdir/$soname.def;
7514 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7522 hardcode_shlibpath_var
=no
7523 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7524 export_dynamic_flag_spec
='${wl}-E'
7525 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7526 # Instead, shared libraries are loaded at an image base (0x10000000 by
7527 # default) and relocated if they conflict, which is a slow very memory
7528 # consuming and fragmenting process. To avoid this, we pick a random,
7529 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7530 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7531 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7532 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'
7535 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7537 if test "$host_os" = linux-dietlibc
; then
7538 case $cc_basename in
7539 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7542 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7543 && test "$tmp_diet" = no
7546 tmp_sharedflag
='-shared'
7547 case $cc_basename,$host_cpu in
7548 pgcc
*) # Portland Group C compiler
7549 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'
7550 tmp_addflag
=' $pic_flag'
7552 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7553 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'
7554 tmp_addflag
=' $pic_flag -Mnomain' ;;
7555 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7556 tmp_addflag
=' -i_dynamic' ;;
7557 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7558 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7559 ifc
* | ifort
*) # Intel Fortran compiler
7560 tmp_addflag
=' -nofor_main' ;;
7561 lf95
*) # Lahey Fortran 8.1
7562 whole_archive_flag_spec
=
7563 tmp_sharedflag
='--shared' ;;
7564 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7565 tmp_sharedflag
='-qmkshrobj'
7568 case `$CC -V 2>&1 | sed 5q` in
7569 *Sun\ C
*) # Sun C 5.9
7570 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'
7571 compiler_needs_object
=yes
7572 tmp_sharedflag
='-G' ;;
7573 *Sun\ F
*) # Sun Fortran 8.3
7574 tmp_sharedflag
='-G' ;;
7576 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7578 if test "x$supports_anon_versioning" = xyes
; then
7579 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7580 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7581 echo "local: *; };" >> $output_objdir/$libname.ver~
7582 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7585 case $cc_basename in
7587 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7588 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7589 hardcode_libdir_flag_spec
=
7590 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7591 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7592 if test "x$supports_anon_versioning" = xyes
; then
7593 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7594 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7595 echo "local: *; };" >> $output_objdir/$libname.ver~
7596 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7606 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7607 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7610 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7611 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7616 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7620 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7621 *** create shared libraries on Solaris systems. Therefore, libtool
7622 *** is disabling shared libraries support. We urge you to upgrade GNU
7623 *** binutils to release 2.9.1 or newer. Another option is to modify
7624 *** your PATH or compiler configuration so that the native linker is
7625 *** used, and then restart.
7628 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7629 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7630 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7636 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7637 case `$LD -v 2>&1` in
7638 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7642 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7643 *** reliably create shared libraries on SCO systems. Therefore, libtool
7644 *** is disabling shared libraries support. We urge you to upgrade GNU
7645 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7646 *** your PATH or compiler configuration so that the native linker is
7647 *** used, and then restart.
7652 # For security reasons, it is highly recommended that you always
7653 # use absolute paths for naming shared libraries, and exclude the
7654 # DT_RUNPATH tag from executables and libraries. But doing so
7655 # requires that you compile everything twice, which is a pain.
7656 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7657 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7658 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7659 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7668 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7671 hardcode_shlibpath_var
=no
7675 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7676 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7677 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7684 if test "$ld_shlibs" = no
; then
7686 hardcode_libdir_flag_spec
=
7687 export_dynamic_flag_spec
=
7688 whole_archive_flag_spec
=
7691 # PORTME fill in a description of your system's linker (not GNU ld)
7694 allow_undefined_flag
=unsupported
7695 always_export_symbols
=yes
7696 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'
7697 # Note: this linker hardcodes the directories in LIBPATH if there
7698 # are no directories specified by -L.
7699 hardcode_minus_L
=yes
7700 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7701 # Neither direct hardcoding nor static linking is supported with a
7703 hardcode_direct
=unsupported
7708 if test "$host_cpu" = ia64
; then
7709 # On IA64, the linker does run time linking by default, so we don't
7710 # have to do anything special.
7711 aix_use_runtimelinking
=no
7712 exp_sym_flag
='-Bexport'
7715 # If we're using GNU nm, then we don't want the "-C" option.
7716 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7717 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7718 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'
7720 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'
7722 aix_use_runtimelinking
=no
7724 # Test if we are trying to use run time linking or normal
7725 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7726 # need to do runtime linking.
7727 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7728 for ld_flag
in $LDFLAGS; do
7729 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7730 aix_use_runtimelinking
=yes
7737 exp_sym_flag
='-bexport'
7738 no_entry_flag
='-bnoentry'
7741 # When large executables or shared objects are built, AIX ld can
7742 # have problems creating the table of contents. If linking a library
7743 # or program results in "error TOC overflow" add -mminimal-toc to
7744 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7745 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7749 hardcode_direct_absolute
=yes
7750 hardcode_libdir_separator
=':'
7751 link_all_deplibs
=yes
7752 file_list_spec
='${wl}-f,'
7754 if test "$GCC" = yes; then
7755 case $host_os in aix4.
[012]|aix4.
[012].
*)
7756 # We only want to do this on AIX 4.2 and lower, the check
7757 # below for broken collect2 doesn't work under 4.3+
7758 collect2name
=`${CC} -print-prog-name=collect2`
7759 if test -f "$collect2name" &&
7760 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7762 # We have reworked collect2
7765 # We have old collect2
7766 hardcode_direct
=unsupported
7767 # It fails to find uninstalled libraries when the uninstalled
7768 # path is not listed in the libpath. Setting hardcode_minus_L
7769 # to unsupported forces relinking
7770 hardcode_minus_L
=yes
7771 hardcode_libdir_flag_spec
='-L$libdir'
7772 hardcode_libdir_separator
=
7776 shared_flag
='-shared'
7777 if test "$aix_use_runtimelinking" = yes; then
7778 shared_flag
="$shared_flag "'${wl}-G'
7782 if test "$host_cpu" = ia64
; then
7783 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7784 # chokes on -Wl,-G. The following line is correct:
7787 if test "$aix_use_runtimelinking" = yes; then
7788 shared_flag
='${wl}-G'
7790 shared_flag
='${wl}-bM:SRE'
7795 export_dynamic_flag_spec
='${wl}-bexpall'
7796 # It seems that -bexpall does not export symbols beginning with
7797 # underscore (_), so it is better to generate a list of symbols to export.
7798 always_export_symbols
=yes
7799 if test "$aix_use_runtimelinking" = yes; then
7800 # Warning - without using the other runtime loading flags (-brtl),
7801 # -berok will link without error, but may produce a broken library.
7802 allow_undefined_flag
='-berok'
7803 # Determine the default libpath from the value encoded in an
7805 if test x
$gcc_no_link = xyes
; then
7806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7808 { (exit 1); exit 1; }; }
7810 cat >conftest.
$ac_ext <<_ACEOF
7813 cat confdefs.h
>>conftest.
$ac_ext
7814 cat >>conftest.
$ac_ext <<_ACEOF
7815 /* end confdefs.h. */
7825 rm -f conftest.
$ac_objext conftest
$ac_exeext
7826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7827 (eval $ac_link) 2>conftest.er1
7829 grep -v '^ *+' conftest.er1
>conftest.err
7831 cat conftest.err
>&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); } &&
7834 { ac_try
='test -z "$ac_c_werror_flag"
7835 || test ! -s conftest.err'
7836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }; } &&
7841 { ac_try
='test -s conftest$ac_exeext'
7842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846 (exit $ac_status); }; }; then
7848 lt_aix_libpath_sed
='
7849 /Import File Strings/,/^$/ {
7855 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7856 # Check for a 64-bit object if we didn't find anything.
7857 if test -z "$aix_libpath"; then
7858 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7861 echo "$as_me: failed program was:" >&5
7862 sed 's/^/| /' conftest.
$ac_ext >&5
7865 rm -f conftest.err conftest.
$ac_objext \
7866 conftest
$ac_exeext conftest.
$ac_ext
7867 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7869 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7870 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"
7872 if test "$host_cpu" = ia64
; then
7873 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7874 allow_undefined_flag
="-z nodefs"
7875 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"
7877 # Determine the default libpath from the value encoded in an
7879 if test x
$gcc_no_link = xyes
; then
7880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7882 { (exit 1); exit 1; }; }
7884 cat >conftest.
$ac_ext <<_ACEOF
7887 cat confdefs.h
>>conftest.
$ac_ext
7888 cat >>conftest.
$ac_ext <<_ACEOF
7889 /* end confdefs.h. */
7899 rm -f conftest.
$ac_objext conftest
$ac_exeext
7900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7901 (eval $ac_link) 2>conftest.er1
7903 grep -v '^ *+' conftest.er1
>conftest.err
7905 cat conftest.err
>&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); } &&
7908 { ac_try
='test -z "$ac_c_werror_flag"
7909 || test ! -s conftest.err'
7910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); }; } &&
7915 { ac_try
='test -s conftest$ac_exeext'
7916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920 (exit $ac_status); }; }; then
7922 lt_aix_libpath_sed
='
7923 /Import File Strings/,/^$/ {
7929 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7930 # Check for a 64-bit object if we didn't find anything.
7931 if test -z "$aix_libpath"; then
7932 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7935 echo "$as_me: failed program was:" >&5
7936 sed 's/^/| /' conftest.
$ac_ext >&5
7939 rm -f conftest.err conftest.
$ac_objext \
7940 conftest
$ac_exeext conftest.
$ac_ext
7941 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7943 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7944 # Warning - without using the other run time loading flags,
7945 # -berok will link without error, but may produce a broken library.
7946 no_undefined_flag
=' ${wl}-bernotok'
7947 allow_undefined_flag
=' ${wl}-berok'
7948 # Exported symbols can be pulled into shared objects from archives
7949 whole_archive_flag_spec
='$convenience'
7950 archive_cmds_need_lc
=yes
7951 # This is similar to how AIX traditionally builds its shared libraries.
7952 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'
7960 # see comment about AmigaOS4 .so support
7961 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7962 archive_expsym_cmds
=''
7965 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)'
7966 hardcode_libdir_flag_spec
='-L$libdir'
7967 hardcode_minus_L
=yes
7973 export_dynamic_flag_spec
=-rdynamic
7976 cygwin
* | mingw
* | pw32
* | cegcc
*)
7977 # When not using gcc, we currently assume that we are using
7978 # Microsoft Visual C++.
7979 # hardcode_libdir_flag_spec is actually meaningless, as there is
7980 # no search path for DLLs.
7981 hardcode_libdir_flag_spec
=' '
7982 allow_undefined_flag
=unsupported
7983 # Tell ltmain to make .lib files, not .a files.
7985 # Tell ltmain to make .dll files, not .so files.
7987 # FIXME: Setting linknames here is a bad hack.
7988 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7989 # The linker will automatically build a .lib file if we build a DLL.
7990 old_archive_from_new_cmds
='true'
7991 # FIXME: Should let the user specify the lib program.
7992 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7993 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7994 enable_shared_with_static_runtimes
=yes
7997 darwin
* | rhapsody
*)
8000 archive_cmds_need_lc
=no
8002 hardcode_automatic
=yes
8003 hardcode_shlibpath_var
=unsupported
8004 whole_archive_flag_spec
=''
8005 link_all_deplibs
=yes
8006 allow_undefined_flag
="$_lt_dar_allow_undefined"
8007 case $cc_basename in
8008 ifort
*) _lt_dar_can_shared
=yes ;;
8009 *) _lt_dar_can_shared
=$GCC ;;
8011 if test "$_lt_dar_can_shared" = "yes"; then
8012 output_verbose_link_cmd
=echo
8013 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8014 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8015 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8016 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8025 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8026 hardcode_libdir_flag_spec
='-L$libdir'
8027 hardcode_shlibpath_var
=no
8034 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8035 # support. Future versions do this automatically, but an explicit c++rt0.o
8036 # does not break anything, and helps significantly (at the cost of a little
8039 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8040 hardcode_libdir_flag_spec
='-R$libdir'
8042 hardcode_shlibpath_var
=no
8045 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8047 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8049 hardcode_minus_L
=yes
8050 hardcode_shlibpath_var
=no
8053 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8054 freebsd
* | dragonfly
*)
8055 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8056 hardcode_libdir_flag_spec
='-R$libdir'
8058 hardcode_shlibpath_var
=no
8062 if test "$GCC" = yes; then
8063 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'
8065 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'
8067 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8068 hardcode_libdir_separator
=:
8071 # hardcode_minus_L: Not really in the search PATH,
8072 # but as the default location of the library.
8073 hardcode_minus_L
=yes
8074 export_dynamic_flag_spec
='${wl}-E'
8078 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8079 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8081 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8083 if test "$with_gnu_ld" = no
; then
8084 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8085 hardcode_libdir_flag_spec_ld
='+b $libdir'
8086 hardcode_libdir_separator
=:
8088 hardcode_direct_absolute
=yes
8089 export_dynamic_flag_spec
='${wl}-E'
8090 # hardcode_minus_L: Not really in the search PATH,
8091 # but as the default location of the library.
8092 hardcode_minus_L
=yes
8097 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8100 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8103 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8106 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8112 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8115 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8118 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8122 if test "$with_gnu_ld" = no
; then
8123 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8124 hardcode_libdir_separator
=:
8129 hardcode_shlibpath_var
=no
8133 hardcode_direct_absolute
=yes
8134 export_dynamic_flag_spec
='${wl}-E'
8136 # hardcode_minus_L: Not really in the search PATH,
8137 # but as the default location of the library.
8138 hardcode_minus_L
=yes
8144 irix5
* | irix6
* | nonstopux
*)
8145 if test "$GCC" = yes; then
8146 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'
8147 # Try to use the -exported_symbol ld option, if it does not
8148 # work, assume that -exports_file does not work either and
8149 # implicitly export all symbols.
8150 save_LDFLAGS
="$LDFLAGS"
8151 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8152 if test x
$gcc_no_link = xyes
; then
8153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8155 { (exit 1); exit 1; }; }
8157 cat >conftest.
$ac_ext <<_ACEOF
8160 rm -f conftest.
$ac_objext conftest
$ac_exeext
8161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8162 (eval $ac_link) 2>conftest.er1
8164 grep -v '^ *+' conftest.er1
>conftest.err
8166 cat conftest.err
>&5
8167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168 (exit $ac_status); } &&
8169 { ac_try
='test -z "$ac_c_werror_flag"
8170 || test ! -s conftest.err'
8171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); }; } &&
8176 { ac_try
='test -s conftest$ac_exeext'
8177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181 (exit $ac_status); }; }; then
8182 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'
8185 echo "$as_me: failed program was:" >&5
8186 sed 's/^/| /' conftest.
$ac_ext >&5
8189 rm -f conftest.err conftest.
$ac_objext \
8190 conftest
$ac_exeext conftest.
$ac_ext
8191 LDFLAGS
="$save_LDFLAGS"
8193 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'
8194 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'
8196 archive_cmds_need_lc
='no'
8197 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8198 hardcode_libdir_separator
=:
8200 link_all_deplibs
=yes
8204 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8205 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8207 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8209 hardcode_libdir_flag_spec
='-R$libdir'
8211 hardcode_shlibpath_var
=no
8215 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8217 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8218 hardcode_libdir_separator
=:
8219 hardcode_shlibpath_var
=no
8226 if test -f /usr
/libexec
/ld.so
; then
8228 hardcode_shlibpath_var
=no
8229 hardcode_direct_absolute
=yes
8230 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8231 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8232 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8233 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8234 export_dynamic_flag_spec
='${wl}-E'
8237 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8238 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8239 hardcode_libdir_flag_spec
='-R$libdir'
8242 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8243 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8253 hardcode_libdir_flag_spec
='-L$libdir'
8254 hardcode_minus_L
=yes
8255 allow_undefined_flag
=unsupported
8256 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'
8257 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8261 if test "$GCC" = yes; then
8262 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8263 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'
8265 allow_undefined_flag
=' -expect_unresolved \*'
8266 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'
8268 archive_cmds_need_lc
='no'
8269 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8270 hardcode_libdir_separator
=:
8273 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8274 if test "$GCC" = yes; then
8275 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8276 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'
8277 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8279 allow_undefined_flag
=' -expect_unresolved \*'
8280 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'
8281 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~
8282 $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'
8284 # Both c and cxx compiler support -rpath directly
8285 hardcode_libdir_flag_spec
='-rpath $libdir'
8287 archive_cmds_need_lc
='no'
8288 hardcode_libdir_separator
=:
8292 no_undefined_flag
=' -z defs'
8293 if test "$GCC" = yes; then
8295 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8296 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8297 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8299 case `$CC -V 2>&1` in
8302 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8303 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8304 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8308 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8309 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8310 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8314 hardcode_libdir_flag_spec
='-R$libdir'
8315 hardcode_shlibpath_var
=no
8317 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8319 # The compiler driver will combine and reorder linker options,
8320 # but understands `-z linker_flag'. GCC discards it without `$wl',
8321 # but is careful enough not to reorder.
8322 # Supported since Solaris 2.6 (maybe 2.5.1?)
8323 if test "$GCC" = yes; then
8324 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8326 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8330 link_all_deplibs
=yes
8334 if test "x$host_vendor" = xsequent
; then
8335 # Use $CC to link under sequent, because it throws in some extra .o
8336 # files that make .init and .fini sections work.
8337 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8339 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8341 hardcode_libdir_flag_spec
='-L$libdir'
8343 hardcode_minus_L
=yes
8344 hardcode_shlibpath_var
=no
8348 case $host_vendor in
8350 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8351 hardcode_direct
=yes # is this really true???
8354 ## LD is ld it makes a PLAMLIB
8355 ## CC just makes a GrossModule.
8356 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8357 reload_cmds
='$CC -r -o $output$reload_objs'
8361 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8362 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8365 runpath_var
='LD_RUN_PATH'
8366 hardcode_shlibpath_var
=no
8370 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8371 hardcode_shlibpath_var
=no
8372 export_dynamic_flag_spec
='-Bexport'
8376 if test -d /usr
/nec
; then
8377 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8378 hardcode_shlibpath_var
=no
8379 runpath_var
=LD_RUN_PATH
8380 hardcode_runpath_var
=yes
8385 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8386 no_undefined_flag
='${wl}-z,text'
8387 archive_cmds_need_lc
=no
8388 hardcode_shlibpath_var
=no
8389 runpath_var
='LD_RUN_PATH'
8391 if test "$GCC" = yes; then
8392 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8393 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8395 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8396 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8400 sysv5
* | sco3.2v5
* | sco5v6
*)
8401 # Note: We can NOT use -z defs as we might desire, because we do not
8402 # link with -lc, and that would cause any symbols used from libc to
8403 # always be unresolved, which means just about no library would
8404 # ever link correctly. If we're not using GNU ld we use -z text
8405 # though, which does catch some bad symbols but isn't as heavy-handed
8407 no_undefined_flag
='${wl}-z,text'
8408 allow_undefined_flag
='${wl}-z,nodefs'
8409 archive_cmds_need_lc
=no
8410 hardcode_shlibpath_var
=no
8411 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8412 hardcode_libdir_separator
=':'
8413 link_all_deplibs
=yes
8414 export_dynamic_flag_spec
='${wl}-Bexport'
8415 runpath_var
='LD_RUN_PATH'
8417 if test "$GCC" = yes; then
8418 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8419 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8421 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8422 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8427 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8428 hardcode_libdir_flag_spec
='-L$libdir'
8429 hardcode_shlibpath_var
=no
8437 if test x
$host_vendor = xsni
; then
8439 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8440 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8446 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8447 echo "${ECHO_T}$ld_shlibs" >&6
8448 test "$ld_shlibs" = no
&& can_build_shared
=no
8450 with_gnu_ld
=$with_gnu_ld
8467 # Do we need to explicitly link libc?
8469 case "x$archive_cmds_need_lc" in
8471 # Assume -lc should be added
8472 archive_cmds_need_lc
=yes
8474 if test "$enable_shared" = yes && test "$GCC" = yes; then
8475 case $archive_cmds in
8477 # FIXME: we may have to deal with multi-command sequences.
8480 # Test whether the compiler implicitly links with -lc since on some
8481 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8482 # to ld, don't add -lc before -lgcc.
8483 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8484 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8485 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
8486 echo $ECHO_N "(cached) $ECHO_C" >&6
8489 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8492 (eval $ac_compile) 2>&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); } 2>conftest.err
; then
8498 libobjs
=conftest.
$ac_objext
8500 wl
=$lt_prog_compiler_wl
8501 pic_flag
=$lt_prog_compiler_pic
8507 lt_save_allow_undefined_flag
=$allow_undefined_flag
8508 allow_undefined_flag
=
8509 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8510 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }
8515 lt_cv_archive_cmds_need_lc
=no
8517 lt_cv_archive_cmds_need_lc
=yes
8519 allow_undefined_flag
=$lt_save_allow_undefined_flag
8521 cat conftest.err
1>&5
8526 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
8527 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
8528 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
8691 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8692 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8694 if test "$GCC" = yes; then
8696 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8697 *) lt_awk_arg
="/^libraries:/" ;;
8699 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8700 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8701 # if the path contains ";" then we assume it to be the separator
8702 # otherwise default to the standard path separator (i.e. ":") - it is
8703 # assumed that no part of a normal pathname contains ";" but that should
8704 # okay in the real world where ";" in dirpaths is itself problematic.
8705 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8707 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8709 # Ok, now we have the path, separated by spaces, we can step through it
8710 # and add multilib dir if necessary.
8711 lt_tmp_lt_search_path_spec
=
8712 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8713 for lt_sys_path
in $lt_search_path_spec; do
8714 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8715 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8717 test -d "$lt_sys_path" && \
8718 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8721 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8722 BEGIN {RS=" "; FS="/|\n";} {
8725 for (lt_i = NF; lt_i > 0; lt_i--) {
8726 if ($lt_i != "" && $lt_i != ".") {
8727 if ($lt_i == "..") {
8730 if (lt_count == 0) {
8731 lt_foo="/" $lt_i lt_foo;
8738 if (lt_foo != "") { lt_freq[lt_foo]++; }
8739 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8741 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8743 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8746 libname_spec
='lib$name'
8754 shlibpath_overrides_runpath
=unknown
8756 dynamic_linker
="$host_os ld.so"
8757 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8758 need_lib_prefix
=unknown
8759 hardcode_into_libs
=no
8761 # when you set need_version to no, make sure it does not cause -set_version
8762 # flags to be left without arguments
8763 need_version
=unknown
8768 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8769 shlibpath_var
=LIBPATH
8771 # AIX 3 has no versioning support, so we append a major version to the name.
8772 soname_spec
='${libname}${release}${shared_ext}$major'
8779 hardcode_into_libs
=yes
8780 if test "$host_cpu" = ia64
; then
8781 # AIX 5 supports IA64
8782 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8783 shlibpath_var
=LD_LIBRARY_PATH
8785 # With GCC up to 2.95.x, collect2 would create an import file
8786 # for dependence libraries. The import file would start with
8787 # the line `#! .'. This would cause the generated library to
8788 # depend on `.', always an invalid library. This was fixed in
8789 # development snapshots of GCC prior to 3.0.
8791 aix4 | aix4.
[01] | aix4.
[01].
*)
8792 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8794 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8801 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8802 # soname into executable. Probably we can add versioning support to
8803 # collect2, so additional links can be useful in future.
8804 if test "$aix_use_runtimelinking" = yes; then
8805 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8806 # instead of lib<name>.a to let people know that these are not
8807 # typical AIX shared libraries.
8808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8810 # We preserve .a as extension for shared libraries through AIX4.2
8811 # and later when we are not doing run time linking.
8812 library_names_spec
='${libname}${release}.a $libname.a'
8813 soname_spec
='${libname}${release}${shared_ext}$major'
8815 shlibpath_var
=LIBPATH
8822 # Since July 2007 AmigaOS4 officially supports .so libraries.
8823 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8827 library_names_spec
='$libname.ixlibrary $libname.a'
8828 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8829 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'
8835 library_names_spec
='${libname}${shared_ext}'
8836 dynamic_linker
="$host_os ld.so"
8837 shlibpath_var
=LIBRARY_PATH
8843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8844 soname_spec
='${libname}${release}${shared_ext}$major'
8845 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8846 shlibpath_var
=LD_LIBRARY_PATH
8847 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8848 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8849 # the default ld.so.conf also contains /usr/contrib/lib and
8850 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8851 # libtool to hard-code these into programs
8854 cygwin
* | mingw
* | pw32
* | cegcc
*)
8855 version_type
=windows
8860 case $GCC,$host_os in
8861 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
8862 library_names_spec
='$libname.dll.a'
8863 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8864 postinstall_cmds
='base_file=`basename \${file}`~
8865 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8866 dldir=$destdir/`dirname \$dlpath`~
8867 test -d \$dldir || mkdir -p \$dldir~
8868 $install_prog $dir/$dlname \$dldir/$dlname~
8869 chmod a+x \$dldir/$dlname~
8870 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8871 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8873 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8874 dlpath=$dir/\$dldll~
8876 shlibpath_overrides_runpath
=yes
8880 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8881 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8882 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8885 # MinGW DLLs use traditional 'lib' prefix
8886 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8887 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8888 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8889 # It is most probably a Windows format PATH printed by
8890 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8891 # path with ; separators, and with drive letters. We can handle the
8892 # drive letters (cygwin fileutils understands them), so leave them,
8893 # especially as we might pass files found there to a mingw objdump,
8894 # which wouldn't understand a cygwinified path. Ahh.
8895 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8897 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8901 # pw32 DLLs use 'pw' prefix rather than 'lib'
8902 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8908 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8911 dynamic_linker
='Win32 ld.exe'
8912 # FIXME: first we should search . and the directory the executable is in
8916 darwin
* | rhapsody
*)
8917 dynamic_linker
="$host_os dyld"
8921 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8922 soname_spec
='${libname}${release}${major}$shared_ext'
8923 shlibpath_overrides_runpath
=yes
8924 shlibpath_var
=DYLD_LIBRARY_PATH
8925 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8927 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8928 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8936 soname_spec
='${libname}${release}${shared_ext}$major'
8937 shlibpath_var
=LD_LIBRARY_PATH
8944 freebsd
* | dragonfly
*)
8945 # DragonFly does not have aout. When/if they implement a new
8946 # versioning mechanism, adjust this.
8947 if test -x /usr
/bin
/objformat
; then
8948 objformat
=`/usr/bin/objformat`
8951 freebsd
[123]*) objformat
=aout
;;
8955 version_type
=freebsd-
$objformat
8956 case $version_type in
8958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8963 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8967 shlibpath_var
=LD_LIBRARY_PATH
8970 shlibpath_overrides_runpath
=yes
8972 freebsd3.
[01]* | freebsdelf3.
[01]*)
8973 shlibpath_overrides_runpath
=yes
8974 hardcode_into_libs
=yes
8976 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8977 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8978 shlibpath_overrides_runpath
=no
8979 hardcode_into_libs
=yes
8981 *) # from 4.6 on, and DragonFly
8982 shlibpath_overrides_runpath
=yes
8983 hardcode_into_libs
=yes
8992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8993 soname_spec
='${libname}${release}${shared_ext}$major'
8994 shlibpath_var
=LD_LIBRARY_PATH
8995 hardcode_into_libs
=yes
8998 hpux9
* | hpux10
* | hpux11
*)
8999 # Give a soname corresponding to the major version so that dld.sl refuses to
9000 # link against other versions.
9007 hardcode_into_libs
=yes
9008 dynamic_linker
="$host_os dld.so"
9009 shlibpath_var
=LD_LIBRARY_PATH
9010 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9012 soname_spec
='${libname}${release}${shared_ext}$major'
9013 if test "X$HPUX_IA64_MODE" = X32
; then
9014 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9016 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9018 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9022 hardcode_into_libs
=yes
9023 dynamic_linker
="$host_os dld.sl"
9024 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9025 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9027 soname_spec
='${libname}${release}${shared_ext}$major'
9028 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9029 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9033 dynamic_linker
="$host_os dld.sl"
9034 shlibpath_var
=SHLIB_PATH
9035 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9037 soname_spec
='${libname}${release}${shared_ext}$major'
9040 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9041 postinstall_cmds
='chmod 555 $lib'
9048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9049 soname_spec
='${libname}${release}${shared_ext}$major'
9050 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9051 shlibpath_var
=LD_LIBRARY_PATH
9052 shlibpath_overrides_runpath
=no
9053 hardcode_into_libs
=yes
9056 irix5
* | irix6
* | nonstopux
*)
9058 nonstopux
*) version_type
=nonstopux
;;
9060 if test "$lt_cv_prog_gnu_ld" = yes; then
9068 soname_spec
='${libname}${release}${shared_ext}$major'
9069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9071 irix5
* | nonstopux
*)
9075 case $LD in # libtool.m4 will add one of these switches to LD
9076 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9077 libsuff
= shlibsuff
= libmagic
=32-bit;;
9078 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9079 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9080 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9081 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9082 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9086 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9087 shlibpath_overrides_runpath
=no
9088 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9089 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9090 hardcode_into_libs
=yes
9093 # No shared lib support for Linux oldld, aout, or coff.
9094 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9098 # This must be Linux ELF.
9099 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9104 soname_spec
='${libname}${release}${shared_ext}$major'
9105 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9106 shlibpath_var
=LD_LIBRARY_PATH
9107 shlibpath_overrides_runpath
=no
9109 # Some binutils ld are patched to set DT_RUNPATH
9110 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
9111 echo $ECHO_N "(cached) $ECHO_C" >&6
9113 lt_cv_shlibpath_overrides_runpath
=no
9114 save_LDFLAGS
=$LDFLAGS
9116 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9117 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9118 if test x
$gcc_no_link = xyes
; then
9119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9121 { (exit 1); exit 1; }; }
9123 cat >conftest.
$ac_ext <<_ACEOF
9126 cat confdefs.h
>>conftest.
$ac_ext
9127 cat >>conftest.
$ac_ext <<_ACEOF
9128 /* end confdefs.h. */
9138 rm -f conftest.
$ac_objext conftest
$ac_exeext
9139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9140 (eval $ac_link) 2>conftest.er1
9142 grep -v '^ *+' conftest.er1
>conftest.err
9144 cat conftest.err
>&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); } &&
9147 { ac_try
='test -z "$ac_c_werror_flag"
9148 || test ! -s conftest.err'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; } &&
9154 { ac_try
='test -s conftest$ac_exeext'
9155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); }; }; then
9160 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
9161 lt_cv_shlibpath_overrides_runpath
=yes
9165 echo "$as_me: failed program was:" >&5
9166 sed 's/^/| /' conftest.
$ac_ext >&5
9169 rm -f conftest.err conftest.
$ac_objext \
9170 conftest
$ac_exeext conftest.
$ac_ext
9171 LDFLAGS
=$save_LDFLAGS
9176 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9178 # This implies no fast_install, which is unacceptable.
9179 # Some rework will be needed to allow for fast_install
9180 # before this can be enabled.
9181 hardcode_into_libs
=yes
9183 # Append ld.so.conf contents to the search path
9184 if test -f /etc
/ld.so.conf
; then
9185 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9186 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9189 # We used to test for /lib/ld.so.1 and disable shared libraries on
9190 # powerpc, because MkLinux only supported shared libraries with the
9191 # GNU dynamic linker. Since this was broken with cross compilers,
9192 # most powerpc-linux boxes support dynamic linking these days and
9193 # people can always --disable-shared, the test was removed, and we
9194 # assume the GNU/Linux dynamic linker is in use.
9195 dynamic_linker
='GNU/Linux ld.so'
9202 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9204 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9205 dynamic_linker
='NetBSD (a.out) ld.so'
9207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9208 soname_spec
='${libname}${release}${shared_ext}$major'
9209 dynamic_linker
='NetBSD ld.elf_so'
9211 shlibpath_var
=LD_LIBRARY_PATH
9212 shlibpath_overrides_runpath
=yes
9213 hardcode_into_libs
=yes
9218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9219 shlibpath_var
=LD_LIBRARY_PATH
9220 shlibpath_overrides_runpath
=yes
9227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9228 soname_spec
='${libname}${release}${shared_ext}$major'
9229 shlibpath_var
=LD_LIBRARY_PATH
9230 shlibpath_overrides_runpath
=no
9231 hardcode_into_libs
=yes
9232 dynamic_linker
='ldqnx.so'
9237 sys_lib_dlsearch_path_spec
="/usr/lib"
9239 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9241 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9242 *) need_version
=no
;;
9244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9245 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9246 shlibpath_var
=LD_LIBRARY_PATH
9247 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9249 openbsd2.
[89] | openbsd2.
[89].
*)
9250 shlibpath_overrides_runpath
=no
9253 shlibpath_overrides_runpath
=yes
9257 shlibpath_overrides_runpath
=yes
9262 libname_spec
='$name'
9265 library_names_spec
='$libname${shared_ext} $libname.a'
9266 dynamic_linker
='OS/2 ld.exe'
9267 shlibpath_var
=LIBPATH
9270 osf3
* | osf4
* | osf5
*)
9274 soname_spec
='${libname}${release}${shared_ext}$major'
9275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9276 shlibpath_var
=LD_LIBRARY_PATH
9277 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9278 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9290 soname_spec
='${libname}${release}${shared_ext}$major'
9291 shlibpath_var
=LD_LIBRARY_PATH
9292 shlibpath_overrides_runpath
=yes
9293 hardcode_into_libs
=yes
9294 # ldd complains unless libraries are executable
9295 postinstall_cmds
='chmod +x $lib'
9300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9301 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9302 shlibpath_var
=LD_LIBRARY_PATH
9303 shlibpath_overrides_runpath
=yes
9304 if test "$with_gnu_ld" = yes; then
9312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9313 soname_spec
='${libname}${release}${shared_ext}$major'
9314 shlibpath_var
=LD_LIBRARY_PATH
9315 case $host_vendor in
9317 shlibpath_overrides_runpath
=no
9319 runpath_var
=LD_RUN_PATH
9327 shlibpath_overrides_runpath
=no
9328 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9334 if test -d /usr
/nec
;then
9336 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9337 soname_spec
='$libname${shared_ext}.$major'
9338 shlibpath_var
=LD_LIBRARY_PATH
9342 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9343 version_type
=freebsd-elf
9346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9347 soname_spec
='${libname}${release}${shared_ext}$major'
9348 shlibpath_var
=LD_LIBRARY_PATH
9349 shlibpath_overrides_runpath
=yes
9350 hardcode_into_libs
=yes
9351 if test "$with_gnu_ld" = yes; then
9352 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9354 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9357 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9361 sys_lib_dlsearch_path_spec
='/usr/lib'
9365 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9370 shlibpath_var
=LD_LIBRARY_PATH
9371 shlibpath_overrides_runpath
=no
9372 hardcode_into_libs
=yes
9377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9378 soname_spec
='${libname}${release}${shared_ext}$major'
9379 shlibpath_var
=LD_LIBRARY_PATH
9386 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9387 echo "${ECHO_T}$dynamic_linker" >&6
9388 test "$dynamic_linker" = no
&& can_build_shared
=no
9390 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9391 if test "$GCC" = yes; then
9392 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9395 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9396 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9398 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9399 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9488 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9489 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9491 if test -n "$hardcode_libdir_flag_spec" ||
9492 test -n "$runpath_var" ||
9493 test "X$hardcode_automatic" = "Xyes" ; then
9495 # We can hardcode non-existent directories.
9496 if test "$hardcode_direct" != no
&&
9497 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9498 # have to relink, otherwise we might link with an installed library
9499 # when we should be linking with a yet-to-be-installed one
9500 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9501 test "$hardcode_minus_L" != no
; then
9502 # Linking always hardcodes the temporary library directory.
9503 hardcode_action
=relink
9505 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9506 hardcode_action
=immediate
9509 # We cannot hardcode anything, or else we can only hardcode existing
9511 hardcode_action
=unsupported
9513 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9514 echo "${ECHO_T}$hardcode_action" >&6
9516 if test "$hardcode_action" = relink ||
9517 test "$inherit_rpath" = yes; then
9518 # Fast installation is not supported
9519 enable_fast_install
=no
9520 elif test "$shlibpath_overrides_runpath" = yes ||
9521 test "$enable_shared" = no
; then
9522 # Fast installation is not necessary
9523 enable_fast_install
=needless
9531 if test "x$enable_dlopen" != xyes
; then
9532 enable_dlopen
=unknown
9533 enable_dlopen_self
=unknown
9534 enable_dlopen_self_static
=unknown
9541 lt_cv_dlopen
="load_add_on"
9543 lt_cv_dlopen_self
=yes
9546 mingw
* | pw32
* | cegcc
*)
9547 lt_cv_dlopen
="LoadLibrary"
9552 lt_cv_dlopen
="dlopen"
9557 # if libdl is installed we need to link against it
9558 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9559 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9560 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9563 ac_check_lib_save_LIBS
=$LIBS
9565 if test x
$gcc_no_link = xyes
; then
9566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9568 { (exit 1); exit 1; }; }
9570 cat >conftest.
$ac_ext <<_ACEOF
9573 cat confdefs.h
>>conftest.
$ac_ext
9574 cat >>conftest.
$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9577 /* Override any gcc2 internal prototype to avoid an error. */
9581 /* We use char because int might match the return type of a gcc2
9582 builtin and then its argument prototype would still apply. */
9592 rm -f conftest.
$ac_objext conftest
$ac_exeext
9593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9594 (eval $ac_link) 2>conftest.er1
9596 grep -v '^ *+' conftest.er1
>conftest.err
9598 cat conftest.err
>&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); } &&
9601 { ac_try
='test -z "$ac_c_werror_flag"
9602 || test ! -s conftest.err'
9603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 (exit $ac_status); }; } &&
9608 { ac_try
='test -s conftest$ac_exeext'
9609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 (exit $ac_status); }; }; then
9614 ac_cv_lib_dl_dlopen
=yes
9616 echo "$as_me: failed program was:" >&5
9617 sed 's/^/| /' conftest.
$ac_ext >&5
9619 ac_cv_lib_dl_dlopen
=no
9621 rm -f conftest.err conftest.
$ac_objext \
9622 conftest
$ac_exeext conftest.
$ac_ext
9623 LIBS
=$ac_check_lib_save_LIBS
9625 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9626 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9627 if test $ac_cv_lib_dl_dlopen = yes; then
9628 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9633 lt_cv_dlopen_self
=yes
9640 echo "$as_me:$LINENO: checking for shl_load" >&5
9641 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9642 if test "${ac_cv_func_shl_load+set}" = set; then
9643 echo $ECHO_N "(cached) $ECHO_C" >&6
9645 if test x
$gcc_no_link = xyes
; then
9646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9648 { (exit 1); exit 1; }; }
9650 cat >conftest.
$ac_ext <<_ACEOF
9653 cat confdefs.h
>>conftest.
$ac_ext
9654 cat >>conftest.
$ac_ext <<_ACEOF
9655 /* end confdefs.h. */
9656 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9658 #define shl_load innocuous_shl_load
9660 /* System header to define __stub macros and hopefully few prototypes,
9661 which can conflict with char shl_load (); below.
9662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9663 <limits.h> exists even on freestanding compilers. */
9666 # include <limits.h>
9668 # include <assert.h>
9673 /* Override any gcc2 internal prototype to avoid an error. */
9678 /* We use char because int might match the return type of a gcc2
9679 builtin and then its argument prototype would still apply. */
9681 /* The GNU C library defines this for functions which it implements
9682 to always fail with ENOSYS. Some functions are actually named
9683 something starting with __ and the normal name is an alias. */
9684 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9687 char (*f) () = shl_load;
9696 return f != shl_load;
9701 rm -f conftest.
$ac_objext conftest
$ac_exeext
9702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9703 (eval $ac_link) 2>conftest.er1
9705 grep -v '^ *+' conftest.er1
>conftest.err
9707 cat conftest.err
>&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); } &&
9710 { ac_try
='test -z "$ac_c_werror_flag"
9711 || test ! -s conftest.err'
9712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); }; } &&
9717 { ac_try
='test -s conftest$ac_exeext'
9718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); }; }; then
9723 ac_cv_func_shl_load
=yes
9725 echo "$as_me: failed program was:" >&5
9726 sed 's/^/| /' conftest.
$ac_ext >&5
9728 ac_cv_func_shl_load
=no
9730 rm -f conftest.err conftest.
$ac_objext \
9731 conftest
$ac_exeext conftest.
$ac_ext
9733 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9734 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9735 if test $ac_cv_func_shl_load = yes; then
9736 lt_cv_dlopen
="shl_load"
9738 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9739 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9740 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9741 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 ac_check_lib_save_LIBS
=$LIBS
9745 if test x
$gcc_no_link = xyes
; then
9746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9748 { (exit 1); exit 1; }; }
9750 cat >conftest.
$ac_ext <<_ACEOF
9753 cat confdefs.h
>>conftest.
$ac_ext
9754 cat >>conftest.
$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9757 /* Override any gcc2 internal prototype to avoid an error. */
9761 /* We use char because int might match the return type of a gcc2
9762 builtin and then its argument prototype would still apply. */
9772 rm -f conftest.
$ac_objext conftest
$ac_exeext
9773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9774 (eval $ac_link) 2>conftest.er1
9776 grep -v '^ *+' conftest.er1
>conftest.err
9778 cat conftest.err
>&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); } &&
9781 { ac_try
='test -z "$ac_c_werror_flag"
9782 || test ! -s conftest.err'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); }; } &&
9788 { ac_try
='test -s conftest$ac_exeext'
9789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); }; }; then
9794 ac_cv_lib_dld_shl_load
=yes
9796 echo "$as_me: failed program was:" >&5
9797 sed 's/^/| /' conftest.
$ac_ext >&5
9799 ac_cv_lib_dld_shl_load
=no
9801 rm -f conftest.err conftest.
$ac_objext \
9802 conftest
$ac_exeext conftest.
$ac_ext
9803 LIBS
=$ac_check_lib_save_LIBS
9805 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9806 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9807 if test $ac_cv_lib_dld_shl_load = yes; then
9808 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9810 echo "$as_me:$LINENO: checking for dlopen" >&5
9811 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9812 if test "${ac_cv_func_dlopen+set}" = set; then
9813 echo $ECHO_N "(cached) $ECHO_C" >&6
9815 if test x
$gcc_no_link = xyes
; then
9816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9818 { (exit 1); exit 1; }; }
9820 cat >conftest.
$ac_ext <<_ACEOF
9823 cat confdefs.h
>>conftest.
$ac_ext
9824 cat >>conftest.
$ac_ext <<_ACEOF
9825 /* end confdefs.h. */
9826 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9828 #define dlopen innocuous_dlopen
9830 /* System header to define __stub macros and hopefully few prototypes,
9831 which can conflict with char dlopen (); below.
9832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9833 <limits.h> exists even on freestanding compilers. */
9836 # include <limits.h>
9838 # include <assert.h>
9843 /* Override any gcc2 internal prototype to avoid an error. */
9848 /* We use char because int might match the return type of a gcc2
9849 builtin and then its argument prototype would still apply. */
9851 /* The GNU C library defines this for functions which it implements
9852 to always fail with ENOSYS. Some functions are actually named
9853 something starting with __ and the normal name is an alias. */
9854 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9857 char (*f) () = dlopen;
9871 rm -f conftest.
$ac_objext conftest
$ac_exeext
9872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9873 (eval $ac_link) 2>conftest.er1
9875 grep -v '^ *+' conftest.er1
>conftest.err
9877 cat conftest.err
>&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); } &&
9880 { ac_try
='test -z "$ac_c_werror_flag"
9881 || test ! -s conftest.err'
9882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); }; } &&
9887 { ac_try
='test -s conftest$ac_exeext'
9888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); }; }; then
9893 ac_cv_func_dlopen
=yes
9895 echo "$as_me: failed program was:" >&5
9896 sed 's/^/| /' conftest.
$ac_ext >&5
9898 ac_cv_func_dlopen
=no
9900 rm -f conftest.err conftest.
$ac_objext \
9901 conftest
$ac_exeext conftest.
$ac_ext
9903 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9904 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9905 if test $ac_cv_func_dlopen = yes; then
9906 lt_cv_dlopen
="dlopen"
9908 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9909 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9910 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9911 echo $ECHO_N "(cached) $ECHO_C" >&6
9913 ac_check_lib_save_LIBS
=$LIBS
9915 if test x
$gcc_no_link = xyes
; then
9916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9918 { (exit 1); exit 1; }; }
9920 cat >conftest.
$ac_ext <<_ACEOF
9923 cat confdefs.h
>>conftest.
$ac_ext
9924 cat >>conftest.
$ac_ext <<_ACEOF
9925 /* end confdefs.h. */
9927 /* Override any gcc2 internal prototype to avoid an error. */
9931 /* We use char because int might match the return type of a gcc2
9932 builtin and then its argument prototype would still apply. */
9942 rm -f conftest.
$ac_objext conftest
$ac_exeext
9943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9944 (eval $ac_link) 2>conftest.er1
9946 grep -v '^ *+' conftest.er1
>conftest.err
9948 cat conftest.err
>&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); } &&
9951 { ac_try
='test -z "$ac_c_werror_flag"
9952 || test ! -s conftest.err'
9953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); }; } &&
9958 { ac_try
='test -s conftest$ac_exeext'
9959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); }; }; then
9964 ac_cv_lib_dl_dlopen
=yes
9966 echo "$as_me: failed program was:" >&5
9967 sed 's/^/| /' conftest.
$ac_ext >&5
9969 ac_cv_lib_dl_dlopen
=no
9971 rm -f conftest.err conftest.
$ac_objext \
9972 conftest
$ac_exeext conftest.
$ac_ext
9973 LIBS
=$ac_check_lib_save_LIBS
9975 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9976 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9977 if test $ac_cv_lib_dl_dlopen = yes; then
9978 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9980 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9981 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9982 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9983 echo $ECHO_N "(cached) $ECHO_C" >&6
9985 ac_check_lib_save_LIBS
=$LIBS
9987 if test x
$gcc_no_link = xyes
; then
9988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9990 { (exit 1); exit 1; }; }
9992 cat >conftest.
$ac_ext <<_ACEOF
9995 cat confdefs.h
>>conftest.
$ac_ext
9996 cat >>conftest.
$ac_ext <<_ACEOF
9997 /* end confdefs.h. */
9999 /* Override any gcc2 internal prototype to avoid an error. */
10003 /* We use char because int might match the return type of a gcc2
10004 builtin and then its argument prototype would still apply. */
10014 rm -f conftest.
$ac_objext conftest
$ac_exeext
10015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10016 (eval $ac_link) 2>conftest.er1
10018 grep -v '^ *+' conftest.er1
>conftest.err
10020 cat conftest.err
>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); } &&
10023 { ac_try
='test -z "$ac_c_werror_flag"
10024 || test ! -s conftest.err'
10025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); }; } &&
10030 { ac_try
='test -s conftest$ac_exeext'
10031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032 (eval $ac_try) 2>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); }; }; then
10036 ac_cv_lib_svld_dlopen
=yes
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.
$ac_ext >&5
10041 ac_cv_lib_svld_dlopen
=no
10043 rm -f conftest.err conftest.
$ac_objext \
10044 conftest
$ac_exeext conftest.
$ac_ext
10045 LIBS
=$ac_check_lib_save_LIBS
10047 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10048 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10049 if test $ac_cv_lib_svld_dlopen = yes; then
10050 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10052 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10053 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10054 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10055 echo $ECHO_N "(cached) $ECHO_C" >&6
10057 ac_check_lib_save_LIBS
=$LIBS
10059 if test x
$gcc_no_link = xyes
; then
10060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10062 { (exit 1); exit 1; }; }
10064 cat >conftest.
$ac_ext <<_ACEOF
10067 cat confdefs.h
>>conftest.
$ac_ext
10068 cat >>conftest.
$ac_ext <<_ACEOF
10069 /* end confdefs.h. */
10071 /* Override any gcc2 internal prototype to avoid an error. */
10075 /* We use char because int might match the return type of a gcc2
10076 builtin and then its argument prototype would still apply. */
10086 rm -f conftest.
$ac_objext conftest
$ac_exeext
10087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10088 (eval $ac_link) 2>conftest.er1
10090 grep -v '^ *+' conftest.er1
>conftest.err
10092 cat conftest.err
>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); } &&
10095 { ac_try
='test -z "$ac_c_werror_flag"
10096 || test ! -s conftest.err'
10097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10098 (eval $ac_try) 2>&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }; } &&
10102 { ac_try
='test -s conftest$ac_exeext'
10103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10104 (eval $ac_try) 2>&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); }; }; then
10108 ac_cv_lib_dld_dld_link
=yes
10110 echo "$as_me: failed program was:" >&5
10111 sed 's/^/| /' conftest.
$ac_ext >&5
10113 ac_cv_lib_dld_dld_link
=no
10115 rm -f conftest.err conftest.
$ac_objext \
10116 conftest
$ac_exeext conftest.
$ac_ext
10117 LIBS
=$ac_check_lib_save_LIBS
10119 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10120 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10121 if test $ac_cv_lib_dld_dld_link = yes; then
10122 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10143 if test "x$lt_cv_dlopen" != xno
; then
10149 case $lt_cv_dlopen in
10151 save_CPPFLAGS
="$CPPFLAGS"
10152 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10154 save_LDFLAGS
="$LDFLAGS"
10155 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10158 LIBS
="$lt_cv_dlopen_libs $LIBS"
10160 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10161 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10162 if test "${lt_cv_dlopen_self+set}" = set; then
10163 echo $ECHO_N "(cached) $ECHO_C" >&6
10165 if test "$cross_compiling" = yes; then :
10166 lt_cv_dlopen_self
=cross
10168 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10169 lt_status
=$lt_dlunknown
10170 cat > conftest.
$ac_ext <<_LT_EOF
10171 #line 10171 "configure"
10172 #include "confdefs.h"
10181 # define LT_DLGLOBAL RTLD_GLOBAL
10184 # define LT_DLGLOBAL DL_GLOBAL
10186 # define LT_DLGLOBAL 0
10190 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10191 find out it does not work in some platform. */
10192 #ifndef LT_DLLAZY_OR_NOW
10194 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10197 # define LT_DLLAZY_OR_NOW DL_LAZY
10200 # define LT_DLLAZY_OR_NOW RTLD_NOW
10203 # define LT_DLLAZY_OR_NOW DL_NOW
10205 # define LT_DLLAZY_OR_NOW 0
10212 void fnord() { int i=42;}
10215 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10216 int status = $lt_dlunknown;
10220 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10221 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10222 /* dlclose (self); */
10230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10231 (eval $ac_link) 2>&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10235 (.
/conftest
; exit; ) >&5 2>/dev
/null
10237 case x
$lt_status in
10238 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10239 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10240 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10243 # compilation failed
10244 lt_cv_dlopen_self
=no
10251 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10252 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10254 if test "x$lt_cv_dlopen_self" = xyes
; then
10255 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10256 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10257 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10258 if test "${lt_cv_dlopen_self_static+set}" = set; then
10259 echo $ECHO_N "(cached) $ECHO_C" >&6
10261 if test "$cross_compiling" = yes; then :
10262 lt_cv_dlopen_self_static
=cross
10264 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10265 lt_status
=$lt_dlunknown
10266 cat > conftest.
$ac_ext <<_LT_EOF
10267 #line 10267 "configure"
10268 #include "confdefs.h"
10277 # define LT_DLGLOBAL RTLD_GLOBAL
10280 # define LT_DLGLOBAL DL_GLOBAL
10282 # define LT_DLGLOBAL 0
10286 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10287 find out it does not work in some platform. */
10288 #ifndef LT_DLLAZY_OR_NOW
10290 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10293 # define LT_DLLAZY_OR_NOW DL_LAZY
10296 # define LT_DLLAZY_OR_NOW RTLD_NOW
10299 # define LT_DLLAZY_OR_NOW DL_NOW
10301 # define LT_DLLAZY_OR_NOW 0
10308 void fnord() { int i=42;}
10311 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10312 int status = $lt_dlunknown;
10316 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10317 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10318 /* dlclose (self); */
10326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10327 (eval $ac_link) 2>&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10331 (.
/conftest
; exit; ) >&5 2>/dev
/null
10333 case x
$lt_status in
10334 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10335 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10336 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10339 # compilation failed
10340 lt_cv_dlopen_self_static
=no
10347 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10348 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10351 CPPFLAGS
="$save_CPPFLAGS"
10352 LDFLAGS
="$save_LDFLAGS"
10357 case $lt_cv_dlopen_self in
10358 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10359 *) enable_dlopen_self
=unknown
;;
10362 case $lt_cv_dlopen_self_static in
10363 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10364 *) enable_dlopen_self_static
=unknown
;;
10386 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10387 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10388 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10389 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10390 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10391 echo "$as_me:$LINENO: result: yes" >&5
10392 echo "${ECHO_T}yes" >&6
10394 # FIXME - insert some real tests, host_os isn't really good enough
10397 if test -n "$STRIP" ; then
10398 striplib
="$STRIP -x"
10399 old_striplib
="$STRIP -S"
10400 echo "$as_me:$LINENO: result: yes" >&5
10401 echo "${ECHO_T}yes" >&6
10403 echo "$as_me:$LINENO: result: no" >&5
10404 echo "${ECHO_T}no" >&6
10408 echo "$as_me:$LINENO: result: no" >&5
10409 echo "${ECHO_T}no" >&6
10425 # Report which library types will actually be built
10426 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10427 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10428 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10429 echo "${ECHO_T}$can_build_shared" >&6
10431 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10432 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10433 test "$can_build_shared" = "no" && enable_shared
=no
10435 # On AIX, shared libraries and static libraries use the same namespace, and
10436 # are all built from PIC.
10439 test "$enable_shared" = yes && enable_static
=no
10440 if test -n "$RANLIB"; then
10441 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10442 postinstall_cmds
='$RANLIB $lib'
10447 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10448 test "$enable_shared" = yes && enable_static
=no
10452 echo "$as_me:$LINENO: result: $enable_shared" >&5
10453 echo "${ECHO_T}$enable_shared" >&6
10455 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10456 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10457 # Make sure either enable_shared or enable_static is yes.
10458 test "$enable_shared" = yes || enable_static
=yes
10459 echo "$as_me:$LINENO: result: $enable_static" >&5
10460 echo "${ECHO_T}$enable_static" >&6
10467 ac_cpp
='$CPP $CPPFLAGS'
10468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10486 ac_config_commands
="$ac_config_commands libtool"
10491 # Only expand once:
10495 if test "x$CC" != xcc
; then
10496 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
10497 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
10499 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
10500 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
10502 set dummy
$CC; ac_cc
=`echo $2 |
10503 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10504 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10507 cat >conftest.
$ac_ext <<_ACEOF
10510 cat confdefs.h
>>conftest.
$ac_ext
10511 cat >>conftest.
$ac_ext <<_ACEOF
10512 /* end confdefs.h. */
10522 # Make sure it works both with $CC and with simple cc.
10523 # We do the test twice because some compilers refuse to overwrite an
10524 # existing .o file with -o, though they will create one.
10525 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
10526 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10527 (eval $ac_try) 2>&5
10529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10530 (exit $ac_status); } &&
10531 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10532 (eval $ac_try) 2>&5
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); };
10537 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
10538 if test "x$CC" != xcc
; then
10539 # Test first that cc exists at all.
10540 if { ac_try
='cc -c conftest.$ac_ext >&5'
10541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10542 (eval $ac_try) 2>&5
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); }; }; then
10546 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
10547 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10548 (eval $ac_try) 2>&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } &&
10552 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10553 (eval $ac_try) 2>&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); };
10561 # cc exists but doesn't like -o.
10562 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
10567 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
10572 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
10573 echo "$as_me:$LINENO: result: yes" >&5
10574 echo "${ECHO_T}yes" >&6
10576 echo "$as_me:$LINENO: result: no" >&5
10577 echo "${ECHO_T}no" >&6
10579 cat >>confdefs.h
<<\_ACEOF
10580 #define NO_MINUS_C_MINUS_O 1
10585 # expand $ac_aux_dir to an absolute path
10586 am_aux_dir
=`cd $ac_aux_dir && pwd`
10588 # FIXME: we rely on the cache variable name because
10589 # there is no other way.
10591 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10592 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
10593 # Losing compiler, so override with the script.
10594 # FIXME: It is wrong to rewrite CC.
10595 # But if we don't then we get into trouble of one sort or another.
10596 # A longer-term fix would be to have automake use am__CC in this case,
10597 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
10598 CC
="$am_aux_dir/compile $CC"
10602 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
10603 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
10604 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
10605 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
10606 echo $ECHO_N "(cached) $ECHO_C" >&6
10608 cat >conftest.
make <<\_ACEOF
10610 @
echo 'ac_maketemp="$(MAKE)"'
10612 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10613 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
10614 if test -n "$ac_maketemp"; then
10615 eval ac_cv_prog_make_
${ac_make}_set
=yes
10617 eval ac_cv_prog_make_
${ac_make}_set
=no
10619 rm -f conftest.
make
10621 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
10622 echo "$as_me:$LINENO: result: yes" >&5
10623 echo "${ECHO_T}yes" >&6
10626 echo "$as_me:$LINENO: result: no" >&5
10627 echo "${ECHO_T}no" >&6
10628 SET_MAKE
="MAKE=${MAKE-make}"
10636 # Sanity check for the cross-compilation case:
10637 if test "${ac_cv_header_stdio_h+set}" = set; then
10638 echo "$as_me:$LINENO: checking for stdio.h" >&5
10639 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6
10640 if test "${ac_cv_header_stdio_h+set}" = set; then
10641 echo $ECHO_N "(cached) $ECHO_C" >&6
10643 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
10644 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6
10646 # Is the header compilable?
10647 echo "$as_me:$LINENO: checking stdio.h usability" >&5
10648 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6
10649 cat >conftest.
$ac_ext <<_ACEOF
10652 cat confdefs.h
>>conftest.
$ac_ext
10653 cat >>conftest.
$ac_ext <<_ACEOF
10654 /* end confdefs.h. */
10655 $ac_includes_default
10658 rm -f conftest.
$ac_objext
10659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10660 (eval $ac_compile) 2>conftest.er1
10662 grep -v '^ *+' conftest.er1
>conftest.err
10664 cat conftest.err
>&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } &&
10667 { ac_try
='test -z "$ac_c_werror_flag"
10668 || test ! -s conftest.err'
10669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10670 (eval $ac_try) 2>&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); }; } &&
10674 { ac_try
='test -s conftest.$ac_objext'
10675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10676 (eval $ac_try) 2>&5
10678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); }; }; then
10680 ac_header_compiler
=yes
10682 echo "$as_me: failed program was:" >&5
10683 sed 's/^/| /' conftest.
$ac_ext >&5
10685 ac_header_compiler
=no
10687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10689 echo "${ECHO_T}$ac_header_compiler" >&6
10691 # Is the header present?
10692 echo "$as_me:$LINENO: checking stdio.h presence" >&5
10693 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6
10694 cat >conftest.
$ac_ext <<_ACEOF
10697 cat confdefs.h
>>conftest.
$ac_ext
10698 cat >>conftest.
$ac_ext <<_ACEOF
10699 /* end confdefs.h. */
10702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10705 grep -v '^ *+' conftest.er1
>conftest.err
10707 cat conftest.err
>&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } >/dev
/null
; then
10710 if test -s conftest.err
; then
10711 ac_cpp_err
=$ac_c_preproc_warn_flag
10712 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10719 if test -z "$ac_cpp_err"; then
10720 ac_header_preproc
=yes
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.
$ac_ext >&5
10725 ac_header_preproc
=no
10727 rm -f conftest.err conftest.
$ac_ext
10728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10729 echo "${ECHO_T}$ac_header_preproc" >&6
10731 # So? What about this header?
10732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10734 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5
10735 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10736 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5
10737 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;}
10738 ac_header_preproc
=yes
10741 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5
10742 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;}
10743 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5
10744 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;}
10745 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5
10746 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;}
10747 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5
10748 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;}
10749 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5
10750 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;}
10751 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5
10752 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;}
10755 ## ----------------------------------------- ##
10756 ## Report this to the package-unused lists. ##
10757 ## ----------------------------------------- ##
10760 sed "s/^/$as_me: WARNING: /" >&2
10763 echo "$as_me:$LINENO: checking for stdio.h" >&5
10764 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6
10765 if test "${ac_cv_header_stdio_h+set}" = set; then
10766 echo $ECHO_N "(cached) $ECHO_C" >&6
10768 ac_cv_header_stdio_h
=$ac_header_preproc
10770 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
10771 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6
10774 if test $ac_cv_header_stdio_h = yes; then
10777 { { echo "$as_me:$LINENO: error: Can't find stdio.h.
10778 You must have a usable C system for the target already installed, at least
10779 including headers and, preferably, the library, before you can configure
10780 the Objective C runtime system. If necessary, install gcc now with
10781 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." >&5
10782 echo "$as_me: error: Can't find stdio.h.
10783 You must have a usable C system for the target already installed, at least
10784 including headers and, preferably, the library, before you can configure
10785 the Objective C runtime system. If necessary, install gcc now with
10786 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." >&2;}
10787 { (exit 1); exit 1; }; }
10792 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10793 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10794 if test "${ac_cv_header_stdc+set}" = set; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 cat >conftest.
$ac_ext <<_ACEOF
10800 cat confdefs.h
>>conftest.
$ac_ext
10801 cat >>conftest.
$ac_ext <<_ACEOF
10802 /* end confdefs.h. */
10803 #include <stdlib.h>
10804 #include <stdarg.h>
10805 #include <string.h>
10816 rm -f conftest.
$ac_objext
10817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10818 (eval $ac_compile) 2>conftest.er1
10820 grep -v '^ *+' conftest.er1
>conftest.err
10822 cat conftest.err
>&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); } &&
10825 { ac_try
='test -z "$ac_c_werror_flag"
10826 || test ! -s conftest.err'
10827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10828 (eval $ac_try) 2>&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); }; } &&
10832 { ac_try
='test -s conftest.$ac_objext'
10833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10834 (eval $ac_try) 2>&5
10836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837 (exit $ac_status); }; }; then
10838 ac_cv_header_stdc
=yes
10840 echo "$as_me: failed program was:" >&5
10841 sed 's/^/| /' conftest.
$ac_ext >&5
10843 ac_cv_header_stdc
=no
10845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10847 if test $ac_cv_header_stdc = yes; then
10848 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10849 cat >conftest.
$ac_ext <<_ACEOF
10852 cat confdefs.h
>>conftest.
$ac_ext
10853 cat >>conftest.
$ac_ext <<_ACEOF
10854 /* end confdefs.h. */
10855 #include <string.h>
10858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10859 $EGREP "memchr" >/dev
/null
2>&1; then
10862 ac_cv_header_stdc
=no
10868 if test $ac_cv_header_stdc = yes; then
10869 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10870 cat >conftest.
$ac_ext <<_ACEOF
10873 cat confdefs.h
>>conftest.
$ac_ext
10874 cat >>conftest.
$ac_ext <<_ACEOF
10875 /* end confdefs.h. */
10876 #include <stdlib.h>
10879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10880 $EGREP "free" >/dev
/null
2>&1; then
10883 ac_cv_header_stdc
=no
10889 if test $ac_cv_header_stdc = yes; then
10890 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10891 if test "$cross_compiling" = yes; then
10894 cat >conftest.
$ac_ext <<_ACEOF
10897 cat confdefs.h
>>conftest.
$ac_ext
10898 cat >>conftest.
$ac_ext <<_ACEOF
10899 /* end confdefs.h. */
10901 #if ((' ' & 0x0FF) == 0x020)
10902 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10903 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10905 # define ISLOWER(c) \
10906 (('a' <= (c) && (c) <= 'i') \
10907 || ('j' <= (c) && (c) <= 'r') \
10908 || ('s' <= (c) && (c) <= 'z'))
10909 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10912 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10917 for (i = 0; i < 256; i++)
10918 if (XOR (islower (i), ISLOWER (i))
10919 || toupper (i) != TOUPPER (i))
10924 rm -f conftest
$ac_exeext
10925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10926 (eval $ac_link) 2>&5
10928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10929 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10931 (eval $ac_try) 2>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); }; }; then
10937 echo "$as_me: program exited with status $ac_status" >&5
10938 echo "$as_me: failed program was:" >&5
10939 sed 's/^/| /' conftest.
$ac_ext >&5
10941 ( exit $ac_status )
10942 ac_cv_header_stdc
=no
10944 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10948 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10949 echo "${ECHO_T}$ac_cv_header_stdc" >&6
10950 if test $ac_cv_header_stdc = yes; then
10952 cat >>confdefs.h
<<\_ACEOF
10953 #define STDC_HEADERS 1
10960 for ac_header
in sched.h
10962 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10964 echo "$as_me:$LINENO: checking for $ac_header" >&5
10965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10967 echo $ECHO_N "(cached) $ECHO_C" >&6
10969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10972 # Is the header compilable?
10973 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10974 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10975 cat >conftest.
$ac_ext <<_ACEOF
10978 cat confdefs.h
>>conftest.
$ac_ext
10979 cat >>conftest.
$ac_ext <<_ACEOF
10980 /* end confdefs.h. */
10981 $ac_includes_default
10982 #include <$ac_header>
10984 rm -f conftest.
$ac_objext
10985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10986 (eval $ac_compile) 2>conftest.er1
10988 grep -v '^ *+' conftest.er1
>conftest.err
10990 cat conftest.err
>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); } &&
10993 { ac_try
='test -z "$ac_c_werror_flag"
10994 || test ! -s conftest.err'
10995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10996 (eval $ac_try) 2>&5
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); }; } &&
11000 { ac_try
='test -s conftest.$ac_objext'
11001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11002 (eval $ac_try) 2>&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); }; }; then
11006 ac_header_compiler
=yes
11008 echo "$as_me: failed program was:" >&5
11009 sed 's/^/| /' conftest.
$ac_ext >&5
11011 ac_header_compiler
=no
11013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11015 echo "${ECHO_T}$ac_header_compiler" >&6
11017 # Is the header present?
11018 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11020 cat >conftest.
$ac_ext <<_ACEOF
11023 cat confdefs.h
>>conftest.
$ac_ext
11024 cat >>conftest.
$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11026 #include <$ac_header>
11028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11029 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11031 grep -v '^ *+' conftest.er1
>conftest.err
11033 cat conftest.err
>&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } >/dev
/null
; then
11036 if test -s conftest.err
; then
11037 ac_cpp_err
=$ac_c_preproc_warn_flag
11038 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11045 if test -z "$ac_cpp_err"; then
11046 ac_header_preproc
=yes
11048 echo "$as_me: failed program was:" >&5
11049 sed 's/^/| /' conftest.
$ac_ext >&5
11051 ac_header_preproc
=no
11053 rm -f conftest.err conftest.
$ac_ext
11054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11055 echo "${ECHO_T}$ac_header_preproc" >&6
11057 # So? What about this header?
11058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11064 ac_header_preproc
=yes
11067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11081 ## ----------------------------------------- ##
11082 ## Report this to the package-unused lists. ##
11083 ## ----------------------------------------- ##
11086 sed "s/^/$as_me: WARNING: /" >&2
11089 echo "$as_me:$LINENO: checking for $ac_header" >&5
11090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11092 echo $ECHO_N "(cached) $ECHO_C" >&6
11094 eval "$as_ac_Header=\$ac_header_preproc"
11096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11101 cat >>confdefs.h
<<_ACEOF
11102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11114 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
11115 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
11116 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
11117 echo "$as_me:$LINENO: result: $target_thread_file" >&5
11118 echo "${ECHO_T}$target_thread_file" >&6
11120 if test $target_thread_file != single
; then
11122 cat >>confdefs.h
<<\_ACEOF
11123 #define HAVE_GTHR_DEFAULT 1
11129 echo "$as_me:$LINENO: checking for exception model to use" >&5
11130 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
11132 ac_cpp
='$CPP $CPPFLAGS'
11133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11137 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
11138 if test "${enable_sjlj_exceptions+set}" = set; then
11139 enableval
="$enable_sjlj_exceptions"
11142 cat > conftest.
$ac_ext << EOF
11143 #line 11143 "configure"
11146 @implementation Frob
11154 @catch (Frob* ex) {
11159 old_CFLAGS
="$CFLAGS"
11160 CFLAGS
="-x objective-c -fgnu-runtime -fobjc-exceptions -S"
11161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11162 (eval $ac_compile) 2>&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); }; then
11166 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
11167 enable_sjlj_exceptions
=yes
11168 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
11169 enable_sjlj_exceptions
=no
11172 CFLAGS
="$old_CFLAGS"
11175 if test x
$enable_sjlj_exceptions = xyes
; then
11177 cat >>confdefs.h
<<\_ACEOF
11178 #define SJLJ_EXCEPTIONS 1
11181 ac_exception_model_name
=sjlj
11182 elif test x
$enable_sjlj_exceptions = xno
; then
11183 ac_exception_model_name
="call frame"
11185 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
11186 echo "$as_me: error: unable to detect exception model" >&2;}
11187 { (exit 1); exit 1; }; }
11190 ac_cpp
='$CPP $CPPFLAGS'
11191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11195 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
11196 echo "${ECHO_T}$ac_exception_model_name" >&6
11202 if test ${multilib} = yes; then
11203 multilib_arg
="--enable-multilib"
11208 ac_config_files
="$ac_config_files Makefile"
11210 cat >confcache
<<\_ACEOF
11211 # This file is a shell script that caches the results of configure
11212 # tests run on this system so they can be shared between configure
11213 # scripts and configure runs, see configure's option --config-cache.
11214 # It is not useful on other systems. If it contains results you don't
11215 # want to keep, you may remove or edit it.
11217 # config.status only pays attention to the cache file if you give it
11218 # the --recheck option to rerun configure.
11220 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11221 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11222 # following values.
11226 # The following way of writing the cache mishandles newlines in values,
11227 # but we know of no workaround that is simple, portable, and efficient.
11228 # So, don't put newlines in cache variables' values.
11229 # Ultrix sh set writes to stderr and can't be redirected directly,
11230 # and sets the high bit in the cache file unless we assign to the vars.
11233 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11235 # `set' does not quote correctly, so add quotes (double-quote
11236 # substitution turns \\\\ into \\, and sed turns \\ into \).
11239 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11242 # `set' quotes correctly as required by POSIX, so do not add quotes.
11244 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11251 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11253 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11255 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11256 if test -w $cache_file; then
11257 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11258 cat confcache
>$cache_file
11260 echo "not updating unwritable cache $cache_file"
11265 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11266 # Let make expand exec_prefix.
11267 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11269 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11270 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11271 # trailing colons and then remove the whole line if VPATH becomes empty
11272 # (actually we leave an empty line to preserve line numbers).
11273 if test "x$srcdir" = x.
; then
11274 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11275 s/:*\$(srcdir):*/:/;
11276 s/:*\${srcdir}:*/:/;
11278 s/^\([^=]*=[ ]*\):*/\1/;
11284 DEFS
=-DHAVE_CONFIG_H
11288 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11289 # 1. Remove the extension, and $U if already installed.
11290 ac_i
=`echo "$ac_i" |
11291 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11293 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11294 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11296 LIBOBJS
=$ac_libobjs
11298 LTLIBOBJS
=$ac_ltlibobjs
11301 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11302 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11303 Usually this means the macro was only invoked conditionally." >&5
11304 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11305 Usually this means the macro was only invoked conditionally." >&2;}
11306 { (exit 1); exit 1; }; }
11309 : ${CONFIG_STATUS=./config.status}
11310 ac_clean_files_save
=$ac_clean_files
11311 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11312 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11313 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11314 cat >$CONFIG_STATUS <<_ACEOF
11316 # Generated by $as_me.
11317 # Run this file to recreate the current configuration.
11318 # Compiler output produced by configure, useful for debugging
11319 # configure, is in config.log if it exists.
11322 ac_cs_recheck=false
11324 SHELL=\${CONFIG_SHELL-$SHELL}
11327 cat >>$CONFIG_STATUS <<\_ACEOF
11328 ## --------------------- ##
11329 ## M4sh Initialization. ##
11330 ## --------------------- ##
11332 # Be Bourne compatible
11333 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11336 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11337 # is contrary to our usage. Disable this feature.
11338 alias -g '${1+"$@"}'='"$@"'
11339 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11342 DUALCASE
=1; export DUALCASE
# for MKS sh
11344 # Support unset when possible.
11345 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11352 # Work around bugs in pre-3.0 UWIN ksh.
11353 $as_unset ENV MAIL MAILPATH
11360 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11361 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11362 LC_TELEPHONE LC_TIME
11364 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11365 eval $as_var=C
; export $as_var
11371 # Required to use basename.
11372 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11378 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11379 as_basename
=basename
11385 # Name of the executable.
11386 as_me
=`$as_basename "$0" ||
11387 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11388 X"$0" : 'X\(//\)$' \| \
11389 X"$0" : 'X\(/\)$' \| \
11390 . : '\(.\)' 2>/dev/null ||
11392 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11393 /^X\/\(\/\/\)$/{ s//\1/; q; }
11394 /^X\/\(\/\).*/{ s//\1/; q; }
11398 # PATH needs CR, and LINENO needs CR and PATH.
11399 # Avoid depending upon Character Ranges.
11400 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11401 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11402 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11403 as_cr_digits
='0123456789'
11404 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11406 # The user is always right.
11407 if test "${PATH_SEPARATOR+set}" != set; then
11408 echo "#! /bin/sh" >conf$$.sh
11409 echo "exit 0" >>conf$$.sh
11411 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11420 as_lineno_1
=$LINENO
11421 as_lineno_2
=$LINENO
11422 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11423 test "x$as_lineno_1" != "x$as_lineno_2" &&
11424 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11425 # Find who we are. Look in the path if we contain no path at all
11428 *[\\/]* ) as_myself
=$0 ;;
11429 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11430 for as_dir
in $PATH
11433 test -z "$as_dir" && as_dir
=.
11434 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11439 # We did not find ourselves, most probably we were run as `sh COMMAND'
11440 # in which case we are not to be found in the path.
11441 if test "x$as_myself" = x
; then
11444 if test ! -f "$as_myself"; then
11445 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11446 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11447 { (exit 1); exit 1; }; }
11449 case $CONFIG_SHELL in
11451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11452 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11455 test -z "$as_dir" && as_dir
=.
11456 for as_base
in sh bash ksh sh5
; do
11459 if ("$as_dir/$as_base" -c '
11460 as_lineno_1=$LINENO
11461 as_lineno_2=$LINENO
11462 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11463 test "x$as_lineno_1" != "x$as_lineno_2" &&
11464 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11465 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11466 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11467 CONFIG_SHELL
=$as_dir/$as_base
11468 export CONFIG_SHELL
11469 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11477 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11478 # uniformly replaced by the line number. The first 'sed' inserts a
11479 # line-number line before each line; the second 'sed' does the real
11480 # work. The second script uses 'N' to pair each line-number line
11481 # with the numbered line, and appends trailing '-' during
11482 # substitution so that $LINENO is not a special case at line end.
11483 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11484 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11485 sed '=' <$as_myself |
11490 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11493 s,^['$as_cr_digits']*\n,,
11494 ' >$as_me.lineno
&&
11495 chmod +x
$as_me.lineno ||
11496 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11497 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11498 { (exit 1); exit 1; }; }
11500 # Don't try to exec as it changes $[0], causing all sort of problems
11501 # (the dirname of $[0] is not the place where we might find the
11502 # original and so on. Autoconf is especially sensible to this).
11504 # Exit status is that of the last command.
11509 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11510 *c
*,-n*) ECHO_N
= ECHO_C
='
11512 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11513 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11516 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11522 rm -f conf$$ conf$$.exe conf$$.
file
11524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11525 # We could just check for DJGPP; but this test a) works b) is more generic
11526 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11527 if test -f conf$$.exe
; then
11528 # Don't use ln at all; we don't have any links
11533 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11538 rm -f conf$$ conf$$.exe conf$$.
file
11540 if mkdir
-p .
2>/dev
/null
; then
11543 test -d .
/-p && rmdir .
/-p
11547 as_executable_p
="test -f"
11549 # Sed expression to map a string onto a valid CPP name.
11550 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11552 # Sed expression to map a string onto a valid variable name.
11553 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11557 # We need space, tab and new line, in precisely that order.
11567 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11568 # report actual input values of CONFIG_FILES etc. instead of their
11569 # values after options handling. Logging --version etc. is OK.
11573 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11574 ## Running $as_me. ##
11579 This file was extended by package-unused $as_me version-unused, which was
11580 generated by GNU Autoconf 2.59. Invocation command line was
11582 CONFIG_FILES = $CONFIG_FILES
11583 CONFIG_HEADERS = $CONFIG_HEADERS
11584 CONFIG_LINKS = $CONFIG_LINKS
11585 CONFIG_COMMANDS = $CONFIG_COMMANDS
11589 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11593 # Files that config.status was made for.
11594 if test -n "$ac_config_files"; then
11595 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11598 if test -n "$ac_config_headers"; then
11599 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11602 if test -n "$ac_config_links"; then
11603 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11606 if test -n "$ac_config_commands"; then
11607 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11610 cat >>$CONFIG_STATUS <<\_ACEOF
11613 \`$as_me' instantiates files from templates according to the
11614 current configuration.
11616 Usage: $0 [OPTIONS] [FILE]...
11618 -h, --help print this help, then exit
11619 -V, --version print version number, then exit
11620 -q, --quiet do not print progress messages
11621 -d, --debug don't remove temporary files
11622 --recheck update $as_me by reconfiguring in the same conditions
11623 --file=FILE[:TEMPLATE]
11624 instantiate the configuration file FILE
11625 --header=FILE[:TEMPLATE]
11626 instantiate the configuration header FILE
11628 Configuration files:
11631 Configuration headers:
11634 Configuration commands:
11637 Report bugs to <bug-autoconf@gnu.org>."
11640 cat >>$CONFIG_STATUS <<_ACEOF
11642 package-unused config.status version-unused
11643 configured by $0, generated by GNU Autoconf 2.59,
11644 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11646 Copyright (C) 2003 Free Software Foundation, Inc.
11647 This config.status script is free software; the Free Software Foundation
11648 gives unlimited permission to copy, distribute and modify it."
11653 cat >>$CONFIG_STATUS <<\_ACEOF
11654 # If no file are specified by the user, then we need to provide default
11655 # value. By we need to know if files were specified by the user.
11661 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11662 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11670 *) # This is not an option, so the user has probably given explicit
11673 ac_need_defaults
=false
;;
11677 # Handling of the options.
11679 cat >>$CONFIG_STATUS <<\_ACEOF
11680 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11682 --version |
--vers* |
-V )
11683 echo "$ac_cs_version"; exit 0 ;;
11685 # Conflict between --help and --header
11686 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11687 Try \`$0 --help' for more information." >&5
11688 echo "$as_me: error: ambiguous option: $1
11689 Try \`$0 --help' for more information." >&2;}
11690 { (exit 1); exit 1; }; };;
11691 --help |
--hel |
-h )
11692 echo "$ac_cs_usage"; exit 0 ;;
11693 --debug |
--d* |
-d )
11695 --file |
--fil |
--fi |
--f )
11697 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11698 ac_need_defaults
=false
;;
11699 --header |
--heade |
--head |
--hea )
11701 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11702 ac_need_defaults
=false
;;
11703 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11704 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11707 # This is an error.
11708 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11709 Try \`$0 --help' for more information." >&5
11710 echo "$as_me: error: unrecognized option: $1
11711 Try \`$0 --help' for more information." >&2;}
11712 { (exit 1); exit 1; }; } ;;
11714 *) ac_config_targets
="$ac_config_targets $1" ;;
11720 ac_configure_extra_args
=
11722 if $ac_cs_silent; then
11724 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11728 cat >>$CONFIG_STATUS <<_ACEOF
11729 if \$ac_cs_recheck; then
11730 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11731 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11736 cat >>$CONFIG_STATUS <<_ACEOF
11738 # INIT-COMMANDS section.
11745 with_multisubdir="$with_multisubdir"
11746 with_multisrctop="$with_multisrctop"
11747 with_target_subdir="$with_target_subdir"
11748 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11749 multi_basedir="$multi_basedir"
11750 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11754 # The HP-UX ksh and POSIX shell print the target directory to stdout
11755 # if CDPATH is set.
11756 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11758 sed_quote_subst='$sed_quote_subst'
11759 double_quote_subst='$double_quote_subst'
11760 delay_variable_subst='$delay_variable_subst'
11761 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
11762 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11763 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11764 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11765 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11766 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11767 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11768 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11769 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11770 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11771 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11772 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11773 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11774 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11775 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11776 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11777 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11778 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11779 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11780 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11781 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11782 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11783 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11784 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11785 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11786 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11787 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11788 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11789 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11790 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11791 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11792 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11793 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11794 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11795 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11796 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11797 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11798 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11799 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11800 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11801 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11802 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11803 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11804 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11805 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11806 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11807 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"`'
11808 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11809 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11810 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11811 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11812 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11813 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11814 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11815 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11816 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11817 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11818 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11819 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11820 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11821 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11822 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11823 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11824 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11825 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11826 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11827 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11828 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11829 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11830 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11831 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11832 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11833 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11834 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11835 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11836 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11837 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11838 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11839 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11840 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11841 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11842 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11843 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11844 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11845 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11846 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11847 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11848 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11849 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11850 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11851 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11852 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11853 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11854 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11855 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11856 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11857 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11858 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11859 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11860 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11861 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11862 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11863 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11864 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11865 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11866 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11867 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11868 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11869 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11870 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11871 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11872 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11873 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11874 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11875 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11876 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11877 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11878 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11879 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11880 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11883 LTCFLAGS='$LTCFLAGS'
11884 compiler='$compiler_DEFAULT'
11886 # Quote evaled strings.
11897 deplibs_check_method \
11906 lt_cv_sys_global_symbol_pipe \
11907 lt_cv_sys_global_symbol_to_cdecl \
11908 lt_cv_sys_global_symbol_to_c_name_address \
11909 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11912 lt_prog_compiler_no_builtin_flag \
11913 lt_prog_compiler_wl \
11914 lt_prog_compiler_pic \
11915 lt_prog_compiler_static \
11916 lt_cv_prog_compiler_c_o \
11924 export_dynamic_flag_spec \
11925 whole_archive_flag_spec \
11926 compiler_needs_object \
11928 allow_undefined_flag \
11929 no_undefined_flag \
11930 hardcode_libdir_flag_spec \
11931 hardcode_libdir_flag_spec_ld \
11932 hardcode_libdir_separator \
11937 variables_saved_for_relink \
11939 library_names_spec \
11944 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11945 *[\\\\\\\`\\"\\\$]*)
11946 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11949 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11954 # Double-quote double-evaled strings.
11955 for var in reload_cmds \
11956 old_postinstall_cmds \
11957 old_postuninstall_cmds \
11959 extract_expsyms_cmds \
11960 old_archive_from_new_cmds \
11961 old_archive_from_expsyms_cmds \
11963 archive_expsym_cmds \
11965 module_expsym_cmds \
11966 export_symbols_cmds \
11969 postuninstall_cmds \
11971 sys_lib_search_path_spec \
11972 sys_lib_dlsearch_path_spec; do
11973 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11974 *[\\\\\\\`\\"\\\$]*)
11975 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11978 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11983 # Fix-up fallback echo if it was mangled by the above quoting rules.
11985 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11989 ac_aux_dir='$ac_aux_dir'
11990 xsi_shell='$xsi_shell'
11991 lt_shell_append='$lt_shell_append'
11993 # See if we are running on zsh, and set the options which allow our
11994 # commands through without removal of \ escapes INIT.
11995 if test -n "\${ZSH_VERSION+set}" ; then
11996 setopt NO_GLOB_SUBST
12002 TIMESTAMP='$TIMESTAMP'
12013 cat >>$CONFIG_STATUS <<\_ACEOF
12014 for ac_config_target
in $ac_config_targets
12016 case "$ac_config_target" in
12017 # Handling of arguments.
12018 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12019 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12020 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12021 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12022 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12023 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12024 { (exit 1); exit 1; }; };;
12028 # If the user did not use the arguments to specify the items to instantiate,
12029 # then the envvar interface is used. Set only those that are not.
12030 # We use the long form for the default assignment because of an extremely
12031 # bizarre bug on SunOS 4.1.3.
12032 if $ac_need_defaults; then
12033 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12034 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12035 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12038 # Have a temporary directory for convenience. Make it in the build tree
12039 # simply because there is no reason to put it here, and in addition,
12040 # creating and moving files from /tmp can sometimes cause problems.
12041 # Create a temporary directory, and hook for its removal unless debugging.
12044 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12045 trap '{ (exit 1); exit 1; }' 1 2 13 15
12048 # Create a (secure) tmp directory for tmp files.
12051 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12052 test -n "$tmp" && test -d "$tmp"
12055 tmp
=.
/confstat$$
-$RANDOM
12056 (umask 077 && mkdir
$tmp)
12059 echo "$me: cannot create a temporary directory in ." >&2
12060 { (exit 1); exit 1; }
12065 cat >>$CONFIG_STATUS <<_ACEOF
12068 # CONFIG_FILES section.
12071 # No need to generate the scripts if there are no CONFIG_FILES.
12072 # This happens for instance when ./config.status config.h
12073 if test -n "\$CONFIG_FILES"; then
12074 # Protect against being on the right side of a sed subst in config.status.
12075 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12076 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12077 s,@SHELL@,$SHELL,;t t
12078 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12079 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12080 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12081 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12082 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12083 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12084 s,@exec_prefix@,$exec_prefix,;t t
12085 s,@prefix@,$prefix,;t t
12086 s,@program_transform_name@,$program_transform_name,;t t
12087 s,@bindir@,$bindir,;t t
12088 s,@sbindir@,$sbindir,;t t
12089 s,@libexecdir@,$libexecdir,;t t
12090 s,@datadir@,$datadir,;t t
12091 s,@sysconfdir@,$sysconfdir,;t t
12092 s,@sharedstatedir@,$sharedstatedir,;t t
12093 s,@localstatedir@,$localstatedir,;t t
12094 s,@libdir@,$libdir,;t t
12095 s,@includedir@,$includedir,;t t
12096 s,@oldincludedir@,$oldincludedir,;t t
12097 s,@infodir@,$infodir,;t t
12098 s,@mandir@,$mandir,;t t
12099 s,@build_alias@,$build_alias,;t t
12100 s,@host_alias@,$host_alias,;t t
12101 s,@target_alias@,$target_alias,;t t
12102 s,@DEFS@,$DEFS,;t t
12103 s,@ECHO_C@,$ECHO_C,;t t
12104 s,@ECHO_N@,$ECHO_N,;t t
12105 s,@ECHO_T@,$ECHO_T,;t t
12106 s,@LIBS@,$LIBS,;t t
12107 s,@build@,$build,;t t
12108 s,@build_cpu@,$build_cpu,;t t
12109 s,@build_vendor@,$build_vendor,;t t
12110 s,@build_os@,$build_os,;t t
12111 s,@build_libsubdir@,$build_libsubdir,;t t
12112 s,@build_subdir@,$build_subdir,;t t
12113 s,@host_subdir@,$host_subdir,;t t
12114 s,@target_subdir@,$target_subdir,;t t
12115 s,@VERSION@,$VERSION,;t t
12116 s,@OBJC_BOEHM_GC@,$OBJC_BOEHM_GC,;t t
12117 s,@OBJC_BOEHM_GC_INCLUDES@,$OBJC_BOEHM_GC_INCLUDES,;t t
12118 s,@multi_basedir@,$multi_basedir,;t t
12119 s,@host@,$host,;t t
12120 s,@host_cpu@,$host_cpu,;t t
12121 s,@host_vendor@,$host_vendor,;t t
12122 s,@host_os@,$host_os,;t t
12123 s,@target@,$target,;t t
12124 s,@target_cpu@,$target_cpu,;t t
12125 s,@target_vendor@,$target_vendor,;t t
12126 s,@target_os@,$target_os,;t t
12127 s,@target_noncanonical@,$target_noncanonical,;t t
12128 s,@glibcpp_srcdir@,$glibcpp_srcdir,;t t
12129 s,@toolexecdir@,$toolexecdir,;t t
12130 s,@toolexeclibdir@,$toolexeclibdir,;t t
12131 s,@includedirname@,$includedirname,;t t
12132 s,@libsuffix@,$libsuffix,;t t
12134 s,@ac_ct_CC@,$ac_ct_CC,;t t
12135 s,@EXEEXT@,$EXEEXT,;t t
12136 s,@OBJEXT@,$OBJEXT,;t t
12137 s,@extra_ldflags_libobjc@,$extra_ldflags_libobjc,;t t
12138 s,@CFLAGS@,$CFLAGS,;t t
12140 s,@ac_ct_AS@,$ac_ct_AS,;t t
12142 s,@ac_ct_AR@,$ac_ct_AR,;t t
12143 s,@RANLIB@,$RANLIB,;t t
12144 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12145 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12146 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12147 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12148 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12149 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12150 s,@MAINT@,$MAINT,;t t
12151 s,@DLLTOOL@,$DLLTOOL,;t t
12152 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
12153 s,@OBJDUMP@,$OBJDUMP,;t t
12154 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
12155 s,@LIBTOOL@,$LIBTOOL,;t t
12157 s,@EGREP@,$EGREP,;t t
12158 s,@FGREP@,$FGREP,;t t
12159 s,@GREP@,$GREP,;t t
12161 s,@DUMPBIN@,$DUMPBIN,;t t
12162 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
12164 s,@LN_S@,$LN_S,;t t
12165 s,@STRIP@,$STRIP,;t t
12166 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12167 s,@lt_ECHO@,$lt_ECHO,;t t
12168 s,@DSYMUTIL@,$DSYMUTIL,;t t
12169 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
12170 s,@NMEDIT@,$NMEDIT,;t t
12171 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
12172 s,@LIPO@,$LIPO,;t t
12173 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
12174 s,@OTOOL@,$OTOOL,;t t
12175 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
12176 s,@OTOOL64@,$OTOOL64,;t t
12177 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
12179 s,@CPPFLAGS@,$CPPFLAGS,;t t
12180 s,@SET_MAKE@,$SET_MAKE,;t t
12181 s,@LIBOBJS@,$LIBOBJS,;t t
12182 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12187 cat >>$CONFIG_STATUS <<\_ACEOF
12188 # Split the substitutions into bite-sized pieces for seds with
12189 # small command number limits, like on Digital OSF/1 and HP-UX.
12190 ac_max_sed_lines
=48
12191 ac_sed_frag
=1 # Number of current file.
12192 ac_beg
=1 # First line for current file.
12193 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12196 while $ac_more_lines; do
12197 if test $ac_beg -gt 1; then
12198 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12200 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12202 if test ! -s $tmp/subs.frag
; then
12203 ac_more_lines
=false
12205 # The purpose of the label and of the branching condition is to
12206 # speed up the sed processing (if there are no `@' at all, there
12207 # is no need to browse any of the substitutions).
12208 # These are the two extra sed commands mentioned above.
12210 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12211 if test -z "$ac_sed_cmds"; then
12212 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12214 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12216 ac_sed_frag
=`expr $ac_sed_frag + 1`
12218 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12221 if test -z "$ac_sed_cmds"; then
12224 fi # test -n "$CONFIG_FILES"
12227 cat >>$CONFIG_STATUS <<\_ACEOF
12228 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12229 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12231 - |
*:- |
*:-:* ) # input from stdin
12233 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12234 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12235 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12236 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12237 * ) ac_file_in
=$ac_file.
in ;;
12240 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12241 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12242 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12243 X"$ac_file" : 'X\(//\)[^/]' \| \
12244 X"$ac_file" : 'X\(//\)$' \| \
12245 X"$ac_file" : 'X\(/\)' \| \
12246 . : '\(.\)' 2>/dev/null ||
12248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12249 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12250 /^X\(\/\/\)$/{ s//\1/; q; }
12251 /^X\(\/\).*/{ s//\1/; q; }
12253 { if $as_mkdir_p; then
12258 while test ! -d "$as_dir"; do
12259 as_dirs
="$as_dir $as_dirs"
12260 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12262 X"$as_dir" : 'X\(//\)[^/]' \| \
12263 X"$as_dir" : 'X\(//\)$' \| \
12264 X"$as_dir" : 'X\(/\)' \| \
12265 . : '\(.\)' 2>/dev/null ||
12267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12268 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12269 /^X\(\/\/\)$/{ s//\1/; q; }
12270 /^X\(\/\).*/{ s//\1/; q; }
12273 test ! -n "$as_dirs" || mkdir
$as_dirs
12274 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12275 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12276 { (exit 1); exit 1; }; }; }
12280 if test "$ac_dir" != .
; then
12281 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12282 # A "../" for each directory in $ac_dir_suffix.
12283 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12285 ac_dir_suffix
= ac_top_builddir
=
12289 .
) # No --srcdir option. We are building in place.
12291 if test -z "$ac_top_builddir"; then
12294 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12296 [\\/]* | ?
:[\\/]* ) # Absolute path.
12297 ac_srcdir
=$srcdir$ac_dir_suffix;
12298 ac_top_srcdir
=$srcdir ;;
12299 *) # Relative path.
12300 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12301 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12304 # Do not use `cd foo && pwd` to compute absolute paths, because
12305 # the directories may not exist.
12307 .
) ac_abs_builddir
="$ac_dir";;
12310 .
) ac_abs_builddir
=`pwd`;;
12311 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12312 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12315 case $ac_abs_builddir in
12316 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12318 case ${ac_top_builddir}.
in
12319 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12320 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12321 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12324 case $ac_abs_builddir in
12325 .
) ac_abs_srcdir
=$ac_srcdir;;
12328 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12329 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12330 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12333 case $ac_abs_builddir in
12334 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12336 case $ac_top_srcdir in
12337 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12338 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12339 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12345 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12346 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12349 if test x
"$ac_file" != x-
; then
12350 { echo "$as_me:$LINENO: creating $ac_file" >&5
12351 echo "$as_me: creating $ac_file" >&6;}
12354 # Let's still pretend it is `configure' which instantiates (i.e., don't
12355 # use $as_me), people would be surprised to read:
12356 # /* config.h. Generated by config.status. */
12357 if test x
"$ac_file" = x-
; then
12360 configure_input
="$ac_file. "
12362 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12363 sed 's,.*/,,'` by configure."
12365 # First look for the input files in the build tree, otherwise in the
12367 ac_file_inputs
=`IFS=:
12368 for f in $ac_file_in; do
12370 -) echo $tmp/stdin ;;
12372 # Absolute (can't be DOS-style, as IFS=:)
12373 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12374 echo "$as_me: error: cannot find input file: $f" >&2;}
12375 { (exit 1); exit 1; }; }
12378 if test -f "$f"; then
12381 elif test -f "$srcdir/$f"; then
12386 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12387 echo "$as_me: error: cannot find input file: $f" >&2;}
12388 { (exit 1); exit 1; }; }
12391 done` ||
{ (exit 1); exit 1; }
12393 cat >>$CONFIG_STATUS <<_ACEOF
12397 cat >>$CONFIG_STATUS <<\_ACEOF
12399 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12400 s
,@configure_input@
,$configure_input,;t t
12401 s
,@srcdir@
,$ac_srcdir,;t t
12402 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12403 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12404 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12405 s
,@builddir@
,$ac_builddir,;t t
12406 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12407 s
,@top_builddir@
,$ac_top_builddir,;t t
12408 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12409 s
,@INSTALL@
,$ac_INSTALL,;t t
12410 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12412 if test x"$ac_file" != x-; then
12413 mv $tmp/out $ac_file
12421 cat >>$CONFIG_STATUS <<\_ACEOF
12424 # CONFIG_HEADER section.
12427 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12428 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12430 # ac_d sets the value in "#define NAME VALUE" lines.
12431 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12432 ac_dB
='[ ].*$,\1#\2'
12435 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12436 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12437 ac_uB
='$,\1#\2define\3'
12441 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12442 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12444 - |
*:- |
*:-:* ) # input from stdin
12446 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12447 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12448 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12449 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12450 * ) ac_file_in
=$ac_file.
in ;;
12453 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12454 echo "$as_me: creating $ac_file" >&6;}
12456 # First look for the input files in the build tree, otherwise in the
12458 ac_file_inputs
=`IFS=:
12459 for f in $ac_file_in; do
12461 -) echo $tmp/stdin ;;
12463 # Absolute (can't be DOS-style, as IFS=:)
12464 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12465 echo "$as_me: error: cannot find input file: $f" >&2;}
12466 { (exit 1); exit 1; }; }
12467 # Do quote $f, to prevent DOS paths from being IFS'd.
12470 if test -f "$f"; then
12473 elif test -f "$srcdir/$f"; then
12478 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12479 echo "$as_me: error: cannot find input file: $f" >&2;}
12480 { (exit 1); exit 1; }; }
12483 done` ||
{ (exit 1); exit 1; }
12484 # Remove the trailing spaces.
12485 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12489 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12490 # `conftest.undefs', that substitutes the proper values into
12491 # config.h.in to produce config.h. The first handles `#define'
12492 # templates, and the second `#undef' templates.
12493 # And first: Protect against being on the right side of a sed subst in
12494 # config.status. Protect against being in an unquoted here document
12495 # in config.status.
12496 rm -f conftest.defines conftest.undefs
12497 # Using a here document instead of a string reduces the quoting nightmare.
12498 # Putting comments in sed scripts is not portable.
12500 # `end' is used to avoid that the second main sed command (meant for
12501 # 0-ary CPP macros) applies to n-ary macro definitions.
12502 # See the Autoconf documentation for `clear'.
12503 cat >confdef2sed.
sed <<\_ACEOF
12508 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12510 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12513 # If some macros were called several times there might be several times
12514 # the same #defines, which is useless. Nevertheless, we may not want to
12515 # sort them, since we want the *last* AC-DEFINE to be honored.
12516 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12517 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12518 rm -f confdef2sed.sed
12520 # This sed command replaces #undef with comments. This is necessary, for
12521 # example, in the case of _POSIX_SOURCE, which is predefined and required
12522 # on some systems where configure will not decide to define it.
12523 cat >>conftest.undefs <<\_ACEOF
12524 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12527 # Break up conftest.defines because some shells have a limit on the size
12528 # of here documents, and old seds have small limits too (100 cmds).
12529 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12530 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12531 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12532 echo ' :' >>$CONFIG_STATUS
12533 rm -f conftest.tail
12534 while grep . conftest.defines >/dev/null
12536 # Write a limited-size here document to $tmp/defines.sed.
12537 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12538 # Speed up: don't consider the non `#define' lines.
12539 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12540 # Work around the forget-to-reset-the-flag bug.
12541 echo 't clr' >>$CONFIG_STATUS
12542 echo ': clr' >>$CONFIG_STATUS
12543 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12545 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12547 mv $tmp/out $tmp/in
12549 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12550 rm -f conftest.defines
12551 mv conftest.
tail conftest.defines
12553 rm -f conftest.defines
12554 echo ' fi # grep' >>$CONFIG_STATUS
12555 echo >>$CONFIG_STATUS
12557 # Break up conftest.undefs because some shells have a limit on the size
12558 # of here documents, and old seds have small limits too (100 cmds).
12559 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12560 rm -f conftest.
tail
12561 while grep . conftest.undefs
>/dev
/null
12563 # Write a limited-size here document to $tmp/undefs.sed.
12564 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12565 # Speed up: don't consider the non
`#undef'
12566 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12567 # Work around the forget-to-reset-the-flag bug.
12568 echo 't clr' >>$CONFIG_STATUS
12569 echo ': clr' >>$CONFIG_STATUS
12570 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12572 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12574 mv $tmp/out $tmp/in
12576 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12577 rm -f conftest.undefs
12578 mv conftest.tail conftest.undefs
12580 rm -f conftest.undefs
12582 cat >>$CONFIG_STATUS <<\_ACEOF
12583 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12584 # use $as_me), people would be surprised to read:
12585 # /* config.h. Generated by config.status. */
12586 if test x
"$ac_file" = x-
; then
12587 echo "/* Generated by configure. */" >$tmp/config.h
12589 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12591 cat $tmp/in >>$tmp/config.h
12593 if test x
"$ac_file" != x-
; then
12594 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12595 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12596 echo "$as_me: $ac_file is unchanged" >&6;}
12598 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12599 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12600 X"$ac_file" : 'X\(//\)[^/]' \| \
12601 X"$ac_file" : 'X\(//\)$' \| \
12602 X"$ac_file" : 'X\(/\)' \| \
12603 . : '\(.\)' 2>/dev/null ||
12605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12606 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12607 /^X\(\/\/\)$/{ s//\1/; q; }
12608 /^X\(\/\).*/{ s//\1/; q; }
12610 { if $as_mkdir_p; then
12615 while test ! -d "$as_dir"; do
12616 as_dirs
="$as_dir $as_dirs"
12617 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12618 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12619 X"$as_dir" : 'X\(//\)[^/]' \| \
12620 X"$as_dir" : 'X\(//\)$' \| \
12621 X"$as_dir" : 'X\(/\)' \| \
12622 . : '\(.\)' 2>/dev/null ||
12624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12625 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12626 /^X\(\/\/\)$/{ s//\1/; q; }
12627 /^X\(\/\).*/{ s//\1/; q; }
12630 test ! -n "$as_dirs" || mkdir
$as_dirs
12631 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12632 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12633 { (exit 1); exit 1; }; }; }
12636 mv $tmp/config.h
$ac_file
12640 rm -f $tmp/config.h
12644 cat >>$CONFIG_STATUS <<\_ACEOF
12647 # CONFIG_COMMANDS section.
12649 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12650 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12651 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12652 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12653 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12654 X"$ac_dest" : 'X\(//\)[^/]' \| \
12655 X"$ac_dest" : 'X\(//\)$' \| \
12656 X"$ac_dest" : 'X\(/\)' \| \
12657 . : '\(.\)' 2>/dev/null ||
12659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12660 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12661 /^X\(\/\/\)$/{ s//\1/; q; }
12662 /^X\(\/\).*/{ s//\1/; q; }
12664 { if $as_mkdir_p; then
12669 while test ! -d "$as_dir"; do
12670 as_dirs
="$as_dir $as_dirs"
12671 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12672 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12673 X"$as_dir" : 'X\(//\)[^/]' \| \
12674 X"$as_dir" : 'X\(//\)$' \| \
12675 X"$as_dir" : 'X\(/\)' \| \
12676 . : '\(.\)' 2>/dev/null ||
12678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12680 /^X\(\/\/\)$/{ s//\1/; q; }
12681 /^X\(\/\).*/{ s//\1/; q; }
12684 test ! -n "$as_dirs" || mkdir
$as_dirs
12685 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12686 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12687 { (exit 1); exit 1; }; }; }
12691 if test "$ac_dir" != .
; then
12692 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12693 # A "../" for each directory in $ac_dir_suffix.
12694 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12696 ac_dir_suffix
= ac_top_builddir
=
12700 .
) # No --srcdir option. We are building in place.
12702 if test -z "$ac_top_builddir"; then
12705 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12707 [\\/]* | ?
:[\\/]* ) # Absolute path.
12708 ac_srcdir
=$srcdir$ac_dir_suffix;
12709 ac_top_srcdir
=$srcdir ;;
12710 *) # Relative path.
12711 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12712 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12715 # Do not use `cd foo && pwd` to compute absolute paths, because
12716 # the directories may not exist.
12718 .
) ac_abs_builddir
="$ac_dir";;
12721 .
) ac_abs_builddir
=`pwd`;;
12722 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12723 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12726 case $ac_abs_builddir in
12727 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12729 case ${ac_top_builddir}.
in
12730 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12731 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12732 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12735 case $ac_abs_builddir in
12736 .
) ac_abs_srcdir
=$ac_srcdir;;
12739 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12740 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12741 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12744 case $ac_abs_builddir in
12745 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12747 case $ac_top_srcdir in
12748 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12749 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12750 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12755 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12756 echo "$as_me: executing $ac_dest commands" >&6;}
12759 # Only add multilib support code if we just rebuilt the top-level
12761 case " $CONFIG_FILES " in
12763 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
12768 # See if we are running on zsh, and set the options which allow our
12769 # commands through without removal of \ escapes.
12770 if test -n "${ZSH_VERSION+set}" ; then
12771 setopt NO_GLOB_SUBST
12774 cfgfile
="${ofile}T"
12775 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12778 cat <<_LT_EOF >> "$cfgfile"
12781 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12782 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12783 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12784 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12786 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12787 # 2006, 2007, 2008 Free Software Foundation, Inc.
12788 # Written by Gordon Matzigkeit, 1996
12790 # This file is part of GNU Libtool.
12792 # GNU Libtool is free software; you can redistribute it and/or
12793 # modify it under the terms of the GNU General Public License as
12794 # published by the Free Software Foundation; either version 2 of
12795 # the License, or (at your option) any later version.
12797 # As a special exception to the GNU General Public License,
12798 # if you distribute this file as part of a program or library that
12799 # is built using GNU Libtool, you may include this file under the
12800 # same distribution terms that you use for the rest of that program.
12802 # GNU Libtool is distributed in the hope that it will be useful,
12803 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12804 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12805 # GNU General Public License for more details.
12807 # You should have received a copy of the GNU General Public License
12808 # along with GNU Libtool; see the file COPYING. If not, a copy
12809 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12810 # obtained by writing to the Free Software Foundation, Inc.,
12811 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12814 # The names of the tagged configurations supported by this script.
12817 # ### BEGIN LIBTOOL CONFIG
12819 # Assembler program.
12822 # DLL creation program.
12825 # Object dumper program.
12828 # Which release of libtool.m4 was used?
12829 macro_version=$macro_version
12830 macro_revision=$macro_revision
12832 # Whether or not to build shared libraries.
12833 build_libtool_libs=$enable_shared
12835 # Whether or not to build static libraries.
12836 build_old_libs=$enable_static
12838 # What type of objects to build.
12841 # Whether or not to optimize for fast installation.
12842 fast_install=$enable_fast_install
12845 host_alias=$host_alias
12849 # The build system.
12850 build_alias=$build_alias
12854 # A sed program that does not truncate output.
12857 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12858 Xsed="\$SED -e 1s/^X//"
12860 # A grep program that handles long lines.
12866 # A literal string matcher.
12869 # A BSD- or MS-compatible name lister.
12872 # Whether we need soft or hard links.
12875 # What is the maximum length of a command?
12876 max_cmd_len=$max_cmd_len
12878 # Object file suffix (normally "o").
12881 # Executable file suffix (normally "").
12884 # whether the shell understands "unset".
12887 # turn spaces into newlines.
12890 # turn newlines into spaces.
12893 # How to create reloadable object files.
12894 reload_flag=$lt_reload_flag
12895 reload_cmds=$lt_reload_cmds
12897 # Method to check whether dependent libraries are shared objects.
12898 deplibs_check_method=$lt_deplibs_check_method
12900 # Command to use when deplibs_check_method == "file_magic".
12901 file_magic_cmd=$lt_file_magic_cmd
12905 AR_FLAGS=$lt_AR_FLAGS
12907 # A symbol stripping program.
12910 # Commands used to install an old-style archive.
12912 old_postinstall_cmds=$lt_old_postinstall_cmds
12913 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12918 # LTCC compiler flags.
12919 LTCFLAGS=$lt_CFLAGS
12921 # Take the output of nm and produce a listing of raw symbols and C names.
12922 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12924 # Transform the output of nm in a proper C declaration.
12925 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12927 # Transform the output of nm in a C name address pair.
12928 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12930 # Transform the output of nm in a C name address pair when lib prefix is needed.
12931 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12933 # The name of the directory that contains temporary libtool files.
12936 # Shell to use when invoking shell scripts.
12939 # An echo program that does not interpret backslashes.
12942 # Used to examine libraries when file_magic_cmd begins with "file".
12943 MAGIC_CMD=$MAGIC_CMD
12945 # Must we lock files when doing compilation?
12946 need_locks=$lt_need_locks
12948 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12949 DSYMUTIL=$lt_DSYMUTIL
12951 # Tool to change global to local symbols on Mac OS X.
12954 # Tool to manipulate fat objects and archives on Mac OS X.
12957 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12960 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12961 OTOOL64=$lt_OTOOL64
12963 # Old archive suffix (normally "a").
12966 # Shared library suffix (normally ".so").
12967 shrext_cmds=$lt_shrext_cmds
12969 # The commands to extract the exported symbol list from a shared archive.
12970 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12972 # Variables whose values should be saved in libtool wrapper scripts and
12973 # restored at link time.
12974 variables_saved_for_relink=$lt_variables_saved_for_relink
12976 # Do we need the "lib" prefix for modules?
12977 need_lib_prefix=$need_lib_prefix
12979 # Do we need a version for libraries?
12980 need_version=$need_version
12982 # Library versioning type.
12983 version_type=$version_type
12985 # Shared library runtime path variable.
12986 runpath_var=$runpath_var
12988 # Shared library path variable.
12989 shlibpath_var=$shlibpath_var
12991 # Is shlibpath searched before the hard-coded library search path?
12992 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12994 # Format of library name prefix.
12995 libname_spec=$lt_libname_spec
12997 # List of archive names. First name is the real one, the rest are links.
12998 # The last name is the one that the linker finds with -lNAME
12999 library_names_spec=$lt_library_names_spec
13001 # The coded name of the library, if different from the real name.
13002 soname_spec=$lt_soname_spec
13004 # Command to use after installation of a shared archive.
13005 postinstall_cmds=$lt_postinstall_cmds
13007 # Command to use after uninstallation of a shared archive.
13008 postuninstall_cmds=$lt_postuninstall_cmds
13010 # Commands used to finish a libtool library installation in a directory.
13011 finish_cmds=$lt_finish_cmds
13013 # As "finish_cmds", except a single script fragment to be evaled but
13015 finish_eval=$lt_finish_eval
13017 # Whether we should hardcode library paths into libraries.
13018 hardcode_into_libs=$hardcode_into_libs
13020 # Compile-time system search path for libraries.
13021 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13023 # Run-time system search path for libraries.
13024 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13026 # Whether dlopen is supported.
13027 dlopen_support=$enable_dlopen
13029 # Whether dlopen of programs is supported.
13030 dlopen_self=$enable_dlopen_self
13032 # Whether dlopen of statically linked programs is supported.
13033 dlopen_self_static=$enable_dlopen_self_static
13035 # Commands to strip libraries.
13036 old_striplib=$lt_old_striplib
13037 striplib=$lt_striplib
13040 # The linker used to build libraries.
13043 # Commands used to build an old-style archive.
13044 old_archive_cmds=$lt_old_archive_cmds
13046 # A language specific compiler.
13049 # Is the compiler the GNU compiler?
13052 # Compiler flag to turn off builtin functions.
13053 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13055 # How to pass a linker flag through the compiler.
13056 wl=$lt_lt_prog_compiler_wl
13058 # Additional compiler flags for building library objects.
13059 pic_flag=$lt_lt_prog_compiler_pic
13061 # Compiler flag to prevent dynamic linking.
13062 link_static_flag=$lt_lt_prog_compiler_static
13064 # Does compiler simultaneously support -c and -o options?
13065 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13067 # Whether or not to add -lc for building shared libraries.
13068 build_libtool_need_lc=$archive_cmds_need_lc
13070 # Whether or not to disallow shared libs when runtime libs are static.
13071 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13073 # Compiler flag to allow reflexive dlopens.
13074 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13076 # Compiler flag to generate shared objects directly from archives.
13077 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13079 # Whether the compiler copes with passing no objects directly.
13080 compiler_needs_object=$lt_compiler_needs_object
13082 # Create an old-style archive from a shared archive.
13083 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13085 # Create a temporary old-style archive to link instead of a shared archive.
13086 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13088 # Commands used to build a shared archive.
13089 archive_cmds=$lt_archive_cmds
13090 archive_expsym_cmds=$lt_archive_expsym_cmds
13092 # Commands used to build a loadable module if different from building
13093 # a shared archive.
13094 module_cmds=$lt_module_cmds
13095 module_expsym_cmds=$lt_module_expsym_cmds
13097 # Whether we are building with GNU ld or not.
13098 with_gnu_ld=$lt_with_gnu_ld
13100 # Flag that allows shared libraries with undefined symbols to be built.
13101 allow_undefined_flag=$lt_allow_undefined_flag
13103 # Flag that enforces no undefined symbols.
13104 no_undefined_flag=$lt_no_undefined_flag
13106 # Flag to hardcode \$libdir into a binary during linking.
13107 # This must work even if \$libdir does not exist
13108 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13110 # If ld is used when linking, flag to hardcode \$libdir into a binary
13111 # during linking. This must work even if \$libdir does not exist.
13112 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13114 # Whether we need a single "-rpath" flag with a separated argument.
13115 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13117 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13118 # DIR into the resulting binary.
13119 hardcode_direct=$hardcode_direct
13121 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13122 # DIR into the resulting binary and the resulting library dependency is
13123 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13124 # library is relocated.
13125 hardcode_direct_absolute=$hardcode_direct_absolute
13127 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13128 # into the resulting binary.
13129 hardcode_minus_L=$hardcode_minus_L
13131 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13132 # into the resulting binary.
13133 hardcode_shlibpath_var=$hardcode_shlibpath_var
13135 # Set to "yes" if building a shared library automatically hardcodes DIR
13136 # into the library and all subsequent libraries and executables linked
13138 hardcode_automatic=$hardcode_automatic
13140 # Set to yes if linker adds runtime paths of dependent libraries
13141 # to runtime path list.
13142 inherit_rpath=$inherit_rpath
13144 # Whether libtool must link a program against all its dependency libraries.
13145 link_all_deplibs=$link_all_deplibs
13147 # Fix the shell variable \$srcfile for the compiler.
13148 fix_srcfile_path=$lt_fix_srcfile_path
13150 # Set to "yes" if exported symbols are required.
13151 always_export_symbols=$always_export_symbols
13153 # The commands to list exported symbols.
13154 export_symbols_cmds=$lt_export_symbols_cmds
13156 # Symbols that should not be listed in the preloaded symbols.
13157 exclude_expsyms=$lt_exclude_expsyms
13159 # Symbols that must always be exported.
13160 include_expsyms=$lt_include_expsyms
13162 # Commands necessary for linking programs (against libraries) with templates.
13163 prelink_cmds=$lt_prelink_cmds
13165 # Specify filename containing input files.
13166 file_list_spec=$lt_file_list_spec
13168 # How to hardcode a shared library path into an executable.
13169 hardcode_action=$hardcode_action
13171 # ### END LIBTOOL CONFIG
13177 cat <<\_LT_EOF
>> "$cfgfile"
13178 # AIX sometimes has problems with the GCC collect2 program. For some
13179 # reason, if we set the COLLECT_NAMES environment variable, the problems
13180 # vanish in a puff of smoke.
13181 if test "X${COLLECT_NAMES+set}" != Xset
; then
13183 export COLLECT_NAMES
13190 ltmain
="$ac_aux_dir/ltmain.sh"
13193 # We use sed instead of cat because bash on DJGPP gets confused if
13194 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13195 # text mode, it properly converts lines to CR/LF. This bash problem
13196 # is reportedly fixed, but why not run on old versions too?
13197 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13198 ||
(rm -f "$cfgfile"; exit 1)
13202 cat << \_LT_EOF
>> "$cfgfile"
13204 # func_dirname file append nondir_replacement
13205 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13206 # otherwise set result to NONDIR_REPLACEMENT.
13210 */*) func_dirname_result
="${1%/*}${2}" ;;
13211 * ) func_dirname_result
="${3}" ;;
13215 # func_basename file
13218 func_basename_result
="${1##*/}"
13221 # func_dirname_and_basename file append nondir_replacement
13222 # perform func_basename and func_dirname in a single function
13224 # dirname: Compute the dirname of FILE. If nonempty,
13225 # add APPEND to the result, otherwise set result
13226 # to NONDIR_REPLACEMENT.
13227 # value returned in "$func_dirname_result"
13228 # basename: Compute filename of FILE.
13229 # value retuned in "$func_basename_result"
13230 # Implementation must be kept synchronized with func_dirname
13231 # and func_basename. For efficiency, we do not delegate to
13232 # those functions but instead duplicate the functionality here.
13233 func_dirname_and_basename
()
13236 */*) func_dirname_result
="${1%/*}${2}" ;;
13237 * ) func_dirname_result
="${3}" ;;
13239 func_basename_result
="${1##*/}"
13242 # func_stripname prefix suffix name
13243 # strip PREFIX and SUFFIX off of NAME.
13244 # PREFIX and SUFFIX must not contain globbing or regex special
13245 # characters, hashes, percent signs, but SUFFIX may contain a leading
13246 # dot (in which case that matches only a dot).
13249 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13250 # positional parameters, so assign one to ordinary parameter first.
13251 func_stripname_result
=${3}
13252 func_stripname_result
=${func_stripname_result#"${1}"}
13253 func_stripname_result
=${func_stripname_result%"${2}"}
13259 func_opt_split_opt
=${1%%=*}
13260 func_opt_split_arg
=${1#*=}
13267 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13268 *) func_lo2o_result
=${1} ;;
13272 # func_xform libobj-or-source
13275 func_xform_result
=${1%.*}.lo
13278 # func_arith arithmetic-term...
13281 func_arith_result
=$
(( $
* ))
13285 # STRING may not start with a hyphen.
13288 func_len_result
=${#1}
13293 *) # Bourne compatible functions.
13294 cat << \_LT_EOF
>> "$cfgfile"
13296 # func_dirname file append nondir_replacement
13297 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13298 # otherwise set result to NONDIR_REPLACEMENT.
13301 # Extract subdirectory from the argument.
13302 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13303 if test "X$func_dirname_result" = "X${1}"; then
13304 func_dirname_result
="${3}"
13306 func_dirname_result
="$func_dirname_result${2}"
13310 # func_basename file
13313 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
13317 # func_stripname prefix suffix name
13318 # strip PREFIX and SUFFIX off of NAME.
13319 # PREFIX and SUFFIX must not contain globbing or regex special
13320 # characters, hashes, percent signs, but SUFFIX may contain a leading
13321 # dot (in which case that matches only a dot).
13322 # func_strip_suffix prefix name
13326 .
*) func_stripname_result
=`$ECHO "X${3}" \
13327 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13328 *) func_stripname_result
=`$ECHO "X${3}" \
13329 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13334 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13335 my_sed_long_arg
='1s/^-[^=]*=//'
13340 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13341 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13347 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13350 # func_xform libobj-or-source
13353 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13356 # func_arith arithmetic-term...
13359 func_arith_result
=`expr "$@"`
13363 # STRING may not start with a hyphen.
13366 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13372 case $lt_shell_append in
13374 cat << \_LT_EOF
>> "$cfgfile"
13376 # func_append var value
13377 # Append VALUE to the end of shell variable VAR.
13385 cat << \_LT_EOF
>> "$cfgfile"
13387 # func_append var value
13388 # Append VALUE to the end of shell variable VAR.
13399 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13400 ||
(rm -f "$cfgfile"; exit 1)
13402 mv -f "$cfgfile" "$ofile" ||
13403 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13411 cat >>$CONFIG_STATUS <<\_ACEOF
13413 { (exit 0); exit 0; }
13415 chmod +x
$CONFIG_STATUS
13416 ac_clean_files
=$ac_clean_files_save
13419 # configure is writing to config.log, and then calls config.status.
13420 # config.status does its own redirection, appending to config.log.
13421 # Unfortunately, on DOS this fails, as config.log is still kept open
13422 # by configure, so config.status won't be able to write to it; its
13423 # output is simply discarded. So we exec the FD to /dev/null,
13424 # effectively closing config.log, so it can be properly (re)opened and
13425 # appended to by config.status. When coming back to configure, we
13426 # need to make the FD available again.
13427 if test "$no_create" != yes; then
13429 ac_config_status_args
=
13430 test "$silent" = yes &&
13431 ac_config_status_args
="$ac_config_status_args --quiet"
13433 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13435 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13436 # would make configure fail if this is the last instruction.
13437 $ac_cs_success ||
{ (exit 1); exit 1; }