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)
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)
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)
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
8486 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8489 (eval $ac_compile) 2>&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); } 2>conftest.err
; then
8495 libobjs
=conftest.
$ac_objext
8497 wl
=$lt_prog_compiler_wl
8498 pic_flag
=$lt_prog_compiler_pic
8504 lt_save_allow_undefined_flag
=$allow_undefined_flag
8505 allow_undefined_flag
=
8506 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8507 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); }
8512 archive_cmds_need_lc
=no
8514 archive_cmds_need_lc
=yes
8516 allow_undefined_flag
=$lt_save_allow_undefined_flag
8518 cat conftest.err
1>&5
8521 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8522 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8685 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8686 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8688 if test "$GCC" = yes; then
8690 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8691 *) lt_awk_arg
="/^libraries:/" ;;
8693 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8694 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8695 # if the path contains ";" then we assume it to be the separator
8696 # otherwise default to the standard path separator (i.e. ":") - it is
8697 # assumed that no part of a normal pathname contains ";" but that should
8698 # okay in the real world where ";" in dirpaths is itself problematic.
8699 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8701 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8703 # Ok, now we have the path, separated by spaces, we can step through it
8704 # and add multilib dir if necessary.
8705 lt_tmp_lt_search_path_spec
=
8706 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8707 for lt_sys_path
in $lt_search_path_spec; do
8708 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8709 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8711 test -d "$lt_sys_path" && \
8712 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8715 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8716 BEGIN {RS=" "; FS="/|\n";} {
8719 for (lt_i = NF; lt_i > 0; lt_i--) {
8720 if ($lt_i != "" && $lt_i != ".") {
8721 if ($lt_i == "..") {
8724 if (lt_count == 0) {
8725 lt_foo="/" $lt_i lt_foo;
8732 if (lt_foo != "") { lt_freq[lt_foo]++; }
8733 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8735 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8737 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8740 libname_spec
='lib$name'
8748 shlibpath_overrides_runpath
=unknown
8750 dynamic_linker
="$host_os ld.so"
8751 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8752 need_lib_prefix
=unknown
8753 hardcode_into_libs
=no
8755 # when you set need_version to no, make sure it does not cause -set_version
8756 # flags to be left without arguments
8757 need_version
=unknown
8762 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8763 shlibpath_var
=LIBPATH
8765 # AIX 3 has no versioning support, so we append a major version to the name.
8766 soname_spec
='${libname}${release}${shared_ext}$major'
8773 hardcode_into_libs
=yes
8774 if test "$host_cpu" = ia64
; then
8775 # AIX 5 supports IA64
8776 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8777 shlibpath_var
=LD_LIBRARY_PATH
8779 # With GCC up to 2.95.x, collect2 would create an import file
8780 # for dependence libraries. The import file would start with
8781 # the line `#! .'. This would cause the generated library to
8782 # depend on `.', always an invalid library. This was fixed in
8783 # development snapshots of GCC prior to 3.0.
8785 aix4 | aix4.
[01] | aix4.
[01].
*)
8786 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8788 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8795 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8796 # soname into executable. Probably we can add versioning support to
8797 # collect2, so additional links can be useful in future.
8798 if test "$aix_use_runtimelinking" = yes; then
8799 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8800 # instead of lib<name>.a to let people know that these are not
8801 # typical AIX shared libraries.
8802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8804 # We preserve .a as extension for shared libraries through AIX4.2
8805 # and later when we are not doing run time linking.
8806 library_names_spec
='${libname}${release}.a $libname.a'
8807 soname_spec
='${libname}${release}${shared_ext}$major'
8809 shlibpath_var
=LIBPATH
8816 # Since July 2007 AmigaOS4 officially supports .so libraries.
8817 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8821 library_names_spec
='$libname.ixlibrary $libname.a'
8822 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8823 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'
8829 library_names_spec
='${libname}${shared_ext}'
8830 dynamic_linker
="$host_os ld.so"
8831 shlibpath_var
=LIBRARY_PATH
8837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8838 soname_spec
='${libname}${release}${shared_ext}$major'
8839 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8840 shlibpath_var
=LD_LIBRARY_PATH
8841 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8842 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8843 # the default ld.so.conf also contains /usr/contrib/lib and
8844 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8845 # libtool to hard-code these into programs
8848 cygwin
* | mingw
* | pw32
* | cegcc
*)
8849 version_type
=windows
8854 case $GCC,$host_os in
8855 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
8856 library_names_spec
='$libname.dll.a'
8857 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8858 postinstall_cmds
='base_file=`basename \${file}`~
8859 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8860 dldir=$destdir/`dirname \$dlpath`~
8861 test -d \$dldir || mkdir -p \$dldir~
8862 $install_prog $dir/$dlname \$dldir/$dlname~
8863 chmod a+x \$dldir/$dlname~
8864 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8865 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8867 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8868 dlpath=$dir/\$dldll~
8870 shlibpath_overrides_runpath
=yes
8874 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8875 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8876 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8879 # MinGW DLLs use traditional 'lib' prefix
8880 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8881 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8882 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8883 # It is most probably a Windows format PATH printed by
8884 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8885 # path with ; separators, and with drive letters. We can handle the
8886 # drive letters (cygwin fileutils understands them), so leave them,
8887 # especially as we might pass files found there to a mingw objdump,
8888 # which wouldn't understand a cygwinified path. Ahh.
8889 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8891 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8895 # pw32 DLLs use 'pw' prefix rather than 'lib'
8896 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8902 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8905 dynamic_linker
='Win32 ld.exe'
8906 # FIXME: first we should search . and the directory the executable is in
8910 darwin
* | rhapsody
*)
8911 dynamic_linker
="$host_os dyld"
8915 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8916 soname_spec
='${libname}${release}${major}$shared_ext'
8917 shlibpath_overrides_runpath
=yes
8918 shlibpath_var
=DYLD_LIBRARY_PATH
8919 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8921 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8922 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8930 soname_spec
='${libname}${release}${shared_ext}$major'
8931 shlibpath_var
=LD_LIBRARY_PATH
8938 freebsd
* | dragonfly
*)
8939 # DragonFly does not have aout. When/if they implement a new
8940 # versioning mechanism, adjust this.
8941 if test -x /usr
/bin
/objformat
; then
8942 objformat
=`/usr/bin/objformat`
8945 freebsd
[123]*) objformat
=aout
;;
8949 version_type
=freebsd-
$objformat
8950 case $version_type in
8952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8957 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8961 shlibpath_var
=LD_LIBRARY_PATH
8964 shlibpath_overrides_runpath
=yes
8966 freebsd3.
[01]* | freebsdelf3.
[01]*)
8967 shlibpath_overrides_runpath
=yes
8968 hardcode_into_libs
=yes
8970 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8971 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8972 shlibpath_overrides_runpath
=no
8973 hardcode_into_libs
=yes
8975 *) # from 4.6 on, and DragonFly
8976 shlibpath_overrides_runpath
=yes
8977 hardcode_into_libs
=yes
8986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8987 soname_spec
='${libname}${release}${shared_ext}$major'
8988 shlibpath_var
=LD_LIBRARY_PATH
8989 hardcode_into_libs
=yes
8992 hpux9
* | hpux10
* | hpux11
*)
8993 # Give a soname corresponding to the major version so that dld.sl refuses to
8994 # link against other versions.
9001 hardcode_into_libs
=yes
9002 dynamic_linker
="$host_os dld.so"
9003 shlibpath_var
=LD_LIBRARY_PATH
9004 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9006 soname_spec
='${libname}${release}${shared_ext}$major'
9007 if test "X$HPUX_IA64_MODE" = X32
; then
9008 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9010 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9012 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9016 hardcode_into_libs
=yes
9017 dynamic_linker
="$host_os dld.sl"
9018 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9019 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9021 soname_spec
='${libname}${release}${shared_ext}$major'
9022 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9023 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9027 dynamic_linker
="$host_os dld.sl"
9028 shlibpath_var
=SHLIB_PATH
9029 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9031 soname_spec
='${libname}${release}${shared_ext}$major'
9034 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9035 postinstall_cmds
='chmod 555 $lib'
9042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9043 soname_spec
='${libname}${release}${shared_ext}$major'
9044 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9045 shlibpath_var
=LD_LIBRARY_PATH
9046 shlibpath_overrides_runpath
=no
9047 hardcode_into_libs
=yes
9050 irix5
* | irix6
* | nonstopux
*)
9052 nonstopux
*) version_type
=nonstopux
;;
9054 if test "$lt_cv_prog_gnu_ld" = yes; then
9062 soname_spec
='${libname}${release}${shared_ext}$major'
9063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9065 irix5
* | nonstopux
*)
9069 case $LD in # libtool.m4 will add one of these switches to LD
9070 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9071 libsuff
= shlibsuff
= libmagic
=32-bit;;
9072 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9073 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9074 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9075 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9076 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9080 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9081 shlibpath_overrides_runpath
=no
9082 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9083 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9084 hardcode_into_libs
=yes
9087 # No shared lib support for Linux oldld, aout, or coff.
9088 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9092 # This must be Linux ELF.
9093 linux
* | k
*bsd
*-gnu)
9097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9098 soname_spec
='${libname}${release}${shared_ext}$major'
9099 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9100 shlibpath_var
=LD_LIBRARY_PATH
9101 shlibpath_overrides_runpath
=no
9102 # Some binutils ld are patched to set DT_RUNPATH
9103 save_LDFLAGS
=$LDFLAGS
9105 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9106 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9107 if test x
$gcc_no_link = xyes
; then
9108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9110 { (exit 1); exit 1; }; }
9112 cat >conftest.
$ac_ext <<_ACEOF
9115 cat confdefs.h
>>conftest.
$ac_ext
9116 cat >>conftest.
$ac_ext <<_ACEOF
9117 /* end confdefs.h. */
9127 rm -f conftest.
$ac_objext conftest
$ac_exeext
9128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9129 (eval $ac_link) 2>conftest.er1
9131 grep -v '^ *+' conftest.er1
>conftest.err
9133 cat conftest.err
>&5
9134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135 (exit $ac_status); } &&
9136 { ac_try
='test -z "$ac_c_werror_flag"
9137 || test ! -s conftest.err'
9138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); }; } &&
9143 { ac_try
='test -s conftest$ac_exeext'
9144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); }; }; then
9149 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
9150 shlibpath_overrides_runpath
=yes
9154 echo "$as_me: failed program was:" >&5
9155 sed 's/^/| /' conftest.
$ac_ext >&5
9158 rm -f conftest.err conftest.
$ac_objext \
9159 conftest
$ac_exeext conftest.
$ac_ext
9160 LDFLAGS
=$save_LDFLAGS
9163 # This implies no fast_install, which is unacceptable.
9164 # Some rework will be needed to allow for fast_install
9165 # before this can be enabled.
9166 hardcode_into_libs
=yes
9168 # Append ld.so.conf contents to the search path
9169 if test -f /etc
/ld.so.conf
; then
9170 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' ' '`
9171 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9174 # We used to test for /lib/ld.so.1 and disable shared libraries on
9175 # powerpc, because MkLinux only supported shared libraries with the
9176 # GNU dynamic linker. Since this was broken with cross compilers,
9177 # most powerpc-linux boxes support dynamic linking these days and
9178 # people can always --disable-shared, the test was removed, and we
9179 # assume the GNU/Linux dynamic linker is in use.
9180 dynamic_linker
='GNU/Linux ld.so'
9187 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9189 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9190 dynamic_linker
='NetBSD (a.out) ld.so'
9192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9193 soname_spec
='${libname}${release}${shared_ext}$major'
9194 dynamic_linker
='NetBSD ld.elf_so'
9196 shlibpath_var
=LD_LIBRARY_PATH
9197 shlibpath_overrides_runpath
=yes
9198 hardcode_into_libs
=yes
9203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9204 shlibpath_var
=LD_LIBRARY_PATH
9205 shlibpath_overrides_runpath
=yes
9212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9213 soname_spec
='${libname}${release}${shared_ext}$major'
9214 shlibpath_var
=LD_LIBRARY_PATH
9215 shlibpath_overrides_runpath
=no
9216 hardcode_into_libs
=yes
9217 dynamic_linker
='ldqnx.so'
9222 sys_lib_dlsearch_path_spec
="/usr/lib"
9224 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9226 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9227 *) need_version
=no
;;
9229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9230 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9231 shlibpath_var
=LD_LIBRARY_PATH
9232 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9234 openbsd2.
[89] | openbsd2.
[89].
*)
9235 shlibpath_overrides_runpath
=no
9238 shlibpath_overrides_runpath
=yes
9242 shlibpath_overrides_runpath
=yes
9247 libname_spec
='$name'
9250 library_names_spec
='$libname${shared_ext} $libname.a'
9251 dynamic_linker
='OS/2 ld.exe'
9252 shlibpath_var
=LIBPATH
9255 osf3
* | osf4
* | osf5
*)
9259 soname_spec
='${libname}${release}${shared_ext}$major'
9260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9261 shlibpath_var
=LD_LIBRARY_PATH
9262 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9263 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9275 soname_spec
='${libname}${release}${shared_ext}$major'
9276 shlibpath_var
=LD_LIBRARY_PATH
9277 shlibpath_overrides_runpath
=yes
9278 hardcode_into_libs
=yes
9279 # ldd complains unless libraries are executable
9280 postinstall_cmds
='chmod +x $lib'
9285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9286 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9287 shlibpath_var
=LD_LIBRARY_PATH
9288 shlibpath_overrides_runpath
=yes
9289 if test "$with_gnu_ld" = yes; then
9297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9298 soname_spec
='${libname}${release}${shared_ext}$major'
9299 shlibpath_var
=LD_LIBRARY_PATH
9300 case $host_vendor in
9302 shlibpath_overrides_runpath
=no
9304 runpath_var
=LD_RUN_PATH
9312 shlibpath_overrides_runpath
=no
9313 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9319 if test -d /usr
/nec
;then
9321 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9322 soname_spec
='$libname${shared_ext}.$major'
9323 shlibpath_var
=LD_LIBRARY_PATH
9327 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9328 version_type
=freebsd-elf
9331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9332 soname_spec
='${libname}${release}${shared_ext}$major'
9333 shlibpath_var
=LD_LIBRARY_PATH
9334 shlibpath_overrides_runpath
=yes
9335 hardcode_into_libs
=yes
9336 if test "$with_gnu_ld" = yes; then
9337 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9339 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9342 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9346 sys_lib_dlsearch_path_spec
='/usr/lib'
9350 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9355 shlibpath_var
=LD_LIBRARY_PATH
9356 shlibpath_overrides_runpath
=no
9357 hardcode_into_libs
=yes
9362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9363 soname_spec
='${libname}${release}${shared_ext}$major'
9364 shlibpath_var
=LD_LIBRARY_PATH
9371 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9372 echo "${ECHO_T}$dynamic_linker" >&6
9373 test "$dynamic_linker" = no
&& can_build_shared
=no
9375 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9376 if test "$GCC" = yes; then
9377 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9380 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9381 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9383 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9384 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9473 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9474 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9476 if test -n "$hardcode_libdir_flag_spec" ||
9477 test -n "$runpath_var" ||
9478 test "X$hardcode_automatic" = "Xyes" ; then
9480 # We can hardcode non-existent directories.
9481 if test "$hardcode_direct" != no
&&
9482 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9483 # have to relink, otherwise we might link with an installed library
9484 # when we should be linking with a yet-to-be-installed one
9485 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9486 test "$hardcode_minus_L" != no
; then
9487 # Linking always hardcodes the temporary library directory.
9488 hardcode_action
=relink
9490 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9491 hardcode_action
=immediate
9494 # We cannot hardcode anything, or else we can only hardcode existing
9496 hardcode_action
=unsupported
9498 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9499 echo "${ECHO_T}$hardcode_action" >&6
9501 if test "$hardcode_action" = relink ||
9502 test "$inherit_rpath" = yes; then
9503 # Fast installation is not supported
9504 enable_fast_install
=no
9505 elif test "$shlibpath_overrides_runpath" = yes ||
9506 test "$enable_shared" = no
; then
9507 # Fast installation is not necessary
9508 enable_fast_install
=needless
9516 if test "x$enable_dlopen" != xyes
; then
9517 enable_dlopen
=unknown
9518 enable_dlopen_self
=unknown
9519 enable_dlopen_self_static
=unknown
9526 lt_cv_dlopen
="load_add_on"
9528 lt_cv_dlopen_self
=yes
9531 mingw
* | pw32
* | cegcc
*)
9532 lt_cv_dlopen
="LoadLibrary"
9537 lt_cv_dlopen
="dlopen"
9542 # if libdl is installed we need to link against it
9543 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9544 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9545 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9546 echo $ECHO_N "(cached) $ECHO_C" >&6
9548 ac_check_lib_save_LIBS
=$LIBS
9550 if test x
$gcc_no_link = xyes
; then
9551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9553 { (exit 1); exit 1; }; }
9555 cat >conftest.
$ac_ext <<_ACEOF
9558 cat confdefs.h
>>conftest.
$ac_ext
9559 cat >>conftest.
$ac_ext <<_ACEOF
9560 /* end confdefs.h. */
9562 /* Override any gcc2 internal prototype to avoid an error. */
9566 /* We use char because int might match the return type of a gcc2
9567 builtin and then its argument prototype would still apply. */
9577 rm -f conftest.
$ac_objext conftest
$ac_exeext
9578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9579 (eval $ac_link) 2>conftest.er1
9581 grep -v '^ *+' conftest.er1
>conftest.err
9583 cat conftest.err
>&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); } &&
9586 { ac_try
='test -z "$ac_c_werror_flag"
9587 || test ! -s conftest.err'
9588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); }; } &&
9593 { ac_try
='test -s conftest$ac_exeext'
9594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9598 (exit $ac_status); }; }; then
9599 ac_cv_lib_dl_dlopen
=yes
9601 echo "$as_me: failed program was:" >&5
9602 sed 's/^/| /' conftest.
$ac_ext >&5
9604 ac_cv_lib_dl_dlopen
=no
9606 rm -f conftest.err conftest.
$ac_objext \
9607 conftest
$ac_exeext conftest.
$ac_ext
9608 LIBS
=$ac_check_lib_save_LIBS
9610 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9611 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9612 if test $ac_cv_lib_dl_dlopen = yes; then
9613 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9618 lt_cv_dlopen_self
=yes
9625 echo "$as_me:$LINENO: checking for shl_load" >&5
9626 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9627 if test "${ac_cv_func_shl_load+set}" = set; then
9628 echo $ECHO_N "(cached) $ECHO_C" >&6
9630 if test x
$gcc_no_link = xyes
; then
9631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9633 { (exit 1); exit 1; }; }
9635 cat >conftest.
$ac_ext <<_ACEOF
9638 cat confdefs.h
>>conftest.
$ac_ext
9639 cat >>conftest.
$ac_ext <<_ACEOF
9640 /* end confdefs.h. */
9641 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9643 #define shl_load innocuous_shl_load
9645 /* System header to define __stub macros and hopefully few prototypes,
9646 which can conflict with char shl_load (); below.
9647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9648 <limits.h> exists even on freestanding compilers. */
9651 # include <limits.h>
9653 # include <assert.h>
9658 /* Override any gcc2 internal prototype to avoid an error. */
9663 /* We use char because int might match the return type of a gcc2
9664 builtin and then its argument prototype would still apply. */
9666 /* The GNU C library defines this for functions which it implements
9667 to always fail with ENOSYS. Some functions are actually named
9668 something starting with __ and the normal name is an alias. */
9669 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9672 char (*f) () = shl_load;
9681 return f != shl_load;
9686 rm -f conftest.
$ac_objext conftest
$ac_exeext
9687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9688 (eval $ac_link) 2>conftest.er1
9690 grep -v '^ *+' conftest.er1
>conftest.err
9692 cat conftest.err
>&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); } &&
9695 { ac_try
='test -z "$ac_c_werror_flag"
9696 || test ! -s conftest.err'
9697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); }; } &&
9702 { ac_try
='test -s conftest$ac_exeext'
9703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); }; }; then
9708 ac_cv_func_shl_load
=yes
9710 echo "$as_me: failed program was:" >&5
9711 sed 's/^/| /' conftest.
$ac_ext >&5
9713 ac_cv_func_shl_load
=no
9715 rm -f conftest.err conftest.
$ac_objext \
9716 conftest
$ac_exeext conftest.
$ac_ext
9718 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9719 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9720 if test $ac_cv_func_shl_load = yes; then
9721 lt_cv_dlopen
="shl_load"
9723 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9724 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9725 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9726 echo $ECHO_N "(cached) $ECHO_C" >&6
9728 ac_check_lib_save_LIBS
=$LIBS
9730 if test x
$gcc_no_link = xyes
; then
9731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9733 { (exit 1); exit 1; }; }
9735 cat >conftest.
$ac_ext <<_ACEOF
9738 cat confdefs.h
>>conftest.
$ac_ext
9739 cat >>conftest.
$ac_ext <<_ACEOF
9740 /* end confdefs.h. */
9742 /* Override any gcc2 internal prototype to avoid an error. */
9746 /* We use char because int might match the return type of a gcc2
9747 builtin and then its argument prototype would still apply. */
9757 rm -f conftest.
$ac_objext conftest
$ac_exeext
9758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9759 (eval $ac_link) 2>conftest.er1
9761 grep -v '^ *+' conftest.er1
>conftest.err
9763 cat conftest.err
>&5
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); } &&
9766 { ac_try
='test -z "$ac_c_werror_flag"
9767 || test ! -s conftest.err'
9768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); }; } &&
9773 { ac_try
='test -s conftest$ac_exeext'
9774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); }; }; then
9779 ac_cv_lib_dld_shl_load
=yes
9781 echo "$as_me: failed program was:" >&5
9782 sed 's/^/| /' conftest.
$ac_ext >&5
9784 ac_cv_lib_dld_shl_load
=no
9786 rm -f conftest.err conftest.
$ac_objext \
9787 conftest
$ac_exeext conftest.
$ac_ext
9788 LIBS
=$ac_check_lib_save_LIBS
9790 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9791 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9792 if test $ac_cv_lib_dld_shl_load = yes; then
9793 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9795 echo "$as_me:$LINENO: checking for dlopen" >&5
9796 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9797 if test "${ac_cv_func_dlopen+set}" = set; then
9798 echo $ECHO_N "(cached) $ECHO_C" >&6
9800 if test x
$gcc_no_link = xyes
; then
9801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9803 { (exit 1); exit 1; }; }
9805 cat >conftest.
$ac_ext <<_ACEOF
9808 cat confdefs.h
>>conftest.
$ac_ext
9809 cat >>conftest.
$ac_ext <<_ACEOF
9810 /* end confdefs.h. */
9811 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9813 #define dlopen innocuous_dlopen
9815 /* System header to define __stub macros and hopefully few prototypes,
9816 which can conflict with char dlopen (); below.
9817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9818 <limits.h> exists even on freestanding compilers. */
9821 # include <limits.h>
9823 # include <assert.h>
9828 /* Override any gcc2 internal prototype to avoid an error. */
9833 /* We use char because int might match the return type of a gcc2
9834 builtin and then its argument prototype would still apply. */
9836 /* The GNU C library defines this for functions which it implements
9837 to always fail with ENOSYS. Some functions are actually named
9838 something starting with __ and the normal name is an alias. */
9839 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9842 char (*f) () = dlopen;
9856 rm -f conftest.
$ac_objext conftest
$ac_exeext
9857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9858 (eval $ac_link) 2>conftest.er1
9860 grep -v '^ *+' conftest.er1
>conftest.err
9862 cat conftest.err
>&5
9863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 (exit $ac_status); } &&
9865 { ac_try
='test -z "$ac_c_werror_flag"
9866 || test ! -s conftest.err'
9867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9871 (exit $ac_status); }; } &&
9872 { ac_try
='test -s conftest$ac_exeext'
9873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9877 (exit $ac_status); }; }; then
9878 ac_cv_func_dlopen
=yes
9880 echo "$as_me: failed program was:" >&5
9881 sed 's/^/| /' conftest.
$ac_ext >&5
9883 ac_cv_func_dlopen
=no
9885 rm -f conftest.err conftest.
$ac_objext \
9886 conftest
$ac_exeext conftest.
$ac_ext
9888 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9889 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9890 if test $ac_cv_func_dlopen = yes; then
9891 lt_cv_dlopen
="dlopen"
9893 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9894 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9895 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9898 ac_check_lib_save_LIBS
=$LIBS
9900 if test x
$gcc_no_link = xyes
; then
9901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9903 { (exit 1); exit 1; }; }
9905 cat >conftest.
$ac_ext <<_ACEOF
9908 cat confdefs.h
>>conftest.
$ac_ext
9909 cat >>conftest.
$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9912 /* Override any gcc2 internal prototype to avoid an error. */
9916 /* We use char because int might match the return type of a gcc2
9917 builtin and then its argument prototype would still apply. */
9927 rm -f conftest.
$ac_objext conftest
$ac_exeext
9928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9929 (eval $ac_link) 2>conftest.er1
9931 grep -v '^ *+' conftest.er1
>conftest.err
9933 cat conftest.err
>&5
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 (exit $ac_status); } &&
9936 { ac_try
='test -z "$ac_c_werror_flag"
9937 || test ! -s conftest.err'
9938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); }; } &&
9943 { ac_try
='test -s conftest$ac_exeext'
9944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); }; }; then
9949 ac_cv_lib_dl_dlopen
=yes
9951 echo "$as_me: failed program was:" >&5
9952 sed 's/^/| /' conftest.
$ac_ext >&5
9954 ac_cv_lib_dl_dlopen
=no
9956 rm -f conftest.err conftest.
$ac_objext \
9957 conftest
$ac_exeext conftest.
$ac_ext
9958 LIBS
=$ac_check_lib_save_LIBS
9960 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9961 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9962 if test $ac_cv_lib_dl_dlopen = yes; then
9963 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9965 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9966 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9967 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9968 echo $ECHO_N "(cached) $ECHO_C" >&6
9970 ac_check_lib_save_LIBS
=$LIBS
9972 if test x
$gcc_no_link = xyes
; then
9973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9975 { (exit 1); exit 1; }; }
9977 cat >conftest.
$ac_ext <<_ACEOF
9980 cat confdefs.h
>>conftest.
$ac_ext
9981 cat >>conftest.
$ac_ext <<_ACEOF
9982 /* end confdefs.h. */
9984 /* Override any gcc2 internal prototype to avoid an error. */
9988 /* We use char because int might match the return type of a gcc2
9989 builtin and then its argument prototype would still apply. */
9999 rm -f conftest.
$ac_objext conftest
$ac_exeext
10000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10001 (eval $ac_link) 2>conftest.er1
10003 grep -v '^ *+' conftest.er1
>conftest.err
10005 cat conftest.err
>&5
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); } &&
10008 { ac_try
='test -z "$ac_c_werror_flag"
10009 || test ! -s conftest.err'
10010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10011 (eval $ac_try) 2>&5
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); }; } &&
10015 { ac_try
='test -s conftest$ac_exeext'
10016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017 (eval $ac_try) 2>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; }; then
10021 ac_cv_lib_svld_dlopen
=yes
10023 echo "$as_me: failed program was:" >&5
10024 sed 's/^/| /' conftest.
$ac_ext >&5
10026 ac_cv_lib_svld_dlopen
=no
10028 rm -f conftest.err conftest.
$ac_objext \
10029 conftest
$ac_exeext conftest.
$ac_ext
10030 LIBS
=$ac_check_lib_save_LIBS
10032 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10033 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10034 if test $ac_cv_lib_svld_dlopen = yes; then
10035 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10037 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10038 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10039 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10040 echo $ECHO_N "(cached) $ECHO_C" >&6
10042 ac_check_lib_save_LIBS
=$LIBS
10044 if test x
$gcc_no_link = xyes
; then
10045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10047 { (exit 1); exit 1; }; }
10049 cat >conftest.
$ac_ext <<_ACEOF
10052 cat confdefs.h
>>conftest.
$ac_ext
10053 cat >>conftest.
$ac_ext <<_ACEOF
10054 /* end confdefs.h. */
10056 /* Override any gcc2 internal prototype to avoid an error. */
10060 /* We use char because int might match the return type of a gcc2
10061 builtin and then its argument prototype would still apply. */
10071 rm -f conftest.
$ac_objext conftest
$ac_exeext
10072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10073 (eval $ac_link) 2>conftest.er1
10075 grep -v '^ *+' conftest.er1
>conftest.err
10077 cat conftest.err
>&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); } &&
10080 { ac_try
='test -z "$ac_c_werror_flag"
10081 || test ! -s conftest.err'
10082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10083 (eval $ac_try) 2>&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; } &&
10087 { ac_try
='test -s conftest$ac_exeext'
10088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10089 (eval $ac_try) 2>&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); }; }; then
10093 ac_cv_lib_dld_dld_link
=yes
10095 echo "$as_me: failed program was:" >&5
10096 sed 's/^/| /' conftest.
$ac_ext >&5
10098 ac_cv_lib_dld_dld_link
=no
10100 rm -f conftest.err conftest.
$ac_objext \
10101 conftest
$ac_exeext conftest.
$ac_ext
10102 LIBS
=$ac_check_lib_save_LIBS
10104 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10105 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10106 if test $ac_cv_lib_dld_dld_link = yes; then
10107 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10128 if test "x$lt_cv_dlopen" != xno
; then
10134 case $lt_cv_dlopen in
10136 save_CPPFLAGS
="$CPPFLAGS"
10137 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10139 save_LDFLAGS
="$LDFLAGS"
10140 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10143 LIBS
="$lt_cv_dlopen_libs $LIBS"
10145 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10146 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10147 if test "${lt_cv_dlopen_self+set}" = set; then
10148 echo $ECHO_N "(cached) $ECHO_C" >&6
10150 if test "$cross_compiling" = yes; then :
10151 lt_cv_dlopen_self
=cross
10153 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10154 lt_status
=$lt_dlunknown
10155 cat > conftest.
$ac_ext <<_LT_EOF
10156 #line 10156 "configure"
10157 #include "confdefs.h"
10166 # define LT_DLGLOBAL RTLD_GLOBAL
10169 # define LT_DLGLOBAL DL_GLOBAL
10171 # define LT_DLGLOBAL 0
10175 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10176 find out it does not work in some platform. */
10177 #ifndef LT_DLLAZY_OR_NOW
10179 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10182 # define LT_DLLAZY_OR_NOW DL_LAZY
10185 # define LT_DLLAZY_OR_NOW RTLD_NOW
10188 # define LT_DLLAZY_OR_NOW DL_NOW
10190 # define LT_DLLAZY_OR_NOW 0
10197 void fnord() { int i=42;}
10200 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10201 int status = $lt_dlunknown;
10205 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10206 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10207 /* dlclose (self); */
10215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10216 (eval $ac_link) 2>&5
10218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10220 (.
/conftest
; exit; ) >&5 2>/dev
/null
10222 case x
$lt_status in
10223 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10224 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10225 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10228 # compilation failed
10229 lt_cv_dlopen_self
=no
10236 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10237 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10239 if test "x$lt_cv_dlopen_self" = xyes
; then
10240 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10241 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10242 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10243 if test "${lt_cv_dlopen_self_static+set}" = set; then
10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10246 if test "$cross_compiling" = yes; then :
10247 lt_cv_dlopen_self_static
=cross
10249 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10250 lt_status
=$lt_dlunknown
10251 cat > conftest.
$ac_ext <<_LT_EOF
10252 #line 10252 "configure"
10253 #include "confdefs.h"
10262 # define LT_DLGLOBAL RTLD_GLOBAL
10265 # define LT_DLGLOBAL DL_GLOBAL
10267 # define LT_DLGLOBAL 0
10271 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10272 find out it does not work in some platform. */
10273 #ifndef LT_DLLAZY_OR_NOW
10275 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10278 # define LT_DLLAZY_OR_NOW DL_LAZY
10281 # define LT_DLLAZY_OR_NOW RTLD_NOW
10284 # define LT_DLLAZY_OR_NOW DL_NOW
10286 # define LT_DLLAZY_OR_NOW 0
10293 void fnord() { int i=42;}
10296 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10297 int status = $lt_dlunknown;
10301 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10302 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10303 /* dlclose (self); */
10311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10312 (eval $ac_link) 2>&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10316 (.
/conftest
; exit; ) >&5 2>/dev
/null
10318 case x
$lt_status in
10319 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10320 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10321 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10324 # compilation failed
10325 lt_cv_dlopen_self_static
=no
10332 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10333 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10336 CPPFLAGS
="$save_CPPFLAGS"
10337 LDFLAGS
="$save_LDFLAGS"
10342 case $lt_cv_dlopen_self in
10343 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10344 *) enable_dlopen_self
=unknown
;;
10347 case $lt_cv_dlopen_self_static in
10348 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10349 *) enable_dlopen_self_static
=unknown
;;
10371 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10372 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10373 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10374 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10375 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10376 echo "$as_me:$LINENO: result: yes" >&5
10377 echo "${ECHO_T}yes" >&6
10379 # FIXME - insert some real tests, host_os isn't really good enough
10382 if test -n "$STRIP" ; then
10383 striplib
="$STRIP -x"
10384 old_striplib
="$STRIP -S"
10385 echo "$as_me:$LINENO: result: yes" >&5
10386 echo "${ECHO_T}yes" >&6
10388 echo "$as_me:$LINENO: result: no" >&5
10389 echo "${ECHO_T}no" >&6
10393 echo "$as_me:$LINENO: result: no" >&5
10394 echo "${ECHO_T}no" >&6
10410 # Report which library types will actually be built
10411 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10412 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10413 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10414 echo "${ECHO_T}$can_build_shared" >&6
10416 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10417 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10418 test "$can_build_shared" = "no" && enable_shared
=no
10420 # On AIX, shared libraries and static libraries use the same namespace, and
10421 # are all built from PIC.
10424 test "$enable_shared" = yes && enable_static
=no
10425 if test -n "$RANLIB"; then
10426 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10427 postinstall_cmds
='$RANLIB $lib'
10432 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10433 test "$enable_shared" = yes && enable_static
=no
10437 echo "$as_me:$LINENO: result: $enable_shared" >&5
10438 echo "${ECHO_T}$enable_shared" >&6
10440 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10441 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10442 # Make sure either enable_shared or enable_static is yes.
10443 test "$enable_shared" = yes || enable_static
=yes
10444 echo "$as_me:$LINENO: result: $enable_static" >&5
10445 echo "${ECHO_T}$enable_static" >&6
10452 ac_cpp
='$CPP $CPPFLAGS'
10453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10471 ac_config_commands
="$ac_config_commands libtool"
10476 # Only expand once:
10480 if test "x$CC" != xcc
; then
10481 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
10482 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
10484 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
10485 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
10487 set dummy
$CC; ac_cc
=`echo $2 |
10488 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10489 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
10490 echo $ECHO_N "(cached) $ECHO_C" >&6
10492 cat >conftest.
$ac_ext <<_ACEOF
10495 cat confdefs.h
>>conftest.
$ac_ext
10496 cat >>conftest.
$ac_ext <<_ACEOF
10497 /* end confdefs.h. */
10507 # Make sure it works both with $CC and with simple cc.
10508 # We do the test twice because some compilers refuse to overwrite an
10509 # existing .o file with -o, though they will create one.
10510 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
10511 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512 (eval $ac_try) 2>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); } &&
10516 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10517 (eval $ac_try) 2>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); };
10522 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
10523 if test "x$CC" != xcc
; then
10524 # Test first that cc exists at all.
10525 if { ac_try
='cc -c conftest.$ac_ext >&5'
10526 { (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); }; }; then
10531 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
10532 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10533 (eval $ac_try) 2>&5
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); } &&
10537 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10538 (eval $ac_try) 2>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); };
10546 # cc exists but doesn't like -o.
10547 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
10552 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
10557 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
10558 echo "$as_me:$LINENO: result: yes" >&5
10559 echo "${ECHO_T}yes" >&6
10561 echo "$as_me:$LINENO: result: no" >&5
10562 echo "${ECHO_T}no" >&6
10564 cat >>confdefs.h
<<\_ACEOF
10565 #define NO_MINUS_C_MINUS_O 1
10570 # expand $ac_aux_dir to an absolute path
10571 am_aux_dir
=`cd $ac_aux_dir && pwd`
10573 # FIXME: we rely on the cache variable name because
10574 # there is no other way.
10576 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10577 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
10578 # Losing compiler, so override with the script.
10579 # FIXME: It is wrong to rewrite CC.
10580 # But if we don't then we get into trouble of one sort or another.
10581 # A longer-term fix would be to have automake use am__CC in this case,
10582 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
10583 CC
="$am_aux_dir/compile $CC"
10587 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
10588 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
10589 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
10590 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
10591 echo $ECHO_N "(cached) $ECHO_C" >&6
10593 cat >conftest.
make <<\_ACEOF
10595 @
echo 'ac_maketemp="$(MAKE)"'
10597 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10598 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
10599 if test -n "$ac_maketemp"; then
10600 eval ac_cv_prog_make_
${ac_make}_set
=yes
10602 eval ac_cv_prog_make_
${ac_make}_set
=no
10604 rm -f conftest.
make
10606 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
10607 echo "$as_me:$LINENO: result: yes" >&5
10608 echo "${ECHO_T}yes" >&6
10611 echo "$as_me:$LINENO: result: no" >&5
10612 echo "${ECHO_T}no" >&6
10613 SET_MAKE
="MAKE=${MAKE-make}"
10621 # Sanity check for the cross-compilation case:
10622 if test "${ac_cv_header_stdio_h+set}" = set; then
10623 echo "$as_me:$LINENO: checking for stdio.h" >&5
10624 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6
10625 if test "${ac_cv_header_stdio_h+set}" = set; then
10626 echo $ECHO_N "(cached) $ECHO_C" >&6
10628 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
10629 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6
10631 # Is the header compilable?
10632 echo "$as_me:$LINENO: checking stdio.h usability" >&5
10633 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6
10634 cat >conftest.
$ac_ext <<_ACEOF
10637 cat confdefs.h
>>conftest.
$ac_ext
10638 cat >>conftest.
$ac_ext <<_ACEOF
10639 /* end confdefs.h. */
10640 $ac_includes_default
10643 rm -f conftest.
$ac_objext
10644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10645 (eval $ac_compile) 2>conftest.er1
10647 grep -v '^ *+' conftest.er1
>conftest.err
10649 cat conftest.err
>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); } &&
10652 { ac_try
='test -z "$ac_c_werror_flag"
10653 || test ! -s conftest.err'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; } &&
10659 { ac_try
='test -s conftest.$ac_objext'
10660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10661 (eval $ac_try) 2>&5
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); }; }; then
10665 ac_header_compiler
=yes
10667 echo "$as_me: failed program was:" >&5
10668 sed 's/^/| /' conftest.
$ac_ext >&5
10670 ac_header_compiler
=no
10672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10674 echo "${ECHO_T}$ac_header_compiler" >&6
10676 # Is the header present?
10677 echo "$as_me:$LINENO: checking stdio.h presence" >&5
10678 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6
10679 cat >conftest.
$ac_ext <<_ACEOF
10682 cat confdefs.h
>>conftest.
$ac_ext
10683 cat >>conftest.
$ac_ext <<_ACEOF
10684 /* end confdefs.h. */
10687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10688 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10690 grep -v '^ *+' conftest.er1
>conftest.err
10692 cat conftest.err
>&5
10693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10694 (exit $ac_status); } >/dev
/null
; then
10695 if test -s conftest.err
; then
10696 ac_cpp_err
=$ac_c_preproc_warn_flag
10697 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10704 if test -z "$ac_cpp_err"; then
10705 ac_header_preproc
=yes
10707 echo "$as_me: failed program was:" >&5
10708 sed 's/^/| /' conftest.
$ac_ext >&5
10710 ac_header_preproc
=no
10712 rm -f conftest.err conftest.
$ac_ext
10713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10714 echo "${ECHO_T}$ac_header_preproc" >&6
10716 # So? What about this header?
10717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10719 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5
10720 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10721 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5
10722 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;}
10723 ac_header_preproc
=yes
10726 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5
10727 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;}
10728 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5
10729 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;}
10730 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5
10731 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;}
10732 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5
10733 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;}
10734 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5
10735 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;}
10736 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5
10737 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;}
10740 ## ----------------------------------------- ##
10741 ## Report this to the package-unused lists. ##
10742 ## ----------------------------------------- ##
10745 sed "s/^/$as_me: WARNING: /" >&2
10748 echo "$as_me:$LINENO: checking for stdio.h" >&5
10749 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6
10750 if test "${ac_cv_header_stdio_h+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 ac_cv_header_stdio_h
=$ac_header_preproc
10755 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
10756 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6
10759 if test $ac_cv_header_stdio_h = yes; then
10762 { { echo "$as_me:$LINENO: error: Can't find stdio.h.
10763 You must have a usable C system for the target already installed, at least
10764 including headers and, preferably, the library, before you can configure
10765 the Objective C runtime system. If necessary, install gcc now with
10766 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." >&5
10767 echo "$as_me: error: Can't find stdio.h.
10768 You must have a usable C system for the target already installed, at least
10769 including headers and, preferably, the library, before you can configure
10770 the Objective C runtime system. If necessary, install gcc now with
10771 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." >&2;}
10772 { (exit 1); exit 1; }; }
10777 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10778 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10779 if test "${ac_cv_header_stdc+set}" = set; then
10780 echo $ECHO_N "(cached) $ECHO_C" >&6
10782 cat >conftest.
$ac_ext <<_ACEOF
10785 cat confdefs.h
>>conftest.
$ac_ext
10786 cat >>conftest.
$ac_ext <<_ACEOF
10787 /* end confdefs.h. */
10788 #include <stdlib.h>
10789 #include <stdarg.h>
10790 #include <string.h>
10801 rm -f conftest.
$ac_objext
10802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10803 (eval $ac_compile) 2>conftest.er1
10805 grep -v '^ *+' conftest.er1
>conftest.err
10807 cat conftest.err
>&5
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); } &&
10810 { ac_try
='test -z "$ac_c_werror_flag"
10811 || test ! -s conftest.err'
10812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }; } &&
10817 { ac_try
='test -s conftest.$ac_objext'
10818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10819 (eval $ac_try) 2>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); }; }; then
10823 ac_cv_header_stdc
=yes
10825 echo "$as_me: failed program was:" >&5
10826 sed 's/^/| /' conftest.
$ac_ext >&5
10828 ac_cv_header_stdc
=no
10830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10832 if test $ac_cv_header_stdc = yes; then
10833 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10834 cat >conftest.
$ac_ext <<_ACEOF
10837 cat confdefs.h
>>conftest.
$ac_ext
10838 cat >>conftest.
$ac_ext <<_ACEOF
10839 /* end confdefs.h. */
10840 #include <string.h>
10843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10844 $EGREP "memchr" >/dev
/null
2>&1; then
10847 ac_cv_header_stdc
=no
10853 if test $ac_cv_header_stdc = yes; then
10854 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10855 cat >conftest.
$ac_ext <<_ACEOF
10858 cat confdefs.h
>>conftest.
$ac_ext
10859 cat >>conftest.
$ac_ext <<_ACEOF
10860 /* end confdefs.h. */
10861 #include <stdlib.h>
10864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10865 $EGREP "free" >/dev
/null
2>&1; then
10868 ac_cv_header_stdc
=no
10874 if test $ac_cv_header_stdc = yes; then
10875 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10876 if test "$cross_compiling" = yes; then
10879 cat >conftest.
$ac_ext <<_ACEOF
10882 cat confdefs.h
>>conftest.
$ac_ext
10883 cat >>conftest.
$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10886 #if ((' ' & 0x0FF) == 0x020)
10887 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10888 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10890 # define ISLOWER(c) \
10891 (('a' <= (c) && (c) <= 'i') \
10892 || ('j' <= (c) && (c) <= 'r') \
10893 || ('s' <= (c) && (c) <= 'z'))
10894 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10897 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10902 for (i = 0; i < 256; i++)
10903 if (XOR (islower (i), ISLOWER (i))
10904 || toupper (i) != TOUPPER (i))
10909 rm -f conftest
$ac_exeext
10910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10911 (eval $ac_link) 2>&5
10913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10916 (eval $ac_try) 2>&5
10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 (exit $ac_status); }; }; then
10922 echo "$as_me: program exited with status $ac_status" >&5
10923 echo "$as_me: failed program was:" >&5
10924 sed 's/^/| /' conftest.
$ac_ext >&5
10926 ( exit $ac_status )
10927 ac_cv_header_stdc
=no
10929 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10933 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10934 echo "${ECHO_T}$ac_cv_header_stdc" >&6
10935 if test $ac_cv_header_stdc = yes; then
10937 cat >>confdefs.h
<<\_ACEOF
10938 #define STDC_HEADERS 1
10945 for ac_header
in sched.h
10947 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10949 echo "$as_me:$LINENO: checking for $ac_header" >&5
10950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10952 echo $ECHO_N "(cached) $ECHO_C" >&6
10954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10957 # Is the header compilable?
10958 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10959 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10960 cat >conftest.
$ac_ext <<_ACEOF
10963 cat confdefs.h
>>conftest.
$ac_ext
10964 cat >>conftest.
$ac_ext <<_ACEOF
10965 /* end confdefs.h. */
10966 $ac_includes_default
10967 #include <$ac_header>
10969 rm -f conftest.
$ac_objext
10970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10971 (eval $ac_compile) 2>conftest.er1
10973 grep -v '^ *+' conftest.er1
>conftest.err
10975 cat conftest.err
>&5
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); } &&
10978 { ac_try
='test -z "$ac_c_werror_flag"
10979 || test ! -s conftest.err'
10980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10981 (eval $ac_try) 2>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); }; } &&
10985 { ac_try
='test -s conftest.$ac_objext'
10986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10987 (eval $ac_try) 2>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }; }; then
10991 ac_header_compiler
=yes
10993 echo "$as_me: failed program was:" >&5
10994 sed 's/^/| /' conftest.
$ac_ext >&5
10996 ac_header_compiler
=no
10998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11000 echo "${ECHO_T}$ac_header_compiler" >&6
11002 # Is the header present?
11003 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11004 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11005 cat >conftest.
$ac_ext <<_ACEOF
11008 cat confdefs.h
>>conftest.
$ac_ext
11009 cat >>conftest.
$ac_ext <<_ACEOF
11010 /* end confdefs.h. */
11011 #include <$ac_header>
11013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11014 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11016 grep -v '^ *+' conftest.er1
>conftest.err
11018 cat conftest.err
>&5
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); } >/dev
/null
; then
11021 if test -s conftest.err
; then
11022 ac_cpp_err
=$ac_c_preproc_warn_flag
11023 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11030 if test -z "$ac_cpp_err"; then
11031 ac_header_preproc
=yes
11033 echo "$as_me: failed program was:" >&5
11034 sed 's/^/| /' conftest.
$ac_ext >&5
11036 ac_header_preproc
=no
11038 rm -f conftest.err conftest.
$ac_ext
11039 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11040 echo "${ECHO_T}$ac_header_preproc" >&6
11042 # So? What about this header?
11043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11045 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11046 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11048 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11049 ac_header_preproc
=yes
11052 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11053 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11054 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11055 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11056 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11057 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11058 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11059 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11062 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11063 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11066 ## ----------------------------------------- ##
11067 ## Report this to the package-unused lists. ##
11068 ## ----------------------------------------- ##
11071 sed "s/^/$as_me: WARNING: /" >&2
11074 echo "$as_me:$LINENO: checking for $ac_header" >&5
11075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11079 eval "$as_ac_Header=\$ac_header_preproc"
11081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11086 cat >>confdefs.h
<<_ACEOF
11087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11099 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
11100 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
11101 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
11102 echo "$as_me:$LINENO: result: $target_thread_file" >&5
11103 echo "${ECHO_T}$target_thread_file" >&6
11105 if test $target_thread_file != single
; then
11107 cat >>confdefs.h
<<\_ACEOF
11108 #define HAVE_GTHR_DEFAULT 1
11114 echo "$as_me:$LINENO: checking for exception model to use" >&5
11115 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
11117 ac_cpp
='$CPP $CPPFLAGS'
11118 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11119 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11120 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11122 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
11123 if test "${enable_sjlj_exceptions+set}" = set; then
11124 enableval
="$enable_sjlj_exceptions"
11127 cat > conftest.
$ac_ext << EOF
11128 #line 11128 "configure"
11131 @implementation Frob
11139 @catch (Frob* ex) {
11144 old_CFLAGS
="$CFLAGS"
11145 CFLAGS
="-x objective-c -fgnu-runtime -fobjc-exceptions -S"
11146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11147 (eval $ac_compile) 2>&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }; then
11151 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
11152 enable_sjlj_exceptions
=yes
11153 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
11154 enable_sjlj_exceptions
=no
11157 CFLAGS
="$old_CFLAGS"
11160 if test x
$enable_sjlj_exceptions = xyes
; then
11162 cat >>confdefs.h
<<\_ACEOF
11163 #define SJLJ_EXCEPTIONS 1
11166 ac_exception_model_name
=sjlj
11167 elif test x
$enable_sjlj_exceptions = xno
; then
11168 ac_exception_model_name
="call frame"
11170 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
11171 echo "$as_me: error: unable to detect exception model" >&2;}
11172 { (exit 1); exit 1; }; }
11175 ac_cpp
='$CPP $CPPFLAGS'
11176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11180 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
11181 echo "${ECHO_T}$ac_exception_model_name" >&6
11187 if test ${multilib} = yes; then
11188 multilib_arg
="--enable-multilib"
11193 ac_config_files
="$ac_config_files Makefile"
11195 cat >confcache
<<\_ACEOF
11196 # This file is a shell script that caches the results of configure
11197 # tests run on this system so they can be shared between configure
11198 # scripts and configure runs, see configure's option --config-cache.
11199 # It is not useful on other systems. If it contains results you don't
11200 # want to keep, you may remove or edit it.
11202 # config.status only pays attention to the cache file if you give it
11203 # the --recheck option to rerun configure.
11205 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11206 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11207 # following values.
11211 # The following way of writing the cache mishandles newlines in values,
11212 # but we know of no workaround that is simple, portable, and efficient.
11213 # So, don't put newlines in cache variables' values.
11214 # Ultrix sh set writes to stderr and can't be redirected directly,
11215 # and sets the high bit in the cache file unless we assign to the vars.
11218 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11220 # `set' does not quote correctly, so add quotes (double-quote
11221 # substitution turns \\\\ into \\, and sed turns \\ into \).
11224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11227 # `set' quotes correctly as required by POSIX, so do not add quotes.
11229 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11236 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11238 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11240 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11241 if test -w $cache_file; then
11242 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11243 cat confcache
>$cache_file
11245 echo "not updating unwritable cache $cache_file"
11250 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11251 # Let make expand exec_prefix.
11252 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11254 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11255 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11256 # trailing colons and then remove the whole line if VPATH becomes empty
11257 # (actually we leave an empty line to preserve line numbers).
11258 if test "x$srcdir" = x.
; then
11259 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11260 s/:*\$(srcdir):*/:/;
11261 s/:*\${srcdir}:*/:/;
11263 s/^\([^=]*=[ ]*\):*/\1/;
11269 DEFS
=-DHAVE_CONFIG_H
11273 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11274 # 1. Remove the extension, and $U if already installed.
11275 ac_i
=`echo "$ac_i" |
11276 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11278 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11279 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11281 LIBOBJS
=$ac_libobjs
11283 LTLIBOBJS
=$ac_ltlibobjs
11286 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11287 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11288 Usually this means the macro was only invoked conditionally." >&5
11289 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11290 Usually this means the macro was only invoked conditionally." >&2;}
11291 { (exit 1); exit 1; }; }
11294 : ${CONFIG_STATUS=./config.status}
11295 ac_clean_files_save
=$ac_clean_files
11296 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11297 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11298 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11299 cat >$CONFIG_STATUS <<_ACEOF
11301 # Generated by $as_me.
11302 # Run this file to recreate the current configuration.
11303 # Compiler output produced by configure, useful for debugging
11304 # configure, is in config.log if it exists.
11307 ac_cs_recheck=false
11309 SHELL=\${CONFIG_SHELL-$SHELL}
11312 cat >>$CONFIG_STATUS <<\_ACEOF
11313 ## --------------------- ##
11314 ## M4sh Initialization. ##
11315 ## --------------------- ##
11317 # Be Bourne compatible
11318 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11321 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11322 # is contrary to our usage. Disable this feature.
11323 alias -g '${1+"$@"}'='"$@"'
11324 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11327 DUALCASE
=1; export DUALCASE
# for MKS sh
11329 # Support unset when possible.
11330 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11337 # Work around bugs in pre-3.0 UWIN ksh.
11338 $as_unset ENV MAIL MAILPATH
11345 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11346 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11347 LC_TELEPHONE LC_TIME
11349 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11350 eval $as_var=C
; export $as_var
11356 # Required to use basename.
11357 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11363 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11364 as_basename
=basename
11370 # Name of the executable.
11371 as_me
=`$as_basename "$0" ||
11372 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11373 X"$0" : 'X\(//\)$' \| \
11374 X"$0" : 'X\(/\)$' \| \
11375 . : '\(.\)' 2>/dev/null ||
11377 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11378 /^X\/\(\/\/\)$/{ s//\1/; q; }
11379 /^X\/\(\/\).*/{ s//\1/; q; }
11383 # PATH needs CR, and LINENO needs CR and PATH.
11384 # Avoid depending upon Character Ranges.
11385 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11386 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11387 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11388 as_cr_digits
='0123456789'
11389 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11391 # The user is always right.
11392 if test "${PATH_SEPARATOR+set}" != set; then
11393 echo "#! /bin/sh" >conf$$.sh
11394 echo "exit 0" >>conf$$.sh
11396 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11405 as_lineno_1
=$LINENO
11406 as_lineno_2
=$LINENO
11407 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11408 test "x$as_lineno_1" != "x$as_lineno_2" &&
11409 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11410 # Find who we are. Look in the path if we contain no path at all
11413 *[\\/]* ) as_myself
=$0 ;;
11414 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11415 for as_dir
in $PATH
11418 test -z "$as_dir" && as_dir
=.
11419 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11424 # We did not find ourselves, most probably we were run as `sh COMMAND'
11425 # in which case we are not to be found in the path.
11426 if test "x$as_myself" = x
; then
11429 if test ! -f "$as_myself"; then
11430 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11431 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11432 { (exit 1); exit 1; }; }
11434 case $CONFIG_SHELL in
11436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11437 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11440 test -z "$as_dir" && as_dir
=.
11441 for as_base
in sh bash ksh sh5
; do
11444 if ("$as_dir/$as_base" -c '
11445 as_lineno_1=$LINENO
11446 as_lineno_2=$LINENO
11447 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11448 test "x$as_lineno_1" != "x$as_lineno_2" &&
11449 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11450 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11451 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11452 CONFIG_SHELL
=$as_dir/$as_base
11453 export CONFIG_SHELL
11454 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11462 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11463 # uniformly replaced by the line number. The first 'sed' inserts a
11464 # line-number line before each line; the second 'sed' does the real
11465 # work. The second script uses 'N' to pair each line-number line
11466 # with the numbered line, and appends trailing '-' during
11467 # substitution so that $LINENO is not a special case at line end.
11468 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11469 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11470 sed '=' <$as_myself |
11475 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11478 s,^['$as_cr_digits']*\n,,
11479 ' >$as_me.lineno
&&
11480 chmod +x
$as_me.lineno ||
11481 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11482 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11483 { (exit 1); exit 1; }; }
11485 # Don't try to exec as it changes $[0], causing all sort of problems
11486 # (the dirname of $[0] is not the place where we might find the
11487 # original and so on. Autoconf is especially sensible to this).
11489 # Exit status is that of the last command.
11494 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11495 *c
*,-n*) ECHO_N
= ECHO_C
='
11497 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11498 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11501 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11507 rm -f conf$$ conf$$.exe conf$$.
file
11509 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11510 # We could just check for DJGPP; but this test a) works b) is more generic
11511 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11512 if test -f conf$$.exe
; then
11513 # Don't use ln at all; we don't have any links
11518 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11523 rm -f conf$$ conf$$.exe conf$$.
file
11525 if mkdir
-p .
2>/dev
/null
; then
11528 test -d .
/-p && rmdir .
/-p
11532 as_executable_p
="test -f"
11534 # Sed expression to map a string onto a valid CPP name.
11535 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11537 # Sed expression to map a string onto a valid variable name.
11538 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11542 # We need space, tab and new line, in precisely that order.
11552 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11553 # report actual input values of CONFIG_FILES etc. instead of their
11554 # values after options handling. Logging --version etc. is OK.
11558 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11559 ## Running $as_me. ##
11564 This file was extended by package-unused $as_me version-unused, which was
11565 generated by GNU Autoconf 2.59. Invocation command line was
11567 CONFIG_FILES = $CONFIG_FILES
11568 CONFIG_HEADERS = $CONFIG_HEADERS
11569 CONFIG_LINKS = $CONFIG_LINKS
11570 CONFIG_COMMANDS = $CONFIG_COMMANDS
11574 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11578 # Files that config.status was made for.
11579 if test -n "$ac_config_files"; then
11580 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11583 if test -n "$ac_config_headers"; then
11584 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11587 if test -n "$ac_config_links"; then
11588 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11591 if test -n "$ac_config_commands"; then
11592 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11595 cat >>$CONFIG_STATUS <<\_ACEOF
11598 \`$as_me' instantiates files from templates according to the
11599 current configuration.
11601 Usage: $0 [OPTIONS] [FILE]...
11603 -h, --help print this help, then exit
11604 -V, --version print version number, then exit
11605 -q, --quiet do not print progress messages
11606 -d, --debug don't remove temporary files
11607 --recheck update $as_me by reconfiguring in the same conditions
11608 --file=FILE[:TEMPLATE]
11609 instantiate the configuration file FILE
11610 --header=FILE[:TEMPLATE]
11611 instantiate the configuration header FILE
11613 Configuration files:
11616 Configuration headers:
11619 Configuration commands:
11622 Report bugs to <bug-autoconf@gnu.org>."
11625 cat >>$CONFIG_STATUS <<_ACEOF
11627 package-unused config.status version-unused
11628 configured by $0, generated by GNU Autoconf 2.59,
11629 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11631 Copyright (C) 2003 Free Software Foundation, Inc.
11632 This config.status script is free software; the Free Software Foundation
11633 gives unlimited permission to copy, distribute and modify it."
11638 cat >>$CONFIG_STATUS <<\_ACEOF
11639 # If no file are specified by the user, then we need to provide default
11640 # value. By we need to know if files were specified by the user.
11646 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11647 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11655 *) # This is not an option, so the user has probably given explicit
11658 ac_need_defaults
=false
;;
11662 # Handling of the options.
11664 cat >>$CONFIG_STATUS <<\_ACEOF
11665 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11667 --version |
--vers* |
-V )
11668 echo "$ac_cs_version"; exit 0 ;;
11670 # Conflict between --help and --header
11671 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11672 Try \`$0 --help' for more information." >&5
11673 echo "$as_me: error: ambiguous option: $1
11674 Try \`$0 --help' for more information." >&2;}
11675 { (exit 1); exit 1; }; };;
11676 --help |
--hel |
-h )
11677 echo "$ac_cs_usage"; exit 0 ;;
11678 --debug |
--d* |
-d )
11680 --file |
--fil |
--fi |
--f )
11682 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11683 ac_need_defaults
=false
;;
11684 --header |
--heade |
--head |
--hea )
11686 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11687 ac_need_defaults
=false
;;
11688 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11689 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11692 # This is an error.
11693 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11694 Try \`$0 --help' for more information." >&5
11695 echo "$as_me: error: unrecognized option: $1
11696 Try \`$0 --help' for more information." >&2;}
11697 { (exit 1); exit 1; }; } ;;
11699 *) ac_config_targets
="$ac_config_targets $1" ;;
11705 ac_configure_extra_args
=
11707 if $ac_cs_silent; then
11709 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11713 cat >>$CONFIG_STATUS <<_ACEOF
11714 if \$ac_cs_recheck; then
11715 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11716 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11721 cat >>$CONFIG_STATUS <<_ACEOF
11723 # INIT-COMMANDS section.
11730 with_multisubdir="$with_multisubdir"
11731 with_multisrctop="$with_multisrctop"
11732 with_target_subdir="$with_target_subdir"
11733 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11734 multi_basedir="$multi_basedir"
11735 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11739 # The HP-UX ksh and POSIX shell print the target directory to stdout
11740 # if CDPATH is set.
11741 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11743 sed_quote_subst='$sed_quote_subst'
11744 double_quote_subst='$double_quote_subst'
11745 delay_variable_subst='$delay_variable_subst'
11746 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
11747 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11748 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11749 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11750 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11751 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11752 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11753 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11754 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11755 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11756 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11757 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11758 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11759 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11760 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11761 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11762 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11763 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11764 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11765 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11766 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11767 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11768 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11769 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11770 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11771 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11772 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11773 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11774 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11775 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11776 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11777 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11778 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11779 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11780 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11781 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11782 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11783 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11784 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11785 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11786 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11787 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11788 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11789 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11790 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11791 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11792 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"`'
11793 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"`'
11794 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11795 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11796 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11797 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11798 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11799 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11800 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11801 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11802 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11803 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11804 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11805 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11806 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11807 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11808 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11809 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11810 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11811 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11812 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11813 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11814 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11815 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11816 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11817 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11818 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11819 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11820 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11821 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11822 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11823 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11824 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11825 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11826 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11827 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11828 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11829 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11830 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11831 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11832 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11833 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11834 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11835 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11836 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11837 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11838 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11839 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11840 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11841 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11842 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11843 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11844 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11845 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11846 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11847 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11848 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11849 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11850 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11851 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11852 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11853 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11854 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11855 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11856 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11857 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11858 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11859 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11860 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11861 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11862 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11863 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11864 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11865 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11868 LTCFLAGS='$LTCFLAGS'
11869 compiler='$compiler_DEFAULT'
11871 # Quote evaled strings.
11882 deplibs_check_method \
11891 lt_cv_sys_global_symbol_pipe \
11892 lt_cv_sys_global_symbol_to_cdecl \
11893 lt_cv_sys_global_symbol_to_c_name_address \
11894 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11897 lt_prog_compiler_no_builtin_flag \
11898 lt_prog_compiler_wl \
11899 lt_prog_compiler_pic \
11900 lt_prog_compiler_static \
11901 lt_cv_prog_compiler_c_o \
11909 export_dynamic_flag_spec \
11910 whole_archive_flag_spec \
11911 compiler_needs_object \
11913 allow_undefined_flag \
11914 no_undefined_flag \
11915 hardcode_libdir_flag_spec \
11916 hardcode_libdir_flag_spec_ld \
11917 hardcode_libdir_separator \
11922 variables_saved_for_relink \
11924 library_names_spec \
11929 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11930 *[\\\\\\\`\\"\\\$]*)
11931 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11934 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11939 # Double-quote double-evaled strings.
11940 for var in reload_cmds \
11941 old_postinstall_cmds \
11942 old_postuninstall_cmds \
11944 extract_expsyms_cmds \
11945 old_archive_from_new_cmds \
11946 old_archive_from_expsyms_cmds \
11948 archive_expsym_cmds \
11950 module_expsym_cmds \
11951 export_symbols_cmds \
11954 postuninstall_cmds \
11956 sys_lib_search_path_spec \
11957 sys_lib_dlsearch_path_spec; do
11958 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11959 *[\\\\\\\`\\"\\\$]*)
11960 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11963 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11968 # Fix-up fallback echo if it was mangled by the above quoting rules.
11970 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11974 ac_aux_dir='$ac_aux_dir'
11975 xsi_shell='$xsi_shell'
11976 lt_shell_append='$lt_shell_append'
11978 # See if we are running on zsh, and set the options which allow our
11979 # commands through without removal of \ escapes INIT.
11980 if test -n "\${ZSH_VERSION+set}" ; then
11981 setopt NO_GLOB_SUBST
11987 TIMESTAMP='$TIMESTAMP'
11998 cat >>$CONFIG_STATUS <<\_ACEOF
11999 for ac_config_target
in $ac_config_targets
12001 case "$ac_config_target" in
12002 # Handling of arguments.
12003 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12004 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12005 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12006 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12007 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12008 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12009 { (exit 1); exit 1; }; };;
12013 # If the user did not use the arguments to specify the items to instantiate,
12014 # then the envvar interface is used. Set only those that are not.
12015 # We use the long form for the default assignment because of an extremely
12016 # bizarre bug on SunOS 4.1.3.
12017 if $ac_need_defaults; then
12018 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12019 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12020 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12023 # Have a temporary directory for convenience. Make it in the build tree
12024 # simply because there is no reason to put it here, and in addition,
12025 # creating and moving files from /tmp can sometimes cause problems.
12026 # Create a temporary directory, and hook for its removal unless debugging.
12029 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12030 trap '{ (exit 1); exit 1; }' 1 2 13 15
12033 # Create a (secure) tmp directory for tmp files.
12036 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12037 test -n "$tmp" && test -d "$tmp"
12040 tmp
=.
/confstat$$
-$RANDOM
12041 (umask 077 && mkdir
$tmp)
12044 echo "$me: cannot create a temporary directory in ." >&2
12045 { (exit 1); exit 1; }
12050 cat >>$CONFIG_STATUS <<_ACEOF
12053 # CONFIG_FILES section.
12056 # No need to generate the scripts if there are no CONFIG_FILES.
12057 # This happens for instance when ./config.status config.h
12058 if test -n "\$CONFIG_FILES"; then
12059 # Protect against being on the right side of a sed subst in config.status.
12060 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12061 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12062 s,@SHELL@,$SHELL,;t t
12063 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12064 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12065 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12066 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12067 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12068 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12069 s,@exec_prefix@,$exec_prefix,;t t
12070 s,@prefix@,$prefix,;t t
12071 s,@program_transform_name@,$program_transform_name,;t t
12072 s,@bindir@,$bindir,;t t
12073 s,@sbindir@,$sbindir,;t t
12074 s,@libexecdir@,$libexecdir,;t t
12075 s,@datadir@,$datadir,;t t
12076 s,@sysconfdir@,$sysconfdir,;t t
12077 s,@sharedstatedir@,$sharedstatedir,;t t
12078 s,@localstatedir@,$localstatedir,;t t
12079 s,@libdir@,$libdir,;t t
12080 s,@includedir@,$includedir,;t t
12081 s,@oldincludedir@,$oldincludedir,;t t
12082 s,@infodir@,$infodir,;t t
12083 s,@mandir@,$mandir,;t t
12084 s,@build_alias@,$build_alias,;t t
12085 s,@host_alias@,$host_alias,;t t
12086 s,@target_alias@,$target_alias,;t t
12087 s,@DEFS@,$DEFS,;t t
12088 s,@ECHO_C@,$ECHO_C,;t t
12089 s,@ECHO_N@,$ECHO_N,;t t
12090 s,@ECHO_T@,$ECHO_T,;t t
12091 s,@LIBS@,$LIBS,;t t
12092 s,@build@,$build,;t t
12093 s,@build_cpu@,$build_cpu,;t t
12094 s,@build_vendor@,$build_vendor,;t t
12095 s,@build_os@,$build_os,;t t
12096 s,@build_libsubdir@,$build_libsubdir,;t t
12097 s,@build_subdir@,$build_subdir,;t t
12098 s,@host_subdir@,$host_subdir,;t t
12099 s,@target_subdir@,$target_subdir,;t t
12100 s,@VERSION@,$VERSION,;t t
12101 s,@OBJC_BOEHM_GC@,$OBJC_BOEHM_GC,;t t
12102 s,@OBJC_BOEHM_GC_INCLUDES@,$OBJC_BOEHM_GC_INCLUDES,;t t
12103 s,@multi_basedir@,$multi_basedir,;t t
12104 s,@host@,$host,;t t
12105 s,@host_cpu@,$host_cpu,;t t
12106 s,@host_vendor@,$host_vendor,;t t
12107 s,@host_os@,$host_os,;t t
12108 s,@target@,$target,;t t
12109 s,@target_cpu@,$target_cpu,;t t
12110 s,@target_vendor@,$target_vendor,;t t
12111 s,@target_os@,$target_os,;t t
12112 s,@target_noncanonical@,$target_noncanonical,;t t
12113 s,@glibcpp_srcdir@,$glibcpp_srcdir,;t t
12114 s,@toolexecdir@,$toolexecdir,;t t
12115 s,@toolexeclibdir@,$toolexeclibdir,;t t
12116 s,@includedirname@,$includedirname,;t t
12117 s,@libsuffix@,$libsuffix,;t t
12119 s,@ac_ct_CC@,$ac_ct_CC,;t t
12120 s,@EXEEXT@,$EXEEXT,;t t
12121 s,@OBJEXT@,$OBJEXT,;t t
12122 s,@extra_ldflags_libobjc@,$extra_ldflags_libobjc,;t t
12123 s,@CFLAGS@,$CFLAGS,;t t
12125 s,@ac_ct_AS@,$ac_ct_AS,;t t
12127 s,@ac_ct_AR@,$ac_ct_AR,;t t
12128 s,@RANLIB@,$RANLIB,;t t
12129 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12130 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12131 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12132 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12133 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12134 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12135 s,@MAINT@,$MAINT,;t t
12136 s,@DLLTOOL@,$DLLTOOL,;t t
12137 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
12138 s,@OBJDUMP@,$OBJDUMP,;t t
12139 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
12140 s,@LIBTOOL@,$LIBTOOL,;t t
12142 s,@EGREP@,$EGREP,;t t
12143 s,@FGREP@,$FGREP,;t t
12144 s,@GREP@,$GREP,;t t
12146 s,@DUMPBIN@,$DUMPBIN,;t t
12147 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
12149 s,@LN_S@,$LN_S,;t t
12150 s,@STRIP@,$STRIP,;t t
12151 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12152 s,@lt_ECHO@,$lt_ECHO,;t t
12153 s,@DSYMUTIL@,$DSYMUTIL,;t t
12154 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
12155 s,@NMEDIT@,$NMEDIT,;t t
12156 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
12157 s,@LIPO@,$LIPO,;t t
12158 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
12159 s,@OTOOL@,$OTOOL,;t t
12160 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
12161 s,@OTOOL64@,$OTOOL64,;t t
12162 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
12164 s,@CPPFLAGS@,$CPPFLAGS,;t t
12165 s,@SET_MAKE@,$SET_MAKE,;t t
12166 s,@LIBOBJS@,$LIBOBJS,;t t
12167 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12172 cat >>$CONFIG_STATUS <<\_ACEOF
12173 # Split the substitutions into bite-sized pieces for seds with
12174 # small command number limits, like on Digital OSF/1 and HP-UX.
12175 ac_max_sed_lines
=48
12176 ac_sed_frag
=1 # Number of current file.
12177 ac_beg
=1 # First line for current file.
12178 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12181 while $ac_more_lines; do
12182 if test $ac_beg -gt 1; then
12183 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12185 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12187 if test ! -s $tmp/subs.frag
; then
12188 ac_more_lines
=false
12190 # The purpose of the label and of the branching condition is to
12191 # speed up the sed processing (if there are no `@' at all, there
12192 # is no need to browse any of the substitutions).
12193 # These are the two extra sed commands mentioned above.
12195 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12196 if test -z "$ac_sed_cmds"; then
12197 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12199 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12201 ac_sed_frag
=`expr $ac_sed_frag + 1`
12203 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12206 if test -z "$ac_sed_cmds"; then
12209 fi # test -n "$CONFIG_FILES"
12212 cat >>$CONFIG_STATUS <<\_ACEOF
12213 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12214 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12216 - |
*:- |
*:-:* ) # input from stdin
12218 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12219 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12220 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12221 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12222 * ) ac_file_in
=$ac_file.
in ;;
12225 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12226 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12227 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12228 X"$ac_file" : 'X\(//\)[^/]' \| \
12229 X"$ac_file" : 'X\(//\)$' \| \
12230 X"$ac_file" : 'X\(/\)' \| \
12231 . : '\(.\)' 2>/dev/null ||
12233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12234 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12235 /^X\(\/\/\)$/{ s//\1/; q; }
12236 /^X\(\/\).*/{ s//\1/; q; }
12238 { if $as_mkdir_p; then
12243 while test ! -d "$as_dir"; do
12244 as_dirs
="$as_dir $as_dirs"
12245 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12247 X"$as_dir" : 'X\(//\)[^/]' \| \
12248 X"$as_dir" : 'X\(//\)$' \| \
12249 X"$as_dir" : 'X\(/\)' \| \
12250 . : '\(.\)' 2>/dev/null ||
12252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12254 /^X\(\/\/\)$/{ s//\1/; q; }
12255 /^X\(\/\).*/{ s//\1/; q; }
12258 test ! -n "$as_dirs" || mkdir
$as_dirs
12259 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12260 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12261 { (exit 1); exit 1; }; }; }
12265 if test "$ac_dir" != .
; then
12266 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12267 # A "../" for each directory in $ac_dir_suffix.
12268 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12270 ac_dir_suffix
= ac_top_builddir
=
12274 .
) # No --srcdir option. We are building in place.
12276 if test -z "$ac_top_builddir"; then
12279 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12281 [\\/]* | ?
:[\\/]* ) # Absolute path.
12282 ac_srcdir
=$srcdir$ac_dir_suffix;
12283 ac_top_srcdir
=$srcdir ;;
12284 *) # Relative path.
12285 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12286 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12289 # Do not use `cd foo && pwd` to compute absolute paths, because
12290 # the directories may not exist.
12292 .
) ac_abs_builddir
="$ac_dir";;
12295 .
) ac_abs_builddir
=`pwd`;;
12296 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12297 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12300 case $ac_abs_builddir in
12301 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12303 case ${ac_top_builddir}.
in
12304 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12305 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12306 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12309 case $ac_abs_builddir in
12310 .
) ac_abs_srcdir
=$ac_srcdir;;
12313 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12314 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12315 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12318 case $ac_abs_builddir in
12319 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12321 case $ac_top_srcdir in
12322 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12323 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12324 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12330 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12331 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12334 if test x
"$ac_file" != x-
; then
12335 { echo "$as_me:$LINENO: creating $ac_file" >&5
12336 echo "$as_me: creating $ac_file" >&6;}
12339 # Let's still pretend it is `configure' which instantiates (i.e., don't
12340 # use $as_me), people would be surprised to read:
12341 # /* config.h. Generated by config.status. */
12342 if test x
"$ac_file" = x-
; then
12345 configure_input
="$ac_file. "
12347 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12348 sed 's,.*/,,'` by configure."
12350 # First look for the input files in the build tree, otherwise in the
12352 ac_file_inputs
=`IFS=:
12353 for f in $ac_file_in; do
12355 -) echo $tmp/stdin ;;
12357 # Absolute (can't be DOS-style, as IFS=:)
12358 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12359 echo "$as_me: error: cannot find input file: $f" >&2;}
12360 { (exit 1); exit 1; }; }
12363 if test -f "$f"; then
12366 elif test -f "$srcdir/$f"; then
12371 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12372 echo "$as_me: error: cannot find input file: $f" >&2;}
12373 { (exit 1); exit 1; }; }
12376 done` ||
{ (exit 1); exit 1; }
12378 cat >>$CONFIG_STATUS <<_ACEOF
12382 cat >>$CONFIG_STATUS <<\_ACEOF
12384 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12385 s
,@configure_input@
,$configure_input,;t t
12386 s
,@srcdir@
,$ac_srcdir,;t t
12387 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12388 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12389 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12390 s
,@builddir@
,$ac_builddir,;t t
12391 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12392 s
,@top_builddir@
,$ac_top_builddir,;t t
12393 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12394 s
,@INSTALL@
,$ac_INSTALL,;t t
12395 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12397 if test x"$ac_file" != x-; then
12398 mv $tmp/out $ac_file
12406 cat >>$CONFIG_STATUS <<\_ACEOF
12409 # CONFIG_HEADER section.
12412 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12413 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12415 # ac_d sets the value in "#define NAME VALUE" lines.
12416 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12417 ac_dB
='[ ].*$,\1#\2'
12420 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12421 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12422 ac_uB
='$,\1#\2define\3'
12426 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12427 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12429 - |
*:- |
*:-:* ) # input from stdin
12431 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12432 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12433 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12434 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12435 * ) ac_file_in
=$ac_file.
in ;;
12438 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12439 echo "$as_me: creating $ac_file" >&6;}
12441 # First look for the input files in the build tree, otherwise in the
12443 ac_file_inputs
=`IFS=:
12444 for f in $ac_file_in; do
12446 -) echo $tmp/stdin ;;
12448 # Absolute (can't be DOS-style, as IFS=:)
12449 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12450 echo "$as_me: error: cannot find input file: $f" >&2;}
12451 { (exit 1); exit 1; }; }
12452 # Do quote $f, to prevent DOS paths from being IFS'd.
12455 if test -f "$f"; then
12458 elif test -f "$srcdir/$f"; then
12463 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12464 echo "$as_me: error: cannot find input file: $f" >&2;}
12465 { (exit 1); exit 1; }; }
12468 done` ||
{ (exit 1); exit 1; }
12469 # Remove the trailing spaces.
12470 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12474 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12475 # `conftest.undefs', that substitutes the proper values into
12476 # config.h.in to produce config.h. The first handles `#define'
12477 # templates, and the second `#undef' templates.
12478 # And first: Protect against being on the right side of a sed subst in
12479 # config.status. Protect against being in an unquoted here document
12480 # in config.status.
12481 rm -f conftest.defines conftest.undefs
12482 # Using a here document instead of a string reduces the quoting nightmare.
12483 # Putting comments in sed scripts is not portable.
12485 # `end' is used to avoid that the second main sed command (meant for
12486 # 0-ary CPP macros) applies to n-ary macro definitions.
12487 # See the Autoconf documentation for `clear'.
12488 cat >confdef2sed.
sed <<\_ACEOF
12493 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12495 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12498 # If some macros were called several times there might be several times
12499 # the same #defines, which is useless. Nevertheless, we may not want to
12500 # sort them, since we want the *last* AC-DEFINE to be honored.
12501 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12502 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12503 rm -f confdef2sed.sed
12505 # This sed command replaces #undef with comments. This is necessary, for
12506 # example, in the case of _POSIX_SOURCE, which is predefined and required
12507 # on some systems where configure will not decide to define it.
12508 cat >>conftest.undefs <<\_ACEOF
12509 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12512 # Break up conftest.defines because some shells have a limit on the size
12513 # of here documents, and old seds have small limits too (100 cmds).
12514 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12515 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12516 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12517 echo ' :' >>$CONFIG_STATUS
12518 rm -f conftest.tail
12519 while grep . conftest.defines >/dev/null
12521 # Write a limited-size here document to $tmp/defines.sed.
12522 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12523 # Speed up: don't consider the non `#define' lines.
12524 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12525 # Work around the forget-to-reset-the-flag bug.
12526 echo 't clr' >>$CONFIG_STATUS
12527 echo ': clr' >>$CONFIG_STATUS
12528 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12530 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12532 mv $tmp/out $tmp/in
12534 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12535 rm -f conftest.defines
12536 mv conftest.
tail conftest.defines
12538 rm -f conftest.defines
12539 echo ' fi # grep' >>$CONFIG_STATUS
12540 echo >>$CONFIG_STATUS
12542 # Break up conftest.undefs because some shells have a limit on the size
12543 # of here documents, and old seds have small limits too (100 cmds).
12544 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12545 rm -f conftest.
tail
12546 while grep . conftest.undefs
>/dev
/null
12548 # Write a limited-size here document to $tmp/undefs.sed.
12549 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12550 # Speed up: don't consider the non
`#undef'
12551 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12552 # Work around the forget-to-reset-the-flag bug.
12553 echo 't clr' >>$CONFIG_STATUS
12554 echo ': clr' >>$CONFIG_STATUS
12555 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12557 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12559 mv $tmp/out $tmp/in
12561 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12562 rm -f conftest.undefs
12563 mv conftest.tail conftest.undefs
12565 rm -f conftest.undefs
12567 cat >>$CONFIG_STATUS <<\_ACEOF
12568 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12569 # use $as_me), people would be surprised to read:
12570 # /* config.h. Generated by config.status. */
12571 if test x
"$ac_file" = x-
; then
12572 echo "/* Generated by configure. */" >$tmp/config.h
12574 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12576 cat $tmp/in >>$tmp/config.h
12578 if test x
"$ac_file" != x-
; then
12579 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12580 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12581 echo "$as_me: $ac_file is unchanged" >&6;}
12583 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12584 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12585 X"$ac_file" : 'X\(//\)[^/]' \| \
12586 X"$ac_file" : 'X\(//\)$' \| \
12587 X"$ac_file" : 'X\(/\)' \| \
12588 . : '\(.\)' 2>/dev/null ||
12590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12591 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12592 /^X\(\/\/\)$/{ s//\1/; q; }
12593 /^X\(\/\).*/{ s//\1/; q; }
12595 { if $as_mkdir_p; then
12600 while test ! -d "$as_dir"; do
12601 as_dirs
="$as_dir $as_dirs"
12602 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12603 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12604 X"$as_dir" : 'X\(//\)[^/]' \| \
12605 X"$as_dir" : 'X\(//\)$' \| \
12606 X"$as_dir" : 'X\(/\)' \| \
12607 . : '\(.\)' 2>/dev/null ||
12609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12610 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12611 /^X\(\/\/\)$/{ s//\1/; q; }
12612 /^X\(\/\).*/{ s//\1/; q; }
12615 test ! -n "$as_dirs" || mkdir
$as_dirs
12616 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12617 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12618 { (exit 1); exit 1; }; }; }
12621 mv $tmp/config.h
$ac_file
12625 rm -f $tmp/config.h
12629 cat >>$CONFIG_STATUS <<\_ACEOF
12632 # CONFIG_COMMANDS section.
12634 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12635 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12636 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12637 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12638 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12639 X"$ac_dest" : 'X\(//\)[^/]' \| \
12640 X"$ac_dest" : 'X\(//\)$' \| \
12641 X"$ac_dest" : 'X\(/\)' \| \
12642 . : '\(.\)' 2>/dev/null ||
12644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12645 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12646 /^X\(\/\/\)$/{ s//\1/; q; }
12647 /^X\(\/\).*/{ s//\1/; q; }
12649 { if $as_mkdir_p; then
12654 while test ! -d "$as_dir"; do
12655 as_dirs
="$as_dir $as_dirs"
12656 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12658 X"$as_dir" : 'X\(//\)[^/]' \| \
12659 X"$as_dir" : 'X\(//\)$' \| \
12660 X"$as_dir" : 'X\(/\)' \| \
12661 . : '\(.\)' 2>/dev/null ||
12663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12664 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12665 /^X\(\/\/\)$/{ s//\1/; q; }
12666 /^X\(\/\).*/{ s//\1/; q; }
12669 test ! -n "$as_dirs" || mkdir
$as_dirs
12670 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12671 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12672 { (exit 1); exit 1; }; }; }
12676 if test "$ac_dir" != .
; then
12677 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12678 # A "../" for each directory in $ac_dir_suffix.
12679 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12681 ac_dir_suffix
= ac_top_builddir
=
12685 .
) # No --srcdir option. We are building in place.
12687 if test -z "$ac_top_builddir"; then
12690 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12692 [\\/]* | ?
:[\\/]* ) # Absolute path.
12693 ac_srcdir
=$srcdir$ac_dir_suffix;
12694 ac_top_srcdir
=$srcdir ;;
12695 *) # Relative path.
12696 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12697 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12700 # Do not use `cd foo && pwd` to compute absolute paths, because
12701 # the directories may not exist.
12703 .
) ac_abs_builddir
="$ac_dir";;
12706 .
) ac_abs_builddir
=`pwd`;;
12707 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12708 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12711 case $ac_abs_builddir in
12712 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12714 case ${ac_top_builddir}.
in
12715 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12716 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12717 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12720 case $ac_abs_builddir in
12721 .
) ac_abs_srcdir
=$ac_srcdir;;
12724 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12725 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12726 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12729 case $ac_abs_builddir in
12730 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12732 case $ac_top_srcdir in
12733 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12734 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12735 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12740 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12741 echo "$as_me: executing $ac_dest commands" >&6;}
12744 # Only add multilib support code if we just rebuilt the top-level
12746 case " $CONFIG_FILES " in
12748 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
12753 # See if we are running on zsh, and set the options which allow our
12754 # commands through without removal of \ escapes.
12755 if test -n "${ZSH_VERSION+set}" ; then
12756 setopt NO_GLOB_SUBST
12759 cfgfile
="${ofile}T"
12760 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12763 cat <<_LT_EOF >> "$cfgfile"
12766 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12767 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12768 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12769 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12771 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12772 # 2006, 2007, 2008 Free Software Foundation, Inc.
12773 # Written by Gordon Matzigkeit, 1996
12775 # This file is part of GNU Libtool.
12777 # GNU Libtool is free software; you can redistribute it and/or
12778 # modify it under the terms of the GNU General Public License as
12779 # published by the Free Software Foundation; either version 2 of
12780 # the License, or (at your option) any later version.
12782 # As a special exception to the GNU General Public License,
12783 # if you distribute this file as part of a program or library that
12784 # is built using GNU Libtool, you may include this file under the
12785 # same distribution terms that you use for the rest of that program.
12787 # GNU Libtool is distributed in the hope that it will be useful,
12788 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12789 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12790 # GNU General Public License for more details.
12792 # You should have received a copy of the GNU General Public License
12793 # along with GNU Libtool; see the file COPYING. If not, a copy
12794 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12795 # obtained by writing to the Free Software Foundation, Inc.,
12796 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12799 # The names of the tagged configurations supported by this script.
12802 # ### BEGIN LIBTOOL CONFIG
12804 # Assembler program.
12807 # DLL creation program.
12810 # Object dumper program.
12813 # Which release of libtool.m4 was used?
12814 macro_version=$macro_version
12815 macro_revision=$macro_revision
12817 # Whether or not to build shared libraries.
12818 build_libtool_libs=$enable_shared
12820 # Whether or not to build static libraries.
12821 build_old_libs=$enable_static
12823 # What type of objects to build.
12826 # Whether or not to optimize for fast installation.
12827 fast_install=$enable_fast_install
12830 host_alias=$host_alias
12834 # The build system.
12835 build_alias=$build_alias
12839 # A sed program that does not truncate output.
12842 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12843 Xsed="\$SED -e 1s/^X//"
12845 # A grep program that handles long lines.
12851 # A literal string matcher.
12854 # A BSD- or MS-compatible name lister.
12857 # Whether we need soft or hard links.
12860 # What is the maximum length of a command?
12861 max_cmd_len=$max_cmd_len
12863 # Object file suffix (normally "o").
12866 # Executable file suffix (normally "").
12869 # whether the shell understands "unset".
12872 # turn spaces into newlines.
12875 # turn newlines into spaces.
12878 # How to create reloadable object files.
12879 reload_flag=$lt_reload_flag
12880 reload_cmds=$lt_reload_cmds
12882 # Method to check whether dependent libraries are shared objects.
12883 deplibs_check_method=$lt_deplibs_check_method
12885 # Command to use when deplibs_check_method == "file_magic".
12886 file_magic_cmd=$lt_file_magic_cmd
12890 AR_FLAGS=$lt_AR_FLAGS
12892 # A symbol stripping program.
12895 # Commands used to install an old-style archive.
12897 old_postinstall_cmds=$lt_old_postinstall_cmds
12898 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12903 # LTCC compiler flags.
12904 LTCFLAGS=$lt_CFLAGS
12906 # Take the output of nm and produce a listing of raw symbols and C names.
12907 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12909 # Transform the output of nm in a proper C declaration.
12910 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12912 # Transform the output of nm in a C name address pair.
12913 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12915 # Transform the output of nm in a C name address pair when lib prefix is needed.
12916 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12918 # The name of the directory that contains temporary libtool files.
12921 # Shell to use when invoking shell scripts.
12924 # An echo program that does not interpret backslashes.
12927 # Used to examine libraries when file_magic_cmd begins with "file".
12928 MAGIC_CMD=$MAGIC_CMD
12930 # Must we lock files when doing compilation?
12931 need_locks=$lt_need_locks
12933 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12934 DSYMUTIL=$lt_DSYMUTIL
12936 # Tool to change global to local symbols on Mac OS X.
12939 # Tool to manipulate fat objects and archives on Mac OS X.
12942 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12945 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12946 OTOOL64=$lt_OTOOL64
12948 # Old archive suffix (normally "a").
12951 # Shared library suffix (normally ".so").
12952 shrext_cmds=$lt_shrext_cmds
12954 # The commands to extract the exported symbol list from a shared archive.
12955 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12957 # Variables whose values should be saved in libtool wrapper scripts and
12958 # restored at link time.
12959 variables_saved_for_relink=$lt_variables_saved_for_relink
12961 # Do we need the "lib" prefix for modules?
12962 need_lib_prefix=$need_lib_prefix
12964 # Do we need a version for libraries?
12965 need_version=$need_version
12967 # Library versioning type.
12968 version_type=$version_type
12970 # Shared library runtime path variable.
12971 runpath_var=$runpath_var
12973 # Shared library path variable.
12974 shlibpath_var=$shlibpath_var
12976 # Is shlibpath searched before the hard-coded library search path?
12977 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12979 # Format of library name prefix.
12980 libname_spec=$lt_libname_spec
12982 # List of archive names. First name is the real one, the rest are links.
12983 # The last name is the one that the linker finds with -lNAME
12984 library_names_spec=$lt_library_names_spec
12986 # The coded name of the library, if different from the real name.
12987 soname_spec=$lt_soname_spec
12989 # Command to use after installation of a shared archive.
12990 postinstall_cmds=$lt_postinstall_cmds
12992 # Command to use after uninstallation of a shared archive.
12993 postuninstall_cmds=$lt_postuninstall_cmds
12995 # Commands used to finish a libtool library installation in a directory.
12996 finish_cmds=$lt_finish_cmds
12998 # As "finish_cmds", except a single script fragment to be evaled but
13000 finish_eval=$lt_finish_eval
13002 # Whether we should hardcode library paths into libraries.
13003 hardcode_into_libs=$hardcode_into_libs
13005 # Compile-time system search path for libraries.
13006 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13008 # Run-time system search path for libraries.
13009 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13011 # Whether dlopen is supported.
13012 dlopen_support=$enable_dlopen
13014 # Whether dlopen of programs is supported.
13015 dlopen_self=$enable_dlopen_self
13017 # Whether dlopen of statically linked programs is supported.
13018 dlopen_self_static=$enable_dlopen_self_static
13020 # Commands to strip libraries.
13021 old_striplib=$lt_old_striplib
13022 striplib=$lt_striplib
13025 # The linker used to build libraries.
13028 # Commands used to build an old-style archive.
13029 old_archive_cmds=$lt_old_archive_cmds
13031 # A language specific compiler.
13034 # Is the compiler the GNU compiler?
13037 # Compiler flag to turn off builtin functions.
13038 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13040 # How to pass a linker flag through the compiler.
13041 wl=$lt_lt_prog_compiler_wl
13043 # Additional compiler flags for building library objects.
13044 pic_flag=$lt_lt_prog_compiler_pic
13046 # Compiler flag to prevent dynamic linking.
13047 link_static_flag=$lt_lt_prog_compiler_static
13049 # Does compiler simultaneously support -c and -o options?
13050 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13052 # Whether or not to add -lc for building shared libraries.
13053 build_libtool_need_lc=$archive_cmds_need_lc
13055 # Whether or not to disallow shared libs when runtime libs are static.
13056 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13058 # Compiler flag to allow reflexive dlopens.
13059 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13061 # Compiler flag to generate shared objects directly from archives.
13062 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13064 # Whether the compiler copes with passing no objects directly.
13065 compiler_needs_object=$lt_compiler_needs_object
13067 # Create an old-style archive from a shared archive.
13068 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13070 # Create a temporary old-style archive to link instead of a shared archive.
13071 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13073 # Commands used to build a shared archive.
13074 archive_cmds=$lt_archive_cmds
13075 archive_expsym_cmds=$lt_archive_expsym_cmds
13077 # Commands used to build a loadable module if different from building
13078 # a shared archive.
13079 module_cmds=$lt_module_cmds
13080 module_expsym_cmds=$lt_module_expsym_cmds
13082 # Whether we are building with GNU ld or not.
13083 with_gnu_ld=$lt_with_gnu_ld
13085 # Flag that allows shared libraries with undefined symbols to be built.
13086 allow_undefined_flag=$lt_allow_undefined_flag
13088 # Flag that enforces no undefined symbols.
13089 no_undefined_flag=$lt_no_undefined_flag
13091 # Flag to hardcode \$libdir into a binary during linking.
13092 # This must work even if \$libdir does not exist
13093 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13095 # If ld is used when linking, flag to hardcode \$libdir into a binary
13096 # during linking. This must work even if \$libdir does not exist.
13097 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13099 # Whether we need a single "-rpath" flag with a separated argument.
13100 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13102 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13103 # DIR into the resulting binary.
13104 hardcode_direct=$hardcode_direct
13106 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13107 # DIR into the resulting binary and the resulting library dependency is
13108 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13109 # library is relocated.
13110 hardcode_direct_absolute=$hardcode_direct_absolute
13112 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13113 # into the resulting binary.
13114 hardcode_minus_L=$hardcode_minus_L
13116 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13117 # into the resulting binary.
13118 hardcode_shlibpath_var=$hardcode_shlibpath_var
13120 # Set to "yes" if building a shared library automatically hardcodes DIR
13121 # into the library and all subsequent libraries and executables linked
13123 hardcode_automatic=$hardcode_automatic
13125 # Set to yes if linker adds runtime paths of dependent libraries
13126 # to runtime path list.
13127 inherit_rpath=$inherit_rpath
13129 # Whether libtool must link a program against all its dependency libraries.
13130 link_all_deplibs=$link_all_deplibs
13132 # Fix the shell variable \$srcfile for the compiler.
13133 fix_srcfile_path=$lt_fix_srcfile_path
13135 # Set to "yes" if exported symbols are required.
13136 always_export_symbols=$always_export_symbols
13138 # The commands to list exported symbols.
13139 export_symbols_cmds=$lt_export_symbols_cmds
13141 # Symbols that should not be listed in the preloaded symbols.
13142 exclude_expsyms=$lt_exclude_expsyms
13144 # Symbols that must always be exported.
13145 include_expsyms=$lt_include_expsyms
13147 # Commands necessary for linking programs (against libraries) with templates.
13148 prelink_cmds=$lt_prelink_cmds
13150 # Specify filename containing input files.
13151 file_list_spec=$lt_file_list_spec
13153 # How to hardcode a shared library path into an executable.
13154 hardcode_action=$hardcode_action
13156 # ### END LIBTOOL CONFIG
13162 cat <<\_LT_EOF
>> "$cfgfile"
13163 # AIX sometimes has problems with the GCC collect2 program. For some
13164 # reason, if we set the COLLECT_NAMES environment variable, the problems
13165 # vanish in a puff of smoke.
13166 if test "X${COLLECT_NAMES+set}" != Xset
; then
13168 export COLLECT_NAMES
13175 ltmain
="$ac_aux_dir/ltmain.sh"
13178 # We use sed instead of cat because bash on DJGPP gets confused if
13179 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13180 # text mode, it properly converts lines to CR/LF. This bash problem
13181 # is reportedly fixed, but why not run on old versions too?
13182 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13183 ||
(rm -f "$cfgfile"; exit 1)
13187 cat << \_LT_EOF
>> "$cfgfile"
13189 # func_dirname file append nondir_replacement
13190 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13191 # otherwise set result to NONDIR_REPLACEMENT.
13195 */*) func_dirname_result
="${1%/*}${2}" ;;
13196 * ) func_dirname_result
="${3}" ;;
13200 # func_basename file
13203 func_basename_result
="${1##*/}"
13206 # func_dirname_and_basename file append nondir_replacement
13207 # perform func_basename and func_dirname in a single function
13209 # dirname: Compute the dirname of FILE. If nonempty,
13210 # add APPEND to the result, otherwise set result
13211 # to NONDIR_REPLACEMENT.
13212 # value returned in "$func_dirname_result"
13213 # basename: Compute filename of FILE.
13214 # value retuned in "$func_basename_result"
13215 # Implementation must be kept synchronized with func_dirname
13216 # and func_basename. For efficiency, we do not delegate to
13217 # those functions but instead duplicate the functionality here.
13218 func_dirname_and_basename
()
13221 */*) func_dirname_result
="${1%/*}${2}" ;;
13222 * ) func_dirname_result
="${3}" ;;
13224 func_basename_result
="${1##*/}"
13227 # func_stripname prefix suffix name
13228 # strip PREFIX and SUFFIX off of NAME.
13229 # PREFIX and SUFFIX must not contain globbing or regex special
13230 # characters, hashes, percent signs, but SUFFIX may contain a leading
13231 # dot (in which case that matches only a dot).
13234 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13235 # positional parameters, so assign one to ordinary parameter first.
13236 func_stripname_result
=${3}
13237 func_stripname_result
=${func_stripname_result#"${1}"}
13238 func_stripname_result
=${func_stripname_result%"${2}"}
13244 func_opt_split_opt
=${1%%=*}
13245 func_opt_split_arg
=${1#*=}
13252 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13253 *) func_lo2o_result
=${1} ;;
13257 # func_xform libobj-or-source
13260 func_xform_result
=${1%.*}.lo
13263 # func_arith arithmetic-term...
13266 func_arith_result
=$
(( $
* ))
13270 # STRING may not start with a hyphen.
13273 func_len_result
=${#1}
13278 *) # Bourne compatible functions.
13279 cat << \_LT_EOF
>> "$cfgfile"
13281 # func_dirname file append nondir_replacement
13282 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13283 # otherwise set result to NONDIR_REPLACEMENT.
13286 # Extract subdirectory from the argument.
13287 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13288 if test "X$func_dirname_result" = "X${1}"; then
13289 func_dirname_result
="${3}"
13291 func_dirname_result
="$func_dirname_result${2}"
13295 # func_basename file
13298 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
13302 # func_stripname prefix suffix name
13303 # strip PREFIX and SUFFIX off of NAME.
13304 # PREFIX and SUFFIX must not contain globbing or regex special
13305 # characters, hashes, percent signs, but SUFFIX may contain a leading
13306 # dot (in which case that matches only a dot).
13307 # func_strip_suffix prefix name
13311 .
*) func_stripname_result
=`$ECHO "X${3}" \
13312 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13313 *) func_stripname_result
=`$ECHO "X${3}" \
13314 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13319 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13320 my_sed_long_arg
='1s/^-[^=]*=//'
13325 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13326 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13332 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13335 # func_xform libobj-or-source
13338 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13341 # func_arith arithmetic-term...
13344 func_arith_result
=`expr "$@"`
13348 # STRING may not start with a hyphen.
13351 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13357 case $lt_shell_append in
13359 cat << \_LT_EOF
>> "$cfgfile"
13361 # func_append var value
13362 # Append VALUE to the end of shell variable VAR.
13370 cat << \_LT_EOF
>> "$cfgfile"
13372 # func_append var value
13373 # Append VALUE to the end of shell variable VAR.
13384 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13385 ||
(rm -f "$cfgfile"; exit 1)
13387 mv -f "$cfgfile" "$ofile" ||
13388 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13396 cat >>$CONFIG_STATUS <<\_ACEOF
13398 { (exit 0); exit 0; }
13400 chmod +x
$CONFIG_STATUS
13401 ac_clean_files
=$ac_clean_files_save
13404 # configure is writing to config.log, and then calls config.status.
13405 # config.status does its own redirection, appending to config.log.
13406 # Unfortunately, on DOS this fails, as config.log is still kept open
13407 # by configure, so config.status won't be able to write to it; its
13408 # output is simply discarded. So we exec the FD to /dev/null,
13409 # effectively closing config.log, so it can be properly (re)opened and
13410 # appended to by config.status. When coming back to configure, we
13411 # need to make the FD available again.
13412 if test "$no_create" != yes; then
13414 ac_config_status_args
=
13415 test "$silent" = yes &&
13416 ac_config_status_args
="$ac_config_status_args --quiet"
13418 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13420 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13421 # would make configure fail if this is the last instruction.
13422 $ac_cs_success ||
{ (exit 1); exit 1; }