2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for libltdl 1.2.
5 # Report bugs to <bug-libtool@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
26 # Support unset when possible.
27 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
226 as_executable_p
="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL
=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec
; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo
; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo
; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset
; then CDPATH
=:; export CDPATH
; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset
; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
290 echo_test_string
="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
310 for dir
in $PATH /usr
/ucb
; do
312 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho
; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL
=/bin
/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
351 SHELL
="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string
=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames
=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames
=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix
=/usr
/local
410 ac_config_libobj_dir
=.
415 SHELL
=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME
='libltdl'
424 PACKAGE_TARNAME
='libltdl'
425 PACKAGE_VERSION
='1.2'
426 PACKAGE_STRING
='libltdl 1.2'
427 PACKAGE_BUGREPORT
='bug-libtool@gnu.org'
429 ac_unique_file
="ltdl.c"
430 # Factoring default headers for most tests.
431 ac_includes_default
="\
434 # include <sys/types.h>
437 # include <sys/stat.h>
448 # if !STDC_HEADERS && HAVE_MEMORY_H
454 # include <strings.h>
457 # include <inttypes.h>
467 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL LIBOBJS LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version
=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name
=s
,x
,x
,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir
='${exec_prefix}/bin'
496 sbindir
='${exec_prefix}/sbin'
497 libexecdir
='${exec_prefix}/libexec'
498 datadir
='${prefix}/share'
499 sysconfdir
='${prefix}/etc'
500 sharedstatedir
='${prefix}/com'
501 localstatedir
='${prefix}/var'
502 libdir
='${exec_prefix}/lib'
503 includedir
='${prefix}/include'
504 oldincludedir
='/usr/include'
505 infodir
='${prefix}/info'
506 mandir
='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
526 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
529 -build |
--build |
--buil |
--bui |
--bu)
530 ac_prev
=build_alias
;;
531 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
532 build_alias
=$ac_optarg ;;
534 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
535 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
536 ac_prev
=cache_file
;;
537 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
538 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
539 cache_file
=$ac_optarg ;;
542 cache_file
=config.cache
;;
544 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
546 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
548 datadir
=$ac_optarg ;;
550 -disable-* |
--disable-*)
551 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* |
--enable-*)
560 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
573 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
574 |
--exec |
--exe |
--ex)
575 ac_prev
=exec_prefix
;;
576 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
577 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
578 |
--exec=* |
--exe=* |
--ex=*)
579 exec_prefix
=$ac_optarg ;;
581 -gas |
--gas |
--ga |
--g)
582 # Obsolete; use --with-gas.
585 -help |
--help |
--hel |
--he |
-h)
587 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
588 ac_init_help
=recursive
;;
589 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
590 ac_init_help
=short
;;
592 -host |
--host |
--hos |
--ho)
593 ac_prev
=host_alias
;;
594 -host=* |
--host=* |
--hos=* |
--ho=*)
595 host_alias
=$ac_optarg ;;
597 -includedir |
--includedir |
--includedi |
--included |
--include \
598 |
--includ |
--inclu |
--incl |
--inc)
599 ac_prev
=includedir
;;
600 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
601 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
602 includedir
=$ac_optarg ;;
604 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
606 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
607 infodir
=$ac_optarg ;;
609 -libdir |
--libdir |
--libdi |
--libd)
611 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
614 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
615 |
--libexe |
--libex |
--libe)
616 ac_prev
=libexecdir
;;
617 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
618 |
--libexe=* |
--libex=* |
--libe=*)
619 libexecdir
=$ac_optarg ;;
621 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
622 |
--localstate |
--localstat |
--localsta |
--localst \
623 |
--locals |
--local |
--loca |
--loc |
--lo)
624 ac_prev
=localstatedir
;;
625 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
626 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
627 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
628 localstatedir
=$ac_optarg ;;
630 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
632 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
636 # Obsolete; use --without-fp.
639 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
640 |
--no-cr |
--no-c |
-n)
643 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
644 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
647 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
648 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
649 |
--oldin |
--oldi |
--old |
--ol |
--o)
650 ac_prev
=oldincludedir
;;
651 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
652 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
653 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
654 oldincludedir
=$ac_optarg ;;
656 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
658 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
661 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
662 |
--program-pre |
--program-pr |
--program-p)
663 ac_prev
=program_prefix
;;
664 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
665 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
666 program_prefix
=$ac_optarg ;;
668 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
669 |
--program-suf |
--program-su |
--program-s)
670 ac_prev
=program_suffix
;;
671 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
672 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
673 program_suffix
=$ac_optarg ;;
675 -program-transform-name |
--program-transform-name \
676 |
--program-transform-nam |
--program-transform-na \
677 |
--program-transform-n |
--program-transform- \
678 |
--program-transform |
--program-transfor \
679 |
--program-transfo |
--program-transf \
680 |
--program-trans |
--program-tran \
681 |
--progr-tra |
--program-tr |
--program-t)
682 ac_prev
=program_transform_name
;;
683 -program-transform-name=* |
--program-transform-name=* \
684 |
--program-transform-nam=* |
--program-transform-na=* \
685 |
--program-transform-n=* |
--program-transform-=* \
686 |
--program-transform=* |
--program-transfor=* \
687 |
--program-transfo=* |
--program-transf=* \
688 |
--program-trans=* |
--program-tran=* \
689 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
690 program_transform_name
=$ac_optarg ;;
692 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
693 |
-silent |
--silent |
--silen |
--sile |
--sil)
696 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
698 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
700 sbindir
=$ac_optarg ;;
702 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
703 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
704 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
706 ac_prev
=sharedstatedir
;;
707 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
708 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
709 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
711 sharedstatedir
=$ac_optarg ;;
713 -site |
--site |
--sit)
715 -site=* |
--site=* |
--sit=*)
718 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
720 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
723 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
724 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
725 ac_prev
=sysconfdir
;;
726 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
727 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
728 sysconfdir
=$ac_optarg ;;
730 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
731 ac_prev
=target_alias
;;
732 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
733 target_alias
=$ac_optarg ;;
735 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
738 -version |
--version |
--versio |
--versi |
--vers |
-V)
742 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package
=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* |
--without-*)
755 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package
=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
768 |
--x-incl |
--x-inc |
--x-in |
--x-i)
769 ac_prev
=x_includes
;;
770 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
771 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
772 x_includes
=$ac_optarg ;;
774 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
775 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
776 ac_prev
=x_libraries
;;
777 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
778 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
779 x_libraries
=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var
in exec_prefix prefix
816 eval ac_val
=$
`echo $ac_var`
818 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val
=$
`echo $ac_var`
830 [\\/$
]* | ?
:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x
; then
845 if test "x$build_alias" = x
; then
846 cross_compiling
=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
857 test "$silent" = yes && exec 6>/dev
/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted
=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir
=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted
=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set
=${build_alias+set}
897 ac_env_build_alias_value
=$build_alias
898 ac_cv_env_build_alias_set
=${build_alias+set}
899 ac_cv_env_build_alias_value
=$build_alias
900 ac_env_host_alias_set
=${host_alias+set}
901 ac_env_host_alias_value
=$host_alias
902 ac_cv_env_host_alias_set
=${host_alias+set}
903 ac_cv_env_host_alias_value
=$host_alias
904 ac_env_target_alias_set
=${target_alias+set}
905 ac_env_target_alias_value
=$target_alias
906 ac_cv_env_target_alias_set
=${target_alias+set}
907 ac_cv_env_target_alias_value
=$target_alias
908 ac_env_CC_set
=${CC+set}
910 ac_cv_env_CC_set
=${CC+set}
911 ac_cv_env_CC_value
=$CC
912 ac_env_CFLAGS_set
=${CFLAGS+set}
913 ac_env_CFLAGS_value
=$CFLAGS
914 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
915 ac_cv_env_CFLAGS_value
=$CFLAGS
916 ac_env_LDFLAGS_set
=${LDFLAGS+set}
917 ac_env_LDFLAGS_value
=$LDFLAGS
918 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value
=$LDFLAGS
920 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value
=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
924 ac_env_CPP_set
=${CPP+set}
925 ac_env_CPP_value
=$CPP
926 ac_cv_env_CPP_set
=${CPP+set}
927 ac_cv_env_CPP_value
=$CPP
928 ac_env_CXX_set
=${CXX+set}
929 ac_env_CXX_value
=$CXX
930 ac_cv_env_CXX_set
=${CXX+set}
931 ac_cv_env_CXX_value
=$CXX
932 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
933 ac_env_CXXFLAGS_value
=$CXXFLAGS
934 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
935 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
936 ac_env_CXXCPP_set
=${CXXCPP+set}
937 ac_env_CXXCPP_value
=$CXXCPP
938 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value
=$CXXCPP
940 ac_env_F77_set
=${F77+set}
941 ac_env_F77_value
=$F77
942 ac_cv_env_F77_set
=${F77+set}
943 ac_cv_env_F77_value
=$F77
944 ac_env_FFLAGS_set
=${FFLAGS+set}
945 ac_env_FFLAGS_value
=$FFLAGS
946 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value
=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures libltdl 1.2 to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --program-prefix=PREFIX prepend PREFIX to installed program names
1011 --program-suffix=SUFFIX append SUFFIX to installed program names
1012 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1015 --build=BUILD configure
for building on BUILD
[guessed
]
1016 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1020 if test -n "$ac_init_help"; then
1021 case $ac_init_help in
1022 short | recursive
) echo "Configuration of libltdl 1.2:";;
1027 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1028 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1029 --disable-dependency-tracking Speeds up one-time builds
1030 --enable-dependency-tracking Do not reject slow dependency extractors
1031 --enable-shared[=PKGS
]
1032 build shared libraries
[default
=yes]
1033 --enable-static[=PKGS
]
1034 build static libraries
[default
=yes]
1035 --enable-fast-install[=PKGS
]
1036 optimize
for fast installation
[default
=yes]
1037 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1038 --enable-ltdl-install install libltdl
1041 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1042 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1043 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1044 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1047 include additional configurations
[automatic
]
1049 Some influential environment variables
:
1050 CC C compiler
command
1051 CFLAGS C compiler flags
1052 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1053 nonstandard directory
<lib dir
>
1054 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1055 headers
in a nonstandard directory
<include dir
>
1057 CXX C
++ compiler
command
1058 CXXFLAGS C
++ compiler flags
1059 CXXCPP C
++ preprocessor
1060 F77 Fortran
77 compiler
command
1061 FFLAGS Fortran
77 compiler flags
1063 Use these variables to override the choices made by
`configure' or to help
1064 it to find libraries and programs with nonstandard names/locations.
1066 Report bugs to <bug-libtool@gnu.org>.
1070 if test "$ac_init_help" = "recursive"; then
1071 # If there are subdirs, report their specific --help.
1073 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1074 test -d $ac_dir || continue
1077 if test "$ac_dir" != .; then
1078 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1079 # A "../" for each directory in $ac_dir_suffix.
1080 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1082 ac_dir_suffix= ac_top_builddir=
1086 .) # No --srcdir option. We are building in place.
1088 if test -z "$ac_top_builddir"; then
1091 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1093 [\\/]* | ?:[\\/]* ) # Absolute path.
1094 ac_srcdir=$srcdir$ac_dir_suffix;
1095 ac_top_srcdir=$srcdir ;;
1097 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1098 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1100 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1102 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1103 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1104 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1105 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1108 # Check for guested configure; otherwise get Cygnus style configure.
1109 if test -f $ac_srcdir/configure.gnu; then
1111 $SHELL $ac_srcdir/configure.gnu --help=recursive
1112 elif test -f $ac_srcdir/configure; then
1114 $SHELL $ac_srcdir/configure --help=recursive
1115 elif test -f $ac_srcdir/configure.ac ||
1116 test -f $ac_srcdir/configure.in; then
1118 $ac_configure --help
1120 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1126 test -n "$ac_init_help" && exit 0
1127 if $ac_init_version; then
1129 libltdl configure 1.2
1130 generated by GNU Autoconf 2.57
1132 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1133 Free Software Foundation, Inc.
1134 This configure script is free software; the Free Software Foundation
1135 gives unlimited permission to copy, distribute and modify it.
1141 This file contains any messages produced by compilers while
1142 running configure, to aid debugging if configure makes a mistake.
1144 It was created by libltdl $as_me 1.2, which was
1145 generated by GNU Autoconf 2.57. Invocation command line was
1156 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1157 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1158 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1159 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1160 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1162 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1163 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1165 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1166 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1167 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1168 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1169 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1170 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1171 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1179 test -z "$as_dir" && as_dir=.
1180 echo "PATH: $as_dir"
1195 # Keep a trace of the command line.
1196 # Strip out --no-create and --no-recursion so they do not pile up.
1197 # Strip out --silent because we don't want to record it for future runs.
1198 # Also quote any args containing shell meta-characters.
1199 # Make two passes to allow for proper duplicate-argument suppression.
1204 ac_must_keep_next=false
1210 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1211 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1212 | -silent | --silent | --silen | --sile | --sil)
1214 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1215 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1218 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1220 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1221 if test $ac_must_keep_next = true; then
1222 ac_must_keep_next=false # Got value, back to normal.
1225 *=* | --config-cache | -C | -disable-* | --disable-* \
1226 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1227 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1228 | -with-* | --with-* | -without-* | --without-* | --x)
1229 case "$ac_configure_args0 " in
1230 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1233 -* ) ac_must_keep_next=true ;;
1236 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1237 # Get rid of the leading space.
1243 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1244 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1246 # When interrupted or exit'd, cleanup temporary files, and complete
1247 # config.log. We remove comments because anyway the quotes in there
1248 # would cause problems or look ugly.
1249 # WARNING: Be sure not to use single quotes in there, as some shells,
1250 # such as our DU 5.0 friend, will then `close
' the trap.
1251 trap 'exit_status
=$?
1252 # Save into config.log some information that might help in debugging.
1257 ## ---------------- ##
1258 ## Cache variables. ##
1259 ## ---------------- ##
1262 # The following way of writing the cache mishandles newlines in values,
1265 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1268 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1273 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1280 ## ----------------- ##
1281 ## Output variables. ##
1282 ## ----------------- ##
1285 for ac_var
in $ac_subst_vars
1287 eval ac_val
=$
`echo $ac_var`
1288 echo "$ac_var='"'"'$ac_val'"'"'"
1292 if test -n "$ac_subst_files"; then
1299 for ac_var
in $ac_subst_files
1301 eval ac_val
=$
`echo $ac_var`
1302 echo "$ac_var='"'"'$ac_val'"'"'"
1307 if test -s confdefs.h
; then
1314 sed "/^$/d" confdefs.h |
sort
1317 test "$ac_signal" != 0 &&
1318 echo "$as_me: caught signal $ac_signal"
1319 echo "$as_me: exit $exit_status"
1321 rm -f core core.
* *.core
&&
1322 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1325 for ac_signal in 1 2 13 15; do
1326 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1330 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1331 rm -rf conftest* confdefs.h
1332 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1335 # Predefined preprocessor variables.
1337 cat >>confdefs.h <<_ACEOF
1338 #define PACKAGE_NAME "$PACKAGE_NAME"
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_STRING "$PACKAGE_STRING"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1362 # Let the site file select an alternate cache file if it wants to.
1363 # Prefer explicitly selected file to automatically selected ones.
1364 if test -z "$CONFIG_SITE"; then
1365 if test "x$prefix" != xNONE; then
1366 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1368 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1371 for ac_site_file in $CONFIG_SITE; do
1372 if test -r "$ac_site_file"; then
1373 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1374 echo "$as_me: loading site script $ac_site_file" >&6;}
1375 sed 's
/^
/|
/' "$ac_site_file" >&5
1380 if test -r "$cache_file"; then
1381 # Some versions of bash will fail to source /dev/null (special
1382 # files actually), so we avoid doing that.
1383 if test -f "$cache_file"; then
1384 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1385 echo "$as_me: loading cache $cache_file" >&6;}
1387 [\\/]* | ?:[\\/]* ) . $cache_file;;
1388 *) . ./$cache_file;;
1392 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1393 echo "$as_me: creating cache $cache_file" >&6;}
1397 # Check that the precious variables saved in the cache have kept the same
1399 ac_cache_corrupted=false
1400 for ac_var in `(set) 2>&1 |
1401 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1402 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1403 eval ac_new_set=\$ac_env_${ac_var}_set
1404 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1405 eval ac_new_val="\$ac_env_${ac_var}_value"
1406 case $ac_old_set,$ac_new_set in
1408 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1409 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1410 ac_cache_corrupted=: ;;
1412 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1413 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1414 ac_cache_corrupted=: ;;
1417 if test "x$ac_old_val" != "x$ac_new_val"; then
1418 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1419 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
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;}
1424 ac_cache_corrupted=:
1427 # Pass precious variables to config.status.
1428 if test "$ac_new_set" = set; then
1430 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1431 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1432 *) ac_arg=$ac_var=$ac_new_val ;;
1434 case " $ac_configure_args " in
1435 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1436 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1440 if $ac_cache_corrupted; then
1441 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1442 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1443 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1444 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1445 { (exit 1); exit 1; }; }
1449 ac_cpp='$CPP $CPPFLAGS'
1450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1451 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1483 ## ------------------------------- ##
1484 ## Libltdl specific configuration. ##
1485 ## ------------------------------- ##
1488 for ac_dir in . $srcdir/.; do
1489 if test -f $ac_dir/install-sh; then
1491 ac_install_sh="$ac_aux_dir/install-sh -c"
1493 elif test -f $ac_dir/install.sh; then
1495 ac_install_sh="$ac_aux_dir/install.sh -c"
1497 elif test -f $ac_dir/shtool; then
1499 ac_install_sh="$ac_aux_dir/shtool install -c"
1503 if test -z "$ac_aux_dir"; then
1504 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
1505 echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
1506 { (exit 1); exit 1; }; }
1508 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1509 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1510 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1513 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
1514 if test -f ${srcdir}/ltmain.sh; then
1515 # if libltdl is libtoolized, it is assumed to be stand-alone and
1516 # installed unless the command line overrides it (tested above)
1517 enable_ltdl_install=yes
1519 { echo "$as_me:$LINENO: WARNING: *** The top-level configure must select either" >&5
1520 echo "$as_me: WARNING: *** The top-level configure must select either" >&2;}
1521 { echo "$as_me:$LINENO: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&5
1522 echo "$as_me: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&2;}
1523 { { echo "$as_me:$LINENO: error: *** Maybe you want to --enable-ltdl-install?" >&5
1524 echo "$as_me: error: *** Maybe you want to --enable-ltdl-install?" >&2;}
1525 { (exit 1); exit 1; }; }
1530 ## ------------------------ ##
1531 ## Automake Initialisation. ##
1532 ## ------------------------ ##
1533 am__api_version="1.7"
1534 # Find a good install program. We prefer a C program (faster),
1535 # so one script is as good as another. But avoid the broken or
1536 # incompatible versions:
1537 # SysV /etc/install, /usr/sbin/install
1538 # SunOS /usr/etc/install
1539 # IRIX /sbin/install
1541 # AmigaOS /C/install, which installs bootblocks on floppy discs
1542 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1543 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1544 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1545 # ./install, which can be erroneously created by make from ./install.sh.
1546 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1547 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1548 if test -z "$INSTALL"; then
1549 if test "${ac_cv_path_install+set}" = set; then
1550 echo $ECHO_N "(cached) $ECHO_C" >&6
1552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1556 test -z "$as_dir" && as_dir
=.
1557 # Account for people who put trailing slashes in PATH elements.
1559 .
/ | .
// |
/cC
/* | \
1560 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1563 # OSF1 and SCO ODT 3.0 have their own names for install.
1564 # Don't use installbsd from OSF since it installs stuff as root
1566 for ac_prog
in ginstall scoinst
install; do
1567 for ac_exec_ext
in '' $ac_executable_extensions; do
1568 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1569 if test $ac_prog = install &&
1570 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1571 # AIX install. It has an incompatible calling convention.
1573 elif test $ac_prog = install &&
1574 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1575 # program-specific install script used by HP pwplus--don't use.
1578 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1590 if test "${ac_cv_path_install+set}" = set; then
1591 INSTALL
=$ac_cv_path_install
1593 # As a last resort, use the slow shell script. We don't cache a
1594 # path for INSTALL within a source directory, because that will
1595 # break other packages using the cache if that directory is
1596 # removed, or if the path is relative.
1597 INSTALL
=$ac_install_sh
1600 echo "$as_me:$LINENO: result: $INSTALL" >&5
1601 echo "${ECHO_T}$INSTALL" >&6
1603 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1604 # It thinks the first close brace ends the variable substitution.
1605 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1607 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1609 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1611 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1612 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1615 echo timestamp
> conftest.
file
1616 # Do `set' in a subshell so we don't clobber the current shell's
1617 # arguments. Must try -L first in case configure is actually a
1618 # symlink; some systems play weird games with the mod time of symlinks
1619 # (eg FreeBSD returns the mod time of the symlink's containing
1622 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1623 if test "$*" = "X"; then
1625 set X
`ls -t $srcdir/configure conftest.file`
1628 if test "$*" != "X $srcdir/configure conftest.file" \
1629 && test "$*" != "X conftest.file $srcdir/configure"; then
1631 # If neither matched, then we have a broken ls. This can happen
1632 # if, for instance, CONFIG_SHELL is bash and it inherits a
1633 # broken ls alias from the environment. This has actually
1634 # happened. Such a system could not be considered "sane".
1635 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1636 alias in your environment" >&5
1637 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1638 alias in your environment" >&2;}
1639 { (exit 1); exit 1; }; }
1642 test "$2" = conftest.
file
1648 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1649 Check your system clock" >&5
1650 echo "$as_me: error: newly created file is older than distributed files!
1651 Check your system clock" >&2;}
1652 { (exit 1); exit 1; }; }
1654 echo "$as_me:$LINENO: result: yes" >&5
1655 echo "${ECHO_T}yes" >&6
1656 test "$program_prefix" != NONE
&&
1657 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1658 # Use a double $ so make ignores it.
1659 test "$program_suffix" != NONE
&&
1660 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1661 # Double any \ or $. echo might interpret backslashes.
1662 # By default was `s,x,x', remove it if useless.
1663 cat <<\_ACEOF
>conftest.
sed
1664 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1666 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1670 # expand $ac_aux_dir to an absolute path
1671 am_aux_dir
=`cd $ac_aux_dir && pwd`
1673 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1674 # Use eval to expand $SHELL
1675 if eval "$MISSING --run true"; then
1676 am_missing_run
="$MISSING --run "
1679 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1680 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1683 for ac_prog
in gawk mawk nawk
awk
1685 # Extract the first word of "$ac_prog", so it can be a program name with args.
1686 set dummy
$ac_prog; ac_word
=$2
1687 echo "$as_me:$LINENO: checking for $ac_word" >&5
1688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1689 if test "${ac_cv_prog_AWK+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1692 if test -n "$AWK"; then
1693 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1699 test -z "$as_dir" && as_dir
=.
1700 for ac_exec_ext
in '' $ac_executable_extensions; do
1701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1702 ac_cv_prog_AWK
="$ac_prog"
1703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1712 if test -n "$AWK"; then
1713 echo "$as_me:$LINENO: result: $AWK" >&5
1714 echo "${ECHO_T}$AWK" >&6
1716 echo "$as_me:$LINENO: result: no" >&5
1717 echo "${ECHO_T}no" >&6
1720 test -n "$AWK" && break
1723 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1724 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1725 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1726 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 cat >conftest.
make <<\_ACEOF
1731 @
echo 'ac_maketemp="$(MAKE)"'
1733 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1734 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1735 if test -n "$ac_maketemp"; then
1736 eval ac_cv_prog_make_
${ac_make}_set
=yes
1738 eval ac_cv_prog_make_
${ac_make}_set
=no
1742 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1743 echo "$as_me:$LINENO: result: yes" >&5
1744 echo "${ECHO_T}yes" >&6
1747 echo "$as_me:$LINENO: result: no" >&5
1748 echo "${ECHO_T}no" >&6
1749 SET_MAKE
="MAKE=${MAKE-make}"
1752 rm -rf .tst
2>/dev
/null
1753 mkdir .tst
2>/dev
/null
1754 if test -d .tst
; then
1759 rmdir .tst
2>/dev
/null
1761 # test to see if srcdir already configured
1762 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1763 test -f $srcdir/config.status
; then
1764 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1765 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1766 { (exit 1); exit 1; }; }
1769 # test whether we have cygpath
1770 if test -z "$CYGPATH_W"; then
1771 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1772 CYGPATH_W
='cygpath -w'
1779 # Define the identity of the package.
1784 # Some tools Automake needs.
1786 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1789 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1792 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1795 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1798 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1801 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1803 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1805 # Installed binaries are usually stripped using `strip' when the user
1806 # run `make install-strip'. However `strip' might not be the right
1807 # tool to use in cross-compilation environments, therefore Automake
1808 # will honor the `STRIP' environment variable to overrule this program.
1809 if test "$cross_compiling" != no
; then
1810 if test -n "$ac_tool_prefix"; then
1811 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1812 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1813 echo "$as_me:$LINENO: checking for $ac_word" >&5
1814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1815 if test "${ac_cv_prog_STRIP+set}" = set; then
1816 echo $ECHO_N "(cached) $ECHO_C" >&6
1818 if test -n "$STRIP"; then
1819 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1825 test -z "$as_dir" && as_dir
=.
1826 for ac_exec_ext
in '' $ac_executable_extensions; do
1827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1828 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1837 STRIP
=$ac_cv_prog_STRIP
1838 if test -n "$STRIP"; then
1839 echo "$as_me:$LINENO: result: $STRIP" >&5
1840 echo "${ECHO_T}$STRIP" >&6
1842 echo "$as_me:$LINENO: result: no" >&5
1843 echo "${ECHO_T}no" >&6
1847 if test -z "$ac_cv_prog_STRIP"; then
1849 # Extract the first word of "strip", so it can be a program name with args.
1850 set dummy strip
; ac_word
=$2
1851 echo "$as_me:$LINENO: checking for $ac_word" >&5
1852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1853 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 if test -n "$ac_ct_STRIP"; then
1857 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1863 test -z "$as_dir" && as_dir
=.
1864 for ac_exec_ext
in '' $ac_executable_extensions; do
1865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1866 ac_cv_prog_ac_ct_STRIP
="strip"
1867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1873 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1876 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1877 if test -n "$ac_ct_STRIP"; then
1878 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1879 echo "${ECHO_T}$ac_ct_STRIP" >&6
1881 echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6
1887 STRIP
="$ac_cv_prog_STRIP"
1891 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1893 # We need awk for the "check" target. The system "awk" is bad on
1898 ac_config_headers
="$ac_config_headers config.h:config-h.in"
1902 ## ------------------ ##
1903 ## C compiler checks. ##
1904 ## ------------------ ##
1906 ac_cpp
='$CPP $CPPFLAGS'
1907 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1908 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1909 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1910 if test -n "$ac_tool_prefix"; then
1911 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1912 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1913 echo "$as_me:$LINENO: checking for $ac_word" >&5
1914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1915 if test "${ac_cv_prog_CC+set}" = set; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 if test -n "$CC"; then
1919 ac_cv_prog_CC
="$CC" # Let the user override the test.
1921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1925 test -z "$as_dir" && as_dir
=.
1926 for ac_exec_ext
in '' $ac_executable_extensions; do
1927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1928 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1938 if test -n "$CC"; then
1939 echo "$as_me:$LINENO: result: $CC" >&5
1940 echo "${ECHO_T}$CC" >&6
1942 echo "$as_me:$LINENO: result: no" >&5
1943 echo "${ECHO_T}no" >&6
1947 if test -z "$ac_cv_prog_CC"; then
1949 # Extract the first word of "gcc", so it can be a program name with args.
1950 set dummy gcc
; ac_word
=$2
1951 echo "$as_me:$LINENO: checking for $ac_word" >&5
1952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1953 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 if test -n "$ac_ct_CC"; then
1957 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1963 test -z "$as_dir" && as_dir
=.
1964 for ac_exec_ext
in '' $ac_executable_extensions; do
1965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1966 ac_cv_prog_ac_ct_CC
="gcc"
1967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1976 if test -n "$ac_ct_CC"; then
1977 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1978 echo "${ECHO_T}$ac_ct_CC" >&6
1980 echo "$as_me:$LINENO: result: no" >&5
1981 echo "${ECHO_T}no" >&6
1989 if test -z "$CC"; then
1990 if test -n "$ac_tool_prefix"; then
1991 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1992 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1993 echo "$as_me:$LINENO: checking for $ac_word" >&5
1994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1995 if test "${ac_cv_prog_CC+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 if test -n "$CC"; then
1999 ac_cv_prog_CC
="$CC" # Let the user override the test.
2001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2005 test -z "$as_dir" && as_dir
=.
2006 for ac_exec_ext
in '' $ac_executable_extensions; do
2007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2008 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 if test -n "$CC"; then
2019 echo "$as_me:$LINENO: result: $CC" >&5
2020 echo "${ECHO_T}$CC" >&6
2022 echo "$as_me:$LINENO: result: no" >&5
2023 echo "${ECHO_T}no" >&6
2027 if test -z "$ac_cv_prog_CC"; then
2029 # Extract the first word of "cc", so it can be a program name with args.
2030 set dummy cc
; ac_word
=$2
2031 echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 if test -n "$ac_ct_CC"; then
2037 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir
=.
2044 for ac_exec_ext
in '' $ac_executable_extensions; do
2045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_ac_ct_CC
="cc"
2047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2055 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2056 if test -n "$ac_ct_CC"; then
2057 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2058 echo "${ECHO_T}$ac_ct_CC" >&6
2060 echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6
2070 if test -z "$CC"; then
2071 # Extract the first word of "cc", so it can be a program name with args.
2072 set dummy cc
; ac_word
=$2
2073 echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2075 if test "${ac_cv_prog_CC+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 if test -n "$CC"; then
2079 ac_cv_prog_CC
="$CC" # Let the user override the test.
2082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir
=.
2087 for ac_exec_ext
in '' $ac_executable_extensions; do
2088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2090 ac_prog_rejected
=yes
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 if test $ac_prog_rejected = yes; then
2101 # We found a bogon in the path, so make sure we never use it.
2102 set dummy
$ac_cv_prog_CC
2104 if test $# != 0; then
2105 # We chose a different compiler from the bogus one.
2106 # However, it has the same basename, so the bogon will be chosen
2107 # first if we set CC to just the basename; use the full file name.
2109 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2115 if test -n "$CC"; then
2116 echo "$as_me:$LINENO: result: $CC" >&5
2117 echo "${ECHO_T}$CC" >&6
2119 echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6
2124 if test -z "$CC"; then
2125 if test -n "$ac_tool_prefix"; then
2128 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2129 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2130 echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2132 if test "${ac_cv_prog_CC+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 if test -n "$CC"; then
2136 ac_cv_prog_CC
="$CC" # Let the user override the test.
2138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir
=.
2143 for ac_exec_ext
in '' $ac_executable_extensions; do
2144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2145 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 if test -n "$CC"; then
2156 echo "$as_me:$LINENO: result: $CC" >&5
2157 echo "${ECHO_T}$CC" >&6
2159 echo "$as_me:$LINENO: result: no" >&5
2160 echo "${ECHO_T}no" >&6
2163 test -n "$CC" && break
2166 if test -z "$CC"; then
2170 # Extract the first word of "$ac_prog", so it can be a program name with args.
2171 set dummy
$ac_prog; ac_word
=$2
2172 echo "$as_me:$LINENO: checking for $ac_word" >&5
2173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2174 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2175 echo $ECHO_N "(cached) $ECHO_C" >&6
2177 if test -n "$ac_ct_CC"; then
2178 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir
=.
2185 for ac_exec_ext
in '' $ac_executable_extensions; do
2186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 ac_cv_prog_ac_ct_CC
="$ac_prog"
2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2197 if test -n "$ac_ct_CC"; then
2198 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2199 echo "${ECHO_T}$ac_ct_CC" >&6
2201 echo "$as_me:$LINENO: result: no" >&5
2202 echo "${ECHO_T}no" >&6
2205 test -n "$ac_ct_CC" && break
2214 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2215 See \`config.log' for more details." >&5
2216 echo "$as_me: error: no acceptable C compiler found in \$PATH
2217 See \`config.log' for more details." >&2;}
2218 { (exit 1); exit 1; }; }
2220 # Provide some information about the compiler.
2221 echo "$as_me:$LINENO:" \
2222 "checking for C compiler version" >&5
2223 ac_compiler
=`set X $ac_compile; echo $2`
2224 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2225 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); }
2229 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2230 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }
2234 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2235 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); }
2240 cat >conftest.
$ac_ext <<_ACEOF
2241 #line $LINENO "configure"
2244 cat confdefs.h
>>conftest.
$ac_ext
2245 cat >>conftest.
$ac_ext <<_ACEOF
2246 /* end confdefs.h. */
2256 ac_clean_files_save
=$ac_clean_files
2257 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2258 # Try to create an executable without -o first, disregard a.out.
2259 # It will help us diagnose broken compilers, and finding out an intuition
2261 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2262 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2263 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2264 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2265 (eval $ac_link_default) 2>&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; then
2269 # Find the output, starting from the most likely. This scheme is
2270 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2273 # Be careful to initialize this variable, since it used to be cached.
2274 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2276 # b.out is created by i960 compilers.
2277 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2279 test -f "$ac_file" ||
continue
2281 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2284 # This is the source file.
2287 # We found the default executable, but exeext='' is most
2291 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2292 # FIXME: I believe we export ac_cv_exeext for Libtool,
2293 # but it would be cool to find out if it's true. Does anybody
2294 # maintain Libtool? --akim.
2302 echo "$as_me: failed program was:" >&5
2303 sed 's/^/| /' conftest.
$ac_ext >&5
2305 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2306 See \`config.log' for more details." >&5
2307 echo "$as_me: error: C compiler cannot create executables
2308 See \`config.log' for more details." >&2;}
2309 { (exit 77); exit 77; }; }
2312 ac_exeext
=$ac_cv_exeext
2313 echo "$as_me:$LINENO: result: $ac_file" >&5
2314 echo "${ECHO_T}$ac_file" >&6
2316 # Check the compiler produces executables we can run. If not, either
2317 # the compiler is broken, or we cross compile.
2318 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2319 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2320 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2321 # If not cross compiling, check that we can run a simple program.
2322 if test "$cross_compiling" != yes; then
2323 if { ac_try
='./$ac_file'
2324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; }; then
2331 if test "$cross_compiling" = maybe
; then
2334 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2335 If you meant to cross compile, use \`--host'.
2336 See \`config.log' for more details." >&5
2337 echo "$as_me: error: cannot run C compiled programs.
2338 If you meant to cross compile, use \`--host'.
2339 See \`config.log' for more details." >&2;}
2340 { (exit 1); exit 1; }; }
2344 echo "$as_me:$LINENO: result: yes" >&5
2345 echo "${ECHO_T}yes" >&6
2347 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2348 ac_clean_files
=$ac_clean_files_save
2349 # Check the compiler produces executables we can run. If not, either
2350 # the compiler is broken, or we cross compile.
2351 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2352 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2353 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2354 echo "${ECHO_T}$cross_compiling" >&6
2356 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2357 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2359 (eval $ac_link) 2>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; then
2363 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2364 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2365 # work properly (i.e., refer to `conftest.exe'), while it won't with
2367 for ac_file
in conftest.exe conftest conftest.
*; do
2368 test -f "$ac_file" ||
continue
2370 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2371 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2378 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2379 See \`config.log' for more details." >&5
2380 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2381 See \`config.log' for more details." >&2;}
2382 { (exit 1); exit 1; }; }
2385 rm -f conftest
$ac_cv_exeext
2386 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2387 echo "${ECHO_T}$ac_cv_exeext" >&6
2389 rm -f conftest.
$ac_ext
2390 EXEEXT
=$ac_cv_exeext
2392 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2393 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2394 if test "${ac_cv_objext+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 cat >conftest.
$ac_ext <<_ACEOF
2398 #line $LINENO "configure"
2401 cat confdefs.h
>>conftest.
$ac_ext
2402 cat >>conftest.
$ac_ext <<_ACEOF
2403 /* end confdefs.h. */
2413 rm -f conftest.o conftest.obj
2414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2415 (eval $ac_compile) 2>&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }; then
2419 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2421 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2422 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2427 echo "$as_me: failed program was:" >&5
2428 sed 's/^/| /' conftest.
$ac_ext >&5
2430 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2431 See \`config.log' for more details." >&5
2432 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2433 See \`config.log' for more details." >&2;}
2434 { (exit 1); exit 1; }; }
2437 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2439 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2440 echo "${ECHO_T}$ac_cv_objext" >&6
2441 OBJEXT
=$ac_cv_objext
2443 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2444 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2445 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 cat >conftest.
$ac_ext <<_ACEOF
2449 #line $LINENO "configure"
2452 cat confdefs.h
>>conftest.
$ac_ext
2453 cat >>conftest.
$ac_ext <<_ACEOF
2454 /* end confdefs.h. */
2467 rm -f conftest.
$ac_objext
2468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2469 (eval $ac_compile) 2>&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); } &&
2473 { ac_try
='test -s conftest.$ac_objext'
2474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; }; then
2481 echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.
$ac_ext >&5
2486 rm -f conftest.
$ac_objext conftest.
$ac_ext
2487 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2490 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2491 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2492 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2493 ac_test_CFLAGS
=${CFLAGS+set}
2494 ac_save_CFLAGS
=$CFLAGS
2496 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2497 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2498 if test "${ac_cv_prog_cc_g+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 cat >conftest.
$ac_ext <<_ACEOF
2502 #line $LINENO "configure"
2505 cat confdefs.h
>>conftest.
$ac_ext
2506 cat >>conftest.
$ac_ext <<_ACEOF
2507 /* end confdefs.h. */
2517 rm -f conftest.
$ac_objext
2518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2519 (eval $ac_compile) 2>&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); } &&
2523 { ac_try
='test -s conftest.$ac_objext'
2524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; }; then
2531 echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.
$ac_ext >&5
2536 rm -f conftest.
$ac_objext conftest.
$ac_ext
2538 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2539 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2540 if test "$ac_test_CFLAGS" = set; then
2541 CFLAGS
=$ac_save_CFLAGS
2542 elif test $ac_cv_prog_cc_g = yes; then
2543 if test "$GCC" = yes; then
2549 if test "$GCC" = yes; then
2555 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2556 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2557 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 ac_cv_prog_cc_stdc
=no
2562 cat >conftest.
$ac_ext <<_ACEOF
2563 #line $LINENO "configure"
2566 cat confdefs.h
>>conftest.
$ac_ext
2567 cat >>conftest.
$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2571 #include <sys/types.h>
2572 #include <sys/stat.h>
2573 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2574 struct buf { int x; };
2575 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2576 static char *e (p, i)
2582 static char *f (char * (*g) (char **, int), char **p, ...)
2587 s = g (p, va_arg (v,int));
2591 int test (int i, double x);
2592 struct s1 {int (*f) (int a);};
2593 struct s2 {int (*f) (double a);};
2594 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2600 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2605 # Don't try gcc -ansi; that turns off useful extensions and
2606 # breaks some systems' header files.
2607 # AIX -qlanglvl=ansi
2608 # Ultrix and OSF/1 -std1
2609 # HP-UX 10.20 and later -Ae
2610 # HP-UX older versions -Aa -D_HPUX_SOURCE
2611 # SVR4 -Xc -D__EXTENSIONS__
2612 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2614 CC
="$ac_save_CC $ac_arg"
2615 rm -f conftest.
$ac_objext
2616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2617 (eval $ac_compile) 2>&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); } &&
2621 { ac_try
='test -s conftest.$ac_objext'
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; }; then
2627 ac_cv_prog_cc_stdc
=$ac_arg
2630 echo "$as_me: failed program was:" >&5
2631 sed 's/^/| /' conftest.
$ac_ext >&5
2634 rm -f conftest.
$ac_objext
2636 rm -f conftest.
$ac_ext conftest.
$ac_objext
2641 case "x$ac_cv_prog_cc_stdc" in
2643 echo "$as_me:$LINENO: result: none needed" >&5
2644 echo "${ECHO_T}none needed" >&6 ;;
2646 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2647 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2648 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2651 # Some people use a C++ compiler to compile C. Since we use `exit',
2652 # in C++ we need to declare it. In case someone uses the same compiler
2653 # for both compiling C and C++ we need to have the C++ compiler decide
2654 # the declaration of exit, since it's the most demanding environment.
2655 cat >conftest.
$ac_ext <<_ACEOF
2660 rm -f conftest.
$ac_objext
2661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2662 (eval $ac_compile) 2>&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); } &&
2666 { ac_try
='test -s conftest.$ac_objext'
2667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; }; then
2672 for ac_declaration
in \
2674 '#include <stdlib.h>' \
2675 'extern "C" void std::exit (int) throw (); using std::exit;' \
2676 'extern "C" void std::exit (int); using std::exit;' \
2677 'extern "C" void exit (int) throw ();' \
2678 'extern "C" void exit (int);' \
2681 cat >conftest.
$ac_ext <<_ACEOF
2682 #line $LINENO "configure"
2685 cat confdefs.h
>>conftest.
$ac_ext
2686 cat >>conftest.
$ac_ext <<_ACEOF
2687 /* end confdefs.h. */
2698 rm -f conftest.
$ac_objext
2699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2700 (eval $ac_compile) 2>&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); } &&
2704 { ac_try
='test -s conftest.$ac_objext'
2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }; }; then
2712 echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.
$ac_ext >&5
2717 rm -f conftest.
$ac_objext conftest.
$ac_ext
2718 cat >conftest.
$ac_ext <<_ACEOF
2719 #line $LINENO "configure"
2722 cat confdefs.h
>>conftest.
$ac_ext
2723 cat >>conftest.
$ac_ext <<_ACEOF
2724 /* end confdefs.h. */
2734 rm -f conftest.
$ac_objext
2735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2736 (eval $ac_compile) 2>&5
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); } &&
2740 { ac_try
='test -s conftest.$ac_objext'
2741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }; }; then
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.
$ac_ext >&5
2752 rm -f conftest.
$ac_objext conftest.
$ac_ext
2755 if test -n "$ac_declaration"; then
2756 echo '#ifdef __cplusplus' >>confdefs.h
2757 echo $ac_declaration >>confdefs.h
2758 echo '#endif' >>confdefs.h
2762 echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.
$ac_ext >&5
2766 rm -f conftest.
$ac_objext conftest.
$ac_ext
2768 ac_cpp
='$CPP $CPPFLAGS'
2769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2772 DEPDIR
="${am__leading_dot}deps"
2774 ac_config_commands
="$ac_config_commands depfiles"
2777 am_make
=${MAKE-make}
2778 cat > confinc
<< 'END'
2782 # If we don't find an include directive, just comment out the code.
2783 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2784 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2788 # First try GNU make style include.
2789 echo "include confinc" > confmf
2790 # We grep out `Entering directory' and `Leaving directory'
2791 # messages which can occur if `w' ends up in MAKEFLAGS.
2792 # In particular we don't look at `^make:' because GNU make might
2793 # be invoked under some other name (usually "gmake"), in which
2794 # case it prints its new name instead of `make'.
2795 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2800 # Now try BSD make style include.
2801 if test "$am__include" = "#"; then
2802 echo '.include "confinc"' > confmf
2803 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2804 am__include
=.include
2811 echo "$as_me:$LINENO: result: $_am_result" >&5
2812 echo "${ECHO_T}$_am_result" >&6
2813 rm -f confinc confmf
2815 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2816 if test "${enable_dependency_tracking+set}" = set; then
2817 enableval
="$enable_dependency_tracking"
2820 if test "x$enable_dependency_tracking" != xno
; then
2821 am_depcomp
="$ac_aux_dir/depcomp"
2826 if test "x$enable_dependency_tracking" != xno; then
2837 depcc
="$CC" am_compiler_list
=
2839 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2840 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2841 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2845 # We make a subdir and do the tests there. Otherwise we can end up
2846 # making bogus files that we don't know about and never remove. For
2847 # instance it was reported that on HP-UX the gcc test will end up
2848 # making a dummy file named `D' -- because `-MD' means `put the output
2851 # Copy depcomp to subdir because otherwise we won't find it if we're
2852 # using a relative directory.
2853 cp "$am_depcomp" conftest.dir
2856 am_cv_CC_dependencies_compiler_type
=none
2857 if test "$am_compiler_list" = ""; then
2858 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2860 for depmode
in $am_compiler_list; do
2861 # We need to recreate these files for each test, as the compiler may
2862 # overwrite some of them when testing with obscure command lines.
2863 # This happens at least with the AIX C compiler.
2864 echo '#include "conftest.h"' > conftest.c
2865 echo 'int i;' > conftest.h
2866 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2870 # after this tag, mechanisms are not by side-effect, so they'll
2871 # only be used when explicitly requested
2872 if test "x$enable_dependency_tracking" = xyes
; then
2880 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2881 # mode. It turns out that the SunPro C++ compiler does not properly
2882 # handle `-M -o', and we need to detect this.
2883 if depmode
=$depmode \
2884 source=conftest.c object
=conftest.o \
2885 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2886 $SHELL .
/depcomp
$depcc -c -o conftest.o conftest.c \
2887 >/dev
/null
2>conftest.err
&&
2888 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2889 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2890 # icc doesn't choke on unknown options, it will just issue warnings
2891 # (even with -Werror). So we grep stderr for any message
2892 # that says an option was ignored.
2893 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2894 am_cv_CC_dependencies_compiler_type
=$depmode
2903 am_cv_CC_dependencies_compiler_type
=none
2907 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2908 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2909 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2914 test "x$enable_dependency_tracking" != xno \
2915 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2917 am__fastdepCC_FALSE
='#'
2919 am__fastdepCC_TRUE
='#'
2920 am__fastdepCC_FALSE
=
2925 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2926 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2927 if test "${ac_cv_c_const+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2930 cat >conftest.
$ac_ext <<_ACEOF
2931 #line $LINENO "configure"
2934 cat confdefs.h
>>conftest.
$ac_ext
2935 cat >>conftest.
$ac_ext <<_ACEOF
2936 /* end confdefs.h. */
2941 /* FIXME: Include the comments suggested by Paul. */
2943 /* Ultrix mips cc rejects this. */
2944 typedef int charset[2];
2946 /* SunOS 4.1.1 cc rejects this. */
2947 char const *const *ccp;
2949 /* NEC SVR4.0.2 mips cc rejects this. */
2950 struct point {int x, y;};
2951 static struct point const zero = {0,0};
2952 /* AIX XL C 1.02.0.0 rejects this.
2953 It does not let you subtract one const X* pointer from another in
2954 an arm of an if-expression whose if-part is not a constant
2956 const char *g = "string";
2957 ccp = &g + (g ? g-g : 0);
2958 /* HPUX 7.0 cc rejects these. */
2961 ccp = (char const *const *) p;
2962 { /* SCO 3.2v4 cc rejects this. */
2964 char const *s = 0 ? (char *) 0 : (char const *) 0;
2968 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2970 const int *foo = &x[0];
2973 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2974 typedef const int *iptr;
2978 { /* AIX XL C 1.02.0.0 rejects this saying
2979 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2980 struct s { int j; const int *ap[3]; };
2981 struct s *b; b->j = 5;
2983 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2992 rm -f conftest.
$ac_objext
2993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2994 (eval $ac_compile) 2>&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); } &&
2998 { ac_try
='test -s conftest.$ac_objext'
2999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); }; }; then
3006 echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.
$ac_ext >&5
3011 rm -f conftest.
$ac_objext conftest.
$ac_ext
3013 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3014 echo "${ECHO_T}$ac_cv_c_const" >&6
3015 if test $ac_cv_c_const = no
; then
3017 cat >>confdefs.h
<<\_ACEOF
3023 echo "$as_me:$LINENO: checking for inline" >&5
3024 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3025 if test "${ac_cv_c_inline+set}" = set; then
3026 echo $ECHO_N "(cached) $ECHO_C" >&6
3029 for ac_kw
in inline __inline__ __inline
; do
3030 cat >conftest.
$ac_ext <<_ACEOF
3031 #line $LINENO "configure"
3034 cat confdefs.h
>>conftest.
$ac_ext
3035 cat >>conftest.
$ac_ext <<_ACEOF
3036 /* end confdefs.h. */
3039 static $ac_kw foo_t static_foo () {return 0; }
3040 $ac_kw foo_t foo () {return 0; }
3044 rm -f conftest.
$ac_objext
3045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3046 (eval $ac_compile) 2>&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); } &&
3050 { ac_try
='test -s conftest.$ac_objext'
3051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; }; then
3056 ac_cv_c_inline
=$ac_kw; break
3058 echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.
$ac_ext >&5
3062 rm -f conftest.
$ac_objext conftest.
$ac_ext
3066 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3067 echo "${ECHO_T}$ac_cv_c_inline" >&6
3068 case $ac_cv_c_inline in
3071 cat >>confdefs.h
<<\_ACEOF
3075 *) cat >>confdefs.h
<<_ACEOF
3076 #define inline $ac_cv_c_inline
3083 ## ----------------------- ##
3084 ## Libtool initialisation. ##
3085 ## ----------------------- ##
3088 # Check whether --enable-shared or --disable-shared was given.
3089 if test "${enable_shared+set}" = set; then
3090 enableval
="$enable_shared"
3091 p
=${PACKAGE-default}
3093 yes) enable_shared
=yes ;;
3094 no
) enable_shared
=no
;;
3097 # Look at the argument we got. We use all the common list separators.
3098 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3099 for pkg
in $enableval; do
3101 if test "X$pkg" = "X$p"; then
3112 # Check whether --enable-static or --disable-static was given.
3113 if test "${enable_static+set}" = set; then
3114 enableval
="$enable_static"
3115 p
=${PACKAGE-default}
3117 yes) enable_static
=yes ;;
3118 no
) enable_static
=no
;;
3121 # Look at the argument we got. We use all the common list separators.
3122 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3123 for pkg
in $enableval; do
3125 if test "X$pkg" = "X$p"; then
3136 # Check whether --enable-fast-install or --disable-fast-install was given.
3137 if test "${enable_fast_install+set}" = set; then
3138 enableval
="$enable_fast_install"
3139 p
=${PACKAGE-default}
3141 yes) enable_fast_install
=yes ;;
3142 no
) enable_fast_install
=no
;;
3144 enable_fast_install
=no
3145 # Look at the argument we got. We use all the common list separators.
3146 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3147 for pkg
in $enableval; do
3149 if test "X$pkg" = "X$p"; then
3150 enable_fast_install
=yes
3157 enable_fast_install
=yes
3160 # Make sure we can run config.sub.
3161 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3162 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3163 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3164 { (exit 1); exit 1; }; }
3166 echo "$as_me:$LINENO: checking build system type" >&5
3167 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3168 if test "${ac_cv_build+set}" = set; then
3169 echo $ECHO_N "(cached) $ECHO_C" >&6
3171 ac_cv_build_alias
=$build_alias
3172 test -z "$ac_cv_build_alias" &&
3173 ac_cv_build_alias
=`$ac_config_guess`
3174 test -z "$ac_cv_build_alias" &&
3175 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3176 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3177 { (exit 1); exit 1; }; }
3178 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3179 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3180 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3181 { (exit 1); exit 1; }; }
3184 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3185 echo "${ECHO_T}$ac_cv_build" >&6
3187 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3188 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3189 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3192 echo "$as_me:$LINENO: checking host system type" >&5
3193 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3194 if test "${ac_cv_host+set}" = set; then
3195 echo $ECHO_N "(cached) $ECHO_C" >&6
3197 ac_cv_host_alias
=$host_alias
3198 test -z "$ac_cv_host_alias" &&
3199 ac_cv_host_alias
=$ac_cv_build_alias
3200 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3201 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3202 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3203 { (exit 1); exit 1; }; }
3206 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3207 echo "${ECHO_T}$ac_cv_host" >&6
3209 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3210 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3211 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3214 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3215 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3216 if test "${lt_cv_path_SED+set}" = set; then
3217 echo $ECHO_N "(cached) $ECHO_C" >&6
3219 # Loop through the user's path and test for sed and gsed.
3220 # Then use that list of sed's as ones to test for truncation.
3221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3225 test -z "$as_dir" && as_dir
=.
3226 for lt_ac_prog
in sed gsed
; do
3227 for ac_exec_ext
in '' $ac_executable_extensions; do
3228 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3229 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3236 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3237 # along with /bin/sed that truncates output.
3238 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3239 test ! -f $lt_ac_sed && break
3240 cat /dev
/null
> conftest.
in
3242 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3243 # Check for GNU sed and select it if it is found.
3244 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3245 lt_cv_path_SED
=$lt_ac_sed
3249 cat conftest.
in conftest.
in >conftest.tmp
3250 mv conftest.tmp conftest.
in
3251 cp conftest.
in conftest.
nl
3253 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3254 cmp -s conftest.out conftest.
nl ||
break
3255 # 10000 chars as input seems more than enough
3256 test $lt_ac_count -gt 10 && break
3257 lt_ac_count
=`expr $lt_ac_count + 1`
3258 if test $lt_ac_count -gt $lt_ac_max; then
3259 lt_ac_max
=$lt_ac_count
3260 lt_cv_path_SED
=$lt_ac_sed
3268 echo "$as_me:$LINENO: result: $SED" >&5
3269 echo "${ECHO_T}$SED" >&6
3271 echo "$as_me:$LINENO: checking for egrep" >&5
3272 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3273 if test "${ac_cv_prog_egrep+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3276 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3277 then ac_cv_prog_egrep
='grep -E'
3278 else ac_cv_prog_egrep
='egrep'
3281 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3282 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3283 EGREP
=$ac_cv_prog_egrep
3287 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3288 if test "${with_gnu_ld+set}" = set; then
3289 withval
="$with_gnu_ld"
3290 test "$withval" = no || with_gnu_ld
=yes
3295 if test "$GCC" = yes; then
3296 # Check if gcc -print-prog-name=ld gives a path.
3297 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3298 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3301 # gcc leaves a trailing carriage return which upsets mingw
3302 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3304 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3307 # Accept absolute paths.
3309 re_direlt
='/[^/][^/]*/\.\./'
3310 # Canonicalize the path of ld
3311 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3312 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3313 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3315 test -z "$LD" && LD
="$ac_prog"
3318 # If it fails, then pretend we aren't using GCC.
3322 # If it is relative, then search for the first ld in PATH.
3326 elif test "$with_gnu_ld" = yes; then
3327 echo "$as_me:$LINENO: checking for GNU ld" >&5
3328 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3330 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3331 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3333 if test "${lt_cv_path_LD+set}" = set; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 if test -z "$LD"; then
3337 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3338 for ac_dir
in $PATH; do
3340 test -z "$ac_dir" && ac_dir
=.
3341 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3342 lt_cv_path_LD
="$ac_dir/$ac_prog"
3343 # Check to see if the program is GNU ld. I'd rather use --version,
3344 # but apparently some GNU ld's only accept -v.
3345 # Break only if it was the GNU/non-GNU ld that we prefer.
3346 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3347 *GNU
* |
*'with BFD'*)
3348 test "$with_gnu_ld" != no
&& break
3351 test "$with_gnu_ld" != yes && break
3358 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3363 if test -n "$LD"; then
3364 echo "$as_me:$LINENO: result: $LD" >&5
3365 echo "${ECHO_T}$LD" >&6
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3370 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3371 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3372 { (exit 1); exit 1; }; }
3373 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3374 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3375 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3379 case `"$LD" -v 2>&1 </dev/null` in
3380 *GNU
* |
*'with BFD'*)
3381 lt_cv_prog_gnu_ld
=yes
3384 lt_cv_prog_gnu_ld
=no
3388 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3389 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3390 with_gnu_ld
=$lt_cv_prog_gnu_ld
3393 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3394 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3395 if test "${lt_cv_ld_reload_flag+set}" = set; then
3396 echo $ECHO_N "(cached) $ECHO_C" >&6
3398 lt_cv_ld_reload_flag
='-r'
3400 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3401 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3402 reload_flag
=$lt_cv_ld_reload_flag
3403 case $reload_flag in
3405 *) reload_flag
=" $reload_flag" ;;
3407 reload_cmds
='$CC -nostdlib -Xlinker$reload_flag $archargs -o $output$reload_objs'
3409 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3410 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3411 if test "${lt_cv_path_NM+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 if test -n "$NM"; then
3415 # Let the user override the test.
3418 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3419 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3421 test -z "$ac_dir" && ac_dir
=.
3422 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
3423 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3424 # Check to see if the nm accepts a BSD-compat flag.
3425 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3426 # nm: unknown option "B" ignored
3427 # Tru64's nm complains that /dev/null is an invalid object file
3428 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3429 */dev
/null
* |
*'Invalid file or object type'*)
3430 lt_cv_path_NM
="$tmp_nm -B"
3434 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3436 lt_cv_path_NM
="$tmp_nm -p"
3440 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3441 continue # so that we can try to find one that supports BSD flags
3448 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3451 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3452 echo "${ECHO_T}$lt_cv_path_NM" >&6
3455 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3456 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3458 if test "$LN_S" = "ln -s"; then
3459 echo "$as_me:$LINENO: result: yes" >&5
3460 echo "${ECHO_T}yes" >&6
3462 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3463 echo "${ECHO_T}no, using $LN_S" >&6
3466 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3467 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3468 if test "${lt_cv_deplibs_check_method+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6
3471 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3472 lt_cv_file_magic_test_file
=
3473 lt_cv_deplibs_check_method
='unknown'
3474 # Need to set the preceding variable on all platforms that support
3475 # interlibrary dependencies.
3476 # 'none' -- dependencies not supported.
3477 # `unknown' -- same as none, but documents that we really don't know.
3478 # 'pass_all' -- all dependencies passed with no checks.
3479 # 'test_compile' -- check by making test program.
3480 # 'file_magic [[regex]]' -- check by looking for files in library path
3481 # which responds to the $file_magic_cmd with a given extended regex.
3482 # If you have `file' or equivalent on your system and you're not sure
3483 # whether `pass_all' will *always* work, you probably want this one.
3487 lt_cv_deplibs_check_method
=pass_all
3491 lt_cv_deplibs_check_method
=pass_all
3495 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3496 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3497 lt_cv_file_magic_test_file
=/shlib
/libc.so
3500 cygwin
* | mingw
* | pw32
*)
3501 # win32_libid is a shell function defined in ltmain.sh
3502 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3503 lt_cv_file_magic_cmd
='win32_libid'
3506 darwin
* | rhapsody
*)
3507 # this will be overwritten by pass_all, but leave it in just in case
3508 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3509 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3511 rhapsody
* | darwin1.
[012])
3512 lt_cv_file_magic_test_file
=`/System/Library/Frameworks/System.framework/System`
3515 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3518 lt_cv_deplibs_check_method
=pass_all
3522 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3525 # Not sure whether the presence of OpenBSD here was a mistake.
3526 # Let's accept both of them until this is cleared up.
3527 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3528 lt_cv_file_magic_cmd
=/usr
/bin
/file
3529 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3533 lt_cv_deplibs_check_method
=pass_all
3538 lt_cv_deplibs_check_method
=pass_all
3541 hpux10.20
* | hpux11
*)
3542 lt_cv_file_magic_cmd
=/usr
/bin
/file
3545 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3546 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3549 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]'
3550 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3553 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3554 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3559 irix5
* | irix6
* | nonstopux
*)
3561 irix5
* | nonstopux
*)
3562 # this will be overridden with pass_all, but let us keep it just in case
3563 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3567 *-32|
*"-32 ") libmagic
=32-bit;;
3568 *-n32|
*"-n32 ") libmagic
=N32
;;
3569 *-64|
*"-64 ") libmagic
=64-bit;;
3570 *) libmagic
=never-match
;;
3572 # this will be overridden with pass_all, but let us keep it just in case
3573 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3576 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3577 lt_cv_deplibs_check_method
=pass_all
3580 # This must be Linux ELF.
3583 alpha
* | hppa
* | i
*86 | ia64
* | m68
* | mips | mipsel | powerpc
* | sparc
* | s390
* | sh
*)
3584 lt_cv_deplibs_check_method
=pass_all
;;
3586 # glibc up to 2.1.1 does not perform some relocations on ARM
3587 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3589 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3593 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3594 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3596 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3601 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3602 lt_cv_file_magic_cmd
=/usr
/bin
/file
3603 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3607 lt_cv_deplibs_check_method
=unknown
3611 lt_cv_file_magic_cmd
=/usr
/bin
/file
3612 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3613 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3614 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
3616 lt_cv_deplibs_check_method
='file_magic OpenBSD.* shared library'
3620 osf3
* | osf4
* | osf5
*)
3621 # this will be overridden with pass_all, but let us keep it just in case
3622 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3623 lt_cv_file_magic_test_file
=/shlib
/libc.so
3624 lt_cv_deplibs_check_method
=pass_all
3628 lt_cv_deplibs_check_method
=pass_all
3632 lt_cv_deplibs_check_method
=pass_all
3633 lt_cv_file_magic_test_file
=/lib
/libc.so
3636 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3637 case $host_vendor in
3639 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]'
3640 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3643 lt_cv_deplibs_check_method
=pass_all
3646 lt_cv_file_magic_cmd
='/bin/file'
3647 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3650 lt_cv_file_magic_cmd
='/bin/file'
3651 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3652 lt_cv_file_magic_test_file
=/lib
/libc.so
3655 lt_cv_deplibs_check_method
=pass_all
3660 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
3661 lt_cv_deplibs_check_method
=pass_all
3666 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3667 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3668 file_magic_cmd
=$lt_cv_file_magic_cmd
3669 deplibs_check_method
=$lt_cv_deplibs_check_method
3670 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3675 # If no C compiler was specified, use CC.
3678 # Allow CC to be a program name with arguments.
3681 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3682 if test "${enable_libtool_lock+set}" = set; then
3683 enableval
="$enable_libtool_lock"
3686 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3688 # Some flags need to be propagated to the compiler or linker for good
3692 # Find out which ABI we are using.
3693 echo 'int i;' > conftest.
$ac_ext
3694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3695 (eval $ac_compile) 2>&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; then
3699 case `/usr/bin/file conftest.$ac_objext` in
3711 # Find out which ABI we are using.
3712 echo '#line 3712 "configure"' > conftest.
$ac_ext
3713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3714 (eval $ac_compile) 2>&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); }; then
3718 if test "$lt_cv_prog_gnu_ld" = yes; then
3719 case `/usr/bin/file conftest.$ac_objext` in
3721 LD
="${LD-ld} -melf32bsmip"
3724 LD
="${LD-ld} -melf32bmipn32"
3727 LD
="${LD-ld} -melf64bmip"
3731 case `/usr/bin/file conftest.$ac_objext` in
3747 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3748 # Find out which ABI we are using.
3749 echo 'int i;' > conftest.
$ac_ext
3750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3751 (eval $ac_compile) 2>&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); }; then
3755 case "`/usr/bin/file conftest.o`" in
3759 LD
="${LD-ld} -m elf_i386"
3762 LD
="${LD-ld} -m elf32ppclinux"
3765 LD
="${LD-ld} -m elf_s390"
3768 LD
="${LD-ld} -m elf32_sparc"
3775 LD
="${LD-ld} -m elf_x86_64"
3777 ppc
*-*linux
*|powerpc
*-*linux
*)
3778 LD
="${LD-ld} -m elf64ppc"
3781 LD
="${LD-ld} -m elf64_s390"
3784 LD
="${LD-ld} -m elf64_sparc"
3794 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3795 SAVE_CFLAGS
="$CFLAGS"
3796 CFLAGS
="$CFLAGS -belf"
3797 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3798 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3799 if test "${lt_cv_cc_needs_belf+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3803 ac_cpp
='$CPP $CPPFLAGS'
3804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3808 cat >conftest.
$ac_ext <<_ACEOF
3809 #line $LINENO "configure"
3812 cat confdefs.h
>>conftest.
$ac_ext
3813 cat >>conftest.
$ac_ext <<_ACEOF
3814 /* end confdefs.h. */
3824 rm -f conftest.
$ac_objext conftest
$ac_exeext
3825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3826 (eval $ac_link) 2>&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); } &&
3830 { ac_try
='test -s conftest$ac_exeext'
3831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); }; }; then
3836 lt_cv_cc_needs_belf
=yes
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.
$ac_ext >&5
3841 lt_cv_cc_needs_belf
=no
3843 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3845 ac_cpp
='$CPP $CPPFLAGS'
3846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3851 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3852 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3853 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3854 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3855 CFLAGS
="$SAVE_CFLAGS"
3858 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
3859 if test -n "$ac_tool_prefix"; then
3860 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3861 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
3862 echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3864 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 if test -n "$DLLTOOL"; then
3868 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
3870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3874 test -z "$as_dir" && as_dir
=.
3875 for ac_exec_ext
in '' $ac_executable_extensions; do
3876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3877 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
3878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3886 DLLTOOL
=$ac_cv_prog_DLLTOOL
3887 if test -n "$DLLTOOL"; then
3888 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3889 echo "${ECHO_T}$DLLTOOL" >&6
3891 echo "$as_me:$LINENO: result: no" >&5
3892 echo "${ECHO_T}no" >&6
3896 if test -z "$ac_cv_prog_DLLTOOL"; then
3897 ac_ct_DLLTOOL
=$DLLTOOL
3898 # Extract the first word of "dlltool", so it can be a program name with args.
3899 set dummy dlltool
; ac_word
=$2
3900 echo "$as_me:$LINENO: checking for $ac_word" >&5
3901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3902 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3905 if test -n "$ac_ct_DLLTOOL"; then
3906 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
3908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3912 test -z "$as_dir" && as_dir
=.
3913 for ac_exec_ext
in '' $ac_executable_extensions; do
3914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3915 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
3916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
3925 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
3926 if test -n "$ac_ct_DLLTOOL"; then
3927 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3928 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3930 echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6
3934 DLLTOOL
=$ac_ct_DLLTOOL
3936 DLLTOOL
="$ac_cv_prog_DLLTOOL"
3939 if test -n "$ac_tool_prefix"; then
3940 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3941 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3942 echo "$as_me:$LINENO: checking for $ac_word" >&5
3943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3944 if test "${ac_cv_prog_AS+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 if test -n "$AS"; then
3948 ac_cv_prog_AS
="$AS" # Let the user override the test.
3950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir
=.
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3957 ac_cv_prog_AS
="${ac_tool_prefix}as"
3958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 if test -n "$AS"; then
3968 echo "$as_me:$LINENO: result: $AS" >&5
3969 echo "${ECHO_T}$AS" >&6
3971 echo "$as_me:$LINENO: result: no" >&5
3972 echo "${ECHO_T}no" >&6
3976 if test -z "$ac_cv_prog_AS"; then
3978 # Extract the first word of "as", so it can be a program name with args.
3979 set dummy as
; ac_word
=$2
3980 echo "$as_me:$LINENO: checking for $ac_word" >&5
3981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3982 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3983 echo $ECHO_N "(cached) $ECHO_C" >&6
3985 if test -n "$ac_ct_AS"; then
3986 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3992 test -z "$as_dir" && as_dir
=.
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3995 ac_cv_prog_ac_ct_AS
="as"
3996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
4005 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4006 if test -n "$ac_ct_AS"; then
4007 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4008 echo "${ECHO_T}$ac_ct_AS" >&6
4010 echo "$as_me:$LINENO: result: no" >&5
4011 echo "${ECHO_T}no" >&6
4019 if test -n "$ac_tool_prefix"; then
4020 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4021 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4022 echo "$as_me:$LINENO: checking for $ac_word" >&5
4023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4024 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4025 echo $ECHO_N "(cached) $ECHO_C" >&6
4027 if test -n "$OBJDUMP"; then
4028 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4034 test -z "$as_dir" && as_dir
=.
4035 for ac_exec_ext
in '' $ac_executable_extensions; do
4036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4037 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 OBJDUMP
=$ac_cv_prog_OBJDUMP
4047 if test -n "$OBJDUMP"; then
4048 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4049 echo "${ECHO_T}$OBJDUMP" >&6
4051 echo "$as_me:$LINENO: result: no" >&5
4052 echo "${ECHO_T}no" >&6
4056 if test -z "$ac_cv_prog_OBJDUMP"; then
4057 ac_ct_OBJDUMP
=$OBJDUMP
4058 # Extract the first word of "objdump", so it can be a program name with args.
4059 set dummy objdump
; ac_word
=$2
4060 echo "$as_me:$LINENO: checking for $ac_word" >&5
4061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4062 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4063 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 if test -n "$ac_ct_OBJDUMP"; then
4066 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir
=.
4073 for ac_exec_ext
in '' $ac_executable_extensions; do
4074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4082 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
4085 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4086 if test -n "$ac_ct_OBJDUMP"; then
4087 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4088 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4094 OBJDUMP
=$ac_ct_OBJDUMP
4096 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4103 need_locks
="$enable_libtool_lock"
4107 ac_cpp
='$CPP $CPPFLAGS'
4108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4111 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4112 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4113 # On Suns, sometimes $CPP names a directory.
4114 if test -n "$CPP" && test -d "$CPP"; then
4117 if test -z "$CPP"; then
4118 if test "${ac_cv_prog_CPP+set}" = set; then
4119 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 # Double quotes because CPP needs to be expanded
4122 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4125 for ac_c_preproc_warn_flag
in '' yes
4127 # Use a header file that comes with gcc, so configuring glibc
4128 # with a fresh cross-compiler works.
4129 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4130 # <limits.h> exists even on freestanding compilers.
4131 # On the NeXT, cc -E runs the code through the compiler's parser,
4132 # not just through cpp. "Syntax error" is here to catch this case.
4133 cat >conftest.
$ac_ext <<_ACEOF
4134 #line $LINENO "configure"
4137 cat confdefs.h
>>conftest.
$ac_ext
4138 cat >>conftest.
$ac_ext <<_ACEOF
4139 /* end confdefs.h. */
4141 # include <limits.h>
4143 # include <assert.h>
4147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4150 grep -v '^ *+' conftest.er1
>conftest.err
4152 cat conftest.err
>&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); } >/dev
/null
; then
4155 if test -s conftest.err
; then
4156 ac_cpp_err
=$ac_c_preproc_warn_flag
4163 if test -z "$ac_cpp_err"; then
4166 echo "$as_me: failed program was:" >&5
4167 sed 's/^/| /' conftest.
$ac_ext >&5
4169 # Broken: fails on valid input.
4172 rm -f conftest.err conftest.
$ac_ext
4174 # OK, works on sane cases. Now check whether non-existent headers
4175 # can be detected and how.
4176 cat >conftest.
$ac_ext <<_ACEOF
4177 #line $LINENO "configure"
4180 cat confdefs.h
>>conftest.
$ac_ext
4181 cat >>conftest.
$ac_ext <<_ACEOF
4182 /* end confdefs.h. */
4183 #include <ac_nonexistent.h>
4185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4186 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4188 grep -v '^ *+' conftest.er1
>conftest.err
4190 cat conftest.err
>&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } >/dev
/null
; then
4193 if test -s conftest.err
; then
4194 ac_cpp_err
=$ac_c_preproc_warn_flag
4201 if test -z "$ac_cpp_err"; then
4202 # Broken: success on invalid input.
4205 echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.
$ac_ext >&5
4208 # Passes both tests.
4212 rm -f conftest.err conftest.
$ac_ext
4215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4216 rm -f conftest.err conftest.
$ac_ext
4217 if $ac_preproc_ok; then
4229 echo "$as_me:$LINENO: result: $CPP" >&5
4230 echo "${ECHO_T}$CPP" >&6
4232 for ac_c_preproc_warn_flag
in '' yes
4234 # Use a header file that comes with gcc, so configuring glibc
4235 # with a fresh cross-compiler works.
4236 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4237 # <limits.h> exists even on freestanding compilers.
4238 # On the NeXT, cc -E runs the code through the compiler's parser,
4239 # not just through cpp. "Syntax error" is here to catch this case.
4240 cat >conftest.
$ac_ext <<_ACEOF
4241 #line $LINENO "configure"
4244 cat confdefs.h
>>conftest.
$ac_ext
4245 cat >>conftest.
$ac_ext <<_ACEOF
4246 /* end confdefs.h. */
4248 # include <limits.h>
4250 # include <assert.h>
4254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4255 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4257 grep -v '^ *+' conftest.er1
>conftest.err
4259 cat conftest.err
>&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } >/dev
/null
; then
4262 if test -s conftest.err
; then
4263 ac_cpp_err
=$ac_c_preproc_warn_flag
4270 if test -z "$ac_cpp_err"; then
4273 echo "$as_me: failed program was:" >&5
4274 sed 's/^/| /' conftest.
$ac_ext >&5
4276 # Broken: fails on valid input.
4279 rm -f conftest.err conftest.
$ac_ext
4281 # OK, works on sane cases. Now check whether non-existent headers
4282 # can be detected and how.
4283 cat >conftest.
$ac_ext <<_ACEOF
4284 #line $LINENO "configure"
4287 cat confdefs.h
>>conftest.
$ac_ext
4288 cat >>conftest.
$ac_ext <<_ACEOF
4289 /* end confdefs.h. */
4290 #include <ac_nonexistent.h>
4292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4293 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4295 grep -v '^ *+' conftest.er1
>conftest.err
4297 cat conftest.err
>&5
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); } >/dev
/null
; then
4300 if test -s conftest.err
; then
4301 ac_cpp_err
=$ac_c_preproc_warn_flag
4308 if test -z "$ac_cpp_err"; then
4309 # Broken: success on invalid input.
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.
$ac_ext >&5
4315 # Passes both tests.
4319 rm -f conftest.err conftest.
$ac_ext
4322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4323 rm -f conftest.err conftest.
$ac_ext
4324 if $ac_preproc_ok; then
4327 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4328 See \`config.log' for more details." >&5
4329 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4330 See \`config.log' for more details." >&2;}
4331 { (exit 1); exit 1; }; }
4335 ac_cpp
='$CPP $CPPFLAGS'
4336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4341 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4342 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4343 if test "${ac_cv_header_stdc+set}" = set; then
4344 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 cat >conftest.
$ac_ext <<_ACEOF
4347 #line $LINENO "configure"
4350 cat confdefs.h
>>conftest.
$ac_ext
4351 cat >>conftest.
$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4366 rm -f conftest.
$ac_objext
4367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4368 (eval $ac_compile) 2>&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try
='test -s conftest.$ac_objext'
4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }; }; then
4378 ac_cv_header_stdc
=yes
4380 echo "$as_me: failed program was:" >&5
4381 sed 's/^/| /' conftest.
$ac_ext >&5
4383 ac_cv_header_stdc
=no
4385 rm -f conftest.
$ac_objext conftest.
$ac_ext
4387 if test $ac_cv_header_stdc = yes; then
4388 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4389 cat >conftest.
$ac_ext <<_ACEOF
4390 #line $LINENO "configure"
4393 cat confdefs.h
>>conftest.
$ac_ext
4394 cat >>conftest.
$ac_ext <<_ACEOF
4395 /* end confdefs.h. */
4399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4400 $EGREP "memchr" >/dev
/null
2>&1; then
4403 ac_cv_header_stdc
=no
4409 if test $ac_cv_header_stdc = yes; then
4410 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4411 cat >conftest.
$ac_ext <<_ACEOF
4412 #line $LINENO "configure"
4415 cat confdefs.h
>>conftest.
$ac_ext
4416 cat >>conftest.
$ac_ext <<_ACEOF
4417 /* end confdefs.h. */
4421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4422 $EGREP "free" >/dev
/null
2>&1; then
4425 ac_cv_header_stdc
=no
4431 if test $ac_cv_header_stdc = yes; then
4432 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4433 if test "$cross_compiling" = yes; then
4436 cat >conftest.
$ac_ext <<_ACEOF
4437 #line $LINENO "configure"
4440 cat confdefs.h
>>conftest.
$ac_ext
4441 cat >>conftest.
$ac_ext <<_ACEOF
4442 /* end confdefs.h. */
4444 #if ((' ' & 0x0FF) == 0x020)
4445 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4446 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4448 # define ISLOWER(c) \
4449 (('a' <= (c) && (c) <= 'i') \
4450 || ('j' <= (c) && (c) <= 'r') \
4451 || ('s' <= (c) && (c) <= 'z'))
4452 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4455 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4460 for (i = 0; i < 256; i++)
4461 if (XOR (islower (i), ISLOWER (i))
4462 || toupper (i) != TOUPPER (i))
4467 rm -f conftest
$ac_exeext
4468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4469 (eval $ac_link) 2>&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); }; }; then
4480 echo "$as_me: program exited with status $ac_status" >&5
4481 echo "$as_me: failed program was:" >&5
4482 sed 's/^/| /' conftest.
$ac_ext >&5
4485 ac_cv_header_stdc
=no
4487 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4491 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4492 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4493 if test $ac_cv_header_stdc = yes; then
4495 cat >>confdefs.h
<<\_ACEOF
4496 #define STDC_HEADERS 1
4501 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4511 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4512 inttypes.h stdint.h unistd.h
4514 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4515 echo "$as_me:$LINENO: checking for $ac_header" >&5
4516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 cat >conftest.
$ac_ext <<_ACEOF
4521 #line $LINENO "configure"
4524 cat confdefs.h
>>conftest.
$ac_ext
4525 cat >>conftest.
$ac_ext <<_ACEOF
4526 /* end confdefs.h. */
4527 $ac_includes_default
4529 #include <$ac_header>
4531 rm -f conftest.
$ac_objext
4532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4533 (eval $ac_compile) 2>&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } &&
4537 { ac_try
='test -s conftest.$ac_objext'
4538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); }; }; then
4543 eval "$as_ac_Header=yes"
4545 echo "$as_me: failed program was:" >&5
4546 sed 's/^/| /' conftest.
$ac_ext >&5
4548 eval "$as_ac_Header=no"
4550 rm -f conftest.
$ac_objext conftest.
$ac_ext
4552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4555 cat >>confdefs.h
<<_ACEOF
4556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4565 for ac_header
in dlfcn.h
4567 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4569 echo "$as_me:$LINENO: checking for $ac_header" >&5
4570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4577 # Is the header compilable?
4578 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4579 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4580 cat >conftest.
$ac_ext <<_ACEOF
4581 #line $LINENO "configure"
4584 cat confdefs.h
>>conftest.
$ac_ext
4585 cat >>conftest.
$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4587 $ac_includes_default
4588 #include <$ac_header>
4590 rm -f conftest.
$ac_objext
4591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4592 (eval $ac_compile) 2>&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); } &&
4596 { ac_try
='test -s conftest.$ac_objext'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; }; then
4602 ac_header_compiler
=yes
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.
$ac_ext >&5
4607 ac_header_compiler
=no
4609 rm -f conftest.
$ac_objext conftest.
$ac_ext
4610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4611 echo "${ECHO_T}$ac_header_compiler" >&6
4613 # Is the header present?
4614 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4615 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4616 cat >conftest.
$ac_ext <<_ACEOF
4617 #line $LINENO "configure"
4620 cat confdefs.h
>>conftest.
$ac_ext
4621 cat >>conftest.
$ac_ext <<_ACEOF
4622 /* end confdefs.h. */
4623 #include <$ac_header>
4625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4626 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4628 grep -v '^ *+' conftest.er1
>conftest.err
4630 cat conftest.err
>&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); } >/dev
/null
; then
4633 if test -s conftest.err
; then
4634 ac_cpp_err
=$ac_c_preproc_warn_flag
4641 if test -z "$ac_cpp_err"; then
4642 ac_header_preproc
=yes
4644 echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.
$ac_ext >&5
4647 ac_header_preproc
=no
4649 rm -f conftest.err conftest.
$ac_ext
4650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4651 echo "${ECHO_T}$ac_header_preproc" >&6
4653 # So? What about this header?
4654 case $ac_header_compiler:$ac_header_preproc in
4656 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4657 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4662 ## ------------------------------------ ##
4663 ## Report this to bug-autoconf@gnu.org. ##
4664 ## ------------------------------------ ##
4667 sed "s/^/$as_me: WARNING: /" >&2
4670 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4671 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4672 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4673 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4675 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4678 ## ------------------------------------ ##
4679 ## Report this to bug-autoconf@gnu.org. ##
4680 ## ------------------------------------ ##
4683 sed "s/^/$as_me: WARNING: /" >&2
4686 echo "$as_me:$LINENO: checking for $ac_header" >&5
4687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4689 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 eval "$as_ac_Header=$ac_header_preproc"
4693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4698 cat >>confdefs.h
<<_ACEOF
4699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4707 ac_cpp
='$CXXCPP $CPPFLAGS'
4708 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4709 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4710 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4711 if test -n "$ac_tool_prefix"; then
4712 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4714 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4715 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4716 echo "$as_me:$LINENO: checking for $ac_word" >&5
4717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4718 if test "${ac_cv_prog_CXX+set}" = set; then
4719 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 if test -n "$CXX"; then
4722 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4728 test -z "$as_dir" && as_dir
=.
4729 for ac_exec_ext
in '' $ac_executable_extensions; do
4730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4731 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4741 if test -n "$CXX"; then
4742 echo "$as_me:$LINENO: result: $CXX" >&5
4743 echo "${ECHO_T}$CXX" >&6
4745 echo "$as_me:$LINENO: result: no" >&5
4746 echo "${ECHO_T}no" >&6
4749 test -n "$CXX" && break
4752 if test -z "$CXX"; then
4754 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4756 # Extract the first word of "$ac_prog", so it can be a program name with args.
4757 set dummy
$ac_prog; ac_word
=$2
4758 echo "$as_me:$LINENO: checking for $ac_word" >&5
4759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4760 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 if test -n "$ac_ct_CXX"; then
4764 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4770 test -z "$as_dir" && as_dir
=.
4771 for ac_exec_ext
in '' $ac_executable_extensions; do
4772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4782 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4783 if test -n "$ac_ct_CXX"; then
4784 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4785 echo "${ECHO_T}$ac_ct_CXX" >&6
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4791 test -n "$ac_ct_CXX" && break
4793 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4799 # Provide some information about the compiler.
4800 echo "$as_me:$LINENO:" \
4801 "checking for C++ compiler version" >&5
4802 ac_compiler
=`set X $ac_compile; echo $2`
4803 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4804 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }
4808 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4809 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }
4813 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4814 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); }
4819 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4820 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4821 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4822 echo $ECHO_N "(cached) $ECHO_C" >&6
4824 cat >conftest.
$ac_ext <<_ACEOF
4825 #line $LINENO "configure"
4828 cat confdefs.h
>>conftest.
$ac_ext
4829 cat >>conftest.
$ac_ext <<_ACEOF
4830 /* end confdefs.h. */
4843 rm -f conftest.
$ac_objext
4844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4845 (eval $ac_compile) 2>&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } &&
4849 { ac_try
='test -s conftest.$ac_objext'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.
$ac_ext >&5
4862 rm -f conftest.
$ac_objext conftest.
$ac_ext
4863 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4866 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4867 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4868 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4869 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4870 ac_save_CXXFLAGS
=$CXXFLAGS
4872 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4873 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4874 if test "${ac_cv_prog_cxx_g+set}" = set; then
4875 echo $ECHO_N "(cached) $ECHO_C" >&6
4877 cat >conftest.
$ac_ext <<_ACEOF
4878 #line $LINENO "configure"
4881 cat confdefs.h
>>conftest.
$ac_ext
4882 cat >>conftest.
$ac_ext <<_ACEOF
4883 /* end confdefs.h. */
4893 rm -f conftest.
$ac_objext
4894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4895 (eval $ac_compile) 2>&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); } &&
4899 { ac_try
='test -s conftest.$ac_objext'
4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); }; }; then
4905 ac_cv_prog_cxx_g
=yes
4907 echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.
$ac_ext >&5
4912 rm -f conftest.
$ac_objext conftest.
$ac_ext
4914 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4915 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4916 if test "$ac_test_CXXFLAGS" = set; then
4917 CXXFLAGS
=$ac_save_CXXFLAGS
4918 elif test $ac_cv_prog_cxx_g = yes; then
4919 if test "$GXX" = yes; then
4925 if test "$GXX" = yes; then
4931 for ac_declaration
in \
4933 '#include <stdlib.h>' \
4934 'extern "C" void std::exit (int) throw (); using std::exit;' \
4935 'extern "C" void std::exit (int); using std::exit;' \
4936 'extern "C" void exit (int) throw ();' \
4937 'extern "C" void exit (int);' \
4940 cat >conftest.
$ac_ext <<_ACEOF
4941 #line $LINENO "configure"
4944 cat confdefs.h
>>conftest.
$ac_ext
4945 cat >>conftest.
$ac_ext <<_ACEOF
4946 /* end confdefs.h. */
4957 rm -f conftest.
$ac_objext
4958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4959 (eval $ac_compile) 2>&5
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); } &&
4963 { ac_try
='test -s conftest.$ac_objext'
4964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); }; }; then
4971 echo "$as_me: failed program was:" >&5
4972 sed 's/^/| /' conftest.
$ac_ext >&5
4976 rm -f conftest.
$ac_objext conftest.
$ac_ext
4977 cat >conftest.
$ac_ext <<_ACEOF
4978 #line $LINENO "configure"
4981 cat confdefs.h
>>conftest.
$ac_ext
4982 cat >>conftest.
$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4993 rm -f conftest.
$ac_objext
4994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4995 (eval $ac_compile) 2>&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); } &&
4999 { ac_try
='test -s conftest.$ac_objext'
5000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); }; }; then
5007 echo "$as_me: failed program was:" >&5
5008 sed 's/^/| /' conftest.
$ac_ext >&5
5011 rm -f conftest.
$ac_objext conftest.
$ac_ext
5014 if test -n "$ac_declaration"; then
5015 echo '#ifdef __cplusplus' >>confdefs.h
5016 echo $ac_declaration >>confdefs.h
5017 echo '#endif' >>confdefs.h
5021 ac_cpp
='$CXXCPP $CPPFLAGS'
5022 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5023 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5024 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5026 depcc
="$CXX" am_compiler_list
=
5028 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5029 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5030 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5031 echo $ECHO_N "(cached) $ECHO_C" >&6
5033 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5034 # We make a subdir and do the tests there. Otherwise we can end up
5035 # making bogus files that we don't know about and never remove. For
5036 # instance it was reported that on HP-UX the gcc test will end up
5037 # making a dummy file named `D' -- because `-MD' means `put the output
5040 # Copy depcomp to subdir because otherwise we won't find it if we're
5041 # using a relative directory.
5042 cp "$am_depcomp" conftest.dir
5045 am_cv_CXX_dependencies_compiler_type
=none
5046 if test "$am_compiler_list" = ""; then
5047 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5049 for depmode
in $am_compiler_list; do
5050 # We need to recreate these files for each test, as the compiler may
5051 # overwrite some of them when testing with obscure command lines.
5052 # This happens at least with the AIX C compiler.
5053 echo '#include "conftest.h"' > conftest.c
5054 echo 'int i;' > conftest.h
5055 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
5059 # after this tag, mechanisms are not by side-effect, so they'll
5060 # only be used when explicitly requested
5061 if test "x$enable_dependency_tracking" = xyes
; then
5069 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5070 # mode. It turns out that the SunPro C++ compiler does not properly
5071 # handle `-M -o', and we need to detect this.
5072 if depmode
=$depmode \
5073 source=conftest.c object
=conftest.o \
5074 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
5075 $SHELL .
/depcomp
$depcc -c -o conftest.o conftest.c \
5076 >/dev
/null
2>conftest.err
&&
5077 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
5078 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5079 # icc doesn't choke on unknown options, it will just issue warnings
5080 # (even with -Werror). So we grep stderr for any message
5081 # that says an option was ignored.
5082 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
5083 am_cv_CXX_dependencies_compiler_type
=$depmode
5092 am_cv_CXX_dependencies_compiler_type
=none
5096 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5097 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5098 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5103 test "x$enable_dependency_tracking" != xno \
5104 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5105 am__fastdepCXX_TRUE
=
5106 am__fastdepCXX_FALSE
='#'
5108 am__fastdepCXX_TRUE
='#'
5109 am__fastdepCXX_FALSE
=
5114 ac_cpp
='$CXXCPP $CPPFLAGS'
5115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5118 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5119 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5120 if test -z "$CXXCPP"; then
5121 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5122 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 # Double quotes because CXXCPP needs to be expanded
5125 for CXXCPP
in "$CXX -E" "/lib/cpp"
5128 for ac_cxx_preproc_warn_flag
in '' yes
5130 # Use a header file that comes with gcc, so configuring glibc
5131 # with a fresh cross-compiler works.
5132 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5133 # <limits.h> exists even on freestanding compilers.
5134 # On the NeXT, cc -E runs the code through the compiler's parser,
5135 # not just through cpp. "Syntax error" is here to catch this case.
5136 cat >conftest.
$ac_ext <<_ACEOF
5137 #line $LINENO "configure"
5140 cat confdefs.h
>>conftest.
$ac_ext
5141 cat >>conftest.
$ac_ext <<_ACEOF
5142 /* end confdefs.h. */
5144 # include <limits.h>
5146 # include <assert.h>
5150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5151 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5153 grep -v '^ *+' conftest.er1
>conftest.err
5155 cat conftest.err
>&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); } >/dev
/null
; then
5158 if test -s conftest.err
; then
5159 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5166 if test -z "$ac_cpp_err"; then
5169 echo "$as_me: failed program was:" >&5
5170 sed 's/^/| /' conftest.
$ac_ext >&5
5172 # Broken: fails on valid input.
5175 rm -f conftest.err conftest.
$ac_ext
5177 # OK, works on sane cases. Now check whether non-existent headers
5178 # can be detected and how.
5179 cat >conftest.
$ac_ext <<_ACEOF
5180 #line $LINENO "configure"
5183 cat confdefs.h
>>conftest.
$ac_ext
5184 cat >>conftest.
$ac_ext <<_ACEOF
5185 /* end confdefs.h. */
5186 #include <ac_nonexistent.h>
5188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5189 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5191 grep -v '^ *+' conftest.er1
>conftest.err
5193 cat conftest.err
>&5
5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); } >/dev
/null
; then
5196 if test -s conftest.err
; then
5197 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5204 if test -z "$ac_cpp_err"; then
5205 # Broken: success on invalid input.
5208 echo "$as_me: failed program was:" >&5
5209 sed 's/^/| /' conftest.
$ac_ext >&5
5211 # Passes both tests.
5215 rm -f conftest.err conftest.
$ac_ext
5218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5219 rm -f conftest.err conftest.
$ac_ext
5220 if $ac_preproc_ok; then
5225 ac_cv_prog_CXXCPP
=$CXXCPP
5228 CXXCPP
=$ac_cv_prog_CXXCPP
5230 ac_cv_prog_CXXCPP
=$CXXCPP
5232 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5233 echo "${ECHO_T}$CXXCPP" >&6
5235 for ac_cxx_preproc_warn_flag
in '' yes
5237 # Use a header file that comes with gcc, so configuring glibc
5238 # with a fresh cross-compiler works.
5239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5240 # <limits.h> exists even on freestanding compilers.
5241 # On the NeXT, cc -E runs the code through the compiler's parser,
5242 # not just through cpp. "Syntax error" is here to catch this case.
5243 cat >conftest.
$ac_ext <<_ACEOF
5244 #line $LINENO "configure"
5247 cat confdefs.h
>>conftest.
$ac_ext
5248 cat >>conftest.
$ac_ext <<_ACEOF
5249 /* end confdefs.h. */
5251 # include <limits.h>
5253 # include <assert.h>
5257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5258 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5260 grep -v '^ *+' conftest.er1
>conftest.err
5262 cat conftest.err
>&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } >/dev
/null
; then
5265 if test -s conftest.err
; then
5266 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5273 if test -z "$ac_cpp_err"; then
5276 echo "$as_me: failed program was:" >&5
5277 sed 's/^/| /' conftest.
$ac_ext >&5
5279 # Broken: fails on valid input.
5282 rm -f conftest.err conftest.
$ac_ext
5284 # OK, works on sane cases. Now check whether non-existent headers
5285 # can be detected and how.
5286 cat >conftest.
$ac_ext <<_ACEOF
5287 #line $LINENO "configure"
5290 cat confdefs.h
>>conftest.
$ac_ext
5291 cat >>conftest.
$ac_ext <<_ACEOF
5292 /* end confdefs.h. */
5293 #include <ac_nonexistent.h>
5295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5296 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5298 grep -v '^ *+' conftest.er1
>conftest.err
5300 cat conftest.err
>&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); } >/dev
/null
; then
5303 if test -s conftest.err
; then
5304 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5311 if test -z "$ac_cpp_err"; then
5312 # Broken: success on invalid input.
5315 echo "$as_me: failed program was:" >&5
5316 sed 's/^/| /' conftest.
$ac_ext >&5
5318 # Passes both tests.
5322 rm -f conftest.err conftest.
$ac_ext
5325 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5326 rm -f conftest.err conftest.
$ac_ext
5327 if $ac_preproc_ok; then
5330 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5331 See \`config.log' for more details." >&5
5332 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5333 See \`config.log' for more details." >&2;}
5334 { (exit 1); exit 1; }; }
5338 ac_cpp
='$CXXCPP $CPPFLAGS'
5339 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5340 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5341 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5345 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5346 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5347 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5348 if test -n "$ac_tool_prefix"; then
5349 for ac_prog
in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5351 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5352 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5353 echo "$as_me:$LINENO: checking for $ac_word" >&5
5354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5355 if test "${ac_cv_prog_F77+set}" = set; then
5356 echo $ECHO_N "(cached) $ECHO_C" >&6
5358 if test -n "$F77"; then
5359 ac_cv_prog_F77
="$F77" # Let the user override the test.
5361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir
=.
5366 for ac_exec_ext
in '' $ac_executable_extensions; do
5367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5368 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 if test -n "$F77"; then
5379 echo "$as_me:$LINENO: result: $F77" >&5
5380 echo "${ECHO_T}$F77" >&6
5382 echo "$as_me:$LINENO: result: no" >&5
5383 echo "${ECHO_T}no" >&6
5386 test -n "$F77" && break
5389 if test -z "$F77"; then
5391 for ac_prog
in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5393 # Extract the first word of "$ac_prog", so it can be a program name with args.
5394 set dummy
$ac_prog; ac_word
=$2
5395 echo "$as_me:$LINENO: checking for $ac_word" >&5
5396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5397 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 if test -n "$ac_ct_F77"; then
5401 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5407 test -z "$as_dir" && as_dir
=.
5408 for ac_exec_ext
in '' $ac_executable_extensions; do
5409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5410 ac_cv_prog_ac_ct_F77
="$ac_prog"
5411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5420 if test -n "$ac_ct_F77"; then
5421 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5422 echo "${ECHO_T}$ac_ct_F77" >&6
5424 echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6
5428 test -n "$ac_ct_F77" && break
5435 # Provide some information about the compiler.
5436 echo "$as_me:5436:" \
5437 "checking for Fortran 77 compiler version" >&5
5438 ac_compiler
=`set X $ac_compile; echo $2`
5439 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5440 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); }
5444 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5445 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); }
5449 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5450 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); }
5455 # If we don't use `.F' as extension, the preprocessor is not run on the
5459 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5460 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5461 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5462 echo $ECHO_N "(cached) $ECHO_C" >&6
5464 cat >conftest.
$ac_ext <<_ACEOF
5472 rm -f conftest.
$ac_objext
5473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5474 (eval $ac_compile) 2>&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); } &&
5478 { ac_try
='test -s conftest.$ac_objext'
5479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483 (exit $ac_status); }; }; then
5486 echo "$as_me: failed program was:" >&5
5487 sed 's/^/| /' conftest.
$ac_ext >&5
5491 rm -f conftest.
$ac_objext conftest.
$ac_ext
5492 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5495 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5496 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5498 G77
=`test $ac_compiler_gnu = yes && echo yes`
5499 ac_test_FFLAGS
=${FFLAGS+set}
5500 ac_save_FFLAGS
=$FFLAGS
5502 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5503 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5504 if test "${ac_cv_prog_f77_g+set}" = set; then
5505 echo $ECHO_N "(cached) $ECHO_C" >&6
5508 cat >conftest.
$ac_ext <<_ACEOF
5513 rm -f conftest.
$ac_objext
5514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5515 (eval $ac_compile) 2>&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); } &&
5519 { ac_try
='test -s conftest.$ac_objext'
5520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); }; }; then
5525 ac_cv_prog_f77_g
=yes
5527 echo "$as_me: failed program was:" >&5
5528 sed 's/^/| /' conftest.
$ac_ext >&5
5532 rm -f conftest.
$ac_objext conftest.
$ac_ext
5535 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5536 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5537 if test "$ac_test_FFLAGS" = set; then
5538 FFLAGS
=$ac_save_FFLAGS
5539 elif test $ac_cv_prog_f77_g = yes; then
5540 if test "$G77" = yes; then
5546 if test "$G77" = yes; then
5553 ac_cpp
='$CPP $CPPFLAGS'
5554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5560 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5562 # find the maximum length of command line arguments
5563 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5564 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5565 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5566 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 # On DJGPP, this test can blow up pretty badly due to problems in libc
5574 # (any single argument exceeding 2000 bytes causes a buffer overrun
5575 # during glob expansion). Even if it were fixed, the result of this
5576 # check would be larger than it should be.
5577 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5581 # Under GNU Hurd, this test is not required because there is
5582 # no limit to the length of command line arguments.
5583 # Libtool will interpret -1 as no limit whatsoever
5584 lt_cv_sys_max_cmd_len
=-1;
5588 # On Win9x/ME, this test blows up -- it succeeds, but takes
5589 # about 5 minutes as the teststring grows exponentially.
5590 # Worse, since 9x/ME are not pre-emptively multitasking,
5591 # you end up with a "frozen" computer, even though with patience
5592 # the test eventually succeeds (with a max line length of 256k).
5593 # Instead, let's just punt: use the minimum linelength reported by
5594 # all of the supported platforms: 8192 (on NT/2K/XP).
5595 lt_cv_sys_max_cmd_len
=8192;
5599 # If test is not a shell built-in, we'll probably end up computing a
5600 # maximum length that is only half of the actual maximum length, but
5602 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5603 = "XX$testring") >/dev
/null
2>&1 &&
5604 new_result
=`expr "X$testring" : ".*" 2>&1` &&
5605 lt_cv_sys_max_cmd_len
=$new_result &&
5606 test $i != 17 # 1/2 MB should be enough
5609 testring
=$testring$testring
5612 # Add a significant safety factor because C++ compilers can tack on massive
5613 # amounts of additional arguments before passing them to the linker.
5614 # It appears as though 1/2 is a usable value.
5615 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5621 if test -n $lt_cv_sys_max_cmd_len ; then
5622 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5623 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5625 echo "$as_me:$LINENO: result: none" >&5
5626 echo "${ECHO_T}none" >&6
5632 # Check for command to grab the raw symbol name followed by C symbol from nm.
5633 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5634 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5635 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 # These are sane defaults that work on at least a few old systems.
5640 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5642 # Character class describing NM global symbol codes.
5643 symcode
='[BCDEGRST]'
5645 # Regexp to match symbols that can be accessed directly from C.
5646 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5648 # Transform the above into a raw symbol and a C symbol.
5649 symxfrm
='\1 \2\3 \3'
5651 # Transform an extracted symbol line into a proper C declaration
5652 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5654 # Transform an extracted symbol line into symbol name and symbol address
5655 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5657 # Define system-specific variables.
5662 cygwin
* | mingw
* | pw32
*)
5663 symcode
='[ABCDGISTW]'
5665 hpux
*) # Its linker distinguishes data from code symbols
5666 if test "$host_cpu" = ia64
; then
5667 symcode
='[ABCDEGRST]'
5669 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5670 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5673 symcode
='[BCDEGRST]'
5676 symcode
='[BCDEGQRST]'
5686 # Handle CRLF in mingw tool chain
5690 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5694 # If we're using GNU nm, then use its standard symbol codes.
5695 case `$NM -V 2>&1` in
5696 *GNU
* |
*'with BFD'*)
5697 symcode
='[ABCDGISTW]' ;;
5700 # Try without a prefix undercore, then with it.
5701 for ac_symprfx
in "" "_"; do
5703 # Write the raw and C identifiers.
5704 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5706 # Check to see that the pipe works correctly.
5710 cat > conftest.
$ac_ext <<EOF
5715 void nm_test_func(){}
5719 int main(){nm_test_var='a';nm_test_func();return(0);}
5722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5723 (eval $ac_compile) 2>&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; then
5727 # Now try to grab the symbols.
5729 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5730 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); } && test -s "$nlist"; then
5734 # Try sorting and uniquifying the output.
5735 if sort "$nlist" |
uniq > "$nlist"T
; then
5736 mv -f "$nlist"T
"$nlist"
5741 # Make sure that we snagged all the symbols we need.
5742 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5743 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5744 cat <<EOF > conftest.$ac_ext
5750 # Now generate the symbol file.
5751 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5753 cat <<EOF >> conftest.$ac_ext
5754 #if defined (__STDC__) && __STDC__
5755 # define lt_ptr_t void *
5757 # define lt_ptr_t char *
5761 /* The mapping between symbol names and symbols. */
5766 lt_preloaded_symbols[] =
5769 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5770 cat <<\EOF
>> conftest.
$ac_ext
5778 # Now try linking the two files.
5779 mv conftest.
$ac_objext conftstm.
$ac_objext
5780 lt_save_LIBS
="$LIBS"
5781 lt_save_CFLAGS
="$CFLAGS"
5782 LIBS
="conftstm.$ac_objext"
5783 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5785 (eval $ac_link) 2>&5
5787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5791 LIBS
="$lt_save_LIBS"
5792 CFLAGS
="$lt_save_CFLAGS"
5794 echo "cannot find nm_test_func in $nlist" >&5
5797 echo "cannot find nm_test_var in $nlist" >&5
5800 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5803 echo "$progname: failed program was:" >&5
5804 cat conftest.
$ac_ext >&5
5806 rm -f conftest
* conftst
*
5808 # Do not use the global_symbol_pipe unless it works.
5809 if test "$pipe_works" = yes; then
5812 lt_cv_sys_global_symbol_pipe
=
5818 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5819 lt_cv_sys_global_symbol_to_cdecl
=
5821 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5822 echo "$as_me:$LINENO: result: failed" >&5
5823 echo "${ECHO_T}failed" >&6
5825 echo "$as_me:$LINENO: result: ok" >&5
5826 echo "${ECHO_T}ok" >&6
5829 echo "$as_me:$LINENO: checking for objdir" >&5
5830 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5831 if test "${lt_cv_objdir+set}" = set; then
5832 echo $ECHO_N "(cached) $ECHO_C" >&6
5834 rm -f .libs
2>/dev
/null
5835 mkdir .libs
2>/dev
/null
5836 if test -d .libs
; then
5839 # MS-DOS does not allow filenames that begin with a dot.
5842 rmdir .libs
2>/dev
/null
5844 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5845 echo "${ECHO_T}$lt_cv_objdir" >&6
5846 objdir
=$lt_cv_objdir
5854 # AIX sometimes has problems with the GCC collect2 program. For some
5855 # reason, if we set the COLLECT_NAMES environment variable, the problems
5856 # vanish in a puff of smoke.
5857 if test "X${COLLECT_NAMES+set}" != Xset
; then
5859 export COLLECT_NAMES
5864 # Sed substitution that helps us do robust quoting. It backslashifies
5865 # metacharacters that are still active within double-quoted strings.
5866 Xsed
='sed -e s/^X//'
5867 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5869 # Same as above, but do not quote variable references.
5870 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5872 # Sed substitution to delay expansion of an escaped shell variable in a
5873 # double_quote_subst'ed string.
5874 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5876 # Sed substitution to undo escaping of the cmd sep variable
5877 unescape_variable_subst
='s/\\\(${_S_}\)/\1/g'
5879 # Sed substitution to avoid accidental globbing in evaled expressions
5880 no_glob_subst
='s/\*/\\\*/g'
5886 default_ofile
=libtool
5887 can_build_shared
=yes
5889 # All known linkers require a `.a' archive for static linking (except M$VC,
5890 # which needs '.lib').
5892 ltmain
="$ac_aux_dir/ltmain.sh"
5893 ofile
="$default_ofile"
5894 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5896 if test -n "$ac_tool_prefix"; then
5897 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5898 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5899 echo "$as_me:$LINENO: checking for $ac_word" >&5
5900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5901 if test "${ac_cv_prog_AR+set}" = set; then
5902 echo $ECHO_N "(cached) $ECHO_C" >&6
5904 if test -n "$AR"; then
5905 ac_cv_prog_AR
="$AR" # Let the user override the test.
5907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5911 test -z "$as_dir" && as_dir
=.
5912 for ac_exec_ext
in '' $ac_executable_extensions; do
5913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5914 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5924 if test -n "$AR"; then
5925 echo "$as_me:$LINENO: result: $AR" >&5
5926 echo "${ECHO_T}$AR" >&6
5928 echo "$as_me:$LINENO: result: no" >&5
5929 echo "${ECHO_T}no" >&6
5933 if test -z "$ac_cv_prog_AR"; then
5935 # Extract the first word of "ar", so it can be a program name with args.
5936 set dummy
ar; ac_word
=$2
5937 echo "$as_me:$LINENO: checking for $ac_word" >&5
5938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5939 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5940 echo $ECHO_N "(cached) $ECHO_C" >&6
5942 if test -n "$ac_ct_AR"; then
5943 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5949 test -z "$as_dir" && as_dir
=.
5950 for ac_exec_ext
in '' $ac_executable_extensions; do
5951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5952 ac_cv_prog_ac_ct_AR
="ar"
5953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5959 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
5962 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5963 if test -n "$ac_ct_AR"; then
5964 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5965 echo "${ECHO_T}$ac_ct_AR" >&6
5967 echo "$as_me:$LINENO: result: no" >&5
5968 echo "${ECHO_T}no" >&6
5976 if test -n "$ac_tool_prefix"; then
5977 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5978 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5979 echo "$as_me:$LINENO: checking for $ac_word" >&5
5980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5981 if test "${ac_cv_prog_RANLIB+set}" = set; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5984 if test -n "$RANLIB"; then
5985 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5991 test -z "$as_dir" && as_dir
=.
5992 for ac_exec_ext
in '' $ac_executable_extensions; do
5993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5994 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6003 RANLIB
=$ac_cv_prog_RANLIB
6004 if test -n "$RANLIB"; then
6005 echo "$as_me:$LINENO: result: $RANLIB" >&5
6006 echo "${ECHO_T}$RANLIB" >&6
6008 echo "$as_me:$LINENO: result: no" >&5
6009 echo "${ECHO_T}no" >&6
6013 if test -z "$ac_cv_prog_RANLIB"; then
6014 ac_ct_RANLIB
=$RANLIB
6015 # Extract the first word of "ranlib", so it can be a program name with args.
6016 set dummy ranlib
; ac_word
=$2
6017 echo "$as_me:$LINENO: checking for $ac_word" >&5
6018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6019 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6020 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 if test -n "$ac_ct_RANLIB"; then
6023 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6029 test -z "$as_dir" && as_dir
=.
6030 for ac_exec_ext
in '' $ac_executable_extensions; do
6031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6042 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6043 if test -n "$ac_ct_RANLIB"; then
6044 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6045 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6047 echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6
6051 RANLIB
=$ac_ct_RANLIB
6053 RANLIB
="$ac_cv_prog_RANLIB"
6056 if test -n "$ac_tool_prefix"; then
6057 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6058 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6059 echo "$as_me:$LINENO: checking for $ac_word" >&5
6060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6061 if test "${ac_cv_prog_STRIP+set}" = set; then
6062 echo $ECHO_N "(cached) $ECHO_C" >&6
6064 if test -n "$STRIP"; then
6065 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6071 test -z "$as_dir" && as_dir
=.
6072 for ac_exec_ext
in '' $ac_executable_extensions; do
6073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 STRIP
=$ac_cv_prog_STRIP
6084 if test -n "$STRIP"; then
6085 echo "$as_me:$LINENO: result: $STRIP" >&5
6086 echo "${ECHO_T}$STRIP" >&6
6088 echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6093 if test -z "$ac_cv_prog_STRIP"; then
6095 # Extract the first word of "strip", so it can be a program name with args.
6096 set dummy strip
; ac_word
=$2
6097 echo "$as_me:$LINENO: checking for $ac_word" >&5
6098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6099 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6100 echo $ECHO_N "(cached) $ECHO_C" >&6
6102 if test -n "$ac_ct_STRIP"; then
6103 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6109 test -z "$as_dir" && as_dir
=.
6110 for ac_exec_ext
in '' $ac_executable_extensions; do
6111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6112 ac_cv_prog_ac_ct_STRIP
="strip"
6113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6122 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6123 if test -n "$ac_ct_STRIP"; then
6124 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6125 echo "${ECHO_T}$ac_ct_STRIP" >&6
6127 echo "$as_me:$LINENO: result: no" >&5
6128 echo "${ECHO_T}no" >&6
6133 STRIP
="$ac_cv_prog_STRIP"
6138 old_CFLAGS
="$CFLAGS"
6140 # Set sane defaults for various variables
6141 test -z "$AR" && AR
=ar
6142 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6143 test -z "$AS" && AS
=as
6144 test -z "$CC" && CC
=cc
6145 test -z "$LTCC" && LTCC
=$CC
6146 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6147 test -z "$LD" && LD
=ld
6148 test -z "$LN_S" && LN_S
="ln -s"
6149 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6150 test -z "$NM" && NM
=nm
6151 test -z "$SED" && SED
=sed
6152 test -z "$OBJDUMP" && OBJDUMP
=objdump
6153 test -z "$RANLIB" && RANLIB
=:
6154 test -z "$STRIP" && STRIP
=:
6155 test -z "$ac_objext" && ac_objext
=o
6157 # Determine commands to create old-style static archives.
6158 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6159 old_postinstall_cmds
='chmod 644 $oldlib'
6160 old_postuninstall_cmds
=
6162 if test -n "$RANLIB"; then
6165 old_postinstall_cmds
="\$RANLIB -t \$oldlib\${_S_}$old_postinstall_cmds"
6168 old_postinstall_cmds
="\$RANLIB \$oldlib\${_S_}$old_postinstall_cmds"
6171 old_archive_cmds
="$old_archive_cmds\${_S_}\$RANLIB \$oldlib"
6174 # Only perform the check for file, if the check method requires it
6175 case $deplibs_check_method in
6177 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6178 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6179 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6180 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6185 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6188 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6189 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6190 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6191 for ac_dir
in $ac_dummy; do
6193 test -z "$ac_dir" && ac_dir
=.
6194 if test -f $ac_dir/${ac_tool_prefix}file; then
6195 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6196 if test -n "$file_magic_test_file"; then
6197 case $deplibs_check_method in
6199 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6200 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6201 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6202 $EGREP "$file_magic_regex" > /dev
/null
; then
6207 *** Warning: the command libtool uses to detect shared libraries,
6208 *** $file_magic_cmd, produces output that libtool cannot recognize.
6209 *** The result is that libtool may fail to recognize shared libraries
6210 *** as such. This will affect the creation of libtool libraries that
6211 *** depend on shared libraries, but programs linked with such libtool
6212 *** libraries will work regardless of this problem. Nevertheless, you
6213 *** may want to report the problem to your system manager and/or to
6214 *** bug-libtool@gnu.org
6224 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6229 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6230 if test -n "$MAGIC_CMD"; then
6231 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6232 echo "${ECHO_T}$MAGIC_CMD" >&6
6234 echo "$as_me:$LINENO: result: no" >&5
6235 echo "${ECHO_T}no" >&6
6238 if test -z "$lt_cv_path_MAGIC_CMD"; then
6239 if test -n "$ac_tool_prefix"; then
6240 echo "$as_me:$LINENO: checking for file" >&5
6241 echo $ECHO_N "checking for file... $ECHO_C" >&6
6242 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6247 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6250 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6251 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6252 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6253 for ac_dir
in $ac_dummy; do
6255 test -z "$ac_dir" && ac_dir
=.
6256 if test -f $ac_dir/file; then
6257 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6258 if test -n "$file_magic_test_file"; then
6259 case $deplibs_check_method in
6261 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6262 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6263 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6264 $EGREP "$file_magic_regex" > /dev
/null
; then
6269 *** Warning: the command libtool uses to detect shared libraries,
6270 *** $file_magic_cmd, produces output that libtool cannot recognize.
6271 *** The result is that libtool may fail to recognize shared libraries
6272 *** as such. This will affect the creation of libtool libraries that
6273 *** depend on shared libraries, but programs linked with such libtool
6274 *** libraries will work regardless of this problem. Nevertheless, you
6275 *** may want to report the problem to your system manager and/or to
6276 *** bug-libtool@gnu.org
6286 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6291 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6292 if test -n "$MAGIC_CMD"; then
6293 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6294 echo "${ECHO_T}$MAGIC_CMD" >&6
6296 echo "$as_me:$LINENO: result: no" >&5
6297 echo "${ECHO_T}no" >&6
6310 enable_win32_dll
=yes
6312 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6313 if test "${enable_libtool_lock+set}" = set; then
6314 enableval
="$enable_libtool_lock"
6317 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6320 # Check whether --with-pic or --without-pic was given.
6321 if test "${with_pic+set}" = set; then
6327 test -z "$pic_mode" && pic_mode
=default
6329 # Use C for the default configuration in the libtool script
6333 ac_cpp
='$CPP $CPPFLAGS'
6334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6339 # Source file extension for C test sources.
6342 # Object file extension for compiled C test sources.
6346 # Code to be used in simple compile tests
6347 lt_simple_compile_test_code
="int some_variable = 0;\n"
6349 # Code to be used in simple link tests
6350 lt_simple_link_test_code
='int main(){return(0);}\n'
6353 # If no C compiler was specified, use CC.
6356 # Allow CC to be a program name with arguments.
6361 # Check for any special shared library compilation flags.
6364 if test "$GCC" = no
; then
6367 lt_prog_cc_shlib
='-belf'
6371 if test -n "$lt_prog_cc_shlib"; then
6372 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6373 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6374 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6376 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6377 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6378 lt_cv_prog_cc_can_build_shared
=no
6384 # Check to make sure the static flag actually works.
6386 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6387 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6388 if test "${lt_prog_compiler_static_works+set}" = set; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6391 lt_prog_compiler_static_works
=no
6392 save_LDFLAGS
="$LDFLAGS"
6393 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6394 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6395 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6396 # The compiler can only warn and ignore the option if not recognized
6397 # So say no if there are warnings
6398 if test -s conftest.err
; then
6399 # Append any errors to the config.log.
6400 cat conftest.err
1>&5
6402 lt_prog_compiler_static_works
=yes
6406 LDFLAGS
="$save_LDFLAGS"
6409 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6410 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6412 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6415 lt_prog_compiler_static
=
6421 lt_prog_compiler_no_builtin_flag
=
6423 if test "$GCC" = yes; then
6424 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6426 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6427 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6428 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 lt_cv_prog_compiler_rtti_exceptions
=no
6432 ac_outfile
=conftest.
$ac_objext
6433 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6434 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6435 # Insert the option either (1) after the last *FLAGS variable, or
6436 # (2) before a word containing "conftest.", or (3) at the end.
6437 # Note that $ac_compile itself does not contain backslashes and begins
6438 # with a dollar sign (not a hyphen), so the echo should work correctly.
6439 # The option is referenced via a variable to avoid confusing sed.
6440 lt_compile
=`echo "$ac_compile" | $SED \
6441 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6442 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6443 -e 's:$: $lt_compiler_flag:'`
6444 (eval echo "\"\$as_me:6441: $lt_compile\"" >&5)
6445 (eval "$lt_compile" 2>conftest.err
)
6447 cat conftest.err
>&5
6448 echo "$as_me:6445: \$? = $ac_status" >&5
6449 if (exit $ac_status) && test -s "$ac_outfile"; then
6450 # The compiler can only warn and ignore the option if not recognized
6451 # So say no if there are warnings
6452 if test ! -s conftest.err
; then
6453 lt_cv_prog_compiler_rtti_exceptions
=yes
6459 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6460 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6462 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6463 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6470 lt_prog_compiler_wl
=
6471 lt_prog_compiler_pic
=
6472 lt_prog_compiler_static
=
6474 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6475 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6477 if test "$GCC" = yes; then
6478 lt_prog_compiler_wl
='-Wl,'
6479 lt_prog_compiler_static
='-static'
6483 # All AIX code is PIC.
6484 if test "$host_cpu" = ia64
; then
6485 # AIX 5 now supports IA64 processor
6486 lt_prog_compiler_static
='-Bstatic'
6491 # FIXME: we need at least 68020 code to build shared libraries, but
6492 # adding the `-m68020' flag to GCC prevents building anything better,
6494 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6497 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6498 # PIC is the default for these OSes.
6501 mingw
* | pw32
* | os2
*)
6502 # This hack is so that the source file can tell whether it is being
6503 # built for inclusion in a dll (and should export symbols for example).
6504 lt_prog_compiler_pic
='-DDLL_EXPORT'
6507 darwin
* | rhapsody
*)
6508 # PIC is the default on this platform
6509 # Common symbols not allowed in MH_DYLIB files
6510 lt_prog_compiler_pic
='-fno-common'
6514 # Just because we use GCC doesn't mean we suddenly get shared libraries
6515 # on systems that don't support them.
6516 lt_prog_compiler_can_build_shared
=no
6521 if test -d /usr
/nec
; then
6522 lt_prog_compiler_pic
=-Kconform_pic
6527 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6534 lt_prog_compiler_pic
='-fPIC'
6540 lt_prog_compiler_pic
='-fPIC'
6544 # PORTME Check for flag to pass linker flags through the system compiler.
6547 lt_prog_compiler_wl
='-Wl,'
6548 if test "$host_cpu" = ia64
; then
6549 # AIX 5 now supports IA64 processor
6550 lt_prog_compiler_static
='-Bstatic'
6552 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6556 mingw
* | pw32
* | os2
*)
6557 # This hack is so that the source file can tell whether it is being
6558 # built for inclusion in a dll (and should export symbols for example).
6559 lt_prog_compiler_pic
='-DDLL_EXPORT'
6562 hpux9
* | hpux10
* | hpux11
*)
6563 lt_prog_compiler_wl
='-Wl,'
6564 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6571 lt_prog_compiler_pic
='+Z'
6574 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6575 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6578 irix5
* | irix6
* | nonstopux
*)
6579 lt_prog_compiler_wl
='-Wl,'
6580 # PIC (with -KPIC) is the default.
6581 lt_prog_compiler_static
='-non_shared'
6585 lt_prog_compiler_pic
='-KPIC'
6586 lt_prog_compiler_static
='-Bstatic'
6592 lt_prog_compiler_wl
='-Wl,'
6593 lt_prog_compiler_pic
='-KPIC'
6594 lt_prog_compiler_static
='-static'
6597 lt_prog_compiler_wl
='-Wl,'
6598 # All Alpha code is PIC.
6599 lt_prog_compiler_static
='-non_shared'
6604 osf3
* | osf4
* | osf5
*)
6605 lt_prog_compiler_wl
='-Wl,'
6606 # All OSF/1 code is PIC.
6607 lt_prog_compiler_static
='-non_shared'
6611 lt_prog_compiler_pic
='-Kpic'
6612 lt_prog_compiler_static
='-dn'
6616 lt_prog_compiler_wl
='-Wl,'
6617 lt_prog_compiler_pic
='-KPIC'
6618 lt_prog_compiler_static
='-Bstatic'
6622 lt_prog_compiler_wl
='-Qoption ld '
6623 lt_prog_compiler_pic
='-PIC'
6624 lt_prog_compiler_static
='-Bstatic'
6627 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6628 lt_prog_compiler_wl
='-Wl,'
6629 lt_prog_compiler_pic
='-KPIC'
6630 lt_prog_compiler_static
='-Bstatic'
6634 if test -d /usr
/nec
;then
6635 lt_prog_compiler_pic
='-Kconform_pic'
6636 lt_prog_compiler_static
='-Bstatic'
6641 lt_prog_compiler_pic
='-pic'
6642 lt_prog_compiler_static
='-Bstatic'
6646 lt_prog_compiler_can_build_shared
=no
6651 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6652 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6655 # Check to make sure the PIC flag actually works.
6657 if test -n "$lt_prog_compiler_pic"; then
6658 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6659 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6660 if test "${lt_prog_compiler_pic_works+set}" = set; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 lt_prog_compiler_pic_works
=no
6664 ac_outfile
=conftest.
$ac_objext
6665 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6666 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6667 # Insert the option either (1) after the last *FLAGS variable, or
6668 # (2) before a word containing "conftest.", or (3) at the end.
6669 # Note that $ac_compile itself does not contain backslashes and begins
6670 # with a dollar sign (not a hyphen), so the echo should work correctly.
6671 # The option is referenced via a variable to avoid confusing sed.
6672 lt_compile
=`echo "$ac_compile" | $SED \
6673 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6674 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6675 -e 's:$: $lt_compiler_flag:'`
6676 (eval echo "\"\$as_me:6673: $lt_compile\"" >&5)
6677 (eval "$lt_compile" 2>conftest.err
)
6679 cat conftest.err
>&5
6680 echo "$as_me:6677: \$? = $ac_status" >&5
6681 if (exit $ac_status) && test -s "$ac_outfile"; then
6682 # The compiler can only warn and ignore the option if not recognized
6683 # So say no if there are warnings
6684 if test ! -s conftest.err
; then
6685 lt_prog_compiler_pic_works
=yes
6691 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6692 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6694 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6695 case $lt_prog_compiler_pic in
6697 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6700 lt_prog_compiler_pic
=
6701 lt_prog_compiler_can_build_shared
=no
6706 # For platforms which do not support PIC, -DPIC is meaningless:
6708 lt_prog_compiler_pic
=
6711 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6715 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6716 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6717 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6718 echo $ECHO_N "(cached) $ECHO_C" >&6
6720 lt_cv_prog_compiler_c_o
=no
6721 $rm -r conftest
2>/dev
/null
6725 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6727 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6728 # that will create temporary files in the current directory regardless of
6729 # the output directory. Thus, making CWD read-only will cause this test
6730 # to fail, enabling locking or at least warning the user not to do parallel
6734 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6735 # Insert the option either (1) after the last *FLAGS variable, or
6736 # (2) before a word containing "conftest.", or (3) at the end.
6737 # Note that $ac_compile itself does not contain backslashes and begins
6738 # with a dollar sign (not a hyphen), so the echo should work correctly.
6739 lt_compile
=`echo "$ac_compile" | $SED \
6740 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6742 -e 's:$: $lt_compiler_flag:'`
6743 (eval echo "\"\$as_me:6740: $lt_compile\"" >&5)
6744 (eval "$lt_compile" 2>out
/conftest.err
)
6746 cat out
/conftest.err
>&5
6747 echo "$as_me:6744: \$? = $ac_status" >&5
6748 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6750 # The compiler can only warn and ignore the option if not recognized
6751 # So say no if there are warnings
6752 if test ! -s out
/conftest.err
; then
6753 lt_cv_prog_compiler_c_o
=yes
6764 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6765 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6768 hard_links
="nottested"
6769 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6770 # do not overwrite the value of need_locks provided by the user
6771 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6772 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6775 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6777 ln conftest.a conftest.b
2>&5 || hard_links
=no
6778 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6779 echo "$as_me:$LINENO: result: $hard_links" >&5
6780 echo "${ECHO_T}$hard_links" >&6
6781 if test "$hard_links" = no
; then
6782 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6783 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6790 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6791 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6794 allow_undefined_flag
=
6795 enable_shared_with_static_runtimes
=no
6797 archive_expsym_cmds
=
6798 old_archive_From_new_cmds
=
6799 old_archive_from_expsyms_cmds
=
6800 export_dynamic_flag_spec
=
6801 whole_archive_flag_spec
=
6802 thread_safe_flag_spec
=
6803 hardcode_libdir_flag_spec
=
6804 hardcode_libdir_flag_spec_ld
=
6805 hardcode_libdir_separator
=
6808 hardcode_shlibpath_var
=unsupported
6809 link_all_deplibs
=unknown
6810 hardcode_automatic
=no
6813 always_export_symbols
=no
6814 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6815 # include_expsyms should be a list of space-separated symbols to be *always*
6816 # included in the symbol list
6818 # exclude_expsyms can be an extended regexp of symbols to exclude
6819 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6820 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6821 # as well as any symbol that contains `d'.
6822 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6823 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6824 # platforms (ab)use it in PIC code, but their linkers get confused if
6825 # the symbol is explicitly referenced. Since portable code cannot
6826 # rely on this symbol name, it's probably fine to never include it in
6827 # preloaded symbol tables.
6828 extract_expsyms_cmds
=
6831 cygwin
* | mingw
* | pw32
*)
6832 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6833 # When not using gcc, we currently assume that we are using
6834 # Microsoft Visual C++.
6835 if test "$GCC" != yes; then
6845 if test "$with_gnu_ld" = yes; then
6846 # If archive_cmds runs LD, not CC, wlarc should be empty
6849 # See if GNU ld supports shared libraries.
6851 aix3
* | aix4
* | aix5
*)
6852 # On AIX/PPC, the GNU linker is very broken
6853 if test "$host_cpu" != ia64
; then
6857 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6858 *** to be unable to reliably create shared libraries on AIX.
6859 *** Therefore, libtool is disabling shared libraries support. If you
6860 *** really care for shared libraries, you may want to modify your PATH
6861 *** so that a non-GNU linker is found, and then restart.
6868 archive_cmds
='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)'
6869 hardcode_libdir_flag_spec
='-L$libdir'
6870 hardcode_minus_L
=yes
6872 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6873 # that the semantics of dynamic libraries on AmigaOS, at least up
6874 # to version 4, is to share data among multiple programs linked
6875 # with the same dynamic library. Since this doesn't match the
6876 # behavior of shared libraries on other platforms, we can't use
6882 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6883 allow_undefined_flag
=unsupported
6884 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6885 # support --undefined. This deserves some investigation. FIXME
6886 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6892 cygwin
* | mingw
* | pw32
*)
6893 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6894 # as there is no search path for DLLs.
6895 hardcode_libdir_flag_spec
='-L$libdir'
6896 allow_undefined_flag
=unsupported
6897 always_export_symbols
=no
6898 enable_shared_with_static_runtimes
=yes
6899 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6901 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6902 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6903 # If the export-symbols file already is a .def file (1st line
6904 # is EXPORTS), use it as is; otherwise, prepend...
6905 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6906 cp $export_symbols $output_objdir/$soname.def;
6908 echo EXPORTS > $output_objdir/$soname.def;
6909 cat $export_symbols >> $output_objdir/$soname.def;
6911 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6918 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6919 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6922 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6923 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6928 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
6932 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6933 *** create shared libraries on Solaris systems. Therefore, libtool
6934 *** is disabling shared libraries support. We urge you to upgrade GNU
6935 *** binutils to release 2.9.1 or newer. Another option is to modify
6936 *** your PATH or compiler configuration so that the native linker is
6937 *** used, and then restart.
6940 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6941 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6942 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6949 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6952 hardcode_shlibpath_var
=no
6956 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6957 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6958 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6965 if test "$ld_shlibs" = yes; then
6966 runpath_var
=LD_RUN_PATH
6967 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6968 export_dynamic_flag_spec
='${wl}--export-dynamic'
6969 # ancient GNU ld didn't support --whole-archive et. al.
6970 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6971 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6973 whole_archive_flag_spec
=
6977 # PORTME fill in a description of your system's linker (not GNU ld)
6980 allow_undefined_flag
=unsupported
6981 always_export_symbols
=yes
6982 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE${_S_}$AR $AR_FLAGS $lib $output_objdir/$soname'
6983 # Note: this linker hardcodes the directories in LIBPATH if there
6984 # are no directories specified by -L.
6985 hardcode_minus_L
=yes
6986 if test "$GCC" = yes && test -z "$link_static_flag"; then
6987 # Neither direct hardcoding nor static linking is supported with a
6989 hardcode_direct
=unsupported
6994 if test "$host_cpu" = ia64
; then
6995 # On IA64, the linker does run time linking by default, so we don't
6996 # have to do anything special.
6997 aix_use_runtimelinking
=no
6998 exp_sym_flag
='-Bexport'
7001 # If we're using GNU nm, then we don't want the "-C" option.
7002 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7003 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7004 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'
7006 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'
7008 aix_use_runtimelinking
=no
7010 # Test if we are trying to use run time linking or normal
7011 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7012 # need to do runtime linking.
7013 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7014 for ld_flag
in $LDFLAGS; do
7015 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7016 aix_use_runtimelinking
=yes
7022 exp_sym_flag
='-bexport'
7023 no_entry_flag
='-bnoentry'
7026 # When large executables or shared objects are built, AIX ld can
7027 # have problems creating the table of contents. If linking a library
7028 # or program results in "error TOC overflow" add -mminimal-toc to
7029 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7030 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7034 hardcode_libdir_separator
=':'
7035 link_all_deplibs
=yes
7037 if test "$GCC" = yes; then
7038 case $host_os in aix4.012|aix4.012.
*)
7039 # We only want to do this on AIX 4.2 and lower, the check
7040 # below for broken collect2 doesn't work under 4.3+
7041 collect2name
=`${CC} -print-prog-name=collect2`
7042 if test -f "$collect2name" && \
7043 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7045 # We have reworked collect2
7048 # We have old collect2
7049 hardcode_direct
=unsupported
7050 # It fails to find uninstalled libraries when the uninstalled
7051 # path is not listed in the libpath. Setting hardcode_minus_L
7052 # to unsupported forces relinking
7053 hardcode_minus_L
=yes
7054 hardcode_libdir_flag_spec
='-L$libdir'
7055 hardcode_libdir_separator
=
7058 shared_flag
='-shared'
7061 if test "$host_cpu" = ia64
; then
7062 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7063 # chokes on -Wl,-G. The following line is correct:
7066 if test "$aix_use_runtimelinking" = yes; then
7067 shared_flag
='${wl}-G'
7069 shared_flag
='${wl}-bM:SRE'
7074 # It seems that -bexpall does not export symbols beginning with
7075 # underscore (_), so it is better to generate a list of symbols to export.
7076 always_export_symbols
=yes
7077 if test "$aix_use_runtimelinking" = yes; then
7078 # Warning - without using the other runtime loading flags (-brtl),
7079 # -berok will link without error, but may produce a broken library.
7080 allow_undefined_flag
='-berok'
7081 # Determine the default libpath from the value encoded in an empty executable.
7082 cat >conftest.
$ac_ext <<_ACEOF
7083 #line $LINENO "configure"
7086 cat confdefs.h
>>conftest.
$ac_ext
7087 cat >>conftest.
$ac_ext <<_ACEOF
7088 /* end confdefs.h. */
7098 rm -f conftest.
$ac_objext conftest
$ac_exeext
7099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7100 (eval $ac_link) 2>&5
7102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7103 (exit $ac_status); } &&
7104 { ac_try
='test -s conftest$ac_exeext'
7105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); }; }; then
7111 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7113 # Check for a 64-bit object if we didn't find anything.
7114 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7117 echo "$as_me: failed program was:" >&5
7118 sed 's/^/| /' conftest.
$ac_ext >&5
7121 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7122 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7124 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7125 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7127 if test "$host_cpu" = ia64; then
7128 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
7129 allow_undefined_flag="-z nodefs"
7130 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
7132 # Determine the default libpath from the value encoded in an empty executable.
7133 cat >conftest.$ac_ext <<_ACEOF
7134 #line $LINENO "configure
"
7137 cat confdefs.h >>conftest.$ac_ext
7138 cat >>conftest.$ac_ext <<_ACEOF
7139 /* end confdefs.h. */
7149 rm -f conftest.$ac_objext conftest$ac_exeext
7150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7151 (eval $ac_link) 2>&5
7153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7154 (exit $ac_status); } &&
7155 { ac_try='test -s conftest$ac_exeext'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7160 (exit $ac_status); }; }; then
7162 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7164 # Check for a 64-bit object if we didn't find anything.
7165 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7168 echo "$as_me: failed program was
:" >&5
7169 sed 's/^/| /' conftest.$ac_ext >&5
7172 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7173 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7175 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7176 # Warning - without using the other run time loading flags,
7177 # -berok will link without error, but may produce a broken library.
7178 no_undefined_flag=' ${wl}-bernotok'
7179 allow_undefined_flag=' ${wl}-berok'
7180 # -bexpall does not export symbols beginning with underscore (_)
7181 always_export_symbols=yes
7182 # Exported symbols can be pulled into shared objects from archives
7183 whole_archive_flag_spec=' '
7184 archive_cmds_need_lc=yes
7185 # This is similar to how AIX traditionally builds it's shared libraries.
7186 archive_expsym_cmds="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7192 archive_cmds='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)'
7193 hardcode_libdir_flag_spec='-L$libdir'
7194 hardcode_minus_L=yes
7195 # see comment about different semantics on the GNU ld section
7200 export_dynamic_flag_spec=-rdynamic
7203 cygwin* | mingw* | pw32*)
7204 # When not using gcc, we currently assume that we are using
7205 # Microsoft Visual C++.
7206 # hardcode_libdir_flag_spec is actually meaningless, as there is
7207 # no search path for DLLs.
7208 hardcode_libdir_flag_spec=' '
7209 allow_undefined_flag=unsupported
7210 # Tell ltmain to make .lib files, not .a files.
7212 # Tell ltmain to make .dll files, not .so files.
7214 # FIXME: Setting linknames here is a bad hack.
7215 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
7216 # The linker will automatically build a .lib file if we build a DLL.
7217 old_archive_From_new_cmds='true'
7218 # FIXME: Should let the user specify the lib program.
7219 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7220 fix_srcfile_path='`cygpath -w "$srcfile"`'
7221 enable_shared_with_static_runtimes=yes
7224 darwin* | rhapsody*)
7225 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7226 archive_cmds_need_lc=no
7228 rhapsody* | darwin1.[012])
7229 allow_undefined_flag='-undefined suppress'
7231 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0
7232 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7235 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in
7237 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7240 if test -z ${LD_TWOLEVEL_NAMESPACE}; then
7241 allow_undefined_flag='-flat_namespace -undefined suppress'
7243 allow_undefined_flag='-undefined dynamic_lookup'
7249 # FIXME: Relying on posixy $() will cause problems for
7250 # cross-compilation, but unfortunately the echo tests do not
7251 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7252 # `"' quotes if we put them in here... so don't
!
7253 lt_int_apple_cc_single_mod
=no
7254 output_verbose_link_cmd
='echo'
7255 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
7256 lt_int_apple_cc_single_mod
=yes
7258 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7259 archive_cmds
='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7261 archive_cmds
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7263 module_cmds
='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7264 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7265 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7266 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7268 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7270 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7272 hardcode_automatic
=yes
7273 hardcode_shlibpath_var
=unsupported
7274 whole_archive_flag_spec
='-all_load $convenience'
7275 link_all_deplibs
=yes
7280 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7281 hardcode_libdir_flag_spec
='-L$libdir'
7282 hardcode_shlibpath_var
=no
7289 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7290 # support. Future versions do this automatically, but an explicit c++rt0.o
7291 # does not break anything, and helps significantly (at the cost of a little
7294 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7295 hardcode_libdir_flag_spec
='-R$libdir'
7297 hardcode_shlibpath_var
=no
7300 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7302 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7304 hardcode_minus_L
=yes
7305 hardcode_shlibpath_var
=no
7308 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7310 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7311 hardcode_libdir_flag_spec
='-R$libdir'
7313 hardcode_shlibpath_var
=no
7317 if test "$GCC" = yes; then
7318 archive_cmds
='$rm $output_objdir/$soname${_S_}$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7320 archive_cmds
='$rm $output_objdir/$soname${_S_}$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7322 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7323 hardcode_libdir_separator
=:
7326 # hardcode_minus_L: Not really in the search PATH,
7327 # but as the default location of the library.
7328 hardcode_minus_L
=yes
7329 export_dynamic_flag_spec
='${wl}-E'
7333 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7336 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7339 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7345 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7348 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7352 if test "$with_gnu_ld" = no
; then
7355 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7356 hardcode_libdir_flag_spec_ld
='+b $libdir'
7357 hardcode_libdir_separator
=:
7359 hardcode_shlibpath_var
=no
7362 hardcode_libdir_flag_spec
='-L$libdir'
7364 hardcode_shlibpath_var
=no
7366 # hardcode_minus_L: Not really in the search PATH,
7367 # but as the default location of the library.
7368 hardcode_minus_L
=yes
7371 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7372 hardcode_libdir_separator
=:
7374 export_dynamic_flag_spec
='${wl}-E'
7376 # hardcode_minus_L: Not really in the search PATH,
7377 # but as the default location of the library.
7378 hardcode_minus_L
=yes
7384 irix5
* | irix6
* | nonstopux
*)
7385 if test "$GCC" = yes; then
7386 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7388 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7389 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7391 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7392 hardcode_libdir_separator
=:
7393 link_all_deplibs
=yes
7397 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7398 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7400 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7402 hardcode_libdir_flag_spec
='-R$libdir'
7404 hardcode_shlibpath_var
=no
7408 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7410 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7411 hardcode_libdir_separator
=:
7412 hardcode_shlibpath_var
=no
7417 hardcode_shlibpath_var
=no
7418 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7419 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7420 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7421 export_dynamic_flag_spec
='${wl}-E'
7424 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7425 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7426 hardcode_libdir_flag_spec
='-R$libdir'
7429 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7430 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7437 hardcode_libdir_flag_spec
='-L$libdir'
7438 hardcode_minus_L
=yes
7439 allow_undefined_flag
=unsupported
7440 archive_cmds
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def${_S_}$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def${_S_}$echo DATA >> $output_objdir/$libname.def${_S_}$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def${_S_}$echo EXPORTS >> $output_objdir/$libname.def${_S_}emxexp $libobjs >> $output_objdir/$libname.def${_S_}$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
7441 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7445 if test "$GCC" = yes; then
7446 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7447 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7449 allow_undefined_flag
=' -expect_unresolved \*'
7450 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7452 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7453 hardcode_libdir_separator
=:
7456 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7457 if test "$GCC" = yes; then
7458 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7459 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7460 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7462 allow_undefined_flag
=' -expect_unresolved \*'
7463 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7464 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp${_S_}
7465 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib${_S_}$rm $lib.exp'
7467 # Both c and cxx compiler support -rpath directly
7468 hardcode_libdir_flag_spec
='-rpath $libdir'
7470 hardcode_libdir_separator
=:
7474 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7475 hardcode_shlibpath_var
=no
7476 export_dynamic_flag_spec
='${wl}-Bexport'
7477 runpath_var
=LD_RUN_PATH
7478 hardcode_runpath_var
=yes
7482 no_undefined_flag
=' -z text'
7483 if test "$GCC" = yes; then
7484 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7485 archive_expsym_cmds
='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
7486 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags${_S_}$rm $lib.exp'
7488 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7489 archive_expsym_cmds
='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
7490 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp'
7492 hardcode_libdir_flag_spec
='-R$libdir'
7493 hardcode_shlibpath_var
=no
7495 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7496 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7497 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7499 link_all_deplibs
=yes
7503 if test "x$host_vendor" = xsequent
; then
7504 # Use $CC to link under sequent, because it throws in some extra .o
7505 # files that make .init and .fini sections work.
7506 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7508 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7510 hardcode_libdir_flag_spec
='-L$libdir'
7512 hardcode_minus_L
=yes
7513 hardcode_shlibpath_var
=no
7517 case $host_vendor in
7519 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7520 hardcode_direct
=yes # is this really true???
7523 ## LD is ld it makes a PLAMLIB
7524 ## CC just makes a GrossModule.
7525 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7526 reload_cmds
='$CC -r -o $output$reload_objs'
7530 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7531 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7534 runpath_var
='LD_RUN_PATH'
7535 hardcode_shlibpath_var
=no
7539 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7540 hardcode_shlibpath_var
=no
7541 export_dynamic_flag_spec
='-Bexport'
7545 if test -d /usr
/nec
; then
7546 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7547 hardcode_shlibpath_var
=no
7548 runpath_var
=LD_RUN_PATH
7549 hardcode_runpath_var
=yes
7555 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7558 hardcode_shlibpath_var
=no
7559 hardcode_runpath_var
=yes
7560 runpath_var
=LD_RUN_PATH
7563 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7564 no_undefined_flag
='${wl}-z ${wl}text'
7565 if test "$GCC" = yes; then
7566 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7568 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7570 runpath_var
='LD_RUN_PATH'
7571 hardcode_shlibpath_var
=no
7575 no_undefined_flag
=' -z text'
7576 # $CC -shared without GNU ld will not create a library from C++
7577 # object files and a static libstdc++, better avoid it by now
7578 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7579 archive_expsym_cmds
='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
7580 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp'
7581 hardcode_libdir_flag_spec
=
7582 hardcode_shlibpath_var
=no
7583 runpath_var
='LD_RUN_PATH'
7587 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7588 hardcode_libdir_flag_spec
='-L$libdir'
7589 hardcode_shlibpath_var
=no
7598 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7599 echo "${ECHO_T}$ld_shlibs" >&6
7600 test "$ld_shlibs" = no
&& can_build_shared
=no
7602 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7603 if test "$GCC" = yes; then
7604 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7608 # Do we need to explicitly link libc?
7610 case "x$archive_cmds_need_lc" in
7612 # Assume -lc should be added
7613 archive_cmds_need_lc
=yes
7615 if test "$enable_shared" = yes && test "$GCC" = yes; then
7616 case $archive_cmds in
7618 # FIXME: we may have to deal with multi-command sequences.
7621 # Test whether the compiler implicitly links with -lc since on some
7622 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7623 # to ld, don't add -lc before -lgcc.
7624 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7625 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7627 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7630 (eval $ac_compile) 2>&5
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); } 2>conftest.err
; then
7636 libobjs
=conftest.
$ac_objext
7638 wl
=$lt_prog_compiler_wl
7644 lt_save_allow_undefined_flag
=$allow_undefined_flag
7645 allow_undefined_flag
=
7646 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7647 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }
7652 archive_cmds_need_lc
=no
7654 archive_cmds_need_lc
=yes
7656 allow_undefined_flag
=$lt_save_allow_undefined_flag
7658 cat conftest.err
1>&5
7661 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7662 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7669 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7670 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7672 if test -n "$hardcode_libdir_flag_spec" || \
7673 test -n "$runpath_var " || \
7674 test "X$hardcode_automatic"="Xyes" ; then
7676 # We can hardcode non-existant directories.
7677 if test "$hardcode_direct" != no
&&
7678 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7679 # have to relink, otherwise we might link with an installed library
7680 # when we should be linking with a yet-to-be-installed one
7681 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7682 test "$hardcode_minus_L" != no
; then
7683 # Linking always hardcodes the temporary library directory.
7684 hardcode_action
=relink
7686 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7687 hardcode_action
=immediate
7690 # We cannot hardcode anything, or else we can only hardcode existing
7692 hardcode_action
=unsupported
7694 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7695 echo "${ECHO_T}$hardcode_action" >&6
7697 if test "$hardcode_action" = relink
; then
7698 # Fast installation is not supported
7699 enable_fast_install
=no
7700 elif test "$shlibpath_overrides_runpath" = yes ||
7701 test "$enable_shared" = no
; then
7702 # Fast installation is not necessary
7703 enable_fast_install
=needless
7708 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7709 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7710 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
7711 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
7712 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
7713 echo "$as_me:$LINENO: result: yes" >&5
7714 echo "${ECHO_T}yes" >&6
7716 # FIXME - insert some real tests, host_os isn't really good enough
7719 if test -n "$STRIP" ; then
7720 striplib
="$STRIP -x"
7721 echo "$as_me:$LINENO: result: yes" >&5
7722 echo "${ECHO_T}yes" >&6
7724 echo "$as_me:$LINENO: result: no" >&5
7725 echo "${ECHO_T}no" >&6
7729 echo "$as_me:$LINENO: result: no" >&5
7730 echo "${ECHO_T}no" >&6
7735 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7736 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7738 libname_spec
='lib$name'
7746 shlibpath_overrides_runpath
=unknown
7748 dynamic_linker
="$host_os ld.so"
7749 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7750 if test "$GCC" = yes; then
7751 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7752 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7753 # if the path contains ";" then we assume it to be the separator
7754 # otherwise default to the standard path separator (i.e. ":") - it is
7755 # assumed that no part of a normal pathname contains ";" but that should
7756 # okay in the real world where ";" in dirpaths is itself problematic.
7757 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7759 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7762 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7764 need_lib_prefix
=unknown
7765 hardcode_into_libs
=no
7767 # when you set need_version to no, make sure it does not cause -set_version
7768 # flags to be left without arguments
7769 need_version
=unknown
7774 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7775 shlibpath_var
=LIBPATH
7777 # AIX 3 has no versioning support, so we append a major version to the name.
7778 soname_spec
='${libname}${release}${shared_ext}$major'
7785 hardcode_into_libs
=yes
7786 if test "$host_cpu" = ia64
; then
7787 # AIX 5 supports IA64
7788 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7789 shlibpath_var
=LD_LIBRARY_PATH
7791 # With GCC up to 2.95.x, collect2 would create an import file
7792 # for dependence libraries. The import file would start with
7793 # the line `#! .'. This would cause the generated library to
7794 # depend on `.', always an invalid library. This was fixed in
7795 # development snapshots of GCC prior to 3.0.
7797 aix4 | aix4.
[01] | aix4.
[01].
*)
7798 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7800 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7807 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7808 # soname into executable. Probably we can add versioning support to
7809 # collect2, so additional links can be useful in future.
7810 if test "$aix_use_runtimelinking" = yes; then
7811 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7812 # instead of lib<name>.a to let people know that these are not
7813 # typical AIX shared libraries.
7814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7816 # We preserve .a as extension for shared libraries through AIX4.2
7817 # and later when we are not doing run time linking.
7818 library_names_spec
='${libname}${release}.a $libname.a'
7819 soname_spec
='${libname}${release}${shared_ext}$major'
7821 shlibpath_var
=LIBPATH
7826 library_names_spec
='$libname.ixlibrary $libname.a'
7827 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7828 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'
7832 library_names_spec
='${libname}${shared_ext}'
7833 dynamic_linker
="$host_os ld.so"
7834 shlibpath_var
=LIBRARY_PATH
7840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7841 soname_spec
='${libname}${release}${shared_ext}$major'
7842 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7843 shlibpath_var
=LD_LIBRARY_PATH
7844 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7845 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7846 # the default ld.so.conf also contains /usr/contrib/lib and
7847 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7848 # libtool to hard-code these into programs
7851 cygwin
* | mingw
* | pw32
*)
7852 version_type
=windows
7857 case $GCC,$host_os in
7858 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7859 library_names_spec
='$libname.dll.a'
7860 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7861 postinstall_cmds
='base_file=`basename \${file}`${_S_}
7862 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_}
7863 dldir=$destdir/`dirname \$dlpath`${_S_}
7864 test -d \$dldir || mkdir -p \$dldir${_S_}
7865 $install_prog $dir/$dlname \$dldir/$dlname'
7866 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_}
7867 dlpath=$dir/\$dldll${_S_}
7869 shlibpath_overrides_runpath
=yes
7873 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7874 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7875 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
7878 # MinGW DLLs use traditional 'lib' prefix
7879 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7880 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7881 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7882 # It is most probably a Windows format PATH printed by
7883 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7884 # path with ; separators, and with drive letters. We can handle the
7885 # drive letters (cygwin fileutils understands them), so leave them,
7886 # especially as we might pass files found there to a mingw objdump,
7887 # which wouldn't understand a cygwinified path. Ahh.
7888 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7890 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7894 # pw32 DLLs use 'pw' prefix rather than 'lib'
7895 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7901 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7904 dynamic_linker
='Win32 ld.exe'
7905 # FIXME: first we should search . and the directory the executable is in
7909 darwin
* | rhapsody
*)
7910 dynamic_linker
="$host_os dyld"
7914 # FIXME: Relying on posixy $() will cause problems for
7915 # cross-compilation, but unfortunately the echo tests do not
7916 # yet detect zsh echo's removal of \ escapes.
7917 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext'
7918 soname_spec
='${libname}${release}${major}$shared_ext'
7919 shlibpath_overrides_runpath
=yes
7920 shlibpath_var
=DYLD_LIBRARY_PATH
7921 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
7922 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7923 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
7924 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
7926 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
7933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7934 soname_spec
='${libname}${release}${shared_ext}$major'
7935 shlibpath_var
=LD_LIBRARY_PATH
7943 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7944 version_type
=freebsd-
$objformat
7945 case $version_type in
7947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7952 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7956 shlibpath_var
=LD_LIBRARY_PATH
7959 shlibpath_overrides_runpath
=yes
7961 freebsd3.01
* | freebsdelf3.01
*)
7962 shlibpath_overrides_runpath
=yes
7963 hardcode_into_libs
=yes
7966 shlibpath_overrides_runpath
=no
7967 hardcode_into_libs
=yes
7976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7977 soname_spec
='${libname}${release}${shared_ext}$major'
7978 shlibpath_var
=LD_LIBRARY_PATH
7979 hardcode_into_libs
=yes
7982 hpux9
* | hpux10
* | hpux11
*)
7983 # Give a soname corresponding to the major version so that dld.sl refuses to
7984 # link against other versions.
7991 hardcode_into_libs
=yes
7992 dynamic_linker
="$host_os dld.so"
7993 shlibpath_var
=LD_LIBRARY_PATH
7994 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7996 soname_spec
='${libname}${release}${shared_ext}$major'
7997 if test "X$HPUX_IA64_MODE" = X32
; then
7998 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8000 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8002 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8006 hardcode_into_libs
=yes
8007 dynamic_linker
="$host_os dld.sl"
8008 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8009 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8011 soname_spec
='${libname}${release}${shared_ext}$major'
8012 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8013 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8017 dynamic_linker
="$host_os dld.sl"
8018 shlibpath_var
=SHLIB_PATH
8019 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8021 soname_spec
='${libname}${release}${shared_ext}$major'
8024 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8025 postinstall_cmds
='chmod 555 $lib'
8028 irix5
* | irix6
* | nonstopux
*)
8030 nonstopux
*) version_type
=nonstopux
;;
8032 if test "$lt_cv_prog_gnu_ld" = yes; then
8040 soname_spec
='${libname}${release}${shared_ext}$major'
8041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8043 irix5
* | nonstopux
*)
8047 case $LD in # libtool.m4 will add one of these switches to LD
8048 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8049 libsuff
= shlibsuff
= libmagic
=32-bit;;
8050 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8051 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8052 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8053 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8054 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8058 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8059 shlibpath_overrides_runpath
=no
8060 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8061 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8062 hardcode_into_libs
=yes
8065 # No shared lib support for Linux oldld, aout, or coff.
8066 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8070 # This must be Linux ELF.
8075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8076 soname_spec
='${libname}${release}${shared_ext}$major'
8077 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8078 shlibpath_var
=LD_LIBRARY_PATH
8079 shlibpath_overrides_runpath
=no
8080 # This implies no fast_install, which is unacceptable.
8081 # Some rework will be needed to allow for fast_install
8082 # before this can be enabled.
8083 hardcode_into_libs
=yes
8085 # We used to test for /lib/ld.so.1 and disable shared libraries on
8086 # powerpc, because MkLinux only supported shared libraries with the
8087 # GNU dynamic linker. Since this was broken with cross compilers,
8088 # most powerpc-linux boxes support dynamic linking these days and
8089 # people can always --disable-shared, the test was removed, and we
8090 # assume the GNU/Linux dynamic linker is in use.
8091 dynamic_linker
='GNU/Linux ld.so'
8098 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8100 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8101 dynamic_linker
='NetBSD (a.out) ld.so'
8103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
8104 soname_spec
='${libname}${release}${shared_ext}$major'
8105 dynamic_linker
='NetBSD ld.elf_so'
8107 shlibpath_var
=LD_LIBRARY_PATH
8108 shlibpath_overrides_runpath
=yes
8109 hardcode_into_libs
=yes
8114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8115 shlibpath_var
=LD_LIBRARY_PATH
8116 shlibpath_overrides_runpath
=yes
8123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8124 soname_spec
='${libname}${release}${shared_ext}$major'
8125 shlibpath_var
=LD_LIBRARY_PATH
8126 shlibpath_overrides_runpath
=yes
8133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8134 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8135 shlibpath_var
=LD_LIBRARY_PATH
8136 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8138 openbsd2.
[89] | openbsd2.
[89].
*)
8139 shlibpath_overrides_runpath
=no
8142 shlibpath_overrides_runpath
=yes
8146 shlibpath_overrides_runpath
=yes
8151 libname_spec
='$name'
8154 library_names_spec
='$libname${shared_ext} $libname.a'
8155 dynamic_linker
='OS/2 ld.exe'
8156 shlibpath_var
=LIBPATH
8159 osf3
* | osf4
* | osf5
*)
8163 soname_spec
='${libname}${release}${shared_ext}$major'
8164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8165 shlibpath_var
=LD_LIBRARY_PATH
8166 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8167 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8172 soname_spec
='${libname}${release}${shared_ext}$major'
8173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8174 shlibpath_var
=LD_LIBRARY_PATH
8181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8182 soname_spec
='${libname}${release}${shared_ext}$major'
8183 shlibpath_var
=LD_LIBRARY_PATH
8184 shlibpath_overrides_runpath
=yes
8185 hardcode_into_libs
=yes
8186 # ldd complains unless libraries are executable
8187 postinstall_cmds
='chmod +x $lib'
8192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8193 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8194 shlibpath_var
=LD_LIBRARY_PATH
8195 shlibpath_overrides_runpath
=yes
8196 if test "$with_gnu_ld" = yes; then
8202 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8205 soname_spec
='${libname}${release}${shared_ext}$major'
8206 shlibpath_var
=LD_LIBRARY_PATH
8207 case $host_vendor in
8209 shlibpath_overrides_runpath
=no
8211 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8212 runpath_var
=LD_RUN_PATH
8220 shlibpath_overrides_runpath
=no
8221 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8227 if test -d /usr
/nec
;then
8229 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8230 soname_spec
='$libname${shared_ext}.$major'
8231 shlibpath_var
=LD_LIBRARY_PATH
8237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8238 soname_spec
='${libname}${release}${shared_ext}$major'
8239 shlibpath_var
=LD_LIBRARY_PATH
8246 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8247 echo "${ECHO_T}$dynamic_linker" >&6
8248 test "$dynamic_linker" = no
&& can_build_shared
=no
8250 if test "x$enable_dlopen" != xyes
; then
8251 enable_dlopen
=unknown
8252 enable_dlopen_self
=unknown
8253 enable_dlopen_self_static
=unknown
8260 lt_cv_dlopen
="load_add_on"
8262 lt_cv_dlopen_self
=yes
8266 lt_cv_dlopen
="LoadLibrary"
8271 lt_cv_dlopen
="dlopen"
8276 # if libdl is installed we need to link against it
8277 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8278 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8279 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8280 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 ac_check_lib_save_LIBS
=$LIBS
8284 cat >conftest.
$ac_ext <<_ACEOF
8285 #line $LINENO "configure"
8288 cat confdefs.h
>>conftest.
$ac_ext
8289 cat >>conftest.
$ac_ext <<_ACEOF
8290 /* end confdefs.h. */
8292 /* Override any gcc2 internal prototype to avoid an error. */
8296 /* We use char because int might match the return type of a gcc2
8297 builtin and then its argument prototype would still apply. */
8307 rm -f conftest.
$ac_objext conftest
$ac_exeext
8308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8309 (eval $ac_link) 2>&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); } &&
8313 { ac_try
='test -s conftest$ac_exeext'
8314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); }; }; then
8319 ac_cv_lib_dl_dlopen
=yes
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.
$ac_ext >&5
8324 ac_cv_lib_dl_dlopen
=no
8326 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8327 LIBS
=$ac_check_lib_save_LIBS
8329 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8330 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8331 if test $ac_cv_lib_dl_dlopen = yes; then
8332 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8337 lt_cv_dlopen_self
=yes
8344 echo "$as_me:$LINENO: checking for shl_load" >&5
8345 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8346 if test "${ac_cv_func_shl_load+set}" = set; then
8347 echo $ECHO_N "(cached) $ECHO_C" >&6
8349 cat >conftest.
$ac_ext <<_ACEOF
8350 #line $LINENO "configure"
8353 cat confdefs.h
>>conftest.
$ac_ext
8354 cat >>conftest.
$ac_ext <<_ACEOF
8355 /* end confdefs.h. */
8356 /* System header to define __stub macros and hopefully few prototypes,
8357 which can conflict with char shl_load (); below.
8358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8359 <limits.h> exists even on freestanding compilers. */
8361 # include <limits.h>
8363 # include <assert.h>
8365 /* Override any gcc2 internal prototype to avoid an error. */
8370 /* We use char because int might match the return type of a gcc2
8371 builtin and then its argument prototype would still apply. */
8373 /* The GNU C library defines this for functions which it implements
8374 to always fail with ENOSYS. Some functions are actually named
8375 something starting with __ and the normal name is an alias. */
8376 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8379 char (*f) () = shl_load;
8388 return f != shl_load;
8393 rm -f conftest.
$ac_objext conftest
$ac_exeext
8394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8395 (eval $ac_link) 2>&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); } &&
8399 { ac_try
='test -s conftest$ac_exeext'
8400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); }; }; then
8405 ac_cv_func_shl_load
=yes
8407 echo "$as_me: failed program was:" >&5
8408 sed 's/^/| /' conftest.
$ac_ext >&5
8410 ac_cv_func_shl_load
=no
8412 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8414 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8415 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8416 if test $ac_cv_func_shl_load = yes; then
8417 lt_cv_dlopen
="shl_load"
8419 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8420 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8421 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8422 echo $ECHO_N "(cached) $ECHO_C" >&6
8424 ac_check_lib_save_LIBS
=$LIBS
8426 cat >conftest.
$ac_ext <<_ACEOF
8427 #line $LINENO "configure"
8430 cat confdefs.h
>>conftest.
$ac_ext
8431 cat >>conftest.
$ac_ext <<_ACEOF
8432 /* end confdefs.h. */
8434 /* Override any gcc2 internal prototype to avoid an error. */
8438 /* We use char because int might match the return type of a gcc2
8439 builtin and then its argument prototype would still apply. */
8449 rm -f conftest.
$ac_objext conftest
$ac_exeext
8450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8451 (eval $ac_link) 2>&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); } &&
8455 { ac_try
='test -s conftest$ac_exeext'
8456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); }; }; then
8461 ac_cv_lib_dld_shl_load
=yes
8463 echo "$as_me: failed program was:" >&5
8464 sed 's/^/| /' conftest.
$ac_ext >&5
8466 ac_cv_lib_dld_shl_load
=no
8468 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8469 LIBS
=$ac_check_lib_save_LIBS
8471 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8472 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8473 if test $ac_cv_lib_dld_shl_load = yes; then
8474 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8476 echo "$as_me:$LINENO: checking for dlopen" >&5
8477 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8478 if test "${ac_cv_func_dlopen+set}" = set; then
8479 echo $ECHO_N "(cached) $ECHO_C" >&6
8481 cat >conftest.
$ac_ext <<_ACEOF
8482 #line $LINENO "configure"
8485 cat confdefs.h
>>conftest.
$ac_ext
8486 cat >>conftest.
$ac_ext <<_ACEOF
8487 /* end confdefs.h. */
8488 /* System header to define __stub macros and hopefully few prototypes,
8489 which can conflict with char dlopen (); below.
8490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8491 <limits.h> exists even on freestanding compilers. */
8493 # include <limits.h>
8495 # include <assert.h>
8497 /* Override any gcc2 internal prototype to avoid an error. */
8502 /* We use char because int might match the return type of a gcc2
8503 builtin and then its argument prototype would still apply. */
8505 /* The GNU C library defines this for functions which it implements
8506 to always fail with ENOSYS. Some functions are actually named
8507 something starting with __ and the normal name is an alias. */
8508 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8511 char (*f) () = dlopen;
8525 rm -f conftest.
$ac_objext conftest
$ac_exeext
8526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8527 (eval $ac_link) 2>&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); } &&
8531 { ac_try
='test -s conftest$ac_exeext'
8532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; }; then
8537 ac_cv_func_dlopen
=yes
8539 echo "$as_me: failed program was:" >&5
8540 sed 's/^/| /' conftest.
$ac_ext >&5
8542 ac_cv_func_dlopen
=no
8544 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8546 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8547 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8548 if test $ac_cv_func_dlopen = yes; then
8549 lt_cv_dlopen
="dlopen"
8551 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8552 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8553 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8554 echo $ECHO_N "(cached) $ECHO_C" >&6
8556 ac_check_lib_save_LIBS
=$LIBS
8558 cat >conftest.
$ac_ext <<_ACEOF
8559 #line $LINENO "configure"
8562 cat confdefs.h
>>conftest.
$ac_ext
8563 cat >>conftest.
$ac_ext <<_ACEOF
8564 /* end confdefs.h. */
8566 /* Override any gcc2 internal prototype to avoid an error. */
8570 /* We use char because int might match the return type of a gcc2
8571 builtin and then its argument prototype would still apply. */
8581 rm -f conftest.
$ac_objext conftest
$ac_exeext
8582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8583 (eval $ac_link) 2>&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } &&
8587 { ac_try
='test -s conftest$ac_exeext'
8588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; }; then
8593 ac_cv_lib_dl_dlopen
=yes
8595 echo "$as_me: failed program was:" >&5
8596 sed 's/^/| /' conftest.
$ac_ext >&5
8598 ac_cv_lib_dl_dlopen
=no
8600 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8601 LIBS
=$ac_check_lib_save_LIBS
8603 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8604 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8605 if test $ac_cv_lib_dl_dlopen = yes; then
8606 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8608 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8609 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8610 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8611 echo $ECHO_N "(cached) $ECHO_C" >&6
8613 ac_check_lib_save_LIBS
=$LIBS
8615 cat >conftest.
$ac_ext <<_ACEOF
8616 #line $LINENO "configure"
8619 cat confdefs.h
>>conftest.
$ac_ext
8620 cat >>conftest.
$ac_ext <<_ACEOF
8621 /* end confdefs.h. */
8623 /* Override any gcc2 internal prototype to avoid an error. */
8627 /* We use char because int might match the return type of a gcc2
8628 builtin and then its argument prototype would still apply. */
8638 rm -f conftest.
$ac_objext conftest
$ac_exeext
8639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8640 (eval $ac_link) 2>&5
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); } &&
8644 { ac_try
='test -s conftest$ac_exeext'
8645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); }; }; then
8650 ac_cv_lib_svld_dlopen
=yes
8652 echo "$as_me: failed program was:" >&5
8653 sed 's/^/| /' conftest.
$ac_ext >&5
8655 ac_cv_lib_svld_dlopen
=no
8657 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8658 LIBS
=$ac_check_lib_save_LIBS
8660 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8661 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8662 if test $ac_cv_lib_svld_dlopen = yes; then
8663 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8665 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8666 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8667 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8668 echo $ECHO_N "(cached) $ECHO_C" >&6
8670 ac_check_lib_save_LIBS
=$LIBS
8672 cat >conftest.
$ac_ext <<_ACEOF
8673 #line $LINENO "configure"
8676 cat confdefs.h
>>conftest.
$ac_ext
8677 cat >>conftest.
$ac_ext <<_ACEOF
8678 /* end confdefs.h. */
8680 /* Override any gcc2 internal prototype to avoid an error. */
8684 /* We use char because int might match the return type of a gcc2
8685 builtin and then its argument prototype would still apply. */
8695 rm -f conftest.
$ac_objext conftest
$ac_exeext
8696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8697 (eval $ac_link) 2>&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); } &&
8701 { ac_try
='test -s conftest$ac_exeext'
8702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); }; }; then
8707 ac_cv_lib_dld_dld_link
=yes
8709 echo "$as_me: failed program was:" >&5
8710 sed 's/^/| /' conftest.
$ac_ext >&5
8712 ac_cv_lib_dld_dld_link
=no
8714 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8715 LIBS
=$ac_check_lib_save_LIBS
8717 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8718 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8719 if test $ac_cv_lib_dld_dld_link = yes; then
8720 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
8741 if test "x$lt_cv_dlopen" != xno
; then
8747 case $lt_cv_dlopen in
8749 save_CPPFLAGS
="$CPPFLAGS"
8750 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
8752 save_LDFLAGS
="$LDFLAGS"
8753 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
8756 LIBS
="$lt_cv_dlopen_libs $LIBS"
8758 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8759 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8760 if test "${lt_cv_dlopen_self+set}" = set; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8763 if test "$cross_compiling" = yes; then :
8764 lt_cv_dlopen_self
=cross
8766 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8767 lt_status
=$lt_dlunknown
8768 cat > conftest.
$ac_ext <<EOF
8769 #line 8752 "configure"
8770 #include "confdefs.h"
8779 # define LT_DLGLOBAL RTLD_GLOBAL
8782 # define LT_DLGLOBAL DL_GLOBAL
8784 # define LT_DLGLOBAL 0
8788 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8789 find out it does not work in some platform. */
8790 #ifndef LT_DLLAZY_OR_NOW
8792 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8795 # define LT_DLLAZY_OR_NOW DL_LAZY
8798 # define LT_DLLAZY_OR_NOW RTLD_NOW
8801 # define LT_DLLAZY_OR_NOW DL_NOW
8803 # define LT_DLLAZY_OR_NOW 0
8811 extern "C" void exit (int);
8814 void fnord() { int i=42;}
8817 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8818 int status = $lt_dlunknown;
8822 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8823 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8824 /* dlclose (self); */
8830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8831 (eval $ac_link) 2>&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8835 (.
/conftest
; exit; ) 2>/dev
/null
8838 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
8839 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
8840 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
8843 # compilation failed
8844 lt_cv_dlopen_self
=no
8851 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8852 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8854 if test "x$lt_cv_dlopen_self" = xyes
; then
8855 LDFLAGS
="$LDFLAGS $link_static_flag"
8856 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8857 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8858 if test "${lt_cv_dlopen_self_static+set}" = set; then
8859 echo $ECHO_N "(cached) $ECHO_C" >&6
8861 if test "$cross_compiling" = yes; then :
8862 lt_cv_dlopen_self_static
=cross
8864 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8865 lt_status
=$lt_dlunknown
8866 cat > conftest.
$ac_ext <<EOF
8867 #line 8850 "configure"
8868 #include "confdefs.h"
8877 # define LT_DLGLOBAL RTLD_GLOBAL
8880 # define LT_DLGLOBAL DL_GLOBAL
8882 # define LT_DLGLOBAL 0
8886 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8887 find out it does not work in some platform. */
8888 #ifndef LT_DLLAZY_OR_NOW
8890 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8893 # define LT_DLLAZY_OR_NOW DL_LAZY
8896 # define LT_DLLAZY_OR_NOW RTLD_NOW
8899 # define LT_DLLAZY_OR_NOW DL_NOW
8901 # define LT_DLLAZY_OR_NOW 0
8909 extern "C" void exit (int);
8912 void fnord() { int i=42;}
8915 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8916 int status = $lt_dlunknown;
8920 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8921 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8922 /* dlclose (self); */
8928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8929 (eval $ac_link) 2>&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8933 (.
/conftest
; exit; ) 2>/dev
/null
8936 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
8937 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
8938 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
8941 # compilation failed
8942 lt_cv_dlopen_self_static
=no
8949 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8950 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8953 CPPFLAGS
="$save_CPPFLAGS"
8954 LDFLAGS
="$save_LDFLAGS"
8959 case $lt_cv_dlopen_self in
8960 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
8961 *) enable_dlopen_self
=unknown
;;
8964 case $lt_cv_dlopen_self_static in
8965 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
8966 *) enable_dlopen_self_static
=unknown
;;
8971 # Report which librarie types wil actually be built
8972 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8973 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8974 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8975 echo "${ECHO_T}$can_build_shared" >&6
8977 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8978 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8979 test "$can_build_shared" = "no" && enable_shared
=no
8981 # On AIX, shared libraries and static libraries use the same namespace, and
8982 # are all built from PIC.
8985 test "$enable_shared" = yes && enable_static
=no
8986 if test -n "$RANLIB"; then
8987 archive_cmds
="$archive_cmds\${_S_}\$RANLIB \$lib"
8988 postinstall_cmds
='$RANLIB $lib'
8993 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
8994 test "$enable_shared" = yes && enable_static
=no
8997 darwin
* | rhapsody
*)
8998 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
8999 archive_cmds_need_lc
=no
9001 rhapsody
* | darwin1.
[012])
9002 allow_undefined_flag
='-undefined suppress'
9004 darwin1.
* | darwin
[2-6].
*) # Darwin 1.3 on, but less than 7.0
9005 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag
='-flat_namespace -undefined suppress'
9008 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in
9010 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag
='-flat_namespace -undefined suppress'
9013 if test -z ${LD_TWOLEVEL_NAMESPACE}; then
9014 allow_undefined_flag
='-flat_namespace -undefined suppress'
9016 allow_undefined_flag
='-undefined dynamic_lookup'
9022 # FIXME: Relying on posixy $() will cause problems for
9023 # cross-compilation, but unfortunately the echo tests do not
9024 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
9025 # `"' quotes if we put them in here... so don't!
9026 output_verbose_link_cmd
='echo'
9027 archive_cmds
='$CC -dynamiclib $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9028 module_cmds
='$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9029 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9030 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9031 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9033 hardcode_automatic
=yes
9034 hardcode_shlibpath_var
=unsupported
9035 whole_archive_flag_spec
='-all_load $convenience'
9036 link_all_deplibs
=yes
9040 echo "$as_me:$LINENO: result: $enable_shared" >&5
9041 echo "${ECHO_T}$enable_shared" >&6
9043 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9044 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9045 # Make sure either enable_shared or enable_static is yes.
9046 test "$enable_shared" = yes || enable_static
=yes
9047 echo "$as_me:$LINENO: result: $enable_static" >&5
9048 echo "${ECHO_T}$enable_static" >&6
9050 # The else clause should only fire when bootstrapping the
9051 # libtool distribution, otherwise you forgot to ship ltmain.sh
9052 # with your package, and you will get complaints that there are
9053 # no rules to generate ltmain.sh.
9054 if test -f "$ltmain"; then
9055 # See if we are running on zsh, and set the options which allow our commands through
9056 # without removal of \ escapes.
9057 if test -n "${ZSH_VERSION+set}" ; then
9058 setopt NO_GLOB_SUBST
9060 # Now quote all the things that may contain metacharacters while being
9061 # careful not to overquote the AC_SUBSTed values. We take copies of the
9062 # variables and quote the copies for generation of the libtool script.
9063 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
9064 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9065 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9066 deplibs_check_method reload_flag reload_cmds need_locks \
9067 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9068 lt_cv_sys_global_symbol_to_c_name_address \
9069 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9070 old_postinstall_cmds old_postuninstall_cmds \
9074 lt_prog_compiler_wl \
9075 lt_prog_compiler_pic \
9076 lt_prog_compiler_static \
9077 lt_prog_compiler_no_builtin_flag \
9078 export_dynamic_flag_spec \
9079 thread_safe_flag_spec \
9080 whole_archive_flag_spec \
9081 enable_shared_with_static_runtimes \
9083 old_archive_from_new_cmds \
9088 compiler_lib_search_path \
9090 archive_expsym_cmds \
9092 postuninstall_cmds \
9093 old_archive_from_expsyms_cmds \
9094 allow_undefined_flag \
9096 export_symbols_cmds \
9097 hardcode_libdir_flag_spec \
9098 hardcode_libdir_flag_spec_ld \
9099 hardcode_libdir_separator \
9100 hardcode_automatic \
9102 module_expsym_cmds \
9103 lt_cv_prog_compiler_c_o \
9108 old_archive_cmds | \
9109 old_archive_from_new_cmds | \
9111 archive_expsym_cmds | \
9113 module_expsym_cmds | \
9114 old_archive_from_expsyms_cmds | \
9115 export_symbols_cmds | \
9116 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9117 postinstall_cmds | postuninstall_cmds | \
9118 old_postinstall_cmds | old_postuninstall_cmds | \
9119 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9120 # Double-quote double-evaled strings.
9121 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\""
9124 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9130 *'\$0 --fallback-echo"')
9131 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9136 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9138 { echo "$as_me:$LINENO: creating $ofile" >&5
9139 echo "$as_me: creating $ofile" >&6;}
9141 cat <<__EOF__ >> "$cfgfile"
9144 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9145 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9146 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9148 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9149 # Free Software Foundation, Inc.
9151 # This file is part of GNU Libtool:
9152 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9154 # This program is free software; you can redistribute it and/or modify
9155 # it under the terms of the GNU General Public License as published by
9156 # the Free Software Foundation; either version 2 of the License, or
9157 # (at your option) any later version.
9159 # This program is distributed in the hope that it will be useful, but
9160 # WITHOUT ANY WARRANTY; without even the implied warranty of
9161 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9162 # General Public License for more details.
9164 # You should have received a copy of the GNU General Public License
9165 # along with this program; if not, write to the Free Software
9166 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9168 # As a special exception to the GNU General Public License, if you
9169 # distribute this file as part of a program that contains a
9170 # configuration script generated by Autoconf, you may include it under
9171 # the same distribution terms that you use for the rest of that program.
9173 # A sed program that does not truncate output.
9176 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9177 Xsed="$SED -e s/^X//"
9179 # The HP-UX ksh and POSIX shell print the target directory to stdout
9181 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9183 # The names of the tagged configurations supported by this script.
9186 # ### BEGIN LIBTOOL CONFIG
9188 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9190 # Set the command separator (default: ~)
9191 _S_=\${LIBTOOL_CMD_SEP-\~}
9193 # Shell to use when invoking shell scripts.
9196 # Whether or not to build shared libraries.
9197 build_libtool_libs=$enable_shared
9199 # Whether or not to build static libraries.
9200 build_old_libs=$enable_static
9202 # Whether or not to add -lc for building shared libraries.
9203 build_libtool_need_lc=$archive_cmds_need_lc
9205 # Whether or not to disallow shared libs when runtime libs are static
9206 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9208 # Whether or not to optimize for fast installation.
9209 fast_install=$enable_fast_install
9212 host_alias=$host_alias
9215 # An echo program that does not interpret backslashes.
9220 AR_FLAGS=$lt_AR_FLAGS
9225 # A language-specific compiler.
9228 # Is the compiler the GNU C compiler?
9234 # The linker used to build libraries.
9237 # Whether we need hard or soft links.
9240 # A BSD-compatible nm program.
9243 # A symbol stripping program
9246 # Used to examine libraries when file_magic_cmd begins "file"
9247 MAGIC_CMD=$MAGIC_CMD
9249 # Used on cygwin: DLL creation program.
9252 # Used on cygwin: object dumper.
9255 # Used on cygwin: assembler.
9258 # The name of the directory that contains temporary libtool files.
9261 # How to create reloadable object files.
9262 reload_flag=$lt_reload_flag
9263 reload_cmds=$lt_reload_cmds
9265 # How to pass a linker flag through the compiler.
9266 wl=$lt_lt_prog_compiler_wl
9268 # Object file suffix (normally "o").
9271 # Old archive suffix (normally "a").
9274 # Shared library suffix (normally ".so").
9277 # Executable file suffix (normally "").
9280 # Additional compiler flags for building library objects.
9281 pic_flag=$lt_lt_prog_compiler_pic
9284 # What is the maximum length of a command?
9285 max_cmd_len=$lt_cv_sys_max_cmd_len
9287 # Does compiler simultaneously support -c and -o options?
9288 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9290 # Must we lock files when doing compilation ?
9291 need_locks=$lt_need_locks
9293 # Do we need the lib prefix for modules?
9294 need_lib_prefix=$need_lib_prefix
9296 # Do we need a version for libraries?
9297 need_version=$need_version
9299 # Whether dlopen is supported.
9300 dlopen_support=$enable_dlopen
9302 # Whether dlopen of programs is supported.
9303 dlopen_self=$enable_dlopen_self
9305 # Whether dlopen of statically linked programs is supported.
9306 dlopen_self_static=$enable_dlopen_self_static
9308 # Compiler flag to prevent dynamic linking.
9309 link_static_flag=$lt_lt_prog_compiler_static
9311 # Compiler flag to turn off builtin functions.
9312 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9314 # Compiler flag to allow reflexive dlopens.
9315 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9317 # Compiler flag to generate shared objects directly from archives.
9318 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9320 # Compiler flag to generate thread-safe objects.
9321 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9323 # Library versioning type.
9324 version_type=$version_type
9326 # Format of library name prefix.
9327 libname_spec=$lt_libname_spec
9329 # List of archive names. First name is the real one, the rest are links.
9330 # The last name is the one that the linker finds with -lNAME.
9331 library_names_spec=$lt_library_names_spec
9333 # The coded name of the library, if different from the real name.
9334 soname_spec=$lt_soname_spec
9336 # Commands used to build and install an old-style archive.
9338 old_archive_cmds=$lt_old_archive_cmds
9339 old_postinstall_cmds=$lt_old_postinstall_cmds
9340 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9342 # Create an old-style archive from a shared archive.
9343 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9345 # Create a temporary old-style archive to link instead of a shared archive.
9346 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9348 # Commands used to build and install a shared archive.
9349 archive_cmds=$lt_archive_cmds
9350 archive_expsym_cmds=$lt_archive_expsym_cmds
9351 postinstall_cmds=$lt_postinstall_cmds
9352 postuninstall_cmds=$lt_postuninstall_cmds
9354 # Commands used to build a loadable module (assumed same as above if empty)
9355 module_cmds=$lt_module_cmds
9356 module_expsym_cmds=$lt_module_expsym_cmds
9358 # Commands to strip libraries.
9359 old_striplib=$lt_old_striplib
9360 striplib=$lt_striplib
9362 # Dependencies to place before the objects being linked to create a
9364 predep_objects=$lt_predep_objects
9366 # Dependencies to place after the objects being linked to create a
9368 postdep_objects=$lt_postdep_objects
9370 # Dependencies to place before the objects being linked to create a
9374 # Dependencies to place after the objects being linked to create a
9376 postdeps=$lt_postdeps
9378 # The library search path used internally by the compiler when linking
9380 compiler_lib_search_path=$lt_compiler_lib_search_path
9382 # Method to check whether dependent libraries are shared objects.
9383 deplibs_check_method=$lt_deplibs_check_method
9385 # Command to use when deplibs_check_method == file_magic.
9386 file_magic_cmd=$lt_file_magic_cmd
9388 # Flag that allows shared libraries with undefined symbols to be built.
9389 allow_undefined_flag=$lt_allow_undefined_flag
9391 # Flag that forces no undefined symbols.
9392 no_undefined_flag=$lt_no_undefined_flag
9394 # Commands used to finish a libtool library installation in a directory.
9395 finish_cmds=$lt_finish_cmds
9397 # Same as above, but a single script fragment to be evaled but not shown.
9398 finish_eval=$lt_finish_eval
9400 # Take the output of nm and produce a listing of raw symbols and C names.
9401 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9403 # Transform the output of nm in a proper C declaration
9404 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9406 # Transform the output of nm in a C name address pair
9407 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9409 # This is the shared library runtime path variable.
9410 runpath_var=$runpath_var
9412 # This is the shared library path variable.
9413 shlibpath_var=$shlibpath_var
9415 # Is shlibpath searched before the hard-coded library search path?
9416 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9418 # How to hardcode a shared library path into an executable.
9419 hardcode_action=$hardcode_action
9421 # Whether we should hardcode library paths into libraries.
9422 hardcode_into_libs=$hardcode_into_libs
9424 # Flag to hardcode \$libdir into a binary during linking.
9425 # This must work even if \$libdir does not exist.
9426 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9428 # If ld is used when linking, flag to hardcode \$libdir into
9429 # a binary during linking. This must work even if \$libdir does
9431 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9433 # Whether we need a single -rpath flag with a separated argument.
9434 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9436 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9438 hardcode_direct=$hardcode_direct
9440 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9442 hardcode_minus_L=$hardcode_minus_L
9444 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9445 # the resulting binary.
9446 hardcode_shlibpath_var=$hardcode_shlibpath_var
9448 # Set to yes if building a shared library automatically hardcodes DIR into the library
9449 # and all subsequent libraries and executables linked against it.
9450 hardcode_automatic=$hardcode_automatic
9452 # Variables whose values should be saved in libtool wrapper scripts and
9453 # restored at relink time.
9454 variables_saved_for_relink="$variables_saved_for_relink"
9456 # Whether libtool must link a program against all its dependency libraries.
9457 link_all_deplibs=$link_all_deplibs
9459 # Compile-time system search path for libraries
9460 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9462 # Run-time system search path for libraries
9463 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9465 # Fix the shell variable \$srcfile for the compiler.
9466 fix_srcfile_path="$fix_srcfile_path"
9468 # Set to yes if exported symbols are required.
9469 always_export_symbols=$always_export_symbols
9471 # The commands to list exported symbols.
9472 export_symbols_cmds=$lt_export_symbols_cmds
9474 # The commands to extract the exported symbol list from a shared archive.
9475 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9477 # Symbols that should not be listed in the preloaded symbols.
9478 exclude_expsyms=$lt_exclude_expsyms
9480 # Symbols that must always be exported.
9481 include_expsyms=$lt_include_expsyms
9483 # ### END LIBTOOL CONFIG
9490 cat <<\EOF
>> "$cfgfile"
9492 # AIX sometimes has problems with the GCC collect2 program. For some
9493 # reason, if we set the COLLECT_NAMES environment variable, the problems
9494 # vanish in a puff of smoke.
9495 if test "X${COLLECT_NAMES+set}" != Xset
; then
9497 export COLLECT_NAMES
9503 # We use sed instead of cat because bash on DJGPP gets confused if
9504 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9505 # text mode, it properly converts lines to CR/LF. This bash problem
9506 # is reportedly fixed, but why not run on old versions too?
9507 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9509 mv -f "$cfgfile" "$ofile" || \
9510 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9514 # If there is no Makefile yet, we rely on a make rule to execute
9515 # `config.status --recheck' to rerun these tests and create the
9516 # libtool script then.
9517 test -f Makefile
&& make "$ltmain"
9522 ac_cpp
='$CPP $CPPFLAGS'
9523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9530 # Check whether --with-tags or --without-tags was given.
9531 if test "${with_tags+set}" = set; then
9532 withval
="$with_tags"
9536 if test -f "$ltmain" && test -n "$tagnames"; then
9537 if test ! -f "${ofile}"; then
9538 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9539 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9542 if test -z "$LTCC"; then
9543 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9544 if test -z "$LTCC"; then
9545 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9546 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9548 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9549 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9553 # Extract list of available tagged configurations in $ofile.
9554 # Note that this assumes the entire list is on one line.
9555 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9557 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9558 for tagname
in $tagnames; do
9560 # Check whether tagname contains only valid characters
9561 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9563 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9564 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9565 { (exit 1); exit 1; }; }
9569 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9571 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9572 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9573 { (exit 1); exit 1; }; }
9576 # Update the list of available tags.
9577 if test -n "$tagname"; then
9578 echo appending configuration tag
\"$tagname\" to
$ofile
9582 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9584 ac_cpp
='$CXXCPP $CPPFLAGS'
9585 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9586 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9587 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9592 archive_cmds_need_lc_CXX
=no
9593 allow_undefined_flag_CXX
=
9594 always_export_symbols_CXX
=no
9595 archive_expsym_cmds_CXX
=
9596 export_dynamic_flag_spec_CXX
=
9597 hardcode_direct_CXX
=no
9598 hardcode_libdir_flag_spec_CXX
=
9599 hardcode_libdir_flag_spec_ld_CXX
=
9600 hardcode_libdir_separator_CXX
=
9601 hardcode_minus_L_CXX
=no
9602 hardcode_automatic_CXX
=no
9604 module_expsym_cmds_CXX
=
9605 link_all_deplibs_CXX
=unknown
9606 old_archive_cmds_CXX
=$old_archive_cmds
9607 no_undefined_flag_CXX
=
9608 whole_archive_flag_spec_CXX
=
9609 enable_shared_with_static_runtimes_CXX
=no
9611 # Dependencies to place before and after the object being linked:
9613 postdep_objects_CXX
=
9616 compiler_lib_search_path_CXX
=
9618 # Source file extension for C++ test sources.
9621 # Object file extension for compiled C++ test sources.
9625 # Code to be used in simple compile tests
9626 lt_simple_compile_test_code
="int some_variable = 0;\n"
9628 # Code to be used in simple link tests
9629 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
9631 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9633 # If no C compiler was specified, use CC.
9636 # Allow CC to be a program name with arguments.
9640 # Allow CC to be a program name with arguments.
9645 lt_save_with_gnu_ld
=$with_gnu_ld
9646 lt_save_path_LD
=$lt_cv_path_LD
9647 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9648 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
9650 unset lt_cv_prog_gnu_ld
9652 if test -n "${lt_cv_path_LDCXX+set}"; then
9653 lt_cv_path_LD
=$lt_cv_path_LDCXX
9657 test -z "${LDCXX+set}" || LD
=$LDCXX
9661 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9663 # We don't want -fno-exception wen compiling C++ code, so set the
9664 # no_builtin_flag separately
9665 if test "$GXX" = yes; then
9666 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
9668 lt_prog_compiler_no_builtin_flag_CXX
=
9671 if test "$GXX" = yes; then
9672 # Set up default GNU C++ configuration
9675 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9676 if test "${with_gnu_ld+set}" = set; then
9677 withval
="$with_gnu_ld"
9678 test "$withval" = no || with_gnu_ld
=yes
9683 if test "$GCC" = yes; then
9684 # Check if gcc -print-prog-name=ld gives a path.
9685 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9686 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9689 # gcc leaves a trailing carriage return which upsets mingw
9690 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9692 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9695 # Accept absolute paths.
9697 re_direlt
='/[^/][^/]*/\.\./'
9698 # Canonicalize the path of ld
9699 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
9700 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9701 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9703 test -z "$LD" && LD
="$ac_prog"
9706 # If it fails, then pretend we aren't using GCC.
9710 # If it is relative, then search for the first ld in PATH.
9714 elif test "$with_gnu_ld" = yes; then
9715 echo "$as_me:$LINENO: checking for GNU ld" >&5
9716 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9718 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9719 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9721 if test "${lt_cv_path_LD+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9724 if test -z "$LD"; then
9725 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9726 for ac_dir
in $PATH; do
9728 test -z "$ac_dir" && ac_dir
=.
9729 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9730 lt_cv_path_LD
="$ac_dir/$ac_prog"
9731 # Check to see if the program is GNU ld. I'd rather use --version,
9732 # but apparently some GNU ld's only accept -v.
9733 # Break only if it was the GNU/non-GNU ld that we prefer.
9734 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9735 *GNU
* |
*'with BFD'*)
9736 test "$with_gnu_ld" != no
&& break
9739 test "$with_gnu_ld" != yes && break
9746 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
9751 if test -n "$LD"; then
9752 echo "$as_me:$LINENO: result: $LD" >&5
9753 echo "${ECHO_T}$LD" >&6
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9758 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9759 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9760 { (exit 1); exit 1; }; }
9761 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9762 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9763 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9764 echo $ECHO_N "(cached) $ECHO_C" >&6
9766 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9767 case `"$LD" -v 2>&1 </dev/null` in
9768 *GNU
* |
*'with BFD'*)
9769 lt_cv_prog_gnu_ld
=yes
9772 lt_cv_prog_gnu_ld
=no
9776 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9777 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9778 with_gnu_ld
=$lt_cv_prog_gnu_ld
9782 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9783 # archiving commands below assume that GNU ld is being used.
9784 if test "$with_gnu_ld" = yes; then
9785 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9786 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9788 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
9789 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
9791 # If archive_cmds runs LD, not CC, wlarc should be empty
9792 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9793 # investigate it a little bit more. (MM)
9796 # ancient GNU ld didn't support --whole-archive et. al.
9797 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9798 grep 'no-whole-archive' > /dev
/null
; then
9799 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9801 whole_archive_flag_spec_CXX
=
9807 # A generic and very simple default shared library creation
9808 # command for GNU C++ for the case where it uses the native
9809 # linker, instead of GNU ld. If possible, this setting should
9810 # overridden to take advantage of the native linker features on
9811 # the platform it is being used on.
9812 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9815 # Commands to make compiler produce verbose output that lists
9816 # what "hidden" libraries, object files and flags are used when
9817 # linking a shared library.
9818 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9826 # PORTME: fill in a description of your system's C++ link characteristics
9827 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9828 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9832 # FIXME: insert proper C++ library support
9836 if test "$host_cpu" = ia64
; then
9837 # On IA64, the linker does run time linking by default, so we don't
9838 # have to do anything special.
9839 aix_use_runtimelinking
=no
9840 exp_sym_flag
='-Bexport'
9843 aix_use_runtimelinking
=no
9845 # Test if we are trying to use run time linking or normal
9846 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9847 # need to do runtime linking.
9848 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9849 for ld_flag
in $LDFLAGS; do
9852 aix_use_runtimelinking
=yes
9859 exp_sym_flag
='-bexport'
9860 no_entry_flag
='-bnoentry'
9863 # When large executables or shared objects are built, AIX ld can
9864 # have problems creating the table of contents. If linking a library
9865 # or program results in "error TOC overflow" add -mminimal-toc to
9866 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9867 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9870 hardcode_direct_CXX
=yes
9871 hardcode_libdir_separator_CXX
=':'
9872 link_all_deplibs_CXX
=yes
9874 if test "$GXX" = yes; then
9875 case $host_os in aix4.012|aix4.012.
*)
9876 # We only want to do this on AIX 4.2 and lower, the check
9877 # below for broken collect2 doesn't work under 4.3+
9878 collect2name
=`${CC} -print-prog-name=collect2`
9879 if test -f "$collect2name" && \
9880 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9882 # We have reworked collect2
9883 hardcode_direct_CXX
=yes
9885 # We have old collect2
9886 hardcode_direct_CXX
=unsupported
9887 # It fails to find uninstalled libraries when the uninstalled
9888 # path is not listed in the libpath. Setting hardcode_minus_L
9889 # to unsupported forces relinking
9890 hardcode_minus_L_CXX
=yes
9891 hardcode_libdir_flag_spec_CXX
='-L$libdir'
9892 hardcode_libdir_separator_CXX
=
9895 shared_flag
='-shared'
9898 if test "$host_cpu" = ia64
; then
9899 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9900 # chokes on -Wl,-G. The following line is correct:
9903 if test "$aix_use_runtimelinking" = yes; then
9904 shared_flag
='${wl}-G'
9906 shared_flag
='${wl}-bM:SRE'
9911 # It seems that -bexpall does not export symbols beginning with
9912 # underscore (_), so it is better to generate a list of symbols to export.
9913 always_export_symbols_CXX
=yes
9914 if test "$aix_use_runtimelinking" = yes; then
9915 # Warning - without using the other runtime loading flags (-brtl),
9916 # -berok will link without error, but may produce a broken library.
9917 allow_undefined_flag_CXX
='-berok'
9918 # Determine the default libpath from the value encoded in an empty executable.
9919 cat >conftest.
$ac_ext <<_ACEOF
9920 #line $LINENO "configure"
9923 cat confdefs.h
>>conftest.
$ac_ext
9924 cat >>conftest.
$ac_ext <<_ACEOF
9925 /* end confdefs.h. */
9935 rm -f conftest.
$ac_objext conftest
$ac_exeext
9936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9937 (eval $ac_link) 2>&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); } &&
9941 { ac_try
='test -s conftest$ac_exeext'
9942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); }; }; then
9948 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9950 # Check for a 64-bit object if we didn't find anything.
9951 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9954 echo "$as_me: failed program was:" >&5
9955 sed 's/^/| /' conftest.
$ac_ext >&5
9958 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9959 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9961 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
9963 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9965 if test "$host_cpu" = ia64; then
9966 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
9967 allow_undefined_flag_CXX="-z nodefs"
9968 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
9970 # Determine the default libpath from the value encoded in an empty executable.
9971 cat >conftest.$ac_ext <<_ACEOF
9972 #line $LINENO "configure
"
9975 cat confdefs.h >>conftest.$ac_ext
9976 cat >>conftest.$ac_ext <<_ACEOF
9977 /* end confdefs.h. */
9987 rm -f conftest.$ac_objext conftest$ac_exeext
9988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9989 (eval $ac_link) 2>&5
9991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9992 (exit $ac_status); } &&
9993 { ac_try='test -s conftest$ac_exeext'
9994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9998 (exit $ac_status); }; }; then
10000 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10002 # Check for a 64-bit object if we didn't find anything.
10003 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10006 echo "$as_me: failed program was
:" >&5
10007 sed 's/^/| /' conftest.$ac_ext >&5
10010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10011 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10013 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10014 # Warning - without using the other run time loading flags,
10015 # -berok will link without error, but may produce a broken library.
10016 no_undefined_flag_CXX=' ${wl}-bernotok'
10017 allow_undefined_flag_CXX=' ${wl}-berok'
10018 # -bexpall does not export symbols beginning with underscore (_)
10019 always_export_symbols_CXX=yes
10020 # Exported symbols can be pulled into shared objects from archives
10021 whole_archive_flag_spec_CXX=' '
10022 archive_cmds_need_lc_CXX=yes
10023 # This is similar to how AIX traditionally builds it's shared libraries.
10024 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10029 case $cc_basename in
10031 # FIXME: insert proper C++ library support
10037 cygwin* | mingw* | pw32*)
10038 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10039 # as there is no search path for DLLs.
10040 hardcode_libdir_flag_spec_CXX='-L$libdir'
10041 allow_undefined_flag_CXX=unsupported
10042 always_export_symbols_CXX=no
10043 enable_shared_with_static_runtimes_CXX=yes
10045 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10046 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10047 # If the export-symbols file already is a .def file (1st line
10048 # is EXPORTS), use it as is; otherwise, prepend...
10049 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10050 cp $export_symbols $output_objdir/$soname.def;
10052 echo EXPORTS > $output_objdir/$soname.def;
10053 cat $export_symbols >> $output_objdir/$soname.def;
10055 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10061 darwin* | rhapsody*)
10062 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
10063 archive_cmds_need_lc_CXX=no
10065 rhapsody* | darwin1.[012])
10066 allow_undefined_flag_CXX='-undefined suppress'
10068 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0
10069 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10072 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in
10074 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10077 if test -z ${LD_TWOLEVEL_NAMESPACE}; then
10078 allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10080 allow_undefined_flag_CXX='-undefined dynamic_lookup'
10086 lt_int_apple_cc_single_mod=no
10087 output_verbose_link_cmd='echo'
10088 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10089 lt_int_apple_cc_single_mod=yes
10091 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10092 archive_cmds_CXX='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10094 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10096 module_cmds_CXX='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
10098 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10099 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10100 archive_expsym_cmds_CXX='sed -e "s
,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10102 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10104 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10105 hardcode_direct_CXX
=no
10106 hardcode_automatic_CXX
=yes
10107 hardcode_shlibpath_var_CXX
=unsupported
10108 whole_archive_flag_spec_CXX
='-all_load $convenience'
10109 link_all_deplibs_CXX
=yes
10114 case $cc_basename in
10116 # FIXME: insert proper C++ library support
10120 # Green Hills C++ Compiler
10121 # FIXME: insert proper C++ library support
10125 # FIXME: insert proper C++ library support
10131 # C++ shared libraries reported to be fairly broken before switch to ELF
10135 archive_cmds_need_lc_CXX
=no
10138 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10145 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10146 hardcode_libdir_separator_CXX
=:
10147 export_dynamic_flag_spec_CXX
='${wl}-E'
10148 hardcode_direct_CXX
=yes
10149 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10150 # but as the default
10151 # location of the library.
10153 case $cc_basename in
10155 # FIXME: insert proper C++ library support
10159 archive_cmds_CXX
='$rm $output_objdir/$soname${_S_}$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10160 # Commands to make compiler produce verbose output that lists
10161 # what "hidden" libraries, object files and flags are used when
10162 # linking a shared library.
10164 # There doesn't appear to be a way to prevent this compiler from
10165 # explicitly linking system object files so we need to strip them
10166 # from the output so that they don't get included in the library
10168 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10171 if test "$GXX" = yes; then
10172 archive_cmds_CXX
='$rm $output_objdir/$soname${_S_}$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10174 # FIXME: insert proper C++ library support
10181 if test $with_gnu_ld = no
; then
10182 case "$host_cpu" in
10184 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10185 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10186 hardcode_libdir_separator_CXX
=:
10189 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10192 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10193 hardcode_libdir_separator_CXX
=:
10194 export_dynamic_flag_spec_CXX
='${wl}-E'
10198 case "$host_cpu" in
10200 hardcode_direct_CXX
=no
10201 hardcode_shlibpath_var_CXX
=no
10204 hardcode_direct_CXX
=no
10205 hardcode_shlibpath_var_CXX
=no
10206 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10207 # but as the default
10208 # location of the library.
10211 hardcode_direct_CXX
=yes
10212 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10213 # but as the default
10214 # location of the library.
10218 case $cc_basename in
10220 # FIXME: insert proper C++ library support
10224 case "$host_cpu" in
10226 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10229 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10232 # Commands to make compiler produce verbose output that lists
10233 # what "hidden" libraries, object files and flags are used when
10234 # linking a shared library.
10236 # There doesn't appear to be a way to prevent this compiler from
10237 # explicitly linking system object files so we need to strip them
10238 # from the output so that they don't get included in the library
10240 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10243 if test "$GXX" = yes; then
10244 if test $with_gnu_ld = no
; then
10245 case "$host_cpu" in
10247 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10250 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10255 # FIXME: insert proper C++ library support
10262 case $cc_basename in
10265 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10267 # Archives containing C++ object files must be created using
10268 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10269 # necessary to make sure instantiated templates are included
10271 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10274 if test "$GXX" = yes; then
10275 if test "$with_gnu_ld" = no
; then
10276 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10278 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10281 link_all_deplibs_CXX
=yes
10284 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10285 hardcode_libdir_separator_CXX
=:
10288 case $cc_basename in
10290 # Kuck and Associates, Inc. (KAI) C++ Compiler
10292 # KCC will only create a shared library if the output file
10293 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10294 # to its proper name (with version) after linking.
10295 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10296 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
10297 # Commands to make compiler produce verbose output that lists
10298 # what "hidden" libraries, object files and flags are used when
10299 # linking a shared library.
10301 # There doesn't appear to be a way to prevent this compiler from
10302 # explicitly linking system object files so we need to strip them
10303 # from the output so that they don't get included in the library
10305 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10307 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10308 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10310 # Archives containing C++ object files must be created using
10311 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10312 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10317 archive_cmds_need_lc_CXX
=no
10318 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10319 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10320 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10321 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10322 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10326 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10327 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10329 runpath_var
=LD_RUN_PATH
10330 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10331 hardcode_libdir_separator_CXX
=:
10333 # Commands to make compiler produce verbose output that lists
10334 # what "hidden" libraries, object files and flags are used when
10335 # linking a shared library.
10337 # There doesn't appear to be a way to prevent this compiler from
10338 # explicitly linking system object files so we need to strip them
10339 # from the output so that they don't get included in the library
10341 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10346 # FIXME: insert proper C++ library support
10350 # FIXME: insert proper C++ library support
10354 case $cc_basename in
10356 # FIXME: insert proper C++ library support
10360 # FIXME: insert proper C++ library support
10366 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10367 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10369 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10370 hardcode_direct_CXX
=yes
10371 hardcode_shlibpath_var_CXX
=no
10373 # Workaround some broken pre-1.5 toolchains
10374 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10377 case $cc_basename in
10379 # Kuck and Associates, Inc. (KAI) C++ Compiler
10381 # KCC will only create a shared library if the output file
10382 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10383 # to its proper name (with version) after linking.
10384 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10386 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10387 hardcode_libdir_separator_CXX
=:
10389 # Archives containing C++ object files must be created using
10390 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10391 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10395 # Rational C++ 2.4.1
10396 # FIXME: insert proper C++ library support
10400 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10401 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10403 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10404 hardcode_libdir_separator_CXX
=:
10406 # Commands to make compiler produce verbose output that lists
10407 # what "hidden" libraries, object files and flags are used when
10408 # linking a shared library.
10410 # There doesn't appear to be a way to prevent this compiler from
10411 # explicitly linking system object files so we need to strip them
10412 # from the output so that they don't get included in the library
10414 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10417 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10418 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10419 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10421 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10422 hardcode_libdir_separator_CXX
=:
10424 # Commands to make compiler produce verbose output that lists
10425 # what "hidden" libraries, object files and flags are used when
10426 # linking a shared library.
10427 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10430 # FIXME: insert proper C++ library support
10437 case $cc_basename in
10439 # Kuck and Associates, Inc. (KAI) C++ Compiler
10441 # KCC will only create a shared library if the output file
10442 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10443 # to its proper name (with version) after linking.
10444 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
10446 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10447 hardcode_libdir_separator_CXX
=:
10449 # Archives containing C++ object files must be created using
10450 # the KAI C++ compiler.
10451 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10454 # Rational C++ 2.4.1
10455 # FIXME: insert proper C++ library support
10459 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10460 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
10461 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done${_S_}
10462 echo "-hidden">> $lib.exp${_S_}
10463 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib${_S_}
10466 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10467 hardcode_libdir_separator_CXX
=:
10469 # Commands to make compiler produce verbose output that lists
10470 # what "hidden" libraries, object files and flags are used when
10471 # linking a shared library.
10473 # There doesn't appear to be a way to prevent this compiler from
10474 # explicitly linking system object files so we need to strip them
10475 # from the output so that they don't get included in the library
10477 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10480 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10481 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10482 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10484 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10485 hardcode_libdir_separator_CXX
=:
10487 # Commands to make compiler produce verbose output that lists
10488 # what "hidden" libraries, object files and flags are used when
10489 # linking a shared library.
10490 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10493 # FIXME: insert proper C++ library support
10500 # FIXME: insert proper C++ library support
10504 archive_cmds_need_lc_CXX
=no
10505 case $cc_basename in
10507 # FIXME: insert proper C++ library support
10511 # FIXME: insert proper C++ library support
10517 case $cc_basename in
10520 # FIXME: insert proper C++ library support
10525 # FIXME: insert proper C++ library support
10529 # FIXME: insert proper C++ library support
10535 case $cc_basename in
10537 # Sun C++ 4.2, 5.x and Centerline C++
10538 no_undefined_flag_CXX
=' -zdefs'
10539 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10540 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
10541 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp'
10543 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10544 hardcode_shlibpath_var_CXX
=no
10546 solaris2.0
-5 | solaris2.0
-5.
*) ;;
10548 # The C++ compiler is used as linker so we must use $wl
10549 # flag to pass the commands to the underlying system
10551 # Supported since Solaris 2.6 (maybe 2.5.1?)
10552 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10555 link_all_deplibs_CXX
=yes
10557 # Commands to make compiler produce verbose output that lists
10558 # what "hidden" libraries, object files and flags are used when
10559 # linking a shared library.
10561 # There doesn't appear to be a way to prevent this compiler from
10562 # explicitly linking system object files so we need to strip them
10563 # from the output so that they don't get included in the library
10565 output_verbose_link_cmd
='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10567 # Archives containing C++ object files must be created using
10568 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10569 # necessary to make sure instantiated templates are included
10571 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10574 # Green Hills C++ Compiler
10575 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10577 # The C++ compiler must be used to create the archive.
10578 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10581 # GNU C++ compiler with Solaris linker
10582 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10583 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10584 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10585 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10586 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
10587 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp'
10589 # Commands to make compiler produce verbose output that lists
10590 # what "hidden" libraries, object files and flags are used when
10591 # linking a shared library.
10592 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10594 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10596 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10597 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
10598 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags${_S_}$rm $lib.exp'
10600 # Commands to make compiler produce verbose output that lists
10601 # what "hidden" libraries, object files and flags are used when
10602 # linking a shared library.
10603 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10606 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
10611 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
10612 archive_cmds_need_lc_CXX
=no
10615 case $cc_basename in
10617 # NonStop-UX NCC 3.20
10618 # FIXME: insert proper C++ library support
10622 # FIXME: insert proper C++ library support
10628 # FIXME: insert proper C++ library support
10632 # FIXME: insert proper C++ library support
10636 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10637 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10638 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
10644 cat > conftest.
$ac_ext <<EOF
10648 Foo (void) { a = 0; }
10654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10655 (eval $ac_compile) 2>&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; then
10659 # Parse the compiler output and extract the necessary
10660 # objects, libraries and library flags.
10662 # Sentinel used to keep track of whether or not we are before
10663 # the conftest object file.
10664 pre_test_object_deps_done
=no
10666 # The `*' in the case matches for architectures that use `case' in
10667 # $output_verbose_cmd can trigger glob expansion during the loop
10668 # eval without this substitution.
10669 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10671 for p
in `eval $output_verbose_link_cmd`; do
10675 # Some compilers place space between "-{L,R}" and the path.
10676 # Remove the space.
10677 if test $p = "-L" \
10678 ||
test $p = "-R"; then
10685 if test "$pre_test_object_deps_done" = no
; then
10688 # Internal compiler library paths should come after those
10689 # provided the user. The postdeps already come after the
10690 # user supplied libs so there is no need to process them.
10691 if test -z "$compiler_lib_search_path_CXX"; then
10692 compiler_lib_search_path_CXX
="${prev}${p}"
10694 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
10697 # The "-l" case would never come before the object being
10698 # linked, so don't bother handling this case.
10701 if test -z "$postdeps_CXX"; then
10702 postdeps_CXX
="${prev}${p}"
10704 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
10710 # This assumes that the test object file only shows up
10711 # once in the compiler output.
10712 if test "$p" = "conftest.$objext"; then
10713 pre_test_object_deps_done
=yes
10717 if test "$pre_test_object_deps_done" = no
; then
10718 if test -z "$predep_objects_CXX"; then
10719 predep_objects_CXX
="$p"
10721 predep_objects_CXX
="$predep_objects_CXX $p"
10724 if test -z "$postdep_objects_CXX"; then
10725 postdep_objects_CXX
="$p"
10727 postdep_objects_CXX
="$postdep_objects_CXX $p"
10732 *) ;; # Ignore the rest.
10740 echo "libtool.m4: error: problem compiling CXX test program"
10743 $rm -f confest.
$objext
10745 case " $postdeps_CXX " in
10746 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
10749 lt_prog_compiler_wl_CXX
=
10750 lt_prog_compiler_pic_CXX
=
10751 lt_prog_compiler_static_CXX
=
10753 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10754 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10756 # C++ specific cases for pic, static, wl, etc.
10757 if test "$GXX" = yes; then
10758 lt_prog_compiler_wl_CXX
='-Wl,'
10759 lt_prog_compiler_static_CXX
='-static'
10763 # All AIX code is PIC.
10764 if test "$host_cpu" = ia64
; then
10765 # AIX 5 now supports IA64 processor
10766 lt_prog_compiler_static_CXX
='-Bstatic'
10770 # FIXME: we need at least 68020 code to build shared libraries, but
10771 # adding the `-m68020' flag to GCC prevents building anything better,
10773 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
10775 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10776 # PIC is the default for these OSes.
10778 mingw
* | os2
* | pw32
*)
10779 # This hack is so that the source file can tell whether it is being
10780 # built for inclusion in a dll (and should export symbols for example).
10781 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
10783 darwin
* | rhapsody
*)
10784 # PIC is the default on this platform
10785 # Common symbols not allowed in MH_DYLIB files
10786 lt_prog_compiler_pic_CXX
='-fno-common'
10789 # DJGPP does not support shared libraries at all
10790 lt_prog_compiler_pic_CXX
=
10793 if test -d /usr
/nec
; then
10794 lt_prog_compiler_pic_CXX
=-Kconform_pic
10798 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10799 # not for PA HP-UX.
10800 case "$host_cpu" in
10804 lt_prog_compiler_pic_CXX
='-fPIC'
10809 lt_prog_compiler_pic_CXX
='-fPIC'
10815 # All AIX code is PIC.
10816 if test "$host_cpu" = ia64
; then
10817 # AIX 5 now supports IA64 processor
10818 lt_prog_compiler_static_CXX
='-Bstatic'
10820 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
10824 case $cc_basename in
10826 # Green Hills C++ Compiler
10827 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
10832 case $cc_basename in
10834 lt_prog_compiler_pic_CXX
='-KPIC'
10837 # Green Hills C++ Compiler
10838 lt_prog_compiler_pic_CXX
='-pic'
10845 # FreeBSD uses GNU C++
10847 hpux9
* | hpux10
* | hpux11
*)
10848 case $cc_basename in
10850 lt_prog_compiler_wl_CXX
='-Wl,'
10851 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10852 if test "$host_cpu" != ia64
; then
10853 lt_prog_compiler_pic_CXX
='+Z'
10857 lt_prog_compiler_wl_CXX
='-Wl,'
10858 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10859 case "$host_cpu" in
10864 lt_prog_compiler_pic_CXX
='+Z'
10872 irix5
* | irix6
* | nonstopux
*)
10873 case $cc_basename in
10875 lt_prog_compiler_wl_CXX
='-Wl,'
10876 lt_prog_compiler_static_CXX
='-non_shared'
10877 # CC pic flag -KPIC is the default.
10884 case $cc_basename in
10887 lt_prog_compiler_wl_CXX
='--backend -Wl,'
10888 lt_prog_compiler_pic_CXX
='-fPIC'
10892 lt_prog_compiler_wl_CXX
='-Wl,'
10893 lt_prog_compiler_pic_CXX
='-KPIC'
10894 lt_prog_compiler_static_CXX
='-static'
10898 # Make sure the PIC flag is empty. It appears that all Alpha
10899 # Linux and Compaq Tru64 Unix objects are PIC.
10900 lt_prog_compiler_pic_CXX
=
10901 lt_prog_compiler_static_CXX
='-non_shared'
10912 case $cc_basename in
10914 lt_prog_compiler_pic_CXX
='-W c,exportall'
10922 osf3
* | osf4
* | osf5
*)
10923 case $cc_basename in
10925 lt_prog_compiler_wl_CXX
='--backend -Wl,'
10928 # Rational C++ 2.4.1
10929 lt_prog_compiler_pic_CXX
='-pic'
10932 # Digital/Compaq C++
10933 lt_prog_compiler_wl_CXX
='-Wl,'
10934 # Make sure the PIC flag is empty. It appears that all Alpha
10935 # Linux and Compaq Tru64 Unix objects are PIC.
10936 lt_prog_compiler_pic_CXX
=
10937 lt_prog_compiler_static_CXX
='-non_shared'
10946 case $cc_basename in
10948 lt_prog_compiler_pic_CXX
='-fPIC'
10955 case $cc_basename in
10957 # Sun C++ 4.2, 5.x and Centerline C++
10958 lt_prog_compiler_pic_CXX
='-KPIC'
10959 lt_prog_compiler_static_CXX
='-Bstatic'
10960 lt_prog_compiler_wl_CXX
='-Qoption ld '
10963 # Green Hills C++ Compiler
10964 lt_prog_compiler_pic_CXX
='-PIC'
10971 case $cc_basename in
10974 lt_prog_compiler_pic_CXX
='-pic'
10975 lt_prog_compiler_static_CXX
='-Bstatic'
10979 lt_prog_compiler_pic_CXX
='-pic'
10986 case $cc_basename in
10988 # NonStop-UX NCC 3.20
10989 lt_prog_compiler_pic_CXX
='-KPIC'
11000 lt_prog_compiler_can_build_shared_CXX
=no
11005 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11006 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11009 # Check to make sure the PIC flag actually works.
11011 if test -n "$lt_prog_compiler_pic_CXX"; then
11012 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11013 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11014 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11015 echo $ECHO_N "(cached) $ECHO_C" >&6
11017 lt_prog_compiler_pic_works_CXX
=no
11018 ac_outfile
=conftest.
$ac_objext
11019 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11020 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11021 # Insert the option either (1) after the last *FLAGS variable, or
11022 # (2) before a word containing "conftest.", or (3) at the end.
11023 # Note that $ac_compile itself does not contain backslashes and begins
11024 # with a dollar sign (not a hyphen), so the echo should work correctly.
11025 # The option is referenced via a variable to avoid confusing sed.
11026 lt_compile
=`echo "$ac_compile" | $SED \
11027 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11029 -e 's:$: $lt_compiler_flag:'`
11030 (eval echo "\"\$as_me:10982: $lt_compile\"" >&5)
11031 (eval "$lt_compile" 2>conftest.err
)
11033 cat conftest.err
>&5
11034 echo "$as_me:10986: \$? = $ac_status" >&5
11035 if (exit $ac_status) && test -s "$ac_outfile"; then
11036 # The compiler can only warn and ignore the option if not recognized
11037 # So say no if there are warnings
11038 if test ! -s conftest.err
; then
11039 lt_prog_compiler_pic_works_CXX
=yes
11045 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11046 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11048 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11049 case $lt_prog_compiler_pic_CXX in
11051 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11054 lt_prog_compiler_pic_CXX
=
11055 lt_prog_compiler_can_build_shared_CXX
=no
11060 # For platforms which do not support PIC, -DPIC is meaningless:
11062 lt_prog_compiler_pic_CXX
=
11065 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11069 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11070 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11071 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11072 echo $ECHO_N "(cached) $ECHO_C" >&6
11074 lt_cv_prog_compiler_c_o_CXX
=no
11075 $rm -r conftest
2>/dev
/null
11079 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11081 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
11082 # that will create temporary files in the current directory regardless of
11083 # the output directory. Thus, making CWD read-only will cause this test
11084 # to fail, enabling locking or at least warning the user not to do parallel
11088 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11089 # Insert the option either (1) after the last *FLAGS variable, or
11090 # (2) before a word containing "conftest.", or (3) at the end.
11091 # Note that $ac_compile itself does not contain backslashes and begins
11092 # with a dollar sign (not a hyphen), so the echo should work correctly.
11093 lt_compile
=`echo "$ac_compile" | $SED \
11094 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11096 -e 's:$: $lt_compiler_flag:'`
11097 (eval echo "\"\$as_me:11049: $lt_compile\"" >&5)
11098 (eval "$lt_compile" 2>out
/conftest.err
)
11100 cat out
/conftest.err
>&5
11101 echo "$as_me:11053: \$? = $ac_status" >&5
11102 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11104 # The compiler can only warn and ignore the option if not recognized
11105 # So say no if there are warnings
11106 if test ! -s out
/conftest.err
; then
11107 lt_cv_prog_compiler_c_o_CXX
=yes
11111 $rm conftest
* out
/*
11118 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11119 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11122 hard_links
="nottested"
11123 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11124 # do not overwrite the value of need_locks provided by the user
11125 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11126 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11129 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11131 ln conftest.a conftest.b
2>&5 || hard_links
=no
11132 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11133 echo "$as_me:$LINENO: result: $hard_links" >&5
11134 echo "${ECHO_T}$hard_links" >&6
11135 if test "$hard_links" = no
; then
11136 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11137 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11144 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11145 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11147 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11150 # If we're using GNU nm, then we don't want the "-C" option.
11151 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11152 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11153 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11155 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
11159 export_symbols_cmds_CXX
="$ltdll_cmds"
11162 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11165 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11169 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11170 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11171 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11173 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11174 if test "$GCC" = yes; then
11175 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11179 # Do we need to explicitly link libc?
11181 case "x$archive_cmds_need_lc_CXX" in
11183 # Assume -lc should be added
11184 archive_cmds_need_lc_CXX
=yes
11186 if test "$enable_shared" = yes && test "$GCC" = yes; then
11187 case $archive_cmds_CXX in
11189 # FIXME: we may have to deal with multi-command sequences.
11192 # Test whether the compiler implicitly links with -lc since on some
11193 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11194 # to ld, don't add -lc before -lgcc.
11195 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11196 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11198 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11201 (eval $ac_compile) 2>&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); } 2>conftest.err
; then
11207 libobjs
=conftest.
$ac_objext
11209 wl
=$lt_prog_compiler_wl_CXX
11215 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11216 allow_undefined_flag_CXX
=
11217 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11218 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); }
11223 archive_cmds_need_lc_CXX
=no
11225 archive_cmds_need_lc_CXX
=yes
11227 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11229 cat conftest.err
1>&5
11232 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11233 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11240 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11241 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11242 hardcode_action_CXX
=
11243 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11244 test -n "$runpath_var CXX" || \
11245 test "X$hardcode_automatic_CXX"="Xyes" ; then
11247 # We can hardcode non-existant directories.
11248 if test "$hardcode_direct_CXX" != no
&&
11249 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11250 # have to relink, otherwise we might link with an installed library
11251 # when we should be linking with a yet-to-be-installed one
11252 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11253 test "$hardcode_minus_L_CXX" != no
; then
11254 # Linking always hardcodes the temporary library directory.
11255 hardcode_action_CXX
=relink
11257 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11258 hardcode_action_CXX
=immediate
11261 # We cannot hardcode anything, or else we can only hardcode existing
11263 hardcode_action_CXX
=unsupported
11265 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11266 echo "${ECHO_T}$hardcode_action_CXX" >&6
11268 if test "$hardcode_action_CXX" = relink
; then
11269 # Fast installation is not supported
11270 enable_fast_install
=no
11271 elif test "$shlibpath_overrides_runpath" = yes ||
11272 test "$enable_shared" = no
; then
11273 # Fast installation is not necessary
11274 enable_fast_install
=needless
11279 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11280 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11281 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11282 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11283 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11284 echo "$as_me:$LINENO: result: yes" >&5
11285 echo "${ECHO_T}yes" >&6
11287 # FIXME - insert some real tests, host_os isn't really good enough
11290 if test -n "$STRIP" ; then
11291 striplib
="$STRIP -x"
11292 echo "$as_me:$LINENO: result: yes" >&5
11293 echo "${ECHO_T}yes" >&6
11295 echo "$as_me:$LINENO: result: no" >&5
11296 echo "${ECHO_T}no" >&6
11300 echo "$as_me:$LINENO: result: no" >&5
11301 echo "${ECHO_T}no" >&6
11306 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11307 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11308 library_names_spec
=
11309 libname_spec
='lib$name'
11313 postuninstall_cmds
=
11317 shlibpath_overrides_runpath
=unknown
11319 dynamic_linker
="$host_os ld.so"
11320 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11321 if test "$GCC" = yes; then
11322 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11323 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11324 # if the path contains ";" then we assume it to be the separator
11325 # otherwise default to the standard path separator (i.e. ":") - it is
11326 # assumed that no part of a normal pathname contains ";" but that should
11327 # okay in the real world where ";" in dirpaths is itself problematic.
11328 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11330 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11333 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11335 need_lib_prefix
=unknown
11336 hardcode_into_libs
=no
11338 # when you set need_version to no, make sure it does not cause -set_version
11339 # flags to be left without arguments
11340 need_version
=unknown
11345 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11346 shlibpath_var
=LIBPATH
11348 # AIX 3 has no versioning support, so we append a major version to the name.
11349 soname_spec
='${libname}${release}${shared_ext}$major'
11356 hardcode_into_libs
=yes
11357 if test "$host_cpu" = ia64
; then
11358 # AIX 5 supports IA64
11359 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11360 shlibpath_var
=LD_LIBRARY_PATH
11362 # With GCC up to 2.95.x, collect2 would create an import file
11363 # for dependence libraries. The import file would start with
11364 # the line `#! .'. This would cause the generated library to
11365 # depend on `.', always an invalid library. This was fixed in
11366 # development snapshots of GCC prior to 3.0.
11368 aix4 | aix4.
[01] | aix4.
[01].
*)
11369 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11371 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11374 can_build_shared
=no
11378 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11379 # soname into executable. Probably we can add versioning support to
11380 # collect2, so additional links can be useful in future.
11381 if test "$aix_use_runtimelinking" = yes; then
11382 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11383 # instead of lib<name>.a to let people know that these are not
11384 # typical AIX shared libraries.
11385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11387 # We preserve .a as extension for shared libraries through AIX4.2
11388 # and later when we are not doing run time linking.
11389 library_names_spec
='${libname}${release}.a $libname.a'
11390 soname_spec
='${libname}${release}${shared_ext}$major'
11392 shlibpath_var
=LIBPATH
11397 library_names_spec
='$libname.ixlibrary $libname.a'
11398 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11399 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'
11403 library_names_spec
='${libname}${shared_ext}'
11404 dynamic_linker
="$host_os ld.so"
11405 shlibpath_var
=LIBRARY_PATH
11411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11412 soname_spec
='${libname}${release}${shared_ext}$major'
11413 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11414 shlibpath_var
=LD_LIBRARY_PATH
11415 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11416 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11417 # the default ld.so.conf also contains /usr/contrib/lib and
11418 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11419 # libtool to hard-code these into programs
11422 cygwin
* | mingw
* | pw32
*)
11423 version_type
=windows
11428 case $GCC,$host_os in
11429 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11430 library_names_spec
='$libname.dll.a'
11431 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11432 postinstall_cmds
='base_file=`basename \${file}`${_S_}
11433 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_}
11434 dldir=$destdir/`dirname \$dlpath`${_S_}
11435 test -d \$dldir || mkdir -p \$dldir${_S_}
11436 $install_prog $dir/$dlname \$dldir/$dlname'
11437 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_}
11438 dlpath=$dir/\$dldll${_S_}
11440 shlibpath_overrides_runpath
=yes
11444 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11445 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11446 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
11449 # MinGW DLLs use traditional 'lib' prefix
11450 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11451 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11452 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11453 # It is most probably a Windows format PATH printed by
11454 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11455 # path with ; separators, and with drive letters. We can handle the
11456 # drive letters (cygwin fileutils understands them), so leave them,
11457 # especially as we might pass files found there to a mingw objdump,
11458 # which wouldn't understand a cygwinified path. Ahh.
11459 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11461 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11465 # pw32 DLLs use 'pw' prefix rather than 'lib'
11466 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11472 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11475 dynamic_linker
='Win32 ld.exe'
11476 # FIXME: first we should search . and the directory the executable is in
11480 darwin
* | rhapsody
*)
11481 dynamic_linker
="$host_os dyld"
11482 version_type
=darwin
11485 # FIXME: Relying on posixy $() will cause problems for
11486 # cross-compilation, but unfortunately the echo tests do not
11487 # yet detect zsh echo's removal of \ escapes.
11488 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext'
11489 soname_spec
='${libname}${release}${major}$shared_ext'
11490 shlibpath_overrides_runpath
=yes
11491 shlibpath_var
=DYLD_LIBRARY_PATH
11492 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
11493 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11494 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
11495 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11497 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11505 soname_spec
='${libname}${release}${shared_ext}$major'
11506 shlibpath_var
=LD_LIBRARY_PATH
11514 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11515 version_type
=freebsd-
$objformat
11516 case $version_type in
11518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11523 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11527 shlibpath_var
=LD_LIBRARY_PATH
11530 shlibpath_overrides_runpath
=yes
11532 freebsd3.01
* | freebsdelf3.01
*)
11533 shlibpath_overrides_runpath
=yes
11534 hardcode_into_libs
=yes
11537 shlibpath_overrides_runpath
=no
11538 hardcode_into_libs
=yes
11547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11548 soname_spec
='${libname}${release}${shared_ext}$major'
11549 shlibpath_var
=LD_LIBRARY_PATH
11550 hardcode_into_libs
=yes
11553 hpux9
* | hpux10
* | hpux11
*)
11554 # Give a soname corresponding to the major version so that dld.sl refuses to
11555 # link against other versions.
11559 case "$host_cpu" in
11562 hardcode_into_libs
=yes
11563 dynamic_linker
="$host_os dld.so"
11564 shlibpath_var
=LD_LIBRARY_PATH
11565 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11567 soname_spec
='${libname}${release}${shared_ext}$major'
11568 if test "X$HPUX_IA64_MODE" = X32
; then
11569 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11571 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11573 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11577 hardcode_into_libs
=yes
11578 dynamic_linker
="$host_os dld.sl"
11579 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11580 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11582 soname_spec
='${libname}${release}${shared_ext}$major'
11583 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11584 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11588 dynamic_linker
="$host_os dld.sl"
11589 shlibpath_var
=SHLIB_PATH
11590 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11592 soname_spec
='${libname}${release}${shared_ext}$major'
11595 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11596 postinstall_cmds
='chmod 555 $lib'
11599 irix5
* | irix6
* | nonstopux
*)
11601 nonstopux
*) version_type
=nonstopux
;;
11603 if test "$lt_cv_prog_gnu_ld" = yes; then
11611 soname_spec
='${libname}${release}${shared_ext}$major'
11612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11614 irix5
* | nonstopux
*)
11615 libsuff
= shlibsuff
=
11618 case $LD in # libtool.m4 will add one of these switches to LD
11619 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11620 libsuff
= shlibsuff
= libmagic
=32-bit;;
11621 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11622 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11623 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11624 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11625 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11629 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11630 shlibpath_overrides_runpath
=no
11631 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11632 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11633 hardcode_into_libs
=yes
11636 # No shared lib support for Linux oldld, aout, or coff.
11637 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11641 # This must be Linux ELF.
11646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647 soname_spec
='${libname}${release}${shared_ext}$major'
11648 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11649 shlibpath_var
=LD_LIBRARY_PATH
11650 shlibpath_overrides_runpath
=no
11651 # This implies no fast_install, which is unacceptable.
11652 # Some rework will be needed to allow for fast_install
11653 # before this can be enabled.
11654 hardcode_into_libs
=yes
11656 # We used to test for /lib/ld.so.1 and disable shared libraries on
11657 # powerpc, because MkLinux only supported shared libraries with the
11658 # GNU dynamic linker. Since this was broken with cross compilers,
11659 # most powerpc-linux boxes support dynamic linking these days and
11660 # people can always --disable-shared, the test was removed, and we
11661 # assume the GNU/Linux dynamic linker is in use.
11662 dynamic_linker
='GNU/Linux ld.so'
11669 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11671 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11672 dynamic_linker
='NetBSD (a.out) ld.so'
11674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11675 soname_spec
='${libname}${release}${shared_ext}$major'
11676 dynamic_linker
='NetBSD ld.elf_so'
11678 shlibpath_var
=LD_LIBRARY_PATH
11679 shlibpath_overrides_runpath
=yes
11680 hardcode_into_libs
=yes
11685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11686 shlibpath_var
=LD_LIBRARY_PATH
11687 shlibpath_overrides_runpath
=yes
11694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11695 soname_spec
='${libname}${release}${shared_ext}$major'
11696 shlibpath_var
=LD_LIBRARY_PATH
11697 shlibpath_overrides_runpath
=yes
11704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11705 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11706 shlibpath_var
=LD_LIBRARY_PATH
11707 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11709 openbsd2.
[89] | openbsd2.
[89].
*)
11710 shlibpath_overrides_runpath
=no
11713 shlibpath_overrides_runpath
=yes
11717 shlibpath_overrides_runpath
=yes
11722 libname_spec
='$name'
11725 library_names_spec
='$libname${shared_ext} $libname.a'
11726 dynamic_linker
='OS/2 ld.exe'
11727 shlibpath_var
=LIBPATH
11730 osf3
* | osf4
* | osf5
*)
11734 soname_spec
='${libname}${release}${shared_ext}$major'
11735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11736 shlibpath_var
=LD_LIBRARY_PATH
11737 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11738 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11743 soname_spec
='${libname}${release}${shared_ext}$major'
11744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11745 shlibpath_var
=LD_LIBRARY_PATH
11752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11753 soname_spec
='${libname}${release}${shared_ext}$major'
11754 shlibpath_var
=LD_LIBRARY_PATH
11755 shlibpath_overrides_runpath
=yes
11756 hardcode_into_libs
=yes
11757 # ldd complains unless libraries are executable
11758 postinstall_cmds
='chmod +x $lib'
11763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11764 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11765 shlibpath_var
=LD_LIBRARY_PATH
11766 shlibpath_overrides_runpath
=yes
11767 if test "$with_gnu_ld" = yes; then
11773 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11776 soname_spec
='${libname}${release}${shared_ext}$major'
11777 shlibpath_var
=LD_LIBRARY_PATH
11778 case $host_vendor in
11780 shlibpath_overrides_runpath
=no
11782 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11783 runpath_var
=LD_RUN_PATH
11791 shlibpath_overrides_runpath
=no
11792 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11798 if test -d /usr
/nec
;then
11800 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11801 soname_spec
='$libname${shared_ext}.$major'
11802 shlibpath_var
=LD_LIBRARY_PATH
11808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11809 soname_spec
='${libname}${release}${shared_ext}$major'
11810 shlibpath_var
=LD_LIBRARY_PATH
11817 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11818 echo "${ECHO_T}$dynamic_linker" >&6
11819 test "$dynamic_linker" = no
&& can_build_shared
=no
11821 if test "x$enable_dlopen" != xyes
; then
11822 enable_dlopen
=unknown
11823 enable_dlopen_self
=unknown
11824 enable_dlopen_self_static
=unknown
11831 lt_cv_dlopen
="load_add_on"
11833 lt_cv_dlopen_self
=yes
11837 lt_cv_dlopen
="LoadLibrary"
11842 lt_cv_dlopen
="dlopen"
11847 # if libdl is installed we need to link against it
11848 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11849 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11850 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11851 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 ac_check_lib_save_LIBS
=$LIBS
11855 cat >conftest.
$ac_ext <<_ACEOF
11856 #line $LINENO "configure"
11859 cat confdefs.h
>>conftest.
$ac_ext
11860 cat >>conftest.
$ac_ext <<_ACEOF
11861 /* end confdefs.h. */
11863 /* Override any gcc2 internal prototype to avoid an error. */
11867 /* We use char because int might match the return type of a gcc2
11868 builtin and then its argument prototype would still apply. */
11878 rm -f conftest.
$ac_objext conftest
$ac_exeext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11880 (eval $ac_link) 2>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } &&
11884 { ac_try
='test -s conftest$ac_exeext'
11885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11886 (eval $ac_try) 2>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); }; }; then
11890 ac_cv_lib_dl_dlopen
=yes
11892 echo "$as_me: failed program was:" >&5
11893 sed 's/^/| /' conftest.
$ac_ext >&5
11895 ac_cv_lib_dl_dlopen
=no
11897 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11898 LIBS
=$ac_check_lib_save_LIBS
11900 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11901 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11902 if test $ac_cv_lib_dl_dlopen = yes; then
11903 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11906 lt_cv_dlopen
="dyld"
11908 lt_cv_dlopen_self
=yes
11915 echo "$as_me:$LINENO: checking for shl_load" >&5
11916 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11917 if test "${ac_cv_func_shl_load+set}" = set; then
11918 echo $ECHO_N "(cached) $ECHO_C" >&6
11920 cat >conftest.
$ac_ext <<_ACEOF
11921 #line $LINENO "configure"
11924 cat confdefs.h
>>conftest.
$ac_ext
11925 cat >>conftest.
$ac_ext <<_ACEOF
11926 /* end confdefs.h. */
11927 /* System header to define __stub macros and hopefully few prototypes,
11928 which can conflict with char shl_load (); below.
11929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11930 <limits.h> exists even on freestanding compilers. */
11932 # include <limits.h>
11934 # include <assert.h>
11936 /* Override any gcc2 internal prototype to avoid an error. */
11941 /* We use char because int might match the return type of a gcc2
11942 builtin and then its argument prototype would still apply. */
11944 /* The GNU C library defines this for functions which it implements
11945 to always fail with ENOSYS. Some functions are actually named
11946 something starting with __ and the normal name is an alias. */
11947 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11950 char (*f) () = shl_load;
11959 return f != shl_load;
11964 rm -f conftest.
$ac_objext conftest
$ac_exeext
11965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11966 (eval $ac_link) 2>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } &&
11970 { ac_try
='test -s conftest$ac_exeext'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; }; then
11976 ac_cv_func_shl_load
=yes
11978 echo "$as_me: failed program was:" >&5
11979 sed 's/^/| /' conftest.
$ac_ext >&5
11981 ac_cv_func_shl_load
=no
11983 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11985 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11986 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11987 if test $ac_cv_func_shl_load = yes; then
11988 lt_cv_dlopen
="shl_load"
11990 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11991 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11992 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11993 echo $ECHO_N "(cached) $ECHO_C" >&6
11995 ac_check_lib_save_LIBS
=$LIBS
11997 cat >conftest.
$ac_ext <<_ACEOF
11998 #line $LINENO "configure"
12001 cat confdefs.h
>>conftest.
$ac_ext
12002 cat >>conftest.
$ac_ext <<_ACEOF
12003 /* end confdefs.h. */
12005 /* Override any gcc2 internal prototype to avoid an error. */
12009 /* We use char because int might match the return type of a gcc2
12010 builtin and then its argument prototype would still apply. */
12020 rm -f conftest.
$ac_objext conftest
$ac_exeext
12021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12022 (eval $ac_link) 2>&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); } &&
12026 { ac_try
='test -s conftest$ac_exeext'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; }; then
12032 ac_cv_lib_dld_shl_load
=yes
12034 echo "$as_me: failed program was:" >&5
12035 sed 's/^/| /' conftest.
$ac_ext >&5
12037 ac_cv_lib_dld_shl_load
=no
12039 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12040 LIBS
=$ac_check_lib_save_LIBS
12042 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12043 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12044 if test $ac_cv_lib_dld_shl_load = yes; then
12045 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12047 echo "$as_me:$LINENO: checking for dlopen" >&5
12048 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12049 if test "${ac_cv_func_dlopen+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 cat >conftest.
$ac_ext <<_ACEOF
12053 #line $LINENO "configure"
12056 cat confdefs.h
>>conftest.
$ac_ext
12057 cat >>conftest.
$ac_ext <<_ACEOF
12058 /* end confdefs.h. */
12059 /* System header to define __stub macros and hopefully few prototypes,
12060 which can conflict with char dlopen (); below.
12061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12062 <limits.h> exists even on freestanding compilers. */
12064 # include <limits.h>
12066 # include <assert.h>
12068 /* Override any gcc2 internal prototype to avoid an error. */
12073 /* We use char because int might match the return type of a gcc2
12074 builtin and then its argument prototype would still apply. */
12076 /* The GNU C library defines this for functions which it implements
12077 to always fail with ENOSYS. Some functions are actually named
12078 something starting with __ and the normal name is an alias. */
12079 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12082 char (*f) () = dlopen;
12091 return f != dlopen;
12096 rm -f conftest.
$ac_objext conftest
$ac_exeext
12097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12098 (eval $ac_link) 2>&5
12100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12101 (exit $ac_status); } &&
12102 { ac_try
='test -s conftest$ac_exeext'
12103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12104 (eval $ac_try) 2>&5
12106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107 (exit $ac_status); }; }; then
12108 ac_cv_func_dlopen
=yes
12110 echo "$as_me: failed program was:" >&5
12111 sed 's/^/| /' conftest.
$ac_ext >&5
12113 ac_cv_func_dlopen
=no
12115 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12117 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12118 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12119 if test $ac_cv_func_dlopen = yes; then
12120 lt_cv_dlopen
="dlopen"
12122 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12123 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12124 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12125 echo $ECHO_N "(cached) $ECHO_C" >&6
12127 ac_check_lib_save_LIBS
=$LIBS
12129 cat >conftest.
$ac_ext <<_ACEOF
12130 #line $LINENO "configure"
12133 cat confdefs.h
>>conftest.
$ac_ext
12134 cat >>conftest.
$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12137 /* Override any gcc2 internal prototype to avoid an error. */
12141 /* We use char because int might match the return type of a gcc2
12142 builtin and then its argument prototype would still apply. */
12152 rm -f conftest.
$ac_objext conftest
$ac_exeext
12153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12154 (eval $ac_link) 2>&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); } &&
12158 { ac_try
='test -s conftest$ac_exeext'
12159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12160 (eval $ac_try) 2>&5
12162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12163 (exit $ac_status); }; }; then
12164 ac_cv_lib_dl_dlopen
=yes
12166 echo "$as_me: failed program was:" >&5
12167 sed 's/^/| /' conftest.
$ac_ext >&5
12169 ac_cv_lib_dl_dlopen
=no
12171 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12172 LIBS
=$ac_check_lib_save_LIBS
12174 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12175 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12176 if test $ac_cv_lib_dl_dlopen = yes; then
12177 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12179 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12180 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12181 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12182 echo $ECHO_N "(cached) $ECHO_C" >&6
12184 ac_check_lib_save_LIBS
=$LIBS
12185 LIBS
="-lsvld $LIBS"
12186 cat >conftest.
$ac_ext <<_ACEOF
12187 #line $LINENO "configure"
12190 cat confdefs.h
>>conftest.
$ac_ext
12191 cat >>conftest.
$ac_ext <<_ACEOF
12192 /* end confdefs.h. */
12194 /* Override any gcc2 internal prototype to avoid an error. */
12198 /* We use char because int might match the return type of a gcc2
12199 builtin and then its argument prototype would still apply. */
12209 rm -f conftest.
$ac_objext conftest
$ac_exeext
12210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12211 (eval $ac_link) 2>&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); } &&
12215 { ac_try
='test -s conftest$ac_exeext'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; }; then
12221 ac_cv_lib_svld_dlopen
=yes
12223 echo "$as_me: failed program was:" >&5
12224 sed 's/^/| /' conftest.
$ac_ext >&5
12226 ac_cv_lib_svld_dlopen
=no
12228 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12229 LIBS
=$ac_check_lib_save_LIBS
12231 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12232 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12233 if test $ac_cv_lib_svld_dlopen = yes; then
12234 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12236 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12237 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12238 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12239 echo $ECHO_N "(cached) $ECHO_C" >&6
12241 ac_check_lib_save_LIBS
=$LIBS
12243 cat >conftest.
$ac_ext <<_ACEOF
12244 #line $LINENO "configure"
12247 cat confdefs.h
>>conftest.
$ac_ext
12248 cat >>conftest.
$ac_ext <<_ACEOF
12249 /* end confdefs.h. */
12251 /* Override any gcc2 internal prototype to avoid an error. */
12255 /* We use char because int might match the return type of a gcc2
12256 builtin and then its argument prototype would still apply. */
12266 rm -f conftest.
$ac_objext conftest
$ac_exeext
12267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12268 (eval $ac_link) 2>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } &&
12272 { ac_try
='test -s conftest$ac_exeext'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; }; then
12278 ac_cv_lib_dld_dld_link
=yes
12280 echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.
$ac_ext >&5
12283 ac_cv_lib_dld_dld_link
=no
12285 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12286 LIBS
=$ac_check_lib_save_LIBS
12288 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12289 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12290 if test $ac_cv_lib_dld_dld_link = yes; then
12291 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12312 if test "x$lt_cv_dlopen" != xno
; then
12318 case $lt_cv_dlopen in
12320 save_CPPFLAGS
="$CPPFLAGS"
12321 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12323 save_LDFLAGS
="$LDFLAGS"
12324 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12327 LIBS
="$lt_cv_dlopen_libs $LIBS"
12329 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12330 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12331 if test "${lt_cv_dlopen_self+set}" = set; then
12332 echo $ECHO_N "(cached) $ECHO_C" >&6
12334 if test "$cross_compiling" = yes; then :
12335 lt_cv_dlopen_self
=cross
12337 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12338 lt_status
=$lt_dlunknown
12339 cat > conftest.
$ac_ext <<EOF
12340 #line 12292 "configure"
12341 #include "confdefs.h"
12350 # define LT_DLGLOBAL RTLD_GLOBAL
12353 # define LT_DLGLOBAL DL_GLOBAL
12355 # define LT_DLGLOBAL 0
12359 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12360 find out it does not work in some platform. */
12361 #ifndef LT_DLLAZY_OR_NOW
12363 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12366 # define LT_DLLAZY_OR_NOW DL_LAZY
12369 # define LT_DLLAZY_OR_NOW RTLD_NOW
12372 # define LT_DLLAZY_OR_NOW DL_NOW
12374 # define LT_DLLAZY_OR_NOW 0
12382 extern "C" void exit (int);
12385 void fnord() { int i=42;}
12388 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12389 int status = $lt_dlunknown;
12393 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12394 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12395 /* dlclose (self); */
12401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12402 (eval $ac_link) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12406 (.
/conftest
; exit; ) 2>/dev
/null
12408 case x
$lt_status in
12409 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12410 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12411 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
12414 # compilation failed
12415 lt_cv_dlopen_self
=no
12422 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12423 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12425 if test "x$lt_cv_dlopen_self" = xyes
; then
12426 LDFLAGS
="$LDFLAGS $link_static_flag"
12427 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12428 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12429 if test "${lt_cv_dlopen_self_static+set}" = set; then
12430 echo $ECHO_N "(cached) $ECHO_C" >&6
12432 if test "$cross_compiling" = yes; then :
12433 lt_cv_dlopen_self_static
=cross
12435 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12436 lt_status
=$lt_dlunknown
12437 cat > conftest.
$ac_ext <<EOF
12438 #line 12390 "configure"
12439 #include "confdefs.h"
12448 # define LT_DLGLOBAL RTLD_GLOBAL
12451 # define LT_DLGLOBAL DL_GLOBAL
12453 # define LT_DLGLOBAL 0
12457 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12458 find out it does not work in some platform. */
12459 #ifndef LT_DLLAZY_OR_NOW
12461 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12464 # define LT_DLLAZY_OR_NOW DL_LAZY
12467 # define LT_DLLAZY_OR_NOW RTLD_NOW
12470 # define LT_DLLAZY_OR_NOW DL_NOW
12472 # define LT_DLLAZY_OR_NOW 0
12480 extern "C" void exit (int);
12483 void fnord() { int i=42;}
12486 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12487 int status = $lt_dlunknown;
12491 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12492 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12493 /* dlclose (self); */
12499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12500 (eval $ac_link) 2>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12504 (.
/conftest
; exit; ) 2>/dev
/null
12506 case x
$lt_status in
12507 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12508 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12509 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
12512 # compilation failed
12513 lt_cv_dlopen_self_static
=no
12520 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12521 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12524 CPPFLAGS
="$save_CPPFLAGS"
12525 LDFLAGS
="$save_LDFLAGS"
12530 case $lt_cv_dlopen_self in
12531 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12532 *) enable_dlopen_self
=unknown
;;
12535 case $lt_cv_dlopen_self_static in
12536 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12537 *) enable_dlopen_self_static
=unknown
;;
12542 # The else clause should only fire when bootstrapping the
12543 # libtool distribution, otherwise you forgot to ship ltmain.sh
12544 # with your package, and you will get complaints that there are
12545 # no rules to generate ltmain.sh.
12546 if test -f "$ltmain"; then
12547 # See if we are running on zsh, and set the options which allow our commands through
12548 # without removal of \ escapes.
12549 if test -n "${ZSH_VERSION+set}" ; then
12550 setopt NO_GLOB_SUBST
12552 # Now quote all the things that may contain metacharacters while being
12553 # careful not to overquote the AC_SUBSTed values. We take copies of the
12554 # variables and quote the copies for generation of the libtool script.
12555 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12556 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12557 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12558 deplibs_check_method reload_flag reload_cmds need_locks \
12559 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12560 lt_cv_sys_global_symbol_to_c_name_address \
12561 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12562 old_postinstall_cmds old_postuninstall_cmds \
12566 lt_prog_compiler_wl_CXX \
12567 lt_prog_compiler_pic_CXX \
12568 lt_prog_compiler_static_CXX \
12569 lt_prog_compiler_no_builtin_flag_CXX \
12570 export_dynamic_flag_spec_CXX \
12571 thread_safe_flag_spec_CXX \
12572 whole_archive_flag_spec_CXX \
12573 enable_shared_with_static_runtimes_CXX \
12574 old_archive_cmds_CXX \
12575 old_archive_from_new_cmds_CXX \
12576 predep_objects_CXX \
12577 postdep_objects_CXX \
12580 compiler_lib_search_path_CXX \
12582 archive_expsym_cmds_CXX \
12583 postinstall_cmds_CXX \
12584 postuninstall_cmds_CXX \
12585 old_archive_from_expsyms_cmds_CXX \
12586 allow_undefined_flag_CXX \
12587 no_undefined_flag_CXX \
12588 export_symbols_cmds_CXX \
12589 hardcode_libdir_flag_spec_CXX \
12590 hardcode_libdir_flag_spec_ld_CXX \
12591 hardcode_libdir_separator_CXX \
12592 hardcode_automatic_CXX \
12594 module_expsym_cmds_CXX \
12595 lt_cv_prog_compiler_c_o_CXX \
12596 exclude_expsyms_CXX \
12597 include_expsyms_CXX
; do
12600 old_archive_cmds_CXX | \
12601 old_archive_from_new_cmds_CXX | \
12602 archive_cmds_CXX | \
12603 archive_expsym_cmds_CXX | \
12604 module_cmds_CXX | \
12605 module_expsym_cmds_CXX | \
12606 old_archive_from_expsyms_cmds_CXX | \
12607 export_symbols_cmds_CXX | \
12608 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12609 postinstall_cmds | postuninstall_cmds | \
12610 old_postinstall_cmds | old_postuninstall_cmds | \
12611 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12612 # Double-quote double-evaled strings.
12613 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\""
12616 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12622 *'\$0 --fallback-echo"')
12623 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12629 cat <<__EOF__ >> "$cfgfile"
12630 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12632 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12634 # Set the command separator (default: ~)
12635 _S_=\${LIBTOOL_CMD_SEP-\~}
12637 # Shell to use when invoking shell scripts.
12640 # Whether or not to build shared libraries.
12641 build_libtool_libs=$enable_shared
12643 # Whether or not to build static libraries.
12644 build_old_libs=$enable_static
12646 # Whether or not to add -lc for building shared libraries.
12647 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12649 # Whether or not to disallow shared libs when runtime libs are static
12650 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12652 # Whether or not to optimize for fast installation.
12653 fast_install=$enable_fast_install
12656 host_alias=$host_alias
12659 # An echo program that does not interpret backslashes.
12664 AR_FLAGS=$lt_AR_FLAGS
12669 # A language-specific compiler.
12670 CC=$lt_compiler_CXX
12672 # Is the compiler the GNU C compiler?
12678 # The linker used to build libraries.
12681 # Whether we need hard or soft links.
12684 # A BSD-compatible nm program.
12687 # A symbol stripping program
12690 # Used to examine libraries when file_magic_cmd begins "file"
12691 MAGIC_CMD=$MAGIC_CMD
12693 # Used on cygwin: DLL creation program.
12696 # Used on cygwin: object dumper.
12699 # Used on cygwin: assembler.
12702 # The name of the directory that contains temporary libtool files.
12705 # How to create reloadable object files.
12706 reload_flag=$lt_reload_flag
12707 reload_cmds=$lt_reload_cmds
12709 # How to pass a linker flag through the compiler.
12710 wl=$lt_lt_prog_compiler_wl_CXX
12712 # Object file suffix (normally "o").
12713 objext="$ac_objext"
12715 # Old archive suffix (normally "a").
12718 # Shared library suffix (normally ".so").
12721 # Executable file suffix (normally "").
12724 # Additional compiler flags for building library objects.
12725 pic_flag=$lt_lt_prog_compiler_pic_CXX
12728 # What is the maximum length of a command?
12729 max_cmd_len=$lt_cv_sys_max_cmd_len
12731 # Does compiler simultaneously support -c and -o options?
12732 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12734 # Must we lock files when doing compilation ?
12735 need_locks=$lt_need_locks
12737 # Do we need the lib prefix for modules?
12738 need_lib_prefix=$need_lib_prefix
12740 # Do we need a version for libraries?
12741 need_version=$need_version
12743 # Whether dlopen is supported.
12744 dlopen_support=$enable_dlopen
12746 # Whether dlopen of programs is supported.
12747 dlopen_self=$enable_dlopen_self
12749 # Whether dlopen of statically linked programs is supported.
12750 dlopen_self_static=$enable_dlopen_self_static
12752 # Compiler flag to prevent dynamic linking.
12753 link_static_flag=$lt_lt_prog_compiler_static_CXX
12755 # Compiler flag to turn off builtin functions.
12756 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12758 # Compiler flag to allow reflexive dlopens.
12759 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12761 # Compiler flag to generate shared objects directly from archives.
12762 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12764 # Compiler flag to generate thread-safe objects.
12765 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12767 # Library versioning type.
12768 version_type=$version_type
12770 # Format of library name prefix.
12771 libname_spec=$lt_libname_spec
12773 # List of archive names. First name is the real one, the rest are links.
12774 # The last name is the one that the linker finds with -lNAME.
12775 library_names_spec=$lt_library_names_spec
12777 # The coded name of the library, if different from the real name.
12778 soname_spec=$lt_soname_spec
12780 # Commands used to build and install an old-style archive.
12782 old_archive_cmds=$lt_old_archive_cmds_CXX
12783 old_postinstall_cmds=$lt_old_postinstall_cmds
12784 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12786 # Create an old-style archive from a shared archive.
12787 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12789 # Create a temporary old-style archive to link instead of a shared archive.
12790 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12792 # Commands used to build and install a shared archive.
12793 archive_cmds=$lt_archive_cmds_CXX
12794 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12795 postinstall_cmds=$lt_postinstall_cmds
12796 postuninstall_cmds=$lt_postuninstall_cmds
12798 # Commands used to build a loadable module (assumed same as above if empty)
12799 module_cmds=$lt_module_cmds_CXX
12800 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12802 # Commands to strip libraries.
12803 old_striplib=$lt_old_striplib
12804 striplib=$lt_striplib
12806 # Dependencies to place before the objects being linked to create a
12808 predep_objects=$lt_predep_objects_CXX
12810 # Dependencies to place after the objects being linked to create a
12812 postdep_objects=$lt_postdep_objects_CXX
12814 # Dependencies to place before the objects being linked to create a
12816 predeps=$lt_predeps_CXX
12818 # Dependencies to place after the objects being linked to create a
12820 postdeps=$lt_postdeps_CXX
12822 # The library search path used internally by the compiler when linking
12823 # a shared library.
12824 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12826 # Method to check whether dependent libraries are shared objects.
12827 deplibs_check_method=$lt_deplibs_check_method
12829 # Command to use when deplibs_check_method == file_magic.
12830 file_magic_cmd=$lt_file_magic_cmd
12832 # Flag that allows shared libraries with undefined symbols to be built.
12833 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12835 # Flag that forces no undefined symbols.
12836 no_undefined_flag=$lt_no_undefined_flag_CXX
12838 # Commands used to finish a libtool library installation in a directory.
12839 finish_cmds=$lt_finish_cmds
12841 # Same as above, but a single script fragment to be evaled but not shown.
12842 finish_eval=$lt_finish_eval
12844 # Take the output of nm and produce a listing of raw symbols and C names.
12845 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12847 # Transform the output of nm in a proper C declaration
12848 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12850 # Transform the output of nm in a C name address pair
12851 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12853 # This is the shared library runtime path variable.
12854 runpath_var=$runpath_var
12856 # This is the shared library path variable.
12857 shlibpath_var=$shlibpath_var
12859 # Is shlibpath searched before the hard-coded library search path?
12860 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12862 # How to hardcode a shared library path into an executable.
12863 hardcode_action=$hardcode_action_CXX
12865 # Whether we should hardcode library paths into libraries.
12866 hardcode_into_libs=$hardcode_into_libs
12868 # Flag to hardcode \$libdir into a binary during linking.
12869 # This must work even if \$libdir does not exist.
12870 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12872 # If ld is used when linking, flag to hardcode \$libdir into
12873 # a binary during linking. This must work even if \$libdir does
12875 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12877 # Whether we need a single -rpath flag with a separated argument.
12878 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12880 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12881 # resulting binary.
12882 hardcode_direct=$hardcode_direct_CXX
12884 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12885 # resulting binary.
12886 hardcode_minus_L=$hardcode_minus_L_CXX
12888 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12889 # the resulting binary.
12890 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12892 # Set to yes if building a shared library automatically hardcodes DIR into the library
12893 # and all subsequent libraries and executables linked against it.
12894 hardcode_automatic=$hardcode_automatic_CXX
12896 # Variables whose values should be saved in libtool wrapper scripts and
12897 # restored at relink time.
12898 variables_saved_for_relink="$variables_saved_for_relink"
12900 # Whether libtool must link a program against all its dependency libraries.
12901 link_all_deplibs=$link_all_deplibs_CXX
12903 # Compile-time system search path for libraries
12904 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12906 # Run-time system search path for libraries
12907 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12909 # Fix the shell variable \$srcfile for the compiler.
12910 fix_srcfile_path="$fix_srcfile_path_CXX"
12912 # Set to yes if exported symbols are required.
12913 always_export_symbols=$always_export_symbols_CXX
12915 # The commands to list exported symbols.
12916 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12918 # The commands to extract the exported symbol list from a shared archive.
12919 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12921 # Symbols that should not be listed in the preloaded symbols.
12922 exclude_expsyms=$lt_exclude_expsyms_CXX
12924 # Symbols that must always be exported.
12925 include_expsyms=$lt_include_expsyms_CXX
12927 # ### END LIBTOOL TAG CONFIG: $tagname
12933 # If there is no Makefile yet, we rely on a make rule to execute
12934 # `config.status --recheck' to rerun these tests and create the
12935 # libtool script then.
12936 test -f Makefile
&& make "$ltmain"
12941 ac_cpp
='$CPP $CPPFLAGS'
12942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12950 with_gnu_ldcxx
=$with_gnu_ld
12951 with_gnu_ld
=$lt_save_with_gnu_ld
12952 lt_cv_path_LDCXX
=$lt_cv_path_LD
12953 lt_cv_path_LD
=$lt_save_path_LD
12954 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
12955 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
12963 if test -n "$F77" && test "X$F77" != "Xno"; then
12966 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12967 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12968 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
12971 archive_cmds_need_lc_F77
=no
12972 allow_undefined_flag_F77
=
12973 always_export_symbols_F77
=no
12974 archive_expsym_cmds_F77
=
12975 export_dynamic_flag_spec_F77
=
12976 hardcode_direct_F77
=no
12977 hardcode_libdir_flag_spec_F77
=
12978 hardcode_libdir_flag_spec_ld_F77
=
12979 hardcode_libdir_separator_F77
=
12980 hardcode_minus_L_F77
=no
12981 hardcode_automatic_F77
=no
12983 module_expsym_cmds_F77
=
12984 link_all_deplibs_F77
=unknown
12985 old_archive_cmds_F77
=$old_archive_cmds
12986 no_undefined_flag_F77
=
12987 whole_archive_flag_spec_F77
=
12988 enable_shared_with_static_runtimes_F77
=no
12990 # Source file extension for f77 test sources.
12993 # Object file extension for compiled f77 test sources.
12997 # Code to be used in simple compile tests
12998 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13000 # Code to be used in simple link tests
13001 lt_simple_link_test_code
=" program t\n end\n"
13003 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13005 # If no C compiler was specified, use CC.
13008 # Allow CC to be a program name with arguments.
13012 # Allow CC to be a program name with arguments.
13017 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13019 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13020 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13021 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13022 echo "${ECHO_T}$can_build_shared" >&6
13024 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13025 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13026 test "$can_build_shared" = "no" && enable_shared
=no
13028 # On AIX, shared libraries and static libraries use the same namespace, and
13029 # are all built from PIC.
13032 test "$enable_shared" = yes && enable_static
=no
13033 if test -n "$RANLIB"; then
13034 archive_cmds
="$archive_cmds\${_S_}\$RANLIB \$lib"
13035 postinstall_cmds
='$RANLIB $lib'
13039 test "$enable_shared" = yes && enable_static
=no
13042 echo "$as_me:$LINENO: result: $enable_shared" >&5
13043 echo "${ECHO_T}$enable_shared" >&6
13045 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13046 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13047 # Make sure either enable_shared or enable_static is yes.
13048 test "$enable_shared" = yes || enable_static
=yes
13049 echo "$as_me:$LINENO: result: $enable_static" >&5
13050 echo "${ECHO_T}$enable_static" >&6
13052 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13057 lt_prog_compiler_wl_F77
=
13058 lt_prog_compiler_pic_F77
=
13059 lt_prog_compiler_static_F77
=
13061 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13062 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13064 if test "$GCC" = yes; then
13065 lt_prog_compiler_wl_F77
='-Wl,'
13066 lt_prog_compiler_static_F77
='-static'
13070 # All AIX code is PIC.
13071 if test "$host_cpu" = ia64
; then
13072 # AIX 5 now supports IA64 processor
13073 lt_prog_compiler_static_F77
='-Bstatic'
13078 # FIXME: we need at least 68020 code to build shared libraries, but
13079 # adding the `-m68020' flag to GCC prevents building anything better,
13081 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13084 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13085 # PIC is the default for these OSes.
13088 mingw
* | pw32
* | os2
*)
13089 # This hack is so that the source file can tell whether it is being
13090 # built for inclusion in a dll (and should export symbols for example).
13091 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13094 darwin
* | rhapsody
*)
13095 # PIC is the default on this platform
13096 # Common symbols not allowed in MH_DYLIB files
13097 lt_prog_compiler_pic_F77
='-fno-common'
13101 # Just because we use GCC doesn't mean we suddenly get shared libraries
13102 # on systems that don't support them.
13103 lt_prog_compiler_can_build_shared_F77
=no
13108 if test -d /usr
/nec
; then
13109 lt_prog_compiler_pic_F77
=-Kconform_pic
13114 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13115 # not for PA HP-UX.
13116 case "$host_cpu" in
13121 lt_prog_compiler_pic_F77
='-fPIC'
13127 lt_prog_compiler_pic_F77
='-fPIC'
13131 # PORTME Check for flag to pass linker flags through the system compiler.
13134 lt_prog_compiler_wl_F77
='-Wl,'
13135 if test "$host_cpu" = ia64
; then
13136 # AIX 5 now supports IA64 processor
13137 lt_prog_compiler_static_F77
='-Bstatic'
13139 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13143 mingw
* | pw32
* | os2
*)
13144 # This hack is so that the source file can tell whether it is being
13145 # built for inclusion in a dll (and should export symbols for example).
13146 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13149 hpux9
* | hpux10
* | hpux11
*)
13150 lt_prog_compiler_wl_F77
='-Wl,'
13151 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13152 # not for PA HP-UX.
13153 case "$host_cpu" in
13158 lt_prog_compiler_pic_F77
='+Z'
13161 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13162 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13165 irix5
* | irix6
* | nonstopux
*)
13166 lt_prog_compiler_wl_F77
='-Wl,'
13167 # PIC (with -KPIC) is the default.
13168 lt_prog_compiler_static_F77
='-non_shared'
13172 lt_prog_compiler_pic_F77
='-KPIC'
13173 lt_prog_compiler_static_F77
='-Bstatic'
13179 lt_prog_compiler_wl_F77
='-Wl,'
13180 lt_prog_compiler_pic_F77
='-KPIC'
13181 lt_prog_compiler_static_F77
='-static'
13184 lt_prog_compiler_wl_F77
='-Wl,'
13185 # All Alpha code is PIC.
13186 lt_prog_compiler_static_F77
='-non_shared'
13191 osf3
* | osf4
* | osf5
*)
13192 lt_prog_compiler_wl_F77
='-Wl,'
13193 # All OSF/1 code is PIC.
13194 lt_prog_compiler_static_F77
='-non_shared'
13198 lt_prog_compiler_pic_F77
='-Kpic'
13199 lt_prog_compiler_static_F77
='-dn'
13203 lt_prog_compiler_wl_F77
='-Wl,'
13204 lt_prog_compiler_pic_F77
='-KPIC'
13205 lt_prog_compiler_static_F77
='-Bstatic'
13209 lt_prog_compiler_wl_F77
='-Qoption ld '
13210 lt_prog_compiler_pic_F77
='-PIC'
13211 lt_prog_compiler_static_F77
='-Bstatic'
13214 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13215 lt_prog_compiler_wl_F77
='-Wl,'
13216 lt_prog_compiler_pic_F77
='-KPIC'
13217 lt_prog_compiler_static_F77
='-Bstatic'
13221 if test -d /usr
/nec
;then
13222 lt_prog_compiler_pic_F77
='-Kconform_pic'
13223 lt_prog_compiler_static_F77
='-Bstatic'
13228 lt_prog_compiler_pic_F77
='-pic'
13229 lt_prog_compiler_static_F77
='-Bstatic'
13233 lt_prog_compiler_can_build_shared_F77
=no
13238 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13239 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13242 # Check to make sure the PIC flag actually works.
13244 if test -n "$lt_prog_compiler_pic_F77"; then
13245 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13246 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13247 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13248 echo $ECHO_N "(cached) $ECHO_C" >&6
13250 lt_prog_compiler_pic_works_F77
=no
13251 ac_outfile
=conftest.
$ac_objext
13252 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13253 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13254 # Insert the option either (1) after the last *FLAGS variable, or
13255 # (2) before a word containing "conftest.", or (3) at the end.
13256 # Note that $ac_compile itself does not contain backslashes and begins
13257 # with a dollar sign (not a hyphen), so the echo should work correctly.
13258 # The option is referenced via a variable to avoid confusing sed.
13259 lt_compile
=`echo "$ac_compile" | $SED \
13260 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13262 -e 's:$: $lt_compiler_flag:'`
13263 (eval echo "\"\$as_me:13212: $lt_compile\"" >&5)
13264 (eval "$lt_compile" 2>conftest.err
)
13266 cat conftest.err
>&5
13267 echo "$as_me:13216: \$? = $ac_status" >&5
13268 if (exit $ac_status) && test -s "$ac_outfile"; then
13269 # The compiler can only warn and ignore the option if not recognized
13270 # So say no if there are warnings
13271 if test ! -s conftest.err
; then
13272 lt_prog_compiler_pic_works_F77
=yes
13278 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13279 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13281 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13282 case $lt_prog_compiler_pic_F77 in
13284 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13287 lt_prog_compiler_pic_F77
=
13288 lt_prog_compiler_can_build_shared_F77
=no
13293 # For platforms which do not support PIC, -DPIC is meaningless:
13295 lt_prog_compiler_pic_F77
=
13298 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13302 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13303 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13304 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13307 lt_cv_prog_compiler_c_o_F77
=no
13308 $rm -r conftest
2>/dev
/null
13312 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13314 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13315 # that will create temporary files in the current directory regardless of
13316 # the output directory. Thus, making CWD read-only will cause this test
13317 # to fail, enabling locking or at least warning the user not to do parallel
13321 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13322 # Insert the option either (1) after the last *FLAGS variable, or
13323 # (2) before a word containing "conftest.", or (3) at the end.
13324 # Note that $ac_compile itself does not contain backslashes and begins
13325 # with a dollar sign (not a hyphen), so the echo should work correctly.
13326 lt_compile
=`echo "$ac_compile" | $SED \
13327 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13328 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13329 -e 's:$: $lt_compiler_flag:'`
13330 (eval echo "\"\$as_me:13279: $lt_compile\"" >&5)
13331 (eval "$lt_compile" 2>out
/conftest.err
)
13333 cat out
/conftest.err
>&5
13334 echo "$as_me:13283: \$? = $ac_status" >&5
13335 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13337 # The compiler can only warn and ignore the option if not recognized
13338 # So say no if there are warnings
13339 if test ! -s out
/conftest.err
; then
13340 lt_cv_prog_compiler_c_o_F77
=yes
13344 $rm conftest
* out
/*
13351 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13352 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13355 hard_links
="nottested"
13356 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13357 # do not overwrite the value of need_locks provided by the user
13358 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13359 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13362 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13364 ln conftest.a conftest.b
2>&5 || hard_links
=no
13365 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13366 echo "$as_me:$LINENO: result: $hard_links" >&5
13367 echo "${ECHO_T}$hard_links" >&6
13368 if test "$hard_links" = no
; then
13369 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13370 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13377 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13378 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13381 allow_undefined_flag_F77
=
13382 enable_shared_with_static_runtimes_F77
=no
13384 archive_expsym_cmds_F77
=
13385 old_archive_From_new_cmds_F77
=
13386 old_archive_from_expsyms_cmds_F77
=
13387 export_dynamic_flag_spec_F77
=
13388 whole_archive_flag_spec_F77
=
13389 thread_safe_flag_spec_F77
=
13390 hardcode_libdir_flag_spec_F77
=
13391 hardcode_libdir_flag_spec_ld_F77
=
13392 hardcode_libdir_separator_F77
=
13393 hardcode_direct_F77
=no
13394 hardcode_minus_L_F77
=no
13395 hardcode_shlibpath_var_F77
=unsupported
13396 link_all_deplibs_F77
=unknown
13397 hardcode_automatic_F77
=no
13399 module_expsym_cmds_F77
=
13400 always_export_symbols_F77
=no
13401 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13402 # include_expsyms should be a list of space-separated symbols to be *always*
13403 # included in the symbol list
13404 include_expsyms_F77
=
13405 # exclude_expsyms can be an extended regexp of symbols to exclude
13406 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13407 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13408 # as well as any symbol that contains `d'.
13409 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13410 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13411 # platforms (ab)use it in PIC code, but their linkers get confused if
13412 # the symbol is explicitly referenced. Since portable code cannot
13413 # rely on this symbol name, it's probably fine to never include it in
13414 # preloaded symbol tables.
13415 extract_expsyms_cmds
=
13418 cygwin
* | mingw
* | pw32
*)
13419 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13420 # When not using gcc, we currently assume that we are using
13421 # Microsoft Visual C++.
13422 if test "$GCC" != yes; then
13432 if test "$with_gnu_ld" = yes; then
13433 # If archive_cmds runs LD, not CC, wlarc should be empty
13436 # See if GNU ld supports shared libraries.
13438 aix3
* | aix4
* | aix5
*)
13439 # On AIX/PPC, the GNU linker is very broken
13440 if test "$host_cpu" != ia64
; then
13444 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13445 *** to be unable to reliably create shared libraries on AIX.
13446 *** Therefore, libtool is disabling shared libraries support. If you
13447 *** really care for shared libraries, you may want to modify your PATH
13448 *** so that a non-GNU linker is found, and then restart.
13455 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)'
13456 hardcode_libdir_flag_spec_F77
='-L$libdir'
13457 hardcode_minus_L_F77
=yes
13459 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13460 # that the semantics of dynamic libraries on AmigaOS, at least up
13461 # to version 4, is to share data among multiple programs linked
13462 # with the same dynamic library. Since this doesn't match the
13463 # behavior of shared libraries on other platforms, we can't use
13469 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13470 allow_undefined_flag_F77
=unsupported
13471 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13472 # support --undefined. This deserves some investigation. FIXME
13473 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13479 cygwin
* | mingw
* | pw32
*)
13480 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13481 # as there is no search path for DLLs.
13482 hardcode_libdir_flag_spec_F77
='-L$libdir'
13483 allow_undefined_flag_F77
=unsupported
13484 always_export_symbols_F77
=no
13485 enable_shared_with_static_runtimes_F77
=yes
13486 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13488 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13489 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13490 # If the export-symbols file already is a .def file (1st line
13491 # is EXPORTS), use it as is; otherwise, prepend...
13492 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13493 cp $export_symbols $output_objdir/$soname.def;
13495 echo EXPORTS > $output_objdir/$soname.def;
13496 cat $export_symbols >> $output_objdir/$soname.def;
13498 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13505 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13506 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13509 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13510 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13515 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13519 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13520 *** create shared libraries on Solaris systems. Therefore, libtool
13521 *** is disabling shared libraries support. We urge you to upgrade GNU
13522 *** binutils to release 2.9.1 or newer. Another option is to modify
13523 *** your PATH or compiler configuration so that the native linker is
13524 *** used, and then restart.
13527 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13528 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13529 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13536 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13538 hardcode_direct_F77
=yes
13539 hardcode_shlibpath_var_F77
=no
13543 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13544 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13545 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13552 if test "$ld_shlibs_F77" = yes; then
13553 runpath_var
=LD_RUN_PATH
13554 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13555 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13556 # ancient GNU ld didn't support --whole-archive et. al.
13557 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13558 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13560 whole_archive_flag_spec_F77
=
13564 # PORTME fill in a description of your system's linker (not GNU ld)
13567 allow_undefined_flag_F77
=unsupported
13568 always_export_symbols_F77
=yes
13569 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE${_S_}$AR $AR_FLAGS $lib $output_objdir/$soname'
13570 # Note: this linker hardcodes the directories in LIBPATH if there
13571 # are no directories specified by -L.
13572 hardcode_minus_L_F77
=yes
13573 if test "$GCC" = yes && test -z "$link_static_flag"; then
13574 # Neither direct hardcoding nor static linking is supported with a
13576 hardcode_direct_F77
=unsupported
13581 if test "$host_cpu" = ia64
; then
13582 # On IA64, the linker does run time linking by default, so we don't
13583 # have to do anything special.
13584 aix_use_runtimelinking
=no
13585 exp_sym_flag
='-Bexport'
13588 # If we're using GNU nm, then we don't want the "-C" option.
13589 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13590 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13591 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13593 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13595 aix_use_runtimelinking
=no
13597 # Test if we are trying to use run time linking or normal
13598 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13599 # need to do runtime linking.
13600 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13601 for ld_flag
in $LDFLAGS; do
13602 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13603 aix_use_runtimelinking
=yes
13609 exp_sym_flag
='-bexport'
13610 no_entry_flag
='-bnoentry'
13613 # When large executables or shared objects are built, AIX ld can
13614 # have problems creating the table of contents. If linking a library
13615 # or program results in "error TOC overflow" add -mminimal-toc to
13616 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13617 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13619 archive_cmds_F77
=''
13620 hardcode_direct_F77
=yes
13621 hardcode_libdir_separator_F77
=':'
13622 link_all_deplibs_F77
=yes
13624 if test "$GCC" = yes; then
13625 case $host_os in aix4.012|aix4.012.
*)
13626 # We only want to do this on AIX 4.2 and lower, the check
13627 # below for broken collect2 doesn't work under 4.3+
13628 collect2name
=`${CC} -print-prog-name=collect2`
13629 if test -f "$collect2name" && \
13630 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13632 # We have reworked collect2
13633 hardcode_direct_F77
=yes
13635 # We have old collect2
13636 hardcode_direct_F77
=unsupported
13637 # It fails to find uninstalled libraries when the uninstalled
13638 # path is not listed in the libpath. Setting hardcode_minus_L
13639 # to unsupported forces relinking
13640 hardcode_minus_L_F77
=yes
13641 hardcode_libdir_flag_spec_F77
='-L$libdir'
13642 hardcode_libdir_separator_F77
=
13645 shared_flag
='-shared'
13648 if test "$host_cpu" = ia64
; then
13649 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13650 # chokes on -Wl,-G. The following line is correct:
13653 if test "$aix_use_runtimelinking" = yes; then
13654 shared_flag
='${wl}-G'
13656 shared_flag
='${wl}-bM:SRE'
13661 # It seems that -bexpall does not export symbols beginning with
13662 # underscore (_), so it is better to generate a list of symbols to export.
13663 always_export_symbols_F77
=yes
13664 if test "$aix_use_runtimelinking" = yes; then
13665 # Warning - without using the other runtime loading flags (-brtl),
13666 # -berok will link without error, but may produce a broken library.
13667 allow_undefined_flag_F77
='-berok'
13668 # Determine the default libpath from the value encoded in an empty executable.
13669 cat >conftest.
$ac_ext <<_ACEOF
13674 rm -f conftest.
$ac_objext conftest
$ac_exeext
13675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13676 (eval $ac_link) 2>&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); } &&
13680 { ac_try
='test -s conftest$ac_exeext'
13681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13682 (eval $ac_try) 2>&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); }; }; then
13687 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13689 # Check for a 64-bit object if we didn't find anything.
13690 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13693 echo "$as_me: failed program was:" >&5
13694 sed 's/^/| /' conftest.
$ac_ext >&5
13697 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13698 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13700 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13701 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13703 if test "$host_cpu" = ia64; then
13704 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
13705 allow_undefined_flag_F77="-z nodefs"
13706 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
13708 # Determine the default libpath from the value encoded in an empty executable.
13709 cat >conftest.$ac_ext <<_ACEOF
13714 rm -f conftest.$ac_objext conftest$ac_exeext
13715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13716 (eval $ac_link) 2>&5
13718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13719 (exit $ac_status); } &&
13720 { ac_try='test -s conftest$ac_exeext'
13721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13722 (eval $ac_try) 2>&5
13724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13725 (exit $ac_status); }; }; then
13727 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13729 # Check for a 64-bit object if we didn't find anything.
13730 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13733 echo "$as_me: failed program was
:" >&5
13734 sed 's/^/| /' conftest.$ac_ext >&5
13737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13738 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
13740 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13741 # Warning - without using the other run time loading flags,
13742 # -berok will link without error, but may produce a broken library.
13743 no_undefined_flag_F77=' ${wl}-bernotok'
13744 allow_undefined_flag_F77=' ${wl}-berok'
13745 # -bexpall does not export symbols beginning with underscore (_)
13746 always_export_symbols_F77=yes
13747 # Exported symbols can be pulled into shared objects from archives
13748 whole_archive_flag_spec_F77=' '
13749 archive_cmds_need_lc_F77=yes
13750 # This is similar to how AIX traditionally builds it's shared libraries.
13751 archive_expsym_cmds_F77="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13757 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)'
13758 hardcode_libdir_flag_spec_F77='-L$libdir'
13759 hardcode_minus_L_F77=yes
13760 # see comment about different semantics on the GNU ld section
13765 export_dynamic_flag_spec_F77=-rdynamic
13768 cygwin* | mingw* | pw32*)
13769 # When not using gcc, we currently assume that we are using
13770 # Microsoft Visual C++.
13771 # hardcode_libdir_flag_spec is actually meaningless, as there is
13772 # no search path for DLLs.
13773 hardcode_libdir_flag_spec_F77=' '
13774 allow_undefined_flag_F77=unsupported
13775 # Tell ltmain to make .lib files, not .a files.
13777 # Tell ltmain to make .dll files, not .so files.
13779 # FIXME: Setting linknames here is a bad hack.
13780 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
13781 # The linker will automatically build a .lib file if we build a DLL.
13782 old_archive_From_new_cmds_F77='true'
13783 # FIXME: Should let the user specify the lib program.
13784 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13785 fix_srcfile_path='`cygpath -w "$srcfile"`'
13786 enable_shared_with_static_runtimes_F77=yes
13789 darwin* | rhapsody*)
13790 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13791 archive_cmds_need_lc_F77=no
13793 rhapsody* | darwin1.[012])
13794 allow_undefined_flag_F77='-undefined suppress'
13796 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0
13797 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13800 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in
13802 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13805 if test -z ${LD_TWOLEVEL_NAMESPACE}; then
13806 allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13808 allow_undefined_flag_F77='-undefined dynamic_lookup'
13814 # FIXME: Relying on posixy $() will cause problems for
13815 # cross-compilation, but unfortunately the echo tests do not
13816 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13817 # `"' quotes if we put them in here... so don't
!
13818 lt_int_apple_cc_single_mod
=no
13819 output_verbose_link_cmd
='echo'
13820 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
13821 lt_int_apple_cc_single_mod
=yes
13823 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
13824 archive_cmds_F77
='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13826 archive_cmds_F77
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13828 module_cmds_F77
='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13829 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13830 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
13831 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13833 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13835 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13836 hardcode_direct_F77
=no
13837 hardcode_automatic_F77
=yes
13838 hardcode_shlibpath_var_F77
=unsupported
13839 whole_archive_flag_spec_F77
='-all_load $convenience'
13840 link_all_deplibs_F77
=yes
13845 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13846 hardcode_libdir_flag_spec_F77
='-L$libdir'
13847 hardcode_shlibpath_var_F77
=no
13854 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13855 # support. Future versions do this automatically, but an explicit c++rt0.o
13856 # does not break anything, and helps significantly (at the cost of a little
13859 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13860 hardcode_libdir_flag_spec_F77
='-R$libdir'
13861 hardcode_direct_F77
=yes
13862 hardcode_shlibpath_var_F77
=no
13865 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13867 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13868 hardcode_direct_F77
=yes
13869 hardcode_minus_L_F77
=yes
13870 hardcode_shlibpath_var_F77
=no
13873 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13875 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13876 hardcode_libdir_flag_spec_F77
='-R$libdir'
13877 hardcode_direct_F77
=yes
13878 hardcode_shlibpath_var_F77
=no
13882 if test "$GCC" = yes; then
13883 archive_cmds_F77
='$rm $output_objdir/$soname${_S_}$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13885 archive_cmds_F77
='$rm $output_objdir/$soname${_S_}$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13887 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
13888 hardcode_libdir_separator_F77
=:
13889 hardcode_direct_F77
=yes
13891 # hardcode_minus_L: Not really in the search PATH,
13892 # but as the default location of the library.
13893 hardcode_minus_L_F77
=yes
13894 export_dynamic_flag_spec_F77
='${wl}-E'
13898 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
13899 case "$host_cpu" in
13901 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13904 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13908 case "$host_cpu" in
13910 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13913 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13917 if test "$with_gnu_ld" = no
; then
13918 case "$host_cpu" in
13920 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
13921 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
13922 hardcode_libdir_separator_F77
=:
13923 hardcode_direct_F77
=no
13924 hardcode_shlibpath_var_F77
=no
13927 hardcode_libdir_flag_spec_F77
='-L$libdir'
13928 hardcode_direct_F77
=no
13929 hardcode_shlibpath_var_F77
=no
13931 # hardcode_minus_L: Not really in the search PATH,
13932 # but as the default location of the library.
13933 hardcode_minus_L_F77
=yes
13936 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
13937 hardcode_libdir_separator_F77
=:
13938 hardcode_direct_F77
=yes
13939 export_dynamic_flag_spec_F77
='${wl}-E'
13941 # hardcode_minus_L: Not really in the search PATH,
13942 # but as the default location of the library.
13943 hardcode_minus_L_F77
=yes
13949 irix5
* | irix6
* | nonstopux
*)
13950 if test "$GCC" = yes; then
13951 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13953 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13954 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
13956 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
13957 hardcode_libdir_separator_F77
=:
13958 link_all_deplibs_F77
=yes
13962 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13963 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13965 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13967 hardcode_libdir_flag_spec_F77
='-R$libdir'
13968 hardcode_direct_F77
=yes
13969 hardcode_shlibpath_var_F77
=no
13973 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13974 hardcode_direct_F77
=yes
13975 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
13976 hardcode_libdir_separator_F77
=:
13977 hardcode_shlibpath_var_F77
=no
13981 hardcode_direct_F77
=yes
13982 hardcode_shlibpath_var_F77
=no
13983 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13984 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13985 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13986 export_dynamic_flag_spec_F77
='${wl}-E'
13989 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13990 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13991 hardcode_libdir_flag_spec_F77
='-R$libdir'
13994 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13995 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14002 hardcode_libdir_flag_spec_F77
='-L$libdir'
14003 hardcode_minus_L_F77
=yes
14004 allow_undefined_flag_F77
=unsupported
14005 archive_cmds_F77
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def${_S_}$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def${_S_}$echo DATA >> $output_objdir/$libname.def${_S_}$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def${_S_}$echo EXPORTS >> $output_objdir/$libname.def${_S_}emxexp $libobjs >> $output_objdir/$libname.def${_S_}$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
14006 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14010 if test "$GCC" = yes; then
14011 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14012 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14014 allow_undefined_flag_F77
=' -expect_unresolved \*'
14015 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14017 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14018 hardcode_libdir_separator_F77
=:
14021 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14022 if test "$GCC" = yes; then
14023 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14024 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14025 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14027 allow_undefined_flag_F77
=' -expect_unresolved \*'
14028 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14029 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp${_S_}
14030 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib${_S_}$rm $lib.exp'
14032 # Both c and cxx compiler support -rpath directly
14033 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14035 hardcode_libdir_separator_F77
=:
14039 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14040 hardcode_shlibpath_var_F77
=no
14041 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14042 runpath_var
=LD_RUN_PATH
14043 hardcode_runpath_var
=yes
14047 no_undefined_flag_F77
=' -z text'
14048 if test "$GCC" = yes; then
14049 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14050 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
14051 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags${_S_}$rm $lib.exp'
14053 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14054 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
14055 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp'
14057 hardcode_libdir_flag_spec_F77
='-R$libdir'
14058 hardcode_shlibpath_var_F77
=no
14060 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14061 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14062 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14064 link_all_deplibs_F77
=yes
14068 if test "x$host_vendor" = xsequent
; then
14069 # Use $CC to link under sequent, because it throws in some extra .o
14070 # files that make .init and .fini sections work.
14071 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14073 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14075 hardcode_libdir_flag_spec_F77
='-L$libdir'
14076 hardcode_direct_F77
=yes
14077 hardcode_minus_L_F77
=yes
14078 hardcode_shlibpath_var_F77
=no
14082 case $host_vendor in
14084 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14085 hardcode_direct_F77
=yes # is this really true???
14088 ## LD is ld it makes a PLAMLIB
14089 ## CC just makes a GrossModule.
14090 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14091 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14092 hardcode_direct_F77
=no
14095 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14096 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14099 runpath_var
='LD_RUN_PATH'
14100 hardcode_shlibpath_var_F77
=no
14104 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14105 hardcode_shlibpath_var_F77
=no
14106 export_dynamic_flag_spec_F77
='-Bexport'
14110 if test -d /usr
/nec
; then
14111 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14112 hardcode_shlibpath_var_F77
=no
14113 runpath_var
=LD_RUN_PATH
14114 hardcode_runpath_var
=yes
14120 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14121 hardcode_direct_F77
=yes
14122 hardcode_minus_L_F77
=no
14123 hardcode_shlibpath_var_F77
=no
14124 hardcode_runpath_var
=yes
14125 runpath_var
=LD_RUN_PATH
14128 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14129 no_undefined_flag_F77
='${wl}-z ${wl}text'
14130 if test "$GCC" = yes; then
14131 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14133 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14135 runpath_var
='LD_RUN_PATH'
14136 hardcode_shlibpath_var_F77
=no
14140 no_undefined_flag_F77
=' -z text'
14141 # $CC -shared without GNU ld will not create a library from C++
14142 # object files and a static libstdc++, better avoid it by now
14143 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14144 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
14145 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp'
14146 hardcode_libdir_flag_spec_F77
=
14147 hardcode_shlibpath_var_F77
=no
14148 runpath_var
='LD_RUN_PATH'
14152 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14153 hardcode_libdir_flag_spec_F77
='-L$libdir'
14154 hardcode_shlibpath_var_F77
=no
14163 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14164 echo "${ECHO_T}$ld_shlibs_F77" >&6
14165 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14167 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14168 if test "$GCC" = yes; then
14169 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14173 # Do we need to explicitly link libc?
14175 case "x$archive_cmds_need_lc_F77" in
14177 # Assume -lc should be added
14178 archive_cmds_need_lc_F77
=yes
14180 if test "$enable_shared" = yes && test "$GCC" = yes; then
14181 case $archive_cmds_F77 in
14183 # FIXME: we may have to deal with multi-command sequences.
14186 # Test whether the compiler implicitly links with -lc since on some
14187 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14188 # to ld, don't add -lc before -lgcc.
14189 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14190 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14192 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14195 (eval $ac_compile) 2>&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); } 2>conftest.err
; then
14201 libobjs
=conftest.
$ac_objext
14203 wl
=$lt_prog_compiler_wl_F77
14209 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14210 allow_undefined_flag_F77
=
14211 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14212 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); }
14217 archive_cmds_need_lc_F77
=no
14219 archive_cmds_need_lc_F77
=yes
14221 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14223 cat conftest.err
1>&5
14226 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14227 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14234 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14235 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14236 hardcode_action_F77
=
14237 if test -n "$hardcode_libdir_flag_spec_F77" || \
14238 test -n "$runpath_var F77" || \
14239 test "X$hardcode_automatic_F77"="Xyes" ; then
14241 # We can hardcode non-existant directories.
14242 if test "$hardcode_direct_F77" != no
&&
14243 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14244 # have to relink, otherwise we might link with an installed library
14245 # when we should be linking with a yet-to-be-installed one
14246 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14247 test "$hardcode_minus_L_F77" != no
; then
14248 # Linking always hardcodes the temporary library directory.
14249 hardcode_action_F77
=relink
14251 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14252 hardcode_action_F77
=immediate
14255 # We cannot hardcode anything, or else we can only hardcode existing
14257 hardcode_action_F77
=unsupported
14259 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14260 echo "${ECHO_T}$hardcode_action_F77" >&6
14262 if test "$hardcode_action_F77" = relink
; then
14263 # Fast installation is not supported
14264 enable_fast_install
=no
14265 elif test "$shlibpath_overrides_runpath" = yes ||
14266 test "$enable_shared" = no
; then
14267 # Fast installation is not necessary
14268 enable_fast_install
=needless
14273 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14274 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14275 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
14276 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14277 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14278 echo "$as_me:$LINENO: result: yes" >&5
14279 echo "${ECHO_T}yes" >&6
14281 # FIXME - insert some real tests, host_os isn't really good enough
14284 if test -n "$STRIP" ; then
14285 striplib
="$STRIP -x"
14286 echo "$as_me:$LINENO: result: yes" >&5
14287 echo "${ECHO_T}yes" >&6
14289 echo "$as_me:$LINENO: result: no" >&5
14290 echo "${ECHO_T}no" >&6
14294 echo "$as_me:$LINENO: result: no" >&5
14295 echo "${ECHO_T}no" >&6
14300 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14301 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14302 library_names_spec
=
14303 libname_spec
='lib$name'
14307 postuninstall_cmds
=
14311 shlibpath_overrides_runpath
=unknown
14313 dynamic_linker
="$host_os ld.so"
14314 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14315 if test "$GCC" = yes; then
14316 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14317 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14318 # if the path contains ";" then we assume it to be the separator
14319 # otherwise default to the standard path separator (i.e. ":") - it is
14320 # assumed that no part of a normal pathname contains ";" but that should
14321 # okay in the real world where ";" in dirpaths is itself problematic.
14322 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14324 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14327 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14329 need_lib_prefix
=unknown
14330 hardcode_into_libs
=no
14332 # when you set need_version to no, make sure it does not cause -set_version
14333 # flags to be left without arguments
14334 need_version
=unknown
14339 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14340 shlibpath_var
=LIBPATH
14342 # AIX 3 has no versioning support, so we append a major version to the name.
14343 soname_spec
='${libname}${release}${shared_ext}$major'
14350 hardcode_into_libs
=yes
14351 if test "$host_cpu" = ia64
; then
14352 # AIX 5 supports IA64
14353 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14354 shlibpath_var
=LD_LIBRARY_PATH
14356 # With GCC up to 2.95.x, collect2 would create an import file
14357 # for dependence libraries. The import file would start with
14358 # the line `#! .'. This would cause the generated library to
14359 # depend on `.', always an invalid library. This was fixed in
14360 # development snapshots of GCC prior to 3.0.
14362 aix4 | aix4.
[01] | aix4.
[01].
*)
14363 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14365 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14368 can_build_shared
=no
14372 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14373 # soname into executable. Probably we can add versioning support to
14374 # collect2, so additional links can be useful in future.
14375 if test "$aix_use_runtimelinking" = yes; then
14376 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14377 # instead of lib<name>.a to let people know that these are not
14378 # typical AIX shared libraries.
14379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14381 # We preserve .a as extension for shared libraries through AIX4.2
14382 # and later when we are not doing run time linking.
14383 library_names_spec
='${libname}${release}.a $libname.a'
14384 soname_spec
='${libname}${release}${shared_ext}$major'
14386 shlibpath_var
=LIBPATH
14391 library_names_spec
='$libname.ixlibrary $libname.a'
14392 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14393 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'
14397 library_names_spec
='${libname}${shared_ext}'
14398 dynamic_linker
="$host_os ld.so"
14399 shlibpath_var
=LIBRARY_PATH
14405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14406 soname_spec
='${libname}${release}${shared_ext}$major'
14407 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14408 shlibpath_var
=LD_LIBRARY_PATH
14409 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14410 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14411 # the default ld.so.conf also contains /usr/contrib/lib and
14412 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14413 # libtool to hard-code these into programs
14416 cygwin
* | mingw
* | pw32
*)
14417 version_type
=windows
14422 case $GCC,$host_os in
14423 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14424 library_names_spec
='$libname.dll.a'
14425 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14426 postinstall_cmds
='base_file=`basename \${file}`${_S_}
14427 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_}
14428 dldir=$destdir/`dirname \$dlpath`${_S_}
14429 test -d \$dldir || mkdir -p \$dldir${_S_}
14430 $install_prog $dir/$dlname \$dldir/$dlname'
14431 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_}
14432 dlpath=$dir/\$dldll${_S_}
14434 shlibpath_overrides_runpath
=yes
14438 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14439 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14440 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
14443 # MinGW DLLs use traditional 'lib' prefix
14444 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14445 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14446 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14447 # It is most probably a Windows format PATH printed by
14448 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14449 # path with ; separators, and with drive letters. We can handle the
14450 # drive letters (cygwin fileutils understands them), so leave them,
14451 # especially as we might pass files found there to a mingw objdump,
14452 # which wouldn't understand a cygwinified path. Ahh.
14453 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14455 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14459 # pw32 DLLs use 'pw' prefix rather than 'lib'
14460 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14466 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14469 dynamic_linker
='Win32 ld.exe'
14470 # FIXME: first we should search . and the directory the executable is in
14474 darwin
* | rhapsody
*)
14475 dynamic_linker
="$host_os dyld"
14476 version_type
=darwin
14479 # FIXME: Relying on posixy $() will cause problems for
14480 # cross-compilation, but unfortunately the echo tests do not
14481 # yet detect zsh echo's removal of \ escapes.
14482 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext'
14483 soname_spec
='${libname}${release}${major}$shared_ext'
14484 shlibpath_overrides_runpath
=yes
14485 shlibpath_var
=DYLD_LIBRARY_PATH
14486 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
14487 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14488 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
14489 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14491 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14499 soname_spec
='${libname}${release}${shared_ext}$major'
14500 shlibpath_var
=LD_LIBRARY_PATH
14508 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14509 version_type
=freebsd-
$objformat
14510 case $version_type in
14512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14517 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14521 shlibpath_var
=LD_LIBRARY_PATH
14524 shlibpath_overrides_runpath
=yes
14526 freebsd3.01
* | freebsdelf3.01
*)
14527 shlibpath_overrides_runpath
=yes
14528 hardcode_into_libs
=yes
14531 shlibpath_overrides_runpath
=no
14532 hardcode_into_libs
=yes
14541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14542 soname_spec
='${libname}${release}${shared_ext}$major'
14543 shlibpath_var
=LD_LIBRARY_PATH
14544 hardcode_into_libs
=yes
14547 hpux9
* | hpux10
* | hpux11
*)
14548 # Give a soname corresponding to the major version so that dld.sl refuses to
14549 # link against other versions.
14553 case "$host_cpu" in
14556 hardcode_into_libs
=yes
14557 dynamic_linker
="$host_os dld.so"
14558 shlibpath_var
=LD_LIBRARY_PATH
14559 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561 soname_spec
='${libname}${release}${shared_ext}$major'
14562 if test "X$HPUX_IA64_MODE" = X32
; then
14563 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14565 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14567 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14571 hardcode_into_libs
=yes
14572 dynamic_linker
="$host_os dld.sl"
14573 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14574 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14576 soname_spec
='${libname}${release}${shared_ext}$major'
14577 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14578 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14582 dynamic_linker
="$host_os dld.sl"
14583 shlibpath_var
=SHLIB_PATH
14584 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14586 soname_spec
='${libname}${release}${shared_ext}$major'
14589 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14590 postinstall_cmds
='chmod 555 $lib'
14593 irix5
* | irix6
* | nonstopux
*)
14595 nonstopux
*) version_type
=nonstopux
;;
14597 if test "$lt_cv_prog_gnu_ld" = yes; then
14605 soname_spec
='${libname}${release}${shared_ext}$major'
14606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14608 irix5
* | nonstopux
*)
14609 libsuff
= shlibsuff
=
14612 case $LD in # libtool.m4 will add one of these switches to LD
14613 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14614 libsuff
= shlibsuff
= libmagic
=32-bit;;
14615 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14616 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14617 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14618 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14619 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14623 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14624 shlibpath_overrides_runpath
=no
14625 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14626 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14627 hardcode_into_libs
=yes
14630 # No shared lib support for Linux oldld, aout, or coff.
14631 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14635 # This must be Linux ELF.
14640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14641 soname_spec
='${libname}${release}${shared_ext}$major'
14642 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14643 shlibpath_var
=LD_LIBRARY_PATH
14644 shlibpath_overrides_runpath
=no
14645 # This implies no fast_install, which is unacceptable.
14646 # Some rework will be needed to allow for fast_install
14647 # before this can be enabled.
14648 hardcode_into_libs
=yes
14650 # We used to test for /lib/ld.so.1 and disable shared libraries on
14651 # powerpc, because MkLinux only supported shared libraries with the
14652 # GNU dynamic linker. Since this was broken with cross compilers,
14653 # most powerpc-linux boxes support dynamic linking these days and
14654 # people can always --disable-shared, the test was removed, and we
14655 # assume the GNU/Linux dynamic linker is in use.
14656 dynamic_linker
='GNU/Linux ld.so'
14663 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14665 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14666 dynamic_linker
='NetBSD (a.out) ld.so'
14668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14669 soname_spec
='${libname}${release}${shared_ext}$major'
14670 dynamic_linker
='NetBSD ld.elf_so'
14672 shlibpath_var
=LD_LIBRARY_PATH
14673 shlibpath_overrides_runpath
=yes
14674 hardcode_into_libs
=yes
14679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14680 shlibpath_var
=LD_LIBRARY_PATH
14681 shlibpath_overrides_runpath
=yes
14688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14689 soname_spec
='${libname}${release}${shared_ext}$major'
14690 shlibpath_var
=LD_LIBRARY_PATH
14691 shlibpath_overrides_runpath
=yes
14698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14699 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14700 shlibpath_var
=LD_LIBRARY_PATH
14701 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14703 openbsd2.
[89] | openbsd2.
[89].
*)
14704 shlibpath_overrides_runpath
=no
14707 shlibpath_overrides_runpath
=yes
14711 shlibpath_overrides_runpath
=yes
14716 libname_spec
='$name'
14719 library_names_spec
='$libname${shared_ext} $libname.a'
14720 dynamic_linker
='OS/2 ld.exe'
14721 shlibpath_var
=LIBPATH
14724 osf3
* | osf4
* | osf5
*)
14728 soname_spec
='${libname}${release}${shared_ext}$major'
14729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14730 shlibpath_var
=LD_LIBRARY_PATH
14731 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14732 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14737 soname_spec
='${libname}${release}${shared_ext}$major'
14738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14739 shlibpath_var
=LD_LIBRARY_PATH
14746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14747 soname_spec
='${libname}${release}${shared_ext}$major'
14748 shlibpath_var
=LD_LIBRARY_PATH
14749 shlibpath_overrides_runpath
=yes
14750 hardcode_into_libs
=yes
14751 # ldd complains unless libraries are executable
14752 postinstall_cmds
='chmod +x $lib'
14757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14758 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14759 shlibpath_var
=LD_LIBRARY_PATH
14760 shlibpath_overrides_runpath
=yes
14761 if test "$with_gnu_ld" = yes; then
14767 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14770 soname_spec
='${libname}${release}${shared_ext}$major'
14771 shlibpath_var
=LD_LIBRARY_PATH
14772 case $host_vendor in
14774 shlibpath_overrides_runpath
=no
14776 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14777 runpath_var
=LD_RUN_PATH
14785 shlibpath_overrides_runpath
=no
14786 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14792 if test -d /usr
/nec
;then
14794 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14795 soname_spec
='$libname${shared_ext}.$major'
14796 shlibpath_var
=LD_LIBRARY_PATH
14802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14803 soname_spec
='${libname}${release}${shared_ext}$major'
14804 shlibpath_var
=LD_LIBRARY_PATH
14811 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14812 echo "${ECHO_T}$dynamic_linker" >&6
14813 test "$dynamic_linker" = no
&& can_build_shared
=no
14816 # The else clause should only fire when bootstrapping the
14817 # libtool distribution, otherwise you forgot to ship ltmain.sh
14818 # with your package, and you will get complaints that there are
14819 # no rules to generate ltmain.sh.
14820 if test -f "$ltmain"; then
14821 # See if we are running on zsh, and set the options which allow our commands through
14822 # without removal of \ escapes.
14823 if test -n "${ZSH_VERSION+set}" ; then
14824 setopt NO_GLOB_SUBST
14826 # Now quote all the things that may contain metacharacters while being
14827 # careful not to overquote the AC_SUBSTed values. We take copies of the
14828 # variables and quote the copies for generation of the libtool script.
14829 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14830 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14831 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14832 deplibs_check_method reload_flag reload_cmds need_locks \
14833 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14834 lt_cv_sys_global_symbol_to_c_name_address \
14835 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14836 old_postinstall_cmds old_postuninstall_cmds \
14840 lt_prog_compiler_wl_F77 \
14841 lt_prog_compiler_pic_F77 \
14842 lt_prog_compiler_static_F77 \
14843 lt_prog_compiler_no_builtin_flag_F77 \
14844 export_dynamic_flag_spec_F77 \
14845 thread_safe_flag_spec_F77 \
14846 whole_archive_flag_spec_F77 \
14847 enable_shared_with_static_runtimes_F77 \
14848 old_archive_cmds_F77 \
14849 old_archive_from_new_cmds_F77 \
14850 predep_objects_F77 \
14851 postdep_objects_F77 \
14854 compiler_lib_search_path_F77 \
14856 archive_expsym_cmds_F77 \
14857 postinstall_cmds_F77 \
14858 postuninstall_cmds_F77 \
14859 old_archive_from_expsyms_cmds_F77 \
14860 allow_undefined_flag_F77 \
14861 no_undefined_flag_F77 \
14862 export_symbols_cmds_F77 \
14863 hardcode_libdir_flag_spec_F77 \
14864 hardcode_libdir_flag_spec_ld_F77 \
14865 hardcode_libdir_separator_F77 \
14866 hardcode_automatic_F77 \
14868 module_expsym_cmds_F77 \
14869 lt_cv_prog_compiler_c_o_F77 \
14870 exclude_expsyms_F77 \
14871 include_expsyms_F77
; do
14874 old_archive_cmds_F77 | \
14875 old_archive_from_new_cmds_F77 | \
14876 archive_cmds_F77 | \
14877 archive_expsym_cmds_F77 | \
14878 module_cmds_F77 | \
14879 module_expsym_cmds_F77 | \
14880 old_archive_from_expsyms_cmds_F77 | \
14881 export_symbols_cmds_F77 | \
14882 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14883 postinstall_cmds | postuninstall_cmds | \
14884 old_postinstall_cmds | old_postuninstall_cmds | \
14885 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14886 # Double-quote double-evaled strings.
14887 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\""
14890 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14896 *'\$0 --fallback-echo"')
14897 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14903 cat <<__EOF__ >> "$cfgfile"
14904 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14906 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14908 # Set the command separator (default: ~)
14909 _S_=\${LIBTOOL_CMD_SEP-\~}
14911 # Shell to use when invoking shell scripts.
14914 # Whether or not to build shared libraries.
14915 build_libtool_libs=$enable_shared
14917 # Whether or not to build static libraries.
14918 build_old_libs=$enable_static
14920 # Whether or not to add -lc for building shared libraries.
14921 build_libtool_need_lc=$archive_cmds_need_lc_F77
14923 # Whether or not to disallow shared libs when runtime libs are static
14924 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14926 # Whether or not to optimize for fast installation.
14927 fast_install=$enable_fast_install
14930 host_alias=$host_alias
14933 # An echo program that does not interpret backslashes.
14938 AR_FLAGS=$lt_AR_FLAGS
14943 # A language-specific compiler.
14944 CC=$lt_compiler_F77
14946 # Is the compiler the GNU C compiler?
14952 # The linker used to build libraries.
14955 # Whether we need hard or soft links.
14958 # A BSD-compatible nm program.
14961 # A symbol stripping program
14964 # Used to examine libraries when file_magic_cmd begins "file"
14965 MAGIC_CMD=$MAGIC_CMD
14967 # Used on cygwin: DLL creation program.
14970 # Used on cygwin: object dumper.
14973 # Used on cygwin: assembler.
14976 # The name of the directory that contains temporary libtool files.
14979 # How to create reloadable object files.
14980 reload_flag=$lt_reload_flag
14981 reload_cmds=$lt_reload_cmds
14983 # How to pass a linker flag through the compiler.
14984 wl=$lt_lt_prog_compiler_wl_F77
14986 # Object file suffix (normally "o").
14987 objext="$ac_objext"
14989 # Old archive suffix (normally "a").
14992 # Shared library suffix (normally ".so").
14995 # Executable file suffix (normally "").
14998 # Additional compiler flags for building library objects.
14999 pic_flag=$lt_lt_prog_compiler_pic_F77
15002 # What is the maximum length of a command?
15003 max_cmd_len=$lt_cv_sys_max_cmd_len
15005 # Does compiler simultaneously support -c and -o options?
15006 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15008 # Must we lock files when doing compilation ?
15009 need_locks=$lt_need_locks
15011 # Do we need the lib prefix for modules?
15012 need_lib_prefix=$need_lib_prefix
15014 # Do we need a version for libraries?
15015 need_version=$need_version
15017 # Whether dlopen is supported.
15018 dlopen_support=$enable_dlopen
15020 # Whether dlopen of programs is supported.
15021 dlopen_self=$enable_dlopen_self
15023 # Whether dlopen of statically linked programs is supported.
15024 dlopen_self_static=$enable_dlopen_self_static
15026 # Compiler flag to prevent dynamic linking.
15027 link_static_flag=$lt_lt_prog_compiler_static_F77
15029 # Compiler flag to turn off builtin functions.
15030 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15032 # Compiler flag to allow reflexive dlopens.
15033 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15035 # Compiler flag to generate shared objects directly from archives.
15036 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15038 # Compiler flag to generate thread-safe objects.
15039 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15041 # Library versioning type.
15042 version_type=$version_type
15044 # Format of library name prefix.
15045 libname_spec=$lt_libname_spec
15047 # List of archive names. First name is the real one, the rest are links.
15048 # The last name is the one that the linker finds with -lNAME.
15049 library_names_spec=$lt_library_names_spec
15051 # The coded name of the library, if different from the real name.
15052 soname_spec=$lt_soname_spec
15054 # Commands used to build and install an old-style archive.
15056 old_archive_cmds=$lt_old_archive_cmds_F77
15057 old_postinstall_cmds=$lt_old_postinstall_cmds
15058 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15060 # Create an old-style archive from a shared archive.
15061 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15063 # Create a temporary old-style archive to link instead of a shared archive.
15064 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15066 # Commands used to build and install a shared archive.
15067 archive_cmds=$lt_archive_cmds_F77
15068 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15069 postinstall_cmds=$lt_postinstall_cmds
15070 postuninstall_cmds=$lt_postuninstall_cmds
15072 # Commands used to build a loadable module (assumed same as above if empty)
15073 module_cmds=$lt_module_cmds_F77
15074 module_expsym_cmds=$lt_module_expsym_cmds_F77
15076 # Commands to strip libraries.
15077 old_striplib=$lt_old_striplib
15078 striplib=$lt_striplib
15080 # Dependencies to place before the objects being linked to create a
15082 predep_objects=$lt_predep_objects_F77
15084 # Dependencies to place after the objects being linked to create a
15086 postdep_objects=$lt_postdep_objects_F77
15088 # Dependencies to place before the objects being linked to create a
15090 predeps=$lt_predeps_F77
15092 # Dependencies to place after the objects being linked to create a
15094 postdeps=$lt_postdeps_F77
15096 # The library search path used internally by the compiler when linking
15097 # a shared library.
15098 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15100 # Method to check whether dependent libraries are shared objects.
15101 deplibs_check_method=$lt_deplibs_check_method
15103 # Command to use when deplibs_check_method == file_magic.
15104 file_magic_cmd=$lt_file_magic_cmd
15106 # Flag that allows shared libraries with undefined symbols to be built.
15107 allow_undefined_flag=$lt_allow_undefined_flag_F77
15109 # Flag that forces no undefined symbols.
15110 no_undefined_flag=$lt_no_undefined_flag_F77
15112 # Commands used to finish a libtool library installation in a directory.
15113 finish_cmds=$lt_finish_cmds
15115 # Same as above, but a single script fragment to be evaled but not shown.
15116 finish_eval=$lt_finish_eval
15118 # Take the output of nm and produce a listing of raw symbols and C names.
15119 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15121 # Transform the output of nm in a proper C declaration
15122 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15124 # Transform the output of nm in a C name address pair
15125 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15127 # This is the shared library runtime path variable.
15128 runpath_var=$runpath_var
15130 # This is the shared library path variable.
15131 shlibpath_var=$shlibpath_var
15133 # Is shlibpath searched before the hard-coded library search path?
15134 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15136 # How to hardcode a shared library path into an executable.
15137 hardcode_action=$hardcode_action_F77
15139 # Whether we should hardcode library paths into libraries.
15140 hardcode_into_libs=$hardcode_into_libs
15142 # Flag to hardcode \$libdir into a binary during linking.
15143 # This must work even if \$libdir does not exist.
15144 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15146 # If ld is used when linking, flag to hardcode \$libdir into
15147 # a binary during linking. This must work even if \$libdir does
15149 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15151 # Whether we need a single -rpath flag with a separated argument.
15152 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15154 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15155 # resulting binary.
15156 hardcode_direct=$hardcode_direct_F77
15158 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15159 # resulting binary.
15160 hardcode_minus_L=$hardcode_minus_L_F77
15162 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15163 # the resulting binary.
15164 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15166 # Set to yes if building a shared library automatically hardcodes DIR into the library
15167 # and all subsequent libraries and executables linked against it.
15168 hardcode_automatic=$hardcode_automatic_F77
15170 # Variables whose values should be saved in libtool wrapper scripts and
15171 # restored at relink time.
15172 variables_saved_for_relink="$variables_saved_for_relink"
15174 # Whether libtool must link a program against all its dependency libraries.
15175 link_all_deplibs=$link_all_deplibs_F77
15177 # Compile-time system search path for libraries
15178 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15180 # Run-time system search path for libraries
15181 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15183 # Fix the shell variable \$srcfile for the compiler.
15184 fix_srcfile_path="$fix_srcfile_path_F77"
15186 # Set to yes if exported symbols are required.
15187 always_export_symbols=$always_export_symbols_F77
15189 # The commands to list exported symbols.
15190 export_symbols_cmds=$lt_export_symbols_cmds_F77
15192 # The commands to extract the exported symbol list from a shared archive.
15193 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15195 # Symbols that should not be listed in the preloaded symbols.
15196 exclude_expsyms=$lt_exclude_expsyms_F77
15198 # Symbols that must always be exported.
15199 include_expsyms=$lt_include_expsyms_F77
15201 # ### END LIBTOOL TAG CONFIG: $tagname
15207 # If there is no Makefile yet, we rely on a make rule to execute
15208 # `config.status --recheck' to rerun these tests and create the
15209 # libtool script then.
15210 test -f Makefile
&& make "$ltmain"
15215 ac_cpp
='$CPP $CPPFLAGS'
15216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15228 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15232 # Source file extension for Java test sources.
15235 # Object file extension for compiled Java test sources.
15239 # Code to be used in simple compile tests
15240 lt_simple_compile_test_code
="class foo {}\n"
15242 # Code to be used in simple link tests
15243 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
15245 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15247 # If no C compiler was specified, use CC.
15250 # Allow CC to be a program name with arguments.
15254 # Allow CC to be a program name with arguments.
15260 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15261 archive_cmds_need_lc_GCJ
=no
15264 lt_prog_compiler_no_builtin_flag_GCJ
=
15266 if test "$GCC" = yes; then
15267 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15269 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15270 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15271 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15272 echo $ECHO_N "(cached) $ECHO_C" >&6
15274 lt_cv_prog_compiler_rtti_exceptions
=no
15275 ac_outfile
=conftest.
$ac_objext
15276 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15277 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15278 # Insert the option either (1) after the last *FLAGS variable, or
15279 # (2) before a word containing "conftest.", or (3) at the end.
15280 # Note that $ac_compile itself does not contain backslashes and begins
15281 # with a dollar sign (not a hyphen), so the echo should work correctly.
15282 # The option is referenced via a variable to avoid confusing sed.
15283 lt_compile
=`echo "$ac_compile" | $SED \
15284 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15285 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15286 -e 's:$: $lt_compiler_flag:'`
15287 (eval echo "\"\$as_me:15219: $lt_compile\"" >&5)
15288 (eval "$lt_compile" 2>conftest.err
)
15290 cat conftest.err
>&5
15291 echo "$as_me:15223: \$? = $ac_status" >&5
15292 if (exit $ac_status) && test -s "$ac_outfile"; then
15293 # The compiler can only warn and ignore the option if not recognized
15294 # So say no if there are warnings
15295 if test ! -s conftest.err
; then
15296 lt_cv_prog_compiler_rtti_exceptions
=yes
15302 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15303 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15305 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15306 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15313 lt_prog_compiler_wl_GCJ
=
15314 lt_prog_compiler_pic_GCJ
=
15315 lt_prog_compiler_static_GCJ
=
15317 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15318 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15320 if test "$GCC" = yes; then
15321 lt_prog_compiler_wl_GCJ
='-Wl,'
15322 lt_prog_compiler_static_GCJ
='-static'
15326 # All AIX code is PIC.
15327 if test "$host_cpu" = ia64
; then
15328 # AIX 5 now supports IA64 processor
15329 lt_prog_compiler_static_GCJ
='-Bstatic'
15334 # FIXME: we need at least 68020 code to build shared libraries, but
15335 # adding the `-m68020' flag to GCC prevents building anything better,
15337 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15340 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15341 # PIC is the default for these OSes.
15344 mingw
* | pw32
* | os2
*)
15345 # This hack is so that the source file can tell whether it is being
15346 # built for inclusion in a dll (and should export symbols for example).
15347 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15350 darwin
* | rhapsody
*)
15351 # PIC is the default on this platform
15352 # Common symbols not allowed in MH_DYLIB files
15353 lt_prog_compiler_pic_GCJ
='-fno-common'
15357 # Just because we use GCC doesn't mean we suddenly get shared libraries
15358 # on systems that don't support them.
15359 lt_prog_compiler_can_build_shared_GCJ
=no
15364 if test -d /usr
/nec
; then
15365 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15370 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15371 # not for PA HP-UX.
15372 case "$host_cpu" in
15377 lt_prog_compiler_pic_GCJ
='-fPIC'
15383 lt_prog_compiler_pic_GCJ
='-fPIC'
15387 # PORTME Check for flag to pass linker flags through the system compiler.
15390 lt_prog_compiler_wl_GCJ
='-Wl,'
15391 if test "$host_cpu" = ia64
; then
15392 # AIX 5 now supports IA64 processor
15393 lt_prog_compiler_static_GCJ
='-Bstatic'
15395 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15399 mingw
* | pw32
* | os2
*)
15400 # This hack is so that the source file can tell whether it is being
15401 # built for inclusion in a dll (and should export symbols for example).
15402 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15405 hpux9
* | hpux10
* | hpux11
*)
15406 lt_prog_compiler_wl_GCJ
='-Wl,'
15407 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15408 # not for PA HP-UX.
15409 case "$host_cpu" in
15414 lt_prog_compiler_pic_GCJ
='+Z'
15417 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15418 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15421 irix5
* | irix6
* | nonstopux
*)
15422 lt_prog_compiler_wl_GCJ
='-Wl,'
15423 # PIC (with -KPIC) is the default.
15424 lt_prog_compiler_static_GCJ
='-non_shared'
15428 lt_prog_compiler_pic_GCJ
='-KPIC'
15429 lt_prog_compiler_static_GCJ
='-Bstatic'
15435 lt_prog_compiler_wl_GCJ
='-Wl,'
15436 lt_prog_compiler_pic_GCJ
='-KPIC'
15437 lt_prog_compiler_static_GCJ
='-static'
15440 lt_prog_compiler_wl_GCJ
='-Wl,'
15441 # All Alpha code is PIC.
15442 lt_prog_compiler_static_GCJ
='-non_shared'
15447 osf3
* | osf4
* | osf5
*)
15448 lt_prog_compiler_wl_GCJ
='-Wl,'
15449 # All OSF/1 code is PIC.
15450 lt_prog_compiler_static_GCJ
='-non_shared'
15454 lt_prog_compiler_pic_GCJ
='-Kpic'
15455 lt_prog_compiler_static_GCJ
='-dn'
15459 lt_prog_compiler_wl_GCJ
='-Wl,'
15460 lt_prog_compiler_pic_GCJ
='-KPIC'
15461 lt_prog_compiler_static_GCJ
='-Bstatic'
15465 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15466 lt_prog_compiler_pic_GCJ
='-PIC'
15467 lt_prog_compiler_static_GCJ
='-Bstatic'
15470 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15471 lt_prog_compiler_wl_GCJ
='-Wl,'
15472 lt_prog_compiler_pic_GCJ
='-KPIC'
15473 lt_prog_compiler_static_GCJ
='-Bstatic'
15477 if test -d /usr
/nec
;then
15478 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15479 lt_prog_compiler_static_GCJ
='-Bstatic'
15484 lt_prog_compiler_pic_GCJ
='-pic'
15485 lt_prog_compiler_static_GCJ
='-Bstatic'
15489 lt_prog_compiler_can_build_shared_GCJ
=no
15494 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15495 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15498 # Check to make sure the PIC flag actually works.
15500 if test -n "$lt_prog_compiler_pic_GCJ"; then
15501 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15502 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15503 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15504 echo $ECHO_N "(cached) $ECHO_C" >&6
15506 lt_prog_compiler_pic_works_GCJ
=no
15507 ac_outfile
=conftest.
$ac_objext
15508 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15509 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15510 # Insert the option either (1) after the last *FLAGS variable, or
15511 # (2) before a word containing "conftest.", or (3) at the end.
15512 # Note that $ac_compile itself does not contain backslashes and begins
15513 # with a dollar sign (not a hyphen), so the echo should work correctly.
15514 # The option is referenced via a variable to avoid confusing sed.
15515 lt_compile
=`echo "$ac_compile" | $SED \
15516 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15517 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15518 -e 's:$: $lt_compiler_flag:'`
15519 (eval echo "\"\$as_me:15451: $lt_compile\"" >&5)
15520 (eval "$lt_compile" 2>conftest.err
)
15522 cat conftest.err
>&5
15523 echo "$as_me:15455: \$? = $ac_status" >&5
15524 if (exit $ac_status) && test -s "$ac_outfile"; then
15525 # The compiler can only warn and ignore the option if not recognized
15526 # So say no if there are warnings
15527 if test ! -s conftest.err
; then
15528 lt_prog_compiler_pic_works_GCJ
=yes
15534 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15535 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15537 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15538 case $lt_prog_compiler_pic_GCJ in
15540 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15543 lt_prog_compiler_pic_GCJ
=
15544 lt_prog_compiler_can_build_shared_GCJ
=no
15549 # For platforms which do not support PIC, -DPIC is meaningless:
15551 lt_prog_compiler_pic_GCJ
=
15554 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15558 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15559 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15560 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15561 echo $ECHO_N "(cached) $ECHO_C" >&6
15563 lt_cv_prog_compiler_c_o_GCJ
=no
15564 $rm -r conftest
2>/dev
/null
15568 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15570 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15571 # that will create temporary files in the current directory regardless of
15572 # the output directory. Thus, making CWD read-only will cause this test
15573 # to fail, enabling locking or at least warning the user not to do parallel
15577 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15578 # Insert the option either (1) after the last *FLAGS variable, or
15579 # (2) before a word containing "conftest.", or (3) at the end.
15580 # Note that $ac_compile itself does not contain backslashes and begins
15581 # with a dollar sign (not a hyphen), so the echo should work correctly.
15582 lt_compile
=`echo "$ac_compile" | $SED \
15583 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15585 -e 's:$: $lt_compiler_flag:'`
15586 (eval echo "\"\$as_me:15518: $lt_compile\"" >&5)
15587 (eval "$lt_compile" 2>out
/conftest.err
)
15589 cat out
/conftest.err
>&5
15590 echo "$as_me:15522: \$? = $ac_status" >&5
15591 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15593 # The compiler can only warn and ignore the option if not recognized
15594 # So say no if there are warnings
15595 if test ! -s out
/conftest.err
; then
15596 lt_cv_prog_compiler_c_o_GCJ
=yes
15600 $rm conftest
* out
/*
15607 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15608 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15611 hard_links
="nottested"
15612 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
15613 # do not overwrite the value of need_locks provided by the user
15614 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15615 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15618 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15620 ln conftest.a conftest.b
2>&5 || hard_links
=no
15621 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15622 echo "$as_me:$LINENO: result: $hard_links" >&5
15623 echo "${ECHO_T}$hard_links" >&6
15624 if test "$hard_links" = no
; then
15625 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15626 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15633 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15634 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15637 allow_undefined_flag_GCJ
=
15638 enable_shared_with_static_runtimes_GCJ
=no
15640 archive_expsym_cmds_GCJ
=
15641 old_archive_From_new_cmds_GCJ
=
15642 old_archive_from_expsyms_cmds_GCJ
=
15643 export_dynamic_flag_spec_GCJ
=
15644 whole_archive_flag_spec_GCJ
=
15645 thread_safe_flag_spec_GCJ
=
15646 hardcode_libdir_flag_spec_GCJ
=
15647 hardcode_libdir_flag_spec_ld_GCJ
=
15648 hardcode_libdir_separator_GCJ
=
15649 hardcode_direct_GCJ
=no
15650 hardcode_minus_L_GCJ
=no
15651 hardcode_shlibpath_var_GCJ
=unsupported
15652 link_all_deplibs_GCJ
=unknown
15653 hardcode_automatic_GCJ
=no
15655 module_expsym_cmds_GCJ
=
15656 always_export_symbols_GCJ
=no
15657 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15658 # include_expsyms should be a list of space-separated symbols to be *always*
15659 # included in the symbol list
15660 include_expsyms_GCJ
=
15661 # exclude_expsyms can be an extended regexp of symbols to exclude
15662 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15663 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15664 # as well as any symbol that contains `d'.
15665 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
15666 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15667 # platforms (ab)use it in PIC code, but their linkers get confused if
15668 # the symbol is explicitly referenced. Since portable code cannot
15669 # rely on this symbol name, it's probably fine to never include it in
15670 # preloaded symbol tables.
15671 extract_expsyms_cmds
=
15674 cygwin
* | mingw
* | pw32
*)
15675 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15676 # When not using gcc, we currently assume that we are using
15677 # Microsoft Visual C++.
15678 if test "$GCC" != yes; then
15688 if test "$with_gnu_ld" = yes; then
15689 # If archive_cmds runs LD, not CC, wlarc should be empty
15692 # See if GNU ld supports shared libraries.
15694 aix3
* | aix4
* | aix5
*)
15695 # On AIX/PPC, the GNU linker is very broken
15696 if test "$host_cpu" != ia64
; then
15700 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15701 *** to be unable to reliably create shared libraries on AIX.
15702 *** Therefore, libtool is disabling shared libraries support. If you
15703 *** really care for shared libraries, you may want to modify your PATH
15704 *** so that a non-GNU linker is found, and then restart.
15711 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)'
15712 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
15713 hardcode_minus_L_GCJ
=yes
15715 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15716 # that the semantics of dynamic libraries on AmigaOS, at least up
15717 # to version 4, is to share data among multiple programs linked
15718 # with the same dynamic library. Since this doesn't match the
15719 # behavior of shared libraries on other platforms, we can't use
15725 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15726 allow_undefined_flag_GCJ
=unsupported
15727 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15728 # support --undefined. This deserves some investigation. FIXME
15729 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15735 cygwin
* | mingw
* | pw32
*)
15736 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15737 # as there is no search path for DLLs.
15738 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
15739 allow_undefined_flag_GCJ
=unsupported
15740 always_export_symbols_GCJ
=no
15741 enable_shared_with_static_runtimes_GCJ
=yes
15742 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15744 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15745 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15746 # If the export-symbols file already is a .def file (1st line
15747 # is EXPORTS), use it as is; otherwise, prepend...
15748 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15749 cp $export_symbols $output_objdir/$soname.def;
15751 echo EXPORTS > $output_objdir/$soname.def;
15752 cat $export_symbols >> $output_objdir/$soname.def;
15754 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15761 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15762 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15765 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15766 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15771 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15775 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15776 *** create shared libraries on Solaris systems. Therefore, libtool
15777 *** is disabling shared libraries support. We urge you to upgrade GNU
15778 *** binutils to release 2.9.1 or newer. Another option is to modify
15779 *** your PATH or compiler configuration so that the native linker is
15780 *** used, and then restart.
15783 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15784 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15785 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15792 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15794 hardcode_direct_GCJ
=yes
15795 hardcode_shlibpath_var_GCJ
=no
15799 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15800 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15801 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15808 if test "$ld_shlibs_GCJ" = yes; then
15809 runpath_var
=LD_RUN_PATH
15810 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
15811 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
15812 # ancient GNU ld didn't support --whole-archive et. al.
15813 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15814 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15816 whole_archive_flag_spec_GCJ
=
15820 # PORTME fill in a description of your system's linker (not GNU ld)
15823 allow_undefined_flag_GCJ
=unsupported
15824 always_export_symbols_GCJ
=yes
15825 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE${_S_}$AR $AR_FLAGS $lib $output_objdir/$soname'
15826 # Note: this linker hardcodes the directories in LIBPATH if there
15827 # are no directories specified by -L.
15828 hardcode_minus_L_GCJ
=yes
15829 if test "$GCC" = yes && test -z "$link_static_flag"; then
15830 # Neither direct hardcoding nor static linking is supported with a
15832 hardcode_direct_GCJ
=unsupported
15837 if test "$host_cpu" = ia64
; then
15838 # On IA64, the linker does run time linking by default, so we don't
15839 # have to do anything special.
15840 aix_use_runtimelinking
=no
15841 exp_sym_flag
='-Bexport'
15844 # If we're using GNU nm, then we don't want the "-C" option.
15845 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15846 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15847 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15849 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15851 aix_use_runtimelinking
=no
15853 # Test if we are trying to use run time linking or normal
15854 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15855 # need to do runtime linking.
15856 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15857 for ld_flag
in $LDFLAGS; do
15858 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15859 aix_use_runtimelinking
=yes
15865 exp_sym_flag
='-bexport'
15866 no_entry_flag
='-bnoentry'
15869 # When large executables or shared objects are built, AIX ld can
15870 # have problems creating the table of contents. If linking a library
15871 # or program results in "error TOC overflow" add -mminimal-toc to
15872 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15873 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15875 archive_cmds_GCJ
=''
15876 hardcode_direct_GCJ
=yes
15877 hardcode_libdir_separator_GCJ
=':'
15878 link_all_deplibs_GCJ
=yes
15880 if test "$GCC" = yes; then
15881 case $host_os in aix4.012|aix4.012.
*)
15882 # We only want to do this on AIX 4.2 and lower, the check
15883 # below for broken collect2 doesn't work under 4.3+
15884 collect2name
=`${CC} -print-prog-name=collect2`
15885 if test -f "$collect2name" && \
15886 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15888 # We have reworked collect2
15889 hardcode_direct_GCJ
=yes
15891 # We have old collect2
15892 hardcode_direct_GCJ
=unsupported
15893 # It fails to find uninstalled libraries when the uninstalled
15894 # path is not listed in the libpath. Setting hardcode_minus_L
15895 # to unsupported forces relinking
15896 hardcode_minus_L_GCJ
=yes
15897 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
15898 hardcode_libdir_separator_GCJ
=
15901 shared_flag
='-shared'
15904 if test "$host_cpu" = ia64
; then
15905 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15906 # chokes on -Wl,-G. The following line is correct:
15909 if test "$aix_use_runtimelinking" = yes; then
15910 shared_flag
='${wl}-G'
15912 shared_flag
='${wl}-bM:SRE'
15917 # It seems that -bexpall does not export symbols beginning with
15918 # underscore (_), so it is better to generate a list of symbols to export.
15919 always_export_symbols_GCJ
=yes
15920 if test "$aix_use_runtimelinking" = yes; then
15921 # Warning - without using the other runtime loading flags (-brtl),
15922 # -berok will link without error, but may produce a broken library.
15923 allow_undefined_flag_GCJ
='-berok'
15924 # Determine the default libpath from the value encoded in an empty executable.
15925 cat >conftest.
$ac_ext <<_ACEOF
15926 #line $LINENO "configure"
15929 cat confdefs.h
>>conftest.
$ac_ext
15930 cat >>conftest.
$ac_ext <<_ACEOF
15931 /* end confdefs.h. */
15941 rm -f conftest.
$ac_objext conftest
$ac_exeext
15942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15943 (eval $ac_link) 2>&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } &&
15947 { ac_try
='test -s conftest$ac_exeext'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; }; then
15954 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15956 # Check for a 64-bit object if we didn't find anything.
15957 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15960 echo "$as_me: failed program was:" >&5
15961 sed 's/^/| /' conftest.
$ac_ext >&5
15964 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15965 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15967 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
15968 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15970 if test "$host_cpu" = ia64; then
15971 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
15972 allow_undefined_flag_GCJ="-z nodefs"
15973 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
15975 # Determine the default libpath from the value encoded in an empty executable.
15976 cat >conftest.$ac_ext <<_ACEOF
15977 #line $LINENO "configure
"
15980 cat confdefs.h >>conftest.$ac_ext
15981 cat >>conftest.$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15992 rm -f conftest.$ac_objext conftest$ac_exeext
15993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15994 (eval $ac_link) 2>&5
15996 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15997 (exit $ac_status); } &&
15998 { ac_try='test -s conftest$ac_exeext'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16003 (exit $ac_status); }; }; then
16005 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16007 # Check for a 64-bit object if we didn't find anything.
16008 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16011 echo "$as_me: failed program was
:" >&5
16012 sed 's/^/| /' conftest.$ac_ext >&5
16015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16016 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16018 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16019 # Warning - without using the other run time loading flags,
16020 # -berok will link without error, but may produce a broken library.
16021 no_undefined_flag_GCJ=' ${wl}-bernotok'
16022 allow_undefined_flag_GCJ=' ${wl}-berok'
16023 # -bexpall does not export symbols beginning with underscore (_)
16024 always_export_symbols_GCJ=yes
16025 # Exported symbols can be pulled into shared objects from archives
16026 whole_archive_flag_spec_GCJ=' '
16027 archive_cmds_need_lc_GCJ=yes
16028 # This is similar to how AIX traditionally builds it's shared libraries.
16029 archive_expsym_cmds_GCJ="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}\${_S_}$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16035 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data${_S_}$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data${_S_}$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data${_S_}$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data${_S_}$AR $AR_FLAGS $lib $libobjs${_S_}$RANLIB $lib${_S_}(cd $output_objdir && a2ixlibrary -32)'
16036 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16037 hardcode_minus_L_GCJ=yes
16038 # see comment about different semantics on the GNU ld section
16043 export_dynamic_flag_spec_GCJ=-rdynamic
16046 cygwin* | mingw* | pw32*)
16047 # When not using gcc, we currently assume that we are using
16048 # Microsoft Visual C++.
16049 # hardcode_libdir_flag_spec is actually meaningless, as there is
16050 # no search path for DLLs.
16051 hardcode_libdir_flag_spec_GCJ=' '
16052 allow_undefined_flag_GCJ=unsupported
16053 # Tell ltmain to make .lib files, not .a files.
16055 # Tell ltmain to make .dll files, not .so files.
16057 # FIXME: Setting linknames here is a bad hack.
16058 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
16059 # The linker will automatically build a .lib file if we build a DLL.
16060 old_archive_From_new_cmds_GCJ='true'
16061 # FIXME: Should let the user specify the lib program.
16062 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16063 fix_srcfile_path='`cygpath -w "$srcfile"`'
16064 enable_shared_with_static_runtimes_GCJ=yes
16067 darwin* | rhapsody*)
16068 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16069 archive_cmds_need_lc_GCJ=no
16071 rhapsody* | darwin1.[012])
16072 allow_undefined_flag_GCJ='-undefined suppress'
16074 darwin1.* | darwin[2-6].*) # Darwin 1.3 on, but less than 7.0
16075 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16078 case "${MACOSX_DEPLOYMENT_TARGET-10.1}" in
16080 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16083 if test -z ${LD_TWOLEVEL_NAMESPACE}; then
16084 allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16086 allow_undefined_flag_GCJ='-undefined dynamic_lookup'
16092 # FIXME: Relying on posixy $() will cause problems for
16093 # cross-compilation, but unfortunately the echo tests do not
16094 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
16095 # `"' quotes if we put them in here... so don't
!
16096 lt_int_apple_cc_single_mod
=no
16097 output_verbose_link_cmd
='echo'
16098 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
16099 lt_int_apple_cc_single_mod
=yes
16101 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16102 archive_cmds_GCJ
='$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16104 archive_cmds_GCJ
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16106 module_cmds_GCJ
='$CC -bundle $archargs ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
16107 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16108 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16109 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -dynamiclib $archargs -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16111 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs${_S_}$CC -dynamiclib $archargs $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16113 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym${_S_}$CC -bundle $archargs $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags${_S_}nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16114 hardcode_direct_GCJ
=no
16115 hardcode_automatic_GCJ
=yes
16116 hardcode_shlibpath_var_GCJ
=unsupported
16117 whole_archive_flag_spec_GCJ
='-all_load $convenience'
16118 link_all_deplibs_GCJ
=yes
16123 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16124 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16125 hardcode_shlibpath_var_GCJ
=no
16132 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16133 # support. Future versions do this automatically, but an explicit c++rt0.o
16134 # does not break anything, and helps significantly (at the cost of a little
16137 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16138 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16139 hardcode_direct_GCJ
=yes
16140 hardcode_shlibpath_var_GCJ
=no
16143 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16145 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16146 hardcode_direct_GCJ
=yes
16147 hardcode_minus_L_GCJ
=yes
16148 hardcode_shlibpath_var_GCJ
=no
16151 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16153 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16154 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16155 hardcode_direct_GCJ
=yes
16156 hardcode_shlibpath_var_GCJ
=no
16160 if test "$GCC" = yes; then
16161 archive_cmds_GCJ
='$rm $output_objdir/$soname${_S_}$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16163 archive_cmds_GCJ
='$rm $output_objdir/$soname${_S_}$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags${_S_}test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16165 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16166 hardcode_libdir_separator_GCJ
=:
16167 hardcode_direct_GCJ
=yes
16169 # hardcode_minus_L: Not really in the search PATH,
16170 # but as the default location of the library.
16171 hardcode_minus_L_GCJ
=yes
16172 export_dynamic_flag_spec_GCJ
='${wl}-E'
16176 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16177 case "$host_cpu" in
16179 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16182 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16186 case "$host_cpu" in
16188 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16191 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16195 if test "$with_gnu_ld" = no
; then
16196 case "$host_cpu" in
16198 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16199 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16200 hardcode_libdir_separator_GCJ
=:
16201 hardcode_direct_GCJ
=no
16202 hardcode_shlibpath_var_GCJ
=no
16205 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16206 hardcode_direct_GCJ
=no
16207 hardcode_shlibpath_var_GCJ
=no
16209 # hardcode_minus_L: Not really in the search PATH,
16210 # but as the default location of the library.
16211 hardcode_minus_L_GCJ
=yes
16214 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16215 hardcode_libdir_separator_GCJ
=:
16216 hardcode_direct_GCJ
=yes
16217 export_dynamic_flag_spec_GCJ
='${wl}-E'
16219 # hardcode_minus_L: Not really in the search PATH,
16220 # but as the default location of the library.
16221 hardcode_minus_L_GCJ
=yes
16227 irix5
* | irix6
* | nonstopux
*)
16228 if test "$GCC" = yes; then
16229 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16231 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16232 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16234 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16235 hardcode_libdir_separator_GCJ
=:
16236 link_all_deplibs_GCJ
=yes
16240 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16241 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16243 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16245 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16246 hardcode_direct_GCJ
=yes
16247 hardcode_shlibpath_var_GCJ
=no
16251 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16252 hardcode_direct_GCJ
=yes
16253 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16254 hardcode_libdir_separator_GCJ
=:
16255 hardcode_shlibpath_var_GCJ
=no
16259 hardcode_direct_GCJ
=yes
16260 hardcode_shlibpath_var_GCJ
=no
16261 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16262 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16263 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16264 export_dynamic_flag_spec_GCJ
='${wl}-E'
16267 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16268 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16269 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16272 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16273 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16280 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16281 hardcode_minus_L_GCJ
=yes
16282 allow_undefined_flag_GCJ
=unsupported
16283 archive_cmds_GCJ
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def${_S_}$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def${_S_}$echo DATA >> $output_objdir/$libname.def${_S_}$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def${_S_}$echo EXPORTS >> $output_objdir/$libname.def${_S_}emxexp $libobjs >> $output_objdir/$libname.def${_S_}$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
16284 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16288 if test "$GCC" = yes; then
16289 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16290 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16292 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16293 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16295 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16296 hardcode_libdir_separator_GCJ
=:
16299 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16300 if test "$GCC" = yes; then
16301 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16302 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16303 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16305 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16306 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16307 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp${_S_}
16308 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib${_S_}$rm $lib.exp'
16310 # Both c and cxx compiler support -rpath directly
16311 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16313 hardcode_libdir_separator_GCJ
=:
16317 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16318 hardcode_shlibpath_var_GCJ
=no
16319 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16320 runpath_var
=LD_RUN_PATH
16321 hardcode_runpath_var
=yes
16325 no_undefined_flag_GCJ
=' -z text'
16326 if test "$GCC" = yes; then
16327 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16328 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
16329 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags${_S_}$rm $lib.exp'
16331 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16332 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
16333 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp'
16335 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16336 hardcode_shlibpath_var_GCJ
=no
16338 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16339 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16340 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16342 link_all_deplibs_GCJ
=yes
16346 if test "x$host_vendor" = xsequent
; then
16347 # Use $CC to link under sequent, because it throws in some extra .o
16348 # files that make .init and .fini sections work.
16349 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16351 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16353 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16354 hardcode_direct_GCJ
=yes
16355 hardcode_minus_L_GCJ
=yes
16356 hardcode_shlibpath_var_GCJ
=no
16360 case $host_vendor in
16362 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16363 hardcode_direct_GCJ
=yes # is this really true???
16366 ## LD is ld it makes a PLAMLIB
16367 ## CC just makes a GrossModule.
16368 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16369 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16370 hardcode_direct_GCJ
=no
16373 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16374 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16377 runpath_var
='LD_RUN_PATH'
16378 hardcode_shlibpath_var_GCJ
=no
16382 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16383 hardcode_shlibpath_var_GCJ
=no
16384 export_dynamic_flag_spec_GCJ
='-Bexport'
16388 if test -d /usr
/nec
; then
16389 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16390 hardcode_shlibpath_var_GCJ
=no
16391 runpath_var
=LD_RUN_PATH
16392 hardcode_runpath_var
=yes
16398 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16399 hardcode_direct_GCJ
=yes
16400 hardcode_minus_L_GCJ
=no
16401 hardcode_shlibpath_var_GCJ
=no
16402 hardcode_runpath_var
=yes
16403 runpath_var
=LD_RUN_PATH
16406 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
16407 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
16408 if test "$GCC" = yes; then
16409 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16411 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16413 runpath_var
='LD_RUN_PATH'
16414 hardcode_shlibpath_var_GCJ
=no
16418 no_undefined_flag_GCJ
=' -z text'
16419 # $CC -shared without GNU ld will not create a library from C++
16420 # object files and a static libstdc++, better avoid it by now
16421 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16422 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp${_S_}cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp${_S_}$echo "local: *; };" >> $lib.exp${_S_}
16423 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags${_S_}$rm $lib.exp'
16424 hardcode_libdir_flag_spec_GCJ
=
16425 hardcode_shlibpath_var_GCJ
=no
16426 runpath_var
='LD_RUN_PATH'
16430 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16431 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16432 hardcode_shlibpath_var_GCJ
=no
16441 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16442 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16443 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
16445 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16446 if test "$GCC" = yes; then
16447 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16451 # Do we need to explicitly link libc?
16453 case "x$archive_cmds_need_lc_GCJ" in
16455 # Assume -lc should be added
16456 archive_cmds_need_lc_GCJ
=yes
16458 if test "$enable_shared" = yes && test "$GCC" = yes; then
16459 case $archive_cmds_GCJ in
16461 # FIXME: we may have to deal with multi-command sequences.
16464 # Test whether the compiler implicitly links with -lc since on some
16465 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16466 # to ld, don't add -lc before -lgcc.
16467 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16468 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16470 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16473 (eval $ac_compile) 2>&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); } 2>conftest.err
; then
16479 libobjs
=conftest.
$ac_objext
16481 wl
=$lt_prog_compiler_wl_GCJ
16487 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
16488 allow_undefined_flag_GCJ
=
16489 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16490 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }
16495 archive_cmds_need_lc_GCJ
=no
16497 archive_cmds_need_lc_GCJ
=yes
16499 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
16501 cat conftest.err
1>&5
16504 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16505 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16512 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16513 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16514 hardcode_action_GCJ
=
16515 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16516 test -n "$runpath_var GCJ" || \
16517 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16519 # We can hardcode non-existant directories.
16520 if test "$hardcode_direct_GCJ" != no
&&
16521 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16522 # have to relink, otherwise we might link with an installed library
16523 # when we should be linking with a yet-to-be-installed one
16524 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16525 test "$hardcode_minus_L_GCJ" != no
; then
16526 # Linking always hardcodes the temporary library directory.
16527 hardcode_action_GCJ
=relink
16529 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16530 hardcode_action_GCJ
=immediate
16533 # We cannot hardcode anything, or else we can only hardcode existing
16535 hardcode_action_GCJ
=unsupported
16537 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16538 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16540 if test "$hardcode_action_GCJ" = relink
; then
16541 # Fast installation is not supported
16542 enable_fast_install
=no
16543 elif test "$shlibpath_overrides_runpath" = yes ||
16544 test "$enable_shared" = no
; then
16545 # Fast installation is not necessary
16546 enable_fast_install
=needless
16551 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16552 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16553 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16554 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16555 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16556 echo "$as_me:$LINENO: result: yes" >&5
16557 echo "${ECHO_T}yes" >&6
16559 # FIXME - insert some real tests, host_os isn't really good enough
16562 if test -n "$STRIP" ; then
16563 striplib
="$STRIP -x"
16564 echo "$as_me:$LINENO: result: yes" >&5
16565 echo "${ECHO_T}yes" >&6
16567 echo "$as_me:$LINENO: result: no" >&5
16568 echo "${ECHO_T}no" >&6
16572 echo "$as_me:$LINENO: result: no" >&5
16573 echo "${ECHO_T}no" >&6
16578 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16579 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16580 library_names_spec
=
16581 libname_spec
='lib$name'
16585 postuninstall_cmds
=
16589 shlibpath_overrides_runpath
=unknown
16591 dynamic_linker
="$host_os ld.so"
16592 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16593 if test "$GCC" = yes; then
16594 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16595 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16596 # if the path contains ";" then we assume it to be the separator
16597 # otherwise default to the standard path separator (i.e. ":") - it is
16598 # assumed that no part of a normal pathname contains ";" but that should
16599 # okay in the real world where ";" in dirpaths is itself problematic.
16600 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16602 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16605 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16607 need_lib_prefix
=unknown
16608 hardcode_into_libs
=no
16610 # when you set need_version to no, make sure it does not cause -set_version
16611 # flags to be left without arguments
16612 need_version
=unknown
16617 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16618 shlibpath_var
=LIBPATH
16620 # AIX 3 has no versioning support, so we append a major version to the name.
16621 soname_spec
='${libname}${release}${shared_ext}$major'
16628 hardcode_into_libs
=yes
16629 if test "$host_cpu" = ia64
; then
16630 # AIX 5 supports IA64
16631 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16632 shlibpath_var
=LD_LIBRARY_PATH
16634 # With GCC up to 2.95.x, collect2 would create an import file
16635 # for dependence libraries. The import file would start with
16636 # the line `#! .'. This would cause the generated library to
16637 # depend on `.', always an invalid library. This was fixed in
16638 # development snapshots of GCC prior to 3.0.
16640 aix4 | aix4.
[01] | aix4.
[01].
*)
16641 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16643 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16646 can_build_shared
=no
16650 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16651 # soname into executable. Probably we can add versioning support to
16652 # collect2, so additional links can be useful in future.
16653 if test "$aix_use_runtimelinking" = yes; then
16654 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16655 # instead of lib<name>.a to let people know that these are not
16656 # typical AIX shared libraries.
16657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16659 # We preserve .a as extension for shared libraries through AIX4.2
16660 # and later when we are not doing run time linking.
16661 library_names_spec
='${libname}${release}.a $libname.a'
16662 soname_spec
='${libname}${release}${shared_ext}$major'
16664 shlibpath_var
=LIBPATH
16669 library_names_spec
='$libname.ixlibrary $libname.a'
16670 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16671 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'
16675 library_names_spec
='${libname}${shared_ext}'
16676 dynamic_linker
="$host_os ld.so"
16677 shlibpath_var
=LIBRARY_PATH
16683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16684 soname_spec
='${libname}${release}${shared_ext}$major'
16685 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16686 shlibpath_var
=LD_LIBRARY_PATH
16687 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16688 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16689 # the default ld.so.conf also contains /usr/contrib/lib and
16690 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16691 # libtool to hard-code these into programs
16694 cygwin
* | mingw
* | pw32
*)
16695 version_type
=windows
16700 case $GCC,$host_os in
16701 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16702 library_names_spec
='$libname.dll.a'
16703 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16704 postinstall_cmds
='base_file=`basename \${file}`${_S_}
16705 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`${_S_}
16706 dldir=$destdir/`dirname \$dlpath`${_S_}
16707 test -d \$dldir || mkdir -p \$dldir${_S_}
16708 $install_prog $dir/$dlname \$dldir/$dlname'
16709 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`${_S_}
16710 dlpath=$dir/\$dldll${_S_}
16712 shlibpath_overrides_runpath
=yes
16716 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16717 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16718 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
16721 # MinGW DLLs use traditional 'lib' prefix
16722 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16723 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16724 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16725 # It is most probably a Windows format PATH printed by
16726 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16727 # path with ; separators, and with drive letters. We can handle the
16728 # drive letters (cygwin fileutils understands them), so leave them,
16729 # especially as we might pass files found there to a mingw objdump,
16730 # which wouldn't understand a cygwinified path. Ahh.
16731 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16733 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16737 # pw32 DLLs use 'pw' prefix rather than 'lib'
16738 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16744 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16747 dynamic_linker
='Win32 ld.exe'
16748 # FIXME: first we should search . and the directory the executable is in
16752 darwin
* | rhapsody
*)
16753 dynamic_linker
="$host_os dyld"
16754 version_type
=darwin
16757 # FIXME: Relying on posixy $() will cause problems for
16758 # cross-compilation, but unfortunately the echo tests do not
16759 # yet detect zsh echo's removal of \ escapes.
16760 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext'
16761 soname_spec
='${libname}${release}${major}$shared_ext'
16762 shlibpath_overrides_runpath
=yes
16763 shlibpath_var
=DYLD_LIBRARY_PATH
16764 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
16765 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16766 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
16767 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16769 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16777 soname_spec
='${libname}${release}${shared_ext}$major'
16778 shlibpath_var
=LD_LIBRARY_PATH
16786 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16787 version_type
=freebsd-
$objformat
16788 case $version_type in
16790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16795 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16799 shlibpath_var
=LD_LIBRARY_PATH
16802 shlibpath_overrides_runpath
=yes
16804 freebsd3.01
* | freebsdelf3.01
*)
16805 shlibpath_overrides_runpath
=yes
16806 hardcode_into_libs
=yes
16809 shlibpath_overrides_runpath
=no
16810 hardcode_into_libs
=yes
16819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16820 soname_spec
='${libname}${release}${shared_ext}$major'
16821 shlibpath_var
=LD_LIBRARY_PATH
16822 hardcode_into_libs
=yes
16825 hpux9
* | hpux10
* | hpux11
*)
16826 # Give a soname corresponding to the major version so that dld.sl refuses to
16827 # link against other versions.
16831 case "$host_cpu" in
16834 hardcode_into_libs
=yes
16835 dynamic_linker
="$host_os dld.so"
16836 shlibpath_var
=LD_LIBRARY_PATH
16837 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16839 soname_spec
='${libname}${release}${shared_ext}$major'
16840 if test "X$HPUX_IA64_MODE" = X32
; then
16841 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16843 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16845 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16849 hardcode_into_libs
=yes
16850 dynamic_linker
="$host_os dld.sl"
16851 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16852 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16854 soname_spec
='${libname}${release}${shared_ext}$major'
16855 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16856 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16860 dynamic_linker
="$host_os dld.sl"
16861 shlibpath_var
=SHLIB_PATH
16862 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16864 soname_spec
='${libname}${release}${shared_ext}$major'
16867 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16868 postinstall_cmds
='chmod 555 $lib'
16871 irix5
* | irix6
* | nonstopux
*)
16873 nonstopux
*) version_type
=nonstopux
;;
16875 if test "$lt_cv_prog_gnu_ld" = yes; then
16883 soname_spec
='${libname}${release}${shared_ext}$major'
16884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16886 irix5
* | nonstopux
*)
16887 libsuff
= shlibsuff
=
16890 case $LD in # libtool.m4 will add one of these switches to LD
16891 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16892 libsuff
= shlibsuff
= libmagic
=32-bit;;
16893 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16894 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16895 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16896 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16897 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16901 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16902 shlibpath_overrides_runpath
=no
16903 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16904 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16905 hardcode_into_libs
=yes
16908 # No shared lib support for Linux oldld, aout, or coff.
16909 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16913 # This must be Linux ELF.
16918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16919 soname_spec
='${libname}${release}${shared_ext}$major'
16920 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16921 shlibpath_var
=LD_LIBRARY_PATH
16922 shlibpath_overrides_runpath
=no
16923 # This implies no fast_install, which is unacceptable.
16924 # Some rework will be needed to allow for fast_install
16925 # before this can be enabled.
16926 hardcode_into_libs
=yes
16928 # We used to test for /lib/ld.so.1 and disable shared libraries on
16929 # powerpc, because MkLinux only supported shared libraries with the
16930 # GNU dynamic linker. Since this was broken with cross compilers,
16931 # most powerpc-linux boxes support dynamic linking these days and
16932 # people can always --disable-shared, the test was removed, and we
16933 # assume the GNU/Linux dynamic linker is in use.
16934 dynamic_linker
='GNU/Linux ld.so'
16941 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16943 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16944 dynamic_linker
='NetBSD (a.out) ld.so'
16946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16947 soname_spec
='${libname}${release}${shared_ext}$major'
16948 dynamic_linker
='NetBSD ld.elf_so'
16950 shlibpath_var
=LD_LIBRARY_PATH
16951 shlibpath_overrides_runpath
=yes
16952 hardcode_into_libs
=yes
16957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16958 shlibpath_var
=LD_LIBRARY_PATH
16959 shlibpath_overrides_runpath
=yes
16966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16967 soname_spec
='${libname}${release}${shared_ext}$major'
16968 shlibpath_var
=LD_LIBRARY_PATH
16969 shlibpath_overrides_runpath
=yes
16976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16977 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16978 shlibpath_var
=LD_LIBRARY_PATH
16979 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16981 openbsd2.
[89] | openbsd2.
[89].
*)
16982 shlibpath_overrides_runpath
=no
16985 shlibpath_overrides_runpath
=yes
16989 shlibpath_overrides_runpath
=yes
16994 libname_spec
='$name'
16997 library_names_spec
='$libname${shared_ext} $libname.a'
16998 dynamic_linker
='OS/2 ld.exe'
16999 shlibpath_var
=LIBPATH
17002 osf3
* | osf4
* | osf5
*)
17006 soname_spec
='${libname}${release}${shared_ext}$major'
17007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17008 shlibpath_var
=LD_LIBRARY_PATH
17009 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17010 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17015 soname_spec
='${libname}${release}${shared_ext}$major'
17016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17017 shlibpath_var
=LD_LIBRARY_PATH
17024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17025 soname_spec
='${libname}${release}${shared_ext}$major'
17026 shlibpath_var
=LD_LIBRARY_PATH
17027 shlibpath_overrides_runpath
=yes
17028 hardcode_into_libs
=yes
17029 # ldd complains unless libraries are executable
17030 postinstall_cmds
='chmod +x $lib'
17035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17036 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17037 shlibpath_var
=LD_LIBRARY_PATH
17038 shlibpath_overrides_runpath
=yes
17039 if test "$with_gnu_ld" = yes; then
17045 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17048 soname_spec
='${libname}${release}${shared_ext}$major'
17049 shlibpath_var
=LD_LIBRARY_PATH
17050 case $host_vendor in
17052 shlibpath_overrides_runpath
=no
17054 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17055 runpath_var
=LD_RUN_PATH
17063 shlibpath_overrides_runpath
=no
17064 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17070 if test -d /usr
/nec
;then
17072 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17073 soname_spec
='$libname${shared_ext}.$major'
17074 shlibpath_var
=LD_LIBRARY_PATH
17080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17081 soname_spec
='${libname}${release}${shared_ext}$major'
17082 shlibpath_var
=LD_LIBRARY_PATH
17089 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17090 echo "${ECHO_T}$dynamic_linker" >&6
17091 test "$dynamic_linker" = no
&& can_build_shared
=no
17093 if test "x$enable_dlopen" != xyes
; then
17094 enable_dlopen
=unknown
17095 enable_dlopen_self
=unknown
17096 enable_dlopen_self_static
=unknown
17103 lt_cv_dlopen
="load_add_on"
17105 lt_cv_dlopen_self
=yes
17109 lt_cv_dlopen
="LoadLibrary"
17114 lt_cv_dlopen
="dlopen"
17119 # if libdl is installed we need to link against it
17120 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17121 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17122 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17123 echo $ECHO_N "(cached) $ECHO_C" >&6
17125 ac_check_lib_save_LIBS
=$LIBS
17127 cat >conftest.
$ac_ext <<_ACEOF
17128 #line $LINENO "configure"
17131 cat confdefs.h
>>conftest.
$ac_ext
17132 cat >>conftest.
$ac_ext <<_ACEOF
17133 /* end confdefs.h. */
17135 /* Override any gcc2 internal prototype to avoid an error. */
17139 /* We use char because int might match the return type of a gcc2
17140 builtin and then its argument prototype would still apply. */
17150 rm -f conftest.
$ac_objext conftest
$ac_exeext
17151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17152 (eval $ac_link) 2>&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } &&
17156 { ac_try
='test -s conftest$ac_exeext'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; }; then
17162 ac_cv_lib_dl_dlopen
=yes
17164 echo "$as_me: failed program was:" >&5
17165 sed 's/^/| /' conftest.
$ac_ext >&5
17167 ac_cv_lib_dl_dlopen
=no
17169 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17170 LIBS
=$ac_check_lib_save_LIBS
17172 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17173 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17174 if test $ac_cv_lib_dl_dlopen = yes; then
17175 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17178 lt_cv_dlopen
="dyld"
17180 lt_cv_dlopen_self
=yes
17187 echo "$as_me:$LINENO: checking for shl_load" >&5
17188 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17189 if test "${ac_cv_func_shl_load+set}" = set; then
17190 echo $ECHO_N "(cached) $ECHO_C" >&6
17192 cat >conftest.
$ac_ext <<_ACEOF
17193 #line $LINENO "configure"
17196 cat confdefs.h
>>conftest.
$ac_ext
17197 cat >>conftest.
$ac_ext <<_ACEOF
17198 /* end confdefs.h. */
17199 /* System header to define __stub macros and hopefully few prototypes,
17200 which can conflict with char shl_load (); below.
17201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17202 <limits.h> exists even on freestanding compilers. */
17204 # include <limits.h>
17206 # include <assert.h>
17208 /* Override any gcc2 internal prototype to avoid an error. */
17213 /* We use char because int might match the return type of a gcc2
17214 builtin and then its argument prototype would still apply. */
17216 /* The GNU C library defines this for functions which it implements
17217 to always fail with ENOSYS. Some functions are actually named
17218 something starting with __ and the normal name is an alias. */
17219 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17222 char (*f) () = shl_load;
17231 return f != shl_load;
17236 rm -f conftest.
$ac_objext conftest
$ac_exeext
17237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17238 (eval $ac_link) 2>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } &&
17242 { ac_try
='test -s conftest$ac_exeext'
17243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17244 (eval $ac_try) 2>&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); }; }; then
17248 ac_cv_func_shl_load
=yes
17250 echo "$as_me: failed program was:" >&5
17251 sed 's/^/| /' conftest.
$ac_ext >&5
17253 ac_cv_func_shl_load
=no
17255 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17257 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17258 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17259 if test $ac_cv_func_shl_load = yes; then
17260 lt_cv_dlopen
="shl_load"
17262 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17263 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17264 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17265 echo $ECHO_N "(cached) $ECHO_C" >&6
17267 ac_check_lib_save_LIBS
=$LIBS
17269 cat >conftest.
$ac_ext <<_ACEOF
17270 #line $LINENO "configure"
17273 cat confdefs.h
>>conftest.
$ac_ext
17274 cat >>conftest.
$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17277 /* Override any gcc2 internal prototype to avoid an error. */
17281 /* We use char because int might match the return type of a gcc2
17282 builtin and then its argument prototype would still apply. */
17292 rm -f conftest.
$ac_objext conftest
$ac_exeext
17293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17294 (eval $ac_link) 2>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } &&
17298 { ac_try
='test -s conftest$ac_exeext'
17299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17300 (eval $ac_try) 2>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); }; }; then
17304 ac_cv_lib_dld_shl_load
=yes
17306 echo "$as_me: failed program was:" >&5
17307 sed 's/^/| /' conftest.
$ac_ext >&5
17309 ac_cv_lib_dld_shl_load
=no
17311 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17312 LIBS
=$ac_check_lib_save_LIBS
17314 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17315 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17316 if test $ac_cv_lib_dld_shl_load = yes; then
17317 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
17319 echo "$as_me:$LINENO: checking for dlopen" >&5
17320 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17321 if test "${ac_cv_func_dlopen+set}" = set; then
17322 echo $ECHO_N "(cached) $ECHO_C" >&6
17324 cat >conftest.
$ac_ext <<_ACEOF
17325 #line $LINENO "configure"
17328 cat confdefs.h
>>conftest.
$ac_ext
17329 cat >>conftest.
$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17331 /* System header to define __stub macros and hopefully few prototypes,
17332 which can conflict with char dlopen (); below.
17333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17334 <limits.h> exists even on freestanding compilers. */
17336 # include <limits.h>
17338 # include <assert.h>
17340 /* Override any gcc2 internal prototype to avoid an error. */
17345 /* We use char because int might match the return type of a gcc2
17346 builtin and then its argument prototype would still apply. */
17348 /* The GNU C library defines this for functions which it implements
17349 to always fail with ENOSYS. Some functions are actually named
17350 something starting with __ and the normal name is an alias. */
17351 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17354 char (*f) () = dlopen;
17363 return f != dlopen;
17368 rm -f conftest.
$ac_objext conftest
$ac_exeext
17369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17370 (eval $ac_link) 2>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } &&
17374 { ac_try
='test -s conftest$ac_exeext'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; }; then
17380 ac_cv_func_dlopen
=yes
17382 echo "$as_me: failed program was:" >&5
17383 sed 's/^/| /' conftest.
$ac_ext >&5
17385 ac_cv_func_dlopen
=no
17387 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17389 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17390 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17391 if test $ac_cv_func_dlopen = yes; then
17392 lt_cv_dlopen
="dlopen"
17394 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17395 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17396 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17399 ac_check_lib_save_LIBS
=$LIBS
17401 cat >conftest.
$ac_ext <<_ACEOF
17402 #line $LINENO "configure"
17405 cat confdefs.h
>>conftest.
$ac_ext
17406 cat >>conftest.
$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17409 /* Override any gcc2 internal prototype to avoid an error. */
17413 /* We use char because int might match the return type of a gcc2
17414 builtin and then its argument prototype would still apply. */
17424 rm -f conftest.
$ac_objext conftest
$ac_exeext
17425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17426 (eval $ac_link) 2>&5
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); } &&
17430 { ac_try
='test -s conftest$ac_exeext'
17431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432 (eval $ac_try) 2>&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); }; }; then
17436 ac_cv_lib_dl_dlopen
=yes
17438 echo "$as_me: failed program was:" >&5
17439 sed 's/^/| /' conftest.
$ac_ext >&5
17441 ac_cv_lib_dl_dlopen
=no
17443 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17444 LIBS
=$ac_check_lib_save_LIBS
17446 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17447 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17448 if test $ac_cv_lib_dl_dlopen = yes; then
17449 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17451 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17452 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17453 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17454 echo $ECHO_N "(cached) $ECHO_C" >&6
17456 ac_check_lib_save_LIBS
=$LIBS
17457 LIBS
="-lsvld $LIBS"
17458 cat >conftest.
$ac_ext <<_ACEOF
17459 #line $LINENO "configure"
17462 cat confdefs.h
>>conftest.
$ac_ext
17463 cat >>conftest.
$ac_ext <<_ACEOF
17464 /* end confdefs.h. */
17466 /* Override any gcc2 internal prototype to avoid an error. */
17470 /* We use char because int might match the return type of a gcc2
17471 builtin and then its argument prototype would still apply. */
17481 rm -f conftest.
$ac_objext conftest
$ac_exeext
17482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17483 (eval $ac_link) 2>&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); } &&
17487 { ac_try
='test -s conftest$ac_exeext'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; }; then
17493 ac_cv_lib_svld_dlopen
=yes
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.
$ac_ext >&5
17498 ac_cv_lib_svld_dlopen
=no
17500 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17501 LIBS
=$ac_check_lib_save_LIBS
17503 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17504 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17505 if test $ac_cv_lib_svld_dlopen = yes; then
17506 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17508 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17509 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17510 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17511 echo $ECHO_N "(cached) $ECHO_C" >&6
17513 ac_check_lib_save_LIBS
=$LIBS
17515 cat >conftest.
$ac_ext <<_ACEOF
17516 #line $LINENO "configure"
17519 cat confdefs.h
>>conftest.
$ac_ext
17520 cat >>conftest.
$ac_ext <<_ACEOF
17521 /* end confdefs.h. */
17523 /* Override any gcc2 internal prototype to avoid an error. */
17527 /* We use char because int might match the return type of a gcc2
17528 builtin and then its argument prototype would still apply. */
17538 rm -f conftest.
$ac_objext conftest
$ac_exeext
17539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17540 (eval $ac_link) 2>&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); } &&
17544 { ac_try
='test -s conftest$ac_exeext'
17545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17546 (eval $ac_try) 2>&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); }; }; then
17550 ac_cv_lib_dld_dld_link
=yes
17552 echo "$as_me: failed program was:" >&5
17553 sed 's/^/| /' conftest.
$ac_ext >&5
17555 ac_cv_lib_dld_dld_link
=no
17557 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17558 LIBS
=$ac_check_lib_save_LIBS
17560 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17561 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17562 if test $ac_cv_lib_dld_dld_link = yes; then
17563 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
17584 if test "x$lt_cv_dlopen" != xno
; then
17590 case $lt_cv_dlopen in
17592 save_CPPFLAGS
="$CPPFLAGS"
17593 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
17595 save_LDFLAGS
="$LDFLAGS"
17596 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
17599 LIBS
="$lt_cv_dlopen_libs $LIBS"
17601 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17602 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17603 if test "${lt_cv_dlopen_self+set}" = set; then
17604 echo $ECHO_N "(cached) $ECHO_C" >&6
17606 if test "$cross_compiling" = yes; then :
17607 lt_cv_dlopen_self
=cross
17609 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
17610 lt_status
=$lt_dlunknown
17611 cat > conftest.
$ac_ext <<EOF
17612 #line 17530 "configure"
17613 #include "confdefs.h"
17622 # define LT_DLGLOBAL RTLD_GLOBAL
17625 # define LT_DLGLOBAL DL_GLOBAL
17627 # define LT_DLGLOBAL 0
17631 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17632 find out it does not work in some platform. */
17633 #ifndef LT_DLLAZY_OR_NOW
17635 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17638 # define LT_DLLAZY_OR_NOW DL_LAZY
17641 # define LT_DLLAZY_OR_NOW RTLD_NOW
17644 # define LT_DLLAZY_OR_NOW DL_NOW
17646 # define LT_DLLAZY_OR_NOW 0
17654 extern "C" void exit (int);
17657 void fnord() { int i=42;}
17660 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17661 int status = $lt_dlunknown;
17665 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17666 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17667 /* dlclose (self); */
17673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17674 (eval $ac_link) 2>&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
17678 (.
/conftest
; exit; ) 2>/dev
/null
17680 case x
$lt_status in
17681 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
17682 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
17683 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
17686 # compilation failed
17687 lt_cv_dlopen_self
=no
17694 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17695 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17697 if test "x$lt_cv_dlopen_self" = xyes
; then
17698 LDFLAGS
="$LDFLAGS $link_static_flag"
17699 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17700 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17701 if test "${lt_cv_dlopen_self_static+set}" = set; then
17702 echo $ECHO_N "(cached) $ECHO_C" >&6
17704 if test "$cross_compiling" = yes; then :
17705 lt_cv_dlopen_self_static
=cross
17707 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
17708 lt_status
=$lt_dlunknown
17709 cat > conftest.
$ac_ext <<EOF
17710 #line 17628 "configure"
17711 #include "confdefs.h"
17720 # define LT_DLGLOBAL RTLD_GLOBAL
17723 # define LT_DLGLOBAL DL_GLOBAL
17725 # define LT_DLGLOBAL 0
17729 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17730 find out it does not work in some platform. */
17731 #ifndef LT_DLLAZY_OR_NOW
17733 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17736 # define LT_DLLAZY_OR_NOW DL_LAZY
17739 # define LT_DLLAZY_OR_NOW RTLD_NOW
17742 # define LT_DLLAZY_OR_NOW DL_NOW
17744 # define LT_DLLAZY_OR_NOW 0
17752 extern "C" void exit (int);
17755 void fnord() { int i=42;}
17758 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17759 int status = $lt_dlunknown;
17763 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17764 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17765 /* dlclose (self); */
17771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17772 (eval $ac_link) 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
17776 (.
/conftest
; exit; ) 2>/dev
/null
17778 case x
$lt_status in
17779 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
17780 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
17781 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
17784 # compilation failed
17785 lt_cv_dlopen_self_static
=no
17792 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17793 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17796 CPPFLAGS
="$save_CPPFLAGS"
17797 LDFLAGS
="$save_LDFLAGS"
17802 case $lt_cv_dlopen_self in
17803 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
17804 *) enable_dlopen_self
=unknown
;;
17807 case $lt_cv_dlopen_self_static in
17808 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
17809 *) enable_dlopen_self_static
=unknown
;;
17814 # The else clause should only fire when bootstrapping the
17815 # libtool distribution, otherwise you forgot to ship ltmain.sh
17816 # with your package, and you will get complaints that there are
17817 # no rules to generate ltmain.sh.
17818 if test -f "$ltmain"; then
17819 # See if we are running on zsh, and set the options which allow our commands through
17820 # without removal of \ escapes.
17821 if test -n "${ZSH_VERSION+set}" ; then
17822 setopt NO_GLOB_SUBST
17824 # Now quote all the things that may contain metacharacters while being
17825 # careful not to overquote the AC_SUBSTed values. We take copies of the
17826 # variables and quote the copies for generation of the libtool script.
17827 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17828 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17829 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17830 deplibs_check_method reload_flag reload_cmds need_locks \
17831 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17832 lt_cv_sys_global_symbol_to_c_name_address \
17833 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17834 old_postinstall_cmds old_postuninstall_cmds \
17838 lt_prog_compiler_wl_GCJ \
17839 lt_prog_compiler_pic_GCJ \
17840 lt_prog_compiler_static_GCJ \
17841 lt_prog_compiler_no_builtin_flag_GCJ \
17842 export_dynamic_flag_spec_GCJ \
17843 thread_safe_flag_spec_GCJ \
17844 whole_archive_flag_spec_GCJ \
17845 enable_shared_with_static_runtimes_GCJ \
17846 old_archive_cmds_GCJ \
17847 old_archive_from_new_cmds_GCJ \
17848 predep_objects_GCJ \
17849 postdep_objects_GCJ \
17852 compiler_lib_search_path_GCJ \
17854 archive_expsym_cmds_GCJ \
17855 postinstall_cmds_GCJ \
17856 postuninstall_cmds_GCJ \
17857 old_archive_from_expsyms_cmds_GCJ \
17858 allow_undefined_flag_GCJ \
17859 no_undefined_flag_GCJ \
17860 export_symbols_cmds_GCJ \
17861 hardcode_libdir_flag_spec_GCJ \
17862 hardcode_libdir_flag_spec_ld_GCJ \
17863 hardcode_libdir_separator_GCJ \
17864 hardcode_automatic_GCJ \
17866 module_expsym_cmds_GCJ \
17867 lt_cv_prog_compiler_c_o_GCJ \
17868 exclude_expsyms_GCJ \
17869 include_expsyms_GCJ
; do
17872 old_archive_cmds_GCJ | \
17873 old_archive_from_new_cmds_GCJ | \
17874 archive_cmds_GCJ | \
17875 archive_expsym_cmds_GCJ | \
17876 module_cmds_GCJ | \
17877 module_expsym_cmds_GCJ | \
17878 old_archive_from_expsyms_cmds_GCJ | \
17879 export_symbols_cmds_GCJ | \
17880 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17881 postinstall_cmds | postuninstall_cmds | \
17882 old_postinstall_cmds | old_postuninstall_cmds | \
17883 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17884 # Double-quote double-evaled strings.
17885 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\""
17888 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17894 *'\$0 --fallback-echo"')
17895 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17901 cat <<__EOF__ >> "$cfgfile"
17902 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17904 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17906 # Set the command separator (default: ~)
17907 _S_=\${LIBTOOL_CMD_SEP-\~}
17909 # Shell to use when invoking shell scripts.
17912 # Whether or not to build shared libraries.
17913 build_libtool_libs=$enable_shared
17915 # Whether or not to build static libraries.
17916 build_old_libs=$enable_static
17918 # Whether or not to add -lc for building shared libraries.
17919 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17921 # Whether or not to disallow shared libs when runtime libs are static
17922 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17924 # Whether or not to optimize for fast installation.
17925 fast_install=$enable_fast_install
17928 host_alias=$host_alias
17931 # An echo program that does not interpret backslashes.
17936 AR_FLAGS=$lt_AR_FLAGS
17941 # A language-specific compiler.
17942 CC=$lt_compiler_GCJ
17944 # Is the compiler the GNU C compiler?
17950 # The linker used to build libraries.
17953 # Whether we need hard or soft links.
17956 # A BSD-compatible nm program.
17959 # A symbol stripping program
17962 # Used to examine libraries when file_magic_cmd begins "file"
17963 MAGIC_CMD=$MAGIC_CMD
17965 # Used on cygwin: DLL creation program.
17968 # Used on cygwin: object dumper.
17971 # Used on cygwin: assembler.
17974 # The name of the directory that contains temporary libtool files.
17977 # How to create reloadable object files.
17978 reload_flag=$lt_reload_flag
17979 reload_cmds=$lt_reload_cmds
17981 # How to pass a linker flag through the compiler.
17982 wl=$lt_lt_prog_compiler_wl_GCJ
17984 # Object file suffix (normally "o").
17985 objext="$ac_objext"
17987 # Old archive suffix (normally "a").
17990 # Shared library suffix (normally ".so").
17993 # Executable file suffix (normally "").
17996 # Additional compiler flags for building library objects.
17997 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18000 # What is the maximum length of a command?
18001 max_cmd_len=$lt_cv_sys_max_cmd_len
18003 # Does compiler simultaneously support -c and -o options?
18004 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18006 # Must we lock files when doing compilation ?
18007 need_locks=$lt_need_locks
18009 # Do we need the lib prefix for modules?
18010 need_lib_prefix=$need_lib_prefix
18012 # Do we need a version for libraries?
18013 need_version=$need_version
18015 # Whether dlopen is supported.
18016 dlopen_support=$enable_dlopen
18018 # Whether dlopen of programs is supported.
18019 dlopen_self=$enable_dlopen_self
18021 # Whether dlopen of statically linked programs is supported.
18022 dlopen_self_static=$enable_dlopen_self_static
18024 # Compiler flag to prevent dynamic linking.
18025 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18027 # Compiler flag to turn off builtin functions.
18028 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18030 # Compiler flag to allow reflexive dlopens.
18031 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18033 # Compiler flag to generate shared objects directly from archives.
18034 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18036 # Compiler flag to generate thread-safe objects.
18037 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18039 # Library versioning type.
18040 version_type=$version_type
18042 # Format of library name prefix.
18043 libname_spec=$lt_libname_spec
18045 # List of archive names. First name is the real one, the rest are links.
18046 # The last name is the one that the linker finds with -lNAME.
18047 library_names_spec=$lt_library_names_spec
18049 # The coded name of the library, if different from the real name.
18050 soname_spec=$lt_soname_spec
18052 # Commands used to build and install an old-style archive.
18054 old_archive_cmds=$lt_old_archive_cmds_GCJ
18055 old_postinstall_cmds=$lt_old_postinstall_cmds
18056 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18058 # Create an old-style archive from a shared archive.
18059 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18061 # Create a temporary old-style archive to link instead of a shared archive.
18062 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18064 # Commands used to build and install a shared archive.
18065 archive_cmds=$lt_archive_cmds_GCJ
18066 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18067 postinstall_cmds=$lt_postinstall_cmds
18068 postuninstall_cmds=$lt_postuninstall_cmds
18070 # Commands used to build a loadable module (assumed same as above if empty)
18071 module_cmds=$lt_module_cmds_GCJ
18072 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18074 # Commands to strip libraries.
18075 old_striplib=$lt_old_striplib
18076 striplib=$lt_striplib
18078 # Dependencies to place before the objects being linked to create a
18080 predep_objects=$lt_predep_objects_GCJ
18082 # Dependencies to place after the objects being linked to create a
18084 postdep_objects=$lt_postdep_objects_GCJ
18086 # Dependencies to place before the objects being linked to create a
18088 predeps=$lt_predeps_GCJ
18090 # Dependencies to place after the objects being linked to create a
18092 postdeps=$lt_postdeps_GCJ
18094 # The library search path used internally by the compiler when linking
18095 # a shared library.
18096 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18098 # Method to check whether dependent libraries are shared objects.
18099 deplibs_check_method=$lt_deplibs_check_method
18101 # Command to use when deplibs_check_method == file_magic.
18102 file_magic_cmd=$lt_file_magic_cmd
18104 # Flag that allows shared libraries with undefined symbols to be built.
18105 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18107 # Flag that forces no undefined symbols.
18108 no_undefined_flag=$lt_no_undefined_flag_GCJ
18110 # Commands used to finish a libtool library installation in a directory.
18111 finish_cmds=$lt_finish_cmds
18113 # Same as above, but a single script fragment to be evaled but not shown.
18114 finish_eval=$lt_finish_eval
18116 # Take the output of nm and produce a listing of raw symbols and C names.
18117 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18119 # Transform the output of nm in a proper C declaration
18120 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18122 # Transform the output of nm in a C name address pair
18123 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18125 # This is the shared library runtime path variable.
18126 runpath_var=$runpath_var
18128 # This is the shared library path variable.
18129 shlibpath_var=$shlibpath_var
18131 # Is shlibpath searched before the hard-coded library search path?
18132 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18134 # How to hardcode a shared library path into an executable.
18135 hardcode_action=$hardcode_action_GCJ
18137 # Whether we should hardcode library paths into libraries.
18138 hardcode_into_libs=$hardcode_into_libs
18140 # Flag to hardcode \$libdir into a binary during linking.
18141 # This must work even if \$libdir does not exist.
18142 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18144 # If ld is used when linking, flag to hardcode \$libdir into
18145 # a binary during linking. This must work even if \$libdir does
18147 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18149 # Whether we need a single -rpath flag with a separated argument.
18150 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18152 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18153 # resulting binary.
18154 hardcode_direct=$hardcode_direct_GCJ
18156 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18157 # resulting binary.
18158 hardcode_minus_L=$hardcode_minus_L_GCJ
18160 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18161 # the resulting binary.
18162 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18164 # Set to yes if building a shared library automatically hardcodes DIR into the library
18165 # and all subsequent libraries and executables linked against it.
18166 hardcode_automatic=$hardcode_automatic_GCJ
18168 # Variables whose values should be saved in libtool wrapper scripts and
18169 # restored at relink time.
18170 variables_saved_for_relink="$variables_saved_for_relink"
18172 # Whether libtool must link a program against all its dependency libraries.
18173 link_all_deplibs=$link_all_deplibs_GCJ
18175 # Compile-time system search path for libraries
18176 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18178 # Run-time system search path for libraries
18179 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18181 # Fix the shell variable \$srcfile for the compiler.
18182 fix_srcfile_path="$fix_srcfile_path_GCJ"
18184 # Set to yes if exported symbols are required.
18185 always_export_symbols=$always_export_symbols_GCJ
18187 # The commands to list exported symbols.
18188 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18190 # The commands to extract the exported symbol list from a shared archive.
18191 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18193 # Symbols that should not be listed in the preloaded symbols.
18194 exclude_expsyms=$lt_exclude_expsyms_GCJ
18196 # Symbols that must always be exported.
18197 include_expsyms=$lt_include_expsyms_GCJ
18199 # ### END LIBTOOL TAG CONFIG: $tagname
18205 # If there is no Makefile yet, we rely on a make rule to execute
18206 # `config.status --recheck' to rerun these tests and create the
18207 # libtool script then.
18208 test -f Makefile
&& make "$ltmain"
18213 ac_cpp
='$CPP $CPPFLAGS'
18214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18229 # Source file extension for RC test sources.
18232 # Object file extension for compiled RC test sources.
18236 # Code to be used in simple compile tests
18237 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18239 # Code to be used in simple link tests
18240 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18242 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18244 # If no C compiler was specified, use CC.
18247 # Allow CC to be a program name with arguments.
18251 # Allow CC to be a program name with arguments.
18256 lt_cv_prog_compiler_c_o_RC
=yes
18258 # The else clause should only fire when bootstrapping the
18259 # libtool distribution, otherwise you forgot to ship ltmain.sh
18260 # with your package, and you will get complaints that there are
18261 # no rules to generate ltmain.sh.
18262 if test -f "$ltmain"; then
18263 # See if we are running on zsh, and set the options which allow our commands through
18264 # without removal of \ escapes.
18265 if test -n "${ZSH_VERSION+set}" ; then
18266 setopt NO_GLOB_SUBST
18268 # Now quote all the things that may contain metacharacters while being
18269 # careful not to overquote the AC_SUBSTed values. We take copies of the
18270 # variables and quote the copies for generation of the libtool script.
18271 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18272 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18273 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18274 deplibs_check_method reload_flag reload_cmds need_locks \
18275 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18276 lt_cv_sys_global_symbol_to_c_name_address \
18277 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18278 old_postinstall_cmds old_postuninstall_cmds \
18282 lt_prog_compiler_wl_RC \
18283 lt_prog_compiler_pic_RC \
18284 lt_prog_compiler_static_RC \
18285 lt_prog_compiler_no_builtin_flag_RC \
18286 export_dynamic_flag_spec_RC \
18287 thread_safe_flag_spec_RC \
18288 whole_archive_flag_spec_RC \
18289 enable_shared_with_static_runtimes_RC \
18290 old_archive_cmds_RC \
18291 old_archive_from_new_cmds_RC \
18292 predep_objects_RC \
18293 postdep_objects_RC \
18296 compiler_lib_search_path_RC \
18298 archive_expsym_cmds_RC \
18299 postinstall_cmds_RC \
18300 postuninstall_cmds_RC \
18301 old_archive_from_expsyms_cmds_RC \
18302 allow_undefined_flag_RC \
18303 no_undefined_flag_RC \
18304 export_symbols_cmds_RC \
18305 hardcode_libdir_flag_spec_RC \
18306 hardcode_libdir_flag_spec_ld_RC \
18307 hardcode_libdir_separator_RC \
18308 hardcode_automatic_RC \
18310 module_expsym_cmds_RC \
18311 lt_cv_prog_compiler_c_o_RC \
18312 exclude_expsyms_RC \
18313 include_expsyms_RC
; do
18316 old_archive_cmds_RC | \
18317 old_archive_from_new_cmds_RC | \
18318 archive_cmds_RC | \
18319 archive_expsym_cmds_RC | \
18321 module_expsym_cmds_RC | \
18322 old_archive_from_expsyms_cmds_RC | \
18323 export_symbols_cmds_RC | \
18324 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18325 postinstall_cmds | postuninstall_cmds | \
18326 old_postinstall_cmds | old_postuninstall_cmds | \
18327 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18328 # Double-quote double-evaled strings.
18329 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\" -e \"\$unescape_variable_subst\"\`\\\""
18332 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18338 *'\$0 --fallback-echo"')
18339 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18345 cat <<__EOF__ >> "$cfgfile"
18346 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18348 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18350 # Set the command separator (default: ~)
18351 _S_=\${LIBTOOL_CMD_SEP-\~}
18353 # Shell to use when invoking shell scripts.
18356 # Whether or not to build shared libraries.
18357 build_libtool_libs=$enable_shared
18359 # Whether or not to build static libraries.
18360 build_old_libs=$enable_static
18362 # Whether or not to add -lc for building shared libraries.
18363 build_libtool_need_lc=$archive_cmds_need_lc_RC
18365 # Whether or not to disallow shared libs when runtime libs are static
18366 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18368 # Whether or not to optimize for fast installation.
18369 fast_install=$enable_fast_install
18372 host_alias=$host_alias
18375 # An echo program that does not interpret backslashes.
18380 AR_FLAGS=$lt_AR_FLAGS
18385 # A language-specific compiler.
18388 # Is the compiler the GNU C compiler?
18394 # The linker used to build libraries.
18397 # Whether we need hard or soft links.
18400 # A BSD-compatible nm program.
18403 # A symbol stripping program
18406 # Used to examine libraries when file_magic_cmd begins "file"
18407 MAGIC_CMD=$MAGIC_CMD
18409 # Used on cygwin: DLL creation program.
18412 # Used on cygwin: object dumper.
18415 # Used on cygwin: assembler.
18418 # The name of the directory that contains temporary libtool files.
18421 # How to create reloadable object files.
18422 reload_flag=$lt_reload_flag
18423 reload_cmds=$lt_reload_cmds
18425 # How to pass a linker flag through the compiler.
18426 wl=$lt_lt_prog_compiler_wl_RC
18428 # Object file suffix (normally "o").
18429 objext="$ac_objext"
18431 # Old archive suffix (normally "a").
18434 # Shared library suffix (normally ".so").
18437 # Executable file suffix (normally "").
18440 # Additional compiler flags for building library objects.
18441 pic_flag=$lt_lt_prog_compiler_pic_RC
18444 # What is the maximum length of a command?
18445 max_cmd_len=$lt_cv_sys_max_cmd_len
18447 # Does compiler simultaneously support -c and -o options?
18448 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18450 # Must we lock files when doing compilation ?
18451 need_locks=$lt_need_locks
18453 # Do we need the lib prefix for modules?
18454 need_lib_prefix=$need_lib_prefix
18456 # Do we need a version for libraries?
18457 need_version=$need_version
18459 # Whether dlopen is supported.
18460 dlopen_support=$enable_dlopen
18462 # Whether dlopen of programs is supported.
18463 dlopen_self=$enable_dlopen_self
18465 # Whether dlopen of statically linked programs is supported.
18466 dlopen_self_static=$enable_dlopen_self_static
18468 # Compiler flag to prevent dynamic linking.
18469 link_static_flag=$lt_lt_prog_compiler_static_RC
18471 # Compiler flag to turn off builtin functions.
18472 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18474 # Compiler flag to allow reflexive dlopens.
18475 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18477 # Compiler flag to generate shared objects directly from archives.
18478 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18480 # Compiler flag to generate thread-safe objects.
18481 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18483 # Library versioning type.
18484 version_type=$version_type
18486 # Format of library name prefix.
18487 libname_spec=$lt_libname_spec
18489 # List of archive names. First name is the real one, the rest are links.
18490 # The last name is the one that the linker finds with -lNAME.
18491 library_names_spec=$lt_library_names_spec
18493 # The coded name of the library, if different from the real name.
18494 soname_spec=$lt_soname_spec
18496 # Commands used to build and install an old-style archive.
18498 old_archive_cmds=$lt_old_archive_cmds_RC
18499 old_postinstall_cmds=$lt_old_postinstall_cmds
18500 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18502 # Create an old-style archive from a shared archive.
18503 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18505 # Create a temporary old-style archive to link instead of a shared archive.
18506 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18508 # Commands used to build and install a shared archive.
18509 archive_cmds=$lt_archive_cmds_RC
18510 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18511 postinstall_cmds=$lt_postinstall_cmds
18512 postuninstall_cmds=$lt_postuninstall_cmds
18514 # Commands used to build a loadable module (assumed same as above if empty)
18515 module_cmds=$lt_module_cmds_RC
18516 module_expsym_cmds=$lt_module_expsym_cmds_RC
18518 # Commands to strip libraries.
18519 old_striplib=$lt_old_striplib
18520 striplib=$lt_striplib
18522 # Dependencies to place before the objects being linked to create a
18524 predep_objects=$lt_predep_objects_RC
18526 # Dependencies to place after the objects being linked to create a
18528 postdep_objects=$lt_postdep_objects_RC
18530 # Dependencies to place before the objects being linked to create a
18532 predeps=$lt_predeps_RC
18534 # Dependencies to place after the objects being linked to create a
18536 postdeps=$lt_postdeps_RC
18538 # The library search path used internally by the compiler when linking
18539 # a shared library.
18540 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18542 # Method to check whether dependent libraries are shared objects.
18543 deplibs_check_method=$lt_deplibs_check_method
18545 # Command to use when deplibs_check_method == file_magic.
18546 file_magic_cmd=$lt_file_magic_cmd
18548 # Flag that allows shared libraries with undefined symbols to be built.
18549 allow_undefined_flag=$lt_allow_undefined_flag_RC
18551 # Flag that forces no undefined symbols.
18552 no_undefined_flag=$lt_no_undefined_flag_RC
18554 # Commands used to finish a libtool library installation in a directory.
18555 finish_cmds=$lt_finish_cmds
18557 # Same as above, but a single script fragment to be evaled but not shown.
18558 finish_eval=$lt_finish_eval
18560 # Take the output of nm and produce a listing of raw symbols and C names.
18561 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18563 # Transform the output of nm in a proper C declaration
18564 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18566 # Transform the output of nm in a C name address pair
18567 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18569 # This is the shared library runtime path variable.
18570 runpath_var=$runpath_var
18572 # This is the shared library path variable.
18573 shlibpath_var=$shlibpath_var
18575 # Is shlibpath searched before the hard-coded library search path?
18576 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18578 # How to hardcode a shared library path into an executable.
18579 hardcode_action=$hardcode_action_RC
18581 # Whether we should hardcode library paths into libraries.
18582 hardcode_into_libs=$hardcode_into_libs
18584 # Flag to hardcode \$libdir into a binary during linking.
18585 # This must work even if \$libdir does not exist.
18586 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18588 # If ld is used when linking, flag to hardcode \$libdir into
18589 # a binary during linking. This must work even if \$libdir does
18591 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18593 # Whether we need a single -rpath flag with a separated argument.
18594 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18596 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18597 # resulting binary.
18598 hardcode_direct=$hardcode_direct_RC
18600 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18601 # resulting binary.
18602 hardcode_minus_L=$hardcode_minus_L_RC
18604 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18605 # the resulting binary.
18606 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18608 # Set to yes if building a shared library automatically hardcodes DIR into the library
18609 # and all subsequent libraries and executables linked against it.
18610 hardcode_automatic=$hardcode_automatic_RC
18612 # Variables whose values should be saved in libtool wrapper scripts and
18613 # restored at relink time.
18614 variables_saved_for_relink="$variables_saved_for_relink"
18616 # Whether libtool must link a program against all its dependency libraries.
18617 link_all_deplibs=$link_all_deplibs_RC
18619 # Compile-time system search path for libraries
18620 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18622 # Run-time system search path for libraries
18623 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18625 # Fix the shell variable \$srcfile for the compiler.
18626 fix_srcfile_path="$fix_srcfile_path_RC"
18628 # Set to yes if exported symbols are required.
18629 always_export_symbols=$always_export_symbols_RC
18631 # The commands to list exported symbols.
18632 export_symbols_cmds=$lt_export_symbols_cmds_RC
18634 # The commands to extract the exported symbol list from a shared archive.
18635 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18637 # Symbols that should not be listed in the preloaded symbols.
18638 exclude_expsyms=$lt_exclude_expsyms_RC
18640 # Symbols that must always be exported.
18641 include_expsyms=$lt_include_expsyms_RC
18643 # ### END LIBTOOL TAG CONFIG: $tagname
18649 # If there is no Makefile yet, we rely on a make rule to execute
18650 # `config.status --recheck' to rerun these tests and create the
18651 # libtool script then.
18652 test -f Makefile
&& make "$ltmain"
18657 ac_cpp
='$CPP $CPPFLAGS'
18658 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18659 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18660 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18667 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18668 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18669 { (exit 1); exit 1; }; }
18673 # Append the new tag name to the list of available tags.
18674 if test -n "$tagname" ; then
18675 available_tags
="$available_tags $tagname"
18681 # Now substitute the updated list of available tags.
18682 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18683 mv "${ofile}T" "$ofile"
18687 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18688 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18689 { (exit 1); exit 1; }; }
18695 # This can be used to rebuild libtool when needed
18696 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18698 # Always use our own libtool.
18699 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18701 # Prevent multiple expansion
18729 ac_header_dirent
=no
18730 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
18731 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
18732 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
18733 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
18734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18735 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 cat >conftest.
$ac_ext <<_ACEOF
18738 #line $LINENO "configure"
18741 cat confdefs.h
>>conftest.
$ac_ext
18742 cat >>conftest.
$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 #include <sys/types.h>
18756 rm -f conftest.
$ac_objext
18757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18758 (eval $ac_compile) 2>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } &&
18762 { ac_try
='test -s conftest.$ac_objext'
18763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764 (eval $ac_try) 2>&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; }; then
18768 eval "$as_ac_Header=yes"
18770 echo "$as_me: failed program was:" >&5
18771 sed 's/^/| /' conftest.
$ac_ext >&5
18773 eval "$as_ac_Header=no"
18775 rm -f conftest.
$ac_objext conftest.
$ac_ext
18777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18780 cat >>confdefs.h
<<_ACEOF
18781 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
18784 ac_header_dirent
=$ac_hdr; break
18788 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
18789 if test $ac_header_dirent = dirent.h
; then
18790 echo "$as_me:$LINENO: checking for library containing opendir" >&5
18791 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
18792 if test "${ac_cv_search_opendir+set}" = set; then
18793 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 ac_func_search_save_LIBS
=$LIBS
18796 ac_cv_search_opendir
=no
18797 cat >conftest.
$ac_ext <<_ACEOF
18798 #line $LINENO "configure"
18801 cat confdefs.h
>>conftest.
$ac_ext
18802 cat >>conftest.
$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18805 /* Override any gcc2 internal prototype to avoid an error. */
18809 /* We use char because int might match the return type of a gcc2
18810 builtin and then its argument prototype would still apply. */
18820 rm -f conftest.
$ac_objext conftest
$ac_exeext
18821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18822 (eval $ac_link) 2>&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); } &&
18826 { ac_try
='test -s conftest$ac_exeext'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; }; then
18832 ac_cv_search_opendir
="none required"
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.
$ac_ext >&5
18838 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18839 if test "$ac_cv_search_opendir" = no
; then
18840 for ac_lib
in dir
; do
18841 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18842 cat >conftest.
$ac_ext <<_ACEOF
18843 #line $LINENO "configure"
18846 cat confdefs.h
>>conftest.
$ac_ext
18847 cat >>conftest.
$ac_ext <<_ACEOF
18848 /* end confdefs.h. */
18850 /* Override any gcc2 internal prototype to avoid an error. */
18854 /* We use char because int might match the return type of a gcc2
18855 builtin and then its argument prototype would still apply. */
18865 rm -f conftest.
$ac_objext conftest
$ac_exeext
18866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18867 (eval $ac_link) 2>&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); } &&
18871 { ac_try
='test -s conftest$ac_exeext'
18872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18873 (eval $ac_try) 2>&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); }; }; then
18877 ac_cv_search_opendir
="-l$ac_lib"
18880 echo "$as_me: failed program was:" >&5
18881 sed 's/^/| /' conftest.
$ac_ext >&5
18884 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18887 LIBS
=$ac_func_search_save_LIBS
18889 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
18890 echo "${ECHO_T}$ac_cv_search_opendir" >&6
18891 if test "$ac_cv_search_opendir" != no
; then
18892 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
18897 echo "$as_me:$LINENO: checking for library containing opendir" >&5
18898 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
18899 if test "${ac_cv_search_opendir+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18902 ac_func_search_save_LIBS
=$LIBS
18903 ac_cv_search_opendir
=no
18904 cat >conftest.
$ac_ext <<_ACEOF
18905 #line $LINENO "configure"
18908 cat confdefs.h
>>conftest.
$ac_ext
18909 cat >>conftest.
$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18912 /* Override any gcc2 internal prototype to avoid an error. */
18916 /* We use char because int might match the return type of a gcc2
18917 builtin and then its argument prototype would still apply. */
18927 rm -f conftest.
$ac_objext conftest
$ac_exeext
18928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18929 (eval $ac_link) 2>&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); } &&
18933 { ac_try
='test -s conftest$ac_exeext'
18934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18935 (eval $ac_try) 2>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; }; then
18939 ac_cv_search_opendir
="none required"
18941 echo "$as_me: failed program was:" >&5
18942 sed 's/^/| /' conftest.
$ac_ext >&5
18945 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18946 if test "$ac_cv_search_opendir" = no
; then
18947 for ac_lib
in x
; do
18948 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18949 cat >conftest.
$ac_ext <<_ACEOF
18950 #line $LINENO "configure"
18953 cat confdefs.h
>>conftest.
$ac_ext
18954 cat >>conftest.
$ac_ext <<_ACEOF
18955 /* end confdefs.h. */
18957 /* Override any gcc2 internal prototype to avoid an error. */
18961 /* We use char because int might match the return type of a gcc2
18962 builtin and then its argument prototype would still apply. */
18972 rm -f conftest.
$ac_objext conftest
$ac_exeext
18973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18974 (eval $ac_link) 2>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); } &&
18978 { ac_try
='test -s conftest$ac_exeext'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 ac_cv_search_opendir
="-l$ac_lib"
18987 echo "$as_me: failed program was:" >&5
18988 sed 's/^/| /' conftest.
$ac_ext >&5
18991 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18994 LIBS
=$ac_func_search_save_LIBS
18996 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
18997 echo "${ECHO_T}$ac_cv_search_opendir" >&6
18998 if test "$ac_cv_search_opendir" != no
; then
18999 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
19005 # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
19006 if test "${enable_ltdl_install+set}" = set; then
19007 enableval
="$enable_ltdl_install"
19013 if test x
"${enable_ltdl_install-no}" != xno
; then
19015 INSTALL_LTDL_FALSE
='#'
19017 INSTALL_LTDL_TRUE
='#'
19018 INSTALL_LTDL_FALSE
=
19023 if test x
"${enable_ltdl_convenience-no}" != xno
; then
19024 CONVENIENCE_LTDL_TRUE
=
19025 CONVENIENCE_LTDL_FALSE
='#'
19027 CONVENIENCE_LTDL_TRUE
='#'
19028 CONVENIENCE_LTDL_FALSE
=
19033 echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
19034 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6
19035 if test "${libltdl_cv_shlibext+set}" = set; then
19036 echo $ECHO_N "(cached) $ECHO_C" >&6
19040 eval libltdl_cv_shlibext
=$shrext
19043 echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
19044 echo "${ECHO_T}$libltdl_cv_shlibext" >&6
19045 if test -n "$libltdl_cv_shlibext"; then
19047 cat >>confdefs.h
<<_ACEOF
19048 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
19054 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
19055 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
19056 if test "${libltdl_cv_shlibpath_var+set}" = set; then
19057 echo $ECHO_N "(cached) $ECHO_C" >&6
19059 libltdl_cv_shlibpath_var
="$shlibpath_var"
19061 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
19062 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
19063 if test -n "$libltdl_cv_shlibpath_var"; then
19065 cat >>confdefs.h
<<_ACEOF
19066 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
19072 echo "$as_me:$LINENO: checking for the default library search path" >&5
19073 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
19074 if test "${libltdl_cv_sys_search_path+set}" = set; then
19075 echo $ECHO_N "(cached) $ECHO_C" >&6
19077 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
19079 echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
19080 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6
19081 if test -n "$libltdl_cv_sys_search_path"; then
19083 for dir
in $libltdl_cv_sys_search_path; do
19084 if test -z "$sys_search_path"; then
19085 sys_search_path
="$dir"
19087 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
19091 cat >>confdefs.h
<<_ACEOF
19092 #define LTDL_SYSSEARCHPATH "$sys_search_path"
19097 echo "$as_me:$LINENO: checking for objdir" >&5
19098 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
19099 if test "${libltdl_cv_objdir+set}" = set; then
19100 echo $ECHO_N "(cached) $ECHO_C" >&6
19102 libltdl_cv_objdir
="$objdir"
19103 if test -n "$objdir"; then
19106 rm -f .libs
2>/dev
/null
19107 mkdir .libs
2>/dev
/null
19108 if test -d .libs
; then
19109 libltdl_cv_objdir
=.libs
19111 # MS-DOS does not allow filenames that begin with a dot.
19112 libltdl_cv_objdir
=_libs
19114 rmdir .libs
2>/dev
/null
19118 echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
19119 echo "${ECHO_T}$libltdl_cv_objdir" >&6
19121 cat >>confdefs.h
<<_ACEOF
19122 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
19127 echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
19128 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
19129 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
19130 echo $ECHO_N "(cached) $ECHO_C" >&6
19132 if test -n "$lt_cv_sys_global_symbol_pipe"; then
19133 libltdl_cv_preloaded_symbols
=yes
19135 libltdl_cv_preloaded_symbols
=no
19139 echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
19140 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
19141 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
19143 cat >>confdefs.h
<<\_ACEOF
19144 #define HAVE_PRELOADED_SYMBOLS 1
19152 ac_cpp
='$CPP $CPPFLAGS'
19153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19158 echo "$as_me:$LINENO: checking for shl_load" >&5
19159 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19160 if test "${ac_cv_func_shl_load+set}" = set; then
19161 echo $ECHO_N "(cached) $ECHO_C" >&6
19163 cat >conftest.
$ac_ext <<_ACEOF
19164 #line $LINENO "configure"
19167 cat confdefs.h
>>conftest.
$ac_ext
19168 cat >>conftest.
$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 /* System header to define __stub macros and hopefully few prototypes,
19171 which can conflict with char shl_load (); below.
19172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19173 <limits.h> exists even on freestanding compilers. */
19175 # include <limits.h>
19177 # include <assert.h>
19179 /* Override any gcc2 internal prototype to avoid an error. */
19184 /* We use char because int might match the return type of a gcc2
19185 builtin and then its argument prototype would still apply. */
19187 /* The GNU C library defines this for functions which it implements
19188 to always fail with ENOSYS. Some functions are actually named
19189 something starting with __ and the normal name is an alias. */
19190 #if defined (__stub_shl_load) || defined (__stub___shl_load)
19193 char (*f) () = shl_load;
19202 return f != shl_load;
19207 rm -f conftest.
$ac_objext conftest
$ac_exeext
19208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19209 (eval $ac_link) 2>&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); } &&
19213 { ac_try
='test -s conftest$ac_exeext'
19214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19215 (eval $ac_try) 2>&5
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); }; }; then
19219 ac_cv_func_shl_load
=yes
19221 echo "$as_me: failed program was:" >&5
19222 sed 's/^/| /' conftest.
$ac_ext >&5
19224 ac_cv_func_shl_load
=no
19226 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19228 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19229 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19230 if test $ac_cv_func_shl_load = yes; then
19232 cat >>confdefs.h
<<\_ACEOF
19233 #define HAVE_SHL_LOAD 1
19237 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19238 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19239 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19240 echo $ECHO_N "(cached) $ECHO_C" >&6
19242 ac_check_lib_save_LIBS
=$LIBS
19244 cat >conftest.
$ac_ext <<_ACEOF
19245 #line $LINENO "configure"
19248 cat confdefs.h
>>conftest.
$ac_ext
19249 cat >>conftest.
$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19252 /* Override any gcc2 internal prototype to avoid an error. */
19256 /* We use char because int might match the return type of a gcc2
19257 builtin and then its argument prototype would still apply. */
19267 rm -f conftest.
$ac_objext conftest
$ac_exeext
19268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19269 (eval $ac_link) 2>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } &&
19273 { ac_try
='test -s conftest$ac_exeext'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; }; then
19279 ac_cv_lib_dld_shl_load
=yes
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.
$ac_ext >&5
19284 ac_cv_lib_dld_shl_load
=no
19286 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19287 LIBS
=$ac_check_lib_save_LIBS
19289 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19290 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19291 if test $ac_cv_lib_dld_shl_load = yes; then
19293 cat >>confdefs.h
<<\_ACEOF
19294 #define HAVE_SHL_LOAD 1
19297 LIBADD_DL
="$LIBADD_DL -ldld"
19299 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19300 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19301 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19302 echo $ECHO_N "(cached) $ECHO_C" >&6
19304 ac_check_lib_save_LIBS
=$LIBS
19306 cat >conftest.
$ac_ext <<_ACEOF
19307 #line $LINENO "configure"
19310 cat confdefs.h
>>conftest.
$ac_ext
19311 cat >>conftest.
$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19314 /* Override any gcc2 internal prototype to avoid an error. */
19318 /* We use char because int might match the return type of a gcc2
19319 builtin and then its argument prototype would still apply. */
19329 rm -f conftest.
$ac_objext conftest
$ac_exeext
19330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19331 (eval $ac_link) 2>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } &&
19335 { ac_try
='test -s conftest$ac_exeext'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; }; then
19341 ac_cv_lib_dl_dlopen
=yes
19343 echo "$as_me: failed program was:" >&5
19344 sed 's/^/| /' conftest.
$ac_ext >&5
19346 ac_cv_lib_dl_dlopen
=no
19348 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19349 LIBS
=$ac_check_lib_save_LIBS
19351 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19352 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19353 if test $ac_cv_lib_dl_dlopen = yes; then
19355 cat >>confdefs.h
<<\_ACEOF
19356 #define HAVE_LIBDL 1
19359 LIBADD_DL
="-ldl" libltdl_cv_lib_dl_dlopen
="yes"
19361 cat >conftest.
$ac_ext <<_ACEOF
19362 #line $LINENO "configure"
19365 cat confdefs.h
>>conftest.
$ac_ext
19366 cat >>conftest.
$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19369 # include <dlfcn.h>
19380 rm -f conftest.
$ac_objext conftest
$ac_exeext
19381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19382 (eval $ac_link) 2>&5
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); } &&
19386 { ac_try
='test -s conftest$ac_exeext'
19387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19388 (eval $ac_try) 2>&5
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); }; }; then
19393 cat >>confdefs.h
<<\_ACEOF
19394 #define HAVE_LIBDL 1
19396 libltdl_cv_func_dlopen
="yes"
19398 echo "$as_me: failed program was:" >&5
19399 sed 's/^/| /' conftest.
$ac_ext >&5
19401 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19402 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19403 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19404 echo $ECHO_N "(cached) $ECHO_C" >&6
19406 ac_check_lib_save_LIBS
=$LIBS
19407 LIBS
="-lsvld $LIBS"
19408 cat >conftest.
$ac_ext <<_ACEOF
19409 #line $LINENO "configure"
19412 cat confdefs.h
>>conftest.
$ac_ext
19413 cat >>conftest.
$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19416 /* Override any gcc2 internal prototype to avoid an error. */
19420 /* We use char because int might match the return type of a gcc2
19421 builtin and then its argument prototype would still apply. */
19431 rm -f conftest.
$ac_objext conftest
$ac_exeext
19432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19433 (eval $ac_link) 2>&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); } &&
19437 { ac_try
='test -s conftest$ac_exeext'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; }; then
19443 ac_cv_lib_svld_dlopen
=yes
19445 echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.
$ac_ext >&5
19448 ac_cv_lib_svld_dlopen
=no
19450 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19451 LIBS
=$ac_check_lib_save_LIBS
19453 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19454 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19455 if test $ac_cv_lib_svld_dlopen = yes; then
19457 cat >>confdefs.h
<<\_ACEOF
19458 #define HAVE_LIBDL 1
19461 LIBADD_DL
="-lsvld" libltdl_cv_func_dlopen
="yes"
19463 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19464 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19465 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19466 echo $ECHO_N "(cached) $ECHO_C" >&6
19468 ac_check_lib_save_LIBS
=$LIBS
19470 cat >conftest.
$ac_ext <<_ACEOF
19471 #line $LINENO "configure"
19474 cat confdefs.h
>>conftest.
$ac_ext
19475 cat >>conftest.
$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19478 /* Override any gcc2 internal prototype to avoid an error. */
19482 /* We use char because int might match the return type of a gcc2
19483 builtin and then its argument prototype would still apply. */
19493 rm -f conftest.
$ac_objext conftest
$ac_exeext
19494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19495 (eval $ac_link) 2>&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); } &&
19499 { ac_try
='test -s conftest$ac_exeext'
19500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19501 (eval $ac_try) 2>&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); }; }; then
19505 ac_cv_lib_dld_dld_link
=yes
19507 echo "$as_me: failed program was:" >&5
19508 sed 's/^/| /' conftest.
$ac_ext >&5
19510 ac_cv_lib_dld_dld_link
=no
19512 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19513 LIBS
=$ac_check_lib_save_LIBS
19515 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19516 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19517 if test $ac_cv_lib_dld_dld_link = yes; then
19519 cat >>confdefs.h
<<\_ACEOF
19523 LIBADD_DL
="$LIBADD_DL -ldld"
19525 echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
19526 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
19527 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
19528 echo $ECHO_N "(cached) $ECHO_C" >&6
19530 cat >conftest.
$ac_ext <<_ACEOF
19531 #line $LINENO "configure"
19534 cat confdefs.h
>>conftest.
$ac_ext
19535 cat >>conftest.
$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 /* System header to define __stub macros and hopefully few prototypes,
19538 which can conflict with char _dyld_func_lookup (); below.
19539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19540 <limits.h> exists even on freestanding compilers. */
19542 # include <limits.h>
19544 # include <assert.h>
19546 /* Override any gcc2 internal prototype to avoid an error. */
19551 /* We use char because int might match the return type of a gcc2
19552 builtin and then its argument prototype would still apply. */
19553 char _dyld_func_lookup ();
19554 /* The GNU C library defines this for functions which it implements
19555 to always fail with ENOSYS. Some functions are actually named
19556 something starting with __ and the normal name is an alias. */
19557 #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
19560 char (*f) () = _dyld_func_lookup;
19569 return f != _dyld_func_lookup;
19574 rm -f conftest.
$ac_objext conftest
$ac_exeext
19575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19576 (eval $ac_link) 2>&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); } &&
19580 { ac_try
='test -s conftest$ac_exeext'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; }; then
19586 ac_cv_func__dyld_func_lookup
=yes
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.
$ac_ext >&5
19591 ac_cv_func__dyld_func_lookup
=no
19593 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19595 echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
19596 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
19597 if test $ac_cv_func__dyld_func_lookup = yes; then
19599 cat >>confdefs.h
<<\_ACEOF
19600 #define HAVE_DYLD 1
19613 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19624 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
19626 lt_save_LIBS
="$LIBS"
19627 LIBS
="$LIBS $LIBADD_DL"
19629 for ac_func
in dlerror
19631 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19632 echo "$as_me:$LINENO: checking for $ac_func" >&5
19633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19634 if eval "test \"\${$as_ac_var+set}\" = set"; then
19635 echo $ECHO_N "(cached) $ECHO_C" >&6
19637 cat >conftest.
$ac_ext <<_ACEOF
19638 #line $LINENO "configure"
19641 cat confdefs.h
>>conftest.
$ac_ext
19642 cat >>conftest.
$ac_ext <<_ACEOF
19643 /* end confdefs.h. */
19644 /* System header to define __stub macros and hopefully few prototypes,
19645 which can conflict with char $ac_func (); below.
19646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19647 <limits.h> exists even on freestanding compilers. */
19649 # include <limits.h>
19651 # include <assert.h>
19653 /* Override any gcc2 internal prototype to avoid an error. */
19658 /* We use char because int might match the return type of a gcc2
19659 builtin and then its argument prototype would still apply. */
19661 /* The GNU C library defines this for functions which it implements
19662 to always fail with ENOSYS. Some functions are actually named
19663 something starting with __ and the normal name is an alias. */
19664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19667 char (*f) () = $ac_func;
19676 return f != $ac_func;
19681 rm -f conftest.
$ac_objext conftest
$ac_exeext
19682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19683 (eval $ac_link) 2>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } &&
19687 { ac_try
='test -s conftest$ac_exeext'
19688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19689 (eval $ac_try) 2>&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); }; }; then
19693 eval "$as_ac_var=yes"
19695 echo "$as_me: failed program was:" >&5
19696 sed 's/^/| /' conftest.
$ac_ext >&5
19698 eval "$as_ac_var=no"
19700 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19704 if test `eval echo '${'$as_ac_var'}'` = yes; then
19705 cat >>confdefs.h
<<_ACEOF
19706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19712 LIBS
="$lt_save_LIBS"
19715 ac_cpp
='$CPP $CPPFLAGS'
19716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19722 echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
19723 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
19724 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
19725 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 ac_cv_sys_symbol_underscore
=no
19728 cat > conftest.
$ac_ext <<EOF
19729 void nm_test_func(){}
19730 int main(){nm_test_func;return 0;}
19732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19733 (eval $ac_compile) 2>&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); }; then
19737 # Now try to grab the symbols.
19738 ac_nlist
=conftest.nm
19739 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
19740 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } && test -s "$ac_nlist"; then
19744 # See whether the symbols have a leading underscore.
19745 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
19746 ac_cv_sys_symbol_underscore
=yes
19748 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
19751 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
19755 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
19758 echo "configure: failed program was:" >&5
19764 echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
19765 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
19768 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
19769 if test x
"$libltdl_cv_func_dlopen" = xyes ||
19770 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
19771 echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
19772 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
19773 if test "${libltdl_cv_need_uscore+set}" = set; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19776 libltdl_cv_need_uscore
=unknown
19778 LIBS
="$LIBS $LIBADD_DL"
19779 if test "$cross_compiling" = yes; then :
19780 libltdl_cv_need_uscore
=cross
19782 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
19783 lt_status
=$lt_dlunknown
19784 cat > conftest.
$ac_ext <<EOF
19785 #line 19697 "configure"
19786 #include "confdefs.h"
19795 # define LT_DLGLOBAL RTLD_GLOBAL
19798 # define LT_DLGLOBAL DL_GLOBAL
19800 # define LT_DLGLOBAL 0
19804 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19805 find out it does not work in some platform. */
19806 #ifndef LT_DLLAZY_OR_NOW
19808 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19811 # define LT_DLLAZY_OR_NOW DL_LAZY
19814 # define LT_DLLAZY_OR_NOW RTLD_NOW
19817 # define LT_DLLAZY_OR_NOW DL_NOW
19819 # define LT_DLLAZY_OR_NOW 0
19827 extern "C" void exit (int);
19830 void fnord() { int i=42;}
19833 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19834 int status = $lt_dlunknown;
19838 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19839 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19840 /* dlclose (self); */
19846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19847 (eval $ac_link) 2>&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
19851 (.
/conftest
; exit; ) 2>/dev
/null
19853 case x
$lt_status in
19854 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
19855 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
19856 x
$lt_unknown|x
*) ;;
19859 # compilation failed
19868 echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
19869 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
19873 if test x
"$libltdl_cv_need_uscore" = xyes
; then
19875 cat >>confdefs.h
<<\_ACEOF
19876 #define NEED_USCORE 1
19882 echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
19883 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
19884 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 # PORTME does your system automatically load deplibs for dlopen?
19888 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
19889 # For now, we just catch OSes we know something about -- in the
19890 # future, we'll try test this programmatically.
19891 libltdl_cv_sys_dlopen_deplibs
=unknown
19893 aix3
*|aix4.1.
*|aix4.2.
*)
19894 # Unknown whether this is true for these versions of AIX, but
19895 # we want this `case' here to explicitly catch those versions.
19896 libltdl_cv_sys_dlopen_deplibs
=unknown
19899 libltdl_cv_sys_dlopen_deplibs
=yes
19902 # Assuming the user has installed a libdl from somewhere, this is true
19903 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
19904 libltdl_cv_sys_dlopen_deplibs
=yes
19907 libltdl_cv_sys_dlopen_deplibs
=yes
19910 libltdl_cv_sys_dlopen_deplibs
=yes
19912 irix
[12345]*|irix6.
[01]*)
19913 # Catch all versions of IRIX before 6.2, and indicate that we don't
19914 # know how it worked for any of those versions.
19915 libltdl_cv_sys_dlopen_deplibs
=unknown
19918 # The case above catches anything before 6.2, and it's known that
19919 # at 6.2 and later dlopen does load deplibs.
19920 libltdl_cv_sys_dlopen_deplibs
=yes
19923 libltdl_cv_sys_dlopen_deplibs
=yes
19926 libltdl_cv_sys_dlopen_deplibs
=yes
19929 libltdl_cv_sys_dlopen_deplibs
=yes
19932 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
19933 # it did *not* use an RPATH in a shared library to find objects the
19934 # library depends on, so we explictly say `no'.
19935 libltdl_cv_sys_dlopen_deplibs
=no
19937 osf5.0|osf5.0a|osf5.1
)
19938 # dlopen *does* load deplibs and with the right loader patch applied
19939 # it even uses RPATH in a shared library to search for shared objects
19940 # that the library depends on, but there's no easy way to know if that
19941 # patch is installed. Since this is the case, all we can really
19942 # say is unknown -- it depends on the patch being installed. If
19943 # it is, this changes to `yes'. Without it, it would be `no'.
19944 libltdl_cv_sys_dlopen_deplibs
=unknown
19947 # the two cases above should catch all versions of osf <= 5.1. Read
19948 # the comments above for what we know about them.
19949 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
19950 # is used to find them so we can finally say `yes'.
19951 libltdl_cv_sys_dlopen_deplibs
=yes
19954 libltdl_cv_sys_dlopen_deplibs
=yes
19959 echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
19960 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6
19961 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
19963 cat >>confdefs.h
<<\_ACEOF
19964 #define LTDL_DLOPEN_DEPLIBS 1
19970 for ac_header
in argz.h
19972 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19974 echo "$as_me:$LINENO: checking for $ac_header" >&5
19975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19977 echo $ECHO_N "(cached) $ECHO_C" >&6
19979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19982 # Is the header compilable?
19983 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19984 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19985 cat >conftest.
$ac_ext <<_ACEOF
19986 #line $LINENO "configure"
19989 cat confdefs.h
>>conftest.
$ac_ext
19990 cat >>conftest.
$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 $ac_includes_default
19993 #include <$ac_header>
19995 rm -f conftest.
$ac_objext
19996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19997 (eval $ac_compile) 2>&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); } &&
20001 { ac_try
='test -s conftest.$ac_objext'
20002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003 (eval $ac_try) 2>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; }; then
20007 ac_header_compiler
=yes
20009 echo "$as_me: failed program was:" >&5
20010 sed 's/^/| /' conftest.
$ac_ext >&5
20012 ac_header_compiler
=no
20014 rm -f conftest.
$ac_objext conftest.
$ac_ext
20015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20016 echo "${ECHO_T}$ac_header_compiler" >&6
20018 # Is the header present?
20019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20021 cat >conftest.
$ac_ext <<_ACEOF
20022 #line $LINENO "configure"
20025 cat confdefs.h
>>conftest.
$ac_ext
20026 cat >>conftest.
$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 #include <$ac_header>
20030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20031 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20033 grep -v '^ *+' conftest.er1
>conftest.err
20035 cat conftest.err
>&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); } >/dev
/null
; then
20038 if test -s conftest.err
; then
20039 ac_cpp_err
=$ac_c_preproc_warn_flag
20046 if test -z "$ac_cpp_err"; then
20047 ac_header_preproc
=yes
20049 echo "$as_me: failed program was:" >&5
20050 sed 's/^/| /' conftest.
$ac_ext >&5
20052 ac_header_preproc
=no
20054 rm -f conftest.err conftest.
$ac_ext
20055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20056 echo "${ECHO_T}$ac_header_preproc" >&6
20058 # So? What about this header?
20059 case $ac_header_compiler:$ac_header_preproc in
20061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20067 ## ------------------------------------ ##
20068 ## Report this to bug-autoconf@gnu.org. ##
20069 ## ------------------------------------ ##
20072 sed "s/^/$as_me: WARNING: /" >&2
20075 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20076 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20077 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20078 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20083 ## ------------------------------------ ##
20084 ## Report this to bug-autoconf@gnu.org. ##
20085 ## ------------------------------------ ##
20088 sed "s/^/$as_me: WARNING: /" >&2
20091 echo "$as_me:$LINENO: checking for $ac_header" >&5
20092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20094 echo $ECHO_N "(cached) $ECHO_C" >&6
20096 eval "$as_ac_Header=$ac_header_preproc"
20098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20102 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20103 cat >>confdefs.h
<<_ACEOF
20104 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20112 echo "$as_me:$LINENO: checking for error_t" >&5
20113 echo $ECHO_N "checking for error_t... $ECHO_C" >&6
20114 if test "${ac_cv_type_error_t+set}" = set; then
20115 echo $ECHO_N "(cached) $ECHO_C" >&6
20117 cat >conftest.
$ac_ext <<_ACEOF
20118 #line $LINENO "configure"
20121 cat confdefs.h
>>conftest.
$ac_ext
20122 cat >>conftest.
$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20133 if (sizeof (error_t))
20139 rm -f conftest.
$ac_objext
20140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20141 (eval $ac_compile) 2>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } &&
20145 { ac_try
='test -s conftest.$ac_objext'
20146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147 (eval $ac_try) 2>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); }; }; then
20151 ac_cv_type_error_t
=yes
20153 echo "$as_me: failed program was:" >&5
20154 sed 's/^/| /' conftest.
$ac_ext >&5
20156 ac_cv_type_error_t
=no
20158 rm -f conftest.
$ac_objext conftest.
$ac_ext
20160 echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
20161 echo "${ECHO_T}$ac_cv_type_error_t" >&6
20162 if test $ac_cv_type_error_t = yes; then
20164 cat >>confdefs.h
<<_ACEOF
20165 #define HAVE_ERROR_T 1
20171 cat >>confdefs.h
<<\_ACEOF
20172 #define error_t int
20183 for ac_func
in argz_append argz_create_sep argz_insert argz_next argz_stringify
20185 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20186 echo "$as_me:$LINENO: checking for $ac_func" >&5
20187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20188 if eval "test \"\${$as_ac_var+set}\" = set"; then
20189 echo $ECHO_N "(cached) $ECHO_C" >&6
20191 cat >conftest.
$ac_ext <<_ACEOF
20192 #line $LINENO "configure"
20195 cat confdefs.h
>>conftest.
$ac_ext
20196 cat >>conftest.
$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 /* System header to define __stub macros and hopefully few prototypes,
20199 which can conflict with char $ac_func (); below.
20200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20201 <limits.h> exists even on freestanding compilers. */
20203 # include <limits.h>
20205 # include <assert.h>
20207 /* Override any gcc2 internal prototype to avoid an error. */
20212 /* We use char because int might match the return type of a gcc2
20213 builtin and then its argument prototype would still apply. */
20215 /* The GNU C library defines this for functions which it implements
20216 to always fail with ENOSYS. Some functions are actually named
20217 something starting with __ and the normal name is an alias. */
20218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20221 char (*f) () = $ac_func;
20230 return f != $ac_func;
20235 rm -f conftest.
$ac_objext conftest
$ac_exeext
20236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20237 (eval $ac_link) 2>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } &&
20241 { ac_try
='test -s conftest$ac_exeext'
20242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20243 (eval $ac_try) 2>&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); }; }; then
20247 eval "$as_ac_var=yes"
20249 echo "$as_me: failed program was:" >&5
20250 sed 's/^/| /' conftest.
$ac_ext >&5
20252 eval "$as_ac_var=no"
20254 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20258 if test `eval echo '${'$as_ac_var'}'` = yes; then
20259 cat >>confdefs.h
<<_ACEOF
20260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20293 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
20296 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20298 echo "$as_me:$LINENO: checking for $ac_header" >&5
20299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20301 echo $ECHO_N "(cached) $ECHO_C" >&6
20303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20306 # Is the header compilable?
20307 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20308 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20309 cat >conftest.
$ac_ext <<_ACEOF
20310 #line $LINENO "configure"
20313 cat confdefs.h
>>conftest.
$ac_ext
20314 cat >>conftest.
$ac_ext <<_ACEOF
20315 /* end confdefs.h. */
20316 $ac_includes_default
20317 #include <$ac_header>
20319 rm -f conftest.
$ac_objext
20320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20321 (eval $ac_compile) 2>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } &&
20325 { ac_try
='test -s conftest.$ac_objext'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; }; then
20331 ac_header_compiler
=yes
20333 echo "$as_me: failed program was:" >&5
20334 sed 's/^/| /' conftest.
$ac_ext >&5
20336 ac_header_compiler
=no
20338 rm -f conftest.
$ac_objext conftest.
$ac_ext
20339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20340 echo "${ECHO_T}$ac_header_compiler" >&6
20342 # Is the header present?
20343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20345 cat >conftest.
$ac_ext <<_ACEOF
20346 #line $LINENO "configure"
20349 cat confdefs.h
>>conftest.
$ac_ext
20350 cat >>conftest.
$ac_ext <<_ACEOF
20351 /* end confdefs.h. */
20352 #include <$ac_header>
20354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20357 grep -v '^ *+' conftest.er1
>conftest.err
20359 cat conftest.err
>&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } >/dev
/null
; then
20362 if test -s conftest.err
; then
20363 ac_cpp_err
=$ac_c_preproc_warn_flag
20370 if test -z "$ac_cpp_err"; then
20371 ac_header_preproc
=yes
20373 echo "$as_me: failed program was:" >&5
20374 sed 's/^/| /' conftest.
$ac_ext >&5
20376 ac_header_preproc
=no
20378 rm -f conftest.err conftest.
$ac_ext
20379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20380 echo "${ECHO_T}$ac_header_preproc" >&6
20382 # So? What about this header?
20383 case $ac_header_compiler:$ac_header_preproc in
20385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20391 ## ------------------------------------ ##
20392 ## Report this to bug-autoconf@gnu.org. ##
20393 ## ------------------------------------ ##
20396 sed "s/^/$as_me: WARNING: /" >&2
20399 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20400 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20401 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20402 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20407 ## ------------------------------------ ##
20408 ## Report this to bug-autoconf@gnu.org. ##
20409 ## ------------------------------------ ##
20412 sed "s/^/$as_me: WARNING: /" >&2
20415 echo "$as_me:$LINENO: checking for $ac_header" >&5
20416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20420 eval "$as_ac_Header=$ac_header_preproc"
20422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20427 cat >>confdefs.h
<<_ACEOF
20428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20439 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
20441 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20443 echo "$as_me:$LINENO: checking for $ac_header" >&5
20444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20446 echo $ECHO_N "(cached) $ECHO_C" >&6
20448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20451 # Is the header compilable?
20452 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20454 cat >conftest.
$ac_ext <<_ACEOF
20455 #line $LINENO "configure"
20458 cat confdefs.h
>>conftest.
$ac_ext
20459 cat >>conftest.
$ac_ext <<_ACEOF
20460 /* end confdefs.h. */
20461 $ac_includes_default
20462 #include <$ac_header>
20464 rm -f conftest.
$ac_objext
20465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20466 (eval $ac_compile) 2>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); } &&
20470 { ac_try
='test -s conftest.$ac_objext'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20476 ac_header_compiler
=yes
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.
$ac_ext >&5
20481 ac_header_compiler
=no
20483 rm -f conftest.
$ac_objext conftest.
$ac_ext
20484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20485 echo "${ECHO_T}$ac_header_compiler" >&6
20487 # Is the header present?
20488 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20490 cat >conftest.
$ac_ext <<_ACEOF
20491 #line $LINENO "configure"
20494 cat confdefs.h
>>conftest.
$ac_ext
20495 cat >>conftest.
$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20497 #include <$ac_header>
20499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20500 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20502 grep -v '^ *+' conftest.er1
>conftest.err
20504 cat conftest.err
>&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); } >/dev
/null
; then
20507 if test -s conftest.err
; then
20508 ac_cpp_err
=$ac_c_preproc_warn_flag
20515 if test -z "$ac_cpp_err"; then
20516 ac_header_preproc
=yes
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.
$ac_ext >&5
20521 ac_header_preproc
=no
20523 rm -f conftest.err conftest.
$ac_ext
20524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20525 echo "${ECHO_T}$ac_header_preproc" >&6
20527 # So? What about this header?
20528 case $ac_header_compiler:$ac_header_preproc in
20530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20536 ## ------------------------------------ ##
20537 ## Report this to bug-autoconf@gnu.org. ##
20538 ## ------------------------------------ ##
20541 sed "s/^/$as_me: WARNING: /" >&2
20544 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20546 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20547 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20552 ## ------------------------------------ ##
20553 ## Report this to bug-autoconf@gnu.org. ##
20554 ## ------------------------------------ ##
20557 sed "s/^/$as_me: WARNING: /" >&2
20560 echo "$as_me:$LINENO: checking for $ac_header" >&5
20561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20563 echo $ECHO_N "(cached) $ECHO_C" >&6
20565 eval "$as_ac_Header=$ac_header_preproc"
20567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20572 cat >>confdefs.h
<<_ACEOF
20573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20582 for ac_header
in string.h
strings.h
20584 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20586 echo "$as_me:$LINENO: checking for $ac_header" >&5
20587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20589 echo $ECHO_N "(cached) $ECHO_C" >&6
20591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20594 # Is the header compilable?
20595 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20596 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20597 cat >conftest.
$ac_ext <<_ACEOF
20598 #line $LINENO "configure"
20601 cat confdefs.h
>>conftest.
$ac_ext
20602 cat >>conftest.
$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 $ac_includes_default
20605 #include <$ac_header>
20607 rm -f conftest.
$ac_objext
20608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20609 (eval $ac_compile) 2>&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } &&
20613 { ac_try
='test -s conftest.$ac_objext'
20614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20615 (eval $ac_try) 2>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); }; }; then
20619 ac_header_compiler
=yes
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.
$ac_ext >&5
20624 ac_header_compiler
=no
20626 rm -f conftest.
$ac_objext conftest.
$ac_ext
20627 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20628 echo "${ECHO_T}$ac_header_compiler" >&6
20630 # Is the header present?
20631 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20632 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20633 cat >conftest.
$ac_ext <<_ACEOF
20634 #line $LINENO "configure"
20637 cat confdefs.h
>>conftest.
$ac_ext
20638 cat >>conftest.
$ac_ext <<_ACEOF
20639 /* end confdefs.h. */
20640 #include <$ac_header>
20642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20643 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20645 grep -v '^ *+' conftest.er1
>conftest.err
20647 cat conftest.err
>&5
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); } >/dev
/null
; then
20650 if test -s conftest.err
; then
20651 ac_cpp_err
=$ac_c_preproc_warn_flag
20658 if test -z "$ac_cpp_err"; then
20659 ac_header_preproc
=yes
20661 echo "$as_me: failed program was:" >&5
20662 sed 's/^/| /' conftest.
$ac_ext >&5
20664 ac_header_preproc
=no
20666 rm -f conftest.err conftest.
$ac_ext
20667 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20668 echo "${ECHO_T}$ac_header_preproc" >&6
20670 # So? What about this header?
20671 case $ac_header_compiler:$ac_header_preproc in
20673 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20674 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20676 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20679 ## ------------------------------------ ##
20680 ## Report this to bug-autoconf@gnu.org. ##
20681 ## ------------------------------------ ##
20684 sed "s/^/$as_me: WARNING: /" >&2
20687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20695 ## ------------------------------------ ##
20696 ## Report this to bug-autoconf@gnu.org. ##
20697 ## ------------------------------------ ##
20700 sed "s/^/$as_me: WARNING: /" >&2
20703 echo "$as_me:$LINENO: checking for $ac_header" >&5
20704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20706 echo $ECHO_N "(cached) $ECHO_C" >&6
20708 eval "$as_ac_Header=$ac_header_preproc"
20710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20715 cat >>confdefs.h
<<_ACEOF
20716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20726 for ac_func
in strchr index
20728 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20729 echo "$as_me:$LINENO: checking for $ac_func" >&5
20730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20731 if eval "test \"\${$as_ac_var+set}\" = set"; then
20732 echo $ECHO_N "(cached) $ECHO_C" >&6
20734 cat >conftest.
$ac_ext <<_ACEOF
20735 #line $LINENO "configure"
20738 cat confdefs.h
>>conftest.
$ac_ext
20739 cat >>conftest.
$ac_ext <<_ACEOF
20740 /* end confdefs.h. */
20741 /* System header to define __stub macros and hopefully few prototypes,
20742 which can conflict with char $ac_func (); below.
20743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20744 <limits.h> exists even on freestanding compilers. */
20746 # include <limits.h>
20748 # include <assert.h>
20750 /* Override any gcc2 internal prototype to avoid an error. */
20755 /* We use char because int might match the return type of a gcc2
20756 builtin and then its argument prototype would still apply. */
20758 /* The GNU C library defines this for functions which it implements
20759 to always fail with ENOSYS. Some functions are actually named
20760 something starting with __ and the normal name is an alias. */
20761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20764 char (*f) () = $ac_func;
20773 return f != $ac_func;
20778 rm -f conftest.
$ac_objext conftest
$ac_exeext
20779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20780 (eval $ac_link) 2>&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); } &&
20784 { ac_try
='test -s conftest$ac_exeext'
20785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20786 (eval $ac_try) 2>&5
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); }; }; then
20790 eval "$as_ac_var=yes"
20792 echo "$as_me: failed program was:" >&5
20793 sed 's/^/| /' conftest.
$ac_ext >&5
20795 eval "$as_ac_var=no"
20797 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20801 if test `eval echo '${'$as_ac_var'}'` = yes; then
20802 cat >>confdefs.h
<<_ACEOF
20803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20811 for ac_func
in strrchr rindex
20813 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20814 echo "$as_me:$LINENO: checking for $ac_func" >&5
20815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20816 if eval "test \"\${$as_ac_var+set}\" = set"; then
20817 echo $ECHO_N "(cached) $ECHO_C" >&6
20819 cat >conftest.
$ac_ext <<_ACEOF
20820 #line $LINENO "configure"
20823 cat confdefs.h
>>conftest.
$ac_ext
20824 cat >>conftest.
$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 /* System header to define __stub macros and hopefully few prototypes,
20827 which can conflict with char $ac_func (); below.
20828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20829 <limits.h> exists even on freestanding compilers. */
20831 # include <limits.h>
20833 # include <assert.h>
20835 /* Override any gcc2 internal prototype to avoid an error. */
20840 /* We use char because int might match the return type of a gcc2
20841 builtin and then its argument prototype would still apply. */
20843 /* The GNU C library defines this for functions which it implements
20844 to always fail with ENOSYS. Some functions are actually named
20845 something starting with __ and the normal name is an alias. */
20846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20849 char (*f) () = $ac_func;
20858 return f != $ac_func;
20863 rm -f conftest.
$ac_objext conftest
$ac_exeext
20864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20865 (eval $ac_link) 2>&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); } &&
20869 { ac_try
='test -s conftest$ac_exeext'
20870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20871 (eval $ac_try) 2>&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; }; then
20875 eval "$as_ac_var=yes"
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.
$ac_ext >&5
20880 eval "$as_ac_var=no"
20882 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20886 if test `eval echo '${'$as_ac_var'}'` = yes; then
20887 cat >>confdefs.h
<<_ACEOF
20888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20896 for ac_func
in memcpy bcopy
20898 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20899 echo "$as_me:$LINENO: checking for $ac_func" >&5
20900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20901 if eval "test \"\${$as_ac_var+set}\" = set"; then
20902 echo $ECHO_N "(cached) $ECHO_C" >&6
20904 cat >conftest.
$ac_ext <<_ACEOF
20905 #line $LINENO "configure"
20908 cat confdefs.h
>>conftest.
$ac_ext
20909 cat >>conftest.
$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911 /* System header to define __stub macros and hopefully few prototypes,
20912 which can conflict with char $ac_func (); below.
20913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20914 <limits.h> exists even on freestanding compilers. */
20916 # include <limits.h>
20918 # include <assert.h>
20920 /* Override any gcc2 internal prototype to avoid an error. */
20925 /* We use char because int might match the return type of a gcc2
20926 builtin and then its argument prototype would still apply. */
20928 /* The GNU C library defines this for functions which it implements
20929 to always fail with ENOSYS. Some functions are actually named
20930 something starting with __ and the normal name is an alias. */
20931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20934 char (*f) () = $ac_func;
20943 return f != $ac_func;
20948 rm -f conftest.
$ac_objext conftest
$ac_exeext
20949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20950 (eval $ac_link) 2>&5
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); } &&
20954 { ac_try
='test -s conftest$ac_exeext'
20955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20956 (eval $ac_try) 2>&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); }; }; then
20960 eval "$as_ac_var=yes"
20962 echo "$as_me: failed program was:" >&5
20963 sed 's/^/| /' conftest.
$ac_ext >&5
20965 eval "$as_ac_var=no"
20967 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20971 if test `eval echo '${'$as_ac_var'}'` = yes; then
20972 cat >>confdefs.h
<<_ACEOF
20973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20981 for ac_func
in memmove strcmp
20983 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20984 echo "$as_me:$LINENO: checking for $ac_func" >&5
20985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20986 if eval "test \"\${$as_ac_var+set}\" = set"; then
20987 echo $ECHO_N "(cached) $ECHO_C" >&6
20989 cat >conftest.
$ac_ext <<_ACEOF
20990 #line $LINENO "configure"
20993 cat confdefs.h
>>conftest.
$ac_ext
20994 cat >>conftest.
$ac_ext <<_ACEOF
20995 /* end confdefs.h. */
20996 /* System header to define __stub macros and hopefully few prototypes,
20997 which can conflict with char $ac_func (); below.
20998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20999 <limits.h> exists even on freestanding compilers. */
21001 # include <limits.h>
21003 # include <assert.h>
21005 /* Override any gcc2 internal prototype to avoid an error. */
21010 /* We use char because int might match the return type of a gcc2
21011 builtin and then its argument prototype would still apply. */
21013 /* The GNU C library defines this for functions which it implements
21014 to always fail with ENOSYS. Some functions are actually named
21015 something starting with __ and the normal name is an alias. */
21016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21019 char (*f) () = $ac_func;
21028 return f != $ac_func;
21033 rm -f conftest.
$ac_objext conftest
$ac_exeext
21034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21035 (eval $ac_link) 2>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); } &&
21039 { ac_try
='test -s conftest$ac_exeext'
21040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21041 (eval $ac_try) 2>&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); }; }; then
21045 eval "$as_ac_var=yes"
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.
$ac_ext >&5
21050 eval "$as_ac_var=no"
21052 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21056 if test `eval echo '${'$as_ac_var'}'` = yes; then
21057 cat >>confdefs.h
<<_ACEOF
21058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21067 for ac_func
in closedir opendir readdir
21069 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21070 echo "$as_me:$LINENO: checking for $ac_func" >&5
21071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21072 if eval "test \"\${$as_ac_var+set}\" = set"; then
21073 echo $ECHO_N "(cached) $ECHO_C" >&6
21075 cat >conftest.
$ac_ext <<_ACEOF
21076 #line $LINENO "configure"
21079 cat confdefs.h
>>conftest.
$ac_ext
21080 cat >>conftest.
$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 /* System header to define __stub macros and hopefully few prototypes,
21083 which can conflict with char $ac_func (); below.
21084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21085 <limits.h> exists even on freestanding compilers. */
21087 # include <limits.h>
21089 # include <assert.h>
21091 /* Override any gcc2 internal prototype to avoid an error. */
21096 /* We use char because int might match the return type of a gcc2
21097 builtin and then its argument prototype would still apply. */
21099 /* The GNU C library defines this for functions which it implements
21100 to always fail with ENOSYS. Some functions are actually named
21101 something starting with __ and the normal name is an alias. */
21102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21105 char (*f) () = $ac_func;
21114 return f != $ac_func;
21119 rm -f conftest.
$ac_objext conftest
$ac_exeext
21120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21121 (eval $ac_link) 2>&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); } &&
21125 { ac_try
='test -s conftest$ac_exeext'
21126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21127 (eval $ac_try) 2>&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); }; }; then
21131 eval "$as_ac_var=yes"
21133 echo "$as_me: failed program was:" >&5
21134 sed 's/^/| /' conftest.
$ac_ext >&5
21136 eval "$as_ac_var=no"
21138 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21142 if test `eval echo '${'$as_ac_var'}'` = yes; then
21143 cat >>confdefs.h
<<_ACEOF
21144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21156 ac_config_files
="$ac_config_files Makefile"
21158 cat >confcache
<<\_ACEOF
21159 # This file is a shell script that caches the results of configure
21160 # tests run on this system so they can be shared between configure
21161 # scripts and configure runs, see configure's option --config-cache.
21162 # It is not useful on other systems. If it contains results you don't
21163 # want to keep, you may remove or edit it.
21165 # config.status only pays attention to the cache file if you give it
21166 # the --recheck option to rerun configure.
21168 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21169 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21170 # following values.
21174 # The following way of writing the cache mishandles newlines in values,
21175 # but we know of no workaround that is simple, portable, and efficient.
21176 # So, don't put newlines in cache variables' values.
21177 # Ultrix sh set writes to stderr and can't be redirected directly,
21178 # and sets the high bit in the cache file unless we assign to the vars.
21181 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21183 # `set' does not quote correctly, so add quotes (double-quote
21184 # substitution turns \\\\ into \\, and sed turns \\ into \).
21187 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21190 # `set' quotes correctly as required by POSIX, so do not add quotes.
21192 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21199 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21201 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21203 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21204 if test -w $cache_file; then
21205 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21206 cat confcache
>$cache_file
21208 echo "not updating unwritable cache $cache_file"
21213 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21214 # Let make expand exec_prefix.
21215 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21217 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21218 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21219 # trailing colons and then remove the whole line if VPATH becomes empty
21220 # (actually we leave an empty line to preserve line numbers).
21221 if test "x$srcdir" = x.
; then
21222 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21223 s/:*\$(srcdir):*/:/;
21224 s/:*\${srcdir}:*/:/;
21226 s/^\([^=]*=[ ]*\):*/\1/;
21232 DEFS
=-DHAVE_CONFIG_H
21236 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21237 # 1. Remove the extension, and $U if already installed.
21238 ac_i
=`echo "$ac_i" |
21239 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21241 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
21242 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
21244 LIBOBJS
=$ac_libobjs
21246 LTLIBOBJS
=$ac_ltlibobjs
21249 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21250 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21251 Usually this means the macro was only invoked conditionally." >&5
21252 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21253 Usually this means the macro was only invoked conditionally." >&2;}
21254 { (exit 1); exit 1; }; }
21256 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21257 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21258 Usually this means the macro was only invoked conditionally." >&5
21259 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21260 Usually this means the macro was only invoked conditionally." >&2;}
21261 { (exit 1); exit 1; }; }
21263 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21264 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21265 Usually this means the macro was only invoked conditionally." >&5
21266 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21267 Usually this means the macro was only invoked conditionally." >&2;}
21268 { (exit 1); exit 1; }; }
21270 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
21271 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
21272 Usually this means the macro was only invoked conditionally." >&5
21273 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
21274 Usually this means the macro was only invoked conditionally." >&2;}
21275 { (exit 1); exit 1; }; }
21277 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
21278 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
21279 Usually this means the macro was only invoked conditionally." >&5
21280 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
21281 Usually this means the macro was only invoked conditionally." >&2;}
21282 { (exit 1); exit 1; }; }
21285 : ${CONFIG_STATUS=./config.status}
21286 ac_clean_files_save
=$ac_clean_files
21287 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21288 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21289 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21290 cat >$CONFIG_STATUS <<_ACEOF
21292 # Generated by $as_me.
21293 # Run this file to recreate the current configuration.
21294 # Compiler output produced by configure, useful for debugging
21295 # configure, is in config.log if it exists.
21298 ac_cs_recheck=false
21300 SHELL=\${CONFIG_SHELL-$SHELL}
21303 cat >>$CONFIG_STATUS <<\_ACEOF
21304 ## --------------------- ##
21305 ## M4sh Initialization. ##
21306 ## --------------------- ##
21308 # Be Bourne compatible
21309 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21312 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21313 # is contrary to our usage. Disable this feature.
21314 alias -g '${1+"$@"}'='"$@"'
21315 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
21319 # Support unset when possible.
21320 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
21327 # Work around bugs in pre-3.0 UWIN ksh.
21328 $as_unset ENV MAIL MAILPATH
21335 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21336 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21337 LC_TELEPHONE LC_TIME
21339 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
21340 eval $as_var=C
; export $as_var
21346 # Required to use basename.
21347 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21353 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
21354 as_basename
=basename
21360 # Name of the executable.
21361 as_me
=`$as_basename "$0" ||
21362 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21363 X"$0" : 'X\(//\)$' \| \
21364 X"$0" : 'X\(/\)$' \| \
21365 . : '\(.\)' 2>/dev/null ||
21367 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21368 /^X\/\(\/\/\)$/{ s//\1/; q; }
21369 /^X\/\(\/\).*/{ s//\1/; q; }
21373 # PATH needs CR, and LINENO needs CR and PATH.
21374 # Avoid depending upon Character Ranges.
21375 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21376 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21377 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21378 as_cr_digits
='0123456789'
21379 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21381 # The user is always right.
21382 if test "${PATH_SEPARATOR+set}" != set; then
21383 echo "#! /bin/sh" >conf$$.sh
21384 echo "exit 0" >>conf$$.sh
21386 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21395 as_lineno_1
=$LINENO
21396 as_lineno_2
=$LINENO
21397 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
21398 test "x$as_lineno_1" != "x$as_lineno_2" &&
21399 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
21400 # Find who we are. Look in the path if we contain no path at all
21403 *[\\/]* ) as_myself
=$0 ;;
21404 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21405 for as_dir
in $PATH
21408 test -z "$as_dir" && as_dir
=.
21409 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21414 # We did not find ourselves, most probably we were run as `sh COMMAND'
21415 # in which case we are not to be found in the path.
21416 if test "x$as_myself" = x
; then
21419 if test ! -f "$as_myself"; then
21420 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21421 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21422 { (exit 1); exit 1; }; }
21424 case $CONFIG_SHELL in
21426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21427 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
21430 test -z "$as_dir" && as_dir
=.
21431 for as_base
in sh bash ksh sh5
; do
21434 if ("$as_dir/$as_base" -c '
21435 as_lineno_1=$LINENO
21436 as_lineno_2=$LINENO
21437 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21438 test "x$as_lineno_1" != "x$as_lineno_2" &&
21439 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
21440 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
21441 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
21442 CONFIG_SHELL
=$as_dir/$as_base
21443 export CONFIG_SHELL
21444 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21452 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21453 # uniformly replaced by the line number. The first 'sed' inserts a
21454 # line-number line before each line; the second 'sed' does the real
21455 # work. The second script uses 'N' to pair each line-number line
21456 # with the numbered line, and appends trailing '-' during
21457 # substitution so that $LINENO is not a special case at line end.
21458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21459 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21460 sed '=' <$as_myself |
21465 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21468 s,^['$as_cr_digits']*\n,,
21469 ' >$as_me.lineno
&&
21470 chmod +x
$as_me.lineno ||
21471 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21472 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21473 { (exit 1); exit 1; }; }
21475 # Don't try to exec as it changes $[0], causing all sort of problems
21476 # (the dirname of $[0] is not the place where we might find the
21477 # original and so on. Autoconf is especially sensible to this).
21479 # Exit status is that of the last command.
21484 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21485 *c
*,-n*) ECHO_N
= ECHO_C
='
21487 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
21488 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
21491 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21497 rm -f conf$$ conf$$.exe conf$$.
file
21499 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21500 # We could just check for DJGPP; but this test a) works b) is more generic
21501 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21502 if test -f conf$$.exe
; then
21503 # Don't use ln at all; we don't have any links
21508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21513 rm -f conf$$ conf$$.exe conf$$.
file
21515 if mkdir
-p .
2>/dev
/null
; then
21521 as_executable_p
="test -f"
21523 # Sed expression to map a string onto a valid CPP name.
21524 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
21526 # Sed expression to map a string onto a valid variable name.
21527 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
21531 # We need space, tab and new line, in precisely that order.
21541 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21542 # report actual input values of CONFIG_FILES etc. instead of their
21543 # values after options handling. Logging --version etc. is OK.
21547 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21548 ## Running $as_me. ##
21553 This file was extended by libltdl $as_me 1.2, which was
21554 generated by GNU Autoconf 2.57. Invocation command line was
21556 CONFIG_FILES = $CONFIG_FILES
21557 CONFIG_HEADERS = $CONFIG_HEADERS
21558 CONFIG_LINKS = $CONFIG_LINKS
21559 CONFIG_COMMANDS = $CONFIG_COMMANDS
21563 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21567 # Files that config.status was made for.
21568 if test -n "$ac_config_files"; then
21569 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21572 if test -n "$ac_config_headers"; then
21573 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21576 if test -n "$ac_config_links"; then
21577 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21580 if test -n "$ac_config_commands"; then
21581 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21584 cat >>$CONFIG_STATUS <<\_ACEOF
21587 \`$as_me' instantiates files from templates according to the
21588 current configuration.
21590 Usage: $0 [OPTIONS] [FILE]...
21592 -h, --help print this help, then exit
21593 -V, --version print version number, then exit
21594 -q, --quiet do not print progress messages
21595 -d, --debug don't remove temporary files
21596 --recheck update $as_me by reconfiguring in the same conditions
21597 --file=FILE[:TEMPLATE]
21598 instantiate the configuration file FILE
21599 --header=FILE[:TEMPLATE]
21600 instantiate the configuration header FILE
21602 Configuration files:
21605 Configuration headers:
21608 Configuration commands:
21611 Report bugs to <bug-autoconf@gnu.org>."
21614 cat >>$CONFIG_STATUS <<_ACEOF
21616 libltdl config.status 1.2
21617 configured by $0, generated by GNU Autoconf 2.57,
21618 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21620 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
21621 Free Software Foundation, Inc.
21622 This config.status script is free software; the Free Software Foundation
21623 gives unlimited permission to copy, distribute and modify it."
21628 cat >>$CONFIG_STATUS <<\_ACEOF
21629 # If no file are specified by the user, then we need to provide default
21630 # value. By we need to know if files were specified by the user.
21636 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
21637 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
21645 *) # This is not an option, so the user has probably given explicit
21648 ac_need_defaults
=false
;;
21652 # Handling of the options.
21654 cat >>$CONFIG_STATUS <<\_ACEOF
21655 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21657 --version |
--vers* |
-V )
21658 echo "$ac_cs_version"; exit 0 ;;
21660 # Conflict between --help and --header
21661 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21662 Try \`$0 --help' for more information." >&5
21663 echo "$as_me: error: ambiguous option: $1
21664 Try \`$0 --help' for more information." >&2;}
21665 { (exit 1); exit 1; }; };;
21666 --help |
--hel |
-h )
21667 echo "$ac_cs_usage"; exit 0 ;;
21668 --debug |
--d* |
-d )
21670 --file |
--fil |
--fi |
--f )
21672 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21673 ac_need_defaults
=false
;;
21674 --header |
--heade |
--head |
--hea )
21676 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21677 ac_need_defaults
=false
;;
21678 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21679 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21682 # This is an error.
21683 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21684 Try \`$0 --help' for more information." >&5
21685 echo "$as_me: error: unrecognized option: $1
21686 Try \`$0 --help' for more information." >&2;}
21687 { (exit 1); exit 1; }; } ;;
21689 *) ac_config_targets
="$ac_config_targets $1" ;;
21695 ac_configure_extra_args
=
21697 if $ac_cs_silent; then
21699 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21703 cat >>$CONFIG_STATUS <<_ACEOF
21704 if \$ac_cs_recheck; then
21705 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21706 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21711 cat >>$CONFIG_STATUS <<_ACEOF
21713 # INIT-COMMANDS section.
21716 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21722 cat >>$CONFIG_STATUS <<\_ACEOF
21723 for ac_config_target
in $ac_config_targets
21725 case "$ac_config_target" in
21726 # Handling of arguments.
21727 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21728 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21729 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config-h.in" ;;
21730 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21731 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21732 { (exit 1); exit 1; }; };;
21736 # If the user did not use the arguments to specify the items to instantiate,
21737 # then the envvar interface is used. Set only those that are not.
21738 # We use the long form for the default assignment because of an extremely
21739 # bizarre bug on SunOS 4.1.3.
21740 if $ac_need_defaults; then
21741 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21742 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21743 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21746 # Have a temporary directory for convenience. Make it in the build tree
21747 # simply because there is no reason to put it here, and in addition,
21748 # creating and moving files from /tmp can sometimes cause problems.
21749 # Create a temporary directory, and hook for its removal unless debugging.
21752 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21753 trap '{ (exit 1); exit 1; }' 1 2 13 15
21756 # Create a (secure) tmp directory for tmp files.
21759 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21760 test -n "$tmp" && test -d "$tmp"
21763 tmp
=.
/confstat$$
-$RANDOM
21764 (umask 077 && mkdir
$tmp)
21767 echo "$me: cannot create a temporary directory in ." >&2
21768 { (exit 1); exit 1; }
21773 cat >>$CONFIG_STATUS <<_ACEOF
21776 # CONFIG_FILES section.
21779 # No need to generate the scripts if there are no CONFIG_FILES.
21780 # This happens for instance when ./config.status config.h
21781 if test -n "\$CONFIG_FILES"; then
21782 # Protect against being on the right side of a sed subst in config.status.
21783 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21784 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21785 s,@SHELL@,$SHELL,;t t
21786 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21787 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21788 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21789 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21790 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21791 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21792 s,@exec_prefix@,$exec_prefix,;t t
21793 s,@prefix@,$prefix,;t t
21794 s,@program_transform_name@,$program_transform_name,;t t
21795 s,@bindir@,$bindir,;t t
21796 s,@sbindir@,$sbindir,;t t
21797 s,@libexecdir@,$libexecdir,;t t
21798 s,@datadir@,$datadir,;t t
21799 s,@sysconfdir@,$sysconfdir,;t t
21800 s,@sharedstatedir@,$sharedstatedir,;t t
21801 s,@localstatedir@,$localstatedir,;t t
21802 s,@libdir@,$libdir,;t t
21803 s,@includedir@,$includedir,;t t
21804 s,@oldincludedir@,$oldincludedir,;t t
21805 s,@infodir@,$infodir,;t t
21806 s,@mandir@,$mandir,;t t
21807 s,@build_alias@,$build_alias,;t t
21808 s,@host_alias@,$host_alias,;t t
21809 s,@target_alias@,$target_alias,;t t
21810 s,@DEFS@,$DEFS,;t t
21811 s,@ECHO_C@,$ECHO_C,;t t
21812 s,@ECHO_N@,$ECHO_N,;t t
21813 s,@ECHO_T@,$ECHO_T,;t t
21814 s,@LIBS@,$LIBS,;t t
21815 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21816 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21817 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21818 s,@CYGPATH_W@,$CYGPATH_W,;t t
21819 s,@PACKAGE@,$PACKAGE,;t t
21820 s,@VERSION@,$VERSION,;t t
21821 s,@ACLOCAL@,$ACLOCAL,;t t
21822 s,@AUTOCONF@,$AUTOCONF,;t t
21823 s,@AUTOMAKE@,$AUTOMAKE,;t t
21824 s,@AUTOHEADER@,$AUTOHEADER,;t t
21825 s,@MAKEINFO@,$MAKEINFO,;t t
21826 s,@AMTAR@,$AMTAR,;t t
21827 s,@install_sh@,$install_sh,;t t
21828 s,@STRIP@,$STRIP,;t t
21829 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21830 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21832 s,@SET_MAKE@,$SET_MAKE,;t t
21833 s,@am__leading_dot@,$am__leading_dot,;t t
21835 s,@CFLAGS@,$CFLAGS,;t t
21836 s,@LDFLAGS@,$LDFLAGS,;t t
21837 s,@CPPFLAGS@,$CPPFLAGS,;t t
21838 s,@ac_ct_CC@,$ac_ct_CC,;t t
21839 s,@EXEEXT@,$EXEEXT,;t t
21840 s,@OBJEXT@,$OBJEXT,;t t
21841 s,@DEPDIR@,$DEPDIR,;t t
21842 s,@am__include@,$am__include,;t t
21843 s,@am__quote@,$am__quote,;t t
21844 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21845 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21846 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21847 s,@CCDEPMODE@,$CCDEPMODE,;t t
21848 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21849 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21850 s,@build@,$build,;t t
21851 s,@build_cpu@,$build_cpu,;t t
21852 s,@build_vendor@,$build_vendor,;t t
21853 s,@build_os@,$build_os,;t t
21854 s,@host@,$host,;t t
21855 s,@host_cpu@,$host_cpu,;t t
21856 s,@host_vendor@,$host_vendor,;t t
21857 s,@host_os@,$host_os,;t t
21858 s,@EGREP@,$EGREP,;t t
21859 s,@LN_S@,$LN_S,;t t
21860 s,@ECHO@,$ECHO,;t t
21862 s,@ac_ct_AR@,$ac_ct_AR,;t t
21863 s,@RANLIB@,$RANLIB,;t t
21864 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21865 s,@DLLTOOL@,$DLLTOOL,;t t
21866 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21868 s,@ac_ct_AS@,$ac_ct_AS,;t t
21869 s,@OBJDUMP@,$OBJDUMP,;t t
21870 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
21873 s,@CXXFLAGS@,$CXXFLAGS,;t t
21874 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21875 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21876 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21877 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21878 s,@CXXCPP@,$CXXCPP,;t t
21880 s,@FFLAGS@,$FFLAGS,;t t
21881 s,@ac_ct_F77@,$ac_ct_F77,;t t
21882 s,@LIBTOOL@,$LIBTOOL,;t t
21883 s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
21884 s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
21885 s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
21886 s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
21887 s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
21888 s,@LIBADD_DL@,$LIBADD_DL,;t t
21889 s,@LIBOBJS@,$LIBOBJS,;t t
21890 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21895 cat >>$CONFIG_STATUS <<\_ACEOF
21896 # Split the substitutions into bite-sized pieces for seds with
21897 # small command number limits, like on Digital OSF/1 and HP-UX.
21898 ac_max_sed_lines
=48
21899 ac_sed_frag
=1 # Number of current file.
21900 ac_beg
=1 # First line for current file.
21901 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21904 while $ac_more_lines; do
21905 if test $ac_beg -gt 1; then
21906 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21908 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21910 if test ! -s $tmp/subs.frag
; then
21911 ac_more_lines
=false
21913 # The purpose of the label and of the branching condition is to
21914 # speed up the sed processing (if there are no `@' at all, there
21915 # is no need to browse any of the substitutions).
21916 # These are the two extra sed commands mentioned above.
21918 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21919 if test -z "$ac_sed_cmds"; then
21920 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21922 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21924 ac_sed_frag
=`expr $ac_sed_frag + 1`
21926 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21929 if test -z "$ac_sed_cmds"; then
21932 fi # test -n "$CONFIG_FILES"
21935 cat >>$CONFIG_STATUS <<\_ACEOF
21936 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21937 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21939 - |
*:- |
*:-:* ) # input from stdin
21941 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21942 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21943 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21944 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21945 * ) ac_file_in
=$ac_file.
in ;;
21948 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21949 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21950 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21951 X"$ac_file" : 'X\(//\)[^/]' \| \
21952 X"$ac_file" : 'X\(//\)$' \| \
21953 X"$ac_file" : 'X\(/\)' \| \
21954 . : '\(.\)' 2>/dev/null ||
21956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21957 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21958 /^X\(\/\/\)$/{ s//\1/; q; }
21959 /^X\(\/\).*/{ s//\1/; q; }
21961 { if $as_mkdir_p; then
21966 while test ! -d "$as_dir"; do
21967 as_dirs
="$as_dir $as_dirs"
21968 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21969 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21970 X"$as_dir" : 'X\(//\)[^/]' \| \
21971 X"$as_dir" : 'X\(//\)$' \| \
21972 X"$as_dir" : 'X\(/\)' \| \
21973 . : '\(.\)' 2>/dev/null ||
21975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21976 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21977 /^X\(\/\/\)$/{ s//\1/; q; }
21978 /^X\(\/\).*/{ s//\1/; q; }
21981 test ! -n "$as_dirs" || mkdir
$as_dirs
21982 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21983 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21984 { (exit 1); exit 1; }; }; }
21988 if test "$ac_dir" != .
; then
21989 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21990 # A "../" for each directory in $ac_dir_suffix.
21991 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21993 ac_dir_suffix
= ac_top_builddir
=
21997 .
) # No --srcdir option. We are building in place.
21999 if test -z "$ac_top_builddir"; then
22002 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22004 [\\/]* | ?
:[\\/]* ) # Absolute path.
22005 ac_srcdir
=$srcdir$ac_dir_suffix;
22006 ac_top_srcdir
=$srcdir ;;
22007 *) # Relative path.
22008 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22009 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22011 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
22013 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
22014 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
22015 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
22016 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
22020 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22021 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22024 if test x
"$ac_file" != x-
; then
22025 { echo "$as_me:$LINENO: creating $ac_file" >&5
22026 echo "$as_me: creating $ac_file" >&6;}
22029 # Let's still pretend it is `configure' which instantiates (i.e., don't
22030 # use $as_me), people would be surprised to read:
22031 # /* config.h. Generated by config.status. */
22032 if test x
"$ac_file" = x-
; then
22035 configure_input
="$ac_file. "
22037 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22038 sed 's,.*/,,'` by configure."
22040 # First look for the input files in the build tree, otherwise in the
22042 ac_file_inputs
=`IFS=:
22043 for f in $ac_file_in; do
22045 -) echo $tmp/stdin ;;
22047 # Absolute (can't be DOS-style, as IFS=:)
22048 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22049 echo "$as_me: error: cannot find input file: $f" >&2;}
22050 { (exit 1); exit 1; }; }
22053 if test -f "$f"; then
22056 elif test -f "$srcdir/$f"; then
22061 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22062 echo "$as_me: error: cannot find input file: $f" >&2;}
22063 { (exit 1); exit 1; }; }
22066 done` ||
{ (exit 1); exit 1; }
22068 cat >>$CONFIG_STATUS <<_ACEOF
22072 cat >>$CONFIG_STATUS <<\_ACEOF
22074 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22075 s
,@configure_input@
,$configure_input,;t t
22076 s
,@srcdir@
,$ac_srcdir,;t t
22077 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
22078 s
,@top_srcdir@
,$ac_top_srcdir,;t t
22079 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
22080 s
,@builddir@
,$ac_builddir,;t t
22081 s
,@abs_builddir@
,$ac_abs_builddir,;t t
22082 s
,@top_builddir@
,$ac_top_builddir,;t t
22083 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
22084 s
,@INSTALL@
,$ac_INSTALL,;t t
22085 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22087 if test x"$ac_file" != x-; then
22088 mv $tmp/out $ac_file
22096 cat >>$CONFIG_STATUS <<\_ACEOF
22099 # CONFIG_HEADER section.
22102 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
22103 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22105 # ac_d sets the value in "#define NAME VALUE" lines.
22106 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22107 ac_dB
='[ ].*$,\1#\2'
22110 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22111 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22112 ac_uB
='$,\1#\2define\3'
22116 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
22117 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22119 - |
*:- |
*:-:* ) # input from stdin
22121 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22122 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22123 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22124 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22125 * ) ac_file_in
=$ac_file.
in ;;
22128 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
22129 echo "$as_me: creating $ac_file" >&6;}
22131 # First look for the input files in the build tree, otherwise in the
22133 ac_file_inputs
=`IFS=:
22134 for f in $ac_file_in; do
22136 -) echo $tmp/stdin ;;
22138 # Absolute (can't be DOS-style, as IFS=:)
22139 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22140 echo "$as_me: error: cannot find input file: $f" >&2;}
22141 { (exit 1); exit 1; }; }
22144 if test -f "$f"; then
22147 elif test -f "$srcdir/$f"; then
22152 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22153 echo "$as_me: error: cannot find input file: $f" >&2;}
22154 { (exit 1); exit 1; }; }
22157 done` ||
{ (exit 1); exit 1; }
22158 # Remove the trailing spaces.
22159 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22163 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22164 # `conftest.undefs', that substitutes the proper values into
22165 # config.h.in to produce config.h. The first handles `#define'
22166 # templates, and the second `#undef' templates.
22167 # And first: Protect against being on the right side of a sed subst in
22168 # config.status. Protect against being in an unquoted here document
22169 # in config.status.
22170 rm -f conftest.defines conftest.undefs
22171 # Using a here document instead of a string reduces the quoting nightmare.
22172 # Putting comments in sed scripts is not portable.
22174 # `end' is used to avoid that the second main sed command (meant for
22175 # 0-ary CPP macros) applies to n-ary macro definitions.
22176 # See the Autoconf documentation for `clear'.
22177 cat >confdef2sed.
sed <<\_ACEOF
22182 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22184 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22187 # If some macros were called several times there might be several times
22188 # the same #defines, which is useless. Nevertheless, we may not want to
22189 # sort them, since we want the *last* AC-DEFINE to be honored.
22190 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22191 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22192 rm -f confdef2sed.sed
22194 # This sed command replaces #undef with comments. This is necessary, for
22195 # example, in the case of _POSIX_SOURCE, which is predefined and required
22196 # on some systems where configure will not decide to define it.
22197 cat >>conftest.undefs <<\_ACEOF
22198 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22201 # Break up conftest.defines because some shells have a limit on the size
22202 # of here documents, and old seds have small limits too (100 cmds).
22203 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22204 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22205 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22206 echo ' :' >>$CONFIG_STATUS
22207 rm -f conftest.tail
22208 while grep . conftest.defines >/dev/null
22210 # Write a limited-size here document to $tmp/defines.sed.
22211 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22212 # Speed up: don't consider the non `#define' lines.
22213 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22214 # Work around the forget-to-reset-the-flag bug.
22215 echo 't clr' >>$CONFIG_STATUS
22216 echo ': clr' >>$CONFIG_STATUS
22217 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
22219 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22221 mv $tmp/out $tmp/in
22223 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
22224 rm -f conftest.defines
22225 mv conftest.
tail conftest.defines
22227 rm -f conftest.defines
22228 echo ' fi # grep' >>$CONFIG_STATUS
22229 echo >>$CONFIG_STATUS
22231 # Break up conftest.undefs because some shells have a limit on the size
22232 # of here documents, and old seds have small limits too (100 cmds).
22233 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22234 rm -f conftest.
tail
22235 while grep . conftest.undefs
>/dev
/null
22237 # Write a limited-size here document to $tmp/undefs.sed.
22238 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22239 # Speed up: don't consider the non
`#undef'
22240 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22241 # Work around the forget-to-reset-the-flag bug.
22242 echo 't clr' >>$CONFIG_STATUS
22243 echo ': clr' >>$CONFIG_STATUS
22244 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22246 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22248 mv $tmp/out $tmp/in
22250 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22251 rm -f conftest.undefs
22252 mv conftest.tail conftest.undefs
22254 rm -f conftest.undefs
22256 cat >>$CONFIG_STATUS <<\_ACEOF
22257 # Let's still pretend it is `configure
' which instantiates (i.e., don't
22258 # use $as_me), people would be surprised to read:
22259 # /* config.h. Generated by config.status. */
22260 if test x
"$ac_file" = x-
; then
22261 echo "/* Generated by configure. */" >$tmp/config.h
22263 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22265 cat $tmp/in >>$tmp/config.h
22267 if test x
"$ac_file" != x-
; then
22268 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
22269 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22270 echo "$as_me: $ac_file is unchanged" >&6;}
22272 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22273 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22274 X"$ac_file" : 'X\(//\)[^/]' \| \
22275 X"$ac_file" : 'X\(//\)$' \| \
22276 X"$ac_file" : 'X\(/\)' \| \
22277 . : '\(.\)' 2>/dev/null ||
22279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22280 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22281 /^X\(\/\/\)$/{ s//\1/; q; }
22282 /^X\(\/\).*/{ s//\1/; q; }
22284 { if $as_mkdir_p; then
22289 while test ! -d "$as_dir"; do
22290 as_dirs
="$as_dir $as_dirs"
22291 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22293 X"$as_dir" : 'X\(//\)[^/]' \| \
22294 X"$as_dir" : 'X\(//\)$' \| \
22295 X"$as_dir" : 'X\(/\)' \| \
22296 . : '\(.\)' 2>/dev/null ||
22298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22299 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22300 /^X\(\/\/\)$/{ s//\1/; q; }
22301 /^X\(\/\).*/{ s//\1/; q; }
22304 test ! -n "$as_dirs" || mkdir
$as_dirs
22305 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22306 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22307 { (exit 1); exit 1; }; }; }
22310 mv $tmp/config.h
$ac_file
22314 rm -f $tmp/config.h
22316 # Compute $ac_file's index in $config_headers.
22318 for _am_header
in $config_headers :; do
22319 case $_am_header in
22320 $ac_file |
$ac_file:* )
22323 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22326 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22327 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22328 X$ac_file : 'X\(//\)[^/]' \| \
22329 X$ac_file : 'X\(//\)$' \| \
22330 X$ac_file : 'X\(/\)' \| \
22331 . : '\(.\)' 2>/dev/null ||
22333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22334 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22335 /^X\(\/\/\)$/{ s//\1/; q; }
22336 /^X\(\/\).*/{ s//\1/; q; }
22337 s/.*/./; q'`/stamp-h
$_am_stamp_count
22340 cat >>$CONFIG_STATUS <<\_ACEOF
22343 # CONFIG_COMMANDS section.
22345 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
22346 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
22347 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22348 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
22349 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22350 X"$ac_dest" : 'X\(//\)[^/]' \| \
22351 X"$ac_dest" : 'X\(//\)$' \| \
22352 X"$ac_dest" : 'X\(/\)' \| \
22353 . : '\(.\)' 2>/dev/null ||
22355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22356 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22357 /^X\(\/\/\)$/{ s//\1/; q; }
22358 /^X\(\/\).*/{ s//\1/; q; }
22362 if test "$ac_dir" != .
; then
22363 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22364 # A "../" for each directory in $ac_dir_suffix.
22365 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22367 ac_dir_suffix
= ac_top_builddir
=
22371 .
) # No --srcdir option. We are building in place.
22373 if test -z "$ac_top_builddir"; then
22376 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22378 [\\/]* | ?
:[\\/]* ) # Absolute path.
22379 ac_srcdir
=$srcdir$ac_dir_suffix;
22380 ac_top_srcdir
=$srcdir ;;
22381 *) # Relative path.
22382 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22383 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22385 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
22387 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
22388 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
22389 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
22390 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
22393 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22394 echo "$as_me: executing $ac_dest commands" >&6;}
22396 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22397 # Strip MF so we end up with the name of the file.
22398 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22399 # Check whether this is an Automake generated Makefile or not.
22400 # We used to match only the files named `Makefile.in', but
22401 # some people rename them; so instead we look at the file content.
22402 # Grep'ing the first line is not enough: some people post-process
22403 # each Makefile.in and add a new line on top of each file to say so.
22404 # So let's grep whole file.
22405 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
22406 dirpart
=`(dirname "$mf") 2>/dev/null ||
22407 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22408 X"$mf" : 'X\(//\)[^/]' \| \
22409 X"$mf" : 'X\(//\)$' \| \
22410 X"$mf" : 'X\(/\)' \| \
22411 . : '\(.\)' 2>/dev/null ||
22413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22414 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22415 /^X\(\/\/\)$/{ s//\1/; q; }
22416 /^X\(\/\).*/{ s//\1/; q; }
22421 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
22422 # Extract the definition of DEP_FILES from the Makefile without
22424 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
22425 test -z "$DEPDIR" && continue
22426 # When using ansi2knr, U may be empty or an underscore; expand it
22427 U
=`sed -n -e '/^U = / s///p' < "$mf"`
22428 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
22429 # We invoke sed twice because it is the simplest approach to
22430 # changing $(DEPDIR) to its actual value in the expansion.
22431 for file in `sed -n -e '
22432 /^DEP_FILES = .*\\\\$/ {
22441 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
22442 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22443 # Make sure the directory exists.
22444 test -f "$dirpart/$file" && continue
22445 fdir
=`(dirname "$file") 2>/dev/null ||
22446 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22447 X"$file" : 'X\(//\)[^/]' \| \
22448 X"$file" : 'X\(//\)$' \| \
22449 X"$file" : 'X\(/\)' \| \
22450 . : '\(.\)' 2>/dev/null ||
22452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22454 /^X\(\/\/\)$/{ s//\1/; q; }
22455 /^X\(\/\).*/{ s//\1/; q; }
22457 { if $as_mkdir_p; then
22458 mkdir
-p $dirpart/$fdir
22460 as_dir
=$dirpart/$fdir
22462 while test ! -d "$as_dir"; do
22463 as_dirs
="$as_dir $as_dirs"
22464 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22465 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22466 X"$as_dir" : 'X\(//\)[^/]' \| \
22467 X"$as_dir" : 'X\(//\)$' \| \
22468 X"$as_dir" : 'X\(/\)' \| \
22469 . : '\(.\)' 2>/dev/null ||
22471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22473 /^X\(\/\/\)$/{ s//\1/; q; }
22474 /^X\(\/\).*/{ s//\1/; q; }
22477 test ! -n "$as_dirs" || mkdir
$as_dirs
22478 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
22479 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
22480 { (exit 1); exit 1; }; }; }
22482 # echo "creating $dirpart/$file"
22483 echo '# dummy' > "$dirpart/$file"
22491 cat >>$CONFIG_STATUS <<\_ACEOF
22493 { (exit 0); exit 0; }
22495 chmod +x
$CONFIG_STATUS
22496 ac_clean_files
=$ac_clean_files_save
22499 # configure is writing to config.log, and then calls config.status.
22500 # config.status does its own redirection, appending to config.log.
22501 # Unfortunately, on DOS this fails, as config.log is still kept open
22502 # by configure, so config.status won't be able to write to it; its
22503 # output is simply discarded. So we exec the FD to /dev/null,
22504 # effectively closing config.log, so it can be properly (re)opened and
22505 # appended to by config.status. When coming back to configure, we
22506 # need to make the FD available again.
22507 if test "$no_create" != yes; then
22509 ac_config_status_args
=
22510 test "$silent" = yes &&
22511 ac_config_status_args
="$ac_config_status_args --quiet"
22513 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22515 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22516 # would make configure fail if this is the last instruction.
22517 $ac_cs_success ||
{ (exit 1); exit 1; }