2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file
="zlib.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 multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os mkinstalldirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT COMPPATH CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CPPFLAGS target_all toolexecdir toolexeclibdir TARGET_LIBRARY_TRUE TARGET_LIBRARY_FALSE 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 this package 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 --program-prefix=PREFIX prepend PREFIX to installed program names
974 --program-suffix=SUFFIX append SUFFIX to installed program names
975 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
978 --build=BUILD configure
for building on BUILD
[guessed
]
979 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
980 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
984 if test -n "$ac_init_help"; then
989 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
990 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
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 --disable-dependency-tracking speeds up one-time build
995 --enable-dependency-tracking do not reject slow dependency extractors
996 --enable-shared[=PKGS
]
997 build shared libraries
[default
=yes]
998 --enable-static[=PKGS
]
999 build static libraries
[default
=yes]
1000 --enable-fast-install[=PKGS
]
1001 optimize
for fast installation
[default
=yes]
1002 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1005 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1006 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1007 --with-target-subdir=SUBDIR
1008 configuring
in a subdirectory
1009 --with-cross-host=HOST configuring with a cross compiler
1010 --with-system-zlib use installed libz
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
1123 Copyright (C) 2003 Free Software Foundation, Inc.
1124 This configure script is free software; the Free Software Foundation
1125 gives unlimited permission to copy, distribute and modify it.
1131 This file contains any messages produced by compilers while
1132 running configure, to aid debugging if configure makes a mistake.
1134 It was created by $as_me, which was
1135 generated by GNU Autoconf 2.59. Invocation command line was
1146 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1147 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1148 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1149 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1150 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1152 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1153 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1155 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1156 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1157 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1158 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1159 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1160 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1161 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1169 test -z "$as_dir" && as_dir=.
1170 echo "PATH: $as_dir"
1185 # Keep a trace of the command line.
1186 # Strip out --no-create and --no-recursion so they do not pile up.
1187 # Strip out --silent because we don't want to record it for future runs.
1188 # Also quote any args containing shell meta-characters.
1189 # Make two passes to allow for proper duplicate-argument suppression.
1194 ac_must_keep_next=false
1200 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1202 | -silent | --silent | --silen | --sile | --sil)
1204 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1205 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1208 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1210 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1211 if test $ac_must_keep_next = true; then
1212 ac_must_keep_next=false # Got value, back to normal.
1215 *=* | --config-cache | -C | -disable-* | --disable-* \
1216 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1217 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1218 | -with-* | --with-* | -without-* | --without-* | --x)
1219 case "$ac_configure_args0 " in
1220 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1223 -* ) ac_must_keep_next=true ;;
1226 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1227 # Get rid of the leading space.
1233 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1234 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1236 # When interrupted or exit'd, cleanup temporary files, and complete
1237 # config.log. We remove comments because anyway the quotes in there
1238 # would cause problems or look ugly.
1239 # WARNING: Be sure not to use single quotes in there, as some shells,
1240 # such as our DU 5.0 friend, will then `close
' the trap.
1241 trap 'exit_status
=$?
1242 # Save into config.log some information that might help in debugging.
1247 ## ---------------- ##
1248 ## Cache variables. ##
1249 ## ---------------- ##
1252 # The following way of writing the cache mishandles newlines in values,
1255 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1258 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1263 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1270 ## ----------------- ##
1271 ## Output variables. ##
1272 ## ----------------- ##
1275 for ac_var
in $ac_subst_vars
1277 eval ac_val
=$
`echo $ac_var`
1278 echo "$ac_var='"'"'$ac_val'"'"'"
1282 if test -n "$ac_subst_files"; then
1289 for ac_var
in $ac_subst_files
1291 eval ac_val
=$
`echo $ac_var`
1292 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -s confdefs.h
; then
1304 sed "/^$/d" confdefs.h |
sort
1307 test "$ac_signal" != 0 &&
1308 echo "$as_me: caught signal $ac_signal"
1309 echo "$as_me: exit $exit_status"
1311 rm -f core
*.core
&&
1312 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1315 for ac_signal in 1 2 13 15; do
1316 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1320 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1321 rm -rf conftest* confdefs.h
1322 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1325 # Predefined preprocessor variables.
1327 cat >>confdefs.h <<_ACEOF
1328 #define PACKAGE_NAME "$PACKAGE_NAME"
1332 cat >>confdefs.h <<_ACEOF
1333 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1337 cat >>confdefs.h <<_ACEOF
1338 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_STRING "$PACKAGE_STRING"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1352 # Let the site file select an alternate cache file if it wants to.
1353 # Prefer explicitly selected file to automatically selected ones.
1354 if test -z "$CONFIG_SITE"; then
1355 if test "x$prefix" != xNONE; then
1356 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1358 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1361 for ac_site_file in $CONFIG_SITE; do
1362 if test -r "$ac_site_file"; then
1363 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1364 echo "$as_me: loading site script $ac_site_file" >&6;}
1365 sed 's
/^
/|
/' "$ac_site_file" >&5
1370 if test -r "$cache_file"; then
1371 # Some versions of bash will fail to source /dev/null (special
1372 # files actually), so we avoid doing that.
1373 if test -f "$cache_file"; then
1374 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1375 echo "$as_me: loading cache $cache_file" >&6;}
1377 [\\/]* | ?:[\\/]* ) . $cache_file;;
1378 *) . ./$cache_file;;
1382 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1383 echo "$as_me: creating cache $cache_file" >&6;}
1387 # Check that the precious variables saved in the cache have kept the same
1389 ac_cache_corrupted=false
1390 for ac_var in `(set) 2>&1 |
1391 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1392 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1393 eval ac_new_set=\$ac_env_${ac_var}_set
1394 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1395 eval ac_new_val="\$ac_env_${ac_var}_value"
1396 case $ac_old_set,$ac_new_set in
1398 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1399 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1400 ac_cache_corrupted=: ;;
1402 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1403 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1404 ac_cache_corrupted=: ;;
1407 if test "x$ac_old_val" != "x$ac_new_val"; then
1408 # differences in whitespace do not lead to failure.
1409 ac_old_val_w=`echo x $ac_old_val`
1410 ac_new_val_w=`echo x $ac_new_val`
1411 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1412 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1413 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1414 ac_cache_corrupted=:
1416 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1417 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1418 eval $ac_var=\$ac_old_val
1420 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1421 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1422 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1423 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1426 # Pass precious variables to config.status.
1427 if test "$ac_new_set" = set; then
1429 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1430 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1431 *) ac_arg=$ac_var=$ac_new_val ;;
1433 case " $ac_configure_args " in
1434 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1435 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1439 if $ac_cache_corrupted; then
1440 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1441 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1442 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1443 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1444 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1445 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1446 { (exit 1); exit 1; }; }
1450 ac_cpp='$CPP $CPPFLAGS'
1451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1478 # Default to --enable-multilib
1479 # Check whether --enable-multilib or --disable-multilib was given.
1480 if test "${enable_multilib+set}" = set; then
1481 enableval="$enable_multilib"
1482 case "$enableval" in
1483 yes) multilib=yes ;;
1485 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1486 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1487 { (exit 1); exit 1; }; } ;;
1493 # We may get other options which we leave undocumented:
1494 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1495 # See config-ml.in if you want the gory details.
1497 if test "$srcdir" = "."; then
1498 if test "$with_target_subdir" != "."; then
1499 multi_basedir="$srcdir/$with_multisrctop../.."
1501 multi_basedir="$srcdir/$with_multisrctop.."
1504 multi_basedir="$srcdir/.."
1508 # Even if the default multilib is not a cross compilation,
1509 # it may be that some of the other multilibs are.
1510 if test $cross_compiling = no && test $multilib = yes \
1511 && test "x${with_multisubdir}" != x ; then
1512 cross_compiling=maybe
1515 ac_config_commands="$ac_config_commands default-1"
1519 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1520 if test -f $ac_dir/install-sh; then
1522 ac_install_sh="$ac_aux_dir/install-sh -c"
1524 elif test -f $ac_dir/install.sh; then
1526 ac_install_sh="$ac_aux_dir/install.sh -c"
1528 elif test -f $ac_dir/shtool; then
1530 ac_install_sh="$ac_aux_dir/shtool install -c"
1534 if test -z "$ac_aux_dir"; then
1535 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1536 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1537 { (exit 1); exit 1; }; }
1539 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1540 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1541 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1543 # Make sure we can run config.sub.
1544 $ac_config_sub sun4 >/dev/null 2>&1 ||
1545 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1546 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1547 { (exit 1); exit 1; }; }
1549 echo "$as_me:$LINENO: checking build system type" >&5
1550 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1551 if test "${ac_cv_build+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 ac_cv_build_alias=$build_alias
1555 test -z "$ac_cv_build_alias" &&
1556 ac_cv_build_alias=`$ac_config_guess`
1557 test -z "$ac_cv_build_alias" &&
1558 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1559 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1560 { (exit 1); exit 1; }; }
1561 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1562 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1563 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1564 { (exit 1); exit 1; }; }
1567 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1568 echo "${ECHO_T}$ac_cv_build" >&6
1570 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1571 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1572 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1575 echo "$as_me:$LINENO: checking host system type" >&5
1576 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1577 if test "${ac_cv_host+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 ac_cv_host_alias=$host_alias
1581 test -z "$ac_cv_host_alias" &&
1582 ac_cv_host_alias=$ac_cv_build_alias
1583 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1589 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1590 echo "${ECHO_T}$ac_cv_host" >&6
1592 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1593 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1594 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1597 echo "$as_me:$LINENO: checking target system type" >&5
1598 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1599 if test "${ac_cv_target+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 ac_cv_target_alias=$target_alias
1603 test "x$ac_cv_target_alias" = "x" &&
1604 ac_cv_target_alias=$ac_cv_host_alias
1605 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1606 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1607 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1608 { (exit 1); exit 1; }; }
1611 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1612 echo "${ECHO_T}$ac_cv_target" >&6
1613 target=$ac_cv_target
1614 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1615 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1616 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1619 # The aliases save the names the user supplied, while $host etc.
1620 # will get canonicalized.
1621 test -n "$target_alias" &&
1622 test "$program_prefix$program_suffix$program_transform_name" = \
1624 program_prefix=${target_alias}-
1626 # This works around an automake problem.
1627 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1630 am__api_version="1.9"
1631 # Find a good install program. We prefer a C program (faster),
1632 # so one script is as good as another. But avoid the broken or
1633 # incompatible versions:
1634 # SysV /etc/install, /usr/sbin/install
1635 # SunOS /usr/etc/install
1636 # IRIX /sbin/install
1638 # AmigaOS /C/install, which installs bootblocks on floppy discs
1639 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1640 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1641 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1642 # OS/2's system install, which has a completely different semantic
1643 # ./install, which can be erroneously created by make from ./install.sh.
1644 # Reject install programs that cannot install multiple files.
1645 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1646 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1647 if test -z "$INSTALL"; then
1648 if test "${ac_cv_path_install+set}" = set; then
1649 echo $ECHO_N "(cached) $ECHO_C" >&6
1651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1655 test -z "$as_dir" && as_dir=.
1656 # Account for people who put trailing slashes in PATH elements.
1658 ./ | .// | /cC/* | \
1659 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1660 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1663 # OSF1 and SCO ODT 3.0 have their own names for install.
1664 # Don't use installbsd from OSF since it installs stuff as root
1666 for ac_prog in ginstall scoinst install; do
1667 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1669 if test $ac_prog = install &&
1670 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1671 # AIX install. It has an incompatible calling convention.
1673 elif test $ac_prog = install &&
1674 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1675 # program-specific install script used by HP pwplus--don't use.
1678 rm -rf conftest.one conftest.two conftest.dir
1679 echo one > conftest.one
1680 echo two > conftest.two
1682 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1683 test -s conftest.one && test -s conftest.two &&
1684 test -s conftest.dir/conftest.one &&
1685 test -s conftest.dir/conftest.two
1687 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1698 rm -rf conftest.one conftest.two conftest.dir
1701 if test "${ac_cv_path_install+set}" = set; then
1702 INSTALL=$ac_cv_path_install
1704 # As a last resort, use the slow shell script. Don't cache a
1705 # value for INSTALL within a source directory, because that will
1706 # break other packages using the cache if that directory is
1707 # removed, or if the value is a relative name.
1708 INSTALL=$ac_install_sh
1711 echo "$as_me:$LINENO: result: $INSTALL" >&5
1712 echo "${ECHO_T}$INSTALL" >&6
1714 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1715 # It thinks the first close brace ends the variable substitution.
1716 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1718 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1720 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1722 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1723 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1726 echo timestamp > conftest.file
1727 # Do `set' in a subshell so we don't clobber the current shell
's
1728 # arguments. Must try -L first in case configure is actually a
1729 # symlink; some systems play weird games with the mod time of symlinks
1730 # (eg FreeBSD returns the mod time of the symlink's containing
1733 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1734 if test "$*" = "X"; then
1736 set X
`ls -t $srcdir/configure conftest.file`
1739 if test "$*" != "X $srcdir/configure conftest.file" \
1740 && test "$*" != "X conftest.file $srcdir/configure"; then
1742 # If neither matched, then we have a broken ls. This can happen
1743 # if, for instance, CONFIG_SHELL is bash and it inherits a
1744 # broken ls alias from the environment. This has actually
1745 # happened. Such a system could not be considered "sane".
1746 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1747 alias in your environment" >&5
1748 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1749 alias in your environment" >&2;}
1750 { (exit 1); exit 1; }; }
1753 test "$2" = conftest.
file
1759 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1760 Check your system clock" >&5
1761 echo "$as_me: error: newly created file is older than distributed files!
1762 Check your system clock" >&2;}
1763 { (exit 1); exit 1; }; }
1765 echo "$as_me:$LINENO: result: yes" >&5
1766 echo "${ECHO_T}yes" >&6
1767 test "$program_prefix" != NONE
&&
1768 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1769 # Use a double $ so make ignores it.
1770 test "$program_suffix" != NONE
&&
1771 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1772 # Double any \ or $. echo might interpret backslashes.
1773 # By default was `s,x,x', remove it if useless.
1774 cat <<\_ACEOF
>conftest.
sed
1775 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1777 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1780 # expand $ac_aux_dir to an absolute path
1781 am_aux_dir
=`cd $ac_aux_dir && pwd`
1783 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1784 # Use eval to expand $SHELL
1785 if eval "$MISSING --run true"; then
1786 am_missing_run
="$MISSING --run "
1789 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1790 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1793 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1794 # We used to keeping the `.' as first argument, in order to
1795 # allow $(mkdir_p) to be used without argument. As in
1796 # $(mkdir_p) $(somedir)
1797 # where $(somedir) is conditionally defined. However this is wrong
1799 # 1. if the package is installed by a user who cannot write `.'
1800 # make install will fail,
1801 # 2. the above comment should most certainly read
1802 # $(mkdir_p) $(DESTDIR)$(somedir)
1803 # so it does not work when $(somedir) is undefined and
1804 # $(DESTDIR) is not.
1805 # To support the latter case, we have to write
1806 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1807 # so the `.' trick is pointless.
1808 mkdir_p
='mkdir -p --'
1810 # On NextStep and OpenStep, the `mkdir' command does not
1811 # recognize any option. It will interpret all options as
1812 # directories to create, and then abort because `.' already
1814 for d
in .
/-p .
/--version;
1816 test -d $d && rmdir $d
1818 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1819 if test -f "$ac_aux_dir/mkinstalldirs"; then
1820 mkdir_p
='$(mkinstalldirs)'
1822 mkdir_p
='$(install_sh) -d'
1826 for ac_prog
in gawk mawk nawk
awk
1828 # Extract the first word of "$ac_prog", so it can be a program name with args.
1829 set dummy
$ac_prog; ac_word
=$2
1830 echo "$as_me:$LINENO: checking for $ac_word" >&5
1831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1832 if test "${ac_cv_prog_AWK+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 if test -n "$AWK"; then
1836 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1842 test -z "$as_dir" && as_dir
=.
1843 for ac_exec_ext
in '' $ac_executable_extensions; do
1844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1845 ac_cv_prog_AWK
="$ac_prog"
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1855 if test -n "$AWK"; then
1856 echo "$as_me:$LINENO: result: $AWK" >&5
1857 echo "${ECHO_T}$AWK" >&6
1859 echo "$as_me:$LINENO: result: no" >&5
1860 echo "${ECHO_T}no" >&6
1863 test -n "$AWK" && break
1866 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1867 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1868 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1869 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1870 echo $ECHO_N "(cached) $ECHO_C" >&6
1872 cat >conftest.
make <<\_ACEOF
1874 @
echo 'ac_maketemp="$(MAKE)"'
1876 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1877 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1878 if test -n "$ac_maketemp"; then
1879 eval ac_cv_prog_make_
${ac_make}_set
=yes
1881 eval ac_cv_prog_make_
${ac_make}_set
=no
1885 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1886 echo "$as_me:$LINENO: result: yes" >&5
1887 echo "${ECHO_T}yes" >&6
1890 echo "$as_me:$LINENO: result: no" >&5
1891 echo "${ECHO_T}no" >&6
1892 SET_MAKE
="MAKE=${MAKE-make}"
1895 rm -rf .tst
2>/dev
/null
1896 mkdir .tst
2>/dev
/null
1897 if test -d .tst
; then
1902 rmdir .tst
2>/dev
/null
1904 # test to see if srcdir already configured
1905 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1906 test -f $srcdir/config.status
; then
1907 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1908 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1909 { (exit 1); exit 1; }; }
1912 # test whether we have cygpath
1913 if test -z "$CYGPATH_W"; then
1914 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1915 CYGPATH_W
='cygpath -w'
1922 # Define the identity of the package.
1927 cat >>confdefs.h
<<_ACEOF
1928 #define PACKAGE "$PACKAGE"
1932 cat >>confdefs.h
<<_ACEOF
1933 #define VERSION "$VERSION"
1936 # Some tools Automake needs.
1938 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1941 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1944 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1947 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1950 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1952 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1954 # Installed binaries are usually stripped using `strip' when the user
1955 # run `make install-strip'. However `strip' might not be the right
1956 # tool to use in cross-compilation environments, therefore Automake
1957 # will honor the `STRIP' environment variable to overrule this program.
1958 if test "$cross_compiling" != no
; then
1959 if test -n "$ac_tool_prefix"; then
1960 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1961 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1962 echo "$as_me:$LINENO: checking for $ac_word" >&5
1963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1964 if test "${ac_cv_prog_STRIP+set}" = set; then
1965 echo $ECHO_N "(cached) $ECHO_C" >&6
1967 if test -n "$STRIP"; then
1968 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir
=.
1975 for ac_exec_ext
in '' $ac_executable_extensions; do
1976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1977 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1986 STRIP
=$ac_cv_prog_STRIP
1987 if test -n "$STRIP"; then
1988 echo "$as_me:$LINENO: result: $STRIP" >&5
1989 echo "${ECHO_T}$STRIP" >&6
1991 echo "$as_me:$LINENO: result: no" >&5
1992 echo "${ECHO_T}no" >&6
1996 if test -z "$ac_cv_prog_STRIP"; then
1998 # Extract the first word of "strip", so it can be a program name with args.
1999 set dummy strip
; ac_word
=$2
2000 echo "$as_me:$LINENO: checking for $ac_word" >&5
2001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2002 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 if test -n "$ac_ct_STRIP"; then
2006 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir
=.
2013 for ac_exec_ext
in '' $ac_executable_extensions; do
2014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015 ac_cv_prog_ac_ct_STRIP
="strip"
2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2025 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2026 if test -n "$ac_ct_STRIP"; then
2027 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2028 echo "${ECHO_T}$ac_ct_STRIP" >&6
2030 echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6
2036 STRIP
="$ac_cv_prog_STRIP"
2040 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2042 # We need awk for the "check" target. The system "awk" is bad on
2044 # Always define AMTAR for backward compatibility.
2046 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2048 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2055 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2056 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2057 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2058 if test "${enable_maintainer_mode+set}" = set; then
2059 enableval
="$enable_maintainer_mode"
2060 USE_MAINTAINER_MODE
=$enableval
2062 USE_MAINTAINER_MODE
=no
2064 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2065 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2068 if test $USE_MAINTAINER_MODE = yes; then
2069 MAINTAINER_MODE_TRUE
=
2070 MAINTAINER_MODE_FALSE
='#'
2072 MAINTAINER_MODE_TRUE
='#'
2073 MAINTAINER_MODE_FALSE
=
2076 MAINT
=$MAINTAINER_MODE_TRUE
2081 # Check whether --with-target-subdir or --without-target-subdir was given.
2082 if test "${with_target_subdir+set}" = set; then
2083 withval
="$with_target_subdir"
2087 if test -z "$with_target_subdir" ||
test "$with_target_subdir" = "."; then
2095 # Check whether --with-cross-host or --without-cross-host was given.
2096 if test "${with_cross_host+set}" = set; then
2097 withval
="$with_cross_host"
2101 # Check whether --enable-multilib or --disable-multilib was given.
2102 if test "${enable_multilib+set}" = set; then
2103 enableval
="$enable_multilib"
2104 case "${enableval}" in
2105 yes) multilib
=yes ;;
2107 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
2108 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
2109 { (exit 1); exit 1; }; } ;;
2112 test -z "$with_target_subdir" && multilib
=no || multilib
=yes
2115 # Check whether --with-system-zlib or --without-system-zlib was given.
2116 if test "${with_system_zlib+set}" = set; then
2117 withval
="$with_system_zlib"
2121 # Make sure we don't test executables when making cross-tools.
2124 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2125 # We must force CC to /not/ be precious variables; otherwise
2126 # the wrong, non-multilib-adjusted value will be used in multilibs.
2127 # As a side effect, we have to subst CFLAGS ourselves.
2132 ac_cpp
='$CPP $CPPFLAGS'
2133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2136 if test -n "$ac_tool_prefix"; then
2137 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2138 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2139 echo "$as_me:$LINENO: checking for $ac_word" >&5
2140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2141 if test "${ac_cv_prog_CC+set}" = set; then
2142 echo $ECHO_N "(cached) $ECHO_C" >&6
2144 if test -n "$CC"; then
2145 ac_cv_prog_CC
="$CC" # Let the user override the test.
2147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2151 test -z "$as_dir" && as_dir
=.
2152 for ac_exec_ext
in '' $ac_executable_extensions; do
2153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2154 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2164 if test -n "$CC"; then
2165 echo "$as_me:$LINENO: result: $CC" >&5
2166 echo "${ECHO_T}$CC" >&6
2168 echo "$as_me:$LINENO: result: no" >&5
2169 echo "${ECHO_T}no" >&6
2173 if test -z "$ac_cv_prog_CC"; then
2175 # Extract the first word of "gcc", so it can be a program name with args.
2176 set dummy gcc
; ac_word
=$2
2177 echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 if test -n "$ac_ct_CC"; then
2183 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2189 test -z "$as_dir" && as_dir
=.
2190 for ac_exec_ext
in '' $ac_executable_extensions; do
2191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2192 ac_cv_prog_ac_ct_CC
="gcc"
2193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2202 if test -n "$ac_ct_CC"; then
2203 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2204 echo "${ECHO_T}$ac_ct_CC" >&6
2206 echo "$as_me:$LINENO: result: no" >&5
2207 echo "${ECHO_T}no" >&6
2215 if test -z "$CC"; then
2216 if test -n "$ac_tool_prefix"; then
2217 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2218 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2219 echo "$as_me:$LINENO: checking for $ac_word" >&5
2220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2221 if test "${ac_cv_prog_CC+set}" = set; then
2222 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 if test -n "$CC"; then
2225 ac_cv_prog_CC
="$CC" # Let the user override the test.
2227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2231 test -z "$as_dir" && as_dir
=.
2232 for ac_exec_ext
in '' $ac_executable_extensions; do
2233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2234 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 if test -n "$CC"; then
2245 echo "$as_me:$LINENO: result: $CC" >&5
2246 echo "${ECHO_T}$CC" >&6
2248 echo "$as_me:$LINENO: result: no" >&5
2249 echo "${ECHO_T}no" >&6
2253 if test -z "$ac_cv_prog_CC"; then
2255 # Extract the first word of "cc", so it can be a program name with args.
2256 set dummy cc
; ac_word
=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 if test -n "$ac_ct_CC"; then
2263 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir
=.
2270 for ac_exec_ext
in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_ac_ct_CC
="cc"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2282 if test -n "$ac_ct_CC"; then
2283 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2284 echo "${ECHO_T}$ac_ct_CC" >&6
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2296 if test -z "$CC"; then
2297 # Extract the first word of "cc", so it can be a program name with args.
2298 set dummy cc
; ac_word
=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_CC+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 if test -n "$CC"; then
2305 ac_cv_prog_CC
="$CC" # Let the user override the test.
2308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir
=.
2313 for ac_exec_ext
in '' $ac_executable_extensions; do
2314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2315 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2316 ac_prog_rejected
=yes
2320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 if test $ac_prog_rejected = yes; then
2327 # We found a bogon in the path, so make sure we never use it.
2328 set dummy
$ac_cv_prog_CC
2330 if test $# != 0; then
2331 # We chose a different compiler from the bogus one.
2332 # However, it has the same basename, so the bogon will be chosen
2333 # first if we set CC to just the basename; use the full file name.
2335 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2341 if test -n "$CC"; then
2342 echo "$as_me:$LINENO: result: $CC" >&5
2343 echo "${ECHO_T}$CC" >&6
2345 echo "$as_me:$LINENO: result: no" >&5
2346 echo "${ECHO_T}no" >&6
2350 if test -z "$CC"; then
2351 if test -n "$ac_tool_prefix"; then
2354 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2355 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2356 echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2358 if test "${ac_cv_prog_CC+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 if test -n "$CC"; then
2362 ac_cv_prog_CC
="$CC" # Let the user override the test.
2364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir
=.
2369 for ac_exec_ext
in '' $ac_executable_extensions; do
2370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2371 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 if test -n "$CC"; then
2382 echo "$as_me:$LINENO: result: $CC" >&5
2383 echo "${ECHO_T}$CC" >&6
2385 echo "$as_me:$LINENO: result: no" >&5
2386 echo "${ECHO_T}no" >&6
2389 test -n "$CC" && break
2392 if test -z "$CC"; then
2396 # Extract the first word of "$ac_prog", so it can be a program name with args.
2397 set dummy
$ac_prog; ac_word
=$2
2398 echo "$as_me:$LINENO: checking for $ac_word" >&5
2399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2400 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2401 echo $ECHO_N "(cached) $ECHO_C" >&6
2403 if test -n "$ac_ct_CC"; then
2404 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2410 test -z "$as_dir" && as_dir
=.
2411 for ac_exec_ext
in '' $ac_executable_extensions; do
2412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2413 ac_cv_prog_ac_ct_CC
="$ac_prog"
2414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2423 if test -n "$ac_ct_CC"; then
2424 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2425 echo "${ECHO_T}$ac_ct_CC" >&6
2427 echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6
2431 test -n "$ac_ct_CC" && break
2440 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2441 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2443 See \`config.log' for more details." >&5
2444 echo "$as_me: error: no acceptable C compiler found in \$PATH
2445 See \`config.log' for more details." >&2;}
2446 { (exit 1); exit 1; }; }; }
2448 # Provide some information about the compiler.
2449 echo "$as_me:$LINENO:" \
2450 "checking for C compiler version" >&5
2451 ac_compiler
=`set X $ac_compile; echo $2`
2452 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2453 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }
2457 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2458 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }
2462 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2463 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }
2468 cat >conftest.
$ac_ext <<_ACEOF
2471 cat confdefs.h
>>conftest.
$ac_ext
2472 cat >>conftest.
$ac_ext <<_ACEOF
2473 /* end confdefs.h. */
2484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2485 (eval $ac_link) 2>&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; then
2494 if test x
$gcc_no_link = xyes
; then
2495 # Setting cross_compile will disable run tests; it will
2496 # also disable AC_CHECK_FILE but that's generally
2497 # correct if we can't link.
2501 cat >conftest.
$ac_ext <<_ACEOF
2504 cat confdefs.h
>>conftest.
$ac_ext
2505 cat >>conftest.
$ac_ext <<_ACEOF
2506 /* end confdefs.h. */
2516 ac_clean_files_save
=$ac_clean_files
2517 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2518 # Try to create an executable without -o first, disregard a.out.
2519 # It will help us diagnose broken compilers, and finding out an intuition
2521 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2522 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2523 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2524 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2525 (eval $ac_link_default) 2>&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; then
2529 # Find the output, starting from the most likely. This scheme is
2530 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2533 # Be careful to initialize this variable, since it used to be cached.
2534 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2536 # b.out is created by i960 compilers.
2537 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2539 test -f "$ac_file" ||
continue
2541 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2544 # This is the source file.
2547 # We found the default executable, but exeext='' is most
2551 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552 # FIXME: I believe we export ac_cv_exeext for Libtool,
2553 # but it would be cool to find out if it's true. Does anybody
2554 # maintain Libtool? --akim.
2562 echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.
$ac_ext >&5
2565 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2566 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2567 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2568 See \`config.log' for more details." >&5
2569 echo "$as_me: error: C compiler cannot create executables
2570 See \`config.log' for more details." >&2;}
2571 { (exit 77); exit 77; }; }; }
2574 ac_exeext
=$ac_cv_exeext
2575 echo "$as_me:$LINENO: result: $ac_file" >&5
2576 echo "${ECHO_T}$ac_file" >&6
2578 # Check the compiler produces executables we can run. If not, either
2579 # the compiler is broken, or we cross compile.
2580 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2581 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2582 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2583 # If not cross compiling, check that we can run a simple program.
2584 if test "$cross_compiling" != yes; then
2585 if { ac_try
='./$ac_file'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2593 if test "$cross_compiling" = maybe
; then
2596 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2597 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2598 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2599 If you meant to cross compile, use \`--host'.
2600 See \`config.log' for more details." >&5
2601 echo "$as_me: error: cannot run C compiled programs.
2602 If you meant to cross compile, use \`--host'.
2603 See \`config.log' for more details." >&2;}
2604 { (exit 1); exit 1; }; }; }
2608 echo "$as_me:$LINENO: result: yes" >&5
2609 echo "${ECHO_T}yes" >&6
2611 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2612 ac_clean_files
=$ac_clean_files_save
2613 # Check the compiler produces executables we can run. If not, either
2614 # the compiler is broken, or we cross compile.
2615 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2616 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2617 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2618 echo "${ECHO_T}$cross_compiling" >&6
2620 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2621 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2623 (eval $ac_link) 2>&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; then
2627 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2628 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2629 # work properly (i.e., refer to `conftest.exe'), while it won't with
2631 for ac_file
in conftest.exe conftest conftest.
*; do
2632 test -f "$ac_file" ||
continue
2634 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2635 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2642 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2643 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2644 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2645 See \`config.log' for more details." >&5
2646 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2647 See \`config.log' for more details." >&2;}
2648 { (exit 1); exit 1; }; }; }
2651 rm -f conftest
$ac_cv_exeext
2652 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2653 echo "${ECHO_T}$ac_cv_exeext" >&6
2655 rm -f conftest.
$ac_ext
2656 EXEEXT
=$ac_cv_exeext
2659 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2660 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2661 if test "${ac_cv_objext+set}" = set; then
2662 echo $ECHO_N "(cached) $ECHO_C" >&6
2664 cat >conftest.
$ac_ext <<_ACEOF
2667 cat confdefs.h
>>conftest.
$ac_ext
2668 cat >>conftest.
$ac_ext <<_ACEOF
2669 /* end confdefs.h. */
2679 rm -f conftest.o conftest.obj
2680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2681 (eval $ac_compile) 2>&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }; then
2685 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2687 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2688 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2693 echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.
$ac_ext >&5
2696 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2697 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2698 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2699 See \`config.log' for more details." >&5
2700 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2701 See \`config.log' for more details." >&2;}
2702 { (exit 1); exit 1; }; }; }
2705 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2707 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2708 echo "${ECHO_T}$ac_cv_objext" >&6
2709 OBJEXT
=$ac_cv_objext
2711 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2712 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2713 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2714 echo $ECHO_N "(cached) $ECHO_C" >&6
2716 cat >conftest.
$ac_ext <<_ACEOF
2719 cat confdefs.h
>>conftest.
$ac_ext
2720 cat >>conftest.
$ac_ext <<_ACEOF
2721 /* end confdefs.h. */
2734 rm -f conftest.
$ac_objext
2735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2736 (eval $ac_compile) 2>conftest.er1
2738 grep -v '^ *+' conftest.er1
>conftest.err
2740 cat conftest.err
>&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } &&
2743 { ac_try
='test -z "$ac_c_werror_flag"
2744 || test ! -s conftest.err'
2745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; } &&
2750 { ac_try
='test -s conftest.$ac_objext'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; }; then
2758 echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.
$ac_ext >&5
2763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2764 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2767 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2768 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2769 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2770 ac_test_CFLAGS
=${CFLAGS+set}
2771 ac_save_CFLAGS
=$CFLAGS
2773 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2774 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2775 if test "${ac_cv_prog_cc_g+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2778 cat >conftest.
$ac_ext <<_ACEOF
2781 cat confdefs.h
>>conftest.
$ac_ext
2782 cat >>conftest.
$ac_ext <<_ACEOF
2783 /* end confdefs.h. */
2793 rm -f conftest.
$ac_objext
2794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2795 (eval $ac_compile) 2>conftest.er1
2797 grep -v '^ *+' conftest.er1
>conftest.err
2799 cat conftest.err
>&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } &&
2802 { ac_try
='test -z "$ac_c_werror_flag"
2803 || test ! -s conftest.err'
2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }; } &&
2809 { ac_try
='test -s conftest.$ac_objext'
2810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; }; then
2817 echo "$as_me: failed program was:" >&5
2818 sed 's/^/| /' conftest.
$ac_ext >&5
2822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2824 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2825 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2826 if test "$ac_test_CFLAGS" = set; then
2827 CFLAGS
=$ac_save_CFLAGS
2828 elif test $ac_cv_prog_cc_g = yes; then
2829 if test "$GCC" = yes; then
2835 if test "$GCC" = yes; then
2841 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2842 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2843 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 ac_cv_prog_cc_stdc
=no
2848 cat >conftest.
$ac_ext <<_ACEOF
2851 cat confdefs.h
>>conftest.
$ac_ext
2852 cat >>conftest.
$ac_ext <<_ACEOF
2853 /* end confdefs.h. */
2856 #include <sys/types.h>
2857 #include <sys/stat.h>
2858 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2859 struct buf { int x; };
2860 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2861 static char *e (p, i)
2867 static char *f (char * (*g) (char **, int), char **p, ...)
2872 s = g (p, va_arg (v,int));
2877 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2878 function prototypes and stuff, but not '\xHH' hex character constants.
2879 These don't provoke an error unfortunately, instead are silently treated
2880 as 'x'. The following induces an error, until -std1 is added to get
2881 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2882 array size at least. It's necessary to write '\x00'==0 to get something
2883 that's true only with -std1. */
2884 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2886 int test (int i, double x);
2887 struct s1 {int (*f) (int a);};
2888 struct s2 {int (*f) (double a);};
2889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2900 # Don't try gcc -ansi; that turns off useful extensions and
2901 # breaks some systems' header files.
2902 # AIX -qlanglvl=ansi
2903 # Ultrix and OSF/1 -std1
2904 # HP-UX 10.20 and later -Ae
2905 # HP-UX older versions -Aa -D_HPUX_SOURCE
2906 # SVR4 -Xc -D__EXTENSIONS__
2907 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2909 CC
="$ac_save_CC $ac_arg"
2910 rm -f conftest.
$ac_objext
2911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2912 (eval $ac_compile) 2>conftest.er1
2914 grep -v '^ *+' conftest.er1
>conftest.err
2916 cat conftest.err
>&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } &&
2919 { ac_try
='test -z "$ac_c_werror_flag"
2920 || test ! -s conftest.err'
2921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); }; } &&
2926 { ac_try
='test -s conftest.$ac_objext'
2927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); }; }; then
2932 ac_cv_prog_cc_stdc
=$ac_arg
2935 echo "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.
$ac_ext >&5
2939 rm -f conftest.err conftest.
$ac_objext
2941 rm -f conftest.
$ac_ext conftest.
$ac_objext
2946 case "x$ac_cv_prog_cc_stdc" in
2948 echo "$as_me:$LINENO: result: none needed" >&5
2949 echo "${ECHO_T}none needed" >&6 ;;
2951 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2952 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2953 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2956 # Some people use a C++ compiler to compile C. Since we use `exit',
2957 # in C++ we need to declare it. In case someone uses the same compiler
2958 # for both compiling C and C++ we need to have the C++ compiler decide
2959 # the declaration of exit, since it's the most demanding environment.
2960 cat >conftest.
$ac_ext <<_ACEOF
2965 rm -f conftest.
$ac_objext
2966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2967 (eval $ac_compile) 2>conftest.er1
2969 grep -v '^ *+' conftest.er1
>conftest.err
2971 cat conftest.err
>&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } &&
2974 { ac_try
='test -z "$ac_c_werror_flag"
2975 || test ! -s conftest.err'
2976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; } &&
2981 { ac_try
='test -s conftest.$ac_objext'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; }; then
2987 for ac_declaration
in \
2989 'extern "C" void std::exit (int) throw (); using std::exit;' \
2990 'extern "C" void std::exit (int); using std::exit;' \
2991 'extern "C" void exit (int) throw ();' \
2992 'extern "C" void exit (int);' \
2995 cat >conftest.
$ac_ext <<_ACEOF
2998 cat confdefs.h
>>conftest.
$ac_ext
2999 cat >>conftest.
$ac_ext <<_ACEOF
3000 /* end confdefs.h. */
3011 rm -f conftest.
$ac_objext
3012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3013 (eval $ac_compile) 2>conftest.er1
3015 grep -v '^ *+' conftest.er1
>conftest.err
3017 cat conftest.err
>&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); } &&
3020 { ac_try
='test -z "$ac_c_werror_flag"
3021 || test ! -s conftest.err'
3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; } &&
3027 { ac_try
='test -s conftest.$ac_objext'
3028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); }; }; then
3035 echo "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.
$ac_ext >&5
3040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3041 cat >conftest.
$ac_ext <<_ACEOF
3044 cat confdefs.h
>>conftest.
$ac_ext
3045 cat >>conftest.
$ac_ext <<_ACEOF
3046 /* end confdefs.h. */
3056 rm -f conftest.
$ac_objext
3057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3058 (eval $ac_compile) 2>conftest.er1
3060 grep -v '^ *+' conftest.er1
>conftest.err
3062 cat conftest.err
>&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } &&
3065 { ac_try
='test -z "$ac_c_werror_flag"
3066 || test ! -s conftest.err'
3067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; } &&
3072 { ac_try
='test -s conftest.$ac_objext'
3073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); }; }; then
3080 echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.
$ac_ext >&5
3084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3087 if test -n "$ac_declaration"; then
3088 echo '#ifdef __cplusplus' >>confdefs.h
3089 echo $ac_declaration >>confdefs.h
3090 echo '#endif' >>confdefs.h
3094 echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.
$ac_ext >&5
3098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3100 ac_cpp
='$CPP $CPPFLAGS'
3101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3104 DEPDIR
="${am__leading_dot}deps"
3106 ac_config_commands
="$ac_config_commands depfiles"
3109 am_make
=${MAKE-make}
3110 cat > confinc
<< 'END'
3115 # If we don't find an include directive, just comment out the code.
3116 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3117 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3121 # First try GNU make style include.
3122 echo "include confinc" > confmf
3123 # We grep out `Entering directory' and `Leaving directory'
3124 # messages which can occur if `w' ends up in MAKEFLAGS.
3125 # In particular we don't look at `^make:' because GNU make might
3126 # be invoked under some other name (usually "gmake"), in which
3127 # case it prints its new name instead of `make'.
3128 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3133 # Now try BSD make style include.
3134 if test "$am__include" = "#"; then
3135 echo '.include "confinc"' > confmf
3136 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3137 am__include
=.include
3144 echo "$as_me:$LINENO: result: $_am_result" >&5
3145 echo "${ECHO_T}$_am_result" >&6
3146 rm -f confinc confmf
3148 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3149 if test "${enable_dependency_tracking+set}" = set; then
3150 enableval
="$enable_dependency_tracking"
3153 if test "x$enable_dependency_tracking" != xno
; then
3154 am_depcomp
="$ac_aux_dir/depcomp"
3159 if test "x$enable_dependency_tracking" != xno; then
3170 depcc
="$CC" am_compiler_list
=
3172 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3173 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3174 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3175 echo $ECHO_N "(cached) $ECHO_C" >&6
3177 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3178 # We make a subdir and do the tests there. Otherwise we can end up
3179 # making bogus files that we don't know about and never remove. For
3180 # instance it was reported that on HP-UX the gcc test will end up
3181 # making a dummy file named `D' -- because `-MD' means `put the output
3184 # Copy depcomp to subdir because otherwise we won't find it if we're
3185 # using a relative directory.
3186 cp "$am_depcomp" conftest.dir
3188 # We will build objects and dependencies in a subdirectory because
3189 # it helps to detect inapplicable dependency modes. For instance
3190 # both Tru64's cc and ICC support -MD to output dependencies as a
3191 # side effect of compilation, but ICC will put the dependencies in
3192 # the current directory while Tru64 will put them in the object
3196 am_cv_CC_dependencies_compiler_type
=none
3197 if test "$am_compiler_list" = ""; then
3198 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3200 for depmode
in $am_compiler_list; do
3201 # Setup a source with many dependencies, because some compilers
3202 # like to wrap large dependency lists on column 80 (with \), and
3203 # we should not choose a depcomp mode which is confused by this.
3205 # We need to recreate these files for each test, as the compiler may
3206 # overwrite some of them when testing with obscure command lines.
3207 # This happens at least with the AIX C compiler.
3209 for i
in 1 2 3 4 5 6; do
3210 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3211 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3212 # Solaris 8's {/usr,}/bin/sh.
3213 touch sub
/conftst
$i.h
3215 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3219 # after this tag, mechanisms are not by side-effect, so they'll
3220 # only be used when explicitly requested
3221 if test "x$enable_dependency_tracking" = xyes
; then
3229 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3230 # mode. It turns out that the SunPro C++ compiler does not properly
3231 # handle `-M -o', and we need to detect this.
3232 if depmode
=$depmode \
3233 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3234 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3235 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3236 >/dev
/null
2>conftest.err
&&
3237 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3238 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3239 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3240 # icc doesn't choke on unknown options, it will just issue warnings
3241 # or remarks (even with -Werror). So we grep stderr for any message
3242 # that says an option was ignored or not supported.
3243 # When given -MP, icc 7.0 and 7.1 complain thusly:
3244 # icc: Command line warning: ignoring option '-M'; no argument required
3245 # The diagnosis changed in icc 8.0:
3246 # icc: Command line remark: option '-MP' not supported
3247 if (grep 'ignoring option' conftest.err ||
3248 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3249 am_cv_CC_dependencies_compiler_type
=$depmode
3258 am_cv_CC_dependencies_compiler_type
=none
3262 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3263 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3264 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3269 test "x$enable_dependency_tracking" != xno \
3270 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3272 am__fastdepCC_FALSE
='#'
3274 am__fastdepCC_TRUE
='#'
3275 am__fastdepCC_FALSE
=
3285 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3286 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3291 macro_version
='2.2.6'
3292 macro_revision
='1.3012'
3306 ltmain
="$ac_aux_dir/ltmain.sh"
3308 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3309 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3310 if test "${lt_cv_path_SED+set}" = set; then
3311 echo $ECHO_N "(cached) $ECHO_C" >&6
3313 # Loop through the user's path and test for sed and gsed.
3314 # Then use that list of sed's as ones to test for truncation.
3315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3319 test -z "$as_dir" && as_dir
=.
3320 for lt_ac_prog
in sed gsed
; do
3321 for ac_exec_ext
in '' $ac_executable_extensions; do
3322 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3323 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3331 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3332 # along with /bin/sed that truncates output.
3333 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3334 test ! -f $lt_ac_sed && continue
3335 cat /dev
/null
> conftest.
in
3337 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3338 # Check for GNU sed and select it if it is found.
3339 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3340 lt_cv_path_SED
=$lt_ac_sed
3344 cat conftest.
in conftest.
in >conftest.tmp
3345 mv conftest.tmp conftest.
in
3346 cp conftest.
in conftest.
nl
3348 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3349 cmp -s conftest.out conftest.
nl ||
break
3350 # 10000 chars as input seems more than enough
3351 test $lt_ac_count -gt 10 && break
3352 lt_ac_count
=`expr $lt_ac_count + 1`
3353 if test $lt_ac_count -gt $lt_ac_max; then
3354 lt_ac_max
=$lt_ac_count
3355 lt_cv_path_SED
=$lt_ac_sed
3364 echo "$as_me:$LINENO: result: $SED" >&5
3365 echo "${ECHO_T}$SED" >&6
3367 test -z "$SED" && SED
=sed
3368 Xsed
="$SED -e 1s/^X//"
3380 echo "$as_me:$LINENO: checking for egrep" >&5
3381 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3382 if test "${ac_cv_prog_egrep+set}" = set; then
3383 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3386 then ac_cv_prog_egrep
='grep -E'
3387 else ac_cv_prog_egrep
='egrep'
3390 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3391 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3392 EGREP
=$ac_cv_prog_egrep
3395 echo "$as_me:$LINENO: checking for fgrep" >&5
3396 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3397 if test "${ac_cv_prog_fgrep+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
3401 then ac_cv_prog_fgrep
='grep -F'
3402 else ac_cv_prog_fgrep
='fgrep'
3405 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3406 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3407 FGREP
=$ac_cv_prog_fgrep
3410 test -z "$GREP" && GREP
=grep
3430 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3431 if test "${with_gnu_ld+set}" = set; then
3432 withval
="$with_gnu_ld"
3433 test "$withval" = no || with_gnu_ld
=yes
3438 if test "$GCC" = yes; then
3439 # Check if gcc -print-prog-name=ld gives a path.
3440 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3441 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3444 # gcc leaves a trailing carriage return which upsets mingw
3445 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3447 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3450 # Accept absolute paths.
3452 re_direlt
='/[^/][^/]*/\.\./'
3453 # Canonicalize the pathname of ld
3454 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3455 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
3456 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3458 test -z "$LD" && LD
="$ac_prog"
3461 # If it fails, then pretend we aren't using GCC.
3465 # If it is relative, then search for the first ld in PATH.
3469 elif test "$with_gnu_ld" = yes; then
3470 echo "$as_me:$LINENO: checking for GNU ld" >&5
3471 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3473 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3474 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3476 if test "${lt_cv_path_LD+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3479 if test -z "$LD"; then
3480 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3481 for ac_dir
in $PATH; do
3483 test -z "$ac_dir" && ac_dir
=.
3484 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3485 lt_cv_path_LD
="$ac_dir/$ac_prog"
3486 # Check to see if the program is GNU ld. I'd rather use --version,
3487 # but apparently some variants of GNU ld only accept -v.
3488 # Break only if it was the GNU/non-GNU ld that we prefer.
3489 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3490 *GNU
* |
*'with BFD'*)
3491 test "$with_gnu_ld" != no
&& break
3494 test "$with_gnu_ld" != yes && break
3501 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3506 if test -n "$LD"; then
3507 echo "$as_me:$LINENO: result: $LD" >&5
3508 echo "${ECHO_T}$LD" >&6
3510 echo "$as_me:$LINENO: result: no" >&5
3511 echo "${ECHO_T}no" >&6
3513 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3514 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3515 { (exit 1); exit 1; }; }
3516 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3517 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3518 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3519 echo $ECHO_N "(cached) $ECHO_C" >&6
3521 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3522 case `$LD -v 2>&1 </dev/null` in
3523 *GNU
* |
*'with BFD'*)
3524 lt_cv_prog_gnu_ld
=yes
3527 lt_cv_prog_gnu_ld
=no
3531 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3532 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3533 with_gnu_ld
=$lt_cv_prog_gnu_ld
3543 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3544 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
3545 if test "${lt_cv_path_NM+set}" = set; then
3546 echo $ECHO_N "(cached) $ECHO_C" >&6
3548 if test -n "$NM"; then
3549 # Let the user override the test.
3552 lt_nm_to_check
="${ac_tool_prefix}nm"
3553 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3554 lt_nm_to_check
="$lt_nm_to_check nm"
3556 for lt_tmp_nm
in $lt_nm_to_check; do
3557 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3558 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
3560 test -z "$ac_dir" && ac_dir
=.
3561 tmp_nm
="$ac_dir/$lt_tmp_nm"
3562 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3563 # Check to see if the nm accepts a BSD-compat flag.
3564 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3565 # nm: unknown option "B" ignored
3566 # Tru64's nm complains that /dev/null is an invalid object file
3567 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3568 */dev
/null
* |
*'Invalid file or object type'*)
3569 lt_cv_path_NM
="$tmp_nm -B"
3573 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3575 lt_cv_path_NM
="$tmp_nm -p"
3579 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3580 continue # so that we can try to find one that supports BSD flags
3589 : ${lt_cv_path_NM=no}
3592 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3593 echo "${ECHO_T}$lt_cv_path_NM" >&6
3594 if test "$lt_cv_path_NM" != "no"; then
3597 # Didn't find any BSD compatible name lister, look for dumpbin.
3598 if test -n "$ac_tool_prefix"; then
3599 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3602 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3603 echo "$as_me:$LINENO: checking for $ac_word" >&5
3604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3605 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3608 if test -n "$DUMPBIN"; then
3609 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_exec_ext
in '' $ac_executable_extensions; do
3617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 DUMPBIN
=$ac_cv_prog_DUMPBIN
3628 if test -n "$DUMPBIN"; then
3629 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3630 echo "${ECHO_T}$DUMPBIN" >&6
3632 echo "$as_me:$LINENO: result: no" >&5
3633 echo "${ECHO_T}no" >&6
3636 test -n "$DUMPBIN" && break
3639 if test -z "$DUMPBIN"; then
3640 ac_ct_DUMPBIN
=$DUMPBIN
3641 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3643 # Extract the first word of "$ac_prog", so it can be a program name with args.
3644 set dummy
$ac_prog; ac_word
=$2
3645 echo "$as_me:$LINENO: checking for $ac_word" >&5
3646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3647 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 if test -n "$ac_ct_DUMPBIN"; then
3651 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3657 test -z "$as_dir" && as_dir
=.
3658 for ac_exec_ext
in '' $ac_executable_extensions; do
3659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3660 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
3670 if test -n "$ac_ct_DUMPBIN"; then
3671 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3672 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
3674 echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6
3678 test -n "$ac_ct_DUMPBIN" && break
3680 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
3682 DUMPBIN
=$ac_ct_DUMPBIN
3686 if test "$DUMPBIN" != ":"; then
3690 test -z "$NM" && NM
=nm
3697 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3698 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
3699 if test "${lt_cv_nm_interface+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 lt_cv_nm_interface
="BSD nm"
3703 echo "int some_variable = 0;" > conftest.
$ac_ext
3704 (eval echo "\"\$as_me:3704: $ac_compile\"" >&5)
3705 (eval "$ac_compile" 2>conftest.err
)
3706 cat conftest.err
>&5
3707 (eval echo "\"\$as_me:3707: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3708 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
3709 cat conftest.err
>&5
3710 (eval echo "\"\$as_me:3710: output\"" >&5)
3711 cat conftest.out
>&5
3712 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
3713 lt_cv_nm_interface
="MS dumpbin"
3717 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3718 echo "${ECHO_T}$lt_cv_nm_interface" >&6
3720 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3721 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3723 if test "$LN_S" = "ln -s"; then
3724 echo "$as_me:$LINENO: result: yes" >&5
3725 echo "${ECHO_T}yes" >&6
3727 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3728 echo "${ECHO_T}no, using $LN_S" >&6
3731 # find the maximum length of command line arguments
3732 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3733 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3734 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 # On DJGPP, this test can blow up pretty badly due to problems in libc
3743 # (any single argument exceeding 2000 bytes causes a buffer overrun
3744 # during glob expansion). Even if it were fixed, the result of this
3745 # check would be larger than it should be.
3746 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3750 # Under GNU Hurd, this test is not required because there is
3751 # no limit to the length of command line arguments.
3752 # Libtool will interpret -1 as no limit whatsoever
3753 lt_cv_sys_max_cmd_len
=-1;
3756 cygwin
* | mingw
* | cegcc
*)
3757 # On Win9x/ME, this test blows up -- it succeeds, but takes
3758 # about 5 minutes as the teststring grows exponentially.
3759 # Worse, since 9x/ME are not pre-emptively multitasking,
3760 # you end up with a "frozen" computer, even though with patience
3761 # the test eventually succeeds (with a max line length of 256k).
3762 # Instead, let's just punt: use the minimum linelength reported by
3763 # all of the supported platforms: 8192 (on NT/2K/XP).
3764 lt_cv_sys_max_cmd_len
=8192;
3768 # On AmigaOS with pdksh, this test takes hours, literally.
3769 # So we just punt and use a minimum line length of 8192.
3770 lt_cv_sys_max_cmd_len
=8192;
3773 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3774 # This has been around since 386BSD, at least. Likely further.
3775 if test -x /sbin
/sysctl
; then
3776 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3777 elif test -x /usr
/sbin
/sysctl
; then
3778 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3780 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
3782 # And add a safety zone
3783 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3784 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3788 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3789 lt_cv_sys_max_cmd_len
=196608
3793 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3794 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3795 # nice to cause kernel panics so lets avoid the loop below.
3796 # First set a reasonable default.
3797 lt_cv_sys_max_cmd_len
=16384
3799 if test -x /sbin
/sysconfig
; then
3800 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3801 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
3806 lt_cv_sys_max_cmd_len
=102400
3808 sysv5
* | sco5v6
* | sysv4.2uw2
*)
3809 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3810 if test -n "$kargmax"; then
3811 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
3813 lt_cv_sys_max_cmd_len
=32768
3817 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
3818 if test -n "$lt_cv_sys_max_cmd_len"; then
3819 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3820 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3822 # Make teststring a little bigger before we do anything with it.
3823 # a 1K string should be a reasonable start.
3824 for i
in 1 2 3 4 5 6 7 8 ; do
3825 teststring
=$teststring$teststring
3827 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
3828 # If test is not a shell built-in, we'll probably end up computing a
3829 # maximum length that is only half of the actual maximum length, but
3831 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3832 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
3833 test $i != 17 # 1/2 MB should be enough
3836 teststring
=$teststring$teststring
3838 # Only check the string length outside the loop.
3839 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
3841 # Add a significant safety factor because C++ compilers can tack on
3842 # massive amounts of additional arguments before passing them to the
3843 # linker. It appears as though 1/2 is a usable value.
3844 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
3851 if test -n $lt_cv_sys_max_cmd_len ; then
3852 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3853 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3855 echo "$as_me:$LINENO: result: none" >&5
3856 echo "${ECHO_T}none" >&6
3858 max_cmd_len
=$lt_cv_sys_max_cmd_len
3869 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
3870 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
3871 # Try some XSI features
3874 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
3876 && eval 'test $(( 1 + 1 )) -eq 2 \
3877 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
3879 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
3880 echo "${ECHO_T}$xsi_shell" >&6
3883 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
3884 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
3886 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
3888 && lt_shell_append=yes
3889 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
3890 echo "${ECHO_T}$lt_shell_append" >&6
3893 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3903 # test EBCDIC or ASCII
3904 case `echo X|tr X '\101'` in
3905 A) # ASCII based system
3906 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
3907 lt_SP2NL='tr \040 \012'
3908 lt_NL2SP='tr \015\012 \040\040'
3910 *) # EBCDIC based system
3911 lt_SP2NL='tr \100 \n'
3912 lt_NL2SP='tr \r\n \100\100'
3924 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
3925 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
3926 if test "${lt_cv_ld_reload_flag+set}" = set; then
3927 echo $ECHO_N "(cached
) $ECHO_C" >&6
3929 lt_cv_ld_reload_flag='-r'
3931 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
3932 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3933 reload_flag=$lt_cv_ld_reload_flag
3934 case $reload_flag in
3936 *) reload_flag=" $reload_flag" ;;
3938 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3941 if test "$GCC" = yes; then
3942 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3944 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3957 if test -n "$ac_tool_prefix"; then
3958 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
3959 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3960 echo "$as_me:$LINENO: checking
for $ac_word" >&5
3961 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
3962 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3963 echo $ECHO_N "(cached
) $ECHO_C" >&6
3965 if test -n "$OBJDUMP"; then
3966 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3972 test -z "$as_dir" && as_dir=.
3973 for ac_exec_ext in '' $ac_executable_extensions; do
3974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3975 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
3976 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3984 OBJDUMP=$ac_cv_prog_OBJDUMP
3985 if test -n "$OBJDUMP"; then
3986 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
3987 echo "${ECHO_T}$OBJDUMP" >&6
3989 echo "$as_me:$LINENO: result
: no
" >&5
3990 echo "${ECHO_T}no
" >&6
3994 if test -z "$ac_cv_prog_OBJDUMP"; then
3995 ac_ct_OBJDUMP=$OBJDUMP
3996 # Extract the first word of "objdump
", so it can be a program name with args.
3997 set dummy objdump; ac_word=$2
3998 echo "$as_me:$LINENO: checking
for $ac_word" >&5
3999 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4000 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4001 echo $ECHO_N "(cached
) $ECHO_C" >&6
4003 if test -n "$ac_ct_OBJDUMP"; then
4004 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010 test -z "$as_dir" && as_dir=.
4011 for ac_exec_ext in '' $ac_executable_extensions; do
4012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4013 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4014 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4020 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
4023 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4024 if test -n "$ac_ct_OBJDUMP"; then
4025 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4026 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4028 echo "$as_me:$LINENO: result
: no
" >&5
4029 echo "${ECHO_T}no
" >&6
4032 OBJDUMP=$ac_ct_OBJDUMP
4034 OBJDUMP="$ac_cv_prog_OBJDUMP"
4037 test -z "$OBJDUMP" && OBJDUMP=objdump
4047 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4048 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4049 if test "${lt_cv_deplibs_check_method+set}" = set; then
4050 echo $ECHO_N "(cached
) $ECHO_C" >&6
4052 lt_cv_file_magic_cmd='$MAGIC_CMD'
4053 lt_cv_file_magic_test_file=
4054 lt_cv_deplibs_check_method='unknown'
4055 # Need to set the preceding variable on all platforms that support
4056 # interlibrary dependencies.
4057 # 'none' -- dependencies not supported.
4058 # `unknown' -- same as none, but documents that we really don't know.
4059 # 'pass_all' -- all dependencies passed with no checks.
4060 # 'test_compile' -- check by making test program.
4061 # 'file_magic [[regex]]' -- check by looking for files in library path
4062 # which responds to the $file_magic_cmd with a given extended regex.
4063 # If you have `file' or equivalent on your system and you're not sure
4064 # whether `pass_all' will *always* work, you probably want this one.
4068 lt_cv_deplibs_check_method=pass_all
4072 lt_cv_deplibs_check_method=pass_all
4076 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4077 lt_cv_file_magic_cmd='/usr/bin/file -L'
4078 lt_cv_file_magic_test_file=/shlib/libc.so
4082 # func_win32_libid is a shell function defined in ltmain.sh
4083 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4084 lt_cv_file_magic_cmd='func_win32_libid'
4088 # Base MSYS/MinGW do not provide the 'file' command needed by
4089 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4090 # unless we find 'file', for example because we are cross-compiling.
4091 if ( file / ) >/dev/null 2>&1; then
4092 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4093 lt_cv_file_magic_cmd='func_win32_libid'
4095 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4096 lt_cv_file_magic_cmd='$OBJDUMP -f'
4101 # use the weaker test based on 'objdump'. See mingw*.
4102 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4103 lt_cv_file_magic_cmd='$OBJDUMP -f'
4106 darwin* | rhapsody*)
4107 lt_cv_deplibs_check_method=pass_all
4110 freebsd* | dragonfly*)
4111 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4114 # Not sure whether the presence of OpenBSD here was a mistake.
4115 # Let's accept both of them until this is cleared up.
4116 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4117 lt_cv_file_magic_cmd=/usr/bin/file
4118 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4122 lt_cv_deplibs_check_method=pass_all
4127 lt_cv_deplibs_check_method=pass_all
4130 hpux10.20* | hpux11*)
4131 lt_cv_file_magic_cmd=/usr/bin/file
4134 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4135 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4138 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]'
4139 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4142 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4143 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4149 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4150 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4153 irix5* | irix6* | nonstopux*)
4155 *-32|*"-32 ") libmagic=32-bit;;
4156 *-n32|*"-n32 ") libmagic=N32;;
4157 *-64|*"-64 ") libmagic=64-bit;;
4158 *) libmagic=never-match;;
4160 lt_cv_deplibs_check_method=pass_all
4163 # This must be Linux ELF.
4164 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4165 lt_cv_deplibs_check_method=pass_all
4169 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4170 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4172 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4177 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4178 lt_cv_file_magic_cmd=/usr/bin/file
4179 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4183 lt_cv_deplibs_check_method=pass_all
4187 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4188 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4190 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4194 osf3* | osf4* | osf5*)
4195 lt_cv_deplibs_check_method=pass_all
4199 lt_cv_deplibs_check_method=pass_all
4203 lt_cv_deplibs_check_method=pass_all
4206 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4207 lt_cv_deplibs_check_method=pass_all
4211 case $host_vendor in
4213 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]'
4214 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4217 lt_cv_deplibs_check_method=pass_all
4220 lt_cv_file_magic_cmd='/bin/file'
4221 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4224 lt_cv_file_magic_cmd='/bin/file'
4225 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4226 lt_cv_file_magic_test_file=/lib/libc.so
4229 lt_cv_deplibs_check_method=pass_all
4232 lt_cv_deplibs_check_method=pass_all
4238 lt_cv_deplibs_check_method=pass_all
4243 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4244 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4245 file_magic_cmd=$lt_cv_file_magic_cmd
4246 deplibs_check_method=$lt_cv_deplibs_check_method
4247 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4260 if test -n "$ac_tool_prefix"; then
4261 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4262 set dummy ${ac_tool_prefix}ar; ac_word=$2
4263 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4264 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4265 if test "${ac_cv_prog_AR+set}" = set; then
4266 echo $ECHO_N "(cached
) $ECHO_C" >&6
4268 if test -n "$AR"; then
4269 ac_cv_prog_AR="$AR" # Let the user override the test.
4271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4275 test -z "$as_dir" && as_dir=.
4276 for ac_exec_ext in '' $ac_executable_extensions; do
4277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4278 ac_cv_prog_AR="${ac_tool_prefix}ar"
4279 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4288 if test -n "$AR"; then
4289 echo "$as_me:$LINENO: result
: $AR" >&5
4290 echo "${ECHO_T}$AR" >&6
4292 echo "$as_me:$LINENO: result
: no
" >&5
4293 echo "${ECHO_T}no
" >&6
4297 if test -z "$ac_cv_prog_AR"; then
4299 # Extract the first word of "ar", so it can be a program name with args.
4300 set dummy ar; ac_word=$2
4301 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4302 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4303 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4304 echo $ECHO_N "(cached
) $ECHO_C" >&6
4306 if test -n "$ac_ct_AR"; then
4307 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir=.
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4316 ac_cv_prog_ac_ct_AR="ar"
4317 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4323 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
4326 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4327 if test -n "$ac_ct_AR"; then
4328 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4329 echo "${ECHO_T}$ac_ct_AR" >&6
4331 echo "$as_me:$LINENO: result
: no
" >&5
4332 echo "${ECHO_T}no
" >&6
4340 test -z "$AR" && AR=ar
4341 test -z "$AR_FLAGS" && AR_FLAGS=cru
4353 if test -n "$ac_tool_prefix"; then
4354 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4355 set dummy ${ac_tool_prefix}strip; ac_word=$2
4356 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4357 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4358 if test "${ac_cv_prog_STRIP+set}" = set; then
4359 echo $ECHO_N "(cached
) $ECHO_C" >&6
4361 if test -n "$STRIP"; then
4362 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 test -z "$as_dir" && as_dir=.
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4371 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4372 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4380 STRIP=$ac_cv_prog_STRIP
4381 if test -n "$STRIP"; then
4382 echo "$as_me:$LINENO: result
: $STRIP" >&5
4383 echo "${ECHO_T}$STRIP" >&6
4385 echo "$as_me:$LINENO: result
: no
" >&5
4386 echo "${ECHO_T}no
" >&6
4390 if test -z "$ac_cv_prog_STRIP"; then
4392 # Extract the first word of "strip
", so it can be a program name with args.
4393 set dummy strip; ac_word=$2
4394 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4395 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4396 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4397 echo $ECHO_N "(cached
) $ECHO_C" >&6
4399 if test -n "$ac_ct_STRIP"; then
4400 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_ac_ct_STRIP="strip
"
4410 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4416 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4419 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4420 if test -n "$ac_ct_STRIP"; then
4421 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
4422 echo "${ECHO_T}$ac_ct_STRIP" >&6
4424 echo "$as_me:$LINENO: result
: no
" >&5
4425 echo "${ECHO_T}no
" >&6
4430 STRIP="$ac_cv_prog_STRIP"
4433 test -z "$STRIP" && STRIP=:
4440 if test -n "$ac_tool_prefix"; then
4441 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4442 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4443 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4444 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4445 if test "${ac_cv_prog_RANLIB+set}" = set; then
4446 echo $ECHO_N "(cached
) $ECHO_C" >&6
4448 if test -n "$RANLIB"; then
4449 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4455 test -z "$as_dir" && as_dir=.
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4458 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4459 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4467 RANLIB=$ac_cv_prog_RANLIB
4468 if test -n "$RANLIB"; then
4469 echo "$as_me:$LINENO: result
: $RANLIB" >&5
4470 echo "${ECHO_T}$RANLIB" >&6
4472 echo "$as_me:$LINENO: result
: no
" >&5
4473 echo "${ECHO_T}no
" >&6
4477 if test -z "$ac_cv_prog_RANLIB"; then
4478 ac_ct_RANLIB=$RANLIB
4479 # Extract the first word of "ranlib
", so it can be a program name with args.
4480 set dummy ranlib; ac_word=$2
4481 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4482 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4483 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4484 echo $ECHO_N "(cached
) $ECHO_C" >&6
4486 if test -n "$ac_ct_RANLIB"; then
4487 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4497 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4503 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4506 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4507 if test -n "$ac_ct_RANLIB"; then
4508 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4509 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4511 echo "$as_me:$LINENO: result
: no
" >&5
4512 echo "${ECHO_T}no
" >&6
4515 RANLIB=$ac_ct_RANLIB
4517 RANLIB="$ac_cv_prog_RANLIB"
4520 test -z "$RANLIB" && RANLIB=:
4527 # Determine commands to create old-style static archives.
4528 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4529 old_postinstall_cmds='chmod 644 $oldlib'
4530 old_postuninstall_cmds=
4532 if test -n "$RANLIB"; then
4535 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
4538 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
4541 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
4577 # If no C compiler was specified, use CC.
4580 # If no C compiler flags were specified, use CFLAGS.
4581 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4583 # Allow CC to be a program name with arguments.
4587 # Check for command to grab the raw symbol name followed by C symbol from nm.
4588 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
4589 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
4590 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4591 echo $ECHO_N "(cached
) $ECHO_C" >&6
4594 # These are sane defaults that work on at least a few old systems.
4595 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4597 # Character class describing NM global symbol codes.
4598 symcode='[BCDEGRST]'
4600 # Regexp to match symbols that can be accessed directly from C.
4601 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4603 # Define system-specific variables.
4608 cygwin* | mingw* | pw32* | cegcc*)
4609 symcode='[ABCDGISTW]'
4612 if test "$host_cpu" = ia64; then
4613 symcode='[ABCDEGRST]'
4617 symcode='[BCDEGRST]'
4620 symcode='[BCDEGQRST]'
4631 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4639 # If we're using GNU nm, then use its standard symbol codes.
4640 case `$NM -V 2>&1` in
4641 *GNU* | *'with BFD'*)
4642 symcode='[ABCDGIRSTW]' ;;
4645 # Transform an extracted symbol line into a proper C declaration.
4646 # Some systems (esp. on ia64) link data and code symbols differently,
4647 # so use this general approach.
4648 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4650 # Transform an extracted symbol line into symbol name and symbol address
4651 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4652 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'"
4654 # Handle CRLF in mingw tool chain
4658 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4662 # Try without a prefix underscore, then with it.
4663 for ac_symprfx in "" "_
"; do
4665 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4666 symxfrm="\\1 $ac_symprfx\\2 \\2"
4668 # Write the raw and C identifiers.
4669 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
4670 # Fake it for dumpbin and say T for any non-static function
4671 # and D for any global variable.
4672 # Also find C++ and __fastcall symbols from MSVC++,
4673 # which start with @ or ?.
4674 lt_cv_sys_global_symbol_pipe="$AWK '"\
4675 " {last_section=section; section=\$ 3};"\
4676 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4677 " \$ 0!~/External *\|/{next};"\
4678 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4679 " {if(hide[section]) next};"\
4680 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4681 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4682 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4683 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4684 " ' prfx
=^
$ac_symprfx"
4686 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4689 # Check to see that the pipe works correctly.
4693 cat > conftest.$ac_ext <<_LT_EOF
4698 void nm_test_func(void);
4699 void nm_test_func(void){}
4703 int main(){nm_test_var='a';nm_test_func();return(0);}
4706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4707 (eval $ac_compile) 2>&5
4709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4710 (exit $ac_status); }; then
4711 # Now try to grab the symbols.
4713 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
4714 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4717 (exit $ac_status); } && test -s "$nlist"; then
4718 # Try sorting and uniquifying the output.
4719 if sort "$nlist" | uniq > "$nlist"T; then
4720 mv -f "$nlist"T "$nlist"
4725 # Make sure that we snagged all the symbols we need.
4726 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4727 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4728 cat <<_LT_EOF > conftest.$ac_ext
4734 # Now generate the symbol file.
4735 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4737 cat <<_LT_EOF >> conftest.$ac_ext
4739 /* The mapping between symbol names and symbols. */
4744 lt__PROGRAM__LTX_preloaded_symbols[] =
4746 { "@PROGRAM@
", (void *) 0 },
4748 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4749 cat <<\_LT_EOF >> conftest.$ac_ext
4753 /* This works around a problem in FreeBSD linker */
4754 #ifdef FREEBSD_WORKAROUND
4755 static const void *lt_preloaded_setup() {
4756 return lt__PROGRAM__LTX_preloaded_symbols;
4764 # Now try linking the two files.
4765 mv conftest.$ac_objext conftstm.$ac_objext
4766 lt_save_LIBS="$LIBS"
4767 lt_save_CFLAGS="$CFLAGS"
4768 LIBS="conftstm.
$ac_objext"
4769 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4771 (eval $ac_link) 2>&5
4773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4774 (exit $ac_status); } && test -s conftest${ac_exeext}; then
4777 LIBS="$lt_save_LIBS"
4778 CFLAGS="$lt_save_CFLAGS"
4780 echo "cannot
find nm_test_func
in $nlist" >&5
4783 echo "cannot
find nm_test_var
in $nlist" >&5
4786 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
4789 echo "$progname: failed program was
:" >&5
4790 cat conftest.$ac_ext >&5
4792 rm -rf conftest* conftst*
4794 # Do not use the global_symbol_pipe unless it works.
4795 if test "$pipe_works" = yes; then
4798 lt_cv_sys_global_symbol_pipe=
4804 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4805 lt_cv_sys_global_symbol_to_cdecl=
4807 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4808 echo "$as_me:$LINENO: result
: failed
" >&5
4809 echo "${ECHO_T}failed
" >&6
4811 echo "$as_me:$LINENO: result
: ok
" >&5
4812 echo "${ECHO_T}ok
" >&6
4837 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4838 if test "${enable_libtool_lock+set}" = set; then
4839 enableval="$enable_libtool_lock"
4842 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4844 # Some flags need to be propagated to the compiler or linker for good
4848 # Find out which ABI we are using.
4849 echo 'int i;' > conftest.$ac_ext
4850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4851 (eval $ac_compile) 2>&5
4853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4854 (exit $ac_status); }; then
4855 case `/usr/bin/file conftest.$ac_objext` in
4867 # Find out which ABI we are using.
4868 echo '#line 4868 "configure
"' > conftest.$ac_ext
4869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4870 (eval $ac_compile) 2>&5
4872 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4873 (exit $ac_status); }; then
4874 if test "$lt_cv_prog_gnu_ld" = yes; then
4875 case `/usr/bin/file conftest.$ac_objext` in
4877 LD="${LD-ld} -melf32bsmip"
4880 LD="${LD-ld} -melf32bmipn32"
4883 LD="${LD-ld} -melf64bmip"
4887 case `/usr/bin/file conftest.$ac_objext` in
4903 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4904 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
4905 # Find out which ABI we are using.
4906 echo 'int i;' > conftest.$ac_ext
4907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4908 (eval $ac_compile) 2>&5
4910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4911 (exit $ac_status); }; then
4912 case `/usr/bin/file conftest.o` in
4915 x86_64-*kfreebsd*-gnu)
4916 LD="${LD-ld} -m elf_i386_fbsd
"
4919 LD="${LD-ld} -m elf_i386
"
4921 ppc64-*linux*|powerpc64-*linux*)
4922 LD="${LD-ld} -m elf32ppclinux
"
4925 LD="${LD-ld} -m elf_s390
"
4928 LD="${LD-ld} -m elf32_sparc
"
4934 x86_64-*kfreebsd*-gnu)
4935 LD="${LD-ld} -m elf_x86_64_fbsd
"
4938 LD="${LD-ld} -m elf_x86_64
"
4940 ppc*-*linux*|powerpc*-*linux*)
4941 LD="${LD-ld} -m elf64ppc
"
4943 s390*-*linux*|s390*-*tpf*)
4944 LD="${LD-ld} -m elf64_s390
"
4947 LD="${LD-ld} -m elf64_sparc
"
4957 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4958 SAVE_CFLAGS="$CFLAGS"
4959 CFLAGS="$CFLAGS -belf"
4960 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
4961 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
4962 if test "${lt_cv_cc_needs_belf+set}" = set; then
4963 echo $ECHO_N "(cached
) $ECHO_C" >&6
4966 ac_cpp='$CPP $CPPFLAGS'
4967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4971 if test x$gcc_no_link = xyes; then
4972 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
4973 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
4974 { (exit 1); exit 1; }; }
4976 cat >conftest.$ac_ext <<_ACEOF
4979 cat confdefs.h >>conftest.$ac_ext
4980 cat >>conftest.$ac_ext <<_ACEOF
4981 /* end confdefs.h. */
4991 rm -f conftest.$ac_objext conftest$ac_exeext
4992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4993 (eval $ac_link) 2>conftest.er1
4995 grep -v '^ *+' conftest.er1 >conftest.err
4997 cat conftest.err >&5
4998 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4999 (exit $ac_status); } &&
5000 { ac_try='test -z "$ac_c_werror_flag"
5001 || test ! -s conftest.err'
5002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5006 (exit $ac_status); }; } &&
5007 { ac_try='test -s conftest$ac_exeext'
5008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5012 (exit $ac_status); }; }; then
5013 lt_cv_cc_needs_belf=yes
5015 echo "$as_me: failed program was
:" >&5
5016 sed 's/^/| /' conftest.$ac_ext >&5
5018 lt_cv_cc_needs_belf=no
5020 rm -f conftest.err conftest.$ac_objext \
5021 conftest$ac_exeext conftest.$ac_ext
5023 ac_cpp='$CPP $CPPFLAGS'
5024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5029 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5030 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5031 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5032 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5033 CFLAGS="$SAVE_CFLAGS"
5037 # Find out which ABI we are using.
5038 echo 'int i;' > conftest.$ac_ext
5039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040 (eval $ac_compile) 2>&5
5042 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5043 (exit $ac_status); }; then
5044 case `/usr/bin/file conftest.o` in
5046 case $lt_cv_prog_gnu_ld in
5047 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5049 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5061 need_locks="$enable_libtool_lock"
5065 rhapsody* | darwin*)
5066 if test -n "$ac_tool_prefix"; then
5067 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5068 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5069 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5070 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5071 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5072 echo $ECHO_N "(cached
) $ECHO_C" >&6
5074 if test -n "$DSYMUTIL"; then
5075 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5084 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5085 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5093 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5094 if test -n "$DSYMUTIL"; then
5095 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5096 echo "${ECHO_T}$DSYMUTIL" >&6
5098 echo "$as_me:$LINENO: result
: no
" >&5
5099 echo "${ECHO_T}no
" >&6
5103 if test -z "$ac_cv_prog_DSYMUTIL"; then
5104 ac_ct_DSYMUTIL=$DSYMUTIL
5105 # Extract the first word of "dsymutil
", so it can be a program name with args.
5106 set dummy dsymutil; ac_word=$2
5107 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5108 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5109 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5110 echo $ECHO_N "(cached
) $ECHO_C" >&6
5112 if test -n "$ac_ct_DSYMUTIL"; then
5113 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5123 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5129 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5132 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5133 if test -n "$ac_ct_DSYMUTIL"; then
5134 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5135 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
5137 echo "$as_me:$LINENO: result
: no
" >&5
5138 echo "${ECHO_T}no
" >&6
5141 DSYMUTIL=$ac_ct_DSYMUTIL
5143 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5146 if test -n "$ac_tool_prefix"; then
5147 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5148 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5149 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5150 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5151 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5152 echo $ECHO_N "(cached
) $ECHO_C" >&6
5154 if test -n "$NMEDIT"; then
5155 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 test -z "$as_dir" && as_dir=.
5162 for ac_exec_ext in '' $ac_executable_extensions; do
5163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5164 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5165 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5173 NMEDIT=$ac_cv_prog_NMEDIT
5174 if test -n "$NMEDIT"; then
5175 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
5176 echo "${ECHO_T}$NMEDIT" >&6
5178 echo "$as_me:$LINENO: result
: no
" >&5
5179 echo "${ECHO_T}no
" >&6
5183 if test -z "$ac_cv_prog_NMEDIT"; then
5184 ac_ct_NMEDIT=$NMEDIT
5185 # Extract the first word of "nmedit
", so it can be a program name with args.
5186 set dummy nmedit; ac_word=$2
5187 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5188 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5189 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5190 echo $ECHO_N "(cached
) $ECHO_C" >&6
5192 if test -n "$ac_ct_NMEDIT"; then
5193 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir=.
5200 for ac_exec_ext in '' $ac_executable_extensions; do
5201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5202 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5203 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5209 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
5212 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5213 if test -n "$ac_ct_NMEDIT"; then
5214 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
5215 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
5217 echo "$as_me:$LINENO: result
: no
" >&5
5218 echo "${ECHO_T}no
" >&6
5221 NMEDIT=$ac_ct_NMEDIT
5223 NMEDIT="$ac_cv_prog_NMEDIT"
5226 if test -n "$ac_tool_prefix"; then
5227 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5228 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5229 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5230 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5231 if test "${ac_cv_prog_LIPO+set}" = set; then
5232 echo $ECHO_N "(cached
) $ECHO_C" >&6
5234 if test -n "$LIPO"; then
5235 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
5245 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5253 LIPO=$ac_cv_prog_LIPO
5254 if test -n "$LIPO"; then
5255 echo "$as_me:$LINENO: result
: $LIPO" >&5
5256 echo "${ECHO_T}$LIPO" >&6
5258 echo "$as_me:$LINENO: result
: no
" >&5
5259 echo "${ECHO_T}no
" >&6
5263 if test -z "$ac_cv_prog_LIPO"; then
5265 # Extract the first word of "lipo
", so it can be a program name with args.
5266 set dummy lipo; ac_word=$2
5267 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5268 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5269 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5270 echo $ECHO_N "(cached
) $ECHO_C" >&6
5272 if test -n "$ac_ct_LIPO"; then
5273 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir=.
5280 for ac_exec_ext in '' $ac_executable_extensions; do
5281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5282 ac_cv_prog_ac_ct_LIPO="lipo
"
5283 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5289 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
5292 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5293 if test -n "$ac_ct_LIPO"; then
5294 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
5295 echo "${ECHO_T}$ac_ct_LIPO" >&6
5297 echo "$as_me:$LINENO: result
: no
" >&5
5298 echo "${ECHO_T}no
" >&6
5303 LIPO="$ac_cv_prog_LIPO"
5306 if test -n "$ac_tool_prefix"; then
5307 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
5308 set dummy ${ac_tool_prefix}otool; ac_word=$2
5309 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5310 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5311 if test "${ac_cv_prog_OTOOL+set}" = set; then
5312 echo $ECHO_N "(cached
) $ECHO_C" >&6
5314 if test -n "$OTOOL"; then
5315 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 test -z "$as_dir" && as_dir=.
5322 for ac_exec_ext in '' $ac_executable_extensions; do
5323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5324 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
5325 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5333 OTOOL=$ac_cv_prog_OTOOL
5334 if test -n "$OTOOL"; then
5335 echo "$as_me:$LINENO: result
: $OTOOL" >&5
5336 echo "${ECHO_T}$OTOOL" >&6
5338 echo "$as_me:$LINENO: result
: no
" >&5
5339 echo "${ECHO_T}no
" >&6
5343 if test -z "$ac_cv_prog_OTOOL"; then
5345 # Extract the first word of "otool
", so it can be a program name with args.
5346 set dummy otool; ac_word=$2
5347 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5348 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5349 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5350 echo $ECHO_N "(cached
) $ECHO_C" >&6
5352 if test -n "$ac_ct_OTOOL"; then
5353 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5362 ac_cv_prog_ac_ct_OTOOL="otool
"
5363 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5369 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
5372 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5373 if test -n "$ac_ct_OTOOL"; then
5374 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
5375 echo "${ECHO_T}$ac_ct_OTOOL" >&6
5377 echo "$as_me:$LINENO: result
: no
" >&5
5378 echo "${ECHO_T}no
" >&6
5383 OTOOL="$ac_cv_prog_OTOOL"
5386 if test -n "$ac_tool_prefix"; then
5387 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
5388 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5389 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5390 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5391 if test "${ac_cv_prog_OTOOL64+set}" = set; then
5392 echo $ECHO_N "(cached
) $ECHO_C" >&6
5394 if test -n "$OTOOL64"; then
5395 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 test -z "$as_dir" && as_dir=.
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5404 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
5405 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5413 OTOOL64=$ac_cv_prog_OTOOL64
5414 if test -n "$OTOOL64"; then
5415 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
5416 echo "${ECHO_T}$OTOOL64" >&6
5418 echo "$as_me:$LINENO: result
: no
" >&5
5419 echo "${ECHO_T}no
" >&6
5423 if test -z "$ac_cv_prog_OTOOL64"; then
5424 ac_ct_OTOOL64=$OTOOL64
5425 # Extract the first word of "otool64
", so it can be a program name with args.
5426 set dummy otool64; ac_word=$2
5427 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5428 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5429 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
5430 echo $ECHO_N "(cached
) $ECHO_C" >&6
5432 if test -n "$ac_ct_OTOOL64"; then
5433 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_ac_ct_OTOOL64="otool64
"
5443 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5449 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
5452 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5453 if test -n "$ac_ct_OTOOL64"; then
5454 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
5455 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
5457 echo "$as_me:$LINENO: result
: no
" >&5
5458 echo "${ECHO_T}no
" >&6
5461 OTOOL64=$ac_ct_OTOOL64
5463 OTOOL64="$ac_cv_prog_OTOOL64"
5492 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
5493 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
5494 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
5495 echo $ECHO_N "(cached
) $ECHO_C" >&6
5497 lt_cv_apple_cc_single_mod=no
5498 if test -z "${LT_MULTI_MODULE}"; then
5499 # By default we will add the -single_module flag. You can override
5500 # by either setting the environment variable LT_MULTI_MODULE
5501 # non-empty at configure time, or by adding -multi_module to the
5503 rm -rf libconftest.dylib*
5504 echo "int foo
(void
){return 1;}" > conftest.c
5505 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5506 -dynamiclib -Wl,-single_module conftest.c
" >&5
5507 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5508 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5510 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5511 lt_cv_apple_cc_single_mod=yes
5513 cat conftest.err >&5
5515 rm -rf libconftest.dylib*
5519 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
5520 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
5521 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
5522 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
5523 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
5524 echo $ECHO_N "(cached
) $ECHO_C" >&6
5526 lt_cv_ld_exported_symbols_list=no
5527 save_LDFLAGS=$LDFLAGS
5528 echo "_main
" > conftest.sym
5529 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
5530 if test x$gcc_no_link = xyes; then
5531 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
5532 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
5533 { (exit 1); exit 1; }; }
5535 cat >conftest.$ac_ext <<_ACEOF
5538 cat confdefs.h >>conftest.$ac_ext
5539 cat >>conftest.$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5550 rm -f conftest.$ac_objext conftest$ac_exeext
5551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5552 (eval $ac_link) 2>conftest.er1
5554 grep -v '^ *+' conftest.er1 >conftest.err
5556 cat conftest.err >&5
5557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5558 (exit $ac_status); } &&
5559 { ac_try='test -z "$ac_c_werror_flag"
5560 || test ! -s conftest.err'
5561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5565 (exit $ac_status); }; } &&
5566 { ac_try='test -s conftest$ac_exeext'
5567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5571 (exit $ac_status); }; }; then
5572 lt_cv_ld_exported_symbols_list=yes
5574 echo "$as_me: failed program was
:" >&5
5575 sed 's/^/| /' conftest.$ac_ext >&5
5577 lt_cv_ld_exported_symbols_list=no
5579 rm -f conftest.err conftest.$ac_objext \
5580 conftest$ac_exeext conftest.$ac_ext
5581 LDFLAGS="$save_LDFLAGS"
5584 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
5585 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
5587 rhapsody* | darwin1.[012])
5588 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5590 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5591 darwin*) # darwin 5.x on
5592 # if running on 10.5 or later, the deployment target defaults
5593 # to the OS version, if on x86, and 10.4, the deployment
5594 # target defaults to 10.4. Don't you love it?
5595 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5596 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5597 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5599 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5601 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5605 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5606 _lt_dar_single_mod='$single_module'
5608 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5609 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5611 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5613 if test "$DSYMUTIL" != ":"; then
5614 _lt_dsymutil='~$DSYMUTIL $lib || :'
5622 ac_cpp='$CPP $CPPFLAGS'
5623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5626 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5627 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5628 # On Suns, sometimes $CPP names a directory.
5629 if test -n "$CPP" && test -d "$CPP"; then
5632 if test -z "$CPP"; then
5633 if test "${ac_cv_prog_CPP+set}" = set; then
5634 echo $ECHO_N "(cached
) $ECHO_C" >&6
5636 # Double quotes because CPP needs to be expanded
5637 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5640 for ac_c_preproc_warn_flag in '' yes
5642 # Use a header file that comes with gcc, so configuring glibc
5643 # with a fresh cross-compiler works.
5644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5645 # <limits.h> exists even on freestanding compilers.
5646 # On the NeXT, cc -E runs the code through the compiler's parser,
5647 # not just through cpp. "Syntax error
" is here to catch this case.
5648 cat >conftest.$ac_ext <<_ACEOF
5651 cat confdefs.h >>conftest.$ac_ext
5652 cat >>conftest.$ac_ext <<_ACEOF
5653 /* end confdefs.h. */
5655 # include <limits.h>
5657 # include <assert.h>
5661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5662 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5664 grep -v '^ *+' conftest.er1 >conftest.err
5666 cat conftest.err >&5
5667 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5668 (exit $ac_status); } >/dev/null; then
5669 if test -s conftest.err; then
5670 ac_cpp_err=$ac_c_preproc_warn_flag
5671 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5678 if test -z "$ac_cpp_err"; then
5681 echo "$as_me: failed program was
:" >&5
5682 sed 's/^/| /' conftest.$ac_ext >&5
5684 # Broken: fails on valid input.
5687 rm -f conftest.err conftest.$ac_ext
5689 # OK, works on sane cases. Now check whether non-existent headers
5690 # can be detected and how.
5691 cat >conftest.$ac_ext <<_ACEOF
5694 cat confdefs.h >>conftest.$ac_ext
5695 cat >>conftest.$ac_ext <<_ACEOF
5696 /* end confdefs.h. */
5697 #include <ac_nonexistent.h>
5699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5700 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
5707 if test -s conftest.err; then
5708 ac_cpp_err=$ac_c_preproc_warn_flag
5709 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5716 if test -z "$ac_cpp_err"; then
5717 # Broken: success on invalid input.
5720 echo "$as_me: failed program was
:" >&5
5721 sed 's/^/| /' conftest.$ac_ext >&5
5723 # Passes both tests.
5727 rm -f conftest.err conftest.$ac_ext
5730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5731 rm -f conftest.err conftest.$ac_ext
5732 if $ac_preproc_ok; then
5744 echo "$as_me:$LINENO: result
: $CPP" >&5
5745 echo "${ECHO_T}$CPP" >&6
5747 for ac_c_preproc_warn_flag in '' yes
5749 # Use a header file that comes with gcc, so configuring glibc
5750 # with a fresh cross-compiler works.
5751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5752 # <limits.h> exists even on freestanding compilers.
5753 # On the NeXT, cc -E runs the code through the compiler's parser,
5754 # not just through cpp. "Syntax error
" is here to catch this case.
5755 cat >conftest.$ac_ext <<_ACEOF
5758 cat confdefs.h >>conftest.$ac_ext
5759 cat >>conftest.$ac_ext <<_ACEOF
5760 /* end confdefs.h. */
5762 # include <limits.h>
5764 # include <assert.h>
5768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5769 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5771 grep -v '^ *+' conftest.er1 >conftest.err
5773 cat conftest.err >&5
5774 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5775 (exit $ac_status); } >/dev/null; then
5776 if test -s conftest.err; then
5777 ac_cpp_err=$ac_c_preproc_warn_flag
5778 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5785 if test -z "$ac_cpp_err"; then
5788 echo "$as_me: failed program was
:" >&5
5789 sed 's/^/| /' conftest.$ac_ext >&5
5791 # Broken: fails on valid input.
5794 rm -f conftest.err conftest.$ac_ext
5796 # OK, works on sane cases. Now check whether non-existent headers
5797 # can be detected and how.
5798 cat >conftest.$ac_ext <<_ACEOF
5801 cat confdefs.h >>conftest.$ac_ext
5802 cat >>conftest.$ac_ext <<_ACEOF
5803 /* end confdefs.h. */
5804 #include <ac_nonexistent.h>
5806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5809 grep -v '^ *+' conftest.er1 >conftest.err
5811 cat conftest.err >&5
5812 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5813 (exit $ac_status); } >/dev/null; then
5814 if test -s conftest.err; then
5815 ac_cpp_err=$ac_c_preproc_warn_flag
5816 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5823 if test -z "$ac_cpp_err"; then
5824 # Broken: success on invalid input.
5827 echo "$as_me: failed program was
:" >&5
5828 sed 's/^/| /' conftest.$ac_ext >&5
5830 # Passes both tests.
5834 rm -f conftest.err conftest.$ac_ext
5837 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5838 rm -f conftest.err conftest.$ac_ext
5839 if $ac_preproc_ok; then
5842 { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
5843 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5844 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5845 See \`config.log' for more details.
" >&5
5846 echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
5847 See \
`config.log' for more details." >&2;}
5848 { (exit 1); exit 1; }; }; }
5852 ac_cpp='$CPP $CPPFLAGS'
5853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5858 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5859 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5860 if test "${ac_cv_header_stdc+set}" = set; then
5861 echo $ECHO_N "(cached) $ECHO_C" >&6
5863 cat >conftest.$ac_ext <<_ACEOF
5866 cat confdefs.h >>conftest.$ac_ext
5867 cat >>conftest.$ac_ext <<_ACEOF
5868 /* end confdefs.h. */
5882 rm -f conftest.$ac_objext
5883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5884 (eval $ac_compile) 2>conftest.er1
5886 grep -v '^ *+' conftest.er1 >conftest.err
5888 cat conftest.err >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } &&
5891 { ac_try='test -z "$ac_c_werror_flag"
5892 || test ! -s conftest.err'
5893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); }; } &&
5898 { ac_try='test -s conftest.$ac_objext'
5899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); }; }; then
5904 ac_cv_header_stdc=yes
5906 echo "$as_me: failed program was:" >&5
5907 sed 's/^/| /' conftest.$ac_ext >&5
5909 ac_cv_header_stdc=no
5911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5913 if test $ac_cv_header_stdc = yes; then
5914 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5915 cat >conftest.$ac_ext <<_ACEOF
5918 cat confdefs.h >>conftest.$ac_ext
5919 cat >>conftest.$ac_ext <<_ACEOF
5920 /* end confdefs.h. */
5924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5925 $EGREP "memchr" >/dev/null 2>&1; then
5928 ac_cv_header_stdc=no
5934 if test $ac_cv_header_stdc = yes; then
5935 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5936 cat >conftest.$ac_ext <<_ACEOF
5939 cat confdefs.h >>conftest.$ac_ext
5940 cat >>conftest.$ac_ext <<_ACEOF
5941 /* end confdefs.h. */
5945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5946 $EGREP "free" >/dev/null 2>&1; then
5949 ac_cv_header_stdc=no
5955 if test $ac_cv_header_stdc = yes; then
5956 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5957 if test "$cross_compiling" = yes; then
5960 cat >conftest.$ac_ext <<_ACEOF
5963 cat confdefs.h >>conftest.$ac_ext
5964 cat >>conftest.$ac_ext <<_ACEOF
5965 /* end confdefs.h. */
5967 #if ((' ' & 0x0FF) == 0x020)
5968 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5969 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5971 # define ISLOWER(c) \
5972 (('a' <= (c) && (c) <= 'i') \
5973 || ('j' <= (c) && (c) <= 'r') \
5974 || ('s' <= (c) && (c) <= 'z'))
5975 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5978 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5983 for (i = 0; i < 256; i++)
5984 if (XOR (islower (i), ISLOWER (i))
5985 || toupper (i) != TOUPPER (i))
5990 rm -f conftest$ac_exeext
5991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5992 (eval $ac_link) 2>&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); }; }; then
6003 echo "$as_me: program exited with status $ac_status" >&5
6004 echo "$as_me: failed program was:" >&5
6005 sed 's/^/| /' conftest.$ac_ext >&5
6008 ac_cv_header_stdc=no
6010 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6014 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6015 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6016 if test $ac_cv_header_stdc = yes; then
6018 cat >>confdefs.h <<\_ACEOF
6019 #define STDC_HEADERS 1
6024 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6034 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6035 inttypes.h stdint.h unistd.h
6037 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6038 echo "$as_me:$LINENO: checking for $ac_header" >&5
6039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6041 echo $ECHO_N "(cached) $ECHO_C" >&6
6043 cat >conftest.$ac_ext <<_ACEOF
6046 cat confdefs.h >>conftest.$ac_ext
6047 cat >>conftest.$ac_ext <<_ACEOF
6048 /* end confdefs.h. */
6049 $ac_includes_default
6051 #include <$ac_header>
6053 rm -f conftest.$ac_objext
6054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6055 (eval $ac_compile) 2>conftest.er1
6057 grep -v '^ *+' conftest.er1 >conftest.err
6059 cat conftest.err >&5
6060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061 (exit $ac_status); } &&
6062 { ac_try='test -z "$ac_c_werror_flag"
6063 || test ! -s conftest.err'
6064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068 (exit $ac_status); }; } &&
6069 { ac_try='test -s conftest.$ac_objext'
6070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); }; }; then
6075 eval "$as_ac_Header=yes"
6077 echo "$as_me: failed program was:" >&5
6078 sed 's/^/| /' conftest.$ac_ext >&5
6080 eval "$as_ac_Header=no"
6082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6087 cat >>confdefs.h <<_ACEOF
6088 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6097 for ac_header in dlfcn.h
6099 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6100 echo "$as_me:$LINENO: checking for $ac_header" >&5
6101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6103 echo $ECHO_N "(cached) $ECHO_C" >&6
6105 cat >conftest.$ac_ext <<_ACEOF
6108 cat confdefs.h >>conftest.$ac_ext
6109 cat >>conftest.$ac_ext <<_ACEOF
6110 /* end confdefs.h. */
6111 $ac_includes_default
6113 #include <$ac_header>
6115 rm -f conftest.$ac_objext
6116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6117 (eval $ac_compile) 2>conftest.er1
6119 grep -v '^ *+' conftest.er1 >conftest.err
6121 cat conftest.err >&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); } &&
6124 { ac_try='test -z "$ac_c_werror_flag"
6125 || test ! -s conftest.err'
6126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6130 (exit $ac_status); }; } &&
6131 { ac_try='test -s conftest.$ac_objext'
6132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); }; }; then
6137 eval "$as_ac_Header=yes"
6139 echo "$as_me: failed program was:" >&5
6140 sed 's/^/| /' conftest.$ac_ext >&5
6142 eval "$as_ac_Header=no"
6144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6149 cat >>confdefs.h <<_ACEOF
6150 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6169 # Check whether --enable-shared or --disable-shared was given.
6170 if test "${enable_shared+set}" = set; then
6171 enableval="$enable_shared"
6172 p=${PACKAGE-default}
6174 yes) enable_shared=yes ;;
6175 no) enable_shared=no ;;
6178 # Look at the argument we got. We use all the common list separators.
6179 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6180 for pkg in $enableval; do
6182 if test "X$pkg" = "X$p"; then
6200 # Check whether --enable-static or --disable-static was given.
6201 if test "${enable_static+set}" = set; then
6202 enableval="$enable_static"
6203 p=${PACKAGE-default}
6205 yes) enable_static=yes ;;
6206 no) enable_static=no ;;
6209 # Look at the argument we got. We use all the common list separators.
6210 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6211 for pkg in $enableval; do
6213 if test "X$pkg" = "X$p"; then
6232 # Check whether --with-pic or --without-pic was given.
6233 if test "${with_pic+set}" = set; then
6240 test -z "$pic_mode" && pic_mode=default
6248 # Check whether --enable-fast-install or --disable-fast-install was given.
6249 if test "${enable_fast_install+set}" = set; then
6250 enableval="$enable_fast_install"
6251 p=${PACKAGE-default}
6253 yes) enable_fast_install=yes ;;
6254 no) enable_fast_install=no ;;
6256 enable_fast_install=no
6257 # Look at the argument we got. We use all the common list separators.
6258 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6259 for pkg in $enableval; do
6261 if test "X$pkg" = "X$p"; then
6262 enable_fast_install=yes
6269 enable_fast_install=yes
6281 # This can be used to rebuild libtool when needed
6282 LIBTOOL_DEPS="$ltmain"
6284 # Always use our own libtool.
6285 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6311 test -z "$LN_S" && LN_S="ln -s"
6326 if test -n "${ZSH_VERSION+set}" ; then
6327 setopt NO_GLOB_SUBST
6330 echo "$as_me:$LINENO: checking for objdir" >&5
6331 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6332 if test "${lt_cv_objdir+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6335 rm -f .libs 2>/dev/null
6336 mkdir .libs 2>/dev/null
6337 if test -d .libs; then
6340 # MS-DOS does not allow filenames that begin with a dot.
6343 rmdir .libs 2>/dev/null
6345 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6346 echo "${ECHO_T}$lt_cv_objdir" >&6
6347 objdir=$lt_cv_objdir
6353 cat >>confdefs.h <<_ACEOF
6354 #define LT_OBJDIR "$lt_cv_objdir/"
6375 # AIX sometimes has problems with the GCC collect2 program. For some
6376 # reason, if we set the COLLECT_NAMES environment variable, the problems
6377 # vanish in a puff of smoke.
6378 if test "X${COLLECT_NAMES+set}" != Xset; then
6380 export COLLECT_NAMES
6385 # Sed substitution that helps us do robust quoting. It backslashifies
6386 # metacharacters that are still active within double-quoted strings.
6387 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6389 # Same as above, but do not quote variable references.
6390 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6392 # Sed substitution to delay expansion of an escaped shell variable in a
6393 # double_quote_subst'ed string.
6394 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6396 # Sed substitution to delay expansion of an escaped single quote.
6397 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6399 # Sed substitution to avoid accidental globbing in evaled expressions
6400 no_glob_subst='s/\*/\\\*/g'
6404 can_build_shared=yes
6406 # All known linkers require a `.a' archive for static linking (except MSVC,
6407 # which needs '.lib').
6410 with_gnu_ld="$lt_cv_prog_gnu_ld"
6413 old_CFLAGS="$CFLAGS"
6415 # Set sane defaults for various variables
6416 test -z "$CC" && CC=cc
6417 test -z "$LTCC" && LTCC=$CC
6418 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6419 test -z "$LD" && LD=ld
6420 test -z "$ac_objext" && ac_objext=o
6422 for cc_temp in $compiler""; do
6424 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6425 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6430 cc_basename=`$ECHO "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
6433 # Only perform the check for file, if the check method requires it
6434 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6435 case $deplibs_check_method in
6437 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6438 echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
6439 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6
6440 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6441 echo $ECHO_N "(cached
) $ECHO_C" >&6
6445 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6448 lt_save_MAGIC_CMD="$MAGIC_CMD"
6449 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6450 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
6451 for ac_dir in $ac_dummy; do
6453 test -z "$ac_dir" && ac_dir=.
6454 if test -f $ac_dir/${ac_tool_prefix}file; then
6455 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6456 if test -n "$file_magic_test_file"; then
6457 case $deplibs_check_method in
6459 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
6460 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6461 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6462 $EGREP "$file_magic_regex" > /dev/null; then
6467 *** Warning: the command libtool uses to detect shared libraries,
6468 *** $file_magic_cmd, produces output that libtool cannot recognize.
6469 *** The result is that libtool may fail to recognize shared libraries
6470 *** as such. This will affect the creation of libtool libraries that
6471 *** depend on shared libraries, but programs linked with such libtool
6472 *** libraries will work regardless of this problem. Nevertheless, you
6473 *** may want to report the problem to your system manager and/or to
6474 *** bug-libtool@gnu.org
6484 MAGIC_CMD="$lt_save_MAGIC_CMD"
6489 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6490 if test -n "$MAGIC_CMD"; then
6491 echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
6492 echo "${ECHO_T}$MAGIC_CMD" >&6
6494 echo "$as_me:$LINENO: result
: no
" >&5
6495 echo "${ECHO_T}no
" >&6
6502 if test -z "$lt_cv_path_MAGIC_CMD"; then
6503 if test -n "$ac_tool_prefix"; then
6504 echo "$as_me:$LINENO: checking
for file" >&5
6505 echo $ECHO_N "checking
for file...
$ECHO_C" >&6
6506 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6507 echo $ECHO_N "(cached
) $ECHO_C" >&6
6511 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6514 lt_save_MAGIC_CMD="$MAGIC_CMD"
6515 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6516 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
6517 for ac_dir in $ac_dummy; do
6519 test -z "$ac_dir" && ac_dir=.
6520 if test -f $ac_dir/file; then
6521 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6522 if test -n "$file_magic_test_file"; then
6523 case $deplibs_check_method in
6525 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
6526 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6527 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6528 $EGREP "$file_magic_regex" > /dev/null; then
6533 *** Warning: the command libtool uses to detect shared libraries,
6534 *** $file_magic_cmd, produces output that libtool cannot recognize.
6535 *** The result is that libtool may fail to recognize shared libraries
6536 *** as such. This will affect the creation of libtool libraries that
6537 *** depend on shared libraries, but programs linked with such libtool
6538 *** libraries will work regardless of this problem. Nevertheless, you
6539 *** may want to report the problem to your system manager and/or to
6540 *** bug-libtool@gnu.org
6550 MAGIC_CMD="$lt_save_MAGIC_CMD"
6555 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6556 if test -n "$MAGIC_CMD"; then
6557 echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
6558 echo "${ECHO_T}$MAGIC_CMD" >&6
6560 echo "$as_me:$LINENO: result
: no
" >&5
6561 echo "${ECHO_T}no
" >&6
6574 # Use C for the default configuration in the libtool script
6578 ac_cpp='$CPP $CPPFLAGS'
6579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6584 # Source file extension for C test sources.
6587 # Object file extension for compiled C test sources.
6591 # Code to be used in simple compile tests
6592 lt_simple_compile_test_code="int some_variable
= 0;"
6594 # Code to be used in simple link tests
6595 lt_simple_link_test_code='int main(){return(0);}'
6603 # If no C compiler was specified, use CC.
6606 # If no C compiler flags were specified, use CFLAGS.
6607 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6609 # Allow CC to be a program name with arguments.
6612 # Save the default compiler, since it gets overwritten when the other
6613 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6614 compiler_DEFAULT=$CC
6616 # save warnings/boilerplate of simple test code
6617 ac_outfile=conftest.$ac_objext
6618 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6619 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6620 _lt_compiler_boilerplate=`cat conftest.err`
6623 ac_outfile=conftest.$ac_objext
6624 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6625 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6626 _lt_linker_boilerplate=`cat conftest.err`
6631 ## There is no encapsulation within the following macros, do not change
6632 ## the running order or otherwise move them around unless you know exactly
6633 ## what you are doing...
6634 if test -n "$compiler"; then
6636 lt_prog_compiler_no_builtin_flag=
6638 if test "$GCC" = yes; then
6639 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6641 echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
6642 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6
6643 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6644 echo $ECHO_N "(cached
) $ECHO_C" >&6
6646 lt_cv_prog_compiler_rtti_exceptions=no
6647 ac_outfile=conftest.$ac_objext
6648 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6649 lt_compiler_flag="-fno-rtti -fno-exceptions"
6650 # Insert the option either (1) after the last *FLAGS variable, or
6651 # (2) before a word containing "conftest.
", or (3) at the end.
6652 # Note that $ac_compile itself does not contain backslashes and begins
6653 # with a dollar sign (not a hyphen), so the echo should work correctly.
6654 # The option is referenced via a variable to avoid confusing sed.
6655 lt_compile=`echo "$ac_compile" | $SED \
6656 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6657 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6658 -e 's:$: $lt_compiler_flag:'`
6659 (eval echo "\"\
$as_me:6659: $lt_compile\"" >&5)
6660 (eval "$lt_compile" 2>conftest.err)
6662 cat conftest.err >&5
6663 echo "$as_me:6663: \$?
= $ac_status" >&5
6664 if (exit $ac_status) && test -s "$ac_outfile"; then
6665 # The compiler can only warn and ignore the option if not recognized
6666 # So say no if there are warnings other than the usual output.
6667 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6668 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6669 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6670 lt_cv_prog_compiler_rtti_exceptions=yes
6676 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
6677 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6679 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6680 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6692 lt_prog_compiler_wl=
6693 lt_prog_compiler_pic=
6694 lt_prog_compiler_static=
6696 echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
6697 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6
6699 if test "$GCC" = yes; then
6700 lt_prog_compiler_wl='-Wl,'
6701 lt_prog_compiler_static='-static'
6705 # All AIX code is PIC.
6706 if test "$host_cpu" = ia64; then
6707 # AIX 5 now supports IA64 processor
6708 lt_prog_compiler_static='-Bstatic'
6715 # see comment about AmigaOS4 .so support
6716 lt_prog_compiler_pic='-fPIC'
6719 # FIXME: we need at least 68020 code to build shared libraries, but
6720 # adding the `-m68020' flag to GCC prevents building anything better,
6722 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6727 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6728 # PIC is the default for these OSes.
6731 mingw* | cygwin* | pw32* | os2* | cegcc*)
6732 # This hack is so that the source file can tell whether it is being
6733 # built for inclusion in a dll (and should export symbols for example).
6734 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6735 # (--disable-auto-import) libraries
6736 lt_prog_compiler_pic='-DDLL_EXPORT'
6739 darwin* | rhapsody*)
6740 # PIC is the default on this platform
6741 # Common symbols not allowed in MH_DYLIB files
6742 lt_prog_compiler_pic='-fno-common'
6746 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6747 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6748 # sets the default TLS model and affects inlining.
6754 lt_prog_compiler_pic='-fPIC'
6760 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6761 # Instead, we relocate shared libraries at runtime.
6765 # Just because we use GCC doesn't mean we suddenly get shared libraries
6766 # on systems that don't support them.
6767 lt_prog_compiler_can_build_shared=no
6772 # QNX uses GNU C++, but need to define -shared option too, otherwise
6774 lt_prog_compiler_pic='-fPIC -shared'
6778 if test -d /usr/nec; then
6779 lt_prog_compiler_pic=-Kconform_pic
6784 lt_prog_compiler_pic='-fPIC'
6788 # PORTME Check for flag to pass linker flags through the system compiler.
6791 lt_prog_compiler_wl='-Wl,'
6792 if test "$host_cpu" = ia64; then
6793 # AIX 5 now supports IA64 processor
6794 lt_prog_compiler_static='-Bstatic'
6796 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6800 mingw* | cygwin* | pw32* | os2* | cegcc*)
6801 # This hack is so that the source file can tell whether it is being
6802 # built for inclusion in a dll (and should export symbols for example).
6803 lt_prog_compiler_pic='-DDLL_EXPORT'
6806 hpux9* | hpux10* | hpux11*)
6807 lt_prog_compiler_wl='-Wl,'
6808 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6815 lt_prog_compiler_pic='+Z'
6818 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6819 lt_prog_compiler_static='${wl}-a ${wl}archive'
6822 irix5* | irix6* | nonstopux*)
6823 lt_prog_compiler_wl='-Wl,'
6824 # PIC (with -KPIC) is the default.
6825 lt_prog_compiler_static='-non_shared'
6828 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6829 case $cc_basename in
6830 # old Intel for x86_64 which still supported -KPIC.
6832 lt_prog_compiler_wl='-Wl,'
6833 lt_prog_compiler_pic='-KPIC'
6834 lt_prog_compiler_static='-static'
6836 # icc used to be incompatible with GCC.
6837 # ICC 10 doesn't accept -KPIC any more.
6839 lt_prog_compiler_wl='-Wl,'
6840 lt_prog_compiler_pic='-fPIC'
6841 lt_prog_compiler_static='-static'
6843 # Lahey Fortran 8.1.
6845 lt_prog_compiler_wl='-Wl,'
6846 lt_prog_compiler_pic='--shared'
6847 lt_prog_compiler_static='--static'
6849 pgcc* | pgf77* | pgf90* | pgf95*)
6850 # Portland Group compilers (*not* the Pentium gcc compiler,
6851 # which looks to be a dead project)
6852 lt_prog_compiler_wl='-Wl,'
6853 lt_prog_compiler_pic='-fpic'
6854 lt_prog_compiler_static='-Bstatic'
6857 lt_prog_compiler_wl='-Wl,'
6858 # All Alpha code is PIC.
6859 lt_prog_compiler_static='-non_shared'
6862 # IBM XL C 8.0/Fortran 10.1 on PPC
6863 lt_prog_compiler_wl='-Wl,'
6864 lt_prog_compiler_pic='-qpic'
6865 lt_prog_compiler_static='-qstaticlink'
6868 case `$CC -V 2>&1 | sed 5q` in
6871 lt_prog_compiler_pic='-KPIC'
6872 lt_prog_compiler_static='-Bstatic'
6873 lt_prog_compiler_wl='-Wl,'
6876 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6877 lt_prog_compiler_pic='-KPIC'
6878 lt_prog_compiler_static='-Bstatic'
6879 lt_prog_compiler_wl=''
6887 lt_prog_compiler_pic='-KPIC'
6888 lt_prog_compiler_static='-Bstatic'
6892 # QNX uses GNU C++, but need to define -shared option too, otherwise
6894 lt_prog_compiler_pic='-fPIC -shared'
6897 osf3* | osf4* | osf5*)
6898 lt_prog_compiler_wl='-Wl,'
6899 # All OSF/1 code is PIC.
6900 lt_prog_compiler_static='-non_shared'
6904 lt_prog_compiler_static='-non_shared'
6908 lt_prog_compiler_pic='-KPIC'
6909 lt_prog_compiler_static='-Bstatic'
6910 case $cc_basename in
6912 lt_prog_compiler_wl='-Qoption ld ';;
6914 lt_prog_compiler_wl='-Wl,';;
6919 lt_prog_compiler_wl='-Qoption ld '
6920 lt_prog_compiler_pic='-PIC'
6921 lt_prog_compiler_static='-Bstatic'
6924 sysv4 | sysv4.2uw2* | sysv4.3*)
6925 lt_prog_compiler_wl='-Wl,'
6926 lt_prog_compiler_pic='-KPIC'
6927 lt_prog_compiler_static='-Bstatic'
6931 if test -d /usr/nec ;then
6932 lt_prog_compiler_pic='-Kconform_pic'
6933 lt_prog_compiler_static='-Bstatic'
6937 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6938 lt_prog_compiler_wl='-Wl,'
6939 lt_prog_compiler_pic='-KPIC'
6940 lt_prog_compiler_static='-Bstatic'
6944 lt_prog_compiler_wl='-Wl,'
6945 lt_prog_compiler_can_build_shared=no
6949 lt_prog_compiler_pic='-pic'
6950 lt_prog_compiler_static='-Bstatic'
6954 lt_prog_compiler_can_build_shared=no
6960 # For platforms which do not support PIC, -DPIC is meaningless:
6962 lt_prog_compiler_pic=
6965 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6968 echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
6969 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6977 # Check to make sure the PIC flag actually works.
6979 if test -n "$lt_prog_compiler_pic"; then
6980 echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
6981 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6
6982 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
6983 echo $ECHO_N "(cached
) $ECHO_C" >&6
6985 lt_cv_prog_compiler_pic_works=no
6986 ac_outfile=conftest.$ac_objext
6987 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6988 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6989 # Insert the option either (1) after the last *FLAGS variable, or
6990 # (2) before a word containing "conftest.
", or (3) at the end.
6991 # Note that $ac_compile itself does not contain backslashes and begins
6992 # with a dollar sign (not a hyphen), so the echo should work correctly.
6993 # The option is referenced via a variable to avoid confusing sed.
6994 lt_compile=`echo "$ac_compile" | $SED \
6995 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6996 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6997 -e 's:$: $lt_compiler_flag:'`
6998 (eval echo "\"\
$as_me:6998: $lt_compile\"" >&5)
6999 (eval "$lt_compile" 2>conftest.err)
7001 cat conftest.err >&5
7002 echo "$as_me:7002: \$?
= $ac_status" >&5
7003 if (exit $ac_status) && test -s "$ac_outfile"; then
7004 # The compiler can only warn and ignore the option if not recognized
7005 # So say no if there are warnings other than the usual output.
7006 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7007 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7008 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7009 lt_cv_prog_compiler_pic_works=yes
7015 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_pic_works" >&5
7016 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
7018 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7019 case $lt_prog_compiler_pic in
7021 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7024 lt_prog_compiler_pic=
7025 lt_prog_compiler_can_build_shared=no
7036 # Check to make sure the static flag actually works.
7038 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7039 echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
7040 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6
7041 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7042 echo $ECHO_N "(cached
) $ECHO_C" >&6
7044 lt_cv_prog_compiler_static_works=no
7045 save_LDFLAGS="$LDFLAGS"
7046 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7047 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7048 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7049 # The linker can only warn and ignore the option if not recognized
7050 # So say no if there are warnings
7051 if test -s conftest.err; then
7052 # Append any errors to the config.log.
7053 cat conftest.err 1>&5
7054 $ECHO "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7055 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7056 if diff conftest.exp conftest.er2 >/dev/null; then
7057 lt_cv_prog_compiler_static_works=yes
7060 lt_cv_prog_compiler_static_works=yes
7064 LDFLAGS="$save_LDFLAGS"
7067 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_static_works" >&5
7068 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
7070 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7073 lt_prog_compiler_static=
7082 echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7083 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6
7084 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7085 echo $ECHO_N "(cached
) $ECHO_C" >&6
7087 lt_cv_prog_compiler_c_o=no
7088 $RM -r conftest 2>/dev/null
7092 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7094 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7095 # Insert the option either (1) after the last *FLAGS variable, or
7096 # (2) before a word containing "conftest.
", or (3) at the end.
7097 # Note that $ac_compile itself does not contain backslashes and begins
7098 # with a dollar sign (not a hyphen), so the echo should work correctly.
7099 lt_compile=`echo "$ac_compile" | $SED \
7100 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7102 -e 's:$: $lt_compiler_flag:'`
7103 (eval echo "\"\
$as_me:7103: $lt_compile\"" >&5)
7104 (eval "$lt_compile" 2>out/conftest.err)
7106 cat out/conftest.err >&5
7107 echo "$as_me:7107: \$?
= $ac_status" >&5
7108 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7110 # The compiler can only warn and ignore the option if not recognized
7111 # So say no if there are warnings
7112 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7113 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7114 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7115 lt_cv_prog_compiler_c_o=yes
7120 # SGI C++ compiler will create directory out/ii_files/ for
7121 # template instantiation
7122 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7123 $RM out/* && rmdir out
7129 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
7130 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7137 echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7138 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6
7139 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7140 echo $ECHO_N "(cached
) $ECHO_C" >&6
7142 lt_cv_prog_compiler_c_o=no
7143 $RM -r conftest 2>/dev/null
7147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7149 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7150 # Insert the option either (1) after the last *FLAGS variable, or
7151 # (2) before a word containing "conftest.
", or (3) at the end.
7152 # Note that $ac_compile itself does not contain backslashes and begins
7153 # with a dollar sign (not a hyphen), so the echo should work correctly.
7154 lt_compile=`echo "$ac_compile" | $SED \
7155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7157 -e 's:$: $lt_compiler_flag:'`
7158 (eval echo "\"\
$as_me:7158: $lt_compile\"" >&5)
7159 (eval "$lt_compile" 2>out/conftest.err)
7161 cat out/conftest.err >&5
7162 echo "$as_me:7162: \$?
= $ac_status" >&5
7163 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7165 # The compiler can only warn and ignore the option if not recognized
7166 # So say no if there are warnings
7167 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7168 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7169 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7170 lt_cv_prog_compiler_c_o=yes
7175 # SGI C++ compiler will create directory out/ii_files/ for
7176 # template instantiation
7177 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7178 $RM out/* && rmdir out
7184 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
7185 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7190 hard_links="nottested
"
7191 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7192 # do not overwrite the value of need_locks provided by the user
7193 echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
7194 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6
7197 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7199 ln conftest.a conftest.b 2>&5 || hard_links=no
7200 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7201 echo "$as_me:$LINENO: result
: $hard_links" >&5
7202 echo "${ECHO_T}$hard_links" >&6
7203 if test "$hard_links" = no; then
7204 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
7205 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
7217 echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
7218 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6
7221 allow_undefined_flag=
7222 always_export_symbols=no
7224 archive_expsym_cmds=
7225 compiler_needs_object=no
7226 enable_shared_with_static_runtimes=no
7227 export_dynamic_flag_spec=
7228 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7229 hardcode_automatic=no
7231 hardcode_direct_absolute=no
7232 hardcode_libdir_flag_spec=
7233 hardcode_libdir_flag_spec_ld=
7234 hardcode_libdir_separator=
7236 hardcode_shlibpath_var=unsupported
7238 link_all_deplibs=unknown
7241 old_archive_from_new_cmds=
7242 old_archive_from_expsyms_cmds=
7243 thread_safe_flag_spec=
7244 whole_archive_flag_spec=
7245 # include_expsyms should be a list of space-separated symbols to be *always*
7246 # included in the symbol list
7248 # exclude_expsyms can be an extended regexp of symbols to exclude
7249 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7250 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7251 # as well as any symbol that contains `d'.
7252 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7253 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7254 # platforms (ab)use it in PIC code, but their linkers get confused if
7255 # the symbol is explicitly referenced. Since portable code cannot
7256 # rely on this symbol name, it's probably fine to never include it in
7257 # preloaded symbol tables.
7258 # Exclude shared library initialization/finalization symbols.
7259 extract_expsyms_cmds=
7262 cygwin* | mingw* | pw32* | cegcc*)
7263 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7264 # When not using gcc, we currently assume that we are using
7265 # Microsoft Visual C++.
7266 if test "$GCC" != yes; then
7271 # we just hope/assume this is gcc and not c89 (= MSVC++)
7280 if test "$with_gnu_ld" = yes; then
7281 # If archive_cmds runs LD, not CC, wlarc should be empty
7284 # Set some defaults for GNU ld with shared library support. These
7285 # are reset later if shared libraries are not supported. Putting them
7286 # here allows them to be overridden if necessary.
7287 runpath_var=LD_RUN_PATH
7288 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7289 export_dynamic_flag_spec='${wl}--export-dynamic'
7290 # ancient GNU ld didn't support --whole-archive et. al.
7291 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7292 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7294 whole_archive_flag_spec=
7296 supports_anon_versioning=no
7297 case `$LD -v 2>&1` in
7298 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7299 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7300 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7301 *\ 2.11.*) ;; # other 2.11 versions
7302 *) supports_anon_versioning=yes ;;
7305 # See if GNU ld supports shared libraries.
7308 # On AIX/PPC, the GNU linker is very broken
7309 if test "$host_cpu" != ia64; then
7313 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7314 *** to be unable to reliably create shared libraries on AIX.
7315 *** Therefore, libtool is disabling shared libraries support. If you
7316 *** really care for shared libraries, you may want to modify your PATH
7317 *** so that a non-GNU linker is found, and then restart.
7326 # see comment about AmigaOS4 .so support
7327 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7328 archive_expsym_cmds=''
7331 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)'
7332 hardcode_libdir_flag_spec
='-L$libdir'
7333 hardcode_minus_L
=yes
7339 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7340 allow_undefined_flag
=unsupported
7341 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7342 # support --undefined. This deserves some investigation. FIXME
7343 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7349 cygwin
* | mingw
* | pw32
* | cegcc
*)
7350 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7351 # as there is no search path for DLLs.
7352 hardcode_libdir_flag_spec
='-L$libdir'
7353 allow_undefined_flag
=unsupported
7354 always_export_symbols
=no
7355 enable_shared_with_static_runtimes
=yes
7356 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7358 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7359 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7360 # If the export-symbols file already is a .def file (1st line
7361 # is EXPORTS), use it as is; otherwise, prepend...
7362 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7363 cp $export_symbols $output_objdir/$soname.def;
7365 echo EXPORTS > $output_objdir/$soname.def;
7366 cat $export_symbols >> $output_objdir/$soname.def;
7368 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7376 hardcode_shlibpath_var
=no
7377 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7378 export_dynamic_flag_spec
='${wl}-E'
7379 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7380 # Instead, shared libraries are loaded at an image base (0x10000000 by
7381 # default) and relocated if they conflict, which is a slow very memory
7382 # consuming and fragmenting process. To avoid this, we pick a random,
7383 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7384 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7385 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7386 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'
7389 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7391 if test "$host_os" = linux-dietlibc
; then
7392 case $cc_basename in
7393 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7396 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7397 && test "$tmp_diet" = no
7400 tmp_sharedflag
='-shared'
7401 case $cc_basename,$host_cpu in
7402 pgcc
*) # Portland Group C compiler
7403 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'
7404 tmp_addflag
=' $pic_flag'
7406 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7407 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'
7408 tmp_addflag
=' $pic_flag -Mnomain' ;;
7409 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7410 tmp_addflag
=' -i_dynamic' ;;
7411 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7412 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7413 ifc
* | ifort
*) # Intel Fortran compiler
7414 tmp_addflag
=' -nofor_main' ;;
7415 lf95
*) # Lahey Fortran 8.1
7416 whole_archive_flag_spec
=
7417 tmp_sharedflag
='--shared' ;;
7418 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7419 tmp_sharedflag
='-qmkshrobj'
7422 case `$CC -V 2>&1 | sed 5q` in
7423 *Sun\ C
*) # Sun C 5.9
7424 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'
7425 compiler_needs_object
=yes
7426 tmp_sharedflag
='-G' ;;
7427 *Sun\ F
*) # Sun Fortran 8.3
7428 tmp_sharedflag
='-G' ;;
7430 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7432 if test "x$supports_anon_versioning" = xyes
; then
7433 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7434 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7435 echo "local: *; };" >> $output_objdir/$libname.ver~
7436 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7439 case $cc_basename in
7441 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7442 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7443 hardcode_libdir_flag_spec
=
7444 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7445 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7446 if test "x$supports_anon_versioning" = xyes
; then
7447 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7448 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7449 echo "local: *; };" >> $output_objdir/$libname.ver~
7450 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7460 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7461 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7464 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7465 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7470 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7474 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7475 *** create shared libraries on Solaris systems. Therefore, libtool
7476 *** is disabling shared libraries support. We urge you to upgrade GNU
7477 *** binutils to release 2.9.1 or newer. Another option is to modify
7478 *** your PATH or compiler configuration so that the native linker is
7479 *** used, and then restart.
7482 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7483 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7484 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7490 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7491 case `$LD -v 2>&1` in
7492 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7496 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7497 *** reliably create shared libraries on SCO systems. Therefore, libtool
7498 *** is disabling shared libraries support. We urge you to upgrade GNU
7499 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7500 *** your PATH or compiler configuration so that the native linker is
7501 *** used, and then restart.
7506 # For security reasons, it is highly recommended that you always
7507 # use absolute paths for naming shared libraries, and exclude the
7508 # DT_RUNPATH tag from executables and libraries. But doing so
7509 # requires that you compile everything twice, which is a pain.
7510 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7511 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7512 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7513 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7522 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7525 hardcode_shlibpath_var
=no
7529 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7530 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7531 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7538 if test "$ld_shlibs" = no
; then
7540 hardcode_libdir_flag_spec
=
7541 export_dynamic_flag_spec
=
7542 whole_archive_flag_spec
=
7545 # PORTME fill in a description of your system's linker (not GNU ld)
7548 allow_undefined_flag
=unsupported
7549 always_export_symbols
=yes
7550 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'
7551 # Note: this linker hardcodes the directories in LIBPATH if there
7552 # are no directories specified by -L.
7553 hardcode_minus_L
=yes
7554 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7555 # Neither direct hardcoding nor static linking is supported with a
7557 hardcode_direct
=unsupported
7562 if test "$host_cpu" = ia64
; then
7563 # On IA64, the linker does run time linking by default, so we don't
7564 # have to do anything special.
7565 aix_use_runtimelinking
=no
7566 exp_sym_flag
='-Bexport'
7569 # If we're using GNU nm, then we don't want the "-C" option.
7570 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7571 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7572 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'
7574 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'
7576 aix_use_runtimelinking
=no
7578 # Test if we are trying to use run time linking or normal
7579 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7580 # need to do runtime linking.
7581 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7582 for ld_flag
in $LDFLAGS; do
7583 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7584 aix_use_runtimelinking
=yes
7591 exp_sym_flag
='-bexport'
7592 no_entry_flag
='-bnoentry'
7595 # When large executables or shared objects are built, AIX ld can
7596 # have problems creating the table of contents. If linking a library
7597 # or program results in "error TOC overflow" add -mminimal-toc to
7598 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7599 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7603 hardcode_direct_absolute
=yes
7604 hardcode_libdir_separator
=':'
7605 link_all_deplibs
=yes
7606 file_list_spec
='${wl}-f,'
7608 if test "$GCC" = yes; then
7609 case $host_os in aix4.
[012]|aix4.
[012].
*)
7610 # We only want to do this on AIX 4.2 and lower, the check
7611 # below for broken collect2 doesn't work under 4.3+
7612 collect2name
=`${CC} -print-prog-name=collect2`
7613 if test -f "$collect2name" &&
7614 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7616 # We have reworked collect2
7619 # We have old collect2
7620 hardcode_direct
=unsupported
7621 # It fails to find uninstalled libraries when the uninstalled
7622 # path is not listed in the libpath. Setting hardcode_minus_L
7623 # to unsupported forces relinking
7624 hardcode_minus_L
=yes
7625 hardcode_libdir_flag_spec
='-L$libdir'
7626 hardcode_libdir_separator
=
7630 shared_flag
='-shared'
7631 if test "$aix_use_runtimelinking" = yes; then
7632 shared_flag
="$shared_flag "'${wl}-G'
7636 if test "$host_cpu" = ia64
; then
7637 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7638 # chokes on -Wl,-G. The following line is correct:
7641 if test "$aix_use_runtimelinking" = yes; then
7642 shared_flag
='${wl}-G'
7644 shared_flag
='${wl}-bM:SRE'
7649 export_dynamic_flag_spec
='${wl}-bexpall'
7650 # It seems that -bexpall does not export symbols beginning with
7651 # underscore (_), so it is better to generate a list of symbols to export.
7652 always_export_symbols
=yes
7653 if test "$aix_use_runtimelinking" = yes; then
7654 # Warning - without using the other runtime loading flags (-brtl),
7655 # -berok will link without error, but may produce a broken library.
7656 allow_undefined_flag
='-berok'
7657 # Determine the default libpath from the value encoded in an
7659 if test x
$gcc_no_link = xyes
; then
7660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7662 { (exit 1); exit 1; }; }
7664 cat >conftest.
$ac_ext <<_ACEOF
7667 cat confdefs.h
>>conftest.
$ac_ext
7668 cat >>conftest.
$ac_ext <<_ACEOF
7669 /* end confdefs.h. */
7679 rm -f conftest.
$ac_objext conftest
$ac_exeext
7680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7681 (eval $ac_link) 2>conftest.er1
7683 grep -v '^ *+' conftest.er1
>conftest.err
7685 cat conftest.err
>&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); } &&
7688 { ac_try
='test -z "$ac_c_werror_flag"
7689 || test ! -s conftest.err'
7690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 (exit $ac_status); }; } &&
7695 { ac_try
='test -s conftest$ac_exeext'
7696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); }; }; then
7702 lt_aix_libpath_sed
='
7703 /Import File Strings/,/^$/ {
7709 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7710 # Check for a 64-bit object if we didn't find anything.
7711 if test -z "$aix_libpath"; then
7712 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7715 echo "$as_me: failed program was:" >&5
7716 sed 's/^/| /' conftest.
$ac_ext >&5
7719 rm -f conftest.err conftest.
$ac_objext \
7720 conftest
$ac_exeext conftest.
$ac_ext
7721 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7723 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7724 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"
7726 if test "$host_cpu" = ia64
; then
7727 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7728 allow_undefined_flag
="-z nodefs"
7729 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"
7731 # Determine the default libpath from the value encoded in an
7733 if test x
$gcc_no_link = xyes
; then
7734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7736 { (exit 1); exit 1; }; }
7738 cat >conftest.
$ac_ext <<_ACEOF
7741 cat confdefs.h
>>conftest.
$ac_ext
7742 cat >>conftest.
$ac_ext <<_ACEOF
7743 /* end confdefs.h. */
7753 rm -f conftest.
$ac_objext conftest
$ac_exeext
7754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7755 (eval $ac_link) 2>conftest.er1
7757 grep -v '^ *+' conftest.er1
>conftest.err
7759 cat conftest.err
>&5
7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761 (exit $ac_status); } &&
7762 { ac_try
='test -z "$ac_c_werror_flag"
7763 || test ! -s conftest.err'
7764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768 (exit $ac_status); }; } &&
7769 { ac_try
='test -s conftest$ac_exeext'
7770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); }; }; then
7776 lt_aix_libpath_sed
='
7777 /Import File Strings/,/^$/ {
7783 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7784 # Check for a 64-bit object if we didn't find anything.
7785 if test -z "$aix_libpath"; then
7786 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7789 echo "$as_me: failed program was:" >&5
7790 sed 's/^/| /' conftest.
$ac_ext >&5
7793 rm -f conftest.err conftest.
$ac_objext \
7794 conftest
$ac_exeext conftest.
$ac_ext
7795 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7797 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7798 # Warning - without using the other run time loading flags,
7799 # -berok will link without error, but may produce a broken library.
7800 no_undefined_flag
=' ${wl}-bernotok'
7801 allow_undefined_flag
=' ${wl}-berok'
7802 # Exported symbols can be pulled into shared objects from archives
7803 whole_archive_flag_spec
='$convenience'
7804 archive_cmds_need_lc
=yes
7805 # This is similar to how AIX traditionally builds its shared libraries.
7806 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'
7814 # see comment about AmigaOS4 .so support
7815 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7816 archive_expsym_cmds
=''
7819 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)'
7820 hardcode_libdir_flag_spec
='-L$libdir'
7821 hardcode_minus_L
=yes
7827 export_dynamic_flag_spec
=-rdynamic
7830 cygwin
* | mingw
* | pw32
* | cegcc
*)
7831 # When not using gcc, we currently assume that we are using
7832 # Microsoft Visual C++.
7833 # hardcode_libdir_flag_spec is actually meaningless, as there is
7834 # no search path for DLLs.
7835 hardcode_libdir_flag_spec
=' '
7836 allow_undefined_flag
=unsupported
7837 # Tell ltmain to make .lib files, not .a files.
7839 # Tell ltmain to make .dll files, not .so files.
7841 # FIXME: Setting linknames here is a bad hack.
7842 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7843 # The linker will automatically build a .lib file if we build a DLL.
7844 old_archive_from_new_cmds
='true'
7845 # FIXME: Should let the user specify the lib program.
7846 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7847 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7848 enable_shared_with_static_runtimes
=yes
7851 darwin
* | rhapsody
*)
7854 archive_cmds_need_lc
=no
7856 hardcode_automatic
=yes
7857 hardcode_shlibpath_var
=unsupported
7858 whole_archive_flag_spec
=''
7859 link_all_deplibs
=yes
7860 allow_undefined_flag
="$_lt_dar_allow_undefined"
7861 case $cc_basename in
7862 ifort
*) _lt_dar_can_shared
=yes ;;
7863 *) _lt_dar_can_shared
=$GCC ;;
7865 if test "$_lt_dar_can_shared" = "yes"; then
7866 output_verbose_link_cmd
=echo
7867 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7868 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7869 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}"
7870 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}"
7879 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7880 hardcode_libdir_flag_spec
='-L$libdir'
7881 hardcode_shlibpath_var
=no
7888 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7889 # support. Future versions do this automatically, but an explicit c++rt0.o
7890 # does not break anything, and helps significantly (at the cost of a little
7893 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7894 hardcode_libdir_flag_spec
='-R$libdir'
7896 hardcode_shlibpath_var
=no
7899 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7901 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7903 hardcode_minus_L
=yes
7904 hardcode_shlibpath_var
=no
7907 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7908 freebsd
* | dragonfly
*)
7909 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7910 hardcode_libdir_flag_spec
='-R$libdir'
7912 hardcode_shlibpath_var
=no
7916 if test "$GCC" = yes; then
7917 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'
7919 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'
7921 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7922 hardcode_libdir_separator
=:
7925 # hardcode_minus_L: Not really in the search PATH,
7926 # but as the default location of the library.
7927 hardcode_minus_L
=yes
7928 export_dynamic_flag_spec
='${wl}-E'
7932 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7933 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7935 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7937 if test "$with_gnu_ld" = no
; then
7938 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7939 hardcode_libdir_flag_spec_ld
='+b $libdir'
7940 hardcode_libdir_separator
=:
7942 hardcode_direct_absolute
=yes
7943 export_dynamic_flag_spec
='${wl}-E'
7944 # hardcode_minus_L: Not really in the search PATH,
7945 # but as the default location of the library.
7946 hardcode_minus_L
=yes
7951 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7954 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7957 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7960 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7966 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7969 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7972 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7976 if test "$with_gnu_ld" = no
; then
7977 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7978 hardcode_libdir_separator
=:
7983 hardcode_shlibpath_var
=no
7987 hardcode_direct_absolute
=yes
7988 export_dynamic_flag_spec
='${wl}-E'
7990 # hardcode_minus_L: Not really in the search PATH,
7991 # but as the default location of the library.
7992 hardcode_minus_L
=yes
7998 irix5
* | irix6
* | nonstopux
*)
7999 if test "$GCC" = yes; then
8000 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'
8001 # Try to use the -exported_symbol ld option, if it does not
8002 # work, assume that -exports_file does not work either and
8003 # implicitly export all symbols.
8004 save_LDFLAGS
="$LDFLAGS"
8005 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8006 if test x
$gcc_no_link = xyes
; then
8007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8009 { (exit 1); exit 1; }; }
8011 cat >conftest.
$ac_ext <<_ACEOF
8014 rm -f conftest.
$ac_objext conftest
$ac_exeext
8015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8016 (eval $ac_link) 2>conftest.er1
8018 grep -v '^ *+' conftest.er1
>conftest.err
8020 cat conftest.err
>&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); } &&
8023 { ac_try
='test -z "$ac_c_werror_flag"
8024 || test ! -s conftest.err'
8025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); }; } &&
8030 { ac_try
='test -s conftest$ac_exeext'
8031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8035 (exit $ac_status); }; }; then
8036 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'
8039 echo "$as_me: failed program was:" >&5
8040 sed 's/^/| /' conftest.
$ac_ext >&5
8043 rm -f conftest.err conftest.
$ac_objext \
8044 conftest
$ac_exeext conftest.
$ac_ext
8045 LDFLAGS
="$save_LDFLAGS"
8047 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'
8048 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'
8050 archive_cmds_need_lc
='no'
8051 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8052 hardcode_libdir_separator
=:
8054 link_all_deplibs
=yes
8058 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8059 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8061 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8063 hardcode_libdir_flag_spec
='-R$libdir'
8065 hardcode_shlibpath_var
=no
8069 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8071 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8072 hardcode_libdir_separator
=:
8073 hardcode_shlibpath_var
=no
8080 if test -f /usr
/libexec
/ld.so
; then
8082 hardcode_shlibpath_var
=no
8083 hardcode_direct_absolute
=yes
8084 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8085 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8086 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8087 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8088 export_dynamic_flag_spec
='${wl}-E'
8091 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8092 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8093 hardcode_libdir_flag_spec
='-R$libdir'
8096 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8097 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8107 hardcode_libdir_flag_spec
='-L$libdir'
8108 hardcode_minus_L
=yes
8109 allow_undefined_flag
=unsupported
8110 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'
8111 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8115 if test "$GCC" = yes; then
8116 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8117 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'
8119 allow_undefined_flag
=' -expect_unresolved \*'
8120 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'
8122 archive_cmds_need_lc
='no'
8123 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8124 hardcode_libdir_separator
=:
8127 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8128 if test "$GCC" = yes; then
8129 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8130 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'
8131 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8133 allow_undefined_flag
=' -expect_unresolved \*'
8134 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'
8135 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~
8136 $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'
8138 # Both c and cxx compiler support -rpath directly
8139 hardcode_libdir_flag_spec
='-rpath $libdir'
8141 archive_cmds_need_lc
='no'
8142 hardcode_libdir_separator
=:
8146 no_undefined_flag
=' -z defs'
8147 if test "$GCC" = yes; then
8149 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8150 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8151 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8153 case `$CC -V 2>&1` in
8156 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8157 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8158 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8162 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8163 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8164 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8168 hardcode_libdir_flag_spec
='-R$libdir'
8169 hardcode_shlibpath_var
=no
8171 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8173 # The compiler driver will combine and reorder linker options,
8174 # but understands `-z linker_flag'. GCC discards it without `$wl',
8175 # but is careful enough not to reorder.
8176 # Supported since Solaris 2.6 (maybe 2.5.1?)
8177 if test "$GCC" = yes; then
8178 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8180 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8184 link_all_deplibs
=yes
8188 if test "x$host_vendor" = xsequent
; then
8189 # Use $CC to link under sequent, because it throws in some extra .o
8190 # files that make .init and .fini sections work.
8191 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8193 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8195 hardcode_libdir_flag_spec
='-L$libdir'
8197 hardcode_minus_L
=yes
8198 hardcode_shlibpath_var
=no
8202 case $host_vendor in
8204 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8205 hardcode_direct
=yes # is this really true???
8208 ## LD is ld it makes a PLAMLIB
8209 ## CC just makes a GrossModule.
8210 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8211 reload_cmds
='$CC -r -o $output$reload_objs'
8215 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8216 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8219 runpath_var
='LD_RUN_PATH'
8220 hardcode_shlibpath_var
=no
8224 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8225 hardcode_shlibpath_var
=no
8226 export_dynamic_flag_spec
='-Bexport'
8230 if test -d /usr
/nec
; then
8231 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8232 hardcode_shlibpath_var
=no
8233 runpath_var
=LD_RUN_PATH
8234 hardcode_runpath_var
=yes
8239 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8240 no_undefined_flag
='${wl}-z,text'
8241 archive_cmds_need_lc
=no
8242 hardcode_shlibpath_var
=no
8243 runpath_var
='LD_RUN_PATH'
8245 if test "$GCC" = yes; then
8246 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8247 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8249 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8250 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8254 sysv5
* | sco3.2v5
* | sco5v6
*)
8255 # Note: We can NOT use -z defs as we might desire, because we do not
8256 # link with -lc, and that would cause any symbols used from libc to
8257 # always be unresolved, which means just about no library would
8258 # ever link correctly. If we're not using GNU ld we use -z text
8259 # though, which does catch some bad symbols but isn't as heavy-handed
8261 no_undefined_flag
='${wl}-z,text'
8262 allow_undefined_flag
='${wl}-z,nodefs'
8263 archive_cmds_need_lc
=no
8264 hardcode_shlibpath_var
=no
8265 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8266 hardcode_libdir_separator
=':'
8267 link_all_deplibs
=yes
8268 export_dynamic_flag_spec
='${wl}-Bexport'
8269 runpath_var
='LD_RUN_PATH'
8271 if test "$GCC" = yes; then
8272 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8273 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8275 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8276 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8281 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8282 hardcode_libdir_flag_spec
='-L$libdir'
8283 hardcode_shlibpath_var
=no
8291 if test x
$host_vendor = xsni
; then
8293 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8294 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8300 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8301 echo "${ECHO_T}$ld_shlibs" >&6
8302 test "$ld_shlibs" = no
&& can_build_shared
=no
8304 with_gnu_ld
=$with_gnu_ld
8321 # Do we need to explicitly link libc?
8323 case "x$archive_cmds_need_lc" in
8325 # Assume -lc should be added
8326 archive_cmds_need_lc
=yes
8328 if test "$enable_shared" = yes && test "$GCC" = yes; then
8329 case $archive_cmds in
8331 # FIXME: we may have to deal with multi-command sequences.
8334 # Test whether the compiler implicitly links with -lc since on some
8335 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8336 # to ld, don't add -lc before -lgcc.
8337 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8338 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8339 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8343 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8346 (eval $ac_compile) 2>&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); } 2>conftest.err
; then
8352 libobjs
=conftest.
$ac_objext
8354 wl
=$lt_prog_compiler_wl
8355 pic_flag
=$lt_prog_compiler_pic
8361 lt_save_allow_undefined_flag
=$allow_undefined_flag
8362 allow_undefined_flag
=
8363 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8364 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); }
8369 lt_cv_archive_cmds_need_lc
=no
8371 lt_cv_archive_cmds_need_lc
=yes
8373 allow_undefined_flag
=$lt_save_allow_undefined_flag
8375 cat conftest.err
1>&5
8380 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
8381 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
8382 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
8545 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8546 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8548 if test "$GCC" = yes; then
8550 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8551 *) lt_awk_arg
="/^libraries:/" ;;
8553 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8554 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8555 # if the path contains ";" then we assume it to be the separator
8556 # otherwise default to the standard path separator (i.e. ":") - it is
8557 # assumed that no part of a normal pathname contains ";" but that should
8558 # okay in the real world where ";" in dirpaths is itself problematic.
8559 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8561 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8563 # Ok, now we have the path, separated by spaces, we can step through it
8564 # and add multilib dir if necessary.
8565 lt_tmp_lt_search_path_spec
=
8566 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8567 for lt_sys_path
in $lt_search_path_spec; do
8568 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8569 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8571 test -d "$lt_sys_path" && \
8572 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8575 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8576 BEGIN {RS=" "; FS="/|\n";} {
8579 for (lt_i = NF; lt_i > 0; lt_i--) {
8580 if ($lt_i != "" && $lt_i != ".") {
8581 if ($lt_i == "..") {
8584 if (lt_count == 0) {
8585 lt_foo="/" $lt_i lt_foo;
8592 if (lt_foo != "") { lt_freq[lt_foo]++; }
8593 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8595 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8597 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8600 libname_spec
='lib$name'
8608 shlibpath_overrides_runpath
=unknown
8610 dynamic_linker
="$host_os ld.so"
8611 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8612 need_lib_prefix
=unknown
8613 hardcode_into_libs
=no
8615 # when you set need_version to no, make sure it does not cause -set_version
8616 # flags to be left without arguments
8617 need_version
=unknown
8622 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8623 shlibpath_var
=LIBPATH
8625 # AIX 3 has no versioning support, so we append a major version to the name.
8626 soname_spec
='${libname}${release}${shared_ext}$major'
8633 hardcode_into_libs
=yes
8634 if test "$host_cpu" = ia64
; then
8635 # AIX 5 supports IA64
8636 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8637 shlibpath_var
=LD_LIBRARY_PATH
8639 # With GCC up to 2.95.x, collect2 would create an import file
8640 # for dependence libraries. The import file would start with
8641 # the line `#! .'. This would cause the generated library to
8642 # depend on `.', always an invalid library. This was fixed in
8643 # development snapshots of GCC prior to 3.0.
8645 aix4 | aix4.
[01] | aix4.
[01].
*)
8646 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8648 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8655 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8656 # soname into executable. Probably we can add versioning support to
8657 # collect2, so additional links can be useful in future.
8658 if test "$aix_use_runtimelinking" = yes; then
8659 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8660 # instead of lib<name>.a to let people know that these are not
8661 # typical AIX shared libraries.
8662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8664 # We preserve .a as extension for shared libraries through AIX4.2
8665 # and later when we are not doing run time linking.
8666 library_names_spec
='${libname}${release}.a $libname.a'
8667 soname_spec
='${libname}${release}${shared_ext}$major'
8669 shlibpath_var
=LIBPATH
8676 # Since July 2007 AmigaOS4 officially supports .so libraries.
8677 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8681 library_names_spec
='$libname.ixlibrary $libname.a'
8682 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8683 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'
8689 library_names_spec
='${libname}${shared_ext}'
8690 dynamic_linker
="$host_os ld.so"
8691 shlibpath_var
=LIBRARY_PATH
8697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8698 soname_spec
='${libname}${release}${shared_ext}$major'
8699 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8700 shlibpath_var
=LD_LIBRARY_PATH
8701 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8702 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8703 # the default ld.so.conf also contains /usr/contrib/lib and
8704 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8705 # libtool to hard-code these into programs
8708 cygwin
* | mingw
* | pw32
* | cegcc
*)
8709 version_type
=windows
8714 case $GCC,$host_os in
8715 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
8716 library_names_spec
='$libname.dll.a'
8717 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8718 postinstall_cmds
='base_file=`basename \${file}`~
8719 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8720 dldir=$destdir/`dirname \$dlpath`~
8721 test -d \$dldir || mkdir -p \$dldir~
8722 $install_prog $dir/$dlname \$dldir/$dlname~
8723 chmod a+x \$dldir/$dlname~
8724 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8725 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8727 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8728 dlpath=$dir/\$dldll~
8730 shlibpath_overrides_runpath
=yes
8734 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8735 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8736 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8739 # MinGW DLLs use traditional 'lib' prefix
8740 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8741 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8742 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8743 # It is most probably a Windows format PATH printed by
8744 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8745 # path with ; separators, and with drive letters. We can handle the
8746 # drive letters (cygwin fileutils understands them), so leave them,
8747 # especially as we might pass files found there to a mingw objdump,
8748 # which wouldn't understand a cygwinified path. Ahh.
8749 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8751 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8755 # pw32 DLLs use 'pw' prefix rather than 'lib'
8756 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8762 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8765 dynamic_linker
='Win32 ld.exe'
8766 # FIXME: first we should search . and the directory the executable is in
8770 darwin
* | rhapsody
*)
8771 dynamic_linker
="$host_os dyld"
8775 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8776 soname_spec
='${libname}${release}${major}$shared_ext'
8777 shlibpath_overrides_runpath
=yes
8778 shlibpath_var
=DYLD_LIBRARY_PATH
8779 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8781 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8782 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8790 soname_spec
='${libname}${release}${shared_ext}$major'
8791 shlibpath_var
=LD_LIBRARY_PATH
8798 freebsd
* | dragonfly
*)
8799 # DragonFly does not have aout. When/if they implement a new
8800 # versioning mechanism, adjust this.
8801 if test -x /usr
/bin
/objformat
; then
8802 objformat
=`/usr/bin/objformat`
8805 freebsd
[123]*) objformat
=aout
;;
8809 version_type
=freebsd-
$objformat
8810 case $version_type in
8812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8817 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8821 shlibpath_var
=LD_LIBRARY_PATH
8824 shlibpath_overrides_runpath
=yes
8826 freebsd3.
[01]* | freebsdelf3.
[01]*)
8827 shlibpath_overrides_runpath
=yes
8828 hardcode_into_libs
=yes
8830 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8831 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8832 shlibpath_overrides_runpath
=no
8833 hardcode_into_libs
=yes
8835 *) # from 4.6 on, and DragonFly
8836 shlibpath_overrides_runpath
=yes
8837 hardcode_into_libs
=yes
8846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8847 soname_spec
='${libname}${release}${shared_ext}$major'
8848 shlibpath_var
=LD_LIBRARY_PATH
8849 hardcode_into_libs
=yes
8852 hpux9
* | hpux10
* | hpux11
*)
8853 # Give a soname corresponding to the major version so that dld.sl refuses to
8854 # link against other versions.
8861 hardcode_into_libs
=yes
8862 dynamic_linker
="$host_os dld.so"
8863 shlibpath_var
=LD_LIBRARY_PATH
8864 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8866 soname_spec
='${libname}${release}${shared_ext}$major'
8867 if test "X$HPUX_IA64_MODE" = X32
; then
8868 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8870 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8872 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8876 hardcode_into_libs
=yes
8877 dynamic_linker
="$host_os dld.sl"
8878 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8879 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8881 soname_spec
='${libname}${release}${shared_ext}$major'
8882 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8883 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8887 dynamic_linker
="$host_os dld.sl"
8888 shlibpath_var
=SHLIB_PATH
8889 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8891 soname_spec
='${libname}${release}${shared_ext}$major'
8894 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8895 postinstall_cmds
='chmod 555 $lib'
8902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8903 soname_spec
='${libname}${release}${shared_ext}$major'
8904 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8905 shlibpath_var
=LD_LIBRARY_PATH
8906 shlibpath_overrides_runpath
=no
8907 hardcode_into_libs
=yes
8910 irix5
* | irix6
* | nonstopux
*)
8912 nonstopux
*) version_type
=nonstopux
;;
8914 if test "$lt_cv_prog_gnu_ld" = yes; then
8922 soname_spec
='${libname}${release}${shared_ext}$major'
8923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8925 irix5
* | nonstopux
*)
8929 case $LD in # libtool.m4 will add one of these switches to LD
8930 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8931 libsuff
= shlibsuff
= libmagic
=32-bit;;
8932 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8933 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8934 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8935 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8936 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8940 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8941 shlibpath_overrides_runpath
=no
8942 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8943 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8944 hardcode_into_libs
=yes
8947 # No shared lib support for Linux oldld, aout, or coff.
8948 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8952 # This must be Linux ELF.
8953 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8958 soname_spec
='${libname}${release}${shared_ext}$major'
8959 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8960 shlibpath_var
=LD_LIBRARY_PATH
8961 shlibpath_overrides_runpath
=no
8963 # Some binutils ld are patched to set DT_RUNPATH
8964 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
8965 echo $ECHO_N "(cached) $ECHO_C" >&6
8967 lt_cv_shlibpath_overrides_runpath
=no
8968 save_LDFLAGS
=$LDFLAGS
8970 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8971 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8972 if test x
$gcc_no_link = xyes
; then
8973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8975 { (exit 1); exit 1; }; }
8977 cat >conftest.
$ac_ext <<_ACEOF
8980 cat confdefs.h
>>conftest.
$ac_ext
8981 cat >>conftest.
$ac_ext <<_ACEOF
8982 /* end confdefs.h. */
8992 rm -f conftest.
$ac_objext conftest
$ac_exeext
8993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8994 (eval $ac_link) 2>conftest.er1
8996 grep -v '^ *+' conftest.er1
>conftest.err
8998 cat conftest.err
>&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); } &&
9001 { ac_try
='test -z "$ac_c_werror_flag"
9002 || test ! -s conftest.err'
9003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); }; } &&
9008 { ac_try
='test -s conftest$ac_exeext'
9009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013 (exit $ac_status); }; }; then
9014 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
9015 lt_cv_shlibpath_overrides_runpath
=yes
9019 echo "$as_me: failed program was:" >&5
9020 sed 's/^/| /' conftest.
$ac_ext >&5
9023 rm -f conftest.err conftest.
$ac_objext \
9024 conftest
$ac_exeext conftest.
$ac_ext
9025 LDFLAGS
=$save_LDFLAGS
9030 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9032 # This implies no fast_install, which is unacceptable.
9033 # Some rework will be needed to allow for fast_install
9034 # before this can be enabled.
9035 hardcode_into_libs
=yes
9037 # Append ld.so.conf contents to the search path
9038 if test -f /etc
/ld.so.conf
; then
9039 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' ' '`
9040 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9043 # We used to test for /lib/ld.so.1 and disable shared libraries on
9044 # powerpc, because MkLinux only supported shared libraries with the
9045 # GNU dynamic linker. Since this was broken with cross compilers,
9046 # most powerpc-linux boxes support dynamic linking these days and
9047 # people can always --disable-shared, the test was removed, and we
9048 # assume the GNU/Linux dynamic linker is in use.
9049 dynamic_linker
='GNU/Linux ld.so'
9056 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9058 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9059 dynamic_linker
='NetBSD (a.out) ld.so'
9061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9062 soname_spec
='${libname}${release}${shared_ext}$major'
9063 dynamic_linker
='NetBSD ld.elf_so'
9065 shlibpath_var
=LD_LIBRARY_PATH
9066 shlibpath_overrides_runpath
=yes
9067 hardcode_into_libs
=yes
9072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9073 shlibpath_var
=LD_LIBRARY_PATH
9074 shlibpath_overrides_runpath
=yes
9081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9082 soname_spec
='${libname}${release}${shared_ext}$major'
9083 shlibpath_var
=LD_LIBRARY_PATH
9084 shlibpath_overrides_runpath
=no
9085 hardcode_into_libs
=yes
9086 dynamic_linker
='ldqnx.so'
9091 sys_lib_dlsearch_path_spec
="/usr/lib"
9093 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9095 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9096 *) need_version
=no
;;
9098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9099 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9100 shlibpath_var
=LD_LIBRARY_PATH
9101 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9103 openbsd2.
[89] | openbsd2.
[89].
*)
9104 shlibpath_overrides_runpath
=no
9107 shlibpath_overrides_runpath
=yes
9111 shlibpath_overrides_runpath
=yes
9116 libname_spec
='$name'
9119 library_names_spec
='$libname${shared_ext} $libname.a'
9120 dynamic_linker
='OS/2 ld.exe'
9121 shlibpath_var
=LIBPATH
9124 osf3
* | osf4
* | osf5
*)
9128 soname_spec
='${libname}${release}${shared_ext}$major'
9129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9130 shlibpath_var
=LD_LIBRARY_PATH
9131 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9132 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9144 soname_spec
='${libname}${release}${shared_ext}$major'
9145 shlibpath_var
=LD_LIBRARY_PATH
9146 shlibpath_overrides_runpath
=yes
9147 hardcode_into_libs
=yes
9148 # ldd complains unless libraries are executable
9149 postinstall_cmds
='chmod +x $lib'
9154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9155 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9156 shlibpath_var
=LD_LIBRARY_PATH
9157 shlibpath_overrides_runpath
=yes
9158 if test "$with_gnu_ld" = yes; then
9166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9167 soname_spec
='${libname}${release}${shared_ext}$major'
9168 shlibpath_var
=LD_LIBRARY_PATH
9169 case $host_vendor in
9171 shlibpath_overrides_runpath
=no
9173 runpath_var
=LD_RUN_PATH
9181 shlibpath_overrides_runpath
=no
9182 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9188 if test -d /usr
/nec
;then
9190 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9191 soname_spec
='$libname${shared_ext}.$major'
9192 shlibpath_var
=LD_LIBRARY_PATH
9196 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9197 version_type
=freebsd-elf
9200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9201 soname_spec
='${libname}${release}${shared_ext}$major'
9202 shlibpath_var
=LD_LIBRARY_PATH
9203 shlibpath_overrides_runpath
=yes
9204 hardcode_into_libs
=yes
9205 if test "$with_gnu_ld" = yes; then
9206 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9208 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9211 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9215 sys_lib_dlsearch_path_spec
='/usr/lib'
9219 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9224 shlibpath_var
=LD_LIBRARY_PATH
9225 shlibpath_overrides_runpath
=no
9226 hardcode_into_libs
=yes
9231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9232 soname_spec
='${libname}${release}${shared_ext}$major'
9233 shlibpath_var
=LD_LIBRARY_PATH
9240 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9241 echo "${ECHO_T}$dynamic_linker" >&6
9242 test "$dynamic_linker" = no
&& can_build_shared
=no
9244 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9245 if test "$GCC" = yes; then
9246 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9249 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9250 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9252 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9253 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9342 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9343 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9345 if test -n "$hardcode_libdir_flag_spec" ||
9346 test -n "$runpath_var" ||
9347 test "X$hardcode_automatic" = "Xyes" ; then
9349 # We can hardcode non-existent directories.
9350 if test "$hardcode_direct" != no
&&
9351 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9352 # have to relink, otherwise we might link with an installed library
9353 # when we should be linking with a yet-to-be-installed one
9354 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9355 test "$hardcode_minus_L" != no
; then
9356 # Linking always hardcodes the temporary library directory.
9357 hardcode_action
=relink
9359 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9360 hardcode_action
=immediate
9363 # We cannot hardcode anything, or else we can only hardcode existing
9365 hardcode_action
=unsupported
9367 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9368 echo "${ECHO_T}$hardcode_action" >&6
9370 if test "$hardcode_action" = relink ||
9371 test "$inherit_rpath" = yes; then
9372 # Fast installation is not supported
9373 enable_fast_install
=no
9374 elif test "$shlibpath_overrides_runpath" = yes ||
9375 test "$enable_shared" = no
; then
9376 # Fast installation is not necessary
9377 enable_fast_install
=needless
9385 if test "x$enable_dlopen" != xyes
; then
9386 enable_dlopen
=unknown
9387 enable_dlopen_self
=unknown
9388 enable_dlopen_self_static
=unknown
9395 lt_cv_dlopen
="load_add_on"
9397 lt_cv_dlopen_self
=yes
9400 mingw
* | pw32
* | cegcc
*)
9401 lt_cv_dlopen
="LoadLibrary"
9406 lt_cv_dlopen
="dlopen"
9411 # if libdl is installed we need to link against it
9412 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9413 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9414 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9415 echo $ECHO_N "(cached) $ECHO_C" >&6
9417 ac_check_lib_save_LIBS
=$LIBS
9419 if test x
$gcc_no_link = xyes
; then
9420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9422 { (exit 1); exit 1; }; }
9424 cat >conftest.
$ac_ext <<_ACEOF
9427 cat confdefs.h
>>conftest.
$ac_ext
9428 cat >>conftest.
$ac_ext <<_ACEOF
9429 /* end confdefs.h. */
9431 /* Override any gcc2 internal prototype to avoid an error. */
9435 /* We use char because int might match the return type of a gcc2
9436 builtin and then its argument prototype would still apply. */
9446 rm -f conftest.
$ac_objext conftest
$ac_exeext
9447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9448 (eval $ac_link) 2>conftest.er1
9450 grep -v '^ *+' conftest.er1
>conftest.err
9452 cat conftest.err
>&5
9453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); } &&
9455 { ac_try
='test -z "$ac_c_werror_flag"
9456 || test ! -s conftest.err'
9457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); }; } &&
9462 { ac_try
='test -s conftest$ac_exeext'
9463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); }; }; then
9468 ac_cv_lib_dl_dlopen
=yes
9470 echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.
$ac_ext >&5
9473 ac_cv_lib_dl_dlopen
=no
9475 rm -f conftest.err conftest.
$ac_objext \
9476 conftest
$ac_exeext conftest.
$ac_ext
9477 LIBS
=$ac_check_lib_save_LIBS
9479 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9480 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9481 if test $ac_cv_lib_dl_dlopen = yes; then
9482 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9487 lt_cv_dlopen_self
=yes
9494 echo "$as_me:$LINENO: checking for shl_load" >&5
9495 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9496 if test "${ac_cv_func_shl_load+set}" = set; then
9497 echo $ECHO_N "(cached) $ECHO_C" >&6
9499 if test x
$gcc_no_link = xyes
; then
9500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9502 { (exit 1); exit 1; }; }
9504 cat >conftest.
$ac_ext <<_ACEOF
9507 cat confdefs.h
>>conftest.
$ac_ext
9508 cat >>conftest.
$ac_ext <<_ACEOF
9509 /* end confdefs.h. */
9510 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9512 #define shl_load innocuous_shl_load
9514 /* System header to define __stub macros and hopefully few prototypes,
9515 which can conflict with char shl_load (); below.
9516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9517 <limits.h> exists even on freestanding compilers. */
9520 # include <limits.h>
9522 # include <assert.h>
9527 /* Override any gcc2 internal prototype to avoid an error. */
9532 /* We use char because int might match the return type of a gcc2
9533 builtin and then its argument prototype would still apply. */
9535 /* The GNU C library defines this for functions which it implements
9536 to always fail with ENOSYS. Some functions are actually named
9537 something starting with __ and the normal name is an alias. */
9538 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9541 char (*f) () = shl_load;
9550 return f != shl_load;
9555 rm -f conftest.
$ac_objext conftest
$ac_exeext
9556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9557 (eval $ac_link) 2>conftest.er1
9559 grep -v '^ *+' conftest.er1
>conftest.err
9561 cat conftest.err
>&5
9562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9563 (exit $ac_status); } &&
9564 { ac_try
='test -z "$ac_c_werror_flag"
9565 || test ! -s conftest.err'
9566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); }; } &&
9571 { ac_try
='test -s conftest$ac_exeext'
9572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 (exit $ac_status); }; }; then
9577 ac_cv_func_shl_load
=yes
9579 echo "$as_me: failed program was:" >&5
9580 sed 's/^/| /' conftest.
$ac_ext >&5
9582 ac_cv_func_shl_load
=no
9584 rm -f conftest.err conftest.
$ac_objext \
9585 conftest
$ac_exeext conftest.
$ac_ext
9587 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9588 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9589 if test $ac_cv_func_shl_load = yes; then
9590 lt_cv_dlopen
="shl_load"
9592 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9593 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9594 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9595 echo $ECHO_N "(cached) $ECHO_C" >&6
9597 ac_check_lib_save_LIBS
=$LIBS
9599 if test x
$gcc_no_link = xyes
; then
9600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9602 { (exit 1); exit 1; }; }
9604 cat >conftest.
$ac_ext <<_ACEOF
9607 cat confdefs.h
>>conftest.
$ac_ext
9608 cat >>conftest.
$ac_ext <<_ACEOF
9609 /* end confdefs.h. */
9611 /* Override any gcc2 internal prototype to avoid an error. */
9615 /* We use char because int might match the return type of a gcc2
9616 builtin and then its argument prototype would still apply. */
9626 rm -f conftest.
$ac_objext conftest
$ac_exeext
9627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9628 (eval $ac_link) 2>conftest.er1
9630 grep -v '^ *+' conftest.er1
>conftest.err
9632 cat conftest.err
>&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); } &&
9635 { ac_try
='test -z "$ac_c_werror_flag"
9636 || test ! -s conftest.err'
9637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641 (exit $ac_status); }; } &&
9642 { ac_try
='test -s conftest$ac_exeext'
9643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 (exit $ac_status); }; }; then
9648 ac_cv_lib_dld_shl_load
=yes
9650 echo "$as_me: failed program was:" >&5
9651 sed 's/^/| /' conftest.
$ac_ext >&5
9653 ac_cv_lib_dld_shl_load
=no
9655 rm -f conftest.err conftest.
$ac_objext \
9656 conftest
$ac_exeext conftest.
$ac_ext
9657 LIBS
=$ac_check_lib_save_LIBS
9659 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9660 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9661 if test $ac_cv_lib_dld_shl_load = yes; then
9662 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9664 echo "$as_me:$LINENO: checking for dlopen" >&5
9665 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9666 if test "${ac_cv_func_dlopen+set}" = set; then
9667 echo $ECHO_N "(cached) $ECHO_C" >&6
9669 if test x
$gcc_no_link = xyes
; then
9670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9672 { (exit 1); exit 1; }; }
9674 cat >conftest.
$ac_ext <<_ACEOF
9677 cat confdefs.h
>>conftest.
$ac_ext
9678 cat >>conftest.
$ac_ext <<_ACEOF
9679 /* end confdefs.h. */
9680 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9682 #define dlopen innocuous_dlopen
9684 /* System header to define __stub macros and hopefully few prototypes,
9685 which can conflict with char dlopen (); below.
9686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9687 <limits.h> exists even on freestanding compilers. */
9690 # include <limits.h>
9692 # include <assert.h>
9697 /* Override any gcc2 internal prototype to avoid an error. */
9702 /* We use char because int might match the return type of a gcc2
9703 builtin and then its argument prototype would still apply. */
9705 /* The GNU C library defines this for functions which it implements
9706 to always fail with ENOSYS. Some functions are actually named
9707 something starting with __ and the normal name is an alias. */
9708 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9711 char (*f) () = dlopen;
9725 rm -f conftest.
$ac_objext conftest
$ac_exeext
9726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9727 (eval $ac_link) 2>conftest.er1
9729 grep -v '^ *+' conftest.er1
>conftest.err
9731 cat conftest.err
>&5
9732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); } &&
9734 { ac_try
='test -z "$ac_c_werror_flag"
9735 || test ! -s conftest.err'
9736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9740 (exit $ac_status); }; } &&
9741 { ac_try
='test -s conftest$ac_exeext'
9742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); }; }; then
9747 ac_cv_func_dlopen
=yes
9749 echo "$as_me: failed program was:" >&5
9750 sed 's/^/| /' conftest.
$ac_ext >&5
9752 ac_cv_func_dlopen
=no
9754 rm -f conftest.err conftest.
$ac_objext \
9755 conftest
$ac_exeext conftest.
$ac_ext
9757 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9758 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9759 if test $ac_cv_func_dlopen = yes; then
9760 lt_cv_dlopen
="dlopen"
9762 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9763 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9764 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9765 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 ac_check_lib_save_LIBS
=$LIBS
9769 if test x
$gcc_no_link = xyes
; then
9770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9772 { (exit 1); exit 1; }; }
9774 cat >conftest.
$ac_ext <<_ACEOF
9777 cat confdefs.h
>>conftest.
$ac_ext
9778 cat >>conftest.
$ac_ext <<_ACEOF
9779 /* end confdefs.h. */
9781 /* Override any gcc2 internal prototype to avoid an error. */
9785 /* We use char because int might match the return type of a gcc2
9786 builtin and then its argument prototype would still apply. */
9796 rm -f conftest.
$ac_objext conftest
$ac_exeext
9797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9798 (eval $ac_link) 2>conftest.er1
9800 grep -v '^ *+' conftest.er1
>conftest.err
9802 cat conftest.err
>&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); } &&
9805 { ac_try
='test -z "$ac_c_werror_flag"
9806 || test ! -s conftest.err'
9807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); }; } &&
9812 { ac_try
='test -s conftest$ac_exeext'
9813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); }; }; then
9818 ac_cv_lib_dl_dlopen
=yes
9820 echo "$as_me: failed program was:" >&5
9821 sed 's/^/| /' conftest.
$ac_ext >&5
9823 ac_cv_lib_dl_dlopen
=no
9825 rm -f conftest.err conftest.
$ac_objext \
9826 conftest
$ac_exeext conftest.
$ac_ext
9827 LIBS
=$ac_check_lib_save_LIBS
9829 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9830 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9831 if test $ac_cv_lib_dl_dlopen = yes; then
9832 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9834 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9835 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9836 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9837 echo $ECHO_N "(cached) $ECHO_C" >&6
9839 ac_check_lib_save_LIBS
=$LIBS
9841 if test x
$gcc_no_link = xyes
; then
9842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9844 { (exit 1); exit 1; }; }
9846 cat >conftest.
$ac_ext <<_ACEOF
9849 cat confdefs.h
>>conftest.
$ac_ext
9850 cat >>conftest.
$ac_ext <<_ACEOF
9851 /* end confdefs.h. */
9853 /* Override any gcc2 internal prototype to avoid an error. */
9857 /* We use char because int might match the return type of a gcc2
9858 builtin and then its argument prototype would still apply. */
9868 rm -f conftest.
$ac_objext conftest
$ac_exeext
9869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9870 (eval $ac_link) 2>conftest.er1
9872 grep -v '^ *+' conftest.er1
>conftest.err
9874 cat conftest.err
>&5
9875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); } &&
9877 { ac_try
='test -z "$ac_c_werror_flag"
9878 || test ! -s conftest.err'
9879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); }; } &&
9884 { ac_try
='test -s conftest$ac_exeext'
9885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); }; }; then
9890 ac_cv_lib_svld_dlopen
=yes
9892 echo "$as_me: failed program was:" >&5
9893 sed 's/^/| /' conftest.
$ac_ext >&5
9895 ac_cv_lib_svld_dlopen
=no
9897 rm -f conftest.err conftest.
$ac_objext \
9898 conftest
$ac_exeext conftest.
$ac_ext
9899 LIBS
=$ac_check_lib_save_LIBS
9901 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9902 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9903 if test $ac_cv_lib_svld_dlopen = yes; then
9904 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9906 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9907 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9908 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 ac_check_lib_save_LIBS
=$LIBS
9913 if test x
$gcc_no_link = xyes
; then
9914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9916 { (exit 1); exit 1; }; }
9918 cat >conftest.
$ac_ext <<_ACEOF
9921 cat confdefs.h
>>conftest.
$ac_ext
9922 cat >>conftest.
$ac_ext <<_ACEOF
9923 /* end confdefs.h. */
9925 /* Override any gcc2 internal prototype to avoid an error. */
9929 /* We use char because int might match the return type of a gcc2
9930 builtin and then its argument prototype would still apply. */
9940 rm -f conftest.
$ac_objext conftest
$ac_exeext
9941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9942 (eval $ac_link) 2>conftest.er1
9944 grep -v '^ *+' conftest.er1
>conftest.err
9946 cat conftest.err
>&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); } &&
9949 { ac_try
='test -z "$ac_c_werror_flag"
9950 || test ! -s conftest.err'
9951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); }; } &&
9956 { ac_try
='test -s conftest$ac_exeext'
9957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); }; }; then
9962 ac_cv_lib_dld_dld_link
=yes
9964 echo "$as_me: failed program was:" >&5
9965 sed 's/^/| /' conftest.
$ac_ext >&5
9967 ac_cv_lib_dld_dld_link
=no
9969 rm -f conftest.err conftest.
$ac_objext \
9970 conftest
$ac_exeext conftest.
$ac_ext
9971 LIBS
=$ac_check_lib_save_LIBS
9973 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9974 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9975 if test $ac_cv_lib_dld_dld_link = yes; then
9976 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9997 if test "x$lt_cv_dlopen" != xno
; then
10003 case $lt_cv_dlopen in
10005 save_CPPFLAGS
="$CPPFLAGS"
10006 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10008 save_LDFLAGS
="$LDFLAGS"
10009 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10012 LIBS
="$lt_cv_dlopen_libs $LIBS"
10014 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10015 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10016 if test "${lt_cv_dlopen_self+set}" = set; then
10017 echo $ECHO_N "(cached) $ECHO_C" >&6
10019 if test "$cross_compiling" = yes; then :
10020 lt_cv_dlopen_self
=cross
10022 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10023 lt_status
=$lt_dlunknown
10024 cat > conftest.
$ac_ext <<_LT_EOF
10025 #line 10025 "configure"
10026 #include "confdefs.h"
10035 # define LT_DLGLOBAL RTLD_GLOBAL
10038 # define LT_DLGLOBAL DL_GLOBAL
10040 # define LT_DLGLOBAL 0
10044 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10045 find out it does not work in some platform. */
10046 #ifndef LT_DLLAZY_OR_NOW
10048 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10051 # define LT_DLLAZY_OR_NOW DL_LAZY
10054 # define LT_DLLAZY_OR_NOW RTLD_NOW
10057 # define LT_DLLAZY_OR_NOW DL_NOW
10059 # define LT_DLLAZY_OR_NOW 0
10066 void fnord() { int i=42;}
10069 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10070 int status = $lt_dlunknown;
10074 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10075 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10076 /* dlclose (self); */
10084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10085 (eval $ac_link) 2>&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10089 (.
/conftest
; exit; ) >&5 2>/dev
/null
10091 case x
$lt_status in
10092 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10093 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10094 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10097 # compilation failed
10098 lt_cv_dlopen_self
=no
10105 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10106 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10108 if test "x$lt_cv_dlopen_self" = xyes
; then
10109 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10110 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10111 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10112 if test "${lt_cv_dlopen_self_static+set}" = set; then
10113 echo $ECHO_N "(cached) $ECHO_C" >&6
10115 if test "$cross_compiling" = yes; then :
10116 lt_cv_dlopen_self_static
=cross
10118 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10119 lt_status
=$lt_dlunknown
10120 cat > conftest.
$ac_ext <<_LT_EOF
10121 #line 10121 "configure"
10122 #include "confdefs.h"
10131 # define LT_DLGLOBAL RTLD_GLOBAL
10134 # define LT_DLGLOBAL DL_GLOBAL
10136 # define LT_DLGLOBAL 0
10140 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10141 find out it does not work in some platform. */
10142 #ifndef LT_DLLAZY_OR_NOW
10144 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10147 # define LT_DLLAZY_OR_NOW DL_LAZY
10150 # define LT_DLLAZY_OR_NOW RTLD_NOW
10153 # define LT_DLLAZY_OR_NOW DL_NOW
10155 # define LT_DLLAZY_OR_NOW 0
10162 void fnord() { int i=42;}
10165 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10166 int status = $lt_dlunknown;
10170 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10171 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10172 /* dlclose (self); */
10180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10181 (eval $ac_link) 2>&5
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10185 (.
/conftest
; exit; ) >&5 2>/dev
/null
10187 case x
$lt_status in
10188 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10189 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10190 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10193 # compilation failed
10194 lt_cv_dlopen_self_static
=no
10201 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10202 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10205 CPPFLAGS
="$save_CPPFLAGS"
10206 LDFLAGS
="$save_LDFLAGS"
10211 case $lt_cv_dlopen_self in
10212 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10213 *) enable_dlopen_self
=unknown
;;
10216 case $lt_cv_dlopen_self_static in
10217 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10218 *) enable_dlopen_self_static
=unknown
;;
10240 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10241 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10242 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10243 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10244 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10245 echo "$as_me:$LINENO: result: yes" >&5
10246 echo "${ECHO_T}yes" >&6
10248 # FIXME - insert some real tests, host_os isn't really good enough
10251 if test -n "$STRIP" ; then
10252 striplib
="$STRIP -x"
10253 old_striplib
="$STRIP -S"
10254 echo "$as_me:$LINENO: result: yes" >&5
10255 echo "${ECHO_T}yes" >&6
10257 echo "$as_me:$LINENO: result: no" >&5
10258 echo "${ECHO_T}no" >&6
10262 echo "$as_me:$LINENO: result: no" >&5
10263 echo "${ECHO_T}no" >&6
10279 # Report which library types will actually be built
10280 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10281 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10282 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10283 echo "${ECHO_T}$can_build_shared" >&6
10285 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10286 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10287 test "$can_build_shared" = "no" && enable_shared
=no
10289 # On AIX, shared libraries and static libraries use the same namespace, and
10290 # are all built from PIC.
10293 test "$enable_shared" = yes && enable_static
=no
10294 if test -n "$RANLIB"; then
10295 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10296 postinstall_cmds
='$RANLIB $lib'
10301 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10302 test "$enable_shared" = yes && enable_static
=no
10306 echo "$as_me:$LINENO: result: $enable_shared" >&5
10307 echo "${ECHO_T}$enable_shared" >&6
10309 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10310 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10311 # Make sure either enable_shared or enable_static is yes.
10312 test "$enable_shared" = yes || enable_static
=yes
10313 echo "$as_me:$LINENO: result: $enable_static" >&5
10314 echo "${ECHO_T}$enable_static" >&6
10321 ac_cpp
='$CPP $CPPFLAGS'
10322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10340 ac_config_commands
="$ac_config_commands libtool"
10345 # Only expand once:
10349 # Find CPP now so that any conditional tests below won't do it and
10350 # thereby make the resulting definitions conditional.
10352 ac_cpp
='$CPP $CPPFLAGS'
10353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10356 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10357 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10358 # On Suns, sometimes $CPP names a directory.
10359 if test -n "$CPP" && test -d "$CPP"; then
10362 if test -z "$CPP"; then
10363 if test "${ac_cv_prog_CPP+set}" = set; then
10364 echo $ECHO_N "(cached) $ECHO_C" >&6
10366 # Double quotes because CPP needs to be expanded
10367 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10369 ac_preproc_ok
=false
10370 for ac_c_preproc_warn_flag
in '' yes
10372 # Use a header file that comes with gcc, so configuring glibc
10373 # with a fresh cross-compiler works.
10374 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10375 # <limits.h> exists even on freestanding compilers.
10376 # On the NeXT, cc -E runs the code through the compiler's parser,
10377 # not just through cpp. "Syntax error" is here to catch this case.
10378 cat >conftest.
$ac_ext <<_ACEOF
10381 cat confdefs.h
>>conftest.
$ac_ext
10382 cat >>conftest.
$ac_ext <<_ACEOF
10383 /* end confdefs.h. */
10385 # include <limits.h>
10387 # include <assert.h>
10391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10394 grep -v '^ *+' conftest.er1
>conftest.err
10396 cat conftest.err
>&5
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); } >/dev
/null
; then
10399 if test -s conftest.err
; then
10400 ac_cpp_err
=$ac_c_preproc_warn_flag
10401 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10408 if test -z "$ac_cpp_err"; then
10411 echo "$as_me: failed program was:" >&5
10412 sed 's/^/| /' conftest.
$ac_ext >&5
10414 # Broken: fails on valid input.
10417 rm -f conftest.err conftest.
$ac_ext
10419 # OK, works on sane cases. Now check whether non-existent headers
10420 # can be detected and how.
10421 cat >conftest.
$ac_ext <<_ACEOF
10424 cat confdefs.h
>>conftest.
$ac_ext
10425 cat >>conftest.
$ac_ext <<_ACEOF
10426 /* end confdefs.h. */
10427 #include <ac_nonexistent.h>
10429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10432 grep -v '^ *+' conftest.er1
>conftest.err
10434 cat conftest.err
>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); } >/dev
/null
; then
10437 if test -s conftest.err
; then
10438 ac_cpp_err
=$ac_c_preproc_warn_flag
10439 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10446 if test -z "$ac_cpp_err"; then
10447 # Broken: success on invalid input.
10450 echo "$as_me: failed program was:" >&5
10451 sed 's/^/| /' conftest.
$ac_ext >&5
10453 # Passes both tests.
10457 rm -f conftest.err conftest.
$ac_ext
10460 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10461 rm -f conftest.err conftest.
$ac_ext
10462 if $ac_preproc_ok; then
10467 ac_cv_prog_CPP
=$CPP
10470 CPP
=$ac_cv_prog_CPP
10472 ac_cv_prog_CPP
=$CPP
10474 echo "$as_me:$LINENO: result: $CPP" >&5
10475 echo "${ECHO_T}$CPP" >&6
10476 ac_preproc_ok
=false
10477 for ac_c_preproc_warn_flag
in '' yes
10479 # Use a header file that comes with gcc, so configuring glibc
10480 # with a fresh cross-compiler works.
10481 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10482 # <limits.h> exists even on freestanding compilers.
10483 # On the NeXT, cc -E runs the code through the compiler's parser,
10484 # not just through cpp. "Syntax error" is here to catch this case.
10485 cat >conftest.
$ac_ext <<_ACEOF
10488 cat confdefs.h
>>conftest.
$ac_ext
10489 cat >>conftest.
$ac_ext <<_ACEOF
10490 /* end confdefs.h. */
10492 # include <limits.h>
10494 # include <assert.h>
10498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10501 grep -v '^ *+' conftest.er1
>conftest.err
10503 cat conftest.err
>&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); } >/dev
/null
; then
10506 if test -s conftest.err
; then
10507 ac_cpp_err
=$ac_c_preproc_warn_flag
10508 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10515 if test -z "$ac_cpp_err"; then
10518 echo "$as_me: failed program was:" >&5
10519 sed 's/^/| /' conftest.
$ac_ext >&5
10521 # Broken: fails on valid input.
10524 rm -f conftest.err conftest.
$ac_ext
10526 # OK, works on sane cases. Now check whether non-existent headers
10527 # can be detected and how.
10528 cat >conftest.
$ac_ext <<_ACEOF
10531 cat confdefs.h
>>conftest.
$ac_ext
10532 cat >>conftest.
$ac_ext <<_ACEOF
10533 /* end confdefs.h. */
10534 #include <ac_nonexistent.h>
10536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10537 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10539 grep -v '^ *+' conftest.er1
>conftest.err
10541 cat conftest.err
>&5
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 (exit $ac_status); } >/dev
/null
; then
10544 if test -s conftest.err
; then
10545 ac_cpp_err
=$ac_c_preproc_warn_flag
10546 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10553 if test -z "$ac_cpp_err"; then
10554 # Broken: success on invalid input.
10557 echo "$as_me: failed program was:" >&5
10558 sed 's/^/| /' conftest.
$ac_ext >&5
10560 # Passes both tests.
10564 rm -f conftest.err conftest.
$ac_ext
10567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10568 rm -f conftest.err conftest.
$ac_ext
10569 if $ac_preproc_ok; then
10572 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
10573 echo "$as_me: error: in \`$ac_pwd':" >&2;}
10574 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10575 See \`config.log' for more details." >&5
10576 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10577 See \`config.log' for more details." >&2;}
10578 { (exit 1); exit 1; }; }; }
10582 ac_cpp
='$CPP $CPPFLAGS'
10583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10588 if test -n "$with_cross_host"; then
10589 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
10590 # may not work correctly, because the compiler may not be able to
10591 # link executables.
10593 # We assume newlib. This lets us hard-code the functions we know
10595 cat >>confdefs.h
<<\_ACEOF
10596 #define HAVE_MEMCPY 1
10599 cat >>confdefs.h
<<\_ACEOF
10600 #define HAVE_STRERROR 1
10604 # We ignore --with-system-zlib in this case.
10605 target_all
=libzgcj.la
10607 if test x
$gcc_no_link = xyes
; then
10608 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
10609 ac_cv_func_mmap_fixed_mapped
=no
10612 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno
; then
10615 for ac_header
in stdlib.h unistd.h
10617 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10619 echo "$as_me:$LINENO: checking for $ac_header" >&5
10620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10622 echo $ECHO_N "(cached) $ECHO_C" >&6
10624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10627 # Is the header compilable?
10628 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10630 cat >conftest.
$ac_ext <<_ACEOF
10633 cat confdefs.h
>>conftest.
$ac_ext
10634 cat >>conftest.
$ac_ext <<_ACEOF
10635 /* end confdefs.h. */
10636 $ac_includes_default
10637 #include <$ac_header>
10639 rm -f conftest.
$ac_objext
10640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10641 (eval $ac_compile) 2>conftest.er1
10643 grep -v '^ *+' conftest.er1
>conftest.err
10645 cat conftest.err
>&5
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); } &&
10648 { ac_try
='test -z "$ac_c_werror_flag"
10649 || test ! -s conftest.err'
10650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10651 (eval $ac_try) 2>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); }; } &&
10655 { ac_try
='test -s conftest.$ac_objext'
10656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10657 (eval $ac_try) 2>&5
10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); }; }; then
10661 ac_header_compiler
=yes
10663 echo "$as_me: failed program was:" >&5
10664 sed 's/^/| /' conftest.
$ac_ext >&5
10666 ac_header_compiler
=no
10668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10669 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10670 echo "${ECHO_T}$ac_header_compiler" >&6
10672 # Is the header present?
10673 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10674 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10675 cat >conftest.
$ac_ext <<_ACEOF
10678 cat confdefs.h
>>conftest.
$ac_ext
10679 cat >>conftest.
$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10681 #include <$ac_header>
10683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10684 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10686 grep -v '^ *+' conftest.er1
>conftest.err
10688 cat conftest.err
>&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); } >/dev
/null
; then
10691 if test -s conftest.err
; then
10692 ac_cpp_err
=$ac_c_preproc_warn_flag
10693 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10700 if test -z "$ac_cpp_err"; then
10701 ac_header_preproc
=yes
10703 echo "$as_me: failed program was:" >&5
10704 sed 's/^/| /' conftest.
$ac_ext >&5
10706 ac_header_preproc
=no
10708 rm -f conftest.err conftest.
$ac_ext
10709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10710 echo "${ECHO_T}$ac_header_preproc" >&6
10712 # So? What about this header?
10713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10715 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10716 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10718 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10719 ac_header_preproc
=yes
10722 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10723 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10724 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10725 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10726 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10727 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10728 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10729 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10732 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10733 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10736 ## ------------------------------------------ ##
10737 ## Report this to the AC_PACKAGE_NAME lists. ##
10738 ## ------------------------------------------ ##
10741 sed "s/^/$as_me: WARNING: /" >&2
10744 echo "$as_me:$LINENO: checking for $ac_header" >&5
10745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10747 echo $ECHO_N "(cached) $ECHO_C" >&6
10749 eval "$as_ac_Header=\$ac_header_preproc"
10751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10756 cat >>confdefs.h
<<_ACEOF
10757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10765 for ac_func
in getpagesize
10767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10768 echo "$as_me:$LINENO: checking for $ac_func" >&5
10769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10770 if eval "test \"\${$as_ac_var+set}\" = set"; then
10771 echo $ECHO_N "(cached) $ECHO_C" >&6
10773 if test x
$gcc_no_link = xyes
; then
10774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10776 { (exit 1); exit 1; }; }
10778 cat >conftest.
$ac_ext <<_ACEOF
10781 cat confdefs.h
>>conftest.
$ac_ext
10782 cat >>conftest.
$ac_ext <<_ACEOF
10783 /* end confdefs.h. */
10784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10786 #define $ac_func innocuous_$ac_func
10788 /* System header to define __stub macros and hopefully few prototypes,
10789 which can conflict with char $ac_func (); below.
10790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10791 <limits.h> exists even on freestanding compilers. */
10794 # include <limits.h>
10796 # include <assert.h>
10801 /* Override any gcc2 internal prototype to avoid an error. */
10806 /* We use char because int might match the return type of a gcc2
10807 builtin and then its argument prototype would still apply. */
10809 /* The GNU C library defines this for functions which it implements
10810 to always fail with ENOSYS. Some functions are actually named
10811 something starting with __ and the normal name is an alias. */
10812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10815 char (*f) () = $ac_func;
10824 return f != $ac_func;
10829 rm -f conftest.
$ac_objext conftest
$ac_exeext
10830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10831 (eval $ac_link) 2>conftest.er1
10833 grep -v '^ *+' conftest.er1
>conftest.err
10835 cat conftest.err
>&5
10836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837 (exit $ac_status); } &&
10838 { ac_try
='test -z "$ac_c_werror_flag"
10839 || test ! -s conftest.err'
10840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10841 (eval $ac_try) 2>&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); }; } &&
10845 { ac_try
='test -s conftest$ac_exeext'
10846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10847 (eval $ac_try) 2>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); }; }; then
10851 eval "$as_ac_var=yes"
10853 echo "$as_me: failed program was:" >&5
10854 sed 's/^/| /' conftest.
$ac_ext >&5
10856 eval "$as_ac_var=no"
10858 rm -f conftest.err conftest.
$ac_objext \
10859 conftest
$ac_exeext conftest.
$ac_ext
10861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10863 if test `eval echo '${'$as_ac_var'}'` = yes; then
10864 cat >>confdefs.h
<<_ACEOF
10865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10871 echo "$as_me:$LINENO: checking for working mmap" >&5
10872 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
10873 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
10874 echo $ECHO_N "(cached) $ECHO_C" >&6
10876 if test "$cross_compiling" = yes; then
10877 ac_cv_func_mmap_fixed_mapped
=no
10879 cat >conftest.
$ac_ext <<_ACEOF
10882 cat confdefs.h
>>conftest.
$ac_ext
10883 cat >>conftest.
$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10885 $ac_includes_default
10886 /* malloc might have been renamed as rpl_malloc. */
10889 /* Thanks to Mike Haertel and Jim Avera for this test.
10890 Here is a matrix of mmap possibilities:
10891 mmap private not fixed
10892 mmap private fixed at somewhere currently unmapped
10893 mmap private fixed at somewhere already mapped
10894 mmap shared not fixed
10895 mmap shared fixed at somewhere currently unmapped
10896 mmap shared fixed at somewhere already mapped
10897 For private mappings, we should verify that changes cannot be read()
10898 back from the file, nor mmap's back from the file at a different
10899 address. (There have been systems where private was not correctly
10900 implemented like the infamous i386 svr4.0, and systems where the
10901 VM page cache was not coherent with the file system buffer cache
10902 like early versions of FreeBSD and possibly contemporary NetBSD.)
10903 For shared mappings, we should conversely verify that changes get
10904 propagated back to all the places they're supposed to be.
10906 Grep wants private fixed already mapped.
10907 The main things grep needs to know about mmap are:
10908 * does it exist and is it safe to write into the mmap'd area
10909 * how to use it (BSD variants) */
10912 #include <sys/mman.h>
10914 #if !STDC_HEADERS && !HAVE_STDLIB_H
10918 /* This mess was copied from the GNU getpagesize.h. */
10919 #if !HAVE_GETPAGESIZE
10920 /* Assume that all systems that can run configure have sys/param.h. */
10921 # if !HAVE_SYS_PARAM_H
10922 # define HAVE_SYS_PARAM_H 1
10925 # ifdef _SC_PAGESIZE
10926 # define getpagesize() sysconf(_SC_PAGESIZE)
10927 # else /* no _SC_PAGESIZE */
10928 # if HAVE_SYS_PARAM_H
10929 # include <sys/param.h>
10930 # ifdef EXEC_PAGESIZE
10931 # define getpagesize() EXEC_PAGESIZE
10932 # else /* no EXEC_PAGESIZE */
10934 # define getpagesize() NBPG * CLSIZE
10937 # endif /* no CLSIZE */
10938 # else /* no NBPG */
10940 # define getpagesize() NBPC
10941 # else /* no NBPC */
10943 # define getpagesize() PAGESIZE
10944 # endif /* PAGESIZE */
10945 # endif /* no NBPC */
10946 # endif /* no NBPG */
10947 # endif /* no EXEC_PAGESIZE */
10948 # else /* no HAVE_SYS_PARAM_H */
10949 # define getpagesize() 8192 /* punt totally */
10950 # endif /* no HAVE_SYS_PARAM_H */
10951 # endif /* no _SC_PAGESIZE */
10953 #endif /* no HAVE_GETPAGESIZE */
10958 char *data, *data2, *data3;
10962 pagesize = getpagesize ();
10964 /* First, make a file with some known garbage in it. */
10965 data = (char *) malloc (pagesize);
10968 for (i = 0; i < pagesize; ++i)
10969 *(data + i) = rand ();
10971 fd = creat ("conftest.mmap", 0600);
10974 if (write (fd, data, pagesize) != pagesize)
10978 /* Next, try to mmap the file at a fixed address which already has
10979 something else allocated at it. If we can, also make sure that
10980 we see the same garbage. */
10981 fd = open ("conftest.mmap", O_RDWR);
10984 data2 = (char *) malloc (2 * pagesize);
10987 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
10988 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
10989 MAP_PRIVATE | MAP_FIXED, fd, 0L))
10991 for (i = 0; i < pagesize; ++i)
10992 if (*(data + i) != *(data2 + i))
10995 /* Finally, make sure that changes to the mapped area do not
10996 percolate back to the file as seen by read(). (This is a bug on
10997 some variants of i386 svr4.0.) */
10998 for (i = 0; i < pagesize; ++i)
10999 *(data2 + i) = *(data2 + i) + 1;
11000 data3 = (char *) malloc (pagesize);
11003 if (read (fd, data3, pagesize) != pagesize)
11005 for (i = 0; i < pagesize; ++i)
11006 if (*(data + i) != *(data3 + i))
11012 rm -f conftest
$ac_exeext
11013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11014 (eval $ac_link) 2>&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 ac_cv_func_mmap_fixed_mapped
=yes
11025 echo "$as_me: program exited with status $ac_status" >&5
11026 echo "$as_me: failed program was:" >&5
11027 sed 's/^/| /' conftest.
$ac_ext >&5
11029 ( exit $ac_status )
11030 ac_cv_func_mmap_fixed_mapped
=no
11032 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11035 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
11036 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
11037 if test $ac_cv_func_mmap_fixed_mapped = yes; then
11039 cat >>confdefs.h
<<\_ACEOF
11040 #define HAVE_MMAP 1
11044 rm -f conftest.mmap
11049 for ac_func
in memcpy strerror
11051 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11052 echo "$as_me:$LINENO: checking for $ac_func" >&5
11053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11054 if eval "test \"\${$as_ac_var+set}\" = set"; then
11055 echo $ECHO_N "(cached) $ECHO_C" >&6
11057 if test x
$gcc_no_link = xyes
; then
11058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11060 { (exit 1); exit 1; }; }
11062 cat >conftest.
$ac_ext <<_ACEOF
11065 cat confdefs.h
>>conftest.
$ac_ext
11066 cat >>conftest.
$ac_ext <<_ACEOF
11067 /* end confdefs.h. */
11068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11070 #define $ac_func innocuous_$ac_func
11072 /* System header to define __stub macros and hopefully few prototypes,
11073 which can conflict with char $ac_func (); below.
11074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11075 <limits.h> exists even on freestanding compilers. */
11078 # include <limits.h>
11080 # include <assert.h>
11085 /* Override any gcc2 internal prototype to avoid an error. */
11090 /* We use char because int might match the return type of a gcc2
11091 builtin and then its argument prototype would still apply. */
11093 /* The GNU C library defines this for functions which it implements
11094 to always fail with ENOSYS. Some functions are actually named
11095 something starting with __ and the normal name is an alias. */
11096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11099 char (*f) () = $ac_func;
11108 return f != $ac_func;
11113 rm -f conftest.
$ac_objext conftest
$ac_exeext
11114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11115 (eval $ac_link) 2>conftest.er1
11117 grep -v '^ *+' conftest.er1
>conftest.err
11119 cat conftest.err
>&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); } &&
11122 { ac_try
='test -z "$ac_c_werror_flag"
11123 || test ! -s conftest.err'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; } &&
11129 { ac_try
='test -s conftest$ac_exeext'
11130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11131 (eval $ac_try) 2>&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; }; then
11135 eval "$as_ac_var=yes"
11137 echo "$as_me: failed program was:" >&5
11138 sed 's/^/| /' conftest.
$ac_ext >&5
11140 eval "$as_ac_var=no"
11142 rm -f conftest.err conftest.
$ac_objext \
11143 conftest
$ac_exeext conftest.
$ac_ext
11145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11147 if test `eval echo '${'$as_ac_var'}'` = yes; then
11148 cat >>confdefs.h
<<_ACEOF
11149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11156 if test "$with_system_zlib" = yes; then
11157 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
11158 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
11159 if test "${ac_cv_lib_z_deflate+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11162 ac_check_lib_save_LIBS
=$LIBS
11164 if test x
$gcc_no_link = xyes
; then
11165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11167 { (exit 1); exit 1; }; }
11169 cat >conftest.
$ac_ext <<_ACEOF
11172 cat confdefs.h
>>conftest.
$ac_ext
11173 cat >>conftest.
$ac_ext <<_ACEOF
11174 /* end confdefs.h. */
11176 /* Override any gcc2 internal prototype to avoid an error. */
11180 /* We use char because int might match the return type of a gcc2
11181 builtin and then its argument prototype would still apply. */
11191 rm -f conftest.
$ac_objext conftest
$ac_exeext
11192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11193 (eval $ac_link) 2>conftest.er1
11195 grep -v '^ *+' conftest.er1
>conftest.err
11197 cat conftest.err
>&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); } &&
11200 { ac_try
='test -z "$ac_c_werror_flag"
11201 || test ! -s conftest.err'
11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203 (eval $ac_try) 2>&5
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }; } &&
11207 { ac_try
='test -s conftest$ac_exeext'
11208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11209 (eval $ac_try) 2>&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); }; }; then
11213 ac_cv_lib_z_deflate
=yes
11215 echo "$as_me: failed program was:" >&5
11216 sed 's/^/| /' conftest.
$ac_ext >&5
11218 ac_cv_lib_z_deflate
=no
11220 rm -f conftest.err conftest.
$ac_objext \
11221 conftest
$ac_exeext conftest.
$ac_ext
11222 LIBS
=$ac_check_lib_save_LIBS
11224 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
11225 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
11226 if test $ac_cv_lib_z_deflate = yes; then
11229 target_all
=libzgcj.la
11233 target_all
=libzgcj.la
11240 for ac_header
in unistd.h
11242 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11244 echo "$as_me:$LINENO: checking for $ac_header" >&5
11245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11247 echo $ECHO_N "(cached) $ECHO_C" >&6
11249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11252 # Is the header compilable?
11253 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11255 cat >conftest.
$ac_ext <<_ACEOF
11258 cat confdefs.h
>>conftest.
$ac_ext
11259 cat >>conftest.
$ac_ext <<_ACEOF
11260 /* end confdefs.h. */
11261 $ac_includes_default
11262 #include <$ac_header>
11264 rm -f conftest.
$ac_objext
11265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11266 (eval $ac_compile) 2>conftest.er1
11268 grep -v '^ *+' conftest.er1
>conftest.err
11270 cat conftest.err
>&5
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); } &&
11273 { ac_try
='test -z "$ac_c_werror_flag"
11274 || test ! -s conftest.err'
11275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11276 (eval $ac_try) 2>&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); }; } &&
11280 { ac_try
='test -s conftest.$ac_objext'
11281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11282 (eval $ac_try) 2>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); }; }; then
11286 ac_header_compiler
=yes
11288 echo "$as_me: failed program was:" >&5
11289 sed 's/^/| /' conftest.
$ac_ext >&5
11291 ac_header_compiler
=no
11293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11295 echo "${ECHO_T}$ac_header_compiler" >&6
11297 # Is the header present?
11298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11300 cat >conftest.
$ac_ext <<_ACEOF
11303 cat confdefs.h
>>conftest.
$ac_ext
11304 cat >>conftest.
$ac_ext <<_ACEOF
11305 /* end confdefs.h. */
11306 #include <$ac_header>
11308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11311 grep -v '^ *+' conftest.er1
>conftest.err
11313 cat conftest.err
>&5
11314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315 (exit $ac_status); } >/dev
/null
; then
11316 if test -s conftest.err
; then
11317 ac_cpp_err
=$ac_c_preproc_warn_flag
11318 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11325 if test -z "$ac_cpp_err"; then
11326 ac_header_preproc
=yes
11328 echo "$as_me: failed program was:" >&5
11329 sed 's/^/| /' conftest.
$ac_ext >&5
11331 ac_header_preproc
=no
11333 rm -f conftest.err conftest.
$ac_ext
11334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11335 echo "${ECHO_T}$ac_header_preproc" >&6
11337 # So? What about this header?
11338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11344 ac_header_preproc
=yes
11347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11361 ## ------------------------------------------ ##
11362 ## Report this to the AC_PACKAGE_NAME lists. ##
11363 ## ------------------------------------------ ##
11366 sed "s/^/$as_me: WARNING: /" >&2
11369 echo "$as_me:$LINENO: checking for $ac_header" >&5
11370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6
11374 eval "$as_ac_Header=\$ac_header_preproc"
11376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11381 cat >>confdefs.h
<<_ACEOF
11382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11390 if test -n "$with_cross_host" &&
11391 test x
"$with_cross_host" != x
"no"; then
11392 toolexecdir
='$(exec_prefix)/$(target_alias)'
11393 toolexeclibdir
='$(toolexecdir)/lib'
11395 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
11396 toolexeclibdir
='$(libdir)'
11398 if test "$GCC" = yes && $CC -print-multi-os-directory > /dev
/null
2>&1; then
11399 multiosdir
=/`$CC -print-multi-os-directory`
11400 case $multiosdir in
11401 /.
) multiosdir
= ;; # Avoid trailing /.
11406 toolexeclibdir
=${toolexeclibdir}${multiosdir}
11412 if test -n "$with_target_subdir"; then
11413 TARGET_LIBRARY_TRUE
=
11414 TARGET_LIBRARY_FALSE
='#'
11416 TARGET_LIBRARY_TRUE
='#'
11417 TARGET_LIBRARY_FALSE
=
11421 if test "${multilib}" = "yes"; then
11422 multilib_arg
="--enable-multilib"
11427 ac_config_files
="$ac_config_files Makefile"
11429 cat >confcache
<<\_ACEOF
11430 # This file is a shell script that caches the results of configure
11431 # tests run on this system so they can be shared between configure
11432 # scripts and configure runs, see configure's option --config-cache.
11433 # It is not useful on other systems. If it contains results you don't
11434 # want to keep, you may remove or edit it.
11436 # config.status only pays attention to the cache file if you give it
11437 # the --recheck option to rerun configure.
11439 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11440 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11441 # following values.
11445 # The following way of writing the cache mishandles newlines in values,
11446 # but we know of no workaround that is simple, portable, and efficient.
11447 # So, don't put newlines in cache variables' values.
11448 # Ultrix sh set writes to stderr and can't be redirected directly,
11449 # and sets the high bit in the cache file unless we assign to the vars.
11452 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11454 # `set' does not quote correctly, so add quotes (double-quote
11455 # substitution turns \\\\ into \\, and sed turns \\ into \).
11458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11461 # `set' quotes correctly as required by POSIX, so do not add quotes.
11463 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11470 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11472 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11474 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11475 if test -w $cache_file; then
11476 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11477 cat confcache
>$cache_file
11479 echo "not updating unwritable cache $cache_file"
11484 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11485 # Let make expand exec_prefix.
11486 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11488 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11489 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11490 # trailing colons and then remove the whole line if VPATH becomes empty
11491 # (actually we leave an empty line to preserve line numbers).
11492 if test "x$srcdir" = x.
; then
11493 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11494 s/:*\$(srcdir):*/:/;
11495 s/:*\${srcdir}:*/:/;
11497 s/^\([^=]*=[ ]*\):*/\1/;
11503 # Transform confdefs.h into DEFS.
11504 # Protect against shell expansion while executing Makefile rules.
11505 # Protect against Makefile macro expansion.
11507 # If the first sed substitution is executed (which looks for macros that
11508 # take arguments), then we branch to the quote section. Otherwise,
11509 # look for a macro that doesn't take arguments.
11510 cat >confdef2opt.
sed <<\_ACEOF
11513 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
11515 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
11519 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
11525 # We use echo to avoid assuming a particular line-breaking character.
11526 # The extra dot is to prevent the shell from consuming trailing
11527 # line-breaks from the sub-command output. A line-break within
11528 # single-quotes doesn't work because, if this script is created in a
11529 # platform that uses two characters for line-breaks (e.g., DOS), tr
11531 ac_LF_and_DOT=`echo; echo .
`
11532 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
11533 rm -f confdef2opt.sed
11538 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11539 # 1. Remove the extension, and $U if already installed.
11540 ac_i=`echo "$ac_i" |
11541 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11543 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11544 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11546 LIBOBJS=$ac_libobjs
11548 LTLIBOBJS=$ac_ltlibobjs
11551 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11552 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11553 Usually this means the macro was only invoked conditionally." >&5
11554 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11555 Usually this means the macro was only invoked conditionally." >&2;}
11556 { (exit 1); exit 1; }; }
11558 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11559 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11560 Usually this means the macro was only invoked conditionally." >&5
11561 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11562 Usually this means the macro was only invoked conditionally." >&2;}
11563 { (exit 1); exit 1; }; }
11565 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11566 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11567 Usually this means the macro was only invoked conditionally." >&5
11568 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11569 Usually this means the macro was only invoked conditionally." >&2;}
11570 { (exit 1); exit 1; }; }
11572 if test -z "${TARGET_LIBRARY_TRUE}" && test -z "${TARGET_LIBRARY_FALSE}"; then
11573 { { echo "$as_me:$LINENO: error: conditional \"TARGET_LIBRARY\" was never defined.
11574 Usually this means the macro was only invoked conditionally." >&5
11575 echo "$as_me: error: conditional \"TARGET_LIBRARY\" was never defined.
11576 Usually this means the macro was only invoked conditionally." >&2;}
11577 { (exit 1); exit 1; }; }
11580 : ${CONFIG_STATUS=./config.status}
11581 ac_clean_files_save=$ac_clean_files
11582 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11583 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11584 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11585 cat >$CONFIG_STATUS <<_ACEOF
11587 # Generated by $as_me.
11588 # Run this file to recreate the current configuration.
11589 # Compiler output produced by configure, useful for debugging
11590 # configure, is in config.log if it exists.
11593 ac_cs_recheck=false
11595 SHELL=\${CONFIG_SHELL-$SHELL}
11598 cat >>$CONFIG_STATUS <<\_ACEOF
11599 ## --------------------- ##
11600 ## M4sh Initialization. ##
11601 ## --------------------- ##
11603 # Be Bourne compatible
11604 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11607 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11608 # is contrary to our usage. Disable this feature.
11609 alias -g '${1+"$@"}'='"$@"'
11610 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11613 DUALCASE=1; export DUALCASE # for MKS sh
11615 # Support unset when possible.
11616 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11623 # Work around bugs in pre-3.0 UWIN ksh.
11624 $as_unset ENV MAIL MAILPATH
11631 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11632 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11633 LC_TELEPHONE LC_TIME
11635 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
11636 eval $as_var=C; export $as_var
11642 # Required to use basename.
11643 if expr a : '\(a\)' >/dev/null 2>&1; then
11649 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11650 as_basename=basename
11656 # Name of the executable.
11657 as_me=`$as_basename "$0" ||
11658 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11659 X
"$0" : 'X\(//\)$' \| \
11660 X
"$0" : 'X\(/\)$' \| \
11661 .
: '\(.\)' 2>/dev
/null ||
11663 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11664 /^X\/\(\/\/\)$/{ s//\1/; q; }
11665 /^X\/\(\/\).*/{ s//\1/; q; }
11669 # PATH needs CR, and LINENO needs CR and PATH.
11670 # Avoid depending upon Character Ranges.
11671 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11672 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11673 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11674 as_cr_digits='0123456789'
11675 as_cr_alnum=$as_cr_Letters$as_cr_digits
11677 # The user is always right.
11678 if test "${PATH_SEPARATOR+set}" != set; then
11679 echo "#! /bin/sh" >conf$$.sh
11680 echo "exit 0" >>conf$$.sh
11682 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11691 as_lineno_1=$LINENO
11692 as_lineno_2=$LINENO
11693 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
11694 test "x$as_lineno_1" != "x$as_lineno_2" &&
11695 test "x$as_lineno_3" = "x$as_lineno_2" || {
11696 # Find who we are. Look in the path if we contain no path at all
11699 *[\\/]* ) as_myself=$0 ;;
11700 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11701 for as_dir in $PATH
11704 test -z "$as_dir" && as_dir=.
11705 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11710 # We did not find ourselves, most probably we were run as `sh COMMAND
'
11711 # in which case we are not to be found in the path.
11712 if test "x$as_myself" = x; then
11715 if test ! -f "$as_myself"; then
11716 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11717 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11718 { (exit 1); exit 1; }; }
11720 case $CONFIG_SHELL in
11722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11723 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11726 test -z "$as_dir" && as_dir=.
11727 for as_base in sh bash ksh sh5; do
11730 if ("$as_dir/$as_base" -c '
11731 as_lineno_1
=$LINENO
11732 as_lineno_2
=$LINENO
11733 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11734 test "x$as_lineno_1" != "x$as_lineno_2" &&
11735 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11736 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11737 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11738 CONFIG_SHELL=$as_dir/$as_base
11739 export CONFIG_SHELL
11740 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11748 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11749 # uniformly replaced by the line number. The first 'sed' inserts a
11750 # line-number line before each line; the second 'sed' does the real
11751 # work. The second script uses 'N
' to pair each line-number line
11752 # with the numbered line, and appends trailing '-' during
11753 # substitution so that $LINENO is not a special case at line end.
11754 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11755 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
11756 sed '=' <$as_myself |
11761 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11764 s,^['$as_cr_digits']*\n,,
11765 ' >$as_me.lineno
&&
11766 chmod +x
$as_me.lineno ||
11767 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11768 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11769 { (exit 1); exit 1; }; }
11771 # Don't try to exec as it changes $[0], causing all sort of problems
11772 # (the dirname of $[0] is not the place where we might find the
11773 # original and so on. Autoconf is especially sensible to this).
11775 # Exit status is that of the last command.
11780 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11781 *c
*,-n*) ECHO_N
= ECHO_C
='
11783 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11784 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11787 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11793 rm -f conf$$ conf$$.exe conf$$.
file
11795 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11796 # We could just check for DJGPP; but this test a) works b) is more generic
11797 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11798 if test -f conf$$.exe
; then
11799 # Don't use ln at all; we don't have any links
11804 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11809 rm -f conf$$ conf$$.exe conf$$.
file
11811 if mkdir
-p .
2>/dev
/null
; then
11814 test -d .
/-p && rmdir .
/-p
11818 as_executable_p
="test -f"
11820 # Sed expression to map a string onto a valid CPP name.
11821 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11823 # Sed expression to map a string onto a valid variable name.
11824 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11828 # We need space, tab and new line, in precisely that order.
11838 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11839 # report actual input values of CONFIG_FILES etc. instead of their
11840 # values after options handling. Logging --version etc. is OK.
11844 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11845 ## Running $as_me. ##
11850 This file was extended by $as_me, which was
11851 generated by GNU Autoconf 2.59. Invocation command line was
11853 CONFIG_FILES = $CONFIG_FILES
11854 CONFIG_HEADERS = $CONFIG_HEADERS
11855 CONFIG_LINKS = $CONFIG_LINKS
11856 CONFIG_COMMANDS = $CONFIG_COMMANDS
11860 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11864 # Files that config.status was made for.
11865 if test -n "$ac_config_files"; then
11866 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11869 if test -n "$ac_config_headers"; then
11870 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11873 if test -n "$ac_config_links"; then
11874 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11877 if test -n "$ac_config_commands"; then
11878 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11881 cat >>$CONFIG_STATUS <<\_ACEOF
11884 \`$as_me' instantiates files from templates according to the
11885 current configuration.
11887 Usage: $0 [OPTIONS] [FILE]...
11889 -h, --help print this help, then exit
11890 -V, --version print version number, then exit
11891 -q, --quiet do not print progress messages
11892 -d, --debug don't remove temporary files
11893 --recheck update $as_me by reconfiguring in the same conditions
11894 --file=FILE[:TEMPLATE]
11895 instantiate the configuration file FILE
11897 Configuration files:
11900 Configuration commands:
11903 Report bugs to <bug-autoconf@gnu.org>."
11906 cat >>$CONFIG_STATUS <<_ACEOF
11909 configured by $0, generated by GNU Autoconf 2.59,
11910 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11912 Copyright (C) 2003 Free Software Foundation, Inc.
11913 This config.status script is free software; the Free Software Foundation
11914 gives unlimited permission to copy, distribute and modify it."
11919 cat >>$CONFIG_STATUS <<\_ACEOF
11920 # If no file are specified by the user, then we need to provide default
11921 # value. By we need to know if files were specified by the user.
11927 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11928 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11936 *) # This is not an option, so the user has probably given explicit
11939 ac_need_defaults
=false
;;
11943 # Handling of the options.
11945 cat >>$CONFIG_STATUS <<\_ACEOF
11946 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11948 --version |
--vers* |
-V )
11949 echo "$ac_cs_version"; exit 0 ;;
11951 # Conflict between --help and --header
11952 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11953 Try \`$0 --help' for more information." >&5
11954 echo "$as_me: error: ambiguous option: $1
11955 Try \`$0 --help' for more information." >&2;}
11956 { (exit 1); exit 1; }; };;
11957 --help |
--hel |
-h )
11958 echo "$ac_cs_usage"; exit 0 ;;
11959 --debug |
--d* |
-d )
11961 --file |
--fil |
--fi |
--f )
11963 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11964 ac_need_defaults
=false
;;
11965 --header |
--heade |
--head |
--hea )
11967 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11968 ac_need_defaults
=false
;;
11969 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11970 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11973 # This is an error.
11974 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11975 Try \`$0 --help' for more information." >&5
11976 echo "$as_me: error: unrecognized option: $1
11977 Try \`$0 --help' for more information." >&2;}
11978 { (exit 1); exit 1; }; } ;;
11980 *) ac_config_targets
="$ac_config_targets $1" ;;
11986 ac_configure_extra_args
=
11988 if $ac_cs_silent; then
11990 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11994 cat >>$CONFIG_STATUS <<_ACEOF
11995 if \$ac_cs_recheck; then
11996 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11997 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12002 cat >>$CONFIG_STATUS <<_ACEOF
12004 # INIT-COMMANDS section.
12011 with_multisubdir="$with_multisubdir"
12012 with_multisrctop="$with_multisrctop"
12013 with_target_subdir="$with_target_subdir"
12014 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12015 multi_basedir="$multi_basedir"
12016 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12018 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12021 # The HP-UX ksh and POSIX shell print the target directory to stdout
12022 # if CDPATH is set.
12023 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12025 sed_quote_subst='$sed_quote_subst'
12026 double_quote_subst='$double_quote_subst'
12027 delay_variable_subst='$delay_variable_subst'
12028 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12029 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12030 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12031 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12032 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12033 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12034 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12035 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12036 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12037 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12038 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12039 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12040 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12041 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12042 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12043 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12044 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12045 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12046 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12047 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12048 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12049 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12050 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12051 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12052 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12053 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12054 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12055 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12056 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12057 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12058 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12059 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12060 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12061 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12062 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12063 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12064 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12065 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12066 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12067 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12068 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12069 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12070 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12071 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12072 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"`'
12073 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"`'
12074 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12075 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12076 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12077 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12078 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12079 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12080 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12081 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12082 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12083 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12084 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12085 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12086 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12087 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12088 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12089 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12090 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12091 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12092 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12093 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12094 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12095 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12096 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12097 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12098 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12099 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12100 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12101 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12102 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12103 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12104 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12105 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12106 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12107 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12108 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12109 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12110 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12111 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12112 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12113 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12114 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12115 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12116 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12117 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12118 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12119 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12120 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12121 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12122 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12123 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12124 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12125 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12126 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12127 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12128 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12129 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12130 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12131 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12132 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12133 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12134 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12135 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12136 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12137 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12138 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12139 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12140 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12141 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12142 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12143 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12144 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12145 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12148 LTCFLAGS='$LTCFLAGS'
12149 compiler='$compiler_DEFAULT'
12151 # Quote evaled strings.
12163 deplibs_check_method \
12172 lt_cv_sys_global_symbol_pipe \
12173 lt_cv_sys_global_symbol_to_cdecl \
12174 lt_cv_sys_global_symbol_to_c_name_address \
12175 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12178 lt_prog_compiler_no_builtin_flag \
12179 lt_prog_compiler_wl \
12180 lt_prog_compiler_pic \
12181 lt_prog_compiler_static \
12182 lt_cv_prog_compiler_c_o \
12190 export_dynamic_flag_spec \
12191 whole_archive_flag_spec \
12192 compiler_needs_object \
12194 allow_undefined_flag \
12195 no_undefined_flag \
12196 hardcode_libdir_flag_spec \
12197 hardcode_libdir_flag_spec_ld \
12198 hardcode_libdir_separator \
12203 variables_saved_for_relink \
12205 library_names_spec \
12210 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12211 *[\\\\\\\`\\"\\\$]*)
12212 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12215 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12220 # Double-quote double-evaled strings.
12221 for var in reload_cmds \
12222 old_postinstall_cmds \
12223 old_postuninstall_cmds \
12225 extract_expsyms_cmds \
12226 old_archive_from_new_cmds \
12227 old_archive_from_expsyms_cmds \
12229 archive_expsym_cmds \
12231 module_expsym_cmds \
12232 export_symbols_cmds \
12235 postuninstall_cmds \
12237 sys_lib_search_path_spec \
12238 sys_lib_dlsearch_path_spec; do
12239 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12240 *[\\\\\\\`\\"\\\$]*)
12241 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12244 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12249 # Fix-up fallback echo if it was mangled by the above quoting rules.
12251 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12255 ac_aux_dir='$ac_aux_dir'
12256 xsi_shell='$xsi_shell'
12257 lt_shell_append='$lt_shell_append'
12259 # See if we are running on zsh, and set the options which allow our
12260 # commands through without removal of \ escapes INIT.
12261 if test -n "\${ZSH_VERSION+set}" ; then
12262 setopt NO_GLOB_SUBST
12268 TIMESTAMP='$TIMESTAMP'
12279 cat >>$CONFIG_STATUS <<\_ACEOF
12280 for ac_config_target
in $ac_config_targets
12282 case "$ac_config_target" in
12283 # Handling of arguments.
12284 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12285 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12286 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12287 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12288 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12289 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12290 { (exit 1); exit 1; }; };;
12294 # If the user did not use the arguments to specify the items to instantiate,
12295 # then the envvar interface is used. Set only those that are not.
12296 # We use the long form for the default assignment because of an extremely
12297 # bizarre bug on SunOS 4.1.3.
12298 if $ac_need_defaults; then
12299 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12300 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12303 # Have a temporary directory for convenience. Make it in the build tree
12304 # simply because there is no reason to put it here, and in addition,
12305 # creating and moving files from /tmp can sometimes cause problems.
12306 # Create a temporary directory, and hook for its removal unless debugging.
12309 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12310 trap '{ (exit 1); exit 1; }' 1 2 13 15
12313 # Create a (secure) tmp directory for tmp files.
12316 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12317 test -n "$tmp" && test -d "$tmp"
12320 tmp
=.
/confstat$$
-$RANDOM
12321 (umask 077 && mkdir
$tmp)
12324 echo "$me: cannot create a temporary directory in ." >&2
12325 { (exit 1); exit 1; }
12330 cat >>$CONFIG_STATUS <<_ACEOF
12333 # CONFIG_FILES section.
12336 # No need to generate the scripts if there are no CONFIG_FILES.
12337 # This happens for instance when ./config.status config.h
12338 if test -n "\$CONFIG_FILES"; then
12339 # Protect against being on the right side of a sed subst in config.status.
12340 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12341 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12342 s,@SHELL@,$SHELL,;t t
12343 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12344 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12345 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12346 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12347 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12348 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12349 s,@exec_prefix@,$exec_prefix,;t t
12350 s,@prefix@,$prefix,;t t
12351 s,@program_transform_name@,$program_transform_name,;t t
12352 s,@bindir@,$bindir,;t t
12353 s,@sbindir@,$sbindir,;t t
12354 s,@libexecdir@,$libexecdir,;t t
12355 s,@datadir@,$datadir,;t t
12356 s,@sysconfdir@,$sysconfdir,;t t
12357 s,@sharedstatedir@,$sharedstatedir,;t t
12358 s,@localstatedir@,$localstatedir,;t t
12359 s,@libdir@,$libdir,;t t
12360 s,@includedir@,$includedir,;t t
12361 s,@oldincludedir@,$oldincludedir,;t t
12362 s,@infodir@,$infodir,;t t
12363 s,@mandir@,$mandir,;t t
12364 s,@build_alias@,$build_alias,;t t
12365 s,@host_alias@,$host_alias,;t t
12366 s,@target_alias@,$target_alias,;t t
12367 s,@DEFS@,$DEFS,;t t
12368 s,@ECHO_C@,$ECHO_C,;t t
12369 s,@ECHO_N@,$ECHO_N,;t t
12370 s,@ECHO_T@,$ECHO_T,;t t
12371 s,@LIBS@,$LIBS,;t t
12372 s,@multi_basedir@,$multi_basedir,;t t
12373 s,@build@,$build,;t t
12374 s,@build_cpu@,$build_cpu,;t t
12375 s,@build_vendor@,$build_vendor,;t t
12376 s,@build_os@,$build_os,;t t
12377 s,@host@,$host,;t t
12378 s,@host_cpu@,$host_cpu,;t t
12379 s,@host_vendor@,$host_vendor,;t t
12380 s,@host_os@,$host_os,;t t
12381 s,@target@,$target,;t t
12382 s,@target_cpu@,$target_cpu,;t t
12383 s,@target_vendor@,$target_vendor,;t t
12384 s,@target_os@,$target_os,;t t
12385 s,@mkinstalldirs@,$mkinstalldirs,;t t
12386 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12387 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12388 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12389 s,@CYGPATH_W@,$CYGPATH_W,;t t
12390 s,@PACKAGE@,$PACKAGE,;t t
12391 s,@VERSION@,$VERSION,;t t
12392 s,@ACLOCAL@,$ACLOCAL,;t t
12393 s,@AUTOCONF@,$AUTOCONF,;t t
12394 s,@AUTOMAKE@,$AUTOMAKE,;t t
12395 s,@AUTOHEADER@,$AUTOHEADER,;t t
12396 s,@MAKEINFO@,$MAKEINFO,;t t
12397 s,@install_sh@,$install_sh,;t t
12398 s,@STRIP@,$STRIP,;t t
12399 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12400 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12401 s,@mkdir_p@,$mkdir_p,;t t
12403 s,@SET_MAKE@,$SET_MAKE,;t t
12404 s,@am__leading_dot@,$am__leading_dot,;t t
12405 s,@AMTAR@,$AMTAR,;t t
12406 s,@am__tar@,$am__tar,;t t
12407 s,@am__untar@,$am__untar,;t t
12408 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12409 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12410 s,@MAINT@,$MAINT,;t t
12411 s,@COMPPATH@,$COMPPATH,;t t
12413 s,@ac_ct_CC@,$ac_ct_CC,;t t
12414 s,@EXEEXT@,$EXEEXT,;t t
12415 s,@OBJEXT@,$OBJEXT,;t t
12416 s,@DEPDIR@,$DEPDIR,;t t
12417 s,@am__include@,$am__include,;t t
12418 s,@am__quote@,$am__quote,;t t
12419 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12420 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12421 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12422 s,@CCDEPMODE@,$CCDEPMODE,;t t
12423 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12424 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12425 s,@CFLAGS@,$CFLAGS,;t t
12426 s,@LIBTOOL@,$LIBTOOL,;t t
12428 s,@EGREP@,$EGREP,;t t
12429 s,@FGREP@,$FGREP,;t t
12430 s,@GREP@,$GREP,;t t
12432 s,@DUMPBIN@,$DUMPBIN,;t t
12433 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
12435 s,@LN_S@,$LN_S,;t t
12436 s,@OBJDUMP@,$OBJDUMP,;t t
12437 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
12439 s,@ac_ct_AR@,$ac_ct_AR,;t t
12440 s,@RANLIB@,$RANLIB,;t t
12441 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12442 s,@lt_ECHO@,$lt_ECHO,;t t
12443 s,@DSYMUTIL@,$DSYMUTIL,;t t
12444 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
12445 s,@NMEDIT@,$NMEDIT,;t t
12446 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
12447 s,@LIPO@,$LIPO,;t t
12448 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
12449 s,@OTOOL@,$OTOOL,;t t
12450 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
12451 s,@OTOOL64@,$OTOOL64,;t t
12452 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
12454 s,@CPPFLAGS@,$CPPFLAGS,;t t
12455 s,@target_all@,$target_all,;t t
12456 s,@toolexecdir@,$toolexecdir,;t t
12457 s,@toolexeclibdir@,$toolexeclibdir,;t t
12458 s,@TARGET_LIBRARY_TRUE@,$TARGET_LIBRARY_TRUE,;t t
12459 s,@TARGET_LIBRARY_FALSE@,$TARGET_LIBRARY_FALSE,;t t
12460 s,@LIBOBJS@,$LIBOBJS,;t t
12461 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12466 cat >>$CONFIG_STATUS <<\_ACEOF
12467 # Split the substitutions into bite-sized pieces for seds with
12468 # small command number limits, like on Digital OSF/1 and HP-UX.
12469 ac_max_sed_lines
=48
12470 ac_sed_frag
=1 # Number of current file.
12471 ac_beg
=1 # First line for current file.
12472 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12475 while $ac_more_lines; do
12476 if test $ac_beg -gt 1; then
12477 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12479 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12481 if test ! -s $tmp/subs.frag
; then
12482 ac_more_lines
=false
12484 # The purpose of the label and of the branching condition is to
12485 # speed up the sed processing (if there are no `@' at all, there
12486 # is no need to browse any of the substitutions).
12487 # These are the two extra sed commands mentioned above.
12489 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12490 if test -z "$ac_sed_cmds"; then
12491 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12493 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12495 ac_sed_frag
=`expr $ac_sed_frag + 1`
12497 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12500 if test -z "$ac_sed_cmds"; then
12503 fi # test -n "$CONFIG_FILES"
12506 cat >>$CONFIG_STATUS <<\_ACEOF
12507 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12508 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12510 - |
*:- |
*:-:* ) # input from stdin
12512 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12513 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12514 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12515 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12516 * ) ac_file_in
=$ac_file.
in ;;
12519 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12520 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12521 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12522 X"$ac_file" : 'X\(//\)[^/]' \| \
12523 X"$ac_file" : 'X\(//\)$' \| \
12524 X"$ac_file" : 'X\(/\)' \| \
12525 . : '\(.\)' 2>/dev/null ||
12527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12528 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12529 /^X\(\/\/\)$/{ s//\1/; q; }
12530 /^X\(\/\).*/{ s//\1/; q; }
12532 { if $as_mkdir_p; then
12537 while test ! -d "$as_dir"; do
12538 as_dirs
="$as_dir $as_dirs"
12539 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12540 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12541 X"$as_dir" : 'X\(//\)[^/]' \| \
12542 X"$as_dir" : 'X\(//\)$' \| \
12543 X"$as_dir" : 'X\(/\)' \| \
12544 . : '\(.\)' 2>/dev/null ||
12546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12547 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12548 /^X\(\/\/\)$/{ s//\1/; q; }
12549 /^X\(\/\).*/{ s//\1/; q; }
12552 test ! -n "$as_dirs" || mkdir
$as_dirs
12553 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12554 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12555 { (exit 1); exit 1; }; }; }
12559 if test "$ac_dir" != .
; then
12560 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12561 # A "../" for each directory in $ac_dir_suffix.
12562 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12564 ac_dir_suffix
= ac_top_builddir
=
12568 .
) # No --srcdir option. We are building in place.
12570 if test -z "$ac_top_builddir"; then
12573 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12575 [\\/]* | ?
:[\\/]* ) # Absolute path.
12576 ac_srcdir
=$srcdir$ac_dir_suffix;
12577 ac_top_srcdir
=$srcdir ;;
12578 *) # Relative path.
12579 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12580 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12583 # Do not use `cd foo && pwd` to compute absolute paths, because
12584 # the directories may not exist.
12586 .
) ac_abs_builddir
="$ac_dir";;
12589 .
) ac_abs_builddir
=`pwd`;;
12590 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12591 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12594 case $ac_abs_builddir in
12595 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12597 case ${ac_top_builddir}.
in
12598 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12599 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12600 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12603 case $ac_abs_builddir in
12604 .
) ac_abs_srcdir
=$ac_srcdir;;
12607 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12608 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12609 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12612 case $ac_abs_builddir in
12613 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12615 case $ac_top_srcdir in
12616 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12617 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12618 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12624 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12625 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12628 if test x
"$ac_file" != x-
; then
12629 { echo "$as_me:$LINENO: creating $ac_file" >&5
12630 echo "$as_me: creating $ac_file" >&6;}
12633 # Let's still pretend it is `configure' which instantiates (i.e., don't
12634 # use $as_me), people would be surprised to read:
12635 # /* config.h. Generated by config.status. */
12636 if test x
"$ac_file" = x-
; then
12639 configure_input
="$ac_file. "
12641 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12642 sed 's,.*/,,'` by configure."
12644 # First look for the input files in the build tree, otherwise in the
12646 ac_file_inputs
=`IFS=:
12647 for f in $ac_file_in; do
12649 -) echo $tmp/stdin ;;
12651 # Absolute (can't be DOS-style, as IFS=:)
12652 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12653 echo "$as_me: error: cannot find input file: $f" >&2;}
12654 { (exit 1); exit 1; }; }
12657 if test -f "$f"; then
12660 elif test -f "$srcdir/$f"; then
12665 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12666 echo "$as_me: error: cannot find input file: $f" >&2;}
12667 { (exit 1); exit 1; }; }
12670 done` ||
{ (exit 1); exit 1; }
12672 cat >>$CONFIG_STATUS <<_ACEOF
12676 cat >>$CONFIG_STATUS <<\_ACEOF
12678 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12679 s
,@configure_input@
,$configure_input,;t t
12680 s
,@srcdir@
,$ac_srcdir,;t t
12681 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12682 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12683 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12684 s
,@builddir@
,$ac_builddir,;t t
12685 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12686 s
,@top_builddir@
,$ac_top_builddir,;t t
12687 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12688 s
,@INSTALL@
,$ac_INSTALL,;t t
12689 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12691 if test x"$ac_file" != x-; then
12692 mv $tmp/out $ac_file
12700 cat >>$CONFIG_STATUS <<\_ACEOF
12703 # CONFIG_COMMANDS section.
12705 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
12706 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12707 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12708 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12709 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12710 X"$ac_dest" : 'X\(//\)[^/]' \| \
12711 X"$ac_dest" : 'X\(//\)$' \| \
12712 X"$ac_dest" : 'X\(/\)' \| \
12713 . : '\(.\)' 2>/dev/null ||
12715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12717 /^X\(\/\/\)$/{ s//\1/; q; }
12718 /^X\(\/\).*/{ s//\1/; q; }
12720 { if $as_mkdir_p; then
12725 while test ! -d "$as_dir"; do
12726 as_dirs="$as_dir $as_dirs"
12727 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12728 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12729 X"$as_dir" : 'X\(//\)[^/]' \| \
12730 X"$as_dir" : 'X\(//\)$' \| \
12731 X"$as_dir" : 'X\(/\)' \| \
12732 . : '\(.\)' 2>/dev/null ||
12734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12735 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12736 /^X\(\/\/\)$/{ s//\1/; q; }
12737 /^X\(\/\).*/{ s//\1/; q; }
12740 test ! -n "$as_dirs" || mkdir $as_dirs
12741 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
12742 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
12743 { (exit 1); exit 1; }; }; }
12747 if test "$ac_dir" != .; then
12748 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12749 # A "..
/" for each directory in $ac_dir_suffix.
12750 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12752 ac_dir_suffix= ac_top_builddir=
12756 .) # No --srcdir option. We are building in place.
12758 if test -z "$ac_top_builddir"; then
12761 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12763 [\\/]* | ?:[\\/]* ) # Absolute path.
12764 ac_srcdir=$srcdir$ac_dir_suffix;
12765 ac_top_srcdir=$srcdir ;;
12766 *) # Relative path.
12767 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12768 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12771 # Do not use `cd foo && pwd` to compute absolute paths, because
12772 # the directories may not exist.
12774 .) ac_abs_builddir="$ac_dir";;
12777 .) ac_abs_builddir=`pwd`;;
12778 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12779 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12782 case $ac_abs_builddir in
12783 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12785 case ${ac_top_builddir}. in
12786 .) ac_abs_top_builddir=$ac_abs_builddir;;
12787 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12788 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12791 case $ac_abs_builddir in
12792 .) ac_abs_srcdir=$ac_srcdir;;
12795 .) ac_abs_srcdir=$ac_abs_builddir;;
12796 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12797 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12800 case $ac_abs_builddir in
12801 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12803 case $ac_top_srcdir in
12804 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12805 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12806 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12811 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
12812 echo "$as_me: executing
$ac_dest commands
" >&6;}
12815 # Only add multilib support code if we just rebuilt the top-level
12817 case " $CONFIG_FILES " in
12819 ac_file=Makefile . ${multi_basedir}/config-ml.in
12822 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12823 # Strip MF so we end up with the name of the file.
12824 mf=`echo "$mf" | sed -e 's/:.*$//'`
12825 # Check whether this is an Automake generated Makefile or not.
12826 # We used to match only the files named `Makefile.in', but
12827 # some people rename them; so instead we look at the file content.
12828 # Grep'ing the first line is not enough: some people post-process
12829 # each Makefile.in and add a new line on top of each file to say so.
12830 # So let's grep whole file.
12831 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12832 dirpart=`(dirname "$mf") 2>/dev/null ||
12833 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12834 X"$mf" : 'X\(//\)[^/]' \| \
12835 X"$mf" : 'X\(//\)$' \| \
12836 X"$mf" : 'X\(/\)' \| \
12837 . : '\(.\)' 2>/dev/null ||
12839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12840 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12841 /^X\(\/\/\)$/{ s//\1/; q; }
12842 /^X\(\/\).*/{ s//\1/; q; }
12847 # Extract the definition of DEPDIR, am__include, and am__quote
12848 # from the Makefile without running `make'.
12849 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12850 test -z "$DEPDIR" && continue
12851 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12852 test -z "am__include
" && continue
12853 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12854 # When using ansi2knr, U may be empty or an underscore; expand it
12855 U=`sed -n 's/^U = //p' < "$mf"`
12856 # Find all dependency output files, they are included files with
12857 # $(DEPDIR) in their names. We invoke sed twice because it is the
12858 # simplest approach to changing $(DEPDIR) to its actual value in the
12860 for file in `sed -n "
12861 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
12862 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12863 # Make sure the directory exists.
12864 test -f "$dirpart/$file" && continue
12865 fdir=`(dirname "$file") 2>/dev/null ||
12866 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12867 X"$file" : 'X\(//\)[^/]' \| \
12868 X"$file" : 'X\(//\)$' \| \
12869 X"$file" : 'X\(/\)' \| \
12870 . : '\(.\)' 2>/dev/null ||
12872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12874 /^X\(\/\/\)$/{ s//\1/; q; }
12875 /^X\(\/\).*/{ s//\1/; q; }
12877 { if $as_mkdir_p; then
12878 mkdir -p $dirpart/$fdir
12880 as_dir=$dirpart/$fdir
12882 while test ! -d "$as_dir"; do
12883 as_dirs="$as_dir $as_dirs"
12884 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12886 X"$as_dir" : 'X\(//\)[^/]' \| \
12887 X"$as_dir" : 'X\(//\)$' \| \
12888 X"$as_dir" : 'X\(/\)' \| \
12889 . : '\(.\)' 2>/dev/null ||
12891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12893 /^X\(\/\/\)$/{ s//\1/; q; }
12894 /^X\(\/\).*/{ s//\1/; q; }
12897 test ! -n "$as_dirs" || mkdir $as_dirs
12898 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
12899 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
12900 { (exit 1); exit 1; }; }; }
12902 # echo "creating
$dirpart/$file"
12903 echo '# dummy' > "$dirpart/$file"
12909 # See if we are running on zsh, and set the options which allow our
12910 # commands through without removal of \ escapes.
12911 if test -n "${ZSH_VERSION+set}" ; then
12912 setopt NO_GLOB_SUBST
12915 cfgfile="${ofile}T
"
12916 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12919 cat <<_LT_EOF >> "$cfgfile"
12922 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12923 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12924 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12925 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12927 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12928 # 2006, 2007, 2008 Free Software Foundation, Inc.
12929 # Written by Gordon Matzigkeit, 1996
12931 # This file is part of GNU Libtool.
12933 # GNU Libtool is free software; you can redistribute it and/or
12934 # modify it under the terms of the GNU General Public License as
12935 # published by the Free Software Foundation; either version 2 of
12936 # the License, or (at your option) any later version.
12938 # As a special exception to the GNU General Public License,
12939 # if you distribute this file as part of a program or library that
12940 # is built using GNU Libtool, you may include this file under the
12941 # same distribution terms that you use for the rest of that program.
12943 # GNU Libtool is distributed in the hope that it will be useful,
12944 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12945 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12946 # GNU General Public License for more details.
12948 # You should have received a copy of the GNU General Public License
12949 # along with GNU Libtool; see the file COPYING. If not, a copy
12950 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12951 # obtained by writing to the Free Software Foundation, Inc.,
12952 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12955 # The names of the tagged configurations supported by this script.
12958 # ### BEGIN LIBTOOL CONFIG
12960 # Which release of libtool.m4 was used?
12961 macro_version=$macro_version
12962 macro_revision=$macro_revision
12964 # Whether or not to build shared libraries.
12965 build_libtool_libs=$enable_shared
12967 # Whether or not to build static libraries.
12968 build_old_libs=$enable_static
12970 # What type of objects to build.
12973 # Whether or not to optimize for fast installation.
12974 fast_install=$enable_fast_install
12977 host_alias=$host_alias
12981 # The build system.
12982 build_alias=$build_alias
12986 # A sed program that does not truncate output.
12989 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12990 Xsed="\
$SED -e 1s
/^X
//"
12992 # A grep program that handles long lines.
12998 # A literal string matcher.
13001 # A BSD- or MS-compatible name lister.
13004 # Whether we need soft or hard links.
13007 # What is the maximum length of a command?
13008 max_cmd_len=$max_cmd_len
13010 # Object file suffix (normally "o
").
13013 # Executable file suffix (normally "").
13016 # whether the shell understands "unset".
13019 # turn spaces into newlines.
13022 # turn newlines into spaces.
13025 # How to create reloadable object files.
13026 reload_flag=$lt_reload_flag
13027 reload_cmds=$lt_reload_cmds
13029 # An object symbol dumper.
13030 OBJDUMP=$lt_OBJDUMP
13032 # Method to check whether dependent libraries are shared objects.
13033 deplibs_check_method=$lt_deplibs_check_method
13035 # Command to use when deplibs_check_method == "file_magic
".
13036 file_magic_cmd=$lt_file_magic_cmd
13040 AR_FLAGS=$lt_AR_FLAGS
13042 # A symbol stripping program.
13045 # Commands used to install an old-style archive.
13047 old_postinstall_cmds=$lt_old_postinstall_cmds
13048 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13053 # LTCC compiler flags.
13054 LTCFLAGS=$lt_CFLAGS
13056 # Take the output of nm and produce a listing of raw symbols and C names.
13057 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13059 # Transform the output of nm in a proper C declaration.
13060 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13062 # Transform the output of nm in a C name address pair.
13063 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13065 # Transform the output of nm in a C name address pair when lib prefix is needed.
13066 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13068 # The name of the directory that contains temporary libtool files.
13071 # Shell to use when invoking shell scripts.
13074 # An echo program that does not interpret backslashes.
13077 # Used to examine libraries when file_magic_cmd begins with "file".
13078 MAGIC_CMD=$MAGIC_CMD
13080 # Must we lock files when doing compilation?
13081 need_locks=$lt_need_locks
13083 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13084 DSYMUTIL=$lt_DSYMUTIL
13086 # Tool to change global to local symbols on Mac OS X.
13089 # Tool to manipulate fat objects and archives on Mac OS X.
13092 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13095 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13096 OTOOL64=$lt_OTOOL64
13098 # Old archive suffix (normally "a
").
13101 # Shared library suffix (normally ".so
").
13102 shrext_cmds=$lt_shrext_cmds
13104 # The commands to extract the exported symbol list from a shared archive.
13105 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13107 # Variables whose values should be saved in libtool wrapper scripts and
13108 # restored at link time.
13109 variables_saved_for_relink=$lt_variables_saved_for_relink
13111 # Do we need the "lib
" prefix for modules?
13112 need_lib_prefix=$need_lib_prefix
13114 # Do we need a version for libraries?
13115 need_version=$need_version
13117 # Library versioning type.
13118 version_type=$version_type
13120 # Shared library runtime path variable.
13121 runpath_var=$runpath_var
13123 # Shared library path variable.
13124 shlibpath_var=$shlibpath_var
13126 # Is shlibpath searched before the hard-coded library search path?
13127 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13129 # Format of library name prefix.
13130 libname_spec=$lt_libname_spec
13132 # List of archive names. First name is the real one, the rest are links.
13133 # The last name is the one that the linker finds with -lNAME
13134 library_names_spec=$lt_library_names_spec
13136 # The coded name of the library, if different from the real name.
13137 soname_spec=$lt_soname_spec
13139 # Command to use after installation of a shared archive.
13140 postinstall_cmds=$lt_postinstall_cmds
13142 # Command to use after uninstallation of a shared archive.
13143 postuninstall_cmds=$lt_postuninstall_cmds
13145 # Commands used to finish a libtool library installation in a directory.
13146 finish_cmds=$lt_finish_cmds
13148 # As "finish_cmds
", except a single script fragment to be evaled but
13150 finish_eval=$lt_finish_eval
13152 # Whether we should hardcode library paths into libraries.
13153 hardcode_into_libs=$hardcode_into_libs
13155 # Compile-time system search path for libraries.
13156 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13158 # Run-time system search path for libraries.
13159 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13161 # Whether dlopen is supported.
13162 dlopen_support=$enable_dlopen
13164 # Whether dlopen of programs is supported.
13165 dlopen_self=$enable_dlopen_self
13167 # Whether dlopen of statically linked programs is supported.
13168 dlopen_self_static=$enable_dlopen_self_static
13170 # Commands to strip libraries.
13171 old_striplib=$lt_old_striplib
13172 striplib=$lt_striplib
13175 # The linker used to build libraries.
13178 # Commands used to build an old-style archive.
13179 old_archive_cmds=$lt_old_archive_cmds
13181 # A language specific compiler.
13184 # Is the compiler the GNU compiler?
13187 # Compiler flag to turn off builtin functions.
13188 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13190 # How to pass a linker flag through the compiler.
13191 wl=$lt_lt_prog_compiler_wl
13193 # Additional compiler flags for building library objects.
13194 pic_flag=$lt_lt_prog_compiler_pic
13196 # Compiler flag to prevent dynamic linking.
13197 link_static_flag=$lt_lt_prog_compiler_static
13199 # Does compiler simultaneously support -c and -o options?
13200 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13202 # Whether or not to add -lc for building shared libraries.
13203 build_libtool_need_lc=$archive_cmds_need_lc
13205 # Whether or not to disallow shared libs when runtime libs are static.
13206 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13208 # Compiler flag to allow reflexive dlopens.
13209 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13211 # Compiler flag to generate shared objects directly from archives.
13212 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13214 # Whether the compiler copes with passing no objects directly.
13215 compiler_needs_object=$lt_compiler_needs_object
13217 # Create an old-style archive from a shared archive.
13218 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13220 # Create a temporary old-style archive to link instead of a shared archive.
13221 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13223 # Commands used to build a shared archive.
13224 archive_cmds=$lt_archive_cmds
13225 archive_expsym_cmds=$lt_archive_expsym_cmds
13227 # Commands used to build a loadable module if different from building
13228 # a shared archive.
13229 module_cmds=$lt_module_cmds
13230 module_expsym_cmds=$lt_module_expsym_cmds
13232 # Whether we are building with GNU ld or not.
13233 with_gnu_ld=$lt_with_gnu_ld
13235 # Flag that allows shared libraries with undefined symbols to be built.
13236 allow_undefined_flag=$lt_allow_undefined_flag
13238 # Flag that enforces no undefined symbols.
13239 no_undefined_flag=$lt_no_undefined_flag
13241 # Flag to hardcode \$libdir into a binary during linking.
13242 # This must work even if \$libdir does not exist
13243 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13245 # If ld is used when linking, flag to hardcode \$libdir into a binary
13246 # during linking. This must work even if \$libdir does not exist.
13247 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13249 # Whether we need a single "-rpath" flag with a separated argument.
13250 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13252 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13253 # DIR into the resulting binary.
13254 hardcode_direct=$hardcode_direct
13256 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13257 # DIR into the resulting binary and the resulting library dependency is
13258 # "absolute
",i.e impossible to change by setting \${shlibpath_var} if the
13259 # library is relocated.
13260 hardcode_direct_absolute=$hardcode_direct_absolute
13262 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13263 # into the resulting binary.
13264 hardcode_minus_L=$hardcode_minus_L
13266 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13267 # into the resulting binary.
13268 hardcode_shlibpath_var=$hardcode_shlibpath_var
13270 # Set to "yes" if building a shared library automatically hardcodes DIR
13271 # into the library and all subsequent libraries and executables linked
13273 hardcode_automatic=$hardcode_automatic
13275 # Set to yes if linker adds runtime paths of dependent libraries
13276 # to runtime path list.
13277 inherit_rpath=$inherit_rpath
13279 # Whether libtool must link a program against all its dependency libraries.
13280 link_all_deplibs=$link_all_deplibs
13282 # Fix the shell variable \$srcfile for the compiler.
13283 fix_srcfile_path=$lt_fix_srcfile_path
13285 # Set to "yes" if exported symbols are required.
13286 always_export_symbols=$always_export_symbols
13288 # The commands to list exported symbols.
13289 export_symbols_cmds=$lt_export_symbols_cmds
13291 # Symbols that should not be listed in the preloaded symbols.
13292 exclude_expsyms=$lt_exclude_expsyms
13294 # Symbols that must always be exported.
13295 include_expsyms=$lt_include_expsyms
13297 # Commands necessary for linking programs (against libraries) with templates.
13298 prelink_cmds=$lt_prelink_cmds
13300 # Specify filename containing input files.
13301 file_list_spec=$lt_file_list_spec
13303 # How to hardcode a shared library path into an executable.
13304 hardcode_action=$hardcode_action
13306 # ### END LIBTOOL CONFIG
13312 cat <<\_LT_EOF >> "$cfgfile"
13313 # AIX sometimes has problems with the GCC collect2 program. For some
13314 # reason, if we set the COLLECT_NAMES environment variable, the problems
13315 # vanish in a puff of smoke.
13316 if test "X
${COLLECT_NAMES+set}" != Xset; then
13318 export COLLECT_NAMES
13325 ltmain="$ac_aux_dir/ltmain.sh
"
13328 # We use sed instead of cat because bash on DJGPP gets confused if
13329 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13330 # text mode, it properly converts lines to CR/LF. This bash problem
13331 # is reportedly fixed, but why not run on old versions too?
13332 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13333 || (rm -f "$cfgfile"; exit 1)
13337 cat << \_LT_EOF >> "$cfgfile"
13339 # func_dirname file append nondir_replacement
13340 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13341 # otherwise set result to NONDIR_REPLACEMENT.
13345 */*) func_dirname_result="${1%/*}${2}" ;;
13346 * ) func_dirname_result="${3}" ;;
13350 # func_basename file
13353 func_basename_result="${1##*/}"
13356 # func_dirname_and_basename file append nondir_replacement
13357 # perform func_basename and func_dirname in a single function
13359 # dirname: Compute the dirname of FILE. If nonempty,
13360 # add APPEND to the result, otherwise set result
13361 # to NONDIR_REPLACEMENT.
13362 # value returned in "$func_dirname_result"
13363 # basename: Compute filename of FILE.
13364 # value retuned in "$func_basename_result"
13365 # Implementation must be kept synchronized with func_dirname
13366 # and func_basename. For efficiency, we do not delegate to
13367 # those functions but instead duplicate the functionality here.
13368 func_dirname_and_basename ()
13371 */*) func_dirname_result="${1%/*}${2}" ;;
13372 * ) func_dirname_result="${3}" ;;
13374 func_basename_result="${1##*/}"
13377 # func_stripname prefix suffix name
13378 # strip PREFIX and SUFFIX off of NAME.
13379 # PREFIX and SUFFIX must not contain globbing or regex special
13380 # characters, hashes, percent signs, but SUFFIX may contain a leading
13381 # dot (in which case that matches only a dot).
13384 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13385 # positional parameters, so assign one to ordinary parameter first.
13386 func_stripname_result=${3}
13387 func_stripname_result=${func_stripname_result#"${1}"}
13388 func_stripname_result=${func_stripname_result%"${2}"}
13394 func_opt_split_opt=${1%%=*}
13395 func_opt_split_arg=${1#*=}
13402 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13403 *) func_lo2o_result=${1} ;;
13407 # func_xform libobj-or-source
13410 func_xform_result=${1%.*}.lo
13413 # func_arith arithmetic-term...
13416 func_arith_result=$(( $* ))
13420 # STRING may not start with a hyphen.
13423 func_len_result=${#1}
13428 *) # Bourne compatible functions.
13429 cat << \_LT_EOF >> "$cfgfile"
13431 # func_dirname file append nondir_replacement
13432 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13433 # otherwise set result to NONDIR_REPLACEMENT.
13436 # Extract subdirectory from the argument.
13437 func_dirname_result=`$ECHO "X
${1}" | $Xsed -e "$dirname"`
13438 if test "X
$func_dirname_result" = "X
${1}"; then
13439 func_dirname_result="${3}"
13441 func_dirname_result="$func_dirname_result${2}"
13445 # func_basename file
13448 func_basename_result=`$ECHO "X
${1}" | $Xsed -e "$basename"`
13452 # func_stripname prefix suffix name
13453 # strip PREFIX and SUFFIX off of NAME.
13454 # PREFIX and SUFFIX must not contain globbing or regex special
13455 # characters, hashes, percent signs, but SUFFIX may contain a leading
13456 # dot (in which case that matches only a dot).
13457 # func_strip_suffix prefix name
13461 .*) func_stripname_result=`$ECHO "X
${3}" \
13462 | $Xsed -e "s
%^
${1}%%" -e "s
%\\\\${2}\$
%%"`;;
13463 *) func_stripname_result=`$ECHO "X
${3}" \
13464 | $Xsed -e "s
%^
${1}%%" -e "s
%${2}\$
%%"`;;
13469 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13470 my_sed_long_arg='1s/^-[^=]*=//'
13475 func_opt_split_opt=`$ECHO "X
${1}" | $Xsed -e "$my_sed_long_opt"`
13476 func_opt_split_arg=`$ECHO "X
${1}" | $Xsed -e "$my_sed_long_arg"`
13482 func_lo2o_result=`$ECHO "X
${1}" | $Xsed -e "$lo2o"`
13485 # func_xform libobj-or-source
13488 func_xform_result=`$ECHO "X
${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13491 # func_arith arithmetic-term...
13494 func_arith_result=`expr "$@
"`
13498 # STRING may not start with a hyphen.
13501 func_len_result=`expr "$1" : ".
*" 2>/dev/null || echo $max_cmd_len`
13507 case $lt_shell_append in
13509 cat << \_LT_EOF >> "$cfgfile"
13511 # func_append var value
13512 # Append VALUE to the end of shell variable VAR.
13520 cat << \_LT_EOF >> "$cfgfile"
13522 # func_append var value
13523 # Append VALUE to the end of shell variable VAR.
13534 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13535 || (rm -f "$cfgfile"; exit 1)
13537 mv -f "$cfgfile" "$ofile" ||
13538 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13546 cat >>$CONFIG_STATUS <<\_ACEOF
13548 { (exit 0); exit 0; }
13550 chmod +x $CONFIG_STATUS
13551 ac_clean_files=$ac_clean_files_save
13554 # configure is writing to config.log, and then calls config.status.
13555 # config.status does its own redirection, appending to config.log.
13556 # Unfortunately, on DOS this fails, as config.log is still kept open
13557 # by configure, so config.status won't be able to write to it; its
13558 # output is simply discarded. So we exec the FD to /dev/null,
13559 # effectively closing config.log, so it can be properly (re)opened and
13560 # appended to by config.status. When coming back to configure, we
13561 # need to make the FD available again.
13562 if test "$no_create" != yes; then
13564 ac_config_status_args=
13565 test "$silent" = yes &&
13566 ac_config_status_args="$ac_config_status_args --quiet"
13568 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13570 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13571 # would make configure fail if this is the last instruction.
13572 $ac_cs_success || { (exit 1); exit 1; }