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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 --enable-maintainer-mode enable make rules and dependencies not useful
1030 (and sometimes confusing
) to the casual installer
1031 --disable-dependency-tracking Speeds up one-time builds
1032 --enable-dependency-tracking Do not reject slow dependency extractors
1033 --enable-shared[=PKGS
]
1034 build shared libraries
[default
=yes]
1035 --enable-static[=PKGS
]
1036 build static libraries
[default
=yes]
1037 --enable-fast-install[=PKGS
]
1038 optimize
for fast installation
[default
=yes]
1039 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1040 --enable-ltdl-install install libltdl
1043 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1044 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1045 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1046 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1049 include additional configurations
[automatic
]
1051 Some influential environment variables
:
1052 CC C compiler
command
1053 CFLAGS C compiler flags
1054 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1055 nonstandard directory
<lib dir
>
1056 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1057 headers
in a nonstandard directory
<include dir
>
1059 CXX C
++ compiler
command
1060 CXXFLAGS C
++ compiler flags
1061 CXXCPP C
++ preprocessor
1062 F77 Fortran
77 compiler
command
1063 FFLAGS Fortran
77 compiler flags
1065 Use these variables to override the choices made by
`configure' or to help
1066 it to find libraries and programs with nonstandard names/locations.
1068 Report bugs to <bug-libtool@gnu.org>.
1072 if test "$ac_init_help" = "recursive"; then
1073 # If there are subdirs, report their specific --help.
1075 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1076 test -d $ac_dir || continue
1079 if test "$ac_dir" != .; then
1080 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1081 # A "../" for each directory in $ac_dir_suffix.
1082 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1084 ac_dir_suffix= ac_top_builddir=
1088 .) # No --srcdir option. We are building in place.
1090 if test -z "$ac_top_builddir"; then
1093 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1095 [\\/]* | ?:[\\/]* ) # Absolute path.
1096 ac_srcdir=$srcdir$ac_dir_suffix;
1097 ac_top_srcdir=$srcdir ;;
1099 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1100 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1102 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1104 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1105 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1106 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1107 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1110 # Check for guested configure; otherwise get Cygnus style configure.
1111 if test -f $ac_srcdir/configure.gnu; then
1113 $SHELL $ac_srcdir/configure.gnu --help=recursive
1114 elif test -f $ac_srcdir/configure; then
1116 $SHELL $ac_srcdir/configure --help=recursive
1117 elif test -f $ac_srcdir/configure.ac ||
1118 test -f $ac_srcdir/configure.in; then
1120 $ac_configure --help
1122 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1128 test -n "$ac_init_help" && exit 0
1129 if $ac_init_version; then
1131 libltdl configure 1.2
1132 generated by GNU Autoconf 2.57
1134 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1135 Free Software Foundation, Inc.
1136 This configure script is free software; the Free Software Foundation
1137 gives unlimited permission to copy, distribute and modify it.
1143 This file contains any messages produced by compilers while
1144 running configure, to aid debugging if configure makes a mistake.
1146 It was created by libltdl $as_me 1.2, which was
1147 generated by GNU Autoconf 2.57. Invocation command line was
1158 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1159 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1160 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1161 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1162 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1164 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1165 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1167 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1168 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1169 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1170 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1171 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1172 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1173 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1181 test -z "$as_dir" && as_dir=.
1182 echo "PATH: $as_dir"
1197 # Keep a trace of the command line.
1198 # Strip out --no-create and --no-recursion so they do not pile up.
1199 # Strip out --silent because we don't want to record it for future runs.
1200 # Also quote any args containing shell meta-characters.
1201 # Make two passes to allow for proper duplicate-argument suppression.
1206 ac_must_keep_next=false
1212 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1214 | -silent | --silent | --silen | --sile | --sil)
1216 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1217 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1220 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1222 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1223 if test $ac_must_keep_next = true; then
1224 ac_must_keep_next=false # Got value, back to normal.
1227 *=* | --config-cache | -C | -disable-* | --disable-* \
1228 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1229 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1230 | -with-* | --with-* | -without-* | --without-* | --x)
1231 case "$ac_configure_args0 " in
1232 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1235 -* ) ac_must_keep_next=true ;;
1238 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1239 # Get rid of the leading space.
1245 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1246 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1248 # When interrupted or exit'd, cleanup temporary files, and complete
1249 # config.log. We remove comments because anyway the quotes in there
1250 # would cause problems or look ugly.
1251 # WARNING: Be sure not to use single quotes in there, as some shells,
1252 # such as our DU 5.0 friend, will then `close
' the trap.
1253 trap 'exit_status
=$?
1254 # Save into config.log some information that might help in debugging.
1259 ## ---------------- ##
1260 ## Cache variables. ##
1261 ## ---------------- ##
1264 # The following way of writing the cache mishandles newlines in values,
1267 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1270 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1275 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1282 ## ----------------- ##
1283 ## Output variables. ##
1284 ## ----------------- ##
1287 for ac_var
in $ac_subst_vars
1289 eval ac_val
=$
`echo $ac_var`
1290 echo "$ac_var='"'"'$ac_val'"'"'"
1294 if test -n "$ac_subst_files"; then
1301 for ac_var
in $ac_subst_files
1303 eval ac_val
=$
`echo $ac_var`
1304 echo "$ac_var='"'"'$ac_val'"'"'"
1309 if test -s confdefs.h
; then
1316 sed "/^$/d" confdefs.h |
sort
1319 test "$ac_signal" != 0 &&
1320 echo "$as_me: caught signal $ac_signal"
1321 echo "$as_me: exit $exit_status"
1323 rm -f core
*.core
&&
1324 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1327 for ac_signal in 1 2 13 15; do
1328 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1332 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1333 rm -rf conftest* confdefs.h
1334 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1337 # Predefined preprocessor variables.
1339 cat >>confdefs.h <<_ACEOF
1340 #define PACKAGE_NAME "$PACKAGE_NAME"
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_STRING "$PACKAGE_STRING"
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1364 # Let the site file select an alternate cache file if it wants to.
1365 # Prefer explicitly selected file to automatically selected ones.
1366 if test -z "$CONFIG_SITE"; then
1367 if test "x$prefix" != xNONE; then
1368 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1370 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1373 for ac_site_file in $CONFIG_SITE; do
1374 if test -r "$ac_site_file"; then
1375 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1376 echo "$as_me: loading site script $ac_site_file" >&6;}
1377 sed 's
/^
/|
/' "$ac_site_file" >&5
1382 if test -r "$cache_file"; then
1383 # Some versions of bash will fail to source /dev/null (special
1384 # files actually), so we avoid doing that.
1385 if test -f "$cache_file"; then
1386 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1387 echo "$as_me: loading cache $cache_file" >&6;}
1389 [\\/]* | ?:[\\/]* ) . $cache_file;;
1390 *) . ./$cache_file;;
1394 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1395 echo "$as_me: creating cache $cache_file" >&6;}
1399 # Check that the precious variables saved in the cache have kept the same
1401 ac_cache_corrupted=false
1402 for ac_var in `(set) 2>&1 |
1403 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1404 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1405 eval ac_new_set=\$ac_env_${ac_var}_set
1406 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1407 eval ac_new_val="\$ac_env_${ac_var}_value"
1408 case $ac_old_set,$ac_new_set in
1410 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1411 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1412 ac_cache_corrupted=: ;;
1414 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1415 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1416 ac_cache_corrupted=: ;;
1419 if test "x$ac_old_val" != "x$ac_new_val"; then
1420 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1421 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1422 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1423 echo "$as_me: former value: $ac_old_val" >&2;}
1424 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1425 echo "$as_me: current value: $ac_new_val" >&2;}
1426 ac_cache_corrupted=:
1429 # Pass precious variables to config.status.
1430 if test "$ac_new_set" = set; then
1432 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1433 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1434 *) ac_arg=$ac_var=$ac_new_val ;;
1436 case " $ac_configure_args " in
1437 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1438 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1442 if $ac_cache_corrupted; then
1443 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1444 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1445 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1446 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1447 { (exit 1); exit 1; }; }
1451 ac_cpp='$CPP $CPPFLAGS'
1452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1453 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1485 ## ------------------------------- ##
1486 ## Libltdl specific configuration. ##
1487 ## ------------------------------- ##
1490 for ac_dir in . $srcdir/.; do
1491 if test -f $ac_dir/install-sh; then
1493 ac_install_sh="$ac_aux_dir/install-sh -c"
1495 elif test -f $ac_dir/install.sh; then
1497 ac_install_sh="$ac_aux_dir/install.sh -c"
1499 elif test -f $ac_dir/shtool; then
1501 ac_install_sh="$ac_aux_dir/shtool install -c"
1505 if test -z "$ac_aux_dir"; then
1506 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
1507 echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
1508 { (exit 1); exit 1; }; }
1510 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1511 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1512 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1515 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
1516 if test -f ${srcdir}/ltmain.sh; then
1517 # if libltdl is libtoolized, it is assumed to be stand-alone and
1518 # installed unless the command line overrides it (tested above)
1519 enable_ltdl_install=yes
1521 { echo "$as_me:$LINENO: WARNING: *** The top-level configure must select either" >&5
1522 echo "$as_me: WARNING: *** The top-level configure must select either" >&2;}
1523 { echo "$as_me:$LINENO: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&5
1524 echo "$as_me: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&2;}
1525 { { echo "$as_me:$LINENO: error: *** Maybe you want to --enable-ltdl-install?" >&5
1526 echo "$as_me: error: *** Maybe you want to --enable-ltdl-install?" >&2;}
1527 { (exit 1); exit 1; }; }
1532 ## ------------------------ ##
1533 ## Automake Initialisation. ##
1534 ## ------------------------ ##
1535 am__api_version="1.7"
1536 # Find a good install program. We prefer a C program (faster),
1537 # so one script is as good as another. But avoid the broken or
1538 # incompatible versions:
1539 # SysV /etc/install, /usr/sbin/install
1540 # SunOS /usr/etc/install
1541 # IRIX /sbin/install
1543 # AmigaOS /C/install, which installs bootblocks on floppy discs
1544 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1545 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1546 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1547 # ./install, which can be erroneously created by make from ./install.sh.
1548 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1549 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1550 if test -z "$INSTALL"; then
1551 if test "${ac_cv_path_install+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1558 test -z "$as_dir" && as_dir
=.
1559 # Account for people who put trailing slashes in PATH elements.
1561 .
/ | .
// |
/cC
/* | \
1562 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1565 # OSF1 and SCO ODT 3.0 have their own names for install.
1566 # Don't use installbsd from OSF since it installs stuff as root
1568 for ac_prog
in ginstall scoinst
install; do
1569 for ac_exec_ext
in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1571 if test $ac_prog = install &&
1572 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1573 # AIX install. It has an incompatible calling convention.
1575 elif test $ac_prog = install &&
1576 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1577 # program-specific install script used by HP pwplus--don't use.
1580 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1592 if test "${ac_cv_path_install+set}" = set; then
1593 INSTALL
=$ac_cv_path_install
1595 # As a last resort, use the slow shell script. We don't cache a
1596 # path for INSTALL within a source directory, because that will
1597 # break other packages using the cache if that directory is
1598 # removed, or if the path is relative.
1599 INSTALL
=$ac_install_sh
1602 echo "$as_me:$LINENO: result: $INSTALL" >&5
1603 echo "${ECHO_T}$INSTALL" >&6
1605 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1606 # It thinks the first close brace ends the variable substitution.
1607 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1609 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1611 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1613 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1614 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1617 echo timestamp
> conftest.
file
1618 # Do `set' in a subshell so we don't clobber the current shell's
1619 # arguments. Must try -L first in case configure is actually a
1620 # symlink; some systems play weird games with the mod time of symlinks
1621 # (eg FreeBSD returns the mod time of the symlink's containing
1624 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1625 if test "$*" = "X"; then
1627 set X
`ls -t $srcdir/configure conftest.file`
1630 if test "$*" != "X $srcdir/configure conftest.file" \
1631 && test "$*" != "X conftest.file $srcdir/configure"; then
1633 # If neither matched, then we have a broken ls. This can happen
1634 # if, for instance, CONFIG_SHELL is bash and it inherits a
1635 # broken ls alias from the environment. This has actually
1636 # happened. Such a system could not be considered "sane".
1637 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1638 alias in your environment" >&5
1639 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1640 alias in your environment" >&2;}
1641 { (exit 1); exit 1; }; }
1644 test "$2" = conftest.
file
1650 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1651 Check your system clock" >&5
1652 echo "$as_me: error: newly created file is older than distributed files!
1653 Check your system clock" >&2;}
1654 { (exit 1); exit 1; }; }
1656 echo "$as_me:$LINENO: result: yes" >&5
1657 echo "${ECHO_T}yes" >&6
1658 test "$program_prefix" != NONE
&&
1659 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1660 # Use a double $ so make ignores it.
1661 test "$program_suffix" != NONE
&&
1662 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1663 # Double any \ or $. echo might interpret backslashes.
1664 # By default was `s,x,x', remove it if useless.
1665 cat <<\_ACEOF
>conftest.
sed
1666 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1668 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1672 # expand $ac_aux_dir to an absolute path
1673 am_aux_dir
=`cd $ac_aux_dir && pwd`
1675 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1676 # Use eval to expand $SHELL
1677 if eval "$MISSING --run true"; then
1678 am_missing_run
="$MISSING --run "
1681 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1682 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1685 for ac_prog
in gawk mawk nawk
awk
1687 # Extract the first word of "$ac_prog", so it can be a program name with args.
1688 set dummy
$ac_prog; ac_word
=$2
1689 echo "$as_me:$LINENO: checking for $ac_word" >&5
1690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1691 if test "${ac_cv_prog_AWK+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1694 if test -n "$AWK"; then
1695 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1701 test -z "$as_dir" && as_dir
=.
1702 for ac_exec_ext
in '' $ac_executable_extensions; do
1703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1704 ac_cv_prog_AWK
="$ac_prog"
1705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 if test -n "$AWK"; then
1715 echo "$as_me:$LINENO: result: $AWK" >&5
1716 echo "${ECHO_T}$AWK" >&6
1718 echo "$as_me:$LINENO: result: no" >&5
1719 echo "${ECHO_T}no" >&6
1722 test -n "$AWK" && break
1725 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1726 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1727 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1728 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 cat >conftest.
make <<\_ACEOF
1733 @
echo 'ac_maketemp="$(MAKE)"'
1735 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1736 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1737 if test -n "$ac_maketemp"; then
1738 eval ac_cv_prog_make_
${ac_make}_set
=yes
1740 eval ac_cv_prog_make_
${ac_make}_set
=no
1744 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1745 echo "$as_me:$LINENO: result: yes" >&5
1746 echo "${ECHO_T}yes" >&6
1749 echo "$as_me:$LINENO: result: no" >&5
1750 echo "${ECHO_T}no" >&6
1751 SET_MAKE
="MAKE=${MAKE-make}"
1754 rm -rf .tst
2>/dev
/null
1755 mkdir .tst
2>/dev
/null
1756 if test -d .tst
; then
1761 rmdir .tst
2>/dev
/null
1763 # test to see if srcdir already configured
1764 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1765 test -f $srcdir/config.status
; then
1766 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1767 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1768 { (exit 1); exit 1; }; }
1771 # test whether we have cygpath
1772 if test -z "$CYGPATH_W"; then
1773 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1774 CYGPATH_W
='cygpath -w'
1781 # Define the identity of the package.
1786 # Some tools Automake needs.
1788 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1791 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1794 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1797 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1800 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1803 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1805 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1807 # Installed binaries are usually stripped using `strip' when the user
1808 # run `make install-strip'. However `strip' might not be the right
1809 # tool to use in cross-compilation environments, therefore Automake
1810 # will honor the `STRIP' environment variable to overrule this program.
1811 if test "$cross_compiling" != no
; then
1812 if test -n "$ac_tool_prefix"; then
1813 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1814 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1815 echo "$as_me:$LINENO: checking for $ac_word" >&5
1816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1817 if test "${ac_cv_prog_STRIP+set}" = set; then
1818 echo $ECHO_N "(cached) $ECHO_C" >&6
1820 if test -n "$STRIP"; then
1821 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1827 test -z "$as_dir" && as_dir
=.
1828 for ac_exec_ext
in '' $ac_executable_extensions; do
1829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1830 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1839 STRIP
=$ac_cv_prog_STRIP
1840 if test -n "$STRIP"; then
1841 echo "$as_me:$LINENO: result: $STRIP" >&5
1842 echo "${ECHO_T}$STRIP" >&6
1844 echo "$as_me:$LINENO: result: no" >&5
1845 echo "${ECHO_T}no" >&6
1849 if test -z "$ac_cv_prog_STRIP"; then
1851 # Extract the first word of "strip", so it can be a program name with args.
1852 set dummy strip
; ac_word
=$2
1853 echo "$as_me:$LINENO: checking for $ac_word" >&5
1854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1855 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1856 echo $ECHO_N "(cached) $ECHO_C" >&6
1858 if test -n "$ac_ct_STRIP"; then
1859 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1865 test -z "$as_dir" && as_dir
=.
1866 for ac_exec_ext
in '' $ac_executable_extensions; do
1867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1868 ac_cv_prog_ac_ct_STRIP
="strip"
1869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1875 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1878 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1879 if test -n "$ac_ct_STRIP"; then
1880 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1881 echo "${ECHO_T}$ac_ct_STRIP" >&6
1883 echo "$as_me:$LINENO: result: no" >&5
1884 echo "${ECHO_T}no" >&6
1889 STRIP
="$ac_cv_prog_STRIP"
1893 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1895 # We need awk for the "check" target. The system "awk" is bad on
1900 ac_config_headers
="$ac_config_headers config.h:config-h.in"
1902 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1903 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1904 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1905 if test "${enable_maintainer_mode+set}" = set; then
1906 enableval
="$enable_maintainer_mode"
1907 USE_MAINTAINER_MODE
=$enableval
1909 USE_MAINTAINER_MODE
=no
1911 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1912 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1915 if test $USE_MAINTAINER_MODE = yes; then
1916 MAINTAINER_MODE_TRUE
=
1917 MAINTAINER_MODE_FALSE
='#'
1919 MAINTAINER_MODE_TRUE
='#'
1920 MAINTAINER_MODE_FALSE
=
1923 MAINT
=$MAINTAINER_MODE_TRUE
1927 ## ------------------ ##
1928 ## C compiler checks. ##
1929 ## ------------------ ##
1931 ac_cpp
='$CPP $CPPFLAGS'
1932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1935 if test -n "$ac_tool_prefix"; then
1936 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1937 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1938 echo "$as_me:$LINENO: checking for $ac_word" >&5
1939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1940 if test "${ac_cv_prog_CC+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 if test -n "$CC"; then
1944 ac_cv_prog_CC
="$CC" # Let the user override the test.
1946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1950 test -z "$as_dir" && as_dir
=.
1951 for ac_exec_ext
in '' $ac_executable_extensions; do
1952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1953 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1963 if test -n "$CC"; then
1964 echo "$as_me:$LINENO: result: $CC" >&5
1965 echo "${ECHO_T}$CC" >&6
1967 echo "$as_me:$LINENO: result: no" >&5
1968 echo "${ECHO_T}no" >&6
1972 if test -z "$ac_cv_prog_CC"; then
1974 # Extract the first word of "gcc", so it can be a program name with args.
1975 set dummy gcc
; ac_word
=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1981 if test -n "$ac_ct_CC"; then
1982 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1988 test -z "$as_dir" && as_dir
=.
1989 for ac_exec_ext
in '' $ac_executable_extensions; do
1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_ac_ct_CC
="gcc"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2000 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2001 if test -n "$ac_ct_CC"; then
2002 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2003 echo "${ECHO_T}$ac_ct_CC" >&6
2005 echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2014 if test -z "$CC"; then
2015 if test -n "$ac_tool_prefix"; then
2016 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2017 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2018 echo "$as_me:$LINENO: checking for $ac_word" >&5
2019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2020 if test "${ac_cv_prog_CC+set}" = set; then
2021 echo $ECHO_N "(cached) $ECHO_C" >&6
2023 if test -n "$CC"; then
2024 ac_cv_prog_CC
="$CC" # Let the user override the test.
2026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir
=.
2031 for ac_exec_ext
in '' $ac_executable_extensions; do
2032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2033 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2043 if test -n "$CC"; then
2044 echo "$as_me:$LINENO: result: $CC" >&5
2045 echo "${ECHO_T}$CC" >&6
2047 echo "$as_me:$LINENO: result: no" >&5
2048 echo "${ECHO_T}no" >&6
2052 if test -z "$ac_cv_prog_CC"; then
2054 # Extract the first word of "cc", so it can be a program name with args.
2055 set dummy cc
; ac_word
=$2
2056 echo "$as_me:$LINENO: checking for $ac_word" >&5
2057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2058 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 if test -n "$ac_ct_CC"; then
2062 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir
=.
2069 for ac_exec_ext
in '' $ac_executable_extensions; do
2070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2071 ac_cv_prog_ac_ct_CC
="cc"
2072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2081 if test -n "$ac_ct_CC"; then
2082 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2083 echo "${ECHO_T}$ac_ct_CC" >&6
2085 echo "$as_me:$LINENO: result: no" >&5
2086 echo "${ECHO_T}no" >&6
2095 if test -z "$CC"; then
2096 # Extract the first word of "cc", so it can be a program name with args.
2097 set dummy cc
; ac_word
=$2
2098 echo "$as_me:$LINENO: checking for $ac_word" >&5
2099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2100 if test "${ac_cv_prog_CC+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 if test -n "$CC"; then
2104 ac_cv_prog_CC
="$CC" # Let the user override the test.
2107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2111 test -z "$as_dir" && as_dir
=.
2112 for ac_exec_ext
in '' $ac_executable_extensions; do
2113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2115 ac_prog_rejected
=yes
2119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125 if test $ac_prog_rejected = yes; then
2126 # We found a bogon in the path, so make sure we never use it.
2127 set dummy
$ac_cv_prog_CC
2129 if test $# != 0; then
2130 # We chose a different compiler from the bogus one.
2131 # However, it has the same basename, so the bogon will be chosen
2132 # first if we set CC to just the basename; use the full file name.
2134 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2140 if test -n "$CC"; then
2141 echo "$as_me:$LINENO: result: $CC" >&5
2142 echo "${ECHO_T}$CC" >&6
2144 echo "$as_me:$LINENO: result: no" >&5
2145 echo "${ECHO_T}no" >&6
2149 if test -z "$CC"; then
2150 if test -n "$ac_tool_prefix"; then
2153 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2154 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$CC"; then
2161 ac_cv_prog_CC
="$CC" # Let the user override the test.
2163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir
=.
2168 for ac_exec_ext
in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 if test -n "$CC"; then
2181 echo "$as_me:$LINENO: result: $CC" >&5
2182 echo "${ECHO_T}$CC" >&6
2184 echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2188 test -n "$CC" && break
2191 if test -z "$CC"; then
2195 # Extract the first word of "$ac_prog", so it can be a program name with args.
2196 set dummy
$ac_prog; ac_word
=$2
2197 echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 if test -n "$ac_ct_CC"; then
2203 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2209 test -z "$as_dir" && as_dir
=.
2210 for ac_exec_ext
in '' $ac_executable_extensions; do
2211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2212 ac_cv_prog_ac_ct_CC
="$ac_prog"
2213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2221 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2222 if test -n "$ac_ct_CC"; then
2223 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2224 echo "${ECHO_T}$ac_ct_CC" >&6
2226 echo "$as_me:$LINENO: result: no" >&5
2227 echo "${ECHO_T}no" >&6
2230 test -n "$ac_ct_CC" && break
2239 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2240 See \`config.log' for more details." >&5
2241 echo "$as_me: error: no acceptable C compiler found in \$PATH
2242 See \`config.log' for more details." >&2;}
2243 { (exit 1); exit 1; }; }
2245 # Provide some information about the compiler.
2246 echo "$as_me:$LINENO:" \
2247 "checking for C compiler version" >&5
2248 ac_compiler
=`set X $ac_compile; echo $2`
2249 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2250 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); }
2254 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2255 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }
2259 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2260 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }
2265 cat >conftest.
$ac_ext <<_ACEOF
2266 #line $LINENO "configure"
2269 cat confdefs.h
>>conftest.
$ac_ext
2270 cat >>conftest.
$ac_ext <<_ACEOF
2271 /* end confdefs.h. */
2281 ac_clean_files_save
=$ac_clean_files
2282 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2283 # Try to create an executable without -o first, disregard a.out.
2284 # It will help us diagnose broken compilers, and finding out an intuition
2286 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2287 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2288 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2289 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2290 (eval $ac_link_default) 2>&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }; then
2294 # Find the output, starting from the most likely. This scheme is
2295 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2298 # Be careful to initialize this variable, since it used to be cached.
2299 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2301 # b.out is created by i960 compilers.
2302 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2304 test -f "$ac_file" ||
continue
2306 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2309 # This is the source file.
2312 # We found the default executable, but exeext='' is most
2316 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2317 # FIXME: I believe we export ac_cv_exeext for Libtool,
2318 # but it would be cool to find out if it's true. Does anybody
2319 # maintain Libtool? --akim.
2327 echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.
$ac_ext >&5
2330 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2331 See \`config.log' for more details." >&5
2332 echo "$as_me: error: C compiler cannot create executables
2333 See \`config.log' for more details." >&2;}
2334 { (exit 77); exit 77; }; }
2337 ac_exeext
=$ac_cv_exeext
2338 echo "$as_me:$LINENO: result: $ac_file" >&5
2339 echo "${ECHO_T}$ac_file" >&6
2341 # Check the compiler produces executables we can run. If not, either
2342 # the compiler is broken, or we cross compile.
2343 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2344 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2345 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2346 # If not cross compiling, check that we can run a simple program.
2347 if test "$cross_compiling" != yes; then
2348 if { ac_try
='./$ac_file'
2349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }; }; then
2356 if test "$cross_compiling" = maybe
; then
2359 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2360 If you meant to cross compile, use \`--host'.
2361 See \`config.log' for more details." >&5
2362 echo "$as_me: error: cannot run C compiled programs.
2363 If you meant to cross compile, use \`--host'.
2364 See \`config.log' for more details." >&2;}
2365 { (exit 1); exit 1; }; }
2369 echo "$as_me:$LINENO: result: yes" >&5
2370 echo "${ECHO_T}yes" >&6
2372 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2373 ac_clean_files
=$ac_clean_files_save
2374 # Check the compiler produces executables we can run. If not, either
2375 # the compiler is broken, or we cross compile.
2376 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2377 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2378 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2379 echo "${ECHO_T}$cross_compiling" >&6
2381 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2382 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2384 (eval $ac_link) 2>&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; then
2388 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2389 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2390 # work properly (i.e., refer to `conftest.exe'), while it won't with
2392 for ac_file
in conftest.exe conftest conftest.
*; do
2393 test -f "$ac_file" ||
continue
2395 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2396 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2403 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2404 See \`config.log' for more details." >&5
2405 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2406 See \`config.log' for more details." >&2;}
2407 { (exit 1); exit 1; }; }
2410 rm -f conftest
$ac_cv_exeext
2411 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2412 echo "${ECHO_T}$ac_cv_exeext" >&6
2414 rm -f conftest.
$ac_ext
2415 EXEEXT
=$ac_cv_exeext
2417 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2418 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2419 if test "${ac_cv_objext+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 cat >conftest.
$ac_ext <<_ACEOF
2423 #line $LINENO "configure"
2426 cat confdefs.h
>>conftest.
$ac_ext
2427 cat >>conftest.
$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2438 rm -f conftest.o conftest.obj
2439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2440 (eval $ac_compile) 2>&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); }; then
2444 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2446 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2447 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2452 echo "$as_me: failed program was:" >&5
2453 sed 's/^/| /' conftest.
$ac_ext >&5
2455 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2456 See \`config.log' for more details." >&5
2457 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2458 See \`config.log' for more details." >&2;}
2459 { (exit 1); exit 1; }; }
2462 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2464 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2465 echo "${ECHO_T}$ac_cv_objext" >&6
2466 OBJEXT
=$ac_cv_objext
2468 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2469 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2470 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 cat >conftest.
$ac_ext <<_ACEOF
2474 #line $LINENO "configure"
2477 cat confdefs.h
>>conftest.
$ac_ext
2478 cat >>conftest.
$ac_ext <<_ACEOF
2479 /* end confdefs.h. */
2492 rm -f conftest.
$ac_objext
2493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2494 (eval $ac_compile) 2>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); } &&
2498 { ac_try
='test -s conftest.$ac_objext'
2499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2506 echo "$as_me: failed program was:" >&5
2507 sed 's/^/| /' conftest.
$ac_ext >&5
2511 rm -f conftest.
$ac_objext conftest.
$ac_ext
2512 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2515 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2516 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2517 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2518 ac_test_CFLAGS
=${CFLAGS+set}
2519 ac_save_CFLAGS
=$CFLAGS
2521 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2522 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2523 if test "${ac_cv_prog_cc_g+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 cat >conftest.
$ac_ext <<_ACEOF
2527 #line $LINENO "configure"
2530 cat confdefs.h
>>conftest.
$ac_ext
2531 cat >>conftest.
$ac_ext <<_ACEOF
2532 /* end confdefs.h. */
2542 rm -f conftest.
$ac_objext
2543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2544 (eval $ac_compile) 2>&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); } &&
2548 { ac_try
='test -s conftest.$ac_objext'
2549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; }; then
2556 echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.
$ac_ext >&5
2561 rm -f conftest.
$ac_objext conftest.
$ac_ext
2563 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2564 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2565 if test "$ac_test_CFLAGS" = set; then
2566 CFLAGS
=$ac_save_CFLAGS
2567 elif test $ac_cv_prog_cc_g = yes; then
2568 if test "$GCC" = yes; then
2574 if test "$GCC" = yes; then
2580 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2581 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2582 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2585 ac_cv_prog_cc_stdc
=no
2587 cat >conftest.
$ac_ext <<_ACEOF
2588 #line $LINENO "configure"
2591 cat confdefs.h
>>conftest.
$ac_ext
2592 cat >>conftest.
$ac_ext <<_ACEOF
2593 /* end confdefs.h. */
2596 #include <sys/types.h>
2597 #include <sys/stat.h>
2598 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2599 struct buf { int x; };
2600 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2601 static char *e (p, i)
2607 static char *f (char * (*g) (char **, int), char **p, ...)
2612 s = g (p, va_arg (v,int));
2616 int test (int i, double x);
2617 struct s1 {int (*f) (int a);};
2618 struct s2 {int (*f) (double a);};
2619 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2625 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2630 # Don't try gcc -ansi; that turns off useful extensions and
2631 # breaks some systems' header files.
2632 # AIX -qlanglvl=ansi
2633 # Ultrix and OSF/1 -std1
2634 # HP-UX 10.20 and later -Ae
2635 # HP-UX older versions -Aa -D_HPUX_SOURCE
2636 # SVR4 -Xc -D__EXTENSIONS__
2637 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2639 CC
="$ac_save_CC $ac_arg"
2640 rm -f conftest.
$ac_objext
2641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2642 (eval $ac_compile) 2>&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); } &&
2646 { ac_try
='test -s conftest.$ac_objext'
2647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }; }; then
2652 ac_cv_prog_cc_stdc
=$ac_arg
2655 echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.
$ac_ext >&5
2659 rm -f conftest.
$ac_objext
2661 rm -f conftest.
$ac_ext conftest.
$ac_objext
2666 case "x$ac_cv_prog_cc_stdc" in
2668 echo "$as_me:$LINENO: result: none needed" >&5
2669 echo "${ECHO_T}none needed" >&6 ;;
2671 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2672 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2673 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2676 # Some people use a C++ compiler to compile C. Since we use `exit',
2677 # in C++ we need to declare it. In case someone uses the same compiler
2678 # for both compiling C and C++ we need to have the C++ compiler decide
2679 # the declaration of exit, since it's the most demanding environment.
2680 cat >conftest.
$ac_ext <<_ACEOF
2685 rm -f conftest.
$ac_objext
2686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2687 (eval $ac_compile) 2>&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); } &&
2691 { ac_try
='test -s conftest.$ac_objext'
2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; }; then
2697 for ac_declaration
in \
2699 'extern "C" void std::exit (int) throw (); using std::exit;' \
2700 'extern "C" void std::exit (int); using std::exit;' \
2701 'extern "C" void exit (int) throw ();' \
2702 'extern "C" void exit (int);' \
2705 cat >conftest.
$ac_ext <<_ACEOF
2706 #line $LINENO "configure"
2709 cat confdefs.h
>>conftest.
$ac_ext
2710 cat >>conftest.
$ac_ext <<_ACEOF
2711 /* end confdefs.h. */
2722 rm -f conftest.
$ac_objext
2723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2724 (eval $ac_compile) 2>&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); } &&
2728 { ac_try
='test -s conftest.$ac_objext'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.
$ac_ext >&5
2741 rm -f conftest.
$ac_objext conftest.
$ac_ext
2742 cat >conftest.
$ac_ext <<_ACEOF
2743 #line $LINENO "configure"
2746 cat confdefs.h
>>conftest.
$ac_ext
2747 cat >>conftest.
$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2758 rm -f conftest.
$ac_objext
2759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2760 (eval $ac_compile) 2>&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); } &&
2764 { ac_try
='test -s conftest.$ac_objext'
2765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; }; then
2772 echo "$as_me: failed program was:" >&5
2773 sed 's/^/| /' conftest.
$ac_ext >&5
2776 rm -f conftest.
$ac_objext conftest.
$ac_ext
2779 if test -n "$ac_declaration"; then
2780 echo '#ifdef __cplusplus' >>confdefs.h
2781 echo $ac_declaration >>confdefs.h
2782 echo '#endif' >>confdefs.h
2786 echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.
$ac_ext >&5
2790 rm -f conftest.
$ac_objext conftest.
$ac_ext
2792 ac_cpp
='$CPP $CPPFLAGS'
2793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2796 DEPDIR
="${am__leading_dot}deps"
2798 ac_config_commands
="$ac_config_commands depfiles"
2801 am_make
=${MAKE-make}
2802 cat > confinc
<< 'END'
2807 # If we don't find an include directive, just comment out the code.
2808 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2809 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2813 # First try GNU make style include.
2814 echo "include confinc" > confmf
2815 # We grep out `Entering directory' and `Leaving directory'
2816 # messages which can occur if `w' ends up in MAKEFLAGS.
2817 # In particular we don't look at `^make:' because GNU make might
2818 # be invoked under some other name (usually "gmake"), in which
2819 # case it prints its new name instead of `make'.
2820 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2825 # Now try BSD make style include.
2826 if test "$am__include" = "#"; then
2827 echo '.include "confinc"' > confmf
2828 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2829 am__include
=.include
2836 echo "$as_me:$LINENO: result: $_am_result" >&5
2837 echo "${ECHO_T}$_am_result" >&6
2838 rm -f confinc confmf
2840 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2841 if test "${enable_dependency_tracking+set}" = set; then
2842 enableval
="$enable_dependency_tracking"
2845 if test "x$enable_dependency_tracking" != xno
; then
2846 am_depcomp
="$ac_aux_dir/depcomp"
2851 if test "x$enable_dependency_tracking" != xno; then
2862 depcc
="$CC" am_compiler_list
=
2864 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2865 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2866 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2867 echo $ECHO_N "(cached) $ECHO_C" >&6
2869 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2870 # We make a subdir and do the tests there. Otherwise we can end up
2871 # making bogus files that we don't know about and never remove. For
2872 # instance it was reported that on HP-UX the gcc test will end up
2873 # making a dummy file named `D' -- because `-MD' means `put the output
2876 # Copy depcomp to subdir because otherwise we won't find it if we're
2877 # using a relative directory.
2878 cp "$am_depcomp" conftest.dir
2880 # We will build objects and dependencies in a subdirectory because
2881 # it helps to detect inapplicable dependency modes. For instance
2882 # both Tru64's cc and ICC support -MD to output dependencies as a
2883 # side effect of compilation, but ICC will put the dependencies in
2884 # the current directory while Tru64 will put them in the object
2888 am_cv_CC_dependencies_compiler_type
=none
2889 if test "$am_compiler_list" = ""; then
2890 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2892 for depmode
in $am_compiler_list; do
2893 # Setup a source with many dependencies, because some compilers
2894 # like to wrap large dependency lists on column 80 (with \), and
2895 # we should not choose a depcomp mode which is confused by this.
2897 # We need to recreate these files for each test, as the compiler may
2898 # overwrite some of them when testing with obscure command lines.
2899 # This happens at least with the AIX C compiler.
2901 for i
in 1 2 3 4 5 6; do
2902 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2905 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2909 # after this tag, mechanisms are not by side-effect, so they'll
2910 # only be used when explicitly requested
2911 if test "x$enable_dependency_tracking" = xyes
; then
2919 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2920 # mode. It turns out that the SunPro C++ compiler does not properly
2921 # handle `-M -o', and we need to detect this.
2922 if depmode
=$depmode \
2923 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2924 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2925 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2926 >/dev
/null
2>conftest.err
&&
2927 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2928 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2929 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2930 # icc doesn't choke on unknown options, it will just issue warnings
2931 # (even with -Werror). So we grep stderr for any message
2932 # that says an option was ignored.
2933 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2934 am_cv_CC_dependencies_compiler_type
=$depmode
2943 am_cv_CC_dependencies_compiler_type
=none
2947 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2948 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2949 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2954 test "x$enable_dependency_tracking" != xno \
2955 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2957 am__fastdepCC_FALSE
='#'
2959 am__fastdepCC_TRUE
='#'
2960 am__fastdepCC_FALSE
=
2965 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2966 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2967 if test "${ac_cv_c_const+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 cat >conftest.
$ac_ext <<_ACEOF
2971 #line $LINENO "configure"
2974 cat confdefs.h
>>conftest.
$ac_ext
2975 cat >>conftest.
$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2981 /* FIXME: Include the comments suggested by Paul. */
2983 /* Ultrix mips cc rejects this. */
2984 typedef int charset[2];
2986 /* SunOS 4.1.1 cc rejects this. */
2987 char const *const *ccp;
2989 /* NEC SVR4.0.2 mips cc rejects this. */
2990 struct point {int x, y;};
2991 static struct point const zero = {0,0};
2992 /* AIX XL C 1.02.0.0 rejects this.
2993 It does not let you subtract one const X* pointer from another in
2994 an arm of an if-expression whose if-part is not a constant
2996 const char *g = "string";
2997 ccp = &g + (g ? g-g : 0);
2998 /* HPUX 7.0 cc rejects these. */
3001 ccp = (char const *const *) p;
3002 { /* SCO 3.2v4 cc rejects this. */
3004 char const *s = 0 ? (char *) 0 : (char const *) 0;
3008 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3010 const int *foo = &x[0];
3013 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3014 typedef const int *iptr;
3018 { /* AIX XL C 1.02.0.0 rejects this saying
3019 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3020 struct s { int j; const int *ap[3]; };
3021 struct s *b; b->j = 5;
3023 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3032 rm -f conftest.
$ac_objext
3033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3034 (eval $ac_compile) 2>&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); } &&
3038 { ac_try
='test -s conftest.$ac_objext'
3039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); }; }; then
3046 echo "$as_me: failed program was:" >&5
3047 sed 's/^/| /' conftest.
$ac_ext >&5
3051 rm -f conftest.
$ac_objext conftest.
$ac_ext
3053 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3054 echo "${ECHO_T}$ac_cv_c_const" >&6
3055 if test $ac_cv_c_const = no
; then
3057 cat >>confdefs.h
<<\_ACEOF
3063 echo "$as_me:$LINENO: checking for inline" >&5
3064 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3065 if test "${ac_cv_c_inline+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 for ac_kw
in inline __inline__ __inline
; do
3070 cat >conftest.
$ac_ext <<_ACEOF
3071 #line $LINENO "configure"
3074 cat confdefs.h
>>conftest.
$ac_ext
3075 cat >>conftest.
$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3079 static $ac_kw foo_t static_foo () {return 0; }
3080 $ac_kw foo_t foo () {return 0; }
3084 rm -f conftest.
$ac_objext
3085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3086 (eval $ac_compile) 2>&5
3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089 (exit $ac_status); } &&
3090 { ac_try
='test -s conftest.$ac_objext'
3091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }; }; then
3096 ac_cv_c_inline
=$ac_kw; break
3098 echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.
$ac_ext >&5
3102 rm -f conftest.
$ac_objext conftest.
$ac_ext
3106 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3107 echo "${ECHO_T}$ac_cv_c_inline" >&6
3108 case $ac_cv_c_inline in
3111 cat >>confdefs.h
<<\_ACEOF
3115 *) cat >>confdefs.h
<<_ACEOF
3116 #define inline $ac_cv_c_inline
3123 ## ----------------------- ##
3124 ## Libtool initialisation. ##
3125 ## ----------------------- ##
3128 # Check whether --enable-shared or --disable-shared was given.
3129 if test "${enable_shared+set}" = set; then
3130 enableval
="$enable_shared"
3131 p
=${PACKAGE-default}
3133 yes) enable_shared
=yes ;;
3134 no
) enable_shared
=no
;;
3137 # Look at the argument we got. We use all the common list separators.
3138 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3139 for pkg
in $enableval; do
3141 if test "X$pkg" = "X$p"; then
3152 # Check whether --enable-static or --disable-static was given.
3153 if test "${enable_static+set}" = set; then
3154 enableval
="$enable_static"
3155 p
=${PACKAGE-default}
3157 yes) enable_static
=yes ;;
3158 no
) enable_static
=no
;;
3161 # Look at the argument we got. We use all the common list separators.
3162 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3163 for pkg
in $enableval; do
3165 if test "X$pkg" = "X$p"; then
3176 # Check whether --enable-fast-install or --disable-fast-install was given.
3177 if test "${enable_fast_install+set}" = set; then
3178 enableval
="$enable_fast_install"
3179 p
=${PACKAGE-default}
3181 yes) enable_fast_install
=yes ;;
3182 no
) enable_fast_install
=no
;;
3184 enable_fast_install
=no
3185 # Look at the argument we got. We use all the common list separators.
3186 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3187 for pkg
in $enableval; do
3189 if test "X$pkg" = "X$p"; then
3190 enable_fast_install
=yes
3197 enable_fast_install
=yes
3200 # Make sure we can run config.sub.
3201 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3202 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3203 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3204 { (exit 1); exit 1; }; }
3206 echo "$as_me:$LINENO: checking build system type" >&5
3207 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3208 if test "${ac_cv_build+set}" = set; then
3209 echo $ECHO_N "(cached) $ECHO_C" >&6
3211 ac_cv_build_alias
=$build_alias
3212 test -z "$ac_cv_build_alias" &&
3213 ac_cv_build_alias
=`$ac_config_guess`
3214 test -z "$ac_cv_build_alias" &&
3215 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3216 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3217 { (exit 1); exit 1; }; }
3218 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3219 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3220 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3221 { (exit 1); exit 1; }; }
3224 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3225 echo "${ECHO_T}$ac_cv_build" >&6
3227 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3228 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3229 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3232 echo "$as_me:$LINENO: checking host system type" >&5
3233 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3234 if test "${ac_cv_host+set}" = set; then
3235 echo $ECHO_N "(cached) $ECHO_C" >&6
3237 ac_cv_host_alias
=$host_alias
3238 test -z "$ac_cv_host_alias" &&
3239 ac_cv_host_alias
=$ac_cv_build_alias
3240 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3241 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3242 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3243 { (exit 1); exit 1; }; }
3246 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3247 echo "${ECHO_T}$ac_cv_host" >&6
3249 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3250 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3251 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3254 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3255 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3256 if test "${lt_cv_path_SED+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 # Loop through the user's path and test for sed and gsed.
3260 # Then use that list of sed's as ones to test for truncation.
3261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir
=.
3266 for lt_ac_prog
in sed gsed
; do
3267 for ac_exec_ext
in '' $ac_executable_extensions; do
3268 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3269 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3276 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3277 # along with /bin/sed that truncates output.
3278 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3279 test ! -f $lt_ac_sed && break
3280 cat /dev
/null
> conftest.
in
3282 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3283 # Check for GNU sed and select it if it is found.
3284 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3285 lt_cv_path_SED
=$lt_ac_sed
3289 cat conftest.
in conftest.
in >conftest.tmp
3290 mv conftest.tmp conftest.
in
3291 cp conftest.
in conftest.
nl
3293 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3294 cmp -s conftest.out conftest.
nl ||
break
3295 # 10000 chars as input seems more than enough
3296 test $lt_ac_count -gt 10 && break
3297 lt_ac_count
=`expr $lt_ac_count + 1`
3298 if test $lt_ac_count -gt $lt_ac_max; then
3299 lt_ac_max
=$lt_ac_count
3300 lt_cv_path_SED
=$lt_ac_sed
3308 echo "$as_me:$LINENO: result: $SED" >&5
3309 echo "${ECHO_T}$SED" >&6
3311 echo "$as_me:$LINENO: checking for egrep" >&5
3312 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3313 if test "${ac_cv_prog_egrep+set}" = set; then
3314 echo $ECHO_N "(cached) $ECHO_C" >&6
3316 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3317 then ac_cv_prog_egrep
='grep -E'
3318 else ac_cv_prog_egrep
='egrep'
3321 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3322 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3323 EGREP
=$ac_cv_prog_egrep
3327 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3328 if test "${with_gnu_ld+set}" = set; then
3329 withval
="$with_gnu_ld"
3330 test "$withval" = no || with_gnu_ld
=yes
3335 if test "$GCC" = yes; then
3336 # Check if gcc -print-prog-name=ld gives a path.
3337 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3338 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3341 # gcc leaves a trailing carriage return which upsets mingw
3342 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3344 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3347 # Accept absolute paths.
3349 re_direlt
='/[^/][^/]*/\.\./'
3350 # Canonicalize the path of ld
3351 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3352 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3353 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3355 test -z "$LD" && LD
="$ac_prog"
3358 # If it fails, then pretend we aren't using GCC.
3362 # If it is relative, then search for the first ld in PATH.
3366 elif test "$with_gnu_ld" = yes; then
3367 echo "$as_me:$LINENO: checking for GNU ld" >&5
3368 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3370 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3371 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3373 if test "${lt_cv_path_LD+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 if test -z "$LD"; then
3377 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3378 for ac_dir
in $PATH; do
3380 test -z "$ac_dir" && ac_dir
=.
3381 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3382 lt_cv_path_LD
="$ac_dir/$ac_prog"
3383 # Check to see if the program is GNU ld. I'd rather use --version,
3384 # but apparently some GNU ld's only accept -v.
3385 # Break only if it was the GNU/non-GNU ld that we prefer.
3386 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3387 *GNU
* |
*'with BFD'*)
3388 test "$with_gnu_ld" != no
&& break
3391 test "$with_gnu_ld" != yes && break
3398 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3403 if test -n "$LD"; then
3404 echo "$as_me:$LINENO: result: $LD" >&5
3405 echo "${ECHO_T}$LD" >&6
3407 echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6
3410 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3411 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3412 { (exit 1); exit 1; }; }
3413 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3414 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3415 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3416 echo $ECHO_N "(cached) $ECHO_C" >&6
3418 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3419 case `"$LD" -v 2>&1 </dev/null` in
3420 *GNU
* |
*'with BFD'*)
3421 lt_cv_prog_gnu_ld
=yes
3424 lt_cv_prog_gnu_ld
=no
3428 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3429 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3430 with_gnu_ld
=$lt_cv_prog_gnu_ld
3433 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3434 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3435 if test "${lt_cv_ld_reload_flag+set}" = set; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 lt_cv_ld_reload_flag
='-r'
3440 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3441 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3442 reload_flag
=$lt_cv_ld_reload_flag
3443 case $reload_flag in
3445 *) reload_flag
=" $reload_flag" ;;
3447 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
3449 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3450 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3451 if test "${lt_cv_path_NM+set}" = set; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 if test -n "$NM"; then
3455 # Let the user override the test.
3458 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3459 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3461 test -z "$ac_dir" && ac_dir
=.
3462 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
3463 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
3464 # Check to see if the nm accepts a BSD-compat flag.
3465 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3466 # nm: unknown option "B" ignored
3467 # Tru64's nm complains that /dev/null is an invalid object file
3468 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3469 */dev
/null
* |
*'Invalid file or object type'*)
3470 lt_cv_path_NM
="$tmp_nm -B"
3474 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3476 lt_cv_path_NM
="$tmp_nm -p"
3480 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3481 continue # so that we can try to find one that supports BSD flags
3488 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3491 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3492 echo "${ECHO_T}$lt_cv_path_NM" >&6
3495 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3496 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3498 if test "$LN_S" = "ln -s"; then
3499 echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6
3502 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3503 echo "${ECHO_T}no, using $LN_S" >&6
3506 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3507 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3508 if test "${lt_cv_deplibs_check_method+set}" = set; then
3509 echo $ECHO_N "(cached) $ECHO_C" >&6
3511 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3512 lt_cv_file_magic_test_file
=
3513 lt_cv_deplibs_check_method
='unknown'
3514 # Need to set the preceding variable on all platforms that support
3515 # interlibrary dependencies.
3516 # 'none' -- dependencies not supported.
3517 # `unknown' -- same as none, but documents that we really don't know.
3518 # 'pass_all' -- all dependencies passed with no checks.
3519 # 'test_compile' -- check by making test program.
3520 # 'file_magic [[regex]]' -- check by looking for files in library path
3521 # which responds to the $file_magic_cmd with a given extended regex.
3522 # If you have `file' or equivalent on your system and you're not sure
3523 # whether `pass_all' will *always* work, you probably want this one.
3527 lt_cv_deplibs_check_method
=pass_all
3531 lt_cv_deplibs_check_method
=pass_all
3535 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3536 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3537 lt_cv_file_magic_test_file
=/shlib
/libc.so
3540 cygwin
* | mingw
* | pw32
*)
3541 # win32_libid is a shell function defined in ltmain.sh
3542 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3543 lt_cv_file_magic_cmd
='win32_libid'
3546 darwin
* | rhapsody
*)
3547 # this will be overwritten by pass_all, but leave it in just in case
3548 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3549 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3551 rhapsody
* | darwin1.
[012])
3552 lt_cv_file_magic_test_file
=`/System/Library/Frameworks/System.framework/System`
3555 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3558 lt_cv_deplibs_check_method
=pass_all
3562 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3565 # Not sure whether the presence of OpenBSD here was a mistake.
3566 # Let's accept both of them until this is cleared up.
3567 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3568 lt_cv_file_magic_cmd
=/usr
/bin
/file
3569 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3573 lt_cv_deplibs_check_method
=pass_all
3578 lt_cv_deplibs_check_method
=pass_all
3581 hpux10.20
* | hpux11
*)
3582 lt_cv_file_magic_cmd
=/usr
/bin
/file
3585 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3586 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3589 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]'
3590 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3593 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3594 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3599 irix5
* | irix6
* | nonstopux
*)
3601 irix5
* | nonstopux
*)
3602 # this will be overridden with pass_all, but let us keep it just in case
3603 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3607 *-32|
*"-32 ") libmagic
=32-bit;;
3608 *-n32|
*"-n32 ") libmagic
=N32
;;
3609 *-64|
*"-64 ") libmagic
=64-bit;;
3610 *) libmagic
=never-match
;;
3612 # this will be overridden with pass_all, but let us keep it just in case
3613 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3616 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3617 lt_cv_deplibs_check_method
=pass_all
3620 # This must be Linux ELF.
3623 alpha
* | hppa
* | i
*86 | ia64
* | m68
* | mips | mipsel | powerpc
* | sparc
* | s390
* | sh
*)
3624 lt_cv_deplibs_check_method
=pass_all
;;
3626 # glibc up to 2.1.1 does not perform some relocations on ARM
3627 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3629 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3633 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3634 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3636 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3641 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3642 lt_cv_file_magic_cmd
=/usr
/bin
/file
3643 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3647 lt_cv_deplibs_check_method
=unknown
3651 lt_cv_file_magic_cmd
=/usr
/bin
/file
3652 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3653 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3654 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
3656 lt_cv_deplibs_check_method
='file_magic OpenBSD.* shared library'
3660 osf3
* | osf4
* | osf5
*)
3661 # this will be overridden with pass_all, but let us keep it just in case
3662 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3663 lt_cv_file_magic_test_file
=/shlib
/libc.so
3664 lt_cv_deplibs_check_method
=pass_all
3668 lt_cv_deplibs_check_method
=pass_all
3672 lt_cv_deplibs_check_method
=pass_all
3673 lt_cv_file_magic_test_file
=/lib
/libc.so
3676 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3677 case $host_vendor in
3679 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]'
3680 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3683 lt_cv_deplibs_check_method
=pass_all
3686 lt_cv_file_magic_cmd
='/bin/file'
3687 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3690 lt_cv_file_magic_cmd
='/bin/file'
3691 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3692 lt_cv_file_magic_test_file
=/lib
/libc.so
3695 lt_cv_deplibs_check_method
=pass_all
3700 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
3701 lt_cv_deplibs_check_method
=pass_all
3706 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3707 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3708 file_magic_cmd
=$lt_cv_file_magic_cmd
3709 deplibs_check_method
=$lt_cv_deplibs_check_method
3710 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3715 # If no C compiler was specified, use CC.
3718 # Allow CC to be a program name with arguments.
3721 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3722 if test "${enable_libtool_lock+set}" = set; then
3723 enableval
="$enable_libtool_lock"
3726 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3728 # Some flags need to be propagated to the compiler or linker for good
3732 # Find out which ABI we are using.
3733 echo 'int i;' > conftest.
$ac_ext
3734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3735 (eval $ac_compile) 2>&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); }; then
3739 case `/usr/bin/file conftest.$ac_objext` in
3751 # Find out which ABI we are using.
3752 echo '#line 3752 "configure"' > conftest.
$ac_ext
3753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3754 (eval $ac_compile) 2>&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); }; then
3758 if test "$lt_cv_prog_gnu_ld" = yes; then
3759 case `/usr/bin/file conftest.$ac_objext` in
3761 LD
="${LD-ld} -melf32bsmip"
3764 LD
="${LD-ld} -melf32bmipn32"
3767 LD
="${LD-ld} -melf64bmip"
3771 case `/usr/bin/file conftest.$ac_objext` in
3787 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3788 # Find out which ABI we are using.
3789 echo 'int i;' > conftest.
$ac_ext
3790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3791 (eval $ac_compile) 2>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); }; then
3795 case "`/usr/bin/file conftest.o`" in
3799 LD
="${LD-ld} -m elf_i386"
3802 LD
="${LD-ld} -m elf32ppclinux"
3805 LD
="${LD-ld} -m elf_s390"
3808 LD
="${LD-ld} -m elf32_sparc"
3815 LD
="${LD-ld} -m elf_x86_64"
3817 ppc
*-*linux
*|powerpc
*-*linux
*)
3818 LD
="${LD-ld} -m elf64ppc"
3821 LD
="${LD-ld} -m elf64_s390"
3824 LD
="${LD-ld} -m elf64_sparc"
3834 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3835 SAVE_CFLAGS
="$CFLAGS"
3836 CFLAGS
="$CFLAGS -belf"
3837 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3838 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3839 if test "${lt_cv_cc_needs_belf+set}" = set; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3843 ac_cpp
='$CPP $CPPFLAGS'
3844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3848 cat >conftest.
$ac_ext <<_ACEOF
3849 #line $LINENO "configure"
3852 cat confdefs.h
>>conftest.
$ac_ext
3853 cat >>conftest.
$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3864 rm -f conftest.
$ac_objext conftest
$ac_exeext
3865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3866 (eval $ac_link) 2>&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } &&
3870 { ac_try
='test -s conftest$ac_exeext'
3871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; }; then
3876 lt_cv_cc_needs_belf
=yes
3878 echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.
$ac_ext >&5
3881 lt_cv_cc_needs_belf
=no
3883 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3885 ac_cpp
='$CPP $CPPFLAGS'
3886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3891 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3892 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3893 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3894 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3895 CFLAGS
="$SAVE_CFLAGS"
3898 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
3899 if test -n "$ac_tool_prefix"; then
3900 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3901 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
3902 echo "$as_me:$LINENO: checking for $ac_word" >&5
3903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3904 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3905 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 if test -n "$DLLTOOL"; then
3908 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
3910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3914 test -z "$as_dir" && as_dir
=.
3915 for ac_exec_ext
in '' $ac_executable_extensions; do
3916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3917 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
3918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 DLLTOOL
=$ac_cv_prog_DLLTOOL
3927 if test -n "$DLLTOOL"; then
3928 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3929 echo "${ECHO_T}$DLLTOOL" >&6
3931 echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6
3936 if test -z "$ac_cv_prog_DLLTOOL"; then
3937 ac_ct_DLLTOOL
=$DLLTOOL
3938 # Extract the first word of "dlltool", so it can be a program name with args.
3939 set dummy dlltool
; ac_word
=$2
3940 echo "$as_me:$LINENO: checking for $ac_word" >&5
3941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3942 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 if test -n "$ac_ct_DLLTOOL"; then
3946 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
3948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3952 test -z "$as_dir" && as_dir
=.
3953 for ac_exec_ext
in '' $ac_executable_extensions; do
3954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3955 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
3956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3962 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
3965 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
3966 if test -n "$ac_ct_DLLTOOL"; then
3967 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3968 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3970 echo "$as_me:$LINENO: result: no" >&5
3971 echo "${ECHO_T}no" >&6
3974 DLLTOOL
=$ac_ct_DLLTOOL
3976 DLLTOOL
="$ac_cv_prog_DLLTOOL"
3979 if test -n "$ac_tool_prefix"; then
3980 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3981 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3984 if test "${ac_cv_prog_AS+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3987 if test -n "$AS"; then
3988 ac_cv_prog_AS
="$AS" # Let the user override the test.
3990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir
=.
3995 for ac_exec_ext
in '' $ac_executable_extensions; do
3996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_AS
="${ac_tool_prefix}as"
3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 if test -n "$AS"; then
4008 echo "$as_me:$LINENO: result: $AS" >&5
4009 echo "${ECHO_T}$AS" >&6
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4016 if test -z "$ac_cv_prog_AS"; then
4018 # Extract the first word of "as", so it can be a program name with args.
4019 set dummy as
; ac_word
=$2
4020 echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4022 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 if test -n "$ac_ct_AS"; then
4026 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_ac_ct_AS
="as"
4036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
4045 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4046 if test -n "$ac_ct_AS"; then
4047 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4048 echo "${ECHO_T}$ac_ct_AS" >&6
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4059 if test -n "$ac_tool_prefix"; then
4060 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4061 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4062 echo "$as_me:$LINENO: checking for $ac_word" >&5
4063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4064 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 if test -n "$OBJDUMP"; then
4068 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4074 test -z "$as_dir" && as_dir
=.
4075 for ac_exec_ext
in '' $ac_executable_extensions; do
4076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4077 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 OBJDUMP
=$ac_cv_prog_OBJDUMP
4087 if test -n "$OBJDUMP"; then
4088 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4089 echo "${ECHO_T}$OBJDUMP" >&6
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4096 if test -z "$ac_cv_prog_OBJDUMP"; then
4097 ac_ct_OBJDUMP
=$OBJDUMP
4098 # Extract the first word of "objdump", so it can be a program name with args.
4099 set dummy objdump
; ac_word
=$2
4100 echo "$as_me:$LINENO: checking for $ac_word" >&5
4101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4102 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 if test -n "$ac_ct_OBJDUMP"; then
4106 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4112 test -z "$as_dir" && as_dir
=.
4113 for ac_exec_ext
in '' $ac_executable_extensions; do
4114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4115 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4122 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
4125 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4126 if test -n "$ac_ct_OBJDUMP"; then
4127 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4128 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4130 echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4134 OBJDUMP
=$ac_ct_OBJDUMP
4136 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4143 need_locks
="$enable_libtool_lock"
4147 ac_cpp
='$CPP $CPPFLAGS'
4148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4151 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4152 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4153 # On Suns, sometimes $CPP names a directory.
4154 if test -n "$CPP" && test -d "$CPP"; then
4157 if test -z "$CPP"; then
4158 if test "${ac_cv_prog_CPP+set}" = set; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 # Double quotes because CPP needs to be expanded
4162 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4165 for ac_c_preproc_warn_flag
in '' yes
4167 # Use a header file that comes with gcc, so configuring glibc
4168 # with a fresh cross-compiler works.
4169 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4170 # <limits.h> exists even on freestanding compilers.
4171 # On the NeXT, cc -E runs the code through the compiler's parser,
4172 # not just through cpp. "Syntax error" is here to catch this case.
4173 cat >conftest.
$ac_ext <<_ACEOF
4174 #line $LINENO "configure"
4177 cat confdefs.h
>>conftest.
$ac_ext
4178 cat >>conftest.
$ac_ext <<_ACEOF
4179 /* end confdefs.h. */
4181 # include <limits.h>
4183 # include <assert.h>
4187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4190 grep -v '^ *+' conftest.er1
>conftest.err
4192 cat conftest.err
>&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } >/dev
/null
; then
4195 if test -s conftest.err
; then
4196 ac_cpp_err
=$ac_c_preproc_warn_flag
4203 if test -z "$ac_cpp_err"; then
4206 echo "$as_me: failed program was:" >&5
4207 sed 's/^/| /' conftest.
$ac_ext >&5
4209 # Broken: fails on valid input.
4212 rm -f conftest.err conftest.
$ac_ext
4214 # OK, works on sane cases. Now check whether non-existent headers
4215 # can be detected and how.
4216 cat >conftest.
$ac_ext <<_ACEOF
4217 #line $LINENO "configure"
4220 cat confdefs.h
>>conftest.
$ac_ext
4221 cat >>conftest.
$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4223 #include <ac_nonexistent.h>
4225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4226 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4228 grep -v '^ *+' conftest.er1
>conftest.err
4230 cat conftest.err
>&5
4231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232 (exit $ac_status); } >/dev
/null
; then
4233 if test -s conftest.err
; then
4234 ac_cpp_err
=$ac_c_preproc_warn_flag
4241 if test -z "$ac_cpp_err"; then
4242 # Broken: success on invalid input.
4245 echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.
$ac_ext >&5
4248 # Passes both tests.
4252 rm -f conftest.err conftest.
$ac_ext
4255 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4256 rm -f conftest.err conftest.
$ac_ext
4257 if $ac_preproc_ok; then
4269 echo "$as_me:$LINENO: result: $CPP" >&5
4270 echo "${ECHO_T}$CPP" >&6
4272 for ac_c_preproc_warn_flag
in '' yes
4274 # Use a header file that comes with gcc, so configuring glibc
4275 # with a fresh cross-compiler works.
4276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4277 # <limits.h> exists even on freestanding compilers.
4278 # On the NeXT, cc -E runs the code through the compiler's parser,
4279 # not just through cpp. "Syntax error" is here to catch this case.
4280 cat >conftest.
$ac_ext <<_ACEOF
4281 #line $LINENO "configure"
4284 cat confdefs.h
>>conftest.
$ac_ext
4285 cat >>conftest.
$ac_ext <<_ACEOF
4286 /* end confdefs.h. */
4288 # include <limits.h>
4290 # include <assert.h>
4294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4297 grep -v '^ *+' conftest.er1
>conftest.err
4299 cat conftest.err
>&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } >/dev
/null
; then
4302 if test -s conftest.err
; then
4303 ac_cpp_err
=$ac_c_preproc_warn_flag
4310 if test -z "$ac_cpp_err"; then
4313 echo "$as_me: failed program was:" >&5
4314 sed 's/^/| /' conftest.
$ac_ext >&5
4316 # Broken: fails on valid input.
4319 rm -f conftest.err conftest.
$ac_ext
4321 # OK, works on sane cases. Now check whether non-existent headers
4322 # can be detected and how.
4323 cat >conftest.
$ac_ext <<_ACEOF
4324 #line $LINENO "configure"
4327 cat confdefs.h
>>conftest.
$ac_ext
4328 cat >>conftest.
$ac_ext <<_ACEOF
4329 /* end confdefs.h. */
4330 #include <ac_nonexistent.h>
4332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4333 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4335 grep -v '^ *+' conftest.er1
>conftest.err
4337 cat conftest.err
>&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); } >/dev
/null
; then
4340 if test -s conftest.err
; then
4341 ac_cpp_err
=$ac_c_preproc_warn_flag
4348 if test -z "$ac_cpp_err"; then
4349 # Broken: success on invalid input.
4352 echo "$as_me: failed program was:" >&5
4353 sed 's/^/| /' conftest.
$ac_ext >&5
4355 # Passes both tests.
4359 rm -f conftest.err conftest.
$ac_ext
4362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4363 rm -f conftest.err conftest.
$ac_ext
4364 if $ac_preproc_ok; then
4367 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4368 See \`config.log' for more details." >&5
4369 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4370 See \`config.log' for more details." >&2;}
4371 { (exit 1); exit 1; }; }
4375 ac_cpp
='$CPP $CPPFLAGS'
4376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4381 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4382 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4383 if test "${ac_cv_header_stdc+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4386 cat >conftest.
$ac_ext <<_ACEOF
4387 #line $LINENO "configure"
4390 cat confdefs.h
>>conftest.
$ac_ext
4391 cat >>conftest.
$ac_ext <<_ACEOF
4392 /* end confdefs.h. */
4406 rm -f conftest.
$ac_objext
4407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4408 (eval $ac_compile) 2>&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); } &&
4412 { ac_try
='test -s conftest.$ac_objext'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; }; then
4418 ac_cv_header_stdc
=yes
4420 echo "$as_me: failed program was:" >&5
4421 sed 's/^/| /' conftest.
$ac_ext >&5
4423 ac_cv_header_stdc
=no
4425 rm -f conftest.
$ac_objext conftest.
$ac_ext
4427 if test $ac_cv_header_stdc = yes; then
4428 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4429 cat >conftest.
$ac_ext <<_ACEOF
4430 #line $LINENO "configure"
4433 cat confdefs.h
>>conftest.
$ac_ext
4434 cat >>conftest.
$ac_ext <<_ACEOF
4435 /* end confdefs.h. */
4439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4440 $EGREP "memchr" >/dev
/null
2>&1; then
4443 ac_cv_header_stdc
=no
4449 if test $ac_cv_header_stdc = yes; then
4450 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4451 cat >conftest.
$ac_ext <<_ACEOF
4452 #line $LINENO "configure"
4455 cat confdefs.h
>>conftest.
$ac_ext
4456 cat >>conftest.
$ac_ext <<_ACEOF
4457 /* end confdefs.h. */
4461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4462 $EGREP "free" >/dev
/null
2>&1; then
4465 ac_cv_header_stdc
=no
4471 if test $ac_cv_header_stdc = yes; then
4472 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4473 if test "$cross_compiling" = yes; then
4476 cat >conftest.
$ac_ext <<_ACEOF
4477 #line $LINENO "configure"
4480 cat confdefs.h
>>conftest.
$ac_ext
4481 cat >>conftest.
$ac_ext <<_ACEOF
4482 /* end confdefs.h. */
4484 #if ((' ' & 0x0FF) == 0x020)
4485 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4486 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4488 # define ISLOWER(c) \
4489 (('a' <= (c) && (c) <= 'i') \
4490 || ('j' <= (c) && (c) <= 'r') \
4491 || ('s' <= (c) && (c) <= 'z'))
4492 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4495 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4500 for (i = 0; i < 256; i++)
4501 if (XOR (islower (i), ISLOWER (i))
4502 || toupper (i) != TOUPPER (i))
4507 rm -f conftest
$ac_exeext
4508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4509 (eval $ac_link) 2>&5
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }; }; then
4520 echo "$as_me: program exited with status $ac_status" >&5
4521 echo "$as_me: failed program was:" >&5
4522 sed 's/^/| /' conftest.
$ac_ext >&5
4525 ac_cv_header_stdc
=no
4527 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4531 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4532 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4533 if test $ac_cv_header_stdc = yes; then
4535 cat >>confdefs.h
<<\_ACEOF
4536 #define STDC_HEADERS 1
4541 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4551 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4552 inttypes.h stdint.h unistd.h
4554 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4555 echo "$as_me:$LINENO: checking for $ac_header" >&5
4556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 cat >conftest.
$ac_ext <<_ACEOF
4561 #line $LINENO "configure"
4564 cat confdefs.h
>>conftest.
$ac_ext
4565 cat >>conftest.
$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4567 $ac_includes_default
4569 #include <$ac_header>
4571 rm -f conftest.
$ac_objext
4572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4573 (eval $ac_compile) 2>&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); } &&
4577 { ac_try
='test -s conftest.$ac_objext'
4578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; }; then
4583 eval "$as_ac_Header=yes"
4585 echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.
$ac_ext >&5
4588 eval "$as_ac_Header=no"
4590 rm -f conftest.
$ac_objext conftest.
$ac_ext
4592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4595 cat >>confdefs.h
<<_ACEOF
4596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4605 for ac_header
in dlfcn.h
4607 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4609 echo "$as_me:$LINENO: checking for $ac_header" >&5
4610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4612 echo $ECHO_N "(cached) $ECHO_C" >&6
4614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4617 # Is the header compilable?
4618 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4619 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4620 cat >conftest.
$ac_ext <<_ACEOF
4621 #line $LINENO "configure"
4624 cat confdefs.h
>>conftest.
$ac_ext
4625 cat >>conftest.
$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4627 $ac_includes_default
4628 #include <$ac_header>
4630 rm -f conftest.
$ac_objext
4631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4632 (eval $ac_compile) 2>&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); } &&
4636 { ac_try
='test -s conftest.$ac_objext'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; }; then
4642 ac_header_compiler
=yes
4644 echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.
$ac_ext >&5
4647 ac_header_compiler
=no
4649 rm -f conftest.
$ac_objext conftest.
$ac_ext
4650 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4651 echo "${ECHO_T}$ac_header_compiler" >&6
4653 # Is the header present?
4654 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4655 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4656 cat >conftest.
$ac_ext <<_ACEOF
4657 #line $LINENO "configure"
4660 cat confdefs.h
>>conftest.
$ac_ext
4661 cat >>conftest.
$ac_ext <<_ACEOF
4662 /* end confdefs.h. */
4663 #include <$ac_header>
4665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4666 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4668 grep -v '^ *+' conftest.er1
>conftest.err
4670 cat conftest.err
>&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); } >/dev
/null
; then
4673 if test -s conftest.err
; then
4674 ac_cpp_err
=$ac_c_preproc_warn_flag
4681 if test -z "$ac_cpp_err"; then
4682 ac_header_preproc
=yes
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.
$ac_ext >&5
4687 ac_header_preproc
=no
4689 rm -f conftest.err conftest.
$ac_ext
4690 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4691 echo "${ECHO_T}$ac_header_preproc" >&6
4693 # So? What about this header?
4694 case $ac_header_compiler:$ac_header_preproc in
4696 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4697 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4702 ## ------------------------------------ ##
4703 ## Report this to bug-autoconf@gnu.org. ##
4704 ## ------------------------------------ ##
4707 sed "s/^/$as_me: WARNING: /" >&2
4710 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4711 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4712 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4713 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4715 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4718 ## ------------------------------------ ##
4719 ## Report this to bug-autoconf@gnu.org. ##
4720 ## ------------------------------------ ##
4723 sed "s/^/$as_me: WARNING: /" >&2
4726 echo "$as_me:$LINENO: checking for $ac_header" >&5
4727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4729 echo $ECHO_N "(cached) $ECHO_C" >&6
4731 eval "$as_ac_Header=$ac_header_preproc"
4733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4738 cat >>confdefs.h
<<_ACEOF
4739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4747 ac_cpp
='$CXXCPP $CPPFLAGS'
4748 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4749 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4750 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4751 if test -n "$ac_tool_prefix"; then
4752 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4755 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4756 echo "$as_me:$LINENO: checking for $ac_word" >&5
4757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4758 if test "${ac_cv_prog_CXX+set}" = set; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4761 if test -n "$CXX"; then
4762 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir
=.
4769 for ac_exec_ext
in '' $ac_executable_extensions; do
4770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 if test -n "$CXX"; then
4782 echo "$as_me:$LINENO: result: $CXX" >&5
4783 echo "${ECHO_T}$CXX" >&6
4785 echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6
4789 test -n "$CXX" && break
4792 if test -z "$CXX"; then
4794 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
4796 # Extract the first word of "$ac_prog", so it can be a program name with args.
4797 set dummy
$ac_prog; ac_word
=$2
4798 echo "$as_me:$LINENO: checking for $ac_word" >&5
4799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4800 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4801 echo $ECHO_N "(cached) $ECHO_C" >&6
4803 if test -n "$ac_ct_CXX"; then
4804 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4810 test -z "$as_dir" && as_dir
=.
4811 for ac_exec_ext
in '' $ac_executable_extensions; do
4812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4813 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4822 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4823 if test -n "$ac_ct_CXX"; then
4824 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4825 echo "${ECHO_T}$ac_ct_CXX" >&6
4827 echo "$as_me:$LINENO: result: no" >&5
4828 echo "${ECHO_T}no" >&6
4831 test -n "$ac_ct_CXX" && break
4833 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
4839 # Provide some information about the compiler.
4840 echo "$as_me:$LINENO:" \
4841 "checking for C++ compiler version" >&5
4842 ac_compiler
=`set X $ac_compile; echo $2`
4843 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4844 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); }
4848 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4849 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }
4853 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4854 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); }
4859 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4860 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4861 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 cat >conftest.
$ac_ext <<_ACEOF
4865 #line $LINENO "configure"
4868 cat confdefs.h
>>conftest.
$ac_ext
4869 cat >>conftest.
$ac_ext <<_ACEOF
4870 /* end confdefs.h. */
4883 rm -f conftest.
$ac_objext
4884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4885 (eval $ac_compile) 2>&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); } &&
4889 { ac_try
='test -s conftest.$ac_objext'
4890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); }; }; then
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.
$ac_ext >&5
4902 rm -f conftest.
$ac_objext conftest.
$ac_ext
4903 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4906 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4907 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4908 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4909 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4910 ac_save_CXXFLAGS
=$CXXFLAGS
4912 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4913 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4914 if test "${ac_cv_prog_cxx_g+set}" = set; then
4915 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 cat >conftest.
$ac_ext <<_ACEOF
4918 #line $LINENO "configure"
4921 cat confdefs.h
>>conftest.
$ac_ext
4922 cat >>conftest.
$ac_ext <<_ACEOF
4923 /* end confdefs.h. */
4933 rm -f conftest.
$ac_objext
4934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4935 (eval $ac_compile) 2>&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); } &&
4939 { ac_try
='test -s conftest.$ac_objext'
4940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); }; }; then
4945 ac_cv_prog_cxx_g
=yes
4947 echo "$as_me: failed program was:" >&5
4948 sed 's/^/| /' conftest.
$ac_ext >&5
4952 rm -f conftest.
$ac_objext conftest.
$ac_ext
4954 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4955 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4956 if test "$ac_test_CXXFLAGS" = set; then
4957 CXXFLAGS
=$ac_save_CXXFLAGS
4958 elif test $ac_cv_prog_cxx_g = yes; then
4959 if test "$GXX" = yes; then
4965 if test "$GXX" = yes; then
4971 for ac_declaration
in \
4973 'extern "C" void std::exit (int) throw (); using std::exit;' \
4974 'extern "C" void std::exit (int); using std::exit;' \
4975 'extern "C" void exit (int) throw ();' \
4976 'extern "C" void exit (int);' \
4979 cat >conftest.
$ac_ext <<_ACEOF
4980 #line $LINENO "configure"
4983 cat confdefs.h
>>conftest.
$ac_ext
4984 cat >>conftest.
$ac_ext <<_ACEOF
4985 /* end confdefs.h. */
4996 rm -f conftest.
$ac_objext
4997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4998 (eval $ac_compile) 2>&5
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); } &&
5002 { ac_try
='test -s conftest.$ac_objext'
5003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); }; }; then
5010 echo "$as_me: failed program was:" >&5
5011 sed 's/^/| /' conftest.
$ac_ext >&5
5015 rm -f conftest.
$ac_objext conftest.
$ac_ext
5016 cat >conftest.
$ac_ext <<_ACEOF
5017 #line $LINENO "configure"
5020 cat confdefs.h
>>conftest.
$ac_ext
5021 cat >>conftest.
$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5032 rm -f conftest.
$ac_objext
5033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5034 (eval $ac_compile) 2>&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); } &&
5038 { ac_try
='test -s conftest.$ac_objext'
5039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; }; then
5046 echo "$as_me: failed program was:" >&5
5047 sed 's/^/| /' conftest.
$ac_ext >&5
5050 rm -f conftest.
$ac_objext conftest.
$ac_ext
5053 if test -n "$ac_declaration"; then
5054 echo '#ifdef __cplusplus' >>confdefs.h
5055 echo $ac_declaration >>confdefs.h
5056 echo '#endif' >>confdefs.h
5060 ac_cpp
='$CXXCPP $CPPFLAGS'
5061 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5062 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5063 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5065 depcc
="$CXX" am_compiler_list
=
5067 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5068 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5069 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5070 echo $ECHO_N "(cached) $ECHO_C" >&6
5072 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5073 # We make a subdir and do the tests there. Otherwise we can end up
5074 # making bogus files that we don't know about and never remove. For
5075 # instance it was reported that on HP-UX the gcc test will end up
5076 # making a dummy file named `D' -- because `-MD' means `put the output
5079 # Copy depcomp to subdir because otherwise we won't find it if we're
5080 # using a relative directory.
5081 cp "$am_depcomp" conftest.dir
5083 # We will build objects and dependencies in a subdirectory because
5084 # it helps to detect inapplicable dependency modes. For instance
5085 # both Tru64's cc and ICC support -MD to output dependencies as a
5086 # side effect of compilation, but ICC will put the dependencies in
5087 # the current directory while Tru64 will put them in the object
5091 am_cv_CXX_dependencies_compiler_type
=none
5092 if test "$am_compiler_list" = ""; then
5093 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5095 for depmode
in $am_compiler_list; do
5096 # Setup a source with many dependencies, because some compilers
5097 # like to wrap large dependency lists on column 80 (with \), and
5098 # we should not choose a depcomp mode which is confused by this.
5100 # We need to recreate these files for each test, as the compiler may
5101 # overwrite some of them when testing with obscure command lines.
5102 # This happens at least with the AIX C compiler.
5104 for i
in 1 2 3 4 5 6; do
5105 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5108 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5112 # after this tag, mechanisms are not by side-effect, so they'll
5113 # only be used when explicitly requested
5114 if test "x$enable_dependency_tracking" = xyes
; then
5122 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5123 # mode. It turns out that the SunPro C++ compiler does not properly
5124 # handle `-M -o', and we need to detect this.
5125 if depmode
=$depmode \
5126 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5127 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5128 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5129 >/dev
/null
2>conftest.err
&&
5130 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5131 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5132 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5133 # icc doesn't choke on unknown options, it will just issue warnings
5134 # (even with -Werror). So we grep stderr for any message
5135 # that says an option was ignored.
5136 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
5137 am_cv_CXX_dependencies_compiler_type
=$depmode
5146 am_cv_CXX_dependencies_compiler_type
=none
5150 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5151 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5152 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5157 test "x$enable_dependency_tracking" != xno \
5158 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5159 am__fastdepCXX_TRUE
=
5160 am__fastdepCXX_FALSE
='#'
5162 am__fastdepCXX_TRUE
='#'
5163 am__fastdepCXX_FALSE
=
5168 ac_cpp
='$CXXCPP $CPPFLAGS'
5169 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5170 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5171 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5172 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5173 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5174 if test -z "$CXXCPP"; then
5175 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5176 echo $ECHO_N "(cached) $ECHO_C" >&6
5178 # Double quotes because CXXCPP needs to be expanded
5179 for CXXCPP
in "$CXX -E" "/lib/cpp"
5182 for ac_cxx_preproc_warn_flag
in '' yes
5184 # Use a header file that comes with gcc, so configuring glibc
5185 # with a fresh cross-compiler works.
5186 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5187 # <limits.h> exists even on freestanding compilers.
5188 # On the NeXT, cc -E runs the code through the compiler's parser,
5189 # not just through cpp. "Syntax error" is here to catch this case.
5190 cat >conftest.
$ac_ext <<_ACEOF
5191 #line $LINENO "configure"
5194 cat confdefs.h
>>conftest.
$ac_ext
5195 cat >>conftest.
$ac_ext <<_ACEOF
5196 /* end confdefs.h. */
5198 # include <limits.h>
5200 # include <assert.h>
5204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5207 grep -v '^ *+' conftest.er1
>conftest.err
5209 cat conftest.err
>&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); } >/dev
/null
; then
5212 if test -s conftest.err
; then
5213 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5220 if test -z "$ac_cpp_err"; then
5223 echo "$as_me: failed program was:" >&5
5224 sed 's/^/| /' conftest.
$ac_ext >&5
5226 # Broken: fails on valid input.
5229 rm -f conftest.err conftest.
$ac_ext
5231 # OK, works on sane cases. Now check whether non-existent headers
5232 # can be detected and how.
5233 cat >conftest.
$ac_ext <<_ACEOF
5234 #line $LINENO "configure"
5237 cat confdefs.h
>>conftest.
$ac_ext
5238 cat >>conftest.
$ac_ext <<_ACEOF
5239 /* end confdefs.h. */
5240 #include <ac_nonexistent.h>
5242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5243 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5245 grep -v '^ *+' conftest.er1
>conftest.err
5247 cat conftest.err
>&5
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); } >/dev
/null
; then
5250 if test -s conftest.err
; then
5251 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5258 if test -z "$ac_cpp_err"; then
5259 # Broken: success on invalid input.
5262 echo "$as_me: failed program was:" >&5
5263 sed 's/^/| /' conftest.
$ac_ext >&5
5265 # Passes both tests.
5269 rm -f conftest.err conftest.
$ac_ext
5272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5273 rm -f conftest.err conftest.
$ac_ext
5274 if $ac_preproc_ok; then
5279 ac_cv_prog_CXXCPP
=$CXXCPP
5282 CXXCPP
=$ac_cv_prog_CXXCPP
5284 ac_cv_prog_CXXCPP
=$CXXCPP
5286 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5287 echo "${ECHO_T}$CXXCPP" >&6
5289 for ac_cxx_preproc_warn_flag
in '' yes
5291 # Use a header file that comes with gcc, so configuring glibc
5292 # with a fresh cross-compiler works.
5293 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5294 # <limits.h> exists even on freestanding compilers.
5295 # On the NeXT, cc -E runs the code through the compiler's parser,
5296 # not just through cpp. "Syntax error" is here to catch this case.
5297 cat >conftest.
$ac_ext <<_ACEOF
5298 #line $LINENO "configure"
5301 cat confdefs.h
>>conftest.
$ac_ext
5302 cat >>conftest.
$ac_ext <<_ACEOF
5303 /* end confdefs.h. */
5305 # include <limits.h>
5307 # include <assert.h>
5311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5314 grep -v '^ *+' conftest.er1
>conftest.err
5316 cat conftest.err
>&5
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); } >/dev
/null
; then
5319 if test -s conftest.err
; then
5320 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5327 if test -z "$ac_cpp_err"; then
5330 echo "$as_me: failed program was:" >&5
5331 sed 's/^/| /' conftest.
$ac_ext >&5
5333 # Broken: fails on valid input.
5336 rm -f conftest.err conftest.
$ac_ext
5338 # OK, works on sane cases. Now check whether non-existent headers
5339 # can be detected and how.
5340 cat >conftest.
$ac_ext <<_ACEOF
5341 #line $LINENO "configure"
5344 cat confdefs.h
>>conftest.
$ac_ext
5345 cat >>conftest.
$ac_ext <<_ACEOF
5346 /* end confdefs.h. */
5347 #include <ac_nonexistent.h>
5349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5350 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5352 grep -v '^ *+' conftest.er1
>conftest.err
5354 cat conftest.err
>&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); } >/dev
/null
; then
5357 if test -s conftest.err
; then
5358 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5365 if test -z "$ac_cpp_err"; then
5366 # Broken: success on invalid input.
5369 echo "$as_me: failed program was:" >&5
5370 sed 's/^/| /' conftest.
$ac_ext >&5
5372 # Passes both tests.
5376 rm -f conftest.err conftest.
$ac_ext
5379 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5380 rm -f conftest.err conftest.
$ac_ext
5381 if $ac_preproc_ok; then
5384 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5385 See \`config.log' for more details." >&5
5386 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5387 See \`config.log' for more details." >&2;}
5388 { (exit 1); exit 1; }; }
5392 ac_cpp
='$CXXCPP $CPPFLAGS'
5393 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5394 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5395 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5399 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5400 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5401 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5402 if test -n "$ac_tool_prefix"; then
5403 for ac_prog
in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5406 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5407 echo "$as_me:$LINENO: checking for $ac_word" >&5
5408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5409 if test "${ac_cv_prog_F77+set}" = set; then
5410 echo $ECHO_N "(cached) $ECHO_C" >&6
5412 if test -n "$F77"; then
5413 ac_cv_prog_F77
="$F77" # Let the user override the test.
5415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5419 test -z "$as_dir" && as_dir
=.
5420 for ac_exec_ext
in '' $ac_executable_extensions; do
5421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5422 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 if test -n "$F77"; then
5433 echo "$as_me:$LINENO: result: $F77" >&5
5434 echo "${ECHO_T}$F77" >&6
5436 echo "$as_me:$LINENO: result: no" >&5
5437 echo "${ECHO_T}no" >&6
5440 test -n "$F77" && break
5443 if test -z "$F77"; then
5445 for ac_prog
in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5447 # Extract the first word of "$ac_prog", so it can be a program name with args.
5448 set dummy
$ac_prog; ac_word
=$2
5449 echo "$as_me:$LINENO: checking for $ac_word" >&5
5450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5451 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 if test -n "$ac_ct_F77"; then
5455 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir
=.
5462 for ac_exec_ext
in '' $ac_executable_extensions; do
5463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5464 ac_cv_prog_ac_ct_F77
="$ac_prog"
5465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5474 if test -n "$ac_ct_F77"; then
5475 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5476 echo "${ECHO_T}$ac_ct_F77" >&6
5478 echo "$as_me:$LINENO: result: no" >&5
5479 echo "${ECHO_T}no" >&6
5482 test -n "$ac_ct_F77" && break
5489 # Provide some information about the compiler.
5490 echo "$as_me:5490:" \
5491 "checking for Fortran 77 compiler version" >&5
5492 ac_compiler
=`set X $ac_compile; echo $2`
5493 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5494 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); }
5498 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5499 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); }
5503 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5504 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); }
5509 # If we don't use `.F' as extension, the preprocessor is not run on the
5513 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5514 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5515 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5516 echo $ECHO_N "(cached) $ECHO_C" >&6
5518 cat >conftest.
$ac_ext <<_ACEOF
5526 rm -f conftest.
$ac_objext
5527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5528 (eval $ac_compile) 2>&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); } &&
5532 { ac_try
='test -s conftest.$ac_objext'
5533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); }; }; then
5540 echo "$as_me: failed program was:" >&5
5541 sed 's/^/| /' conftest.
$ac_ext >&5
5545 rm -f conftest.
$ac_objext conftest.
$ac_ext
5546 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
5549 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5550 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5552 G77
=`test $ac_compiler_gnu = yes && echo yes`
5553 ac_test_FFLAGS
=${FFLAGS+set}
5554 ac_save_FFLAGS
=$FFLAGS
5556 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5557 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5558 if test "${ac_cv_prog_f77_g+set}" = set; then
5559 echo $ECHO_N "(cached) $ECHO_C" >&6
5562 cat >conftest.
$ac_ext <<_ACEOF
5567 rm -f conftest.
$ac_objext
5568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5569 (eval $ac_compile) 2>&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); } &&
5573 { ac_try
='test -s conftest.$ac_objext'
5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; }; then
5579 ac_cv_prog_f77_g
=yes
5581 echo "$as_me: failed program was:" >&5
5582 sed 's/^/| /' conftest.
$ac_ext >&5
5586 rm -f conftest.
$ac_objext conftest.
$ac_ext
5589 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5590 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5591 if test "$ac_test_FFLAGS" = set; then
5592 FFLAGS
=$ac_save_FFLAGS
5593 elif test $ac_cv_prog_f77_g = yes; then
5594 if test "$G77" = yes; then
5600 if test "$G77" = yes; then
5607 ac_cpp
='$CPP $CPPFLAGS'
5608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5614 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5616 # find the maximum length of command line arguments
5617 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5618 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5619 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5620 echo $ECHO_N "(cached) $ECHO_C" >&6
5627 # On DJGPP, this test can blow up pretty badly due to problems in libc
5628 # (any single argument exceeding 2000 bytes causes a buffer overrun
5629 # during glob expansion). Even if it were fixed, the result of this
5630 # check would be larger than it should be.
5631 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5635 # Under GNU Hurd, this test is not required because there is
5636 # no limit to the length of command line arguments.
5637 # Libtool will interpret -1 as no limit whatsoever
5638 lt_cv_sys_max_cmd_len
=-1;
5642 # On Win9x/ME, this test blows up -- it succeeds, but takes
5643 # about 5 minutes as the teststring grows exponentially.
5644 # Worse, since 9x/ME are not pre-emptively multitasking,
5645 # you end up with a "frozen" computer, even though with patience
5646 # the test eventually succeeds (with a max line length of 256k).
5647 # Instead, let's just punt: use the minimum linelength reported by
5648 # all of the supported platforms: 8192 (on NT/2K/XP).
5649 lt_cv_sys_max_cmd_len
=8192;
5653 # If test is not a shell built-in, we'll probably end up computing a
5654 # maximum length that is only half of the actual maximum length, but
5656 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5657 = "XX$testring") >/dev
/null
2>&1 &&
5658 new_result
=`expr "X$testring" : ".*" 2>&1` &&
5659 lt_cv_sys_max_cmd_len
=$new_result &&
5660 test $i != 17 # 1/2 MB should be enough
5663 testring
=$testring$testring
5666 # Add a significant safety factor because C++ compilers can tack on massive
5667 # amounts of additional arguments before passing them to the linker.
5668 # It appears as though 1/2 is a usable value.
5669 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5675 if test -n $lt_cv_sys_max_cmd_len ; then
5676 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5677 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5679 echo "$as_me:$LINENO: result: none" >&5
5680 echo "${ECHO_T}none" >&6
5686 # Check for command to grab the raw symbol name followed by C symbol from nm.
5687 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5688 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5689 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5693 # These are sane defaults that work on at least a few old systems.
5694 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5696 # Character class describing NM global symbol codes.
5697 symcode
='[BCDEGRST]'
5699 # Regexp to match symbols that can be accessed directly from C.
5700 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5702 # Transform the above into a raw symbol and a C symbol.
5703 symxfrm
='\1 \2\3 \3'
5705 # Transform an extracted symbol line into a proper C declaration
5706 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5708 # Transform an extracted symbol line into symbol name and symbol address
5709 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'"
5711 # Define system-specific variables.
5716 cygwin
* | mingw
* | pw32
*)
5717 symcode
='[ABCDGISTW]'
5719 hpux
*) # Its linker distinguishes data from code symbols
5720 if test "$host_cpu" = ia64
; then
5721 symcode
='[ABCDEGRST]'
5723 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5724 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'"
5727 symcode
='[BCDEGRST]'
5730 symcode
='[BCDEGQRST]'
5740 # Handle CRLF in mingw tool chain
5744 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5748 # If we're using GNU nm, then use its standard symbol codes.
5749 case `$NM -V 2>&1` in
5750 *GNU
* |
*'with BFD'*)
5751 symcode
='[ABCDGISTW]' ;;
5754 # Try without a prefix undercore, then with it.
5755 for ac_symprfx
in "" "_"; do
5757 # Write the raw and C identifiers.
5758 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5760 # Check to see that the pipe works correctly.
5764 cat > conftest.
$ac_ext <<EOF
5769 void nm_test_func(){}
5773 int main(){nm_test_var='a';nm_test_func();return(0);}
5776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5777 (eval $ac_compile) 2>&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; then
5781 # Now try to grab the symbols.
5783 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5784 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } && test -s "$nlist"; then
5788 # Try sorting and uniquifying the output.
5789 if sort "$nlist" |
uniq > "$nlist"T
; then
5790 mv -f "$nlist"T
"$nlist"
5795 # Make sure that we snagged all the symbols we need.
5796 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5797 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5798 cat <<EOF > conftest.$ac_ext
5804 # Now generate the symbol file.
5805 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5807 cat <<EOF >> conftest.$ac_ext
5808 #if defined (__STDC__) && __STDC__
5809 # define lt_ptr_t void *
5811 # define lt_ptr_t char *
5815 /* The mapping between symbol names and symbols. */
5820 lt_preloaded_symbols[] =
5823 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5824 cat <<\EOF
>> conftest.
$ac_ext
5832 # Now try linking the two files.
5833 mv conftest.
$ac_objext conftstm.
$ac_objext
5834 lt_save_LIBS
="$LIBS"
5835 lt_save_CFLAGS
="$CFLAGS"
5836 LIBS
="conftstm.$ac_objext"
5837 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5839 (eval $ac_link) 2>&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5845 LIBS
="$lt_save_LIBS"
5846 CFLAGS
="$lt_save_CFLAGS"
5848 echo "cannot find nm_test_func in $nlist" >&5
5851 echo "cannot find nm_test_var in $nlist" >&5
5854 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5857 echo "$progname: failed program was:" >&5
5858 cat conftest.
$ac_ext >&5
5860 rm -f conftest
* conftst
*
5862 # Do not use the global_symbol_pipe unless it works.
5863 if test "$pipe_works" = yes; then
5866 lt_cv_sys_global_symbol_pipe
=
5872 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5873 lt_cv_sys_global_symbol_to_cdecl
=
5875 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5876 echo "$as_me:$LINENO: result: failed" >&5
5877 echo "${ECHO_T}failed" >&6
5879 echo "$as_me:$LINENO: result: ok" >&5
5880 echo "${ECHO_T}ok" >&6
5883 echo "$as_me:$LINENO: checking for objdir" >&5
5884 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5885 if test "${lt_cv_objdir+set}" = set; then
5886 echo $ECHO_N "(cached) $ECHO_C" >&6
5888 rm -f .libs
2>/dev
/null
5889 mkdir .libs
2>/dev
/null
5890 if test -d .libs
; then
5893 # MS-DOS does not allow filenames that begin with a dot.
5896 rmdir .libs
2>/dev
/null
5898 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5899 echo "${ECHO_T}$lt_cv_objdir" >&6
5900 objdir
=$lt_cv_objdir
5908 # AIX sometimes has problems with the GCC collect2 program. For some
5909 # reason, if we set the COLLECT_NAMES environment variable, the problems
5910 # vanish in a puff of smoke.
5911 if test "X${COLLECT_NAMES+set}" != Xset
; then
5913 export COLLECT_NAMES
5918 # Sed substitution that helps us do robust quoting. It backslashifies
5919 # metacharacters that are still active within double-quoted strings.
5920 Xsed
='sed -e s/^X//'
5921 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5923 # Same as above, but do not quote variable references.
5924 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5926 # Sed substitution to delay expansion of an escaped shell variable in a
5927 # double_quote_subst'ed string.
5928 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5930 # Sed substitution to avoid accidental globbing in evaled expressions
5931 no_glob_subst
='s/\*/\\\*/g'
5937 default_ofile
=libtool
5938 can_build_shared
=yes
5940 # All known linkers require a `.a' archive for static linking (except M$VC,
5941 # which needs '.lib').
5943 ltmain
="$ac_aux_dir/ltmain.sh"
5944 ofile
="$default_ofile"
5945 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5947 if test -n "$ac_tool_prefix"; then
5948 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5949 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5950 echo "$as_me:$LINENO: checking for $ac_word" >&5
5951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5952 if test "${ac_cv_prog_AR+set}" = set; then
5953 echo $ECHO_N "(cached) $ECHO_C" >&6
5955 if test -n "$AR"; then
5956 ac_cv_prog_AR
="$AR" # Let the user override the test.
5958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5962 test -z "$as_dir" && as_dir
=.
5963 for ac_exec_ext
in '' $ac_executable_extensions; do
5964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5965 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 if test -n "$AR"; then
5976 echo "$as_me:$LINENO: result: $AR" >&5
5977 echo "${ECHO_T}$AR" >&6
5979 echo "$as_me:$LINENO: result: no" >&5
5980 echo "${ECHO_T}no" >&6
5984 if test -z "$ac_cv_prog_AR"; then
5986 # Extract the first word of "ar", so it can be a program name with args.
5987 set dummy
ar; ac_word
=$2
5988 echo "$as_me:$LINENO: checking for $ac_word" >&5
5989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5990 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5991 echo $ECHO_N "(cached) $ECHO_C" >&6
5993 if test -n "$ac_ct_AR"; then
5994 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6000 test -z "$as_dir" && as_dir
=.
6001 for ac_exec_ext
in '' $ac_executable_extensions; do
6002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6003 ac_cv_prog_ac_ct_AR
="ar"
6004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6010 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6013 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6014 if test -n "$ac_ct_AR"; then
6015 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6016 echo "${ECHO_T}$ac_ct_AR" >&6
6018 echo "$as_me:$LINENO: result: no" >&5
6019 echo "${ECHO_T}no" >&6
6027 if test -n "$ac_tool_prefix"; then
6028 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6029 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6030 echo "$as_me:$LINENO: checking for $ac_word" >&5
6031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6032 if test "${ac_cv_prog_RANLIB+set}" = set; then
6033 echo $ECHO_N "(cached) $ECHO_C" >&6
6035 if test -n "$RANLIB"; then
6036 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6042 test -z "$as_dir" && as_dir
=.
6043 for ac_exec_ext
in '' $ac_executable_extensions; do
6044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6054 RANLIB
=$ac_cv_prog_RANLIB
6055 if test -n "$RANLIB"; then
6056 echo "$as_me:$LINENO: result: $RANLIB" >&5
6057 echo "${ECHO_T}$RANLIB" >&6
6059 echo "$as_me:$LINENO: result: no" >&5
6060 echo "${ECHO_T}no" >&6
6064 if test -z "$ac_cv_prog_RANLIB"; then
6065 ac_ct_RANLIB
=$RANLIB
6066 # Extract the first word of "ranlib", so it can be a program name with args.
6067 set dummy ranlib
; ac_word
=$2
6068 echo "$as_me:$LINENO: checking for $ac_word" >&5
6069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6070 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 if test -n "$ac_ct_RANLIB"; then
6074 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6080 test -z "$as_dir" && as_dir
=.
6081 for ac_exec_ext
in '' $ac_executable_extensions; do
6082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6083 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6093 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6094 if test -n "$ac_ct_RANLIB"; then
6095 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6096 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6098 echo "$as_me:$LINENO: result: no" >&5
6099 echo "${ECHO_T}no" >&6
6102 RANLIB
=$ac_ct_RANLIB
6104 RANLIB
="$ac_cv_prog_RANLIB"
6107 if test -n "$ac_tool_prefix"; then
6108 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6109 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6110 echo "$as_me:$LINENO: checking for $ac_word" >&5
6111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6112 if test "${ac_cv_prog_STRIP+set}" = set; then
6113 echo $ECHO_N "(cached) $ECHO_C" >&6
6115 if test -n "$STRIP"; then
6116 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6122 test -z "$as_dir" && as_dir
=.
6123 for ac_exec_ext
in '' $ac_executable_extensions; do
6124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6125 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 STRIP
=$ac_cv_prog_STRIP
6135 if test -n "$STRIP"; then
6136 echo "$as_me:$LINENO: result: $STRIP" >&5
6137 echo "${ECHO_T}$STRIP" >&6
6139 echo "$as_me:$LINENO: result: no" >&5
6140 echo "${ECHO_T}no" >&6
6144 if test -z "$ac_cv_prog_STRIP"; then
6146 # Extract the first word of "strip", so it can be a program name with args.
6147 set dummy strip
; ac_word
=$2
6148 echo "$as_me:$LINENO: checking for $ac_word" >&5
6149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6150 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6151 echo $ECHO_N "(cached) $ECHO_C" >&6
6153 if test -n "$ac_ct_STRIP"; then
6154 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6160 test -z "$as_dir" && as_dir
=.
6161 for ac_exec_ext
in '' $ac_executable_extensions; do
6162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6163 ac_cv_prog_ac_ct_STRIP
="strip"
6164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6173 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6174 if test -n "$ac_ct_STRIP"; then
6175 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6176 echo "${ECHO_T}$ac_ct_STRIP" >&6
6178 echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6
6184 STRIP
="$ac_cv_prog_STRIP"
6189 old_CFLAGS
="$CFLAGS"
6191 # Set sane defaults for various variables
6192 test -z "$AR" && AR
=ar
6193 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6194 test -z "$AS" && AS
=as
6195 test -z "$CC" && CC
=cc
6196 test -z "$LTCC" && LTCC
=$CC
6197 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6198 test -z "$LD" && LD
=ld
6199 test -z "$LN_S" && LN_S
="ln -s"
6200 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6201 test -z "$NM" && NM
=nm
6202 test -z "$SED" && SED
=sed
6203 test -z "$OBJDUMP" && OBJDUMP
=objdump
6204 test -z "$RANLIB" && RANLIB
=:
6205 test -z "$STRIP" && STRIP
=:
6206 test -z "$ac_objext" && ac_objext
=o
6208 # Determine commands to create old-style static archives.
6209 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6210 old_postinstall_cmds
='chmod 644 $oldlib'
6211 old_postuninstall_cmds
=
6213 if test -n "$RANLIB"; then
6216 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6219 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6222 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6225 # Only perform the check for file, if the check method requires it
6226 case $deplibs_check_method in
6228 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6229 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6230 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6231 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6236 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6239 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6240 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6241 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6242 for ac_dir
in $ac_dummy; do
6244 test -z "$ac_dir" && ac_dir
=.
6245 if test -f $ac_dir/${ac_tool_prefix}file; then
6246 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6247 if test -n "$file_magic_test_file"; then
6248 case $deplibs_check_method in
6250 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6251 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6252 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6253 $EGREP "$file_magic_regex" > /dev
/null
; then
6258 *** Warning: the command libtool uses to detect shared libraries,
6259 *** $file_magic_cmd, produces output that libtool cannot recognize.
6260 *** The result is that libtool may fail to recognize shared libraries
6261 *** as such. This will affect the creation of libtool libraries that
6262 *** depend on shared libraries, but programs linked with such libtool
6263 *** libraries will work regardless of this problem. Nevertheless, you
6264 *** may want to report the problem to your system manager and/or to
6265 *** bug-libtool@gnu.org
6275 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6280 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6281 if test -n "$MAGIC_CMD"; then
6282 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6283 echo "${ECHO_T}$MAGIC_CMD" >&6
6285 echo "$as_me:$LINENO: result: no" >&5
6286 echo "${ECHO_T}no" >&6
6289 if test -z "$lt_cv_path_MAGIC_CMD"; then
6290 if test -n "$ac_tool_prefix"; then
6291 echo "$as_me:$LINENO: checking for file" >&5
6292 echo $ECHO_N "checking for file... $ECHO_C" >&6
6293 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6294 echo $ECHO_N "(cached) $ECHO_C" >&6
6298 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6301 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6302 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6303 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6304 for ac_dir
in $ac_dummy; do
6306 test -z "$ac_dir" && ac_dir
=.
6307 if test -f $ac_dir/file; then
6308 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6309 if test -n "$file_magic_test_file"; then
6310 case $deplibs_check_method in
6312 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6313 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6314 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6315 $EGREP "$file_magic_regex" > /dev
/null
; then
6320 *** Warning: the command libtool uses to detect shared libraries,
6321 *** $file_magic_cmd, produces output that libtool cannot recognize.
6322 *** The result is that libtool may fail to recognize shared libraries
6323 *** as such. This will affect the creation of libtool libraries that
6324 *** depend on shared libraries, but programs linked with such libtool
6325 *** libraries will work regardless of this problem. Nevertheless, you
6326 *** may want to report the problem to your system manager and/or to
6327 *** bug-libtool@gnu.org
6337 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6342 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6343 if test -n "$MAGIC_CMD"; then
6344 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6345 echo "${ECHO_T}$MAGIC_CMD" >&6
6347 echo "$as_me:$LINENO: result: no" >&5
6348 echo "${ECHO_T}no" >&6
6361 enable_win32_dll
=yes
6363 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6364 if test "${enable_libtool_lock+set}" = set; then
6365 enableval
="$enable_libtool_lock"
6368 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6371 # Check whether --with-pic or --without-pic was given.
6372 if test "${with_pic+set}" = set; then
6378 test -z "$pic_mode" && pic_mode
=default
6380 # Use C for the default configuration in the libtool script
6384 ac_cpp
='$CPP $CPPFLAGS'
6385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6390 # Source file extension for C test sources.
6393 # Object file extension for compiled C test sources.
6397 # Code to be used in simple compile tests
6398 lt_simple_compile_test_code
="int some_variable = 0;\n"
6400 # Code to be used in simple link tests
6401 lt_simple_link_test_code
='int main(){return(0);}\n'
6404 # If no C compiler was specified, use CC.
6407 # Allow CC to be a program name with arguments.
6412 # Check for any special shared library compilation flags.
6415 if test "$GCC" = no
; then
6418 lt_prog_cc_shlib
='-belf'
6422 if test -n "$lt_prog_cc_shlib"; then
6423 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6424 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6425 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6427 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6428 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6429 lt_cv_prog_cc_can_build_shared
=no
6435 # Check to make sure the static flag actually works.
6437 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6438 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6439 if test "${lt_prog_compiler_static_works+set}" = set; then
6440 echo $ECHO_N "(cached) $ECHO_C" >&6
6442 lt_prog_compiler_static_works
=no
6443 save_LDFLAGS
="$LDFLAGS"
6444 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6445 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6446 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6447 # The compiler can only warn and ignore the option if not recognized
6448 # So say no if there are warnings
6449 if test -s conftest.err
; then
6450 # Append any errors to the config.log.
6451 cat conftest.err
1>&5
6453 lt_prog_compiler_static_works
=yes
6457 LDFLAGS
="$save_LDFLAGS"
6460 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6461 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6463 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6466 lt_prog_compiler_static
=
6472 lt_prog_compiler_no_builtin_flag
=
6474 if test "$GCC" = yes; then
6475 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6477 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6478 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6479 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6480 echo $ECHO_N "(cached) $ECHO_C" >&6
6482 lt_cv_prog_compiler_rtti_exceptions
=no
6483 ac_outfile
=conftest.
$ac_objext
6484 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6485 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6486 # Insert the option either (1) after the last *FLAGS variable, or
6487 # (2) before a word containing "conftest.", or (3) at the end.
6488 # Note that $ac_compile itself does not contain backslashes and begins
6489 # with a dollar sign (not a hyphen), so the echo should work correctly.
6490 # The option is referenced via a variable to avoid confusing sed.
6491 lt_compile
=`echo "$ac_compile" | $SED \
6492 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6493 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6494 -e 's:$: $lt_compiler_flag:'`
6495 (eval echo "\"\$as_me:6495: $lt_compile\"" >&5)
6496 (eval "$lt_compile" 2>conftest.err
)
6498 cat conftest.err
>&5
6499 echo "$as_me:6499: \$? = $ac_status" >&5
6500 if (exit $ac_status) && test -s "$ac_outfile"; then
6501 # The compiler can only warn and ignore the option if not recognized
6502 # So say no if there are warnings
6503 if test ! -s conftest.err
; then
6504 lt_cv_prog_compiler_rtti_exceptions
=yes
6510 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6511 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6513 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6514 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6521 lt_prog_compiler_wl
=
6522 lt_prog_compiler_pic
=
6523 lt_prog_compiler_static
=
6525 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6526 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6528 if test "$GCC" = yes; then
6529 lt_prog_compiler_wl
='-Wl,'
6530 lt_prog_compiler_static
='-static'
6534 # All AIX code is PIC.
6535 if test "$host_cpu" = ia64
; then
6536 # AIX 5 now supports IA64 processor
6537 lt_prog_compiler_static
='-Bstatic'
6542 # FIXME: we need at least 68020 code to build shared libraries, but
6543 # adding the `-m68020' flag to GCC prevents building anything better,
6545 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6548 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6549 # PIC is the default for these OSes.
6552 mingw
* | pw32
* | os2
*)
6553 # This hack is so that the source file can tell whether it is being
6554 # built for inclusion in a dll (and should export symbols for example).
6555 lt_prog_compiler_pic
='-DDLL_EXPORT'
6558 darwin
* | rhapsody
*)
6559 # PIC is the default on this platform
6560 # Common symbols not allowed in MH_DYLIB files
6561 lt_prog_compiler_pic
='-fno-common'
6565 # Just because we use GCC doesn't mean we suddenly get shared libraries
6566 # on systems that don't support them.
6567 lt_prog_compiler_can_build_shared
=no
6572 if test -d /usr
/nec
; then
6573 lt_prog_compiler_pic
=-Kconform_pic
6578 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6585 lt_prog_compiler_pic
='-fPIC'
6591 lt_prog_compiler_pic
='-fPIC'
6595 # PORTME Check for flag to pass linker flags through the system compiler.
6598 lt_prog_compiler_wl
='-Wl,'
6599 if test "$host_cpu" = ia64
; then
6600 # AIX 5 now supports IA64 processor
6601 lt_prog_compiler_static
='-Bstatic'
6603 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6607 mingw
* | pw32
* | os2
*)
6608 # This hack is so that the source file can tell whether it is being
6609 # built for inclusion in a dll (and should export symbols for example).
6610 lt_prog_compiler_pic
='-DDLL_EXPORT'
6613 hpux9
* | hpux10
* | hpux11
*)
6614 lt_prog_compiler_wl
='-Wl,'
6615 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6622 lt_prog_compiler_pic
='+Z'
6625 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6626 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6629 irix5
* | irix6
* | nonstopux
*)
6630 lt_prog_compiler_wl
='-Wl,'
6631 # PIC (with -KPIC) is the default.
6632 lt_prog_compiler_static
='-non_shared'
6636 lt_prog_compiler_pic
='-KPIC'
6637 lt_prog_compiler_static
='-Bstatic'
6643 lt_prog_compiler_wl
='-Wl,'
6644 lt_prog_compiler_pic
='-KPIC'
6645 lt_prog_compiler_static
='-static'
6648 lt_prog_compiler_wl
='-Wl,'
6649 # All Alpha code is PIC.
6650 lt_prog_compiler_static
='-non_shared'
6655 osf3
* | osf4
* | osf5
*)
6656 lt_prog_compiler_wl
='-Wl,'
6657 # All OSF/1 code is PIC.
6658 lt_prog_compiler_static
='-non_shared'
6662 lt_prog_compiler_pic
='-Kpic'
6663 lt_prog_compiler_static
='-dn'
6667 lt_prog_compiler_wl
='-Wl,'
6668 lt_prog_compiler_pic
='-KPIC'
6669 lt_prog_compiler_static
='-Bstatic'
6673 lt_prog_compiler_wl
='-Qoption ld '
6674 lt_prog_compiler_pic
='-PIC'
6675 lt_prog_compiler_static
='-Bstatic'
6678 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6679 lt_prog_compiler_wl
='-Wl,'
6680 lt_prog_compiler_pic
='-KPIC'
6681 lt_prog_compiler_static
='-Bstatic'
6685 if test -d /usr
/nec
;then
6686 lt_prog_compiler_pic
='-Kconform_pic'
6687 lt_prog_compiler_static
='-Bstatic'
6692 lt_prog_compiler_pic
='-pic'
6693 lt_prog_compiler_static
='-Bstatic'
6697 lt_prog_compiler_can_build_shared
=no
6702 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6703 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6706 # Check to make sure the PIC flag actually works.
6708 if test -n "$lt_prog_compiler_pic"; then
6709 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6710 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6711 if test "${lt_prog_compiler_pic_works+set}" = set; then
6712 echo $ECHO_N "(cached) $ECHO_C" >&6
6714 lt_prog_compiler_pic_works
=no
6715 ac_outfile
=conftest.
$ac_objext
6716 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6717 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6718 # Insert the option either (1) after the last *FLAGS variable, or
6719 # (2) before a word containing "conftest.", or (3) at the end.
6720 # Note that $ac_compile itself does not contain backslashes and begins
6721 # with a dollar sign (not a hyphen), so the echo should work correctly.
6722 # The option is referenced via a variable to avoid confusing sed.
6723 lt_compile
=`echo "$ac_compile" | $SED \
6724 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6725 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6726 -e 's:$: $lt_compiler_flag:'`
6727 (eval echo "\"\$as_me:6727: $lt_compile\"" >&5)
6728 (eval "$lt_compile" 2>conftest.err
)
6730 cat conftest.err
>&5
6731 echo "$as_me:6731: \$? = $ac_status" >&5
6732 if (exit $ac_status) && test -s "$ac_outfile"; then
6733 # The compiler can only warn and ignore the option if not recognized
6734 # So say no if there are warnings
6735 if test ! -s conftest.err
; then
6736 lt_prog_compiler_pic_works
=yes
6742 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6743 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6745 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6746 case $lt_prog_compiler_pic in
6748 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6751 lt_prog_compiler_pic
=
6752 lt_prog_compiler_can_build_shared
=no
6757 # For platforms which do not support PIC, -DPIC is meaningless:
6759 lt_prog_compiler_pic
=
6762 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6766 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6767 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6768 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6769 echo $ECHO_N "(cached) $ECHO_C" >&6
6771 lt_cv_prog_compiler_c_o
=no
6772 $rm -r conftest
2>/dev
/null
6776 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6778 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6779 # that will create temporary files in the current directory regardless of
6780 # the output directory. Thus, making CWD read-only will cause this test
6781 # to fail, enabling locking or at least warning the user not to do parallel
6785 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6786 # Insert the option either (1) after the last *FLAGS variable, or
6787 # (2) before a word containing "conftest.", or (3) at the end.
6788 # Note that $ac_compile itself does not contain backslashes and begins
6789 # with a dollar sign (not a hyphen), so the echo should work correctly.
6790 lt_compile
=`echo "$ac_compile" | $SED \
6791 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6792 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6793 -e 's:$: $lt_compiler_flag:'`
6794 (eval echo "\"\$as_me:6794: $lt_compile\"" >&5)
6795 (eval "$lt_compile" 2>out
/conftest.err
)
6797 cat out
/conftest.err
>&5
6798 echo "$as_me:6798: \$? = $ac_status" >&5
6799 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6801 # The compiler can only warn and ignore the option if not recognized
6802 # So say no if there are warnings
6803 if test ! -s out
/conftest.err
; then
6804 lt_cv_prog_compiler_c_o
=yes
6815 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6816 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6819 hard_links
="nottested"
6820 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6821 # do not overwrite the value of need_locks provided by the user
6822 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6823 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6826 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6828 ln conftest.a conftest.b
2>&5 || hard_links
=no
6829 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6830 echo "$as_me:$LINENO: result: $hard_links" >&5
6831 echo "${ECHO_T}$hard_links" >&6
6832 if test "$hard_links" = no
; then
6833 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6834 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6841 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6842 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6845 allow_undefined_flag
=
6846 enable_shared_with_static_runtimes
=no
6848 archive_expsym_cmds
=
6849 old_archive_From_new_cmds
=
6850 old_archive_from_expsyms_cmds
=
6851 export_dynamic_flag_spec
=
6852 whole_archive_flag_spec
=
6853 thread_safe_flag_spec
=
6854 hardcode_libdir_flag_spec
=
6855 hardcode_libdir_flag_spec_ld
=
6856 hardcode_libdir_separator
=
6859 hardcode_shlibpath_var
=unsupported
6860 link_all_deplibs
=unknown
6861 hardcode_automatic
=no
6864 always_export_symbols
=no
6865 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6866 # include_expsyms should be a list of space-separated symbols to be *always*
6867 # included in the symbol list
6869 # exclude_expsyms can be an extended regexp of symbols to exclude
6870 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6871 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6872 # as well as any symbol that contains `d'.
6873 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6874 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6875 # platforms (ab)use it in PIC code, but their linkers get confused if
6876 # the symbol is explicitly referenced. Since portable code cannot
6877 # rely on this symbol name, it's probably fine to never include it in
6878 # preloaded symbol tables.
6879 extract_expsyms_cmds
=
6882 cygwin
* | mingw
* | pw32
*)
6883 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6884 # When not using gcc, we currently assume that we are using
6885 # Microsoft Visual C++.
6886 if test "$GCC" != yes; then
6896 if test "$with_gnu_ld" = yes; then
6897 # If archive_cmds runs LD, not CC, wlarc should be empty
6900 # See if GNU ld supports shared libraries.
6902 aix3
* | aix4
* | aix5
*)
6903 # On AIX/PPC, the GNU linker is very broken
6904 if test "$host_cpu" != ia64
; then
6908 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6909 *** to be unable to reliably create shared libraries on AIX.
6910 *** Therefore, libtool is disabling shared libraries support. If you
6911 *** really care for shared libraries, you may want to modify your PATH
6912 *** so that a non-GNU linker is found, and then restart.
6919 archive_cmds
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6920 hardcode_libdir_flag_spec
='-L$libdir'
6921 hardcode_minus_L
=yes
6923 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6924 # that the semantics of dynamic libraries on AmigaOS, at least up
6925 # to version 4, is to share data among multiple programs linked
6926 # with the same dynamic library. Since this doesn't match the
6927 # behavior of shared libraries on other platforms, we can't use
6933 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6934 allow_undefined_flag
=unsupported
6935 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6936 # support --undefined. This deserves some investigation. FIXME
6937 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6943 cygwin
* | mingw
* | pw32
*)
6944 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6945 # as there is no search path for DLLs.
6946 hardcode_libdir_flag_spec
='-L$libdir'
6947 allow_undefined_flag
=unsupported
6948 always_export_symbols
=no
6949 enable_shared_with_static_runtimes
=yes
6950 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6952 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6953 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6954 # If the export-symbols file already is a .def file (1st line
6955 # is EXPORTS), use it as is; otherwise, prepend...
6956 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6957 cp $export_symbols $output_objdir/$soname.def;
6959 echo EXPORTS > $output_objdir/$soname.def;
6960 cat $export_symbols >> $output_objdir/$soname.def;
6962 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6969 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6970 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6973 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6974 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6979 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
6983 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6984 *** create shared libraries on Solaris systems. Therefore, libtool
6985 *** is disabling shared libraries support. We urge you to upgrade GNU
6986 *** binutils to release 2.9.1 or newer. Another option is to modify
6987 *** your PATH or compiler configuration so that the native linker is
6988 *** used, and then restart.
6991 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6992 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6993 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7000 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7003 hardcode_shlibpath_var
=no
7007 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7008 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7009 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7016 if test "$ld_shlibs" = yes; then
7017 runpath_var
=LD_RUN_PATH
7018 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7019 export_dynamic_flag_spec
='${wl}--export-dynamic'
7020 # ancient GNU ld didn't support --whole-archive et. al.
7021 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7022 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7024 whole_archive_flag_spec
=
7028 # PORTME fill in a description of your system's linker (not GNU ld)
7031 allow_undefined_flag
=unsupported
7032 always_export_symbols
=yes
7033 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7034 # Note: this linker hardcodes the directories in LIBPATH if there
7035 # are no directories specified by -L.
7036 hardcode_minus_L
=yes
7037 if test "$GCC" = yes && test -z "$link_static_flag"; then
7038 # Neither direct hardcoding nor static linking is supported with a
7040 hardcode_direct
=unsupported
7045 if test "$host_cpu" = ia64
; then
7046 # On IA64, the linker does run time linking by default, so we don't
7047 # have to do anything special.
7048 aix_use_runtimelinking
=no
7049 exp_sym_flag
='-Bexport'
7052 # If we're using GNU nm, then we don't want the "-C" option.
7053 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7054 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7055 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'
7057 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'
7059 aix_use_runtimelinking
=no
7061 # Test if we are trying to use run time linking or normal
7062 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7063 # need to do runtime linking.
7064 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7065 for ld_flag
in $LDFLAGS; do
7066 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7067 aix_use_runtimelinking
=yes
7073 exp_sym_flag
='-bexport'
7074 no_entry_flag
='-bnoentry'
7077 # When large executables or shared objects are built, AIX ld can
7078 # have problems creating the table of contents. If linking a library
7079 # or program results in "error TOC overflow" add -mminimal-toc to
7080 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7081 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7085 hardcode_libdir_separator
=':'
7086 link_all_deplibs
=yes
7088 if test "$GCC" = yes; then
7089 case $host_os in aix4.012|aix4.012.
*)
7090 # We only want to do this on AIX 4.2 and lower, the check
7091 # below for broken collect2 doesn't work under 4.3+
7092 collect2name
=`${CC} -print-prog-name=collect2`
7093 if test -f "$collect2name" && \
7094 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7096 # We have reworked collect2
7099 # We have old collect2
7100 hardcode_direct
=unsupported
7101 # It fails to find uninstalled libraries when the uninstalled
7102 # path is not listed in the libpath. Setting hardcode_minus_L
7103 # to unsupported forces relinking
7104 hardcode_minus_L
=yes
7105 hardcode_libdir_flag_spec
='-L$libdir'
7106 hardcode_libdir_separator
=
7109 shared_flag
='-shared'
7112 if test "$host_cpu" = ia64
; then
7113 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7114 # chokes on -Wl,-G. The following line is correct:
7117 if test "$aix_use_runtimelinking" = yes; then
7118 shared_flag
='${wl}-G'
7120 shared_flag
='${wl}-bM:SRE'
7125 # It seems that -bexpall does not export symbols beginning with
7126 # underscore (_), so it is better to generate a list of symbols to export.
7127 always_export_symbols
=yes
7128 if test "$aix_use_runtimelinking" = yes; then
7129 # Warning - without using the other runtime loading flags (-brtl),
7130 # -berok will link without error, but may produce a broken library.
7131 allow_undefined_flag
='-berok'
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 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"
7178 if test "$host_cpu" = ia64; then
7179 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
7180 allow_undefined_flag="-z nodefs"
7181 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"
7183 # Determine the default libpath from the value encoded in an empty executable.
7184 cat >conftest.$ac_ext <<_ACEOF
7185 #line $LINENO "configure
"
7188 cat confdefs.h >>conftest.$ac_ext
7189 cat >>conftest.$ac_ext <<_ACEOF
7190 /* end confdefs.h. */
7200 rm -f conftest.$ac_objext conftest$ac_exeext
7201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7202 (eval $ac_link) 2>&5
7204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7205 (exit $ac_status); } &&
7206 { ac_try='test -s conftest$ac_exeext'
7207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7211 (exit $ac_status); }; }; then
7213 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7215 # Check for a 64-bit object if we didn't find anything.
7216 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; }
7219 echo "$as_me: failed program was
:" >&5
7220 sed 's/^/| /' conftest.$ac_ext >&5
7223 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7224 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7226 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7227 # Warning - without using the other run time loading flags,
7228 # -berok will link without error, but may produce a broken library.
7229 no_undefined_flag=' ${wl}-bernotok'
7230 allow_undefined_flag=' ${wl}-berok'
7231 # -bexpall does not export symbols beginning with underscore (_)
7232 always_export_symbols=yes
7233 # Exported symbols can be pulled into shared objects from archives
7234 whole_archive_flag_spec=' '
7235 archive_cmds_need_lc=yes
7236 # This is similar to how AIX traditionally builds it's shared libraries.
7237 archive_expsym_cmds="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7243 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7244 hardcode_libdir_flag_spec
='-L$libdir'
7245 hardcode_minus_L
=yes
7246 # see comment about different semantics on the GNU ld section
7251 export_dynamic_flag_spec
=-rdynamic
7254 cygwin
* | mingw
* | pw32
*)
7255 # When not using gcc, we currently assume that we are using
7256 # Microsoft Visual C++.
7257 # hardcode_libdir_flag_spec is actually meaningless, as there is
7258 # no search path for DLLs.
7259 hardcode_libdir_flag_spec
=' '
7260 allow_undefined_flag
=unsupported
7261 # Tell ltmain to make .lib files, not .a files.
7263 # Tell ltmain to make .dll files, not .so files.
7265 # FIXME: Setting linknames here is a bad hack.
7266 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7267 # The linker will automatically build a .lib file if we build a DLL.
7268 old_archive_From_new_cmds
='true'
7269 # FIXME: Should let the user specify the lib program.
7270 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7271 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7272 enable_shared_with_static_runtimes
=yes
7275 darwin
* | rhapsody
*)
7276 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
7277 archive_cmds_need_lc
=no
7279 rhapsody
* | darwin1.
[012])
7280 allow_undefined_flag
='-undefined suppress'
7283 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag
='-flat_namespace -undefined suppress'
7286 # FIXME: Relying on posixy $() will cause problems for
7287 # cross-compilation, but unfortunately the echo tests do not
7288 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7289 # `"' quotes if we put them in here... so don't!
7290 lt_int_apple_cc_single_mod
=no
7291 output_verbose_link_cmd
='echo'
7292 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
7293 lt_int_apple_cc_single_mod
=yes
7295 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7296 archive_cmds
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7298 archive_cmds
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7300 module_cmds
='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7301 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7302 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
7303 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7305 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7307 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7309 hardcode_automatic
=yes
7310 hardcode_shlibpath_var
=unsupported
7311 whole_archive_flag_spec
='-all_load $convenience'
7312 link_all_deplibs
=yes
7317 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7318 hardcode_libdir_flag_spec
='-L$libdir'
7319 hardcode_shlibpath_var
=no
7326 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7327 # support. Future versions do this automatically, but an explicit c++rt0.o
7328 # does not break anything, and helps significantly (at the cost of a little
7331 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7332 hardcode_libdir_flag_spec
='-R$libdir'
7334 hardcode_shlibpath_var
=no
7337 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7339 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7341 hardcode_minus_L
=yes
7342 hardcode_shlibpath_var
=no
7345 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7347 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7348 hardcode_libdir_flag_spec
='-R$libdir'
7350 hardcode_shlibpath_var
=no
7354 if test "$GCC" = yes; then
7355 archive_cmds
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7357 archive_cmds
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7359 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7360 hardcode_libdir_separator
=:
7363 # hardcode_minus_L: Not really in the search PATH,
7364 # but as the default location of the library.
7365 hardcode_minus_L
=yes
7366 export_dynamic_flag_spec
='${wl}-E'
7370 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7373 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7376 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7382 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7385 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7389 if test "$with_gnu_ld" = no
; then
7392 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7393 hardcode_libdir_flag_spec_ld
='+b $libdir'
7394 hardcode_libdir_separator
=:
7396 hardcode_shlibpath_var
=no
7399 hardcode_libdir_flag_spec
='-L$libdir'
7401 hardcode_shlibpath_var
=no
7403 # hardcode_minus_L: Not really in the search PATH,
7404 # but as the default location of the library.
7405 hardcode_minus_L
=yes
7408 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7409 hardcode_libdir_separator
=:
7411 export_dynamic_flag_spec
='${wl}-E'
7413 # hardcode_minus_L: Not really in the search PATH,
7414 # but as the default location of the library.
7415 hardcode_minus_L
=yes
7421 irix5
* | irix6
* | nonstopux
*)
7422 if test "$GCC" = yes; then
7423 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'
7425 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'
7426 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7428 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7429 hardcode_libdir_separator
=:
7430 link_all_deplibs
=yes
7434 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7435 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7437 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7439 hardcode_libdir_flag_spec
='-R$libdir'
7441 hardcode_shlibpath_var
=no
7445 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7447 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7448 hardcode_libdir_separator
=:
7449 hardcode_shlibpath_var
=no
7454 hardcode_shlibpath_var
=no
7455 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7456 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7457 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7458 export_dynamic_flag_spec
='${wl}-E'
7461 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7462 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7463 hardcode_libdir_flag_spec
='-R$libdir'
7466 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7467 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7474 hardcode_libdir_flag_spec
='-L$libdir'
7475 hardcode_minus_L
=yes
7476 allow_undefined_flag
=unsupported
7477 archive_cmds
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
7478 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7482 if test "$GCC" = yes; then
7483 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7484 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'
7486 allow_undefined_flag
=' -expect_unresolved \*'
7487 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'
7489 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7490 hardcode_libdir_separator
=:
7493 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7494 if test "$GCC" = yes; then
7495 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7496 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'
7497 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7499 allow_undefined_flag
=' -expect_unresolved \*'
7500 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'
7501 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7502 $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~$rm $lib.exp'
7504 # Both c and cxx compiler support -rpath directly
7505 hardcode_libdir_flag_spec
='-rpath $libdir'
7507 hardcode_libdir_separator
=:
7511 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7512 hardcode_shlibpath_var
=no
7513 export_dynamic_flag_spec
='${wl}-Bexport'
7514 runpath_var
=LD_RUN_PATH
7515 hardcode_runpath_var
=yes
7519 no_undefined_flag
=' -z text'
7520 if test "$GCC" = yes; then
7521 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7522 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7523 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7525 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7526 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7527 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7529 hardcode_libdir_flag_spec
='-R$libdir'
7530 hardcode_shlibpath_var
=no
7532 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7533 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7534 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7536 link_all_deplibs
=yes
7540 if test "x$host_vendor" = xsequent
; then
7541 # Use $CC to link under sequent, because it throws in some extra .o
7542 # files that make .init and .fini sections work.
7543 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7545 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7547 hardcode_libdir_flag_spec
='-L$libdir'
7549 hardcode_minus_L
=yes
7550 hardcode_shlibpath_var
=no
7554 case $host_vendor in
7556 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7557 hardcode_direct
=yes # is this really true???
7560 ## LD is ld it makes a PLAMLIB
7561 ## CC just makes a GrossModule.
7562 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7563 reload_cmds
='$CC -r -o $output$reload_objs'
7567 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7568 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7571 runpath_var
='LD_RUN_PATH'
7572 hardcode_shlibpath_var
=no
7576 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7577 hardcode_shlibpath_var
=no
7578 export_dynamic_flag_spec
='-Bexport'
7582 if test -d /usr
/nec
; then
7583 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7584 hardcode_shlibpath_var
=no
7585 runpath_var
=LD_RUN_PATH
7586 hardcode_runpath_var
=yes
7592 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7595 hardcode_shlibpath_var
=no
7596 hardcode_runpath_var
=yes
7597 runpath_var
=LD_RUN_PATH
7600 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7601 no_undefined_flag
='${wl}-z ${wl}text'
7602 if test "$GCC" = yes; then
7603 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7605 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7607 runpath_var
='LD_RUN_PATH'
7608 hardcode_shlibpath_var
=no
7612 no_undefined_flag
=' -z text'
7613 # $CC -shared without GNU ld will not create a library from C++
7614 # object files and a static libstdc++, better avoid it by now
7615 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7616 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7617 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7618 hardcode_libdir_flag_spec
=
7619 hardcode_shlibpath_var
=no
7620 runpath_var
='LD_RUN_PATH'
7624 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7625 hardcode_libdir_flag_spec
='-L$libdir'
7626 hardcode_shlibpath_var
=no
7635 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7636 echo "${ECHO_T}$ld_shlibs" >&6
7637 test "$ld_shlibs" = no
&& can_build_shared
=no
7639 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7640 if test "$GCC" = yes; then
7641 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7645 # Do we need to explicitly link libc?
7647 case "x$archive_cmds_need_lc" in
7649 # Assume -lc should be added
7650 archive_cmds_need_lc
=yes
7652 if test "$enable_shared" = yes && test "$GCC" = yes; then
7653 case $archive_cmds in
7655 # FIXME: we may have to deal with multi-command sequences.
7658 # Test whether the compiler implicitly links with -lc since on some
7659 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7660 # to ld, don't add -lc before -lgcc.
7661 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7662 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7664 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7667 (eval $ac_compile) 2>&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } 2>conftest.err
; then
7673 libobjs
=conftest.
$ac_objext
7675 wl
=$lt_prog_compiler_wl
7681 lt_save_allow_undefined_flag
=$allow_undefined_flag
7682 allow_undefined_flag
=
7683 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7684 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); }
7689 archive_cmds_need_lc
=no
7691 archive_cmds_need_lc
=yes
7693 allow_undefined_flag
=$lt_save_allow_undefined_flag
7695 cat conftest.err
1>&5
7698 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7699 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7706 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7707 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7709 if test -n "$hardcode_libdir_flag_spec" || \
7710 test -n "$runpath_var " || \
7711 test "X$hardcode_automatic"="Xyes" ; then
7713 # We can hardcode non-existant directories.
7714 if test "$hardcode_direct" != no
&&
7715 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7716 # have to relink, otherwise we might link with an installed library
7717 # when we should be linking with a yet-to-be-installed one
7718 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7719 test "$hardcode_minus_L" != no
; then
7720 # Linking always hardcodes the temporary library directory.
7721 hardcode_action
=relink
7723 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7724 hardcode_action
=immediate
7727 # We cannot hardcode anything, or else we can only hardcode existing
7729 hardcode_action
=unsupported
7731 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7732 echo "${ECHO_T}$hardcode_action" >&6
7734 if test "$hardcode_action" = relink
; then
7735 # Fast installation is not supported
7736 enable_fast_install
=no
7737 elif test "$shlibpath_overrides_runpath" = yes ||
7738 test "$enable_shared" = no
; then
7739 # Fast installation is not necessary
7740 enable_fast_install
=needless
7745 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7746 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7747 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
7748 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
7749 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
7750 echo "$as_me:$LINENO: result: yes" >&5
7751 echo "${ECHO_T}yes" >&6
7753 # FIXME - insert some real tests, host_os isn't really good enough
7756 if test -n "$STRIP" ; then
7757 striplib
="$STRIP -x"
7758 echo "$as_me:$LINENO: result: yes" >&5
7759 echo "${ECHO_T}yes" >&6
7761 echo "$as_me:$LINENO: result: no" >&5
7762 echo "${ECHO_T}no" >&6
7766 echo "$as_me:$LINENO: result: no" >&5
7767 echo "${ECHO_T}no" >&6
7772 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7773 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7775 libname_spec
='lib$name'
7783 shlibpath_overrides_runpath
=unknown
7785 dynamic_linker
="$host_os ld.so"
7786 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7787 if test "$GCC" = yes; then
7788 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7789 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7790 # if the path contains ";" then we assume it to be the separator
7791 # otherwise default to the standard path separator (i.e. ":") - it is
7792 # assumed that no part of a normal pathname contains ";" but that should
7793 # okay in the real world where ";" in dirpaths is itself problematic.
7794 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7796 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7799 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7801 need_lib_prefix
=unknown
7802 hardcode_into_libs
=no
7804 # when you set need_version to no, make sure it does not cause -set_version
7805 # flags to be left without arguments
7806 need_version
=unknown
7811 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7812 shlibpath_var
=LIBPATH
7814 # AIX 3 has no versioning support, so we append a major version to the name.
7815 soname_spec
='${libname}${release}${shared_ext}$major'
7822 hardcode_into_libs
=yes
7823 if test "$host_cpu" = ia64
; then
7824 # AIX 5 supports IA64
7825 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7826 shlibpath_var
=LD_LIBRARY_PATH
7828 # With GCC up to 2.95.x, collect2 would create an import file
7829 # for dependence libraries. The import file would start with
7830 # the line `#! .'. This would cause the generated library to
7831 # depend on `.', always an invalid library. This was fixed in
7832 # development snapshots of GCC prior to 3.0.
7834 aix4 | aix4.
[01] | aix4.
[01].
*)
7835 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7837 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7844 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7845 # soname into executable. Probably we can add versioning support to
7846 # collect2, so additional links can be useful in future.
7847 if test "$aix_use_runtimelinking" = yes; then
7848 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7849 # instead of lib<name>.a to let people know that these are not
7850 # typical AIX shared libraries.
7851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7853 # We preserve .a as extension for shared libraries through AIX4.2
7854 # and later when we are not doing run time linking.
7855 library_names_spec
='${libname}${release}.a $libname.a'
7856 soname_spec
='${libname}${release}${shared_ext}$major'
7858 shlibpath_var
=LIBPATH
7863 library_names_spec
='$libname.ixlibrary $libname.a'
7864 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7865 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'
7869 library_names_spec
='${libname}${shared_ext}'
7870 dynamic_linker
="$host_os ld.so"
7871 shlibpath_var
=LIBRARY_PATH
7877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7878 soname_spec
='${libname}${release}${shared_ext}$major'
7879 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7880 shlibpath_var
=LD_LIBRARY_PATH
7881 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7882 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7883 # the default ld.so.conf also contains /usr/contrib/lib and
7884 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7885 # libtool to hard-code these into programs
7888 cygwin
* | mingw
* | pw32
*)
7889 version_type
=windows
7894 case $GCC,$host_os in
7895 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7896 library_names_spec
='$libname.dll.a'
7897 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7898 postinstall_cmds
='base_file=`basename \${file}`~
7899 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7900 dldir=$destdir/`dirname \$dlpath`~
7901 test -d \$dldir || mkdir -p \$dldir~
7902 $install_prog $dir/$dlname \$dldir/$dlname'
7903 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7904 dlpath=$dir/\$dldll~
7906 shlibpath_overrides_runpath
=yes
7910 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7911 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7912 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
7915 # MinGW DLLs use traditional 'lib' prefix
7916 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7917 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7918 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7919 # It is most probably a Windows format PATH printed by
7920 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7921 # path with ; separators, and with drive letters. We can handle the
7922 # drive letters (cygwin fileutils understands them), so leave them,
7923 # especially as we might pass files found there to a mingw objdump,
7924 # which wouldn't understand a cygwinified path. Ahh.
7925 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7927 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7931 # pw32 DLLs use 'pw' prefix rather than 'lib'
7932 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7938 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7941 dynamic_linker
='Win32 ld.exe'
7942 # FIXME: first we should search . and the directory the executable is in
7946 darwin
* | rhapsody
*)
7947 dynamic_linker
="$host_os dyld"
7951 # FIXME: Relying on posixy $() will cause problems for
7952 # cross-compilation, but unfortunately the echo tests do not
7953 # yet detect zsh echo's removal of \ escapes.
7954 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7955 soname_spec
='${libname}${release}${major}$shared_ext'
7956 shlibpath_overrides_runpath
=yes
7957 shlibpath_var
=DYLD_LIBRARY_PATH
7958 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
7959 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7960 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
7961 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"`
7963 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
7970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7971 soname_spec
='${libname}${release}${shared_ext}$major'
7972 shlibpath_var
=LD_LIBRARY_PATH
7980 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7981 version_type
=freebsd-
$objformat
7982 case $version_type in
7984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7989 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7993 shlibpath_var
=LD_LIBRARY_PATH
7996 shlibpath_overrides_runpath
=yes
7998 freebsd3.01
* | freebsdelf3.01
*)
7999 shlibpath_overrides_runpath
=yes
8000 hardcode_into_libs
=yes
8003 shlibpath_overrides_runpath
=no
8004 hardcode_into_libs
=yes
8013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8014 soname_spec
='${libname}${release}${shared_ext}$major'
8015 shlibpath_var
=LD_LIBRARY_PATH
8016 hardcode_into_libs
=yes
8019 hpux9
* | hpux10
* | hpux11
*)
8020 # Give a soname corresponding to the major version so that dld.sl refuses to
8021 # link against other versions.
8028 hardcode_into_libs
=yes
8029 dynamic_linker
="$host_os dld.so"
8030 shlibpath_var
=LD_LIBRARY_PATH
8031 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8033 soname_spec
='${libname}${release}${shared_ext}$major'
8034 if test "X$HPUX_IA64_MODE" = X32
; then
8035 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8037 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8039 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8043 hardcode_into_libs
=yes
8044 dynamic_linker
="$host_os dld.sl"
8045 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8046 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8048 soname_spec
='${libname}${release}${shared_ext}$major'
8049 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8050 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8054 dynamic_linker
="$host_os dld.sl"
8055 shlibpath_var
=SHLIB_PATH
8056 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8058 soname_spec
='${libname}${release}${shared_ext}$major'
8061 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8062 postinstall_cmds
='chmod 555 $lib'
8065 irix5
* | irix6
* | nonstopux
*)
8067 nonstopux
*) version_type
=nonstopux
;;
8069 if test "$lt_cv_prog_gnu_ld" = yes; then
8077 soname_spec
='${libname}${release}${shared_ext}$major'
8078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8080 irix5
* | nonstopux
*)
8084 case $LD in # libtool.m4 will add one of these switches to LD
8085 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8086 libsuff
= shlibsuff
= libmagic
=32-bit;;
8087 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8088 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8089 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8090 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8091 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8095 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8096 shlibpath_overrides_runpath
=no
8097 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8098 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8099 hardcode_into_libs
=yes
8102 # No shared lib support for Linux oldld, aout, or coff.
8103 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8107 # This must be Linux ELF.
8112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8113 soname_spec
='${libname}${release}${shared_ext}$major'
8114 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8115 shlibpath_var
=LD_LIBRARY_PATH
8116 shlibpath_overrides_runpath
=no
8117 # This implies no fast_install, which is unacceptable.
8118 # Some rework will be needed to allow for fast_install
8119 # before this can be enabled.
8120 hardcode_into_libs
=yes
8122 # We used to test for /lib/ld.so.1 and disable shared libraries on
8123 # powerpc, because MkLinux only supported shared libraries with the
8124 # GNU dynamic linker. Since this was broken with cross compilers,
8125 # most powerpc-linux boxes support dynamic linking these days and
8126 # people can always --disable-shared, the test was removed, and we
8127 # assume the GNU/Linux dynamic linker is in use.
8128 dynamic_linker
='GNU/Linux ld.so'
8135 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8137 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8138 dynamic_linker
='NetBSD (a.out) ld.so'
8140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
8141 soname_spec
='${libname}${release}${shared_ext}$major'
8142 dynamic_linker
='NetBSD ld.elf_so'
8144 shlibpath_var
=LD_LIBRARY_PATH
8145 shlibpath_overrides_runpath
=yes
8146 hardcode_into_libs
=yes
8151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8152 shlibpath_var
=LD_LIBRARY_PATH
8153 shlibpath_overrides_runpath
=yes
8160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8161 soname_spec
='${libname}${release}${shared_ext}$major'
8162 shlibpath_var
=LD_LIBRARY_PATH
8163 shlibpath_overrides_runpath
=yes
8170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8171 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8172 shlibpath_var
=LD_LIBRARY_PATH
8173 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8175 openbsd2.
[89] | openbsd2.
[89].
*)
8176 shlibpath_overrides_runpath
=no
8179 shlibpath_overrides_runpath
=yes
8183 shlibpath_overrides_runpath
=yes
8188 libname_spec
='$name'
8191 library_names_spec
='$libname${shared_ext} $libname.a'
8192 dynamic_linker
='OS/2 ld.exe'
8193 shlibpath_var
=LIBPATH
8196 osf3
* | osf4
* | osf5
*)
8200 soname_spec
='${libname}${release}${shared_ext}$major'
8201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8202 shlibpath_var
=LD_LIBRARY_PATH
8203 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8204 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8209 soname_spec
='${libname}${release}${shared_ext}$major'
8210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8211 shlibpath_var
=LD_LIBRARY_PATH
8218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8219 soname_spec
='${libname}${release}${shared_ext}$major'
8220 shlibpath_var
=LD_LIBRARY_PATH
8221 shlibpath_overrides_runpath
=yes
8222 hardcode_into_libs
=yes
8223 # ldd complains unless libraries are executable
8224 postinstall_cmds
='chmod +x $lib'
8229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8230 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8231 shlibpath_var
=LD_LIBRARY_PATH
8232 shlibpath_overrides_runpath
=yes
8233 if test "$with_gnu_ld" = yes; then
8239 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8242 soname_spec
='${libname}${release}${shared_ext}$major'
8243 shlibpath_var
=LD_LIBRARY_PATH
8244 case $host_vendor in
8246 shlibpath_overrides_runpath
=no
8248 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8249 runpath_var
=LD_RUN_PATH
8257 shlibpath_overrides_runpath
=no
8258 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8264 if test -d /usr
/nec
;then
8266 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8267 soname_spec
='$libname${shared_ext}.$major'
8268 shlibpath_var
=LD_LIBRARY_PATH
8274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8275 soname_spec
='${libname}${release}${shared_ext}$major'
8276 shlibpath_var
=LD_LIBRARY_PATH
8283 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8284 echo "${ECHO_T}$dynamic_linker" >&6
8285 test "$dynamic_linker" = no
&& can_build_shared
=no
8287 if test "x$enable_dlopen" != xyes
; then
8288 enable_dlopen
=unknown
8289 enable_dlopen_self
=unknown
8290 enable_dlopen_self_static
=unknown
8297 lt_cv_dlopen
="load_add_on"
8299 lt_cv_dlopen_self
=yes
8303 lt_cv_dlopen
="LoadLibrary"
8308 lt_cv_dlopen
="dlopen"
8313 # if libdl is installed we need to link against it
8314 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8315 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8316 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8317 echo $ECHO_N "(cached) $ECHO_C" >&6
8319 ac_check_lib_save_LIBS
=$LIBS
8321 cat >conftest.
$ac_ext <<_ACEOF
8322 #line $LINENO "configure"
8325 cat confdefs.h
>>conftest.
$ac_ext
8326 cat >>conftest.
$ac_ext <<_ACEOF
8327 /* end confdefs.h. */
8329 /* Override any gcc2 internal prototype to avoid an error. */
8333 /* We use char because int might match the return type of a gcc2
8334 builtin and then its argument prototype would still apply. */
8344 rm -f conftest.
$ac_objext conftest
$ac_exeext
8345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8346 (eval $ac_link) 2>&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); } &&
8350 { ac_try
='test -s conftest$ac_exeext'
8351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }; }; then
8356 ac_cv_lib_dl_dlopen
=yes
8358 echo "$as_me: failed program was:" >&5
8359 sed 's/^/| /' conftest.
$ac_ext >&5
8361 ac_cv_lib_dl_dlopen
=no
8363 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8364 LIBS
=$ac_check_lib_save_LIBS
8366 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8367 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8368 if test $ac_cv_lib_dl_dlopen = yes; then
8369 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8374 lt_cv_dlopen_self
=yes
8381 echo "$as_me:$LINENO: checking for shl_load" >&5
8382 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8383 if test "${ac_cv_func_shl_load+set}" = set; then
8384 echo $ECHO_N "(cached) $ECHO_C" >&6
8386 cat >conftest.
$ac_ext <<_ACEOF
8387 #line $LINENO "configure"
8390 cat confdefs.h
>>conftest.
$ac_ext
8391 cat >>conftest.
$ac_ext <<_ACEOF
8392 /* end confdefs.h. */
8393 /* System header to define __stub macros and hopefully few prototypes,
8394 which can conflict with char shl_load (); below.
8395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8396 <limits.h> exists even on freestanding compilers. */
8398 # include <limits.h>
8400 # include <assert.h>
8402 /* Override any gcc2 internal prototype to avoid an error. */
8407 /* We use char because int might match the return type of a gcc2
8408 builtin and then its argument prototype would still apply. */
8410 /* The GNU C library defines this for functions which it implements
8411 to always fail with ENOSYS. Some functions are actually named
8412 something starting with __ and the normal name is an alias. */
8413 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8416 char (*f) () = shl_load;
8425 return f != shl_load;
8430 rm -f conftest.
$ac_objext conftest
$ac_exeext
8431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8432 (eval $ac_link) 2>&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); } &&
8436 { ac_try
='test -s conftest$ac_exeext'
8437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); }; }; then
8442 ac_cv_func_shl_load
=yes
8444 echo "$as_me: failed program was:" >&5
8445 sed 's/^/| /' conftest.
$ac_ext >&5
8447 ac_cv_func_shl_load
=no
8449 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8451 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8452 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8453 if test $ac_cv_func_shl_load = yes; then
8454 lt_cv_dlopen
="shl_load"
8456 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8457 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8458 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8459 echo $ECHO_N "(cached) $ECHO_C" >&6
8461 ac_check_lib_save_LIBS
=$LIBS
8463 cat >conftest.
$ac_ext <<_ACEOF
8464 #line $LINENO "configure"
8467 cat confdefs.h
>>conftest.
$ac_ext
8468 cat >>conftest.
$ac_ext <<_ACEOF
8469 /* end confdefs.h. */
8471 /* Override any gcc2 internal prototype to avoid an error. */
8475 /* We use char because int might match the return type of a gcc2
8476 builtin and then its argument prototype would still apply. */
8486 rm -f conftest.
$ac_objext conftest
$ac_exeext
8487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8488 (eval $ac_link) 2>&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); } &&
8492 { ac_try
='test -s conftest$ac_exeext'
8493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); }; }; then
8498 ac_cv_lib_dld_shl_load
=yes
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.
$ac_ext >&5
8503 ac_cv_lib_dld_shl_load
=no
8505 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8506 LIBS
=$ac_check_lib_save_LIBS
8508 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8509 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8510 if test $ac_cv_lib_dld_shl_load = yes; then
8511 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8513 echo "$as_me:$LINENO: checking for dlopen" >&5
8514 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8515 if test "${ac_cv_func_dlopen+set}" = set; then
8516 echo $ECHO_N "(cached) $ECHO_C" >&6
8518 cat >conftest.
$ac_ext <<_ACEOF
8519 #line $LINENO "configure"
8522 cat confdefs.h
>>conftest.
$ac_ext
8523 cat >>conftest.
$ac_ext <<_ACEOF
8524 /* end confdefs.h. */
8525 /* System header to define __stub macros and hopefully few prototypes,
8526 which can conflict with char dlopen (); below.
8527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8528 <limits.h> exists even on freestanding compilers. */
8530 # include <limits.h>
8532 # include <assert.h>
8534 /* Override any gcc2 internal prototype to avoid an error. */
8539 /* We use char because int might match the return type of a gcc2
8540 builtin and then its argument prototype would still apply. */
8542 /* The GNU C library defines this for functions which it implements
8543 to always fail with ENOSYS. Some functions are actually named
8544 something starting with __ and the normal name is an alias. */
8545 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8548 char (*f) () = dlopen;
8562 rm -f conftest.
$ac_objext conftest
$ac_exeext
8563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8564 (eval $ac_link) 2>&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); } &&
8568 { ac_try
='test -s conftest$ac_exeext'
8569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); }; }; then
8574 ac_cv_func_dlopen
=yes
8576 echo "$as_me: failed program was:" >&5
8577 sed 's/^/| /' conftest.
$ac_ext >&5
8579 ac_cv_func_dlopen
=no
8581 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8583 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8584 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8585 if test $ac_cv_func_dlopen = yes; then
8586 lt_cv_dlopen
="dlopen"
8588 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8589 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8590 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8591 echo $ECHO_N "(cached) $ECHO_C" >&6
8593 ac_check_lib_save_LIBS
=$LIBS
8595 cat >conftest.
$ac_ext <<_ACEOF
8596 #line $LINENO "configure"
8599 cat confdefs.h
>>conftest.
$ac_ext
8600 cat >>conftest.
$ac_ext <<_ACEOF
8601 /* end confdefs.h. */
8603 /* Override any gcc2 internal prototype to avoid an error. */
8607 /* We use char because int might match the return type of a gcc2
8608 builtin and then its argument prototype would still apply. */
8618 rm -f conftest.
$ac_objext conftest
$ac_exeext
8619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8620 (eval $ac_link) 2>&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); } &&
8624 { ac_try
='test -s conftest$ac_exeext'
8625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); }; }; then
8630 ac_cv_lib_dl_dlopen
=yes
8632 echo "$as_me: failed program was:" >&5
8633 sed 's/^/| /' conftest.
$ac_ext >&5
8635 ac_cv_lib_dl_dlopen
=no
8637 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8638 LIBS
=$ac_check_lib_save_LIBS
8640 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8641 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8642 if test $ac_cv_lib_dl_dlopen = yes; then
8643 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8645 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8646 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8647 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8648 echo $ECHO_N "(cached) $ECHO_C" >&6
8650 ac_check_lib_save_LIBS
=$LIBS
8652 cat >conftest.
$ac_ext <<_ACEOF
8653 #line $LINENO "configure"
8656 cat confdefs.h
>>conftest.
$ac_ext
8657 cat >>conftest.
$ac_ext <<_ACEOF
8658 /* end confdefs.h. */
8660 /* Override any gcc2 internal prototype to avoid an error. */
8664 /* We use char because int might match the return type of a gcc2
8665 builtin and then its argument prototype would still apply. */
8675 rm -f conftest.
$ac_objext conftest
$ac_exeext
8676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8677 (eval $ac_link) 2>&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); } &&
8681 { ac_try
='test -s conftest$ac_exeext'
8682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; }; then
8687 ac_cv_lib_svld_dlopen
=yes
8689 echo "$as_me: failed program was:" >&5
8690 sed 's/^/| /' conftest.
$ac_ext >&5
8692 ac_cv_lib_svld_dlopen
=no
8694 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8695 LIBS
=$ac_check_lib_save_LIBS
8697 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8698 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8699 if test $ac_cv_lib_svld_dlopen = yes; then
8700 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8702 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8703 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8704 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8705 echo $ECHO_N "(cached) $ECHO_C" >&6
8707 ac_check_lib_save_LIBS
=$LIBS
8709 cat >conftest.
$ac_ext <<_ACEOF
8710 #line $LINENO "configure"
8713 cat confdefs.h
>>conftest.
$ac_ext
8714 cat >>conftest.
$ac_ext <<_ACEOF
8715 /* end confdefs.h. */
8717 /* Override any gcc2 internal prototype to avoid an error. */
8721 /* We use char because int might match the return type of a gcc2
8722 builtin and then its argument prototype would still apply. */
8732 rm -f conftest.
$ac_objext conftest
$ac_exeext
8733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8734 (eval $ac_link) 2>&5
8736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737 (exit $ac_status); } &&
8738 { ac_try
='test -s conftest$ac_exeext'
8739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); }; }; then
8744 ac_cv_lib_dld_dld_link
=yes
8746 echo "$as_me: failed program was:" >&5
8747 sed 's/^/| /' conftest.
$ac_ext >&5
8749 ac_cv_lib_dld_dld_link
=no
8751 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8752 LIBS
=$ac_check_lib_save_LIBS
8754 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8755 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8756 if test $ac_cv_lib_dld_dld_link = yes; then
8757 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
8778 if test "x$lt_cv_dlopen" != xno
; then
8784 case $lt_cv_dlopen in
8786 save_CPPFLAGS
="$CPPFLAGS"
8787 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
8789 save_LDFLAGS
="$LDFLAGS"
8790 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
8793 LIBS
="$lt_cv_dlopen_libs $LIBS"
8795 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8796 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8797 if test "${lt_cv_dlopen_self+set}" = set; then
8798 echo $ECHO_N "(cached) $ECHO_C" >&6
8800 if test "$cross_compiling" = yes; then :
8801 lt_cv_dlopen_self
=cross
8803 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8804 lt_status
=$lt_dlunknown
8805 cat > conftest.
$ac_ext <<EOF
8806 #line 8806 "configure"
8807 #include "confdefs.h"
8816 # define LT_DLGLOBAL RTLD_GLOBAL
8819 # define LT_DLGLOBAL DL_GLOBAL
8821 # define LT_DLGLOBAL 0
8825 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8826 find out it does not work in some platform. */
8827 #ifndef LT_DLLAZY_OR_NOW
8829 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8832 # define LT_DLLAZY_OR_NOW DL_LAZY
8835 # define LT_DLLAZY_OR_NOW RTLD_NOW
8838 # define LT_DLLAZY_OR_NOW DL_NOW
8840 # define LT_DLLAZY_OR_NOW 0
8848 extern "C" void exit (int);
8851 void fnord() { int i=42;}
8854 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8855 int status = $lt_dlunknown;
8859 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8860 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8861 /* dlclose (self); */
8867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8868 (eval $ac_link) 2>&5
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8872 (.
/conftest
; exit; ) 2>/dev
/null
8875 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
8876 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
8877 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
8880 # compilation failed
8881 lt_cv_dlopen_self
=no
8888 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8889 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8891 if test "x$lt_cv_dlopen_self" = xyes
; then
8892 LDFLAGS
="$LDFLAGS $link_static_flag"
8893 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8894 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8895 if test "${lt_cv_dlopen_self_static+set}" = set; then
8896 echo $ECHO_N "(cached) $ECHO_C" >&6
8898 if test "$cross_compiling" = yes; then :
8899 lt_cv_dlopen_self_static
=cross
8901 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8902 lt_status
=$lt_dlunknown
8903 cat > conftest.
$ac_ext <<EOF
8904 #line 8904 "configure"
8905 #include "confdefs.h"
8914 # define LT_DLGLOBAL RTLD_GLOBAL
8917 # define LT_DLGLOBAL DL_GLOBAL
8919 # define LT_DLGLOBAL 0
8923 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8924 find out it does not work in some platform. */
8925 #ifndef LT_DLLAZY_OR_NOW
8927 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8930 # define LT_DLLAZY_OR_NOW DL_LAZY
8933 # define LT_DLLAZY_OR_NOW RTLD_NOW
8936 # define LT_DLLAZY_OR_NOW DL_NOW
8938 # define LT_DLLAZY_OR_NOW 0
8946 extern "C" void exit (int);
8949 void fnord() { int i=42;}
8952 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8953 int status = $lt_dlunknown;
8957 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8958 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8959 /* dlclose (self); */
8965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8966 (eval $ac_link) 2>&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8970 (.
/conftest
; exit; ) 2>/dev
/null
8973 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
8974 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
8975 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
8978 # compilation failed
8979 lt_cv_dlopen_self_static
=no
8986 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8987 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8990 CPPFLAGS
="$save_CPPFLAGS"
8991 LDFLAGS
="$save_LDFLAGS"
8996 case $lt_cv_dlopen_self in
8997 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
8998 *) enable_dlopen_self
=unknown
;;
9001 case $lt_cv_dlopen_self_static in
9002 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9003 *) enable_dlopen_self_static
=unknown
;;
9008 # Report which librarie types wil actually be built
9009 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9010 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9011 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9012 echo "${ECHO_T}$can_build_shared" >&6
9014 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9015 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9016 test "$can_build_shared" = "no" && enable_shared
=no
9018 # On AIX, shared libraries and static libraries use the same namespace, and
9019 # are all built from PIC.
9022 test "$enable_shared" = yes && enable_static
=no
9023 if test -n "$RANLIB"; then
9024 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9025 postinstall_cmds
='$RANLIB $lib'
9030 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9031 test "$enable_shared" = yes && enable_static
=no
9034 darwin
* | rhapsody
*)
9035 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
9036 archive_cmds_need_lc
=no
9038 rhapsody
* | darwin1.
[012])
9039 allow_undefined_flag
='-undefined suppress'
9042 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag
='-flat_namespace -undefined suppress'
9045 # FIXME: Relying on posixy $() will cause problems for
9046 # cross-compilation, but unfortunately the echo tests do not
9047 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
9048 # `"' quotes if we put them in here... so don't!
9049 output_verbose_link_cmd
='echo'
9050 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9051 module_cmds
='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9052 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9053 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9054 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9056 hardcode_automatic
=yes
9057 hardcode_shlibpath_var
=unsupported
9058 whole_archive_flag_spec
='-all_load $convenience'
9059 link_all_deplibs
=yes
9063 echo "$as_me:$LINENO: result: $enable_shared" >&5
9064 echo "${ECHO_T}$enable_shared" >&6
9066 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9067 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9068 # Make sure either enable_shared or enable_static is yes.
9069 test "$enable_shared" = yes || enable_static
=yes
9070 echo "$as_me:$LINENO: result: $enable_static" >&5
9071 echo "${ECHO_T}$enable_static" >&6
9073 # The else clause should only fire when bootstrapping the
9074 # libtool distribution, otherwise you forgot to ship ltmain.sh
9075 # with your package, and you will get complaints that there are
9076 # no rules to generate ltmain.sh.
9077 if test -f "$ltmain"; then
9078 # See if we are running on zsh, and set the options which allow our commands through
9079 # without removal of \ escapes.
9080 if test -n "${ZSH_VERSION+set}" ; then
9081 setopt NO_GLOB_SUBST
9083 # Now quote all the things that may contain metacharacters while being
9084 # careful not to overquote the AC_SUBSTed values. We take copies of the
9085 # variables and quote the copies for generation of the libtool script.
9086 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
9087 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9088 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9089 deplibs_check_method reload_flag reload_cmds need_locks \
9090 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9091 lt_cv_sys_global_symbol_to_c_name_address \
9092 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9093 old_postinstall_cmds old_postuninstall_cmds \
9097 lt_prog_compiler_wl \
9098 lt_prog_compiler_pic \
9099 lt_prog_compiler_static \
9100 lt_prog_compiler_no_builtin_flag \
9101 export_dynamic_flag_spec \
9102 thread_safe_flag_spec \
9103 whole_archive_flag_spec \
9104 enable_shared_with_static_runtimes \
9106 old_archive_from_new_cmds \
9111 compiler_lib_search_path \
9113 archive_expsym_cmds \
9115 postuninstall_cmds \
9116 old_archive_from_expsyms_cmds \
9117 allow_undefined_flag \
9119 export_symbols_cmds \
9120 hardcode_libdir_flag_spec \
9121 hardcode_libdir_flag_spec_ld \
9122 hardcode_libdir_separator \
9123 hardcode_automatic \
9125 module_expsym_cmds \
9126 lt_cv_prog_compiler_c_o \
9131 old_archive_cmds | \
9132 old_archive_from_new_cmds | \
9134 archive_expsym_cmds | \
9136 module_expsym_cmds | \
9137 old_archive_from_expsyms_cmds | \
9138 export_symbols_cmds | \
9139 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9140 postinstall_cmds | postuninstall_cmds | \
9141 old_postinstall_cmds | old_postuninstall_cmds | \
9142 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9143 # Double-quote double-evaled strings.
9144 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9147 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9153 *'\$0 --fallback-echo"')
9154 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9159 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9161 { echo "$as_me:$LINENO: creating $ofile" >&5
9162 echo "$as_me: creating $ofile" >&6;}
9164 cat <<__EOF__ >> "$cfgfile"
9167 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9168 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9169 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9171 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9172 # Free Software Foundation, Inc.
9174 # This file is part of GNU Libtool:
9175 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9177 # This program is free software; you can redistribute it and/or modify
9178 # it under the terms of the GNU General Public License as published by
9179 # the Free Software Foundation; either version 2 of the License, or
9180 # (at your option) any later version.
9182 # This program is distributed in the hope that it will be useful, but
9183 # WITHOUT ANY WARRANTY; without even the implied warranty of
9184 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9185 # General Public License for more details.
9187 # You should have received a copy of the GNU General Public License
9188 # along with this program; if not, write to the Free Software
9189 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9191 # As a special exception to the GNU General Public License, if you
9192 # distribute this file as part of a program that contains a
9193 # configuration script generated by Autoconf, you may include it under
9194 # the same distribution terms that you use for the rest of that program.
9196 # A sed program that does not truncate output.
9199 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9200 Xsed="$SED -e s/^X//"
9202 # The HP-UX ksh and POSIX shell print the target directory to stdout
9204 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9206 # The names of the tagged configurations supported by this script.
9209 # ### BEGIN LIBTOOL CONFIG
9211 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9213 # Shell to use when invoking shell scripts.
9216 # Whether or not to build shared libraries.
9217 build_libtool_libs=$enable_shared
9219 # Whether or not to build static libraries.
9220 build_old_libs=$enable_static
9222 # Whether or not to add -lc for building shared libraries.
9223 build_libtool_need_lc=$archive_cmds_need_lc
9225 # Whether or not to disallow shared libs when runtime libs are static
9226 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9228 # Whether or not to optimize for fast installation.
9229 fast_install=$enable_fast_install
9232 host_alias=$host_alias
9235 # An echo program that does not interpret backslashes.
9240 AR_FLAGS=$lt_AR_FLAGS
9245 # A language-specific compiler.
9248 # Is the compiler the GNU C compiler?
9254 # The linker used to build libraries.
9257 # Whether we need hard or soft links.
9260 # A BSD-compatible nm program.
9263 # A symbol stripping program
9266 # Used to examine libraries when file_magic_cmd begins "file"
9267 MAGIC_CMD=$MAGIC_CMD
9269 # Used on cygwin: DLL creation program.
9272 # Used on cygwin: object dumper.
9275 # Used on cygwin: assembler.
9278 # The name of the directory that contains temporary libtool files.
9281 # How to create reloadable object files.
9282 reload_flag=$lt_reload_flag
9283 reload_cmds=$lt_reload_cmds
9285 # How to pass a linker flag through the compiler.
9286 wl=$lt_lt_prog_compiler_wl
9288 # Object file suffix (normally "o").
9291 # Old archive suffix (normally "a").
9294 # Shared library suffix (normally ".so").
9297 # Executable file suffix (normally "").
9300 # Additional compiler flags for building library objects.
9301 pic_flag=$lt_lt_prog_compiler_pic
9304 # What is the maximum length of a command?
9305 max_cmd_len=$lt_cv_sys_max_cmd_len
9307 # Does compiler simultaneously support -c and -o options?
9308 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9310 # Must we lock files when doing compilation ?
9311 need_locks=$lt_need_locks
9313 # Do we need the lib prefix for modules?
9314 need_lib_prefix=$need_lib_prefix
9316 # Do we need a version for libraries?
9317 need_version=$need_version
9319 # Whether dlopen is supported.
9320 dlopen_support=$enable_dlopen
9322 # Whether dlopen of programs is supported.
9323 dlopen_self=$enable_dlopen_self
9325 # Whether dlopen of statically linked programs is supported.
9326 dlopen_self_static=$enable_dlopen_self_static
9328 # Compiler flag to prevent dynamic linking.
9329 link_static_flag=$lt_lt_prog_compiler_static
9331 # Compiler flag to turn off builtin functions.
9332 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9334 # Compiler flag to allow reflexive dlopens.
9335 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9337 # Compiler flag to generate shared objects directly from archives.
9338 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9340 # Compiler flag to generate thread-safe objects.
9341 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9343 # Library versioning type.
9344 version_type=$version_type
9346 # Format of library name prefix.
9347 libname_spec=$lt_libname_spec
9349 # List of archive names. First name is the real one, the rest are links.
9350 # The last name is the one that the linker finds with -lNAME.
9351 library_names_spec=$lt_library_names_spec
9353 # The coded name of the library, if different from the real name.
9354 soname_spec=$lt_soname_spec
9356 # Commands used to build and install an old-style archive.
9358 old_archive_cmds=$lt_old_archive_cmds
9359 old_postinstall_cmds=$lt_old_postinstall_cmds
9360 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9362 # Create an old-style archive from a shared archive.
9363 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9365 # Create a temporary old-style archive to link instead of a shared archive.
9366 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9368 # Commands used to build and install a shared archive.
9369 archive_cmds=$lt_archive_cmds
9370 archive_expsym_cmds=$lt_archive_expsym_cmds
9371 postinstall_cmds=$lt_postinstall_cmds
9372 postuninstall_cmds=$lt_postuninstall_cmds
9374 # Commands used to build a loadable module (assumed same as above if empty)
9375 module_cmds=$lt_module_cmds
9376 module_expsym_cmds=$lt_module_expsym_cmds
9378 # Commands to strip libraries.
9379 old_striplib=$lt_old_striplib
9380 striplib=$lt_striplib
9382 # Dependencies to place before the objects being linked to create a
9384 predep_objects=$lt_predep_objects
9386 # Dependencies to place after the objects being linked to create a
9388 postdep_objects=$lt_postdep_objects
9390 # Dependencies to place before the objects being linked to create a
9394 # Dependencies to place after the objects being linked to create a
9396 postdeps=$lt_postdeps
9398 # The library search path used internally by the compiler when linking
9400 compiler_lib_search_path=$lt_compiler_lib_search_path
9402 # Method to check whether dependent libraries are shared objects.
9403 deplibs_check_method=$lt_deplibs_check_method
9405 # Command to use when deplibs_check_method == file_magic.
9406 file_magic_cmd=$lt_file_magic_cmd
9408 # Flag that allows shared libraries with undefined symbols to be built.
9409 allow_undefined_flag=$lt_allow_undefined_flag
9411 # Flag that forces no undefined symbols.
9412 no_undefined_flag=$lt_no_undefined_flag
9414 # Commands used to finish a libtool library installation in a directory.
9415 finish_cmds=$lt_finish_cmds
9417 # Same as above, but a single script fragment to be evaled but not shown.
9418 finish_eval=$lt_finish_eval
9420 # Take the output of nm and produce a listing of raw symbols and C names.
9421 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9423 # Transform the output of nm in a proper C declaration
9424 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9426 # Transform the output of nm in a C name address pair
9427 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9429 # This is the shared library runtime path variable.
9430 runpath_var=$runpath_var
9432 # This is the shared library path variable.
9433 shlibpath_var=$shlibpath_var
9435 # Is shlibpath searched before the hard-coded library search path?
9436 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9438 # How to hardcode a shared library path into an executable.
9439 hardcode_action=$hardcode_action
9441 # Whether we should hardcode library paths into libraries.
9442 hardcode_into_libs=$hardcode_into_libs
9444 # Flag to hardcode \$libdir into a binary during linking.
9445 # This must work even if \$libdir does not exist.
9446 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9448 # If ld is used when linking, flag to hardcode \$libdir into
9449 # a binary during linking. This must work even if \$libdir does
9451 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9453 # Whether we need a single -rpath flag with a separated argument.
9454 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9456 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9458 hardcode_direct=$hardcode_direct
9460 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9462 hardcode_minus_L=$hardcode_minus_L
9464 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9465 # the resulting binary.
9466 hardcode_shlibpath_var=$hardcode_shlibpath_var
9468 # Set to yes if building a shared library automatically hardcodes DIR into the library
9469 # and all subsequent libraries and executables linked against it.
9470 hardcode_automatic=$hardcode_automatic
9472 # Variables whose values should be saved in libtool wrapper scripts and
9473 # restored at relink time.
9474 variables_saved_for_relink="$variables_saved_for_relink"
9476 # Whether libtool must link a program against all its dependency libraries.
9477 link_all_deplibs=$link_all_deplibs
9479 # Compile-time system search path for libraries
9480 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9482 # Run-time system search path for libraries
9483 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9485 # Fix the shell variable \$srcfile for the compiler.
9486 fix_srcfile_path="$fix_srcfile_path"
9488 # Set to yes if exported symbols are required.
9489 always_export_symbols=$always_export_symbols
9491 # The commands to list exported symbols.
9492 export_symbols_cmds=$lt_export_symbols_cmds
9494 # The commands to extract the exported symbol list from a shared archive.
9495 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9497 # Symbols that should not be listed in the preloaded symbols.
9498 exclude_expsyms=$lt_exclude_expsyms
9500 # Symbols that must always be exported.
9501 include_expsyms=$lt_include_expsyms
9503 # ### END LIBTOOL CONFIG
9510 cat <<\EOF
>> "$cfgfile"
9512 # AIX sometimes has problems with the GCC collect2 program. For some
9513 # reason, if we set the COLLECT_NAMES environment variable, the problems
9514 # vanish in a puff of smoke.
9515 if test "X${COLLECT_NAMES+set}" != Xset
; then
9517 export COLLECT_NAMES
9523 # We use sed instead of cat because bash on DJGPP gets confused if
9524 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9525 # text mode, it properly converts lines to CR/LF. This bash problem
9526 # is reportedly fixed, but why not run on old versions too?
9527 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9529 mv -f "$cfgfile" "$ofile" || \
9530 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9534 # If there is no Makefile yet, we rely on a make rule to execute
9535 # `config.status --recheck' to rerun these tests and create the
9536 # libtool script then.
9537 test -f Makefile
&& make "$ltmain"
9542 ac_cpp
='$CPP $CPPFLAGS'
9543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9550 # Check whether --with-tags or --without-tags was given.
9551 if test "${with_tags+set}" = set; then
9552 withval
="$with_tags"
9556 if test -f "$ltmain" && test -n "$tagnames"; then
9557 if test ! -f "${ofile}"; then
9558 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9559 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9562 if test -z "$LTCC"; then
9563 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9564 if test -z "$LTCC"; then
9565 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9566 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9568 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9569 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9573 # Extract list of available tagged configurations in $ofile.
9574 # Note that this assumes the entire list is on one line.
9575 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9577 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9578 for tagname
in $tagnames; do
9580 # Check whether tagname contains only valid characters
9581 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9583 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9584 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9585 { (exit 1); exit 1; }; }
9589 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9591 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9592 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9593 { (exit 1); exit 1; }; }
9596 # Update the list of available tags.
9597 if test -n "$tagname"; then
9598 echo appending configuration tag
\"$tagname\" to
$ofile
9602 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9604 ac_cpp
='$CXXCPP $CPPFLAGS'
9605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9612 archive_cmds_need_lc_CXX
=no
9613 allow_undefined_flag_CXX
=
9614 always_export_symbols_CXX
=no
9615 archive_expsym_cmds_CXX
=
9616 export_dynamic_flag_spec_CXX
=
9617 hardcode_direct_CXX
=no
9618 hardcode_libdir_flag_spec_CXX
=
9619 hardcode_libdir_flag_spec_ld_CXX
=
9620 hardcode_libdir_separator_CXX
=
9621 hardcode_minus_L_CXX
=no
9622 hardcode_automatic_CXX
=no
9624 module_expsym_cmds_CXX
=
9625 link_all_deplibs_CXX
=unknown
9626 old_archive_cmds_CXX
=$old_archive_cmds
9627 no_undefined_flag_CXX
=
9628 whole_archive_flag_spec_CXX
=
9629 enable_shared_with_static_runtimes_CXX
=no
9631 # Dependencies to place before and after the object being linked:
9633 postdep_objects_CXX
=
9636 compiler_lib_search_path_CXX
=
9638 # Source file extension for C++ test sources.
9641 # Object file extension for compiled C++ test sources.
9645 # Code to be used in simple compile tests
9646 lt_simple_compile_test_code
="int some_variable = 0;\n"
9648 # Code to be used in simple link tests
9649 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
9651 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9653 # If no C compiler was specified, use CC.
9656 # Allow CC to be a program name with arguments.
9660 # Allow CC to be a program name with arguments.
9665 lt_save_with_gnu_ld
=$with_gnu_ld
9666 lt_save_path_LD
=$lt_cv_path_LD
9667 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9668 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
9670 unset lt_cv_prog_gnu_ld
9672 if test -n "${lt_cv_path_LDCXX+set}"; then
9673 lt_cv_path_LD
=$lt_cv_path_LDCXX
9677 test -z "${LDCXX+set}" || LD
=$LDCXX
9681 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9683 # We don't want -fno-exception wen compiling C++ code, so set the
9684 # no_builtin_flag separately
9685 if test "$GXX" = yes; then
9686 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
9688 lt_prog_compiler_no_builtin_flag_CXX
=
9691 if test "$GXX" = yes; then
9692 # Set up default GNU C++ configuration
9695 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9696 if test "${with_gnu_ld+set}" = set; then
9697 withval
="$with_gnu_ld"
9698 test "$withval" = no || with_gnu_ld
=yes
9703 if test "$GCC" = yes; then
9704 # Check if gcc -print-prog-name=ld gives a path.
9705 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9706 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9709 # gcc leaves a trailing carriage return which upsets mingw
9710 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9712 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9715 # Accept absolute paths.
9717 re_direlt
='/[^/][^/]*/\.\./'
9718 # Canonicalize the path of ld
9719 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
9720 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9721 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9723 test -z "$LD" && LD
="$ac_prog"
9726 # If it fails, then pretend we aren't using GCC.
9730 # If it is relative, then search for the first ld in PATH.
9734 elif test "$with_gnu_ld" = yes; then
9735 echo "$as_me:$LINENO: checking for GNU ld" >&5
9736 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9738 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9739 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9741 if test "${lt_cv_path_LD+set}" = set; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 if test -z "$LD"; then
9745 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9746 for ac_dir
in $PATH; do
9748 test -z "$ac_dir" && ac_dir
=.
9749 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9750 lt_cv_path_LD
="$ac_dir/$ac_prog"
9751 # Check to see if the program is GNU ld. I'd rather use --version,
9752 # but apparently some GNU ld's only accept -v.
9753 # Break only if it was the GNU/non-GNU ld that we prefer.
9754 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9755 *GNU
* |
*'with BFD'*)
9756 test "$with_gnu_ld" != no
&& break
9759 test "$with_gnu_ld" != yes && break
9766 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
9771 if test -n "$LD"; then
9772 echo "$as_me:$LINENO: result: $LD" >&5
9773 echo "${ECHO_T}$LD" >&6
9775 echo "$as_me:$LINENO: result: no" >&5
9776 echo "${ECHO_T}no" >&6
9778 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9779 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9780 { (exit 1); exit 1; }; }
9781 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9782 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9783 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9784 echo $ECHO_N "(cached) $ECHO_C" >&6
9786 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9787 case `"$LD" -v 2>&1 </dev/null` in
9788 *GNU
* |
*'with BFD'*)
9789 lt_cv_prog_gnu_ld
=yes
9792 lt_cv_prog_gnu_ld
=no
9796 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9797 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9798 with_gnu_ld
=$lt_cv_prog_gnu_ld
9802 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9803 # archiving commands below assume that GNU ld is being used.
9804 if test "$with_gnu_ld" = yes; then
9805 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9806 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'
9808 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
9809 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
9811 # If archive_cmds runs LD, not CC, wlarc should be empty
9812 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9813 # investigate it a little bit more. (MM)
9816 # ancient GNU ld didn't support --whole-archive et. al.
9817 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9818 grep 'no-whole-archive' > /dev
/null
; then
9819 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9821 whole_archive_flag_spec_CXX
=
9827 # A generic and very simple default shared library creation
9828 # command for GNU C++ for the case where it uses the native
9829 # linker, instead of GNU ld. If possible, this setting should
9830 # overridden to take advantage of the native linker features on
9831 # the platform it is being used on.
9832 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9835 # Commands to make compiler produce verbose output that lists
9836 # what "hidden" libraries, object files and flags are used when
9837 # linking a shared library.
9838 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9846 # PORTME: fill in a description of your system's C++ link characteristics
9847 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9848 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9852 # FIXME: insert proper C++ library support
9856 if test "$host_cpu" = ia64
; then
9857 # On IA64, the linker does run time linking by default, so we don't
9858 # have to do anything special.
9859 aix_use_runtimelinking
=no
9860 exp_sym_flag
='-Bexport'
9863 aix_use_runtimelinking
=no
9865 # Test if we are trying to use run time linking or normal
9866 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9867 # need to do runtime linking.
9868 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9869 for ld_flag
in $LDFLAGS; do
9872 aix_use_runtimelinking
=yes
9879 exp_sym_flag
='-bexport'
9880 no_entry_flag
='-bnoentry'
9883 # When large executables or shared objects are built, AIX ld can
9884 # have problems creating the table of contents. If linking a library
9885 # or program results in "error TOC overflow" add -mminimal-toc to
9886 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9887 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9890 hardcode_direct_CXX
=yes
9891 hardcode_libdir_separator_CXX
=':'
9892 link_all_deplibs_CXX
=yes
9894 if test "$GXX" = yes; then
9895 case $host_os in aix4.012|aix4.012.
*)
9896 # We only want to do this on AIX 4.2 and lower, the check
9897 # below for broken collect2 doesn't work under 4.3+
9898 collect2name
=`${CC} -print-prog-name=collect2`
9899 if test -f "$collect2name" && \
9900 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9902 # We have reworked collect2
9903 hardcode_direct_CXX
=yes
9905 # We have old collect2
9906 hardcode_direct_CXX
=unsupported
9907 # It fails to find uninstalled libraries when the uninstalled
9908 # path is not listed in the libpath. Setting hardcode_minus_L
9909 # to unsupported forces relinking
9910 hardcode_minus_L_CXX
=yes
9911 hardcode_libdir_flag_spec_CXX
='-L$libdir'
9912 hardcode_libdir_separator_CXX
=
9915 shared_flag
='-shared'
9918 if test "$host_cpu" = ia64
; then
9919 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9920 # chokes on -Wl,-G. The following line is correct:
9923 if test "$aix_use_runtimelinking" = yes; then
9924 shared_flag
='${wl}-G'
9926 shared_flag
='${wl}-bM:SRE'
9931 # It seems that -bexpall does not export symbols beginning with
9932 # underscore (_), so it is better to generate a list of symbols to export.
9933 always_export_symbols_CXX
=yes
9934 if test "$aix_use_runtimelinking" = yes; then
9935 # Warning - without using the other runtime loading flags (-brtl),
9936 # -berok will link without error, but may produce a broken library.
9937 allow_undefined_flag_CXX
='-berok'
9938 # Determine the default libpath from the value encoded in an empty executable.
9939 cat >conftest.
$ac_ext <<_ACEOF
9940 #line $LINENO "configure"
9943 cat confdefs.h
>>conftest.
$ac_ext
9944 cat >>conftest.
$ac_ext <<_ACEOF
9945 /* end confdefs.h. */
9955 rm -f conftest.
$ac_objext conftest
$ac_exeext
9956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9957 (eval $ac_link) 2>&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); } &&
9961 { ac_try
='test -s conftest$ac_exeext'
9962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); }; }; then
9968 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9970 # Check for a 64-bit object if we didn't find anything.
9971 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; }
9974 echo "$as_me: failed program was:" >&5
9975 sed 's/^/| /' conftest.
$ac_ext >&5
9978 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9979 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9981 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
9983 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"
9985 if test "$host_cpu" = ia64; then
9986 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
9987 allow_undefined_flag_CXX="-z nodefs"
9988 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"
9990 # Determine the default libpath from the value encoded in an empty executable.
9991 cat >conftest.$ac_ext <<_ACEOF
9992 #line $LINENO "configure
"
9995 cat confdefs.h >>conftest.$ac_ext
9996 cat >>conftest.$ac_ext <<_ACEOF
9997 /* end confdefs.h. */
10007 rm -f conftest.$ac_objext conftest$ac_exeext
10008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10009 (eval $ac_link) 2>&5
10011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10012 (exit $ac_status); } &&
10013 { ac_try='test -s conftest$ac_exeext'
10014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10015 (eval $ac_try) 2>&5
10017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10018 (exit $ac_status); }; }; then
10020 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10022 # Check for a 64-bit object if we didn't find anything.
10023 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; }
10026 echo "$as_me: failed program was
:" >&5
10027 sed 's/^/| /' conftest.$ac_ext >&5
10030 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10031 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10033 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10034 # Warning - without using the other run time loading flags,
10035 # -berok will link without error, but may produce a broken library.
10036 no_undefined_flag_CXX=' ${wl}-bernotok'
10037 allow_undefined_flag_CXX=' ${wl}-berok'
10038 # -bexpall does not export symbols beginning with underscore (_)
10039 always_export_symbols_CXX=yes
10040 # Exported symbols can be pulled into shared objects from archives
10041 whole_archive_flag_spec_CXX=' '
10042 archive_cmds_need_lc_CXX=yes
10043 # This is similar to how AIX traditionally builds it's shared libraries.
10044 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10049 case $cc_basename in
10051 # FIXME: insert proper C++ library support
10057 cygwin* | mingw* | pw32*)
10058 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10059 # as there is no search path for DLLs.
10060 hardcode_libdir_flag_spec_CXX='-L$libdir'
10061 allow_undefined_flag_CXX=unsupported
10062 always_export_symbols_CXX=no
10063 enable_shared_with_static_runtimes_CXX=yes
10065 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10066 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'
10067 # If the export-symbols file already is a .def file (1st line
10068 # is EXPORTS), use it as is; otherwise, prepend...
10069 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10070 cp $export_symbols $output_objdir/$soname.def;
10072 echo EXPORTS > $output_objdir/$soname.def;
10073 cat $export_symbols >> $output_objdir/$soname.def;
10075 $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'
10081 darwin* | rhapsody*)
10082 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
10083 archive_cmds_need_lc_CXX=no
10085 rhapsody* | darwin1.[012])
10086 allow_undefined_flag_CXX='-undefined suppress'
10089 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10092 lt_int_apple_cc_single_mod=no
10093 output_verbose_link_cmd='echo'
10094 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10095 lt_int_apple_cc_single_mod=yes
10097 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10098 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10100 archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10102 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
10104 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10105 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10106 archive_expsym_cmds_CXX='sed -e "s
,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10108 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10110 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10111 hardcode_direct_CXX
=no
10112 hardcode_automatic_CXX
=yes
10113 hardcode_shlibpath_var_CXX
=unsupported
10114 whole_archive_flag_spec_CXX
='-all_load $convenience'
10115 link_all_deplibs_CXX
=yes
10120 case $cc_basename in
10122 # FIXME: insert proper C++ library support
10126 # Green Hills C++ Compiler
10127 # FIXME: insert proper C++ library support
10131 # FIXME: insert proper C++ library support
10137 # C++ shared libraries reported to be fairly broken before switch to ELF
10141 archive_cmds_need_lc_CXX
=no
10144 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10151 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10152 hardcode_libdir_separator_CXX
=:
10153 export_dynamic_flag_spec_CXX
='${wl}-E'
10154 hardcode_direct_CXX
=yes
10155 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10156 # but as the default
10157 # location of the library.
10159 case $cc_basename in
10161 # FIXME: insert proper C++ library support
10165 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10166 # Commands to make compiler produce verbose output that lists
10167 # what "hidden" libraries, object files and flags are used when
10168 # linking a shared library.
10170 # There doesn't appear to be a way to prevent this compiler from
10171 # explicitly linking system object files so we need to strip them
10172 # from the output so that they don't get included in the library
10174 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'
10177 if test "$GXX" = yes; then
10178 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10180 # FIXME: insert proper C++ library support
10187 if test $with_gnu_ld = no
; then
10188 case "$host_cpu" in
10190 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10191 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
10192 hardcode_libdir_separator_CXX
=:
10195 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10198 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
10199 hardcode_libdir_separator_CXX
=:
10200 export_dynamic_flag_spec_CXX
='${wl}-E'
10204 case "$host_cpu" in
10206 hardcode_direct_CXX
=no
10207 hardcode_shlibpath_var_CXX
=no
10210 hardcode_direct_CXX
=no
10211 hardcode_shlibpath_var_CXX
=no
10212 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10213 # but as the default
10214 # location of the library.
10217 hardcode_direct_CXX
=yes
10218 hardcode_minus_L_CXX
=yes # Not in the search PATH,
10219 # but as the default
10220 # location of the library.
10224 case $cc_basename in
10226 # FIXME: insert proper C++ library support
10230 case "$host_cpu" in
10232 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10235 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10238 # Commands to make compiler produce verbose output that lists
10239 # what "hidden" libraries, object files and flags are used when
10240 # linking a shared library.
10242 # There doesn't appear to be a way to prevent this compiler from
10243 # explicitly linking system object files so we need to strip them
10244 # from the output so that they don't get included in the library
10246 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'
10249 if test "$GXX" = yes; then
10250 if test $with_gnu_ld = no
; then
10251 case "$host_cpu" in
10253 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10256 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'
10261 # FIXME: insert proper C++ library support
10268 case $cc_basename in
10271 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'
10273 # Archives containing C++ object files must be created using
10274 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10275 # necessary to make sure instantiated templates are included
10277 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
10280 if test "$GXX" = yes; then
10281 if test "$with_gnu_ld" = no
; then
10282 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'
10284 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'
10287 link_all_deplibs_CXX
=yes
10290 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10291 hardcode_libdir_separator_CXX
=:
10294 case $cc_basename in
10296 # Kuck and Associates, Inc. (KAI) C++ Compiler
10298 # KCC will only create a shared library if the output file
10299 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10300 # to its proper name (with version) after linking.
10301 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'
10302 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'
10303 # Commands to make compiler produce verbose output that lists
10304 # what "hidden" libraries, object files and flags are used when
10305 # linking a shared library.
10307 # There doesn't appear to be a way to prevent this compiler from
10308 # explicitly linking system object files so we need to strip them
10309 # from the output so that they don't get included in the library
10311 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'
10313 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10314 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10316 # Archives containing C++ object files must be created using
10317 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10318 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10323 archive_cmds_need_lc_CXX
=no
10324 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10325 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'
10326 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10327 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10328 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10332 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10333 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'
10335 runpath_var
=LD_RUN_PATH
10336 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10337 hardcode_libdir_separator_CXX
=:
10339 # Commands to make compiler produce verbose output that lists
10340 # what "hidden" libraries, object files and flags are used when
10341 # linking a shared library.
10343 # There doesn't appear to be a way to prevent this compiler from
10344 # explicitly linking system object files so we need to strip them
10345 # from the output so that they don't get included in the library
10347 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'
10352 # FIXME: insert proper C++ library support
10356 # FIXME: insert proper C++ library support
10360 case $cc_basename in
10362 # FIXME: insert proper C++ library support
10366 # FIXME: insert proper C++ library support
10372 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10373 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10375 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10376 hardcode_direct_CXX
=yes
10377 hardcode_shlibpath_var_CXX
=no
10379 # Workaround some broken pre-1.5 toolchains
10380 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10383 case $cc_basename in
10385 # Kuck and Associates, Inc. (KAI) C++ Compiler
10387 # KCC will only create a shared library if the output file
10388 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10389 # to its proper name (with version) after linking.
10390 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'
10392 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10393 hardcode_libdir_separator_CXX
=:
10395 # Archives containing C++ object files must be created using
10396 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10397 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10401 # Rational C++ 2.4.1
10402 # FIXME: insert proper C++ library support
10406 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10407 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'
10409 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10410 hardcode_libdir_separator_CXX
=:
10412 # Commands to make compiler produce verbose output that lists
10413 # what "hidden" libraries, object files and flags are used when
10414 # linking a shared library.
10416 # There doesn't appear to be a way to prevent this compiler from
10417 # explicitly linking system object files so we need to strip them
10418 # from the output so that they don't get included in the library
10420 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'
10423 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10424 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10425 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'
10427 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10428 hardcode_libdir_separator_CXX
=:
10430 # Commands to make compiler produce verbose output that lists
10431 # what "hidden" libraries, object files and flags are used when
10432 # linking a shared library.
10433 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10436 # FIXME: insert proper C++ library support
10443 case $cc_basename in
10445 # Kuck and Associates, Inc. (KAI) C++ Compiler
10447 # KCC will only create a shared library if the output file
10448 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10449 # to its proper name (with version) after linking.
10450 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'
10452 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10453 hardcode_libdir_separator_CXX
=:
10455 # Archives containing C++ object files must be created using
10456 # the KAI C++ compiler.
10457 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
10460 # Rational C++ 2.4.1
10461 # FIXME: insert proper C++ library support
10465 allow_undefined_flag_CXX
=' -expect_unresolved \*'
10466 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'
10467 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10468 echo "-hidden">> $lib.exp~
10469 $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~
10472 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10473 hardcode_libdir_separator_CXX
=:
10475 # Commands to make compiler produce verbose output that lists
10476 # what "hidden" libraries, object files and flags are used when
10477 # linking a shared library.
10479 # There doesn't appear to be a way to prevent this compiler from
10480 # explicitly linking system object files so we need to strip them
10481 # from the output so that they don't get included in the library
10483 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'
10486 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10487 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10488 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'
10490 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10491 hardcode_libdir_separator_CXX
=:
10493 # Commands to make compiler produce verbose output that lists
10494 # what "hidden" libraries, object files and flags are used when
10495 # linking a shared library.
10496 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10499 # FIXME: insert proper C++ library support
10506 # FIXME: insert proper C++ library support
10510 archive_cmds_need_lc_CXX
=no
10511 case $cc_basename in
10513 # FIXME: insert proper C++ library support
10517 # FIXME: insert proper C++ library support
10523 case $cc_basename in
10526 # FIXME: insert proper C++ library support
10531 # FIXME: insert proper C++ library support
10535 # FIXME: insert proper C++ library support
10541 case $cc_basename in
10543 # Sun C++ 4.2, 5.x and Centerline C++
10544 no_undefined_flag_CXX
=' -zdefs'
10545 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10546 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10547 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10549 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10550 hardcode_shlibpath_var_CXX
=no
10552 solaris2.0
-5 | solaris2.0
-5.
*) ;;
10554 # The C++ compiler is used as linker so we must use $wl
10555 # flag to pass the commands to the underlying system
10557 # Supported since Solaris 2.6 (maybe 2.5.1?)
10558 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10561 link_all_deplibs_CXX
=yes
10563 # Commands to make compiler produce verbose output that lists
10564 # what "hidden" libraries, object files and flags are used when
10565 # linking a shared library.
10567 # There doesn't appear to be a way to prevent this compiler from
10568 # explicitly linking system object files so we need to strip them
10569 # from the output so that they don't get included in the library
10571 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'
10573 # Archives containing C++ object files must be created using
10574 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10575 # necessary to make sure instantiated templates are included
10577 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10580 # Green Hills C++ Compiler
10581 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10583 # The C++ compiler must be used to create the archive.
10584 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10587 # GNU C++ compiler with Solaris linker
10588 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10589 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
10590 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
10591 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10592 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10593 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10595 # Commands to make compiler produce verbose output that lists
10596 # what "hidden" libraries, object files and flags are used when
10597 # linking a shared library.
10598 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10600 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10602 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10603 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10604 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10606 # Commands to make compiler produce verbose output that lists
10607 # what "hidden" libraries, object files and flags are used when
10608 # linking a shared library.
10609 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10612 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
10617 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
10618 archive_cmds_need_lc_CXX
=no
10621 case $cc_basename in
10623 # NonStop-UX NCC 3.20
10624 # FIXME: insert proper C++ library support
10628 # FIXME: insert proper C++ library support
10634 # FIXME: insert proper C++ library support
10638 # FIXME: insert proper C++ library support
10642 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10643 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10644 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
10650 cat > conftest.
$ac_ext <<EOF
10654 Foo (void) { a = 0; }
10660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10661 (eval $ac_compile) 2>&5
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); }; then
10665 # Parse the compiler output and extract the necessary
10666 # objects, libraries and library flags.
10668 # Sentinel used to keep track of whether or not we are before
10669 # the conftest object file.
10670 pre_test_object_deps_done
=no
10672 # The `*' in the case matches for architectures that use `case' in
10673 # $output_verbose_cmd can trigger glob expansion during the loop
10674 # eval without this substitution.
10675 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10677 for p
in `eval $output_verbose_link_cmd`; do
10681 # Some compilers place space between "-{L,R}" and the path.
10682 # Remove the space.
10683 if test $p = "-L" \
10684 ||
test $p = "-R"; then
10691 if test "$pre_test_object_deps_done" = no
; then
10694 # Internal compiler library paths should come after those
10695 # provided the user. The postdeps already come after the
10696 # user supplied libs so there is no need to process them.
10697 if test -z "$compiler_lib_search_path_CXX"; then
10698 compiler_lib_search_path_CXX
="${prev}${p}"
10700 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
10703 # The "-l" case would never come before the object being
10704 # linked, so don't bother handling this case.
10707 if test -z "$postdeps_CXX"; then
10708 postdeps_CXX
="${prev}${p}"
10710 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
10716 # This assumes that the test object file only shows up
10717 # once in the compiler output.
10718 if test "$p" = "conftest.$objext"; then
10719 pre_test_object_deps_done
=yes
10723 if test "$pre_test_object_deps_done" = no
; then
10724 if test -z "$predep_objects_CXX"; then
10725 predep_objects_CXX
="$p"
10727 predep_objects_CXX
="$predep_objects_CXX $p"
10730 if test -z "$postdep_objects_CXX"; then
10731 postdep_objects_CXX
="$p"
10733 postdep_objects_CXX
="$postdep_objects_CXX $p"
10738 *) ;; # Ignore the rest.
10746 echo "libtool.m4: error: problem compiling CXX test program"
10749 $rm -f confest.
$objext
10751 case " $postdeps_CXX " in
10752 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
10755 lt_prog_compiler_wl_CXX
=
10756 lt_prog_compiler_pic_CXX
=
10757 lt_prog_compiler_static_CXX
=
10759 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10760 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10762 # C++ specific cases for pic, static, wl, etc.
10763 if test "$GXX" = yes; then
10764 lt_prog_compiler_wl_CXX
='-Wl,'
10765 lt_prog_compiler_static_CXX
='-static'
10769 # All AIX code is PIC.
10770 if test "$host_cpu" = ia64
; then
10771 # AIX 5 now supports IA64 processor
10772 lt_prog_compiler_static_CXX
='-Bstatic'
10776 # FIXME: we need at least 68020 code to build shared libraries, but
10777 # adding the `-m68020' flag to GCC prevents building anything better,
10779 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
10781 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10782 # PIC is the default for these OSes.
10784 mingw
* | os2
* | pw32
*)
10785 # This hack is so that the source file can tell whether it is being
10786 # built for inclusion in a dll (and should export symbols for example).
10787 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
10789 darwin
* | rhapsody
*)
10790 # PIC is the default on this platform
10791 # Common symbols not allowed in MH_DYLIB files
10792 lt_prog_compiler_pic_CXX
='-fno-common'
10795 # DJGPP does not support shared libraries at all
10796 lt_prog_compiler_pic_CXX
=
10799 if test -d /usr
/nec
; then
10800 lt_prog_compiler_pic_CXX
=-Kconform_pic
10804 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10805 # not for PA HP-UX.
10806 case "$host_cpu" in
10810 lt_prog_compiler_pic_CXX
='-fPIC'
10815 lt_prog_compiler_pic_CXX
='-fPIC'
10821 # All AIX code is PIC.
10822 if test "$host_cpu" = ia64
; then
10823 # AIX 5 now supports IA64 processor
10824 lt_prog_compiler_static_CXX
='-Bstatic'
10826 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
10830 case $cc_basename in
10832 # Green Hills C++ Compiler
10833 # _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"
10838 case $cc_basename in
10840 lt_prog_compiler_pic_CXX
='-KPIC'
10843 # Green Hills C++ Compiler
10844 lt_prog_compiler_pic_CXX
='-pic'
10851 # FreeBSD uses GNU C++
10853 hpux9
* | hpux10
* | hpux11
*)
10854 case $cc_basename in
10856 lt_prog_compiler_wl_CXX
='-Wl,'
10857 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10858 if test "$host_cpu" != ia64
; then
10859 lt_prog_compiler_pic_CXX
='+Z'
10863 lt_prog_compiler_wl_CXX
='-Wl,'
10864 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10865 case "$host_cpu" in
10870 lt_prog_compiler_pic_CXX
='+Z'
10878 irix5
* | irix6
* | nonstopux
*)
10879 case $cc_basename in
10881 lt_prog_compiler_wl_CXX
='-Wl,'
10882 lt_prog_compiler_static_CXX
='-non_shared'
10883 # CC pic flag -KPIC is the default.
10890 case $cc_basename in
10893 lt_prog_compiler_wl_CXX
='--backend -Wl,'
10894 lt_prog_compiler_pic_CXX
='-fPIC'
10898 lt_prog_compiler_wl_CXX
='-Wl,'
10899 lt_prog_compiler_pic_CXX
='-KPIC'
10900 lt_prog_compiler_static_CXX
='-static'
10904 # Make sure the PIC flag is empty. It appears that all Alpha
10905 # Linux and Compaq Tru64 Unix objects are PIC.
10906 lt_prog_compiler_pic_CXX
=
10907 lt_prog_compiler_static_CXX
='-non_shared'
10918 case $cc_basename in
10920 lt_prog_compiler_pic_CXX
='-W c,exportall'
10928 osf3
* | osf4
* | osf5
*)
10929 case $cc_basename in
10931 lt_prog_compiler_wl_CXX
='--backend -Wl,'
10934 # Rational C++ 2.4.1
10935 lt_prog_compiler_pic_CXX
='-pic'
10938 # Digital/Compaq C++
10939 lt_prog_compiler_wl_CXX
='-Wl,'
10940 # Make sure the PIC flag is empty. It appears that all Alpha
10941 # Linux and Compaq Tru64 Unix objects are PIC.
10942 lt_prog_compiler_pic_CXX
=
10943 lt_prog_compiler_static_CXX
='-non_shared'
10952 case $cc_basename in
10954 lt_prog_compiler_pic_CXX
='-fPIC'
10961 case $cc_basename in
10963 # Sun C++ 4.2, 5.x and Centerline C++
10964 lt_prog_compiler_pic_CXX
='-KPIC'
10965 lt_prog_compiler_static_CXX
='-Bstatic'
10966 lt_prog_compiler_wl_CXX
='-Qoption ld '
10969 # Green Hills C++ Compiler
10970 lt_prog_compiler_pic_CXX
='-PIC'
10977 case $cc_basename in
10980 lt_prog_compiler_pic_CXX
='-pic'
10981 lt_prog_compiler_static_CXX
='-Bstatic'
10985 lt_prog_compiler_pic_CXX
='-pic'
10992 case $cc_basename in
10994 # NonStop-UX NCC 3.20
10995 lt_prog_compiler_pic_CXX
='-KPIC'
11006 lt_prog_compiler_can_build_shared_CXX
=no
11011 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11012 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11015 # Check to make sure the PIC flag actually works.
11017 if test -n "$lt_prog_compiler_pic_CXX"; then
11018 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11019 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11020 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11023 lt_prog_compiler_pic_works_CXX
=no
11024 ac_outfile
=conftest.
$ac_objext
11025 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11026 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11027 # Insert the option either (1) after the last *FLAGS variable, or
11028 # (2) before a word containing "conftest.", or (3) at the end.
11029 # Note that $ac_compile itself does not contain backslashes and begins
11030 # with a dollar sign (not a hyphen), so the echo should work correctly.
11031 # The option is referenced via a variable to avoid confusing sed.
11032 lt_compile
=`echo "$ac_compile" | $SED \
11033 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11034 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11035 -e 's:$: $lt_compiler_flag:'`
11036 (eval echo "\"\$as_me:11036: $lt_compile\"" >&5)
11037 (eval "$lt_compile" 2>conftest.err
)
11039 cat conftest.err
>&5
11040 echo "$as_me:11040: \$? = $ac_status" >&5
11041 if (exit $ac_status) && test -s "$ac_outfile"; then
11042 # The compiler can only warn and ignore the option if not recognized
11043 # So say no if there are warnings
11044 if test ! -s conftest.err
; then
11045 lt_prog_compiler_pic_works_CXX
=yes
11051 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11052 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11054 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11055 case $lt_prog_compiler_pic_CXX in
11057 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11060 lt_prog_compiler_pic_CXX
=
11061 lt_prog_compiler_can_build_shared_CXX
=no
11066 # For platforms which do not support PIC, -DPIC is meaningless:
11068 lt_prog_compiler_pic_CXX
=
11071 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11075 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11076 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11077 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11078 echo $ECHO_N "(cached) $ECHO_C" >&6
11080 lt_cv_prog_compiler_c_o_CXX
=no
11081 $rm -r conftest
2>/dev
/null
11085 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11087 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
11088 # that will create temporary files in the current directory regardless of
11089 # the output directory. Thus, making CWD read-only will cause this test
11090 # to fail, enabling locking or at least warning the user not to do parallel
11094 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11095 # Insert the option either (1) after the last *FLAGS variable, or
11096 # (2) before a word containing "conftest.", or (3) at the end.
11097 # Note that $ac_compile itself does not contain backslashes and begins
11098 # with a dollar sign (not a hyphen), so the echo should work correctly.
11099 lt_compile
=`echo "$ac_compile" | $SED \
11100 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11102 -e 's:$: $lt_compiler_flag:'`
11103 (eval echo "\"\$as_me:11103: $lt_compile\"" >&5)
11104 (eval "$lt_compile" 2>out
/conftest.err
)
11106 cat out
/conftest.err
>&5
11107 echo "$as_me:11107: \$? = $ac_status" >&5
11108 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11110 # The compiler can only warn and ignore the option if not recognized
11111 # So say no if there are warnings
11112 if test ! -s out
/conftest.err
; then
11113 lt_cv_prog_compiler_c_o_CXX
=yes
11117 $rm conftest
* out
/*
11124 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11125 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
11128 hard_links
="nottested"
11129 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11130 # do not overwrite the value of need_locks provided by the user
11131 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11132 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11135 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11137 ln conftest.a conftest.b
2>&5 || hard_links
=no
11138 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11139 echo "$as_me:$LINENO: result: $hard_links" >&5
11140 echo "${ECHO_T}$hard_links" >&6
11141 if test "$hard_links" = no
; then
11142 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11143 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11150 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11151 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11153 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11156 # If we're using GNU nm, then we don't want the "-C" option.
11157 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11158 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11159 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'
11161 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'
11165 export_symbols_cmds_CXX
="$ltdll_cmds"
11168 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11171 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11175 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11176 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11177 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11179 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11180 if test "$GCC" = yes; then
11181 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11185 # Do we need to explicitly link libc?
11187 case "x$archive_cmds_need_lc_CXX" in
11189 # Assume -lc should be added
11190 archive_cmds_need_lc_CXX
=yes
11192 if test "$enable_shared" = yes && test "$GCC" = yes; then
11193 case $archive_cmds_CXX in
11195 # FIXME: we may have to deal with multi-command sequences.
11198 # Test whether the compiler implicitly links with -lc since on some
11199 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11200 # to ld, don't add -lc before -lgcc.
11201 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11202 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11204 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11207 (eval $ac_compile) 2>&5
11209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11210 (exit $ac_status); } 2>conftest.err
; then
11213 libobjs
=conftest.
$ac_objext
11215 wl
=$lt_prog_compiler_wl_CXX
11221 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11222 allow_undefined_flag_CXX
=
11223 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11224 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); }
11229 archive_cmds_need_lc_CXX
=no
11231 archive_cmds_need_lc_CXX
=yes
11233 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11235 cat conftest.err
1>&5
11238 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11239 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11246 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11247 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11248 hardcode_action_CXX
=
11249 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11250 test -n "$runpath_var CXX" || \
11251 test "X$hardcode_automatic_CXX"="Xyes" ; then
11253 # We can hardcode non-existant directories.
11254 if test "$hardcode_direct_CXX" != no
&&
11255 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11256 # have to relink, otherwise we might link with an installed library
11257 # when we should be linking with a yet-to-be-installed one
11258 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11259 test "$hardcode_minus_L_CXX" != no
; then
11260 # Linking always hardcodes the temporary library directory.
11261 hardcode_action_CXX
=relink
11263 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11264 hardcode_action_CXX
=immediate
11267 # We cannot hardcode anything, or else we can only hardcode existing
11269 hardcode_action_CXX
=unsupported
11271 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11272 echo "${ECHO_T}$hardcode_action_CXX" >&6
11274 if test "$hardcode_action_CXX" = relink
; then
11275 # Fast installation is not supported
11276 enable_fast_install
=no
11277 elif test "$shlibpath_overrides_runpath" = yes ||
11278 test "$enable_shared" = no
; then
11279 # Fast installation is not necessary
11280 enable_fast_install
=needless
11285 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11286 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11287 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11288 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11289 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11290 echo "$as_me:$LINENO: result: yes" >&5
11291 echo "${ECHO_T}yes" >&6
11293 # FIXME - insert some real tests, host_os isn't really good enough
11296 if test -n "$STRIP" ; then
11297 striplib
="$STRIP -x"
11298 echo "$as_me:$LINENO: result: yes" >&5
11299 echo "${ECHO_T}yes" >&6
11301 echo "$as_me:$LINENO: result: no" >&5
11302 echo "${ECHO_T}no" >&6
11306 echo "$as_me:$LINENO: result: no" >&5
11307 echo "${ECHO_T}no" >&6
11312 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11313 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11314 library_names_spec
=
11315 libname_spec
='lib$name'
11319 postuninstall_cmds
=
11323 shlibpath_overrides_runpath
=unknown
11325 dynamic_linker
="$host_os ld.so"
11326 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11327 if test "$GCC" = yes; then
11328 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11329 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
11330 # if the path contains ";" then we assume it to be the separator
11331 # otherwise default to the standard path separator (i.e. ":") - it is
11332 # assumed that no part of a normal pathname contains ";" but that should
11333 # okay in the real world where ";" in dirpaths is itself problematic.
11334 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11336 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11339 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11341 need_lib_prefix
=unknown
11342 hardcode_into_libs
=no
11344 # when you set need_version to no, make sure it does not cause -set_version
11345 # flags to be left without arguments
11346 need_version
=unknown
11351 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11352 shlibpath_var
=LIBPATH
11354 # AIX 3 has no versioning support, so we append a major version to the name.
11355 soname_spec
='${libname}${release}${shared_ext}$major'
11362 hardcode_into_libs
=yes
11363 if test "$host_cpu" = ia64
; then
11364 # AIX 5 supports IA64
11365 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11366 shlibpath_var
=LD_LIBRARY_PATH
11368 # With GCC up to 2.95.x, collect2 would create an import file
11369 # for dependence libraries. The import file would start with
11370 # the line `#! .'. This would cause the generated library to
11371 # depend on `.', always an invalid library. This was fixed in
11372 # development snapshots of GCC prior to 3.0.
11374 aix4 | aix4.
[01] | aix4.
[01].
*)
11375 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11377 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
11380 can_build_shared
=no
11384 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11385 # soname into executable. Probably we can add versioning support to
11386 # collect2, so additional links can be useful in future.
11387 if test "$aix_use_runtimelinking" = yes; then
11388 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11389 # instead of lib<name>.a to let people know that these are not
11390 # typical AIX shared libraries.
11391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393 # We preserve .a as extension for shared libraries through AIX4.2
11394 # and later when we are not doing run time linking.
11395 library_names_spec
='${libname}${release}.a $libname.a'
11396 soname_spec
='${libname}${release}${shared_ext}$major'
11398 shlibpath_var
=LIBPATH
11403 library_names_spec
='$libname.ixlibrary $libname.a'
11404 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11405 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'
11409 library_names_spec
='${libname}${shared_ext}'
11410 dynamic_linker
="$host_os ld.so"
11411 shlibpath_var
=LIBRARY_PATH
11417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11418 soname_spec
='${libname}${release}${shared_ext}$major'
11419 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11420 shlibpath_var
=LD_LIBRARY_PATH
11421 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11422 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11423 # the default ld.so.conf also contains /usr/contrib/lib and
11424 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11425 # libtool to hard-code these into programs
11428 cygwin
* | mingw
* | pw32
*)
11429 version_type
=windows
11434 case $GCC,$host_os in
11435 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
11436 library_names_spec
='$libname.dll.a'
11437 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11438 postinstall_cmds
='base_file=`basename \${file}`~
11439 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11440 dldir=$destdir/`dirname \$dlpath`~
11441 test -d \$dldir || mkdir -p \$dldir~
11442 $install_prog $dir/$dlname \$dldir/$dlname'
11443 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11444 dlpath=$dir/\$dldll~
11446 shlibpath_overrides_runpath
=yes
11450 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11451 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11452 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
11455 # MinGW DLLs use traditional 'lib' prefix
11456 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11457 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11458 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
11459 # It is most probably a Windows format PATH printed by
11460 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11461 # path with ; separators, and with drive letters. We can handle the
11462 # drive letters (cygwin fileutils understands them), so leave them,
11463 # especially as we might pass files found there to a mingw objdump,
11464 # which wouldn't understand a cygwinified path. Ahh.
11465 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11467 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11471 # pw32 DLLs use 'pw' prefix rather than 'lib'
11472 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11478 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11481 dynamic_linker
='Win32 ld.exe'
11482 # FIXME: first we should search . and the directory the executable is in
11486 darwin
* | rhapsody
*)
11487 dynamic_linker
="$host_os dyld"
11488 version_type
=darwin
11491 # FIXME: Relying on posixy $() will cause problems for
11492 # cross-compilation, but unfortunately the echo tests do not
11493 # yet detect zsh echo's removal of \ escapes.
11494 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11495 soname_spec
='${libname}${release}${major}$shared_ext'
11496 shlibpath_overrides_runpath
=yes
11497 shlibpath_var
=DYLD_LIBRARY_PATH
11498 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
11499 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11500 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
11501 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"`
11503 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11511 soname_spec
='${libname}${release}${shared_ext}$major'
11512 shlibpath_var
=LD_LIBRARY_PATH
11520 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11521 version_type
=freebsd-
$objformat
11522 case $version_type in
11524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11529 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11533 shlibpath_var
=LD_LIBRARY_PATH
11536 shlibpath_overrides_runpath
=yes
11538 freebsd3.01
* | freebsdelf3.01
*)
11539 shlibpath_overrides_runpath
=yes
11540 hardcode_into_libs
=yes
11543 shlibpath_overrides_runpath
=no
11544 hardcode_into_libs
=yes
11553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11554 soname_spec
='${libname}${release}${shared_ext}$major'
11555 shlibpath_var
=LD_LIBRARY_PATH
11556 hardcode_into_libs
=yes
11559 hpux9
* | hpux10
* | hpux11
*)
11560 # Give a soname corresponding to the major version so that dld.sl refuses to
11561 # link against other versions.
11565 case "$host_cpu" in
11568 hardcode_into_libs
=yes
11569 dynamic_linker
="$host_os dld.so"
11570 shlibpath_var
=LD_LIBRARY_PATH
11571 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11573 soname_spec
='${libname}${release}${shared_ext}$major'
11574 if test "X$HPUX_IA64_MODE" = X32
; then
11575 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11577 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11579 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11583 hardcode_into_libs
=yes
11584 dynamic_linker
="$host_os dld.sl"
11585 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11586 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11588 soname_spec
='${libname}${release}${shared_ext}$major'
11589 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11590 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11594 dynamic_linker
="$host_os dld.sl"
11595 shlibpath_var
=SHLIB_PATH
11596 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11598 soname_spec
='${libname}${release}${shared_ext}$major'
11601 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11602 postinstall_cmds
='chmod 555 $lib'
11605 irix5
* | irix6
* | nonstopux
*)
11607 nonstopux
*) version_type
=nonstopux
;;
11609 if test "$lt_cv_prog_gnu_ld" = yes; then
11617 soname_spec
='${libname}${release}${shared_ext}$major'
11618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11620 irix5
* | nonstopux
*)
11621 libsuff
= shlibsuff
=
11624 case $LD in # libtool.m4 will add one of these switches to LD
11625 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11626 libsuff
= shlibsuff
= libmagic
=32-bit;;
11627 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11628 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11629 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11630 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11631 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11635 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11636 shlibpath_overrides_runpath
=no
11637 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11638 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11639 hardcode_into_libs
=yes
11642 # No shared lib support for Linux oldld, aout, or coff.
11643 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11647 # This must be Linux ELF.
11652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11653 soname_spec
='${libname}${release}${shared_ext}$major'
11654 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11655 shlibpath_var
=LD_LIBRARY_PATH
11656 shlibpath_overrides_runpath
=no
11657 # This implies no fast_install, which is unacceptable.
11658 # Some rework will be needed to allow for fast_install
11659 # before this can be enabled.
11660 hardcode_into_libs
=yes
11662 # We used to test for /lib/ld.so.1 and disable shared libraries on
11663 # powerpc, because MkLinux only supported shared libraries with the
11664 # GNU dynamic linker. Since this was broken with cross compilers,
11665 # most powerpc-linux boxes support dynamic linking these days and
11666 # people can always --disable-shared, the test was removed, and we
11667 # assume the GNU/Linux dynamic linker is in use.
11668 dynamic_linker
='GNU/Linux ld.so'
11675 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11677 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11678 dynamic_linker
='NetBSD (a.out) ld.so'
11680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11681 soname_spec
='${libname}${release}${shared_ext}$major'
11682 dynamic_linker
='NetBSD ld.elf_so'
11684 shlibpath_var
=LD_LIBRARY_PATH
11685 shlibpath_overrides_runpath
=yes
11686 hardcode_into_libs
=yes
11691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11692 shlibpath_var
=LD_LIBRARY_PATH
11693 shlibpath_overrides_runpath
=yes
11700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11701 soname_spec
='${libname}${release}${shared_ext}$major'
11702 shlibpath_var
=LD_LIBRARY_PATH
11703 shlibpath_overrides_runpath
=yes
11710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11711 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11712 shlibpath_var
=LD_LIBRARY_PATH
11713 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11715 openbsd2.
[89] | openbsd2.
[89].
*)
11716 shlibpath_overrides_runpath
=no
11719 shlibpath_overrides_runpath
=yes
11723 shlibpath_overrides_runpath
=yes
11728 libname_spec
='$name'
11731 library_names_spec
='$libname${shared_ext} $libname.a'
11732 dynamic_linker
='OS/2 ld.exe'
11733 shlibpath_var
=LIBPATH
11736 osf3
* | osf4
* | osf5
*)
11740 soname_spec
='${libname}${release}${shared_ext}$major'
11741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11742 shlibpath_var
=LD_LIBRARY_PATH
11743 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11744 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11749 soname_spec
='${libname}${release}${shared_ext}$major'
11750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11751 shlibpath_var
=LD_LIBRARY_PATH
11758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11759 soname_spec
='${libname}${release}${shared_ext}$major'
11760 shlibpath_var
=LD_LIBRARY_PATH
11761 shlibpath_overrides_runpath
=yes
11762 hardcode_into_libs
=yes
11763 # ldd complains unless libraries are executable
11764 postinstall_cmds
='chmod +x $lib'
11769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11770 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11771 shlibpath_var
=LD_LIBRARY_PATH
11772 shlibpath_overrides_runpath
=yes
11773 if test "$with_gnu_ld" = yes; then
11779 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11782 soname_spec
='${libname}${release}${shared_ext}$major'
11783 shlibpath_var
=LD_LIBRARY_PATH
11784 case $host_vendor in
11786 shlibpath_overrides_runpath
=no
11788 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11789 runpath_var
=LD_RUN_PATH
11797 shlibpath_overrides_runpath
=no
11798 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11804 if test -d /usr
/nec
;then
11806 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11807 soname_spec
='$libname${shared_ext}.$major'
11808 shlibpath_var
=LD_LIBRARY_PATH
11814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11815 soname_spec
='${libname}${release}${shared_ext}$major'
11816 shlibpath_var
=LD_LIBRARY_PATH
11823 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11824 echo "${ECHO_T}$dynamic_linker" >&6
11825 test "$dynamic_linker" = no
&& can_build_shared
=no
11827 if test "x$enable_dlopen" != xyes
; then
11828 enable_dlopen
=unknown
11829 enable_dlopen_self
=unknown
11830 enable_dlopen_self_static
=unknown
11837 lt_cv_dlopen
="load_add_on"
11839 lt_cv_dlopen_self
=yes
11843 lt_cv_dlopen
="LoadLibrary"
11848 lt_cv_dlopen
="dlopen"
11853 # if libdl is installed we need to link against it
11854 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11855 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11856 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11857 echo $ECHO_N "(cached) $ECHO_C" >&6
11859 ac_check_lib_save_LIBS
=$LIBS
11861 cat >conftest.
$ac_ext <<_ACEOF
11862 #line $LINENO "configure"
11865 cat confdefs.h
>>conftest.
$ac_ext
11866 cat >>conftest.
$ac_ext <<_ACEOF
11867 /* end confdefs.h. */
11869 /* Override any gcc2 internal prototype to avoid an error. */
11873 /* We use char because int might match the return type of a gcc2
11874 builtin and then its argument prototype would still apply. */
11884 rm -f conftest.
$ac_objext conftest
$ac_exeext
11885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11886 (eval $ac_link) 2>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); } &&
11890 { ac_try
='test -s conftest$ac_exeext'
11891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; }; then
11896 ac_cv_lib_dl_dlopen
=yes
11898 echo "$as_me: failed program was:" >&5
11899 sed 's/^/| /' conftest.
$ac_ext >&5
11901 ac_cv_lib_dl_dlopen
=no
11903 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11904 LIBS
=$ac_check_lib_save_LIBS
11906 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11907 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11908 if test $ac_cv_lib_dl_dlopen = yes; then
11909 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11912 lt_cv_dlopen
="dyld"
11914 lt_cv_dlopen_self
=yes
11921 echo "$as_me:$LINENO: checking for shl_load" >&5
11922 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11923 if test "${ac_cv_func_shl_load+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 cat >conftest.
$ac_ext <<_ACEOF
11927 #line $LINENO "configure"
11930 cat confdefs.h
>>conftest.
$ac_ext
11931 cat >>conftest.
$ac_ext <<_ACEOF
11932 /* end confdefs.h. */
11933 /* System header to define __stub macros and hopefully few prototypes,
11934 which can conflict with char shl_load (); below.
11935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11936 <limits.h> exists even on freestanding compilers. */
11938 # include <limits.h>
11940 # include <assert.h>
11942 /* Override any gcc2 internal prototype to avoid an error. */
11947 /* We use char because int might match the return type of a gcc2
11948 builtin and then its argument prototype would still apply. */
11950 /* The GNU C library defines this for functions which it implements
11951 to always fail with ENOSYS. Some functions are actually named
11952 something starting with __ and the normal name is an alias. */
11953 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11956 char (*f) () = shl_load;
11965 return f != shl_load;
11970 rm -f conftest.
$ac_objext conftest
$ac_exeext
11971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11972 (eval $ac_link) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } &&
11976 { ac_try
='test -s conftest$ac_exeext'
11977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11978 (eval $ac_try) 2>&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); }; }; then
11982 ac_cv_func_shl_load
=yes
11984 echo "$as_me: failed program was:" >&5
11985 sed 's/^/| /' conftest.
$ac_ext >&5
11987 ac_cv_func_shl_load
=no
11989 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11991 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11992 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11993 if test $ac_cv_func_shl_load = yes; then
11994 lt_cv_dlopen
="shl_load"
11996 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11997 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11998 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11999 echo $ECHO_N "(cached) $ECHO_C" >&6
12001 ac_check_lib_save_LIBS
=$LIBS
12003 cat >conftest.
$ac_ext <<_ACEOF
12004 #line $LINENO "configure"
12007 cat confdefs.h
>>conftest.
$ac_ext
12008 cat >>conftest.
$ac_ext <<_ACEOF
12009 /* end confdefs.h. */
12011 /* Override any gcc2 internal prototype to avoid an error. */
12015 /* We use char because int might match the return type of a gcc2
12016 builtin and then its argument prototype would still apply. */
12026 rm -f conftest.
$ac_objext conftest
$ac_exeext
12027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12028 (eval $ac_link) 2>&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); } &&
12032 { ac_try
='test -s conftest$ac_exeext'
12033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12034 (eval $ac_try) 2>&5
12036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037 (exit $ac_status); }; }; then
12038 ac_cv_lib_dld_shl_load
=yes
12040 echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.
$ac_ext >&5
12043 ac_cv_lib_dld_shl_load
=no
12045 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12046 LIBS
=$ac_check_lib_save_LIBS
12048 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12049 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12050 if test $ac_cv_lib_dld_shl_load = yes; then
12051 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12053 echo "$as_me:$LINENO: checking for dlopen" >&5
12054 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12055 if test "${ac_cv_func_dlopen+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12058 cat >conftest.
$ac_ext <<_ACEOF
12059 #line $LINENO "configure"
12062 cat confdefs.h
>>conftest.
$ac_ext
12063 cat >>conftest.
$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12065 /* System header to define __stub macros and hopefully few prototypes,
12066 which can conflict with char dlopen (); below.
12067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12068 <limits.h> exists even on freestanding compilers. */
12070 # include <limits.h>
12072 # include <assert.h>
12074 /* Override any gcc2 internal prototype to avoid an error. */
12079 /* We use char because int might match the return type of a gcc2
12080 builtin and then its argument prototype would still apply. */
12082 /* The GNU C library defines this for functions which it implements
12083 to always fail with ENOSYS. Some functions are actually named
12084 something starting with __ and the normal name is an alias. */
12085 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12088 char (*f) () = dlopen;
12097 return f != dlopen;
12102 rm -f conftest.
$ac_objext conftest
$ac_exeext
12103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12104 (eval $ac_link) 2>&5
12106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107 (exit $ac_status); } &&
12108 { ac_try
='test -s conftest$ac_exeext'
12109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12110 (eval $ac_try) 2>&5
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); }; }; then
12114 ac_cv_func_dlopen
=yes
12116 echo "$as_me: failed program was:" >&5
12117 sed 's/^/| /' conftest.
$ac_ext >&5
12119 ac_cv_func_dlopen
=no
12121 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12123 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12124 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12125 if test $ac_cv_func_dlopen = yes; then
12126 lt_cv_dlopen
="dlopen"
12128 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12129 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12130 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12131 echo $ECHO_N "(cached) $ECHO_C" >&6
12133 ac_check_lib_save_LIBS
=$LIBS
12135 cat >conftest.
$ac_ext <<_ACEOF
12136 #line $LINENO "configure"
12139 cat confdefs.h
>>conftest.
$ac_ext
12140 cat >>conftest.
$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12143 /* Override any gcc2 internal prototype to avoid an error. */
12147 /* We use char because int might match the return type of a gcc2
12148 builtin and then its argument prototype would still apply. */
12158 rm -f conftest.
$ac_objext conftest
$ac_exeext
12159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12160 (eval $ac_link) 2>&5
12162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12163 (exit $ac_status); } &&
12164 { ac_try
='test -s conftest$ac_exeext'
12165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12166 (eval $ac_try) 2>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); }; }; then
12170 ac_cv_lib_dl_dlopen
=yes
12172 echo "$as_me: failed program was:" >&5
12173 sed 's/^/| /' conftest.
$ac_ext >&5
12175 ac_cv_lib_dl_dlopen
=no
12177 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12178 LIBS
=$ac_check_lib_save_LIBS
12180 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12181 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12182 if test $ac_cv_lib_dl_dlopen = yes; then
12183 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12185 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12186 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12187 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 ac_check_lib_save_LIBS
=$LIBS
12191 LIBS
="-lsvld $LIBS"
12192 cat >conftest.
$ac_ext <<_ACEOF
12193 #line $LINENO "configure"
12196 cat confdefs.h
>>conftest.
$ac_ext
12197 cat >>conftest.
$ac_ext <<_ACEOF
12198 /* end confdefs.h. */
12200 /* Override any gcc2 internal prototype to avoid an error. */
12204 /* We use char because int might match the return type of a gcc2
12205 builtin and then its argument prototype would still apply. */
12215 rm -f conftest.
$ac_objext conftest
$ac_exeext
12216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12217 (eval $ac_link) 2>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); } &&
12221 { ac_try
='test -s conftest$ac_exeext'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; }; then
12227 ac_cv_lib_svld_dlopen
=yes
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.
$ac_ext >&5
12232 ac_cv_lib_svld_dlopen
=no
12234 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12235 LIBS
=$ac_check_lib_save_LIBS
12237 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12238 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12239 if test $ac_cv_lib_svld_dlopen = yes; then
12240 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12242 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12243 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12244 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12245 echo $ECHO_N "(cached) $ECHO_C" >&6
12247 ac_check_lib_save_LIBS
=$LIBS
12249 cat >conftest.
$ac_ext <<_ACEOF
12250 #line $LINENO "configure"
12253 cat confdefs.h
>>conftest.
$ac_ext
12254 cat >>conftest.
$ac_ext <<_ACEOF
12255 /* end confdefs.h. */
12257 /* Override any gcc2 internal prototype to avoid an error. */
12261 /* We use char because int might match the return type of a gcc2
12262 builtin and then its argument prototype would still apply. */
12272 rm -f conftest.
$ac_objext conftest
$ac_exeext
12273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12274 (eval $ac_link) 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } &&
12278 { ac_try
='test -s conftest$ac_exeext'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 (eval $ac_try) 2>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; }; then
12284 ac_cv_lib_dld_dld_link
=yes
12286 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.
$ac_ext >&5
12289 ac_cv_lib_dld_dld_link
=no
12291 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12292 LIBS
=$ac_check_lib_save_LIBS
12294 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12295 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12296 if test $ac_cv_lib_dld_dld_link = yes; then
12297 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12318 if test "x$lt_cv_dlopen" != xno
; then
12324 case $lt_cv_dlopen in
12326 save_CPPFLAGS
="$CPPFLAGS"
12327 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12329 save_LDFLAGS
="$LDFLAGS"
12330 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12333 LIBS
="$lt_cv_dlopen_libs $LIBS"
12335 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12336 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12337 if test "${lt_cv_dlopen_self+set}" = set; then
12338 echo $ECHO_N "(cached) $ECHO_C" >&6
12340 if test "$cross_compiling" = yes; then :
12341 lt_cv_dlopen_self
=cross
12343 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12344 lt_status
=$lt_dlunknown
12345 cat > conftest.
$ac_ext <<EOF
12346 #line 12346 "configure"
12347 #include "confdefs.h"
12356 # define LT_DLGLOBAL RTLD_GLOBAL
12359 # define LT_DLGLOBAL DL_GLOBAL
12361 # define LT_DLGLOBAL 0
12365 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12366 find out it does not work in some platform. */
12367 #ifndef LT_DLLAZY_OR_NOW
12369 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12372 # define LT_DLLAZY_OR_NOW DL_LAZY
12375 # define LT_DLLAZY_OR_NOW RTLD_NOW
12378 # define LT_DLLAZY_OR_NOW DL_NOW
12380 # define LT_DLLAZY_OR_NOW 0
12388 extern "C" void exit (int);
12391 void fnord() { int i=42;}
12394 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12395 int status = $lt_dlunknown;
12399 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12400 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12401 /* dlclose (self); */
12407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12408 (eval $ac_link) 2>&5
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12412 (.
/conftest
; exit; ) 2>/dev
/null
12414 case x
$lt_status in
12415 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12416 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12417 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
12420 # compilation failed
12421 lt_cv_dlopen_self
=no
12428 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12429 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12431 if test "x$lt_cv_dlopen_self" = xyes
; then
12432 LDFLAGS
="$LDFLAGS $link_static_flag"
12433 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12434 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12435 if test "${lt_cv_dlopen_self_static+set}" = set; then
12436 echo $ECHO_N "(cached) $ECHO_C" >&6
12438 if test "$cross_compiling" = yes; then :
12439 lt_cv_dlopen_self_static
=cross
12441 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12442 lt_status
=$lt_dlunknown
12443 cat > conftest.
$ac_ext <<EOF
12444 #line 12444 "configure"
12445 #include "confdefs.h"
12454 # define LT_DLGLOBAL RTLD_GLOBAL
12457 # define LT_DLGLOBAL DL_GLOBAL
12459 # define LT_DLGLOBAL 0
12463 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12464 find out it does not work in some platform. */
12465 #ifndef LT_DLLAZY_OR_NOW
12467 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12470 # define LT_DLLAZY_OR_NOW DL_LAZY
12473 # define LT_DLLAZY_OR_NOW RTLD_NOW
12476 # define LT_DLLAZY_OR_NOW DL_NOW
12478 # define LT_DLLAZY_OR_NOW 0
12486 extern "C" void exit (int);
12489 void fnord() { int i=42;}
12492 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12493 int status = $lt_dlunknown;
12497 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12498 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12499 /* dlclose (self); */
12505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12506 (eval $ac_link) 2>&5
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12510 (.
/conftest
; exit; ) 2>/dev
/null
12512 case x
$lt_status in
12513 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12514 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12515 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
12518 # compilation failed
12519 lt_cv_dlopen_self_static
=no
12526 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12527 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12530 CPPFLAGS
="$save_CPPFLAGS"
12531 LDFLAGS
="$save_LDFLAGS"
12536 case $lt_cv_dlopen_self in
12537 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12538 *) enable_dlopen_self
=unknown
;;
12541 case $lt_cv_dlopen_self_static in
12542 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12543 *) enable_dlopen_self_static
=unknown
;;
12548 # The else clause should only fire when bootstrapping the
12549 # libtool distribution, otherwise you forgot to ship ltmain.sh
12550 # with your package, and you will get complaints that there are
12551 # no rules to generate ltmain.sh.
12552 if test -f "$ltmain"; then
12553 # See if we are running on zsh, and set the options which allow our commands through
12554 # without removal of \ escapes.
12555 if test -n "${ZSH_VERSION+set}" ; then
12556 setopt NO_GLOB_SUBST
12558 # Now quote all the things that may contain metacharacters while being
12559 # careful not to overquote the AC_SUBSTed values. We take copies of the
12560 # variables and quote the copies for generation of the libtool script.
12561 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12562 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12563 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12564 deplibs_check_method reload_flag reload_cmds need_locks \
12565 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12566 lt_cv_sys_global_symbol_to_c_name_address \
12567 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12568 old_postinstall_cmds old_postuninstall_cmds \
12572 lt_prog_compiler_wl_CXX \
12573 lt_prog_compiler_pic_CXX \
12574 lt_prog_compiler_static_CXX \
12575 lt_prog_compiler_no_builtin_flag_CXX \
12576 export_dynamic_flag_spec_CXX \
12577 thread_safe_flag_spec_CXX \
12578 whole_archive_flag_spec_CXX \
12579 enable_shared_with_static_runtimes_CXX \
12580 old_archive_cmds_CXX \
12581 old_archive_from_new_cmds_CXX \
12582 predep_objects_CXX \
12583 postdep_objects_CXX \
12586 compiler_lib_search_path_CXX \
12588 archive_expsym_cmds_CXX \
12589 postinstall_cmds_CXX \
12590 postuninstall_cmds_CXX \
12591 old_archive_from_expsyms_cmds_CXX \
12592 allow_undefined_flag_CXX \
12593 no_undefined_flag_CXX \
12594 export_symbols_cmds_CXX \
12595 hardcode_libdir_flag_spec_CXX \
12596 hardcode_libdir_flag_spec_ld_CXX \
12597 hardcode_libdir_separator_CXX \
12598 hardcode_automatic_CXX \
12600 module_expsym_cmds_CXX \
12601 lt_cv_prog_compiler_c_o_CXX \
12602 exclude_expsyms_CXX \
12603 include_expsyms_CXX
; do
12606 old_archive_cmds_CXX | \
12607 old_archive_from_new_cmds_CXX | \
12608 archive_cmds_CXX | \
12609 archive_expsym_cmds_CXX | \
12610 module_cmds_CXX | \
12611 module_expsym_cmds_CXX | \
12612 old_archive_from_expsyms_cmds_CXX | \
12613 export_symbols_cmds_CXX | \
12614 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12615 postinstall_cmds | postuninstall_cmds | \
12616 old_postinstall_cmds | old_postuninstall_cmds | \
12617 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12618 # Double-quote double-evaled strings.
12619 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12622 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12628 *'\$0 --fallback-echo"')
12629 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12635 cat <<__EOF__ >> "$cfgfile"
12636 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12638 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12640 # Shell to use when invoking shell scripts.
12643 # Whether or not to build shared libraries.
12644 build_libtool_libs=$enable_shared
12646 # Whether or not to build static libraries.
12647 build_old_libs=$enable_static
12649 # Whether or not to add -lc for building shared libraries.
12650 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12652 # Whether or not to disallow shared libs when runtime libs are static
12653 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12655 # Whether or not to optimize for fast installation.
12656 fast_install=$enable_fast_install
12659 host_alias=$host_alias
12662 # An echo program that does not interpret backslashes.
12667 AR_FLAGS=$lt_AR_FLAGS
12672 # A language-specific compiler.
12673 CC=$lt_compiler_CXX
12675 # Is the compiler the GNU C compiler?
12681 # The linker used to build libraries.
12684 # Whether we need hard or soft links.
12687 # A BSD-compatible nm program.
12690 # A symbol stripping program
12693 # Used to examine libraries when file_magic_cmd begins "file"
12694 MAGIC_CMD=$MAGIC_CMD
12696 # Used on cygwin: DLL creation program.
12699 # Used on cygwin: object dumper.
12702 # Used on cygwin: assembler.
12705 # The name of the directory that contains temporary libtool files.
12708 # How to create reloadable object files.
12709 reload_flag=$lt_reload_flag
12710 reload_cmds=$lt_reload_cmds
12712 # How to pass a linker flag through the compiler.
12713 wl=$lt_lt_prog_compiler_wl_CXX
12715 # Object file suffix (normally "o").
12716 objext="$ac_objext"
12718 # Old archive suffix (normally "a").
12721 # Shared library suffix (normally ".so").
12724 # Executable file suffix (normally "").
12727 # Additional compiler flags for building library objects.
12728 pic_flag=$lt_lt_prog_compiler_pic_CXX
12731 # What is the maximum length of a command?
12732 max_cmd_len=$lt_cv_sys_max_cmd_len
12734 # Does compiler simultaneously support -c and -o options?
12735 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12737 # Must we lock files when doing compilation ?
12738 need_locks=$lt_need_locks
12740 # Do we need the lib prefix for modules?
12741 need_lib_prefix=$need_lib_prefix
12743 # Do we need a version for libraries?
12744 need_version=$need_version
12746 # Whether dlopen is supported.
12747 dlopen_support=$enable_dlopen
12749 # Whether dlopen of programs is supported.
12750 dlopen_self=$enable_dlopen_self
12752 # Whether dlopen of statically linked programs is supported.
12753 dlopen_self_static=$enable_dlopen_self_static
12755 # Compiler flag to prevent dynamic linking.
12756 link_static_flag=$lt_lt_prog_compiler_static_CXX
12758 # Compiler flag to turn off builtin functions.
12759 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12761 # Compiler flag to allow reflexive dlopens.
12762 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12764 # Compiler flag to generate shared objects directly from archives.
12765 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12767 # Compiler flag to generate thread-safe objects.
12768 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12770 # Library versioning type.
12771 version_type=$version_type
12773 # Format of library name prefix.
12774 libname_spec=$lt_libname_spec
12776 # List of archive names. First name is the real one, the rest are links.
12777 # The last name is the one that the linker finds with -lNAME.
12778 library_names_spec=$lt_library_names_spec
12780 # The coded name of the library, if different from the real name.
12781 soname_spec=$lt_soname_spec
12783 # Commands used to build and install an old-style archive.
12785 old_archive_cmds=$lt_old_archive_cmds_CXX
12786 old_postinstall_cmds=$lt_old_postinstall_cmds
12787 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12789 # Create an old-style archive from a shared archive.
12790 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12792 # Create a temporary old-style archive to link instead of a shared archive.
12793 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12795 # Commands used to build and install a shared archive.
12796 archive_cmds=$lt_archive_cmds_CXX
12797 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12798 postinstall_cmds=$lt_postinstall_cmds
12799 postuninstall_cmds=$lt_postuninstall_cmds
12801 # Commands used to build a loadable module (assumed same as above if empty)
12802 module_cmds=$lt_module_cmds_CXX
12803 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12805 # Commands to strip libraries.
12806 old_striplib=$lt_old_striplib
12807 striplib=$lt_striplib
12809 # Dependencies to place before the objects being linked to create a
12811 predep_objects=$lt_predep_objects_CXX
12813 # Dependencies to place after the objects being linked to create a
12815 postdep_objects=$lt_postdep_objects_CXX
12817 # Dependencies to place before the objects being linked to create a
12819 predeps=$lt_predeps_CXX
12821 # Dependencies to place after the objects being linked to create a
12823 postdeps=$lt_postdeps_CXX
12825 # The library search path used internally by the compiler when linking
12826 # a shared library.
12827 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12829 # Method to check whether dependent libraries are shared objects.
12830 deplibs_check_method=$lt_deplibs_check_method
12832 # Command to use when deplibs_check_method == file_magic.
12833 file_magic_cmd=$lt_file_magic_cmd
12835 # Flag that allows shared libraries with undefined symbols to be built.
12836 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12838 # Flag that forces no undefined symbols.
12839 no_undefined_flag=$lt_no_undefined_flag_CXX
12841 # Commands used to finish a libtool library installation in a directory.
12842 finish_cmds=$lt_finish_cmds
12844 # Same as above, but a single script fragment to be evaled but not shown.
12845 finish_eval=$lt_finish_eval
12847 # Take the output of nm and produce a listing of raw symbols and C names.
12848 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12850 # Transform the output of nm in a proper C declaration
12851 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12853 # Transform the output of nm in a C name address pair
12854 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12856 # This is the shared library runtime path variable.
12857 runpath_var=$runpath_var
12859 # This is the shared library path variable.
12860 shlibpath_var=$shlibpath_var
12862 # Is shlibpath searched before the hard-coded library search path?
12863 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12865 # How to hardcode a shared library path into an executable.
12866 hardcode_action=$hardcode_action_CXX
12868 # Whether we should hardcode library paths into libraries.
12869 hardcode_into_libs=$hardcode_into_libs
12871 # Flag to hardcode \$libdir into a binary during linking.
12872 # This must work even if \$libdir does not exist.
12873 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12875 # If ld is used when linking, flag to hardcode \$libdir into
12876 # a binary during linking. This must work even if \$libdir does
12878 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12880 # Whether we need a single -rpath flag with a separated argument.
12881 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12883 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12884 # resulting binary.
12885 hardcode_direct=$hardcode_direct_CXX
12887 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12888 # resulting binary.
12889 hardcode_minus_L=$hardcode_minus_L_CXX
12891 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12892 # the resulting binary.
12893 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12895 # Set to yes if building a shared library automatically hardcodes DIR into the library
12896 # and all subsequent libraries and executables linked against it.
12897 hardcode_automatic=$hardcode_automatic_CXX
12899 # Variables whose values should be saved in libtool wrapper scripts and
12900 # restored at relink time.
12901 variables_saved_for_relink="$variables_saved_for_relink"
12903 # Whether libtool must link a program against all its dependency libraries.
12904 link_all_deplibs=$link_all_deplibs_CXX
12906 # Compile-time system search path for libraries
12907 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12909 # Run-time system search path for libraries
12910 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12912 # Fix the shell variable \$srcfile for the compiler.
12913 fix_srcfile_path="$fix_srcfile_path_CXX"
12915 # Set to yes if exported symbols are required.
12916 always_export_symbols=$always_export_symbols_CXX
12918 # The commands to list exported symbols.
12919 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12921 # The commands to extract the exported symbol list from a shared archive.
12922 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12924 # Symbols that should not be listed in the preloaded symbols.
12925 exclude_expsyms=$lt_exclude_expsyms_CXX
12927 # Symbols that must always be exported.
12928 include_expsyms=$lt_include_expsyms_CXX
12930 # ### END LIBTOOL TAG CONFIG: $tagname
12936 # If there is no Makefile yet, we rely on a make rule to execute
12937 # `config.status --recheck' to rerun these tests and create the
12938 # libtool script then.
12939 test -f Makefile
&& make "$ltmain"
12944 ac_cpp
='$CPP $CPPFLAGS'
12945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12953 with_gnu_ldcxx
=$with_gnu_ld
12954 with_gnu_ld
=$lt_save_with_gnu_ld
12955 lt_cv_path_LDCXX
=$lt_cv_path_LD
12956 lt_cv_path_LD
=$lt_save_path_LD
12957 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
12958 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
12966 if test -n "$F77" && test "X$F77" != "Xno"; then
12969 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12970 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12971 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
12974 archive_cmds_need_lc_F77
=no
12975 allow_undefined_flag_F77
=
12976 always_export_symbols_F77
=no
12977 archive_expsym_cmds_F77
=
12978 export_dynamic_flag_spec_F77
=
12979 hardcode_direct_F77
=no
12980 hardcode_libdir_flag_spec_F77
=
12981 hardcode_libdir_flag_spec_ld_F77
=
12982 hardcode_libdir_separator_F77
=
12983 hardcode_minus_L_F77
=no
12984 hardcode_automatic_F77
=no
12986 module_expsym_cmds_F77
=
12987 link_all_deplibs_F77
=unknown
12988 old_archive_cmds_F77
=$old_archive_cmds
12989 no_undefined_flag_F77
=
12990 whole_archive_flag_spec_F77
=
12991 enable_shared_with_static_runtimes_F77
=no
12993 # Source file extension for f77 test sources.
12996 # Object file extension for compiled f77 test sources.
13000 # Code to be used in simple compile tests
13001 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13003 # Code to be used in simple link tests
13004 lt_simple_link_test_code
=" program t\n end\n"
13006 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13008 # If no C compiler was specified, use CC.
13011 # Allow CC to be a program name with arguments.
13015 # Allow CC to be a program name with arguments.
13020 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13022 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13023 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13024 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13025 echo "${ECHO_T}$can_build_shared" >&6
13027 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13028 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13029 test "$can_build_shared" = "no" && enable_shared
=no
13031 # On AIX, shared libraries and static libraries use the same namespace, and
13032 # are all built from PIC.
13035 test "$enable_shared" = yes && enable_static
=no
13036 if test -n "$RANLIB"; then
13037 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13038 postinstall_cmds
='$RANLIB $lib'
13042 test "$enable_shared" = yes && enable_static
=no
13045 echo "$as_me:$LINENO: result: $enable_shared" >&5
13046 echo "${ECHO_T}$enable_shared" >&6
13048 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13049 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13050 # Make sure either enable_shared or enable_static is yes.
13051 test "$enable_shared" = yes || enable_static
=yes
13052 echo "$as_me:$LINENO: result: $enable_static" >&5
13053 echo "${ECHO_T}$enable_static" >&6
13055 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13060 lt_prog_compiler_wl_F77
=
13061 lt_prog_compiler_pic_F77
=
13062 lt_prog_compiler_static_F77
=
13064 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13065 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13067 if test "$GCC" = yes; then
13068 lt_prog_compiler_wl_F77
='-Wl,'
13069 lt_prog_compiler_static_F77
='-static'
13073 # All AIX code is PIC.
13074 if test "$host_cpu" = ia64
; then
13075 # AIX 5 now supports IA64 processor
13076 lt_prog_compiler_static_F77
='-Bstatic'
13081 # FIXME: we need at least 68020 code to build shared libraries, but
13082 # adding the `-m68020' flag to GCC prevents building anything better,
13084 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13087 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13088 # PIC is the default for these OSes.
13091 mingw
* | pw32
* | os2
*)
13092 # This hack is so that the source file can tell whether it is being
13093 # built for inclusion in a dll (and should export symbols for example).
13094 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13097 darwin
* | rhapsody
*)
13098 # PIC is the default on this platform
13099 # Common symbols not allowed in MH_DYLIB files
13100 lt_prog_compiler_pic_F77
='-fno-common'
13104 # Just because we use GCC doesn't mean we suddenly get shared libraries
13105 # on systems that don't support them.
13106 lt_prog_compiler_can_build_shared_F77
=no
13111 if test -d /usr
/nec
; then
13112 lt_prog_compiler_pic_F77
=-Kconform_pic
13117 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13118 # not for PA HP-UX.
13119 case "$host_cpu" in
13124 lt_prog_compiler_pic_F77
='-fPIC'
13130 lt_prog_compiler_pic_F77
='-fPIC'
13134 # PORTME Check for flag to pass linker flags through the system compiler.
13137 lt_prog_compiler_wl_F77
='-Wl,'
13138 if test "$host_cpu" = ia64
; then
13139 # AIX 5 now supports IA64 processor
13140 lt_prog_compiler_static_F77
='-Bstatic'
13142 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13146 mingw
* | pw32
* | os2
*)
13147 # This hack is so that the source file can tell whether it is being
13148 # built for inclusion in a dll (and should export symbols for example).
13149 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13152 hpux9
* | hpux10
* | hpux11
*)
13153 lt_prog_compiler_wl_F77
='-Wl,'
13154 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13155 # not for PA HP-UX.
13156 case "$host_cpu" in
13161 lt_prog_compiler_pic_F77
='+Z'
13164 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13165 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13168 irix5
* | irix6
* | nonstopux
*)
13169 lt_prog_compiler_wl_F77
='-Wl,'
13170 # PIC (with -KPIC) is the default.
13171 lt_prog_compiler_static_F77
='-non_shared'
13175 lt_prog_compiler_pic_F77
='-KPIC'
13176 lt_prog_compiler_static_F77
='-Bstatic'
13182 lt_prog_compiler_wl_F77
='-Wl,'
13183 lt_prog_compiler_pic_F77
='-KPIC'
13184 lt_prog_compiler_static_F77
='-static'
13187 lt_prog_compiler_wl_F77
='-Wl,'
13188 # All Alpha code is PIC.
13189 lt_prog_compiler_static_F77
='-non_shared'
13194 osf3
* | osf4
* | osf5
*)
13195 lt_prog_compiler_wl_F77
='-Wl,'
13196 # All OSF/1 code is PIC.
13197 lt_prog_compiler_static_F77
='-non_shared'
13201 lt_prog_compiler_pic_F77
='-Kpic'
13202 lt_prog_compiler_static_F77
='-dn'
13206 lt_prog_compiler_wl_F77
='-Wl,'
13207 lt_prog_compiler_pic_F77
='-KPIC'
13208 lt_prog_compiler_static_F77
='-Bstatic'
13212 lt_prog_compiler_wl_F77
='-Qoption ld '
13213 lt_prog_compiler_pic_F77
='-PIC'
13214 lt_prog_compiler_static_F77
='-Bstatic'
13217 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13218 lt_prog_compiler_wl_F77
='-Wl,'
13219 lt_prog_compiler_pic_F77
='-KPIC'
13220 lt_prog_compiler_static_F77
='-Bstatic'
13224 if test -d /usr
/nec
;then
13225 lt_prog_compiler_pic_F77
='-Kconform_pic'
13226 lt_prog_compiler_static_F77
='-Bstatic'
13231 lt_prog_compiler_pic_F77
='-pic'
13232 lt_prog_compiler_static_F77
='-Bstatic'
13236 lt_prog_compiler_can_build_shared_F77
=no
13241 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13242 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13245 # Check to make sure the PIC flag actually works.
13247 if test -n "$lt_prog_compiler_pic_F77"; then
13248 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13249 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13250 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13251 echo $ECHO_N "(cached) $ECHO_C" >&6
13253 lt_prog_compiler_pic_works_F77
=no
13254 ac_outfile
=conftest.
$ac_objext
13255 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13256 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13257 # Insert the option either (1) after the last *FLAGS variable, or
13258 # (2) before a word containing "conftest.", or (3) at the end.
13259 # Note that $ac_compile itself does not contain backslashes and begins
13260 # with a dollar sign (not a hyphen), so the echo should work correctly.
13261 # The option is referenced via a variable to avoid confusing sed.
13262 lt_compile
=`echo "$ac_compile" | $SED \
13263 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13264 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13265 -e 's:$: $lt_compiler_flag:'`
13266 (eval echo "\"\$as_me:13266: $lt_compile\"" >&5)
13267 (eval "$lt_compile" 2>conftest.err
)
13269 cat conftest.err
>&5
13270 echo "$as_me:13270: \$? = $ac_status" >&5
13271 if (exit $ac_status) && test -s "$ac_outfile"; then
13272 # The compiler can only warn and ignore the option if not recognized
13273 # So say no if there are warnings
13274 if test ! -s conftest.err
; then
13275 lt_prog_compiler_pic_works_F77
=yes
13281 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13282 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13284 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13285 case $lt_prog_compiler_pic_F77 in
13287 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13290 lt_prog_compiler_pic_F77
=
13291 lt_prog_compiler_can_build_shared_F77
=no
13296 # For platforms which do not support PIC, -DPIC is meaningless:
13298 lt_prog_compiler_pic_F77
=
13301 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13305 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13306 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13307 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13308 echo $ECHO_N "(cached) $ECHO_C" >&6
13310 lt_cv_prog_compiler_c_o_F77
=no
13311 $rm -r conftest
2>/dev
/null
13315 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13317 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13318 # that will create temporary files in the current directory regardless of
13319 # the output directory. Thus, making CWD read-only will cause this test
13320 # to fail, enabling locking or at least warning the user not to do parallel
13324 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13325 # Insert the option either (1) after the last *FLAGS variable, or
13326 # (2) before a word containing "conftest.", or (3) at the end.
13327 # Note that $ac_compile itself does not contain backslashes and begins
13328 # with a dollar sign (not a hyphen), so the echo should work correctly.
13329 lt_compile
=`echo "$ac_compile" | $SED \
13330 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13331 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13332 -e 's:$: $lt_compiler_flag:'`
13333 (eval echo "\"\$as_me:13333: $lt_compile\"" >&5)
13334 (eval "$lt_compile" 2>out
/conftest.err
)
13336 cat out
/conftest.err
>&5
13337 echo "$as_me:13337: \$? = $ac_status" >&5
13338 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13340 # The compiler can only warn and ignore the option if not recognized
13341 # So say no if there are warnings
13342 if test ! -s out
/conftest.err
; then
13343 lt_cv_prog_compiler_c_o_F77
=yes
13347 $rm conftest
* out
/*
13354 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13355 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13358 hard_links
="nottested"
13359 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13360 # do not overwrite the value of need_locks provided by the user
13361 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13362 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13365 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13367 ln conftest.a conftest.b
2>&5 || hard_links
=no
13368 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13369 echo "$as_me:$LINENO: result: $hard_links" >&5
13370 echo "${ECHO_T}$hard_links" >&6
13371 if test "$hard_links" = no
; then
13372 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13373 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13380 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13381 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13384 allow_undefined_flag_F77
=
13385 enable_shared_with_static_runtimes_F77
=no
13387 archive_expsym_cmds_F77
=
13388 old_archive_From_new_cmds_F77
=
13389 old_archive_from_expsyms_cmds_F77
=
13390 export_dynamic_flag_spec_F77
=
13391 whole_archive_flag_spec_F77
=
13392 thread_safe_flag_spec_F77
=
13393 hardcode_libdir_flag_spec_F77
=
13394 hardcode_libdir_flag_spec_ld_F77
=
13395 hardcode_libdir_separator_F77
=
13396 hardcode_direct_F77
=no
13397 hardcode_minus_L_F77
=no
13398 hardcode_shlibpath_var_F77
=unsupported
13399 link_all_deplibs_F77
=unknown
13400 hardcode_automatic_F77
=no
13402 module_expsym_cmds_F77
=
13403 always_export_symbols_F77
=no
13404 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13405 # include_expsyms should be a list of space-separated symbols to be *always*
13406 # included in the symbol list
13407 include_expsyms_F77
=
13408 # exclude_expsyms can be an extended regexp of symbols to exclude
13409 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13410 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13411 # as well as any symbol that contains `d'.
13412 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13413 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13414 # platforms (ab)use it in PIC code, but their linkers get confused if
13415 # the symbol is explicitly referenced. Since portable code cannot
13416 # rely on this symbol name, it's probably fine to never include it in
13417 # preloaded symbol tables.
13418 extract_expsyms_cmds
=
13421 cygwin
* | mingw
* | pw32
*)
13422 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13423 # When not using gcc, we currently assume that we are using
13424 # Microsoft Visual C++.
13425 if test "$GCC" != yes; then
13435 if test "$with_gnu_ld" = yes; then
13436 # If archive_cmds runs LD, not CC, wlarc should be empty
13439 # See if GNU ld supports shared libraries.
13441 aix3
* | aix4
* | aix5
*)
13442 # On AIX/PPC, the GNU linker is very broken
13443 if test "$host_cpu" != ia64
; then
13447 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13448 *** to be unable to reliably create shared libraries on AIX.
13449 *** Therefore, libtool is disabling shared libraries support. If you
13450 *** really care for shared libraries, you may want to modify your PATH
13451 *** so that a non-GNU linker is found, and then restart.
13458 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13459 hardcode_libdir_flag_spec_F77
='-L$libdir'
13460 hardcode_minus_L_F77
=yes
13462 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13463 # that the semantics of dynamic libraries on AmigaOS, at least up
13464 # to version 4, is to share data among multiple programs linked
13465 # with the same dynamic library. Since this doesn't match the
13466 # behavior of shared libraries on other platforms, we can't use
13472 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13473 allow_undefined_flag_F77
=unsupported
13474 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13475 # support --undefined. This deserves some investigation. FIXME
13476 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13482 cygwin
* | mingw
* | pw32
*)
13483 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13484 # as there is no search path for DLLs.
13485 hardcode_libdir_flag_spec_F77
='-L$libdir'
13486 allow_undefined_flag_F77
=unsupported
13487 always_export_symbols_F77
=no
13488 enable_shared_with_static_runtimes_F77
=yes
13489 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13491 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13492 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13493 # If the export-symbols file already is a .def file (1st line
13494 # is EXPORTS), use it as is; otherwise, prepend...
13495 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13496 cp $export_symbols $output_objdir/$soname.def;
13498 echo EXPORTS > $output_objdir/$soname.def;
13499 cat $export_symbols >> $output_objdir/$soname.def;
13501 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13508 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13509 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13512 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13513 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13518 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13522 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13523 *** create shared libraries on Solaris systems. Therefore, libtool
13524 *** is disabling shared libraries support. We urge you to upgrade GNU
13525 *** binutils to release 2.9.1 or newer. Another option is to modify
13526 *** your PATH or compiler configuration so that the native linker is
13527 *** used, and then restart.
13530 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13531 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13532 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13539 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13541 hardcode_direct_F77
=yes
13542 hardcode_shlibpath_var_F77
=no
13546 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13547 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13548 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13555 if test "$ld_shlibs_F77" = yes; then
13556 runpath_var
=LD_RUN_PATH
13557 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13558 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13559 # ancient GNU ld didn't support --whole-archive et. al.
13560 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13561 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13563 whole_archive_flag_spec_F77
=
13567 # PORTME fill in a description of your system's linker (not GNU ld)
13570 allow_undefined_flag_F77
=unsupported
13571 always_export_symbols_F77
=yes
13572 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13573 # Note: this linker hardcodes the directories in LIBPATH if there
13574 # are no directories specified by -L.
13575 hardcode_minus_L_F77
=yes
13576 if test "$GCC" = yes && test -z "$link_static_flag"; then
13577 # Neither direct hardcoding nor static linking is supported with a
13579 hardcode_direct_F77
=unsupported
13584 if test "$host_cpu" = ia64
; then
13585 # On IA64, the linker does run time linking by default, so we don't
13586 # have to do anything special.
13587 aix_use_runtimelinking
=no
13588 exp_sym_flag
='-Bexport'
13591 # If we're using GNU nm, then we don't want the "-C" option.
13592 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13593 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13594 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'
13596 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'
13598 aix_use_runtimelinking
=no
13600 # Test if we are trying to use run time linking or normal
13601 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13602 # need to do runtime linking.
13603 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13604 for ld_flag
in $LDFLAGS; do
13605 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13606 aix_use_runtimelinking
=yes
13612 exp_sym_flag
='-bexport'
13613 no_entry_flag
='-bnoentry'
13616 # When large executables or shared objects are built, AIX ld can
13617 # have problems creating the table of contents. If linking a library
13618 # or program results in "error TOC overflow" add -mminimal-toc to
13619 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13620 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13622 archive_cmds_F77
=''
13623 hardcode_direct_F77
=yes
13624 hardcode_libdir_separator_F77
=':'
13625 link_all_deplibs_F77
=yes
13627 if test "$GCC" = yes; then
13628 case $host_os in aix4.012|aix4.012.
*)
13629 # We only want to do this on AIX 4.2 and lower, the check
13630 # below for broken collect2 doesn't work under 4.3+
13631 collect2name
=`${CC} -print-prog-name=collect2`
13632 if test -f "$collect2name" && \
13633 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13635 # We have reworked collect2
13636 hardcode_direct_F77
=yes
13638 # We have old collect2
13639 hardcode_direct_F77
=unsupported
13640 # It fails to find uninstalled libraries when the uninstalled
13641 # path is not listed in the libpath. Setting hardcode_minus_L
13642 # to unsupported forces relinking
13643 hardcode_minus_L_F77
=yes
13644 hardcode_libdir_flag_spec_F77
='-L$libdir'
13645 hardcode_libdir_separator_F77
=
13648 shared_flag
='-shared'
13651 if test "$host_cpu" = ia64
; then
13652 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13653 # chokes on -Wl,-G. The following line is correct:
13656 if test "$aix_use_runtimelinking" = yes; then
13657 shared_flag
='${wl}-G'
13659 shared_flag
='${wl}-bM:SRE'
13664 # It seems that -bexpall does not export symbols beginning with
13665 # underscore (_), so it is better to generate a list of symbols to export.
13666 always_export_symbols_F77
=yes
13667 if test "$aix_use_runtimelinking" = yes; then
13668 # Warning - without using the other runtime loading flags (-brtl),
13669 # -berok will link without error, but may produce a broken library.
13670 allow_undefined_flag_F77
='-berok'
13671 # Determine the default libpath from the value encoded in an empty executable.
13672 cat >conftest.
$ac_ext <<_ACEOF
13677 rm -f conftest.
$ac_objext conftest
$ac_exeext
13678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13679 (eval $ac_link) 2>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); } &&
13683 { ac_try
='test -s conftest$ac_exeext'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; }; then
13690 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13692 # Check for a 64-bit object if we didn't find anything.
13693 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; }
13696 echo "$as_me: failed program was:" >&5
13697 sed 's/^/| /' conftest.
$ac_ext >&5
13700 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13701 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13703 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
13704 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"
13706 if test "$host_cpu" = ia64; then
13707 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
13708 allow_undefined_flag_F77="-z nodefs"
13709 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"
13711 # Determine the default libpath from the value encoded in an empty executable.
13712 cat >conftest.$ac_ext <<_ACEOF
13717 rm -f conftest.$ac_objext conftest$ac_exeext
13718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13719 (eval $ac_link) 2>&5
13721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13722 (exit $ac_status); } &&
13723 { ac_try='test -s conftest$ac_exeext'
13724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13725 (eval $ac_try) 2>&5
13727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13728 (exit $ac_status); }; }; then
13730 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13732 # Check for a 64-bit object if we didn't find anything.
13733 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; }
13736 echo "$as_me: failed program was
:" >&5
13737 sed 's/^/| /' conftest.$ac_ext >&5
13740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13741 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
13743 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13744 # Warning - without using the other run time loading flags,
13745 # -berok will link without error, but may produce a broken library.
13746 no_undefined_flag_F77=' ${wl}-bernotok'
13747 allow_undefined_flag_F77=' ${wl}-berok'
13748 # -bexpall does not export symbols beginning with underscore (_)
13749 always_export_symbols_F77=yes
13750 # Exported symbols can be pulled into shared objects from archives
13751 whole_archive_flag_spec_F77=' '
13752 archive_cmds_need_lc_F77=yes
13753 # This is similar to how AIX traditionally builds it's shared libraries.
13754 archive_expsym_cmds_F77="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13760 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13761 hardcode_libdir_flag_spec_F77
='-L$libdir'
13762 hardcode_minus_L_F77
=yes
13763 # see comment about different semantics on the GNU ld section
13768 export_dynamic_flag_spec_F77
=-rdynamic
13771 cygwin
* | mingw
* | pw32
*)
13772 # When not using gcc, we currently assume that we are using
13773 # Microsoft Visual C++.
13774 # hardcode_libdir_flag_spec is actually meaningless, as there is
13775 # no search path for DLLs.
13776 hardcode_libdir_flag_spec_F77
=' '
13777 allow_undefined_flag_F77
=unsupported
13778 # Tell ltmain to make .lib files, not .a files.
13780 # Tell ltmain to make .dll files, not .so files.
13782 # FIXME: Setting linknames here is a bad hack.
13783 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13784 # The linker will automatically build a .lib file if we build a DLL.
13785 old_archive_From_new_cmds_F77
='true'
13786 # FIXME: Should let the user specify the lib program.
13787 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
13788 fix_srcfile_path
='`cygpath -w "$srcfile"`'
13789 enable_shared_with_static_runtimes_F77
=yes
13792 darwin
* | rhapsody
*)
13793 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
13794 archive_cmds_need_lc_F77
=no
13796 rhapsody
* | darwin1.
[012])
13797 allow_undefined_flag_F77
='-undefined suppress'
13800 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77
='-flat_namespace -undefined suppress'
13803 # FIXME: Relying on posixy $() will cause problems for
13804 # cross-compilation, but unfortunately the echo tests do not
13805 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13806 # `"' quotes if we put them in here... so don't!
13807 lt_int_apple_cc_single_mod
=no
13808 output_verbose_link_cmd
='echo'
13809 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
13810 lt_int_apple_cc_single_mod
=yes
13812 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
13813 archive_cmds_F77
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13815 archive_cmds_F77
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13817 module_cmds_F77
='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13818 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13819 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
13820 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13822 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13824 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13825 hardcode_direct_F77
=no
13826 hardcode_automatic_F77
=yes
13827 hardcode_shlibpath_var_F77
=unsupported
13828 whole_archive_flag_spec_F77
='-all_load $convenience'
13829 link_all_deplibs_F77
=yes
13834 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13835 hardcode_libdir_flag_spec_F77
='-L$libdir'
13836 hardcode_shlibpath_var_F77
=no
13843 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13844 # support. Future versions do this automatically, but an explicit c++rt0.o
13845 # does not break anything, and helps significantly (at the cost of a little
13848 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13849 hardcode_libdir_flag_spec_F77
='-R$libdir'
13850 hardcode_direct_F77
=yes
13851 hardcode_shlibpath_var_F77
=no
13854 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13856 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13857 hardcode_direct_F77
=yes
13858 hardcode_minus_L_F77
=yes
13859 hardcode_shlibpath_var_F77
=no
13862 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13864 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13865 hardcode_libdir_flag_spec_F77
='-R$libdir'
13866 hardcode_direct_F77
=yes
13867 hardcode_shlibpath_var_F77
=no
13871 if test "$GCC" = yes; then
13872 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13874 archive_cmds_F77
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13876 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
13877 hardcode_libdir_separator_F77
=:
13878 hardcode_direct_F77
=yes
13880 # hardcode_minus_L: Not really in the search PATH,
13881 # but as the default location of the library.
13882 hardcode_minus_L_F77
=yes
13883 export_dynamic_flag_spec_F77
='${wl}-E'
13887 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
13888 case "$host_cpu" in
13890 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13893 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13897 case "$host_cpu" in
13899 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13902 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13906 if test "$with_gnu_ld" = no
; then
13907 case "$host_cpu" in
13909 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
13910 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
13911 hardcode_libdir_separator_F77
=:
13912 hardcode_direct_F77
=no
13913 hardcode_shlibpath_var_F77
=no
13916 hardcode_libdir_flag_spec_F77
='-L$libdir'
13917 hardcode_direct_F77
=no
13918 hardcode_shlibpath_var_F77
=no
13920 # hardcode_minus_L: Not really in the search PATH,
13921 # but as the default location of the library.
13922 hardcode_minus_L_F77
=yes
13925 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
13926 hardcode_libdir_separator_F77
=:
13927 hardcode_direct_F77
=yes
13928 export_dynamic_flag_spec_F77
='${wl}-E'
13930 # hardcode_minus_L: Not really in the search PATH,
13931 # but as the default location of the library.
13932 hardcode_minus_L_F77
=yes
13938 irix5
* | irix6
* | nonstopux
*)
13939 if test "$GCC" = yes; then
13940 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'
13942 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'
13943 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
13945 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
13946 hardcode_libdir_separator_F77
=:
13947 link_all_deplibs_F77
=yes
13951 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13952 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13954 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13956 hardcode_libdir_flag_spec_F77
='-R$libdir'
13957 hardcode_direct_F77
=yes
13958 hardcode_shlibpath_var_F77
=no
13962 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13963 hardcode_direct_F77
=yes
13964 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
13965 hardcode_libdir_separator_F77
=:
13966 hardcode_shlibpath_var_F77
=no
13970 hardcode_direct_F77
=yes
13971 hardcode_shlibpath_var_F77
=no
13972 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13973 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13974 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13975 export_dynamic_flag_spec_F77
='${wl}-E'
13978 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13979 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13980 hardcode_libdir_flag_spec_F77
='-R$libdir'
13983 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13984 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13991 hardcode_libdir_flag_spec_F77
='-L$libdir'
13992 hardcode_minus_L_F77
=yes
13993 allow_undefined_flag_F77
=unsupported
13994 archive_cmds_F77
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
13995 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13999 if test "$GCC" = yes; then
14000 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14001 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'
14003 allow_undefined_flag_F77
=' -expect_unresolved \*'
14004 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'
14006 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14007 hardcode_libdir_separator_F77
=:
14010 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14011 if test "$GCC" = yes; then
14012 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14013 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'
14014 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14016 allow_undefined_flag_F77
=' -expect_unresolved \*'
14017 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'
14018 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~
14019 $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~$rm $lib.exp'
14021 # Both c and cxx compiler support -rpath directly
14022 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14024 hardcode_libdir_separator_F77
=:
14028 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14029 hardcode_shlibpath_var_F77
=no
14030 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14031 runpath_var
=LD_RUN_PATH
14032 hardcode_runpath_var
=yes
14036 no_undefined_flag_F77
=' -z text'
14037 if test "$GCC" = yes; then
14038 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14039 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14040 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14042 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14043 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14044 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14046 hardcode_libdir_flag_spec_F77
='-R$libdir'
14047 hardcode_shlibpath_var_F77
=no
14049 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14050 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14051 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14053 link_all_deplibs_F77
=yes
14057 if test "x$host_vendor" = xsequent
; then
14058 # Use $CC to link under sequent, because it throws in some extra .o
14059 # files that make .init and .fini sections work.
14060 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14062 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14064 hardcode_libdir_flag_spec_F77
='-L$libdir'
14065 hardcode_direct_F77
=yes
14066 hardcode_minus_L_F77
=yes
14067 hardcode_shlibpath_var_F77
=no
14071 case $host_vendor in
14073 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14074 hardcode_direct_F77
=yes # is this really true???
14077 ## LD is ld it makes a PLAMLIB
14078 ## CC just makes a GrossModule.
14079 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14080 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14081 hardcode_direct_F77
=no
14084 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14085 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14088 runpath_var
='LD_RUN_PATH'
14089 hardcode_shlibpath_var_F77
=no
14093 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14094 hardcode_shlibpath_var_F77
=no
14095 export_dynamic_flag_spec_F77
='-Bexport'
14099 if test -d /usr
/nec
; then
14100 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14101 hardcode_shlibpath_var_F77
=no
14102 runpath_var
=LD_RUN_PATH
14103 hardcode_runpath_var
=yes
14109 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14110 hardcode_direct_F77
=yes
14111 hardcode_minus_L_F77
=no
14112 hardcode_shlibpath_var_F77
=no
14113 hardcode_runpath_var
=yes
14114 runpath_var
=LD_RUN_PATH
14117 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
14118 no_undefined_flag_F77
='${wl}-z ${wl}text'
14119 if test "$GCC" = yes; then
14120 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14122 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14124 runpath_var
='LD_RUN_PATH'
14125 hardcode_shlibpath_var_F77
=no
14129 no_undefined_flag_F77
=' -z text'
14130 # $CC -shared without GNU ld will not create a library from C++
14131 # object files and a static libstdc++, better avoid it by now
14132 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14133 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14134 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14135 hardcode_libdir_flag_spec_F77
=
14136 hardcode_shlibpath_var_F77
=no
14137 runpath_var
='LD_RUN_PATH'
14141 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14142 hardcode_libdir_flag_spec_F77
='-L$libdir'
14143 hardcode_shlibpath_var_F77
=no
14152 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14153 echo "${ECHO_T}$ld_shlibs_F77" >&6
14154 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14156 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14157 if test "$GCC" = yes; then
14158 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14162 # Do we need to explicitly link libc?
14164 case "x$archive_cmds_need_lc_F77" in
14166 # Assume -lc should be added
14167 archive_cmds_need_lc_F77
=yes
14169 if test "$enable_shared" = yes && test "$GCC" = yes; then
14170 case $archive_cmds_F77 in
14172 # FIXME: we may have to deal with multi-command sequences.
14175 # Test whether the compiler implicitly links with -lc since on some
14176 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14177 # to ld, don't add -lc before -lgcc.
14178 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14179 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14181 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14184 (eval $ac_compile) 2>&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); } 2>conftest.err
; then
14190 libobjs
=conftest.
$ac_objext
14192 wl
=$lt_prog_compiler_wl_F77
14198 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14199 allow_undefined_flag_F77
=
14200 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14201 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); }
14206 archive_cmds_need_lc_F77
=no
14208 archive_cmds_need_lc_F77
=yes
14210 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14212 cat conftest.err
1>&5
14215 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14216 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14223 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14224 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14225 hardcode_action_F77
=
14226 if test -n "$hardcode_libdir_flag_spec_F77" || \
14227 test -n "$runpath_var F77" || \
14228 test "X$hardcode_automatic_F77"="Xyes" ; then
14230 # We can hardcode non-existant directories.
14231 if test "$hardcode_direct_F77" != no
&&
14232 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14233 # have to relink, otherwise we might link with an installed library
14234 # when we should be linking with a yet-to-be-installed one
14235 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14236 test "$hardcode_minus_L_F77" != no
; then
14237 # Linking always hardcodes the temporary library directory.
14238 hardcode_action_F77
=relink
14240 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14241 hardcode_action_F77
=immediate
14244 # We cannot hardcode anything, or else we can only hardcode existing
14246 hardcode_action_F77
=unsupported
14248 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14249 echo "${ECHO_T}$hardcode_action_F77" >&6
14251 if test "$hardcode_action_F77" = relink
; then
14252 # Fast installation is not supported
14253 enable_fast_install
=no
14254 elif test "$shlibpath_overrides_runpath" = yes ||
14255 test "$enable_shared" = no
; then
14256 # Fast installation is not necessary
14257 enable_fast_install
=needless
14262 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14263 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14264 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
14265 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14266 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14267 echo "$as_me:$LINENO: result: yes" >&5
14268 echo "${ECHO_T}yes" >&6
14270 # FIXME - insert some real tests, host_os isn't really good enough
14273 if test -n "$STRIP" ; then
14274 striplib
="$STRIP -x"
14275 echo "$as_me:$LINENO: result: yes" >&5
14276 echo "${ECHO_T}yes" >&6
14278 echo "$as_me:$LINENO: result: no" >&5
14279 echo "${ECHO_T}no" >&6
14283 echo "$as_me:$LINENO: result: no" >&5
14284 echo "${ECHO_T}no" >&6
14289 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14290 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14291 library_names_spec
=
14292 libname_spec
='lib$name'
14296 postuninstall_cmds
=
14300 shlibpath_overrides_runpath
=unknown
14302 dynamic_linker
="$host_os ld.so"
14303 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14304 if test "$GCC" = yes; then
14305 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14306 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14307 # if the path contains ";" then we assume it to be the separator
14308 # otherwise default to the standard path separator (i.e. ":") - it is
14309 # assumed that no part of a normal pathname contains ";" but that should
14310 # okay in the real world where ";" in dirpaths is itself problematic.
14311 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14313 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14316 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14318 need_lib_prefix
=unknown
14319 hardcode_into_libs
=no
14321 # when you set need_version to no, make sure it does not cause -set_version
14322 # flags to be left without arguments
14323 need_version
=unknown
14328 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14329 shlibpath_var
=LIBPATH
14331 # AIX 3 has no versioning support, so we append a major version to the name.
14332 soname_spec
='${libname}${release}${shared_ext}$major'
14339 hardcode_into_libs
=yes
14340 if test "$host_cpu" = ia64
; then
14341 # AIX 5 supports IA64
14342 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14343 shlibpath_var
=LD_LIBRARY_PATH
14345 # With GCC up to 2.95.x, collect2 would create an import file
14346 # for dependence libraries. The import file would start with
14347 # the line `#! .'. This would cause the generated library to
14348 # depend on `.', always an invalid library. This was fixed in
14349 # development snapshots of GCC prior to 3.0.
14351 aix4 | aix4.
[01] | aix4.
[01].
*)
14352 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14354 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14357 can_build_shared
=no
14361 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14362 # soname into executable. Probably we can add versioning support to
14363 # collect2, so additional links can be useful in future.
14364 if test "$aix_use_runtimelinking" = yes; then
14365 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14366 # instead of lib<name>.a to let people know that these are not
14367 # typical AIX shared libraries.
14368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14370 # We preserve .a as extension for shared libraries through AIX4.2
14371 # and later when we are not doing run time linking.
14372 library_names_spec
='${libname}${release}.a $libname.a'
14373 soname_spec
='${libname}${release}${shared_ext}$major'
14375 shlibpath_var
=LIBPATH
14380 library_names_spec
='$libname.ixlibrary $libname.a'
14381 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14382 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'
14386 library_names_spec
='${libname}${shared_ext}'
14387 dynamic_linker
="$host_os ld.so"
14388 shlibpath_var
=LIBRARY_PATH
14394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14395 soname_spec
='${libname}${release}${shared_ext}$major'
14396 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14397 shlibpath_var
=LD_LIBRARY_PATH
14398 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14399 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14400 # the default ld.so.conf also contains /usr/contrib/lib and
14401 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14402 # libtool to hard-code these into programs
14405 cygwin
* | mingw
* | pw32
*)
14406 version_type
=windows
14411 case $GCC,$host_os in
14412 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14413 library_names_spec
='$libname.dll.a'
14414 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14415 postinstall_cmds
='base_file=`basename \${file}`~
14416 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14417 dldir=$destdir/`dirname \$dlpath`~
14418 test -d \$dldir || mkdir -p \$dldir~
14419 $install_prog $dir/$dlname \$dldir/$dlname'
14420 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14421 dlpath=$dir/\$dldll~
14423 shlibpath_overrides_runpath
=yes
14427 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14428 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14429 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
14432 # MinGW DLLs use traditional 'lib' prefix
14433 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14434 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14435 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14436 # It is most probably a Windows format PATH printed by
14437 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14438 # path with ; separators, and with drive letters. We can handle the
14439 # drive letters (cygwin fileutils understands them), so leave them,
14440 # especially as we might pass files found there to a mingw objdump,
14441 # which wouldn't understand a cygwinified path. Ahh.
14442 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14444 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14448 # pw32 DLLs use 'pw' prefix rather than 'lib'
14449 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14455 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14458 dynamic_linker
='Win32 ld.exe'
14459 # FIXME: first we should search . and the directory the executable is in
14463 darwin
* | rhapsody
*)
14464 dynamic_linker
="$host_os dyld"
14465 version_type
=darwin
14468 # FIXME: Relying on posixy $() will cause problems for
14469 # cross-compilation, but unfortunately the echo tests do not
14470 # yet detect zsh echo's removal of \ escapes.
14471 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14472 soname_spec
='${libname}${release}${major}$shared_ext'
14473 shlibpath_overrides_runpath
=yes
14474 shlibpath_var
=DYLD_LIBRARY_PATH
14475 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
14476 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14477 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
14478 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"`
14480 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14488 soname_spec
='${libname}${release}${shared_ext}$major'
14489 shlibpath_var
=LD_LIBRARY_PATH
14497 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14498 version_type
=freebsd-
$objformat
14499 case $version_type in
14501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14506 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14510 shlibpath_var
=LD_LIBRARY_PATH
14513 shlibpath_overrides_runpath
=yes
14515 freebsd3.01
* | freebsdelf3.01
*)
14516 shlibpath_overrides_runpath
=yes
14517 hardcode_into_libs
=yes
14520 shlibpath_overrides_runpath
=no
14521 hardcode_into_libs
=yes
14530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14531 soname_spec
='${libname}${release}${shared_ext}$major'
14532 shlibpath_var
=LD_LIBRARY_PATH
14533 hardcode_into_libs
=yes
14536 hpux9
* | hpux10
* | hpux11
*)
14537 # Give a soname corresponding to the major version so that dld.sl refuses to
14538 # link against other versions.
14542 case "$host_cpu" in
14545 hardcode_into_libs
=yes
14546 dynamic_linker
="$host_os dld.so"
14547 shlibpath_var
=LD_LIBRARY_PATH
14548 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14550 soname_spec
='${libname}${release}${shared_ext}$major'
14551 if test "X$HPUX_IA64_MODE" = X32
; then
14552 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14554 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14556 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14560 hardcode_into_libs
=yes
14561 dynamic_linker
="$host_os dld.sl"
14562 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14563 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14565 soname_spec
='${libname}${release}${shared_ext}$major'
14566 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14567 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14571 dynamic_linker
="$host_os dld.sl"
14572 shlibpath_var
=SHLIB_PATH
14573 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14575 soname_spec
='${libname}${release}${shared_ext}$major'
14578 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14579 postinstall_cmds
='chmod 555 $lib'
14582 irix5
* | irix6
* | nonstopux
*)
14584 nonstopux
*) version_type
=nonstopux
;;
14586 if test "$lt_cv_prog_gnu_ld" = yes; then
14594 soname_spec
='${libname}${release}${shared_ext}$major'
14595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14597 irix5
* | nonstopux
*)
14598 libsuff
= shlibsuff
=
14601 case $LD in # libtool.m4 will add one of these switches to LD
14602 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14603 libsuff
= shlibsuff
= libmagic
=32-bit;;
14604 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14605 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14606 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14607 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14608 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14612 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14613 shlibpath_overrides_runpath
=no
14614 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14615 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14616 hardcode_into_libs
=yes
14619 # No shared lib support for Linux oldld, aout, or coff.
14620 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14624 # This must be Linux ELF.
14629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14630 soname_spec
='${libname}${release}${shared_ext}$major'
14631 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14632 shlibpath_var
=LD_LIBRARY_PATH
14633 shlibpath_overrides_runpath
=no
14634 # This implies no fast_install, which is unacceptable.
14635 # Some rework will be needed to allow for fast_install
14636 # before this can be enabled.
14637 hardcode_into_libs
=yes
14639 # We used to test for /lib/ld.so.1 and disable shared libraries on
14640 # powerpc, because MkLinux only supported shared libraries with the
14641 # GNU dynamic linker. Since this was broken with cross compilers,
14642 # most powerpc-linux boxes support dynamic linking these days and
14643 # people can always --disable-shared, the test was removed, and we
14644 # assume the GNU/Linux dynamic linker is in use.
14645 dynamic_linker
='GNU/Linux ld.so'
14652 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14654 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14655 dynamic_linker
='NetBSD (a.out) ld.so'
14657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14658 soname_spec
='${libname}${release}${shared_ext}$major'
14659 dynamic_linker
='NetBSD ld.elf_so'
14661 shlibpath_var
=LD_LIBRARY_PATH
14662 shlibpath_overrides_runpath
=yes
14663 hardcode_into_libs
=yes
14668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14669 shlibpath_var
=LD_LIBRARY_PATH
14670 shlibpath_overrides_runpath
=yes
14677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14678 soname_spec
='${libname}${release}${shared_ext}$major'
14679 shlibpath_var
=LD_LIBRARY_PATH
14680 shlibpath_overrides_runpath
=yes
14687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14688 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14689 shlibpath_var
=LD_LIBRARY_PATH
14690 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14692 openbsd2.
[89] | openbsd2.
[89].
*)
14693 shlibpath_overrides_runpath
=no
14696 shlibpath_overrides_runpath
=yes
14700 shlibpath_overrides_runpath
=yes
14705 libname_spec
='$name'
14708 library_names_spec
='$libname${shared_ext} $libname.a'
14709 dynamic_linker
='OS/2 ld.exe'
14710 shlibpath_var
=LIBPATH
14713 osf3
* | osf4
* | osf5
*)
14717 soname_spec
='${libname}${release}${shared_ext}$major'
14718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14719 shlibpath_var
=LD_LIBRARY_PATH
14720 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14721 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14726 soname_spec
='${libname}${release}${shared_ext}$major'
14727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14728 shlibpath_var
=LD_LIBRARY_PATH
14735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14736 soname_spec
='${libname}${release}${shared_ext}$major'
14737 shlibpath_var
=LD_LIBRARY_PATH
14738 shlibpath_overrides_runpath
=yes
14739 hardcode_into_libs
=yes
14740 # ldd complains unless libraries are executable
14741 postinstall_cmds
='chmod +x $lib'
14746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14747 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14748 shlibpath_var
=LD_LIBRARY_PATH
14749 shlibpath_overrides_runpath
=yes
14750 if test "$with_gnu_ld" = yes; then
14756 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14759 soname_spec
='${libname}${release}${shared_ext}$major'
14760 shlibpath_var
=LD_LIBRARY_PATH
14761 case $host_vendor in
14763 shlibpath_overrides_runpath
=no
14765 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14766 runpath_var
=LD_RUN_PATH
14774 shlibpath_overrides_runpath
=no
14775 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14781 if test -d /usr
/nec
;then
14783 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14784 soname_spec
='$libname${shared_ext}.$major'
14785 shlibpath_var
=LD_LIBRARY_PATH
14791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14792 soname_spec
='${libname}${release}${shared_ext}$major'
14793 shlibpath_var
=LD_LIBRARY_PATH
14800 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14801 echo "${ECHO_T}$dynamic_linker" >&6
14802 test "$dynamic_linker" = no
&& can_build_shared
=no
14805 # The else clause should only fire when bootstrapping the
14806 # libtool distribution, otherwise you forgot to ship ltmain.sh
14807 # with your package, and you will get complaints that there are
14808 # no rules to generate ltmain.sh.
14809 if test -f "$ltmain"; then
14810 # See if we are running on zsh, and set the options which allow our commands through
14811 # without removal of \ escapes.
14812 if test -n "${ZSH_VERSION+set}" ; then
14813 setopt NO_GLOB_SUBST
14815 # Now quote all the things that may contain metacharacters while being
14816 # careful not to overquote the AC_SUBSTed values. We take copies of the
14817 # variables and quote the copies for generation of the libtool script.
14818 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14819 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14820 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14821 deplibs_check_method reload_flag reload_cmds need_locks \
14822 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14823 lt_cv_sys_global_symbol_to_c_name_address \
14824 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14825 old_postinstall_cmds old_postuninstall_cmds \
14829 lt_prog_compiler_wl_F77 \
14830 lt_prog_compiler_pic_F77 \
14831 lt_prog_compiler_static_F77 \
14832 lt_prog_compiler_no_builtin_flag_F77 \
14833 export_dynamic_flag_spec_F77 \
14834 thread_safe_flag_spec_F77 \
14835 whole_archive_flag_spec_F77 \
14836 enable_shared_with_static_runtimes_F77 \
14837 old_archive_cmds_F77 \
14838 old_archive_from_new_cmds_F77 \
14839 predep_objects_F77 \
14840 postdep_objects_F77 \
14843 compiler_lib_search_path_F77 \
14845 archive_expsym_cmds_F77 \
14846 postinstall_cmds_F77 \
14847 postuninstall_cmds_F77 \
14848 old_archive_from_expsyms_cmds_F77 \
14849 allow_undefined_flag_F77 \
14850 no_undefined_flag_F77 \
14851 export_symbols_cmds_F77 \
14852 hardcode_libdir_flag_spec_F77 \
14853 hardcode_libdir_flag_spec_ld_F77 \
14854 hardcode_libdir_separator_F77 \
14855 hardcode_automatic_F77 \
14857 module_expsym_cmds_F77 \
14858 lt_cv_prog_compiler_c_o_F77 \
14859 exclude_expsyms_F77 \
14860 include_expsyms_F77
; do
14863 old_archive_cmds_F77 | \
14864 old_archive_from_new_cmds_F77 | \
14865 archive_cmds_F77 | \
14866 archive_expsym_cmds_F77 | \
14867 module_cmds_F77 | \
14868 module_expsym_cmds_F77 | \
14869 old_archive_from_expsyms_cmds_F77 | \
14870 export_symbols_cmds_F77 | \
14871 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14872 postinstall_cmds | postuninstall_cmds | \
14873 old_postinstall_cmds | old_postuninstall_cmds | \
14874 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14875 # Double-quote double-evaled strings.
14876 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14879 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14885 *'\$0 --fallback-echo"')
14886 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14892 cat <<__EOF__ >> "$cfgfile"
14893 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14895 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14897 # Shell to use when invoking shell scripts.
14900 # Whether or not to build shared libraries.
14901 build_libtool_libs=$enable_shared
14903 # Whether or not to build static libraries.
14904 build_old_libs=$enable_static
14906 # Whether or not to add -lc for building shared libraries.
14907 build_libtool_need_lc=$archive_cmds_need_lc_F77
14909 # Whether or not to disallow shared libs when runtime libs are static
14910 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14912 # Whether or not to optimize for fast installation.
14913 fast_install=$enable_fast_install
14916 host_alias=$host_alias
14919 # An echo program that does not interpret backslashes.
14924 AR_FLAGS=$lt_AR_FLAGS
14929 # A language-specific compiler.
14930 CC=$lt_compiler_F77
14932 # Is the compiler the GNU C compiler?
14938 # The linker used to build libraries.
14941 # Whether we need hard or soft links.
14944 # A BSD-compatible nm program.
14947 # A symbol stripping program
14950 # Used to examine libraries when file_magic_cmd begins "file"
14951 MAGIC_CMD=$MAGIC_CMD
14953 # Used on cygwin: DLL creation program.
14956 # Used on cygwin: object dumper.
14959 # Used on cygwin: assembler.
14962 # The name of the directory that contains temporary libtool files.
14965 # How to create reloadable object files.
14966 reload_flag=$lt_reload_flag
14967 reload_cmds=$lt_reload_cmds
14969 # How to pass a linker flag through the compiler.
14970 wl=$lt_lt_prog_compiler_wl_F77
14972 # Object file suffix (normally "o").
14973 objext="$ac_objext"
14975 # Old archive suffix (normally "a").
14978 # Shared library suffix (normally ".so").
14981 # Executable file suffix (normally "").
14984 # Additional compiler flags for building library objects.
14985 pic_flag=$lt_lt_prog_compiler_pic_F77
14988 # What is the maximum length of a command?
14989 max_cmd_len=$lt_cv_sys_max_cmd_len
14991 # Does compiler simultaneously support -c and -o options?
14992 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14994 # Must we lock files when doing compilation ?
14995 need_locks=$lt_need_locks
14997 # Do we need the lib prefix for modules?
14998 need_lib_prefix=$need_lib_prefix
15000 # Do we need a version for libraries?
15001 need_version=$need_version
15003 # Whether dlopen is supported.
15004 dlopen_support=$enable_dlopen
15006 # Whether dlopen of programs is supported.
15007 dlopen_self=$enable_dlopen_self
15009 # Whether dlopen of statically linked programs is supported.
15010 dlopen_self_static=$enable_dlopen_self_static
15012 # Compiler flag to prevent dynamic linking.
15013 link_static_flag=$lt_lt_prog_compiler_static_F77
15015 # Compiler flag to turn off builtin functions.
15016 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15018 # Compiler flag to allow reflexive dlopens.
15019 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15021 # Compiler flag to generate shared objects directly from archives.
15022 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15024 # Compiler flag to generate thread-safe objects.
15025 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15027 # Library versioning type.
15028 version_type=$version_type
15030 # Format of library name prefix.
15031 libname_spec=$lt_libname_spec
15033 # List of archive names. First name is the real one, the rest are links.
15034 # The last name is the one that the linker finds with -lNAME.
15035 library_names_spec=$lt_library_names_spec
15037 # The coded name of the library, if different from the real name.
15038 soname_spec=$lt_soname_spec
15040 # Commands used to build and install an old-style archive.
15042 old_archive_cmds=$lt_old_archive_cmds_F77
15043 old_postinstall_cmds=$lt_old_postinstall_cmds
15044 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15046 # Create an old-style archive from a shared archive.
15047 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15049 # Create a temporary old-style archive to link instead of a shared archive.
15050 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15052 # Commands used to build and install a shared archive.
15053 archive_cmds=$lt_archive_cmds_F77
15054 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15055 postinstall_cmds=$lt_postinstall_cmds
15056 postuninstall_cmds=$lt_postuninstall_cmds
15058 # Commands used to build a loadable module (assumed same as above if empty)
15059 module_cmds=$lt_module_cmds_F77
15060 module_expsym_cmds=$lt_module_expsym_cmds_F77
15062 # Commands to strip libraries.
15063 old_striplib=$lt_old_striplib
15064 striplib=$lt_striplib
15066 # Dependencies to place before the objects being linked to create a
15068 predep_objects=$lt_predep_objects_F77
15070 # Dependencies to place after the objects being linked to create a
15072 postdep_objects=$lt_postdep_objects_F77
15074 # Dependencies to place before the objects being linked to create a
15076 predeps=$lt_predeps_F77
15078 # Dependencies to place after the objects being linked to create a
15080 postdeps=$lt_postdeps_F77
15082 # The library search path used internally by the compiler when linking
15083 # a shared library.
15084 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15086 # Method to check whether dependent libraries are shared objects.
15087 deplibs_check_method=$lt_deplibs_check_method
15089 # Command to use when deplibs_check_method == file_magic.
15090 file_magic_cmd=$lt_file_magic_cmd
15092 # Flag that allows shared libraries with undefined symbols to be built.
15093 allow_undefined_flag=$lt_allow_undefined_flag_F77
15095 # Flag that forces no undefined symbols.
15096 no_undefined_flag=$lt_no_undefined_flag_F77
15098 # Commands used to finish a libtool library installation in a directory.
15099 finish_cmds=$lt_finish_cmds
15101 # Same as above, but a single script fragment to be evaled but not shown.
15102 finish_eval=$lt_finish_eval
15104 # Take the output of nm and produce a listing of raw symbols and C names.
15105 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15107 # Transform the output of nm in a proper C declaration
15108 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15110 # Transform the output of nm in a C name address pair
15111 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15113 # This is the shared library runtime path variable.
15114 runpath_var=$runpath_var
15116 # This is the shared library path variable.
15117 shlibpath_var=$shlibpath_var
15119 # Is shlibpath searched before the hard-coded library search path?
15120 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15122 # How to hardcode a shared library path into an executable.
15123 hardcode_action=$hardcode_action_F77
15125 # Whether we should hardcode library paths into libraries.
15126 hardcode_into_libs=$hardcode_into_libs
15128 # Flag to hardcode \$libdir into a binary during linking.
15129 # This must work even if \$libdir does not exist.
15130 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15132 # If ld is used when linking, flag to hardcode \$libdir into
15133 # a binary during linking. This must work even if \$libdir does
15135 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15137 # Whether we need a single -rpath flag with a separated argument.
15138 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15140 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15141 # resulting binary.
15142 hardcode_direct=$hardcode_direct_F77
15144 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15145 # resulting binary.
15146 hardcode_minus_L=$hardcode_minus_L_F77
15148 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15149 # the resulting binary.
15150 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15152 # Set to yes if building a shared library automatically hardcodes DIR into the library
15153 # and all subsequent libraries and executables linked against it.
15154 hardcode_automatic=$hardcode_automatic_F77
15156 # Variables whose values should be saved in libtool wrapper scripts and
15157 # restored at relink time.
15158 variables_saved_for_relink="$variables_saved_for_relink"
15160 # Whether libtool must link a program against all its dependency libraries.
15161 link_all_deplibs=$link_all_deplibs_F77
15163 # Compile-time system search path for libraries
15164 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15166 # Run-time system search path for libraries
15167 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15169 # Fix the shell variable \$srcfile for the compiler.
15170 fix_srcfile_path="$fix_srcfile_path_F77"
15172 # Set to yes if exported symbols are required.
15173 always_export_symbols=$always_export_symbols_F77
15175 # The commands to list exported symbols.
15176 export_symbols_cmds=$lt_export_symbols_cmds_F77
15178 # The commands to extract the exported symbol list from a shared archive.
15179 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15181 # Symbols that should not be listed in the preloaded symbols.
15182 exclude_expsyms=$lt_exclude_expsyms_F77
15184 # Symbols that must always be exported.
15185 include_expsyms=$lt_include_expsyms_F77
15187 # ### END LIBTOOL TAG CONFIG: $tagname
15193 # If there is no Makefile yet, we rely on a make rule to execute
15194 # `config.status --recheck' to rerun these tests and create the
15195 # libtool script then.
15196 test -f Makefile
&& make "$ltmain"
15201 ac_cpp
='$CPP $CPPFLAGS'
15202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15214 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15218 # Source file extension for Java test sources.
15221 # Object file extension for compiled Java test sources.
15225 # Code to be used in simple compile tests
15226 lt_simple_compile_test_code
="class foo {}\n"
15228 # Code to be used in simple link tests
15229 lt_simple_link_test_code
='public class conftest { public static void main(String argv) {}; }\n'
15231 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15233 # If no C compiler was specified, use CC.
15236 # Allow CC to be a program name with arguments.
15240 # Allow CC to be a program name with arguments.
15246 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15247 archive_cmds_need_lc_GCJ
=no
15250 lt_prog_compiler_no_builtin_flag_GCJ
=
15252 if test "$GCC" = yes; then
15253 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15255 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15256 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15257 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15258 echo $ECHO_N "(cached) $ECHO_C" >&6
15260 lt_cv_prog_compiler_rtti_exceptions
=no
15261 ac_outfile
=conftest.
$ac_objext
15262 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15263 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15264 # Insert the option either (1) after the last *FLAGS variable, or
15265 # (2) before a word containing "conftest.", or (3) at the end.
15266 # Note that $ac_compile itself does not contain backslashes and begins
15267 # with a dollar sign (not a hyphen), so the echo should work correctly.
15268 # The option is referenced via a variable to avoid confusing sed.
15269 lt_compile
=`echo "$ac_compile" | $SED \
15270 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15271 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15272 -e 's:$: $lt_compiler_flag:'`
15273 (eval echo "\"\$as_me:15273: $lt_compile\"" >&5)
15274 (eval "$lt_compile" 2>conftest.err
)
15276 cat conftest.err
>&5
15277 echo "$as_me:15277: \$? = $ac_status" >&5
15278 if (exit $ac_status) && test -s "$ac_outfile"; then
15279 # The compiler can only warn and ignore the option if not recognized
15280 # So say no if there are warnings
15281 if test ! -s conftest.err
; then
15282 lt_cv_prog_compiler_rtti_exceptions
=yes
15288 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15289 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15291 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15292 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15299 lt_prog_compiler_wl_GCJ
=
15300 lt_prog_compiler_pic_GCJ
=
15301 lt_prog_compiler_static_GCJ
=
15303 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15304 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15306 if test "$GCC" = yes; then
15307 lt_prog_compiler_wl_GCJ
='-Wl,'
15308 lt_prog_compiler_static_GCJ
='-static'
15312 # All AIX code is PIC.
15313 if test "$host_cpu" = ia64
; then
15314 # AIX 5 now supports IA64 processor
15315 lt_prog_compiler_static_GCJ
='-Bstatic'
15320 # FIXME: we need at least 68020 code to build shared libraries, but
15321 # adding the `-m68020' flag to GCC prevents building anything better,
15323 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15326 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15327 # PIC is the default for these OSes.
15330 mingw
* | pw32
* | os2
*)
15331 # This hack is so that the source file can tell whether it is being
15332 # built for inclusion in a dll (and should export symbols for example).
15333 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15336 darwin
* | rhapsody
*)
15337 # PIC is the default on this platform
15338 # Common symbols not allowed in MH_DYLIB files
15339 lt_prog_compiler_pic_GCJ
='-fno-common'
15343 # Just because we use GCC doesn't mean we suddenly get shared libraries
15344 # on systems that don't support them.
15345 lt_prog_compiler_can_build_shared_GCJ
=no
15350 if test -d /usr
/nec
; then
15351 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15356 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15357 # not for PA HP-UX.
15358 case "$host_cpu" in
15363 lt_prog_compiler_pic_GCJ
='-fPIC'
15369 lt_prog_compiler_pic_GCJ
='-fPIC'
15373 # PORTME Check for flag to pass linker flags through the system compiler.
15376 lt_prog_compiler_wl_GCJ
='-Wl,'
15377 if test "$host_cpu" = ia64
; then
15378 # AIX 5 now supports IA64 processor
15379 lt_prog_compiler_static_GCJ
='-Bstatic'
15381 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15385 mingw
* | pw32
* | os2
*)
15386 # This hack is so that the source file can tell whether it is being
15387 # built for inclusion in a dll (and should export symbols for example).
15388 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15391 hpux9
* | hpux10
* | hpux11
*)
15392 lt_prog_compiler_wl_GCJ
='-Wl,'
15393 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15394 # not for PA HP-UX.
15395 case "$host_cpu" in
15400 lt_prog_compiler_pic_GCJ
='+Z'
15403 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15404 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15407 irix5
* | irix6
* | nonstopux
*)
15408 lt_prog_compiler_wl_GCJ
='-Wl,'
15409 # PIC (with -KPIC) is the default.
15410 lt_prog_compiler_static_GCJ
='-non_shared'
15414 lt_prog_compiler_pic_GCJ
='-KPIC'
15415 lt_prog_compiler_static_GCJ
='-Bstatic'
15421 lt_prog_compiler_wl_GCJ
='-Wl,'
15422 lt_prog_compiler_pic_GCJ
='-KPIC'
15423 lt_prog_compiler_static_GCJ
='-static'
15426 lt_prog_compiler_wl_GCJ
='-Wl,'
15427 # All Alpha code is PIC.
15428 lt_prog_compiler_static_GCJ
='-non_shared'
15433 osf3
* | osf4
* | osf5
*)
15434 lt_prog_compiler_wl_GCJ
='-Wl,'
15435 # All OSF/1 code is PIC.
15436 lt_prog_compiler_static_GCJ
='-non_shared'
15440 lt_prog_compiler_pic_GCJ
='-Kpic'
15441 lt_prog_compiler_static_GCJ
='-dn'
15445 lt_prog_compiler_wl_GCJ
='-Wl,'
15446 lt_prog_compiler_pic_GCJ
='-KPIC'
15447 lt_prog_compiler_static_GCJ
='-Bstatic'
15451 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15452 lt_prog_compiler_pic_GCJ
='-PIC'
15453 lt_prog_compiler_static_GCJ
='-Bstatic'
15456 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15457 lt_prog_compiler_wl_GCJ
='-Wl,'
15458 lt_prog_compiler_pic_GCJ
='-KPIC'
15459 lt_prog_compiler_static_GCJ
='-Bstatic'
15463 if test -d /usr
/nec
;then
15464 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15465 lt_prog_compiler_static_GCJ
='-Bstatic'
15470 lt_prog_compiler_pic_GCJ
='-pic'
15471 lt_prog_compiler_static_GCJ
='-Bstatic'
15475 lt_prog_compiler_can_build_shared_GCJ
=no
15480 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15481 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15484 # Check to make sure the PIC flag actually works.
15486 if test -n "$lt_prog_compiler_pic_GCJ"; then
15487 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15488 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15489 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 lt_prog_compiler_pic_works_GCJ
=no
15493 ac_outfile
=conftest.
$ac_objext
15494 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15495 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15496 # Insert the option either (1) after the last *FLAGS variable, or
15497 # (2) before a word containing "conftest.", or (3) at the end.
15498 # Note that $ac_compile itself does not contain backslashes and begins
15499 # with a dollar sign (not a hyphen), so the echo should work correctly.
15500 # The option is referenced via a variable to avoid confusing sed.
15501 lt_compile
=`echo "$ac_compile" | $SED \
15502 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15503 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15504 -e 's:$: $lt_compiler_flag:'`
15505 (eval echo "\"\$as_me:15505: $lt_compile\"" >&5)
15506 (eval "$lt_compile" 2>conftest.err
)
15508 cat conftest.err
>&5
15509 echo "$as_me:15509: \$? = $ac_status" >&5
15510 if (exit $ac_status) && test -s "$ac_outfile"; then
15511 # The compiler can only warn and ignore the option if not recognized
15512 # So say no if there are warnings
15513 if test ! -s conftest.err
; then
15514 lt_prog_compiler_pic_works_GCJ
=yes
15520 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15521 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15523 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15524 case $lt_prog_compiler_pic_GCJ in
15526 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
15529 lt_prog_compiler_pic_GCJ
=
15530 lt_prog_compiler_can_build_shared_GCJ
=no
15535 # For platforms which do not support PIC, -DPIC is meaningless:
15537 lt_prog_compiler_pic_GCJ
=
15540 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15544 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15545 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15546 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15549 lt_cv_prog_compiler_c_o_GCJ
=no
15550 $rm -r conftest
2>/dev
/null
15554 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15556 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15557 # that will create temporary files in the current directory regardless of
15558 # the output directory. Thus, making CWD read-only will cause this test
15559 # to fail, enabling locking or at least warning the user not to do parallel
15563 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15564 # Insert the option either (1) after the last *FLAGS variable, or
15565 # (2) before a word containing "conftest.", or (3) at the end.
15566 # Note that $ac_compile itself does not contain backslashes and begins
15567 # with a dollar sign (not a hyphen), so the echo should work correctly.
15568 lt_compile
=`echo "$ac_compile" | $SED \
15569 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15571 -e 's:$: $lt_compiler_flag:'`
15572 (eval echo "\"\$as_me:15572: $lt_compile\"" >&5)
15573 (eval "$lt_compile" 2>out
/conftest.err
)
15575 cat out
/conftest.err
>&5
15576 echo "$as_me:15576: \$? = $ac_status" >&5
15577 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15579 # The compiler can only warn and ignore the option if not recognized
15580 # So say no if there are warnings
15581 if test ! -s out
/conftest.err
; then
15582 lt_cv_prog_compiler_c_o_GCJ
=yes
15586 $rm conftest
* out
/*
15593 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15594 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15597 hard_links
="nottested"
15598 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
15599 # do not overwrite the value of need_locks provided by the user
15600 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15601 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15604 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15606 ln conftest.a conftest.b
2>&5 || hard_links
=no
15607 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15608 echo "$as_me:$LINENO: result: $hard_links" >&5
15609 echo "${ECHO_T}$hard_links" >&6
15610 if test "$hard_links" = no
; then
15611 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15612 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15619 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15620 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15623 allow_undefined_flag_GCJ
=
15624 enable_shared_with_static_runtimes_GCJ
=no
15626 archive_expsym_cmds_GCJ
=
15627 old_archive_From_new_cmds_GCJ
=
15628 old_archive_from_expsyms_cmds_GCJ
=
15629 export_dynamic_flag_spec_GCJ
=
15630 whole_archive_flag_spec_GCJ
=
15631 thread_safe_flag_spec_GCJ
=
15632 hardcode_libdir_flag_spec_GCJ
=
15633 hardcode_libdir_flag_spec_ld_GCJ
=
15634 hardcode_libdir_separator_GCJ
=
15635 hardcode_direct_GCJ
=no
15636 hardcode_minus_L_GCJ
=no
15637 hardcode_shlibpath_var_GCJ
=unsupported
15638 link_all_deplibs_GCJ
=unknown
15639 hardcode_automatic_GCJ
=no
15641 module_expsym_cmds_GCJ
=
15642 always_export_symbols_GCJ
=no
15643 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15644 # include_expsyms should be a list of space-separated symbols to be *always*
15645 # included in the symbol list
15646 include_expsyms_GCJ
=
15647 # exclude_expsyms can be an extended regexp of symbols to exclude
15648 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15649 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15650 # as well as any symbol that contains `d'.
15651 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
15652 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15653 # platforms (ab)use it in PIC code, but their linkers get confused if
15654 # the symbol is explicitly referenced. Since portable code cannot
15655 # rely on this symbol name, it's probably fine to never include it in
15656 # preloaded symbol tables.
15657 extract_expsyms_cmds
=
15660 cygwin
* | mingw
* | pw32
*)
15661 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15662 # When not using gcc, we currently assume that we are using
15663 # Microsoft Visual C++.
15664 if test "$GCC" != yes; then
15674 if test "$with_gnu_ld" = yes; then
15675 # If archive_cmds runs LD, not CC, wlarc should be empty
15678 # See if GNU ld supports shared libraries.
15680 aix3
* | aix4
* | aix5
*)
15681 # On AIX/PPC, the GNU linker is very broken
15682 if test "$host_cpu" != ia64
; then
15686 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15687 *** to be unable to reliably create shared libraries on AIX.
15688 *** Therefore, libtool is disabling shared libraries support. If you
15689 *** really care for shared libraries, you may want to modify your PATH
15690 *** so that a non-GNU linker is found, and then restart.
15697 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15698 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
15699 hardcode_minus_L_GCJ
=yes
15701 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15702 # that the semantics of dynamic libraries on AmigaOS, at least up
15703 # to version 4, is to share data among multiple programs linked
15704 # with the same dynamic library. Since this doesn't match the
15705 # behavior of shared libraries on other platforms, we can't use
15711 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15712 allow_undefined_flag_GCJ
=unsupported
15713 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15714 # support --undefined. This deserves some investigation. FIXME
15715 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15721 cygwin
* | mingw
* | pw32
*)
15722 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15723 # as there is no search path for DLLs.
15724 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
15725 allow_undefined_flag_GCJ
=unsupported
15726 always_export_symbols_GCJ
=no
15727 enable_shared_with_static_runtimes_GCJ
=yes
15728 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15730 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15731 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15732 # If the export-symbols file already is a .def file (1st line
15733 # is EXPORTS), use it as is; otherwise, prepend...
15734 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15735 cp $export_symbols $output_objdir/$soname.def;
15737 echo EXPORTS > $output_objdir/$soname.def;
15738 cat $export_symbols >> $output_objdir/$soname.def;
15740 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15747 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15748 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15751 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15752 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15757 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15761 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15762 *** create shared libraries on Solaris systems. Therefore, libtool
15763 *** is disabling shared libraries support. We urge you to upgrade GNU
15764 *** binutils to release 2.9.1 or newer. Another option is to modify
15765 *** your PATH or compiler configuration so that the native linker is
15766 *** used, and then restart.
15769 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15770 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15771 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15778 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15780 hardcode_direct_GCJ
=yes
15781 hardcode_shlibpath_var_GCJ
=no
15785 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15786 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15787 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15794 if test "$ld_shlibs_GCJ" = yes; then
15795 runpath_var
=LD_RUN_PATH
15796 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
15797 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
15798 # ancient GNU ld didn't support --whole-archive et. al.
15799 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15800 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15802 whole_archive_flag_spec_GCJ
=
15806 # PORTME fill in a description of your system's linker (not GNU ld)
15809 allow_undefined_flag_GCJ
=unsupported
15810 always_export_symbols_GCJ
=yes
15811 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15812 # Note: this linker hardcodes the directories in LIBPATH if there
15813 # are no directories specified by -L.
15814 hardcode_minus_L_GCJ
=yes
15815 if test "$GCC" = yes && test -z "$link_static_flag"; then
15816 # Neither direct hardcoding nor static linking is supported with a
15818 hardcode_direct_GCJ
=unsupported
15823 if test "$host_cpu" = ia64
; then
15824 # On IA64, the linker does run time linking by default, so we don't
15825 # have to do anything special.
15826 aix_use_runtimelinking
=no
15827 exp_sym_flag
='-Bexport'
15830 # If we're using GNU nm, then we don't want the "-C" option.
15831 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15832 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15833 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'
15835 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'
15837 aix_use_runtimelinking
=no
15839 # Test if we are trying to use run time linking or normal
15840 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15841 # need to do runtime linking.
15842 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15843 for ld_flag
in $LDFLAGS; do
15844 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15845 aix_use_runtimelinking
=yes
15851 exp_sym_flag
='-bexport'
15852 no_entry_flag
='-bnoentry'
15855 # When large executables or shared objects are built, AIX ld can
15856 # have problems creating the table of contents. If linking a library
15857 # or program results in "error TOC overflow" add -mminimal-toc to
15858 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15859 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15861 archive_cmds_GCJ
=''
15862 hardcode_direct_GCJ
=yes
15863 hardcode_libdir_separator_GCJ
=':'
15864 link_all_deplibs_GCJ
=yes
15866 if test "$GCC" = yes; then
15867 case $host_os in aix4.012|aix4.012.
*)
15868 # We only want to do this on AIX 4.2 and lower, the check
15869 # below for broken collect2 doesn't work under 4.3+
15870 collect2name
=`${CC} -print-prog-name=collect2`
15871 if test -f "$collect2name" && \
15872 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15874 # We have reworked collect2
15875 hardcode_direct_GCJ
=yes
15877 # We have old collect2
15878 hardcode_direct_GCJ
=unsupported
15879 # It fails to find uninstalled libraries when the uninstalled
15880 # path is not listed in the libpath. Setting hardcode_minus_L
15881 # to unsupported forces relinking
15882 hardcode_minus_L_GCJ
=yes
15883 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
15884 hardcode_libdir_separator_GCJ
=
15887 shared_flag
='-shared'
15890 if test "$host_cpu" = ia64
; then
15891 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15892 # chokes on -Wl,-G. The following line is correct:
15895 if test "$aix_use_runtimelinking" = yes; then
15896 shared_flag
='${wl}-G'
15898 shared_flag
='${wl}-bM:SRE'
15903 # It seems that -bexpall does not export symbols beginning with
15904 # underscore (_), so it is better to generate a list of symbols to export.
15905 always_export_symbols_GCJ
=yes
15906 if test "$aix_use_runtimelinking" = yes; then
15907 # Warning - without using the other runtime loading flags (-brtl),
15908 # -berok will link without error, but may produce a broken library.
15909 allow_undefined_flag_GCJ
='-berok'
15910 # Determine the default libpath from the value encoded in an empty executable.
15911 cat >conftest.
$ac_ext <<_ACEOF
15912 #line $LINENO "configure"
15915 cat confdefs.h
>>conftest.
$ac_ext
15916 cat >>conftest.
$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15927 rm -f conftest.
$ac_objext conftest
$ac_exeext
15928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15929 (eval $ac_link) 2>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try
='test -s conftest$ac_exeext'
15934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15935 (eval $ac_try) 2>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; }; then
15940 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15942 # Check for a 64-bit object if we didn't find anything.
15943 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; }
15946 echo "$as_me: failed program was:" >&5
15947 sed 's/^/| /' conftest.
$ac_ext >&5
15950 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15951 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15953 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
15954 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"
15956 if test "$host_cpu" = ia64; then
15957 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
15958 allow_undefined_flag_GCJ="-z nodefs"
15959 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"
15961 # Determine the default libpath from the value encoded in an empty executable.
15962 cat >conftest.$ac_ext <<_ACEOF
15963 #line $LINENO "configure
"
15966 cat confdefs.h >>conftest.$ac_ext
15967 cat >>conftest.$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15978 rm -f conftest.$ac_objext conftest$ac_exeext
15979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15980 (eval $ac_link) 2>&5
15982 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try='test -s conftest$ac_exeext'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15989 (exit $ac_status); }; }; then
15991 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15993 # Check for a 64-bit object if we didn't find anything.
15994 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; }
15997 echo "$as_me: failed program was
:" >&5
15998 sed 's/^/| /' conftest.$ac_ext >&5
16001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16002 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
16004 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16005 # Warning - without using the other run time loading flags,
16006 # -berok will link without error, but may produce a broken library.
16007 no_undefined_flag_GCJ=' ${wl}-bernotok'
16008 allow_undefined_flag_GCJ=' ${wl}-berok'
16009 # -bexpall does not export symbols beginning with underscore (_)
16010 always_export_symbols_GCJ=yes
16011 # Exported symbols can be pulled into shared objects from archives
16012 whole_archive_flag_spec_GCJ=' '
16013 archive_cmds_need_lc_GCJ=yes
16014 # This is similar to how AIX traditionally builds it's shared libraries.
16015 archive_expsym_cmds_GCJ="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16021 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16022 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16023 hardcode_minus_L_GCJ
=yes
16024 # see comment about different semantics on the GNU ld section
16029 export_dynamic_flag_spec_GCJ
=-rdynamic
16032 cygwin
* | mingw
* | pw32
*)
16033 # When not using gcc, we currently assume that we are using
16034 # Microsoft Visual C++.
16035 # hardcode_libdir_flag_spec is actually meaningless, as there is
16036 # no search path for DLLs.
16037 hardcode_libdir_flag_spec_GCJ
=' '
16038 allow_undefined_flag_GCJ
=unsupported
16039 # Tell ltmain to make .lib files, not .a files.
16041 # Tell ltmain to make .dll files, not .so files.
16043 # FIXME: Setting linknames here is a bad hack.
16044 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16045 # The linker will automatically build a .lib file if we build a DLL.
16046 old_archive_From_new_cmds_GCJ
='true'
16047 # FIXME: Should let the user specify the lib program.
16048 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16049 fix_srcfile_path
='`cygpath -w "$srcfile"`'
16050 enable_shared_with_static_runtimes_GCJ
=yes
16053 darwin
* | rhapsody
*)
16054 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
16055 archive_cmds_need_lc_GCJ
=no
16057 rhapsody
* | darwin1.
[012])
16058 allow_undefined_flag_GCJ
='-undefined suppress'
16061 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ
='-flat_namespace -undefined suppress'
16064 # FIXME: Relying on posixy $() will cause problems for
16065 # cross-compilation, but unfortunately the echo tests do not
16066 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
16067 # `"' quotes if we put them in here... so don't!
16068 lt_int_apple_cc_single_mod
=no
16069 output_verbose_link_cmd
='echo'
16070 if $CC -dumpspecs 2>&1 |
grep 'single_module' >/dev
/null
; then
16071 lt_int_apple_cc_single_mod
=yes
16073 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16074 archive_cmds_GCJ
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16076 archive_cmds_GCJ
='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16078 module_cmds_GCJ
='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
16079 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16080 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
16081 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16083 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16085 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16086 hardcode_direct_GCJ
=no
16087 hardcode_automatic_GCJ
=yes
16088 hardcode_shlibpath_var_GCJ
=unsupported
16089 whole_archive_flag_spec_GCJ
='-all_load $convenience'
16090 link_all_deplibs_GCJ
=yes
16095 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16096 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16097 hardcode_shlibpath_var_GCJ
=no
16104 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16105 # support. Future versions do this automatically, but an explicit c++rt0.o
16106 # does not break anything, and helps significantly (at the cost of a little
16109 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16110 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16111 hardcode_direct_GCJ
=yes
16112 hardcode_shlibpath_var_GCJ
=no
16115 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16117 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16118 hardcode_direct_GCJ
=yes
16119 hardcode_minus_L_GCJ
=yes
16120 hardcode_shlibpath_var_GCJ
=no
16123 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16125 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16126 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16127 hardcode_direct_GCJ
=yes
16128 hardcode_shlibpath_var_GCJ
=no
16132 if test "$GCC" = yes; then
16133 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16135 archive_cmds_GCJ
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16137 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16138 hardcode_libdir_separator_GCJ
=:
16139 hardcode_direct_GCJ
=yes
16141 # hardcode_minus_L: Not really in the search PATH,
16142 # but as the default location of the library.
16143 hardcode_minus_L_GCJ
=yes
16144 export_dynamic_flag_spec_GCJ
='${wl}-E'
16148 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16149 case "$host_cpu" in
16151 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16154 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16158 case "$host_cpu" in
16160 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16163 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16167 if test "$with_gnu_ld" = no
; then
16168 case "$host_cpu" in
16170 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16171 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16172 hardcode_libdir_separator_GCJ
=:
16173 hardcode_direct_GCJ
=no
16174 hardcode_shlibpath_var_GCJ
=no
16177 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16178 hardcode_direct_GCJ
=no
16179 hardcode_shlibpath_var_GCJ
=no
16181 # hardcode_minus_L: Not really in the search PATH,
16182 # but as the default location of the library.
16183 hardcode_minus_L_GCJ
=yes
16186 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16187 hardcode_libdir_separator_GCJ
=:
16188 hardcode_direct_GCJ
=yes
16189 export_dynamic_flag_spec_GCJ
='${wl}-E'
16191 # hardcode_minus_L: Not really in the search PATH,
16192 # but as the default location of the library.
16193 hardcode_minus_L_GCJ
=yes
16199 irix5
* | irix6
* | nonstopux
*)
16200 if test "$GCC" = yes; then
16201 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'
16203 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'
16204 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16206 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16207 hardcode_libdir_separator_GCJ
=:
16208 link_all_deplibs_GCJ
=yes
16212 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16213 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16215 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16217 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16218 hardcode_direct_GCJ
=yes
16219 hardcode_shlibpath_var_GCJ
=no
16223 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16224 hardcode_direct_GCJ
=yes
16225 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16226 hardcode_libdir_separator_GCJ
=:
16227 hardcode_shlibpath_var_GCJ
=no
16231 hardcode_direct_GCJ
=yes
16232 hardcode_shlibpath_var_GCJ
=no
16233 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16234 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16235 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16236 export_dynamic_flag_spec_GCJ
='${wl}-E'
16239 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16240 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16241 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16244 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16245 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16252 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16253 hardcode_minus_L_GCJ
=yes
16254 allow_undefined_flag_GCJ
=unsupported
16255 archive_cmds_GCJ
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
16256 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16260 if test "$GCC" = yes; then
16261 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16262 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'
16264 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16265 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'
16267 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16268 hardcode_libdir_separator_GCJ
=:
16271 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16272 if test "$GCC" = yes; then
16273 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16274 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'
16275 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16277 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16278 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'
16279 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~
16280 $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~$rm $lib.exp'
16282 # Both c and cxx compiler support -rpath directly
16283 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16285 hardcode_libdir_separator_GCJ
=:
16289 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16290 hardcode_shlibpath_var_GCJ
=no
16291 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
16292 runpath_var
=LD_RUN_PATH
16293 hardcode_runpath_var
=yes
16297 no_undefined_flag_GCJ
=' -z text'
16298 if test "$GCC" = yes; then
16299 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16300 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16301 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16303 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16304 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16305 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16307 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16308 hardcode_shlibpath_var_GCJ
=no
16310 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16311 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16312 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
16314 link_all_deplibs_GCJ
=yes
16318 if test "x$host_vendor" = xsequent
; then
16319 # Use $CC to link under sequent, because it throws in some extra .o
16320 # files that make .init and .fini sections work.
16321 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16323 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16325 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16326 hardcode_direct_GCJ
=yes
16327 hardcode_minus_L_GCJ
=yes
16328 hardcode_shlibpath_var_GCJ
=no
16332 case $host_vendor in
16334 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16335 hardcode_direct_GCJ
=yes # is this really true???
16338 ## LD is ld it makes a PLAMLIB
16339 ## CC just makes a GrossModule.
16340 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16341 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
16342 hardcode_direct_GCJ
=no
16345 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16346 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
16349 runpath_var
='LD_RUN_PATH'
16350 hardcode_shlibpath_var_GCJ
=no
16354 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16355 hardcode_shlibpath_var_GCJ
=no
16356 export_dynamic_flag_spec_GCJ
='-Bexport'
16360 if test -d /usr
/nec
; then
16361 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16362 hardcode_shlibpath_var_GCJ
=no
16363 runpath_var
=LD_RUN_PATH
16364 hardcode_runpath_var
=yes
16370 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16371 hardcode_direct_GCJ
=yes
16372 hardcode_minus_L_GCJ
=no
16373 hardcode_shlibpath_var_GCJ
=no
16374 hardcode_runpath_var
=yes
16375 runpath_var
=LD_RUN_PATH
16378 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
16379 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
16380 if test "$GCC" = yes; then
16381 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16383 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16385 runpath_var
='LD_RUN_PATH'
16386 hardcode_shlibpath_var_GCJ
=no
16390 no_undefined_flag_GCJ
=' -z text'
16391 # $CC -shared without GNU ld will not create a library from C++
16392 # object files and a static libstdc++, better avoid it by now
16393 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16394 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16395 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16396 hardcode_libdir_flag_spec_GCJ
=
16397 hardcode_shlibpath_var_GCJ
=no
16398 runpath_var
='LD_RUN_PATH'
16402 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16403 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16404 hardcode_shlibpath_var_GCJ
=no
16413 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16414 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16415 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
16417 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16418 if test "$GCC" = yes; then
16419 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16423 # Do we need to explicitly link libc?
16425 case "x$archive_cmds_need_lc_GCJ" in
16427 # Assume -lc should be added
16428 archive_cmds_need_lc_GCJ
=yes
16430 if test "$enable_shared" = yes && test "$GCC" = yes; then
16431 case $archive_cmds_GCJ in
16433 # FIXME: we may have to deal with multi-command sequences.
16436 # Test whether the compiler implicitly links with -lc since on some
16437 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16438 # to ld, don't add -lc before -lgcc.
16439 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16440 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16442 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16445 (eval $ac_compile) 2>&5
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); } 2>conftest.err
; then
16451 libobjs
=conftest.
$ac_objext
16453 wl
=$lt_prog_compiler_wl_GCJ
16459 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
16460 allow_undefined_flag_GCJ
=
16461 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16462 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }
16467 archive_cmds_need_lc_GCJ
=no
16469 archive_cmds_need_lc_GCJ
=yes
16471 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
16473 cat conftest.err
1>&5
16476 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16477 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16484 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16485 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16486 hardcode_action_GCJ
=
16487 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16488 test -n "$runpath_var GCJ" || \
16489 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16491 # We can hardcode non-existant directories.
16492 if test "$hardcode_direct_GCJ" != no
&&
16493 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16494 # have to relink, otherwise we might link with an installed library
16495 # when we should be linking with a yet-to-be-installed one
16496 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16497 test "$hardcode_minus_L_GCJ" != no
; then
16498 # Linking always hardcodes the temporary library directory.
16499 hardcode_action_GCJ
=relink
16501 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16502 hardcode_action_GCJ
=immediate
16505 # We cannot hardcode anything, or else we can only hardcode existing
16507 hardcode_action_GCJ
=unsupported
16509 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16510 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16512 if test "$hardcode_action_GCJ" = relink
; then
16513 # Fast installation is not supported
16514 enable_fast_install
=no
16515 elif test "$shlibpath_overrides_runpath" = yes ||
16516 test "$enable_shared" = no
; then
16517 # Fast installation is not necessary
16518 enable_fast_install
=needless
16523 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16524 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16525 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16526 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16527 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16528 echo "$as_me:$LINENO: result: yes" >&5
16529 echo "${ECHO_T}yes" >&6
16531 # FIXME - insert some real tests, host_os isn't really good enough
16534 if test -n "$STRIP" ; then
16535 striplib
="$STRIP -x"
16536 echo "$as_me:$LINENO: result: yes" >&5
16537 echo "${ECHO_T}yes" >&6
16539 echo "$as_me:$LINENO: result: no" >&5
16540 echo "${ECHO_T}no" >&6
16544 echo "$as_me:$LINENO: result: no" >&5
16545 echo "${ECHO_T}no" >&6
16550 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16551 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16552 library_names_spec
=
16553 libname_spec
='lib$name'
16557 postuninstall_cmds
=
16561 shlibpath_overrides_runpath
=unknown
16563 dynamic_linker
="$host_os ld.so"
16564 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16565 if test "$GCC" = yes; then
16566 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16567 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16568 # if the path contains ";" then we assume it to be the separator
16569 # otherwise default to the standard path separator (i.e. ":") - it is
16570 # assumed that no part of a normal pathname contains ";" but that should
16571 # okay in the real world where ";" in dirpaths is itself problematic.
16572 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16574 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16577 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16579 need_lib_prefix
=unknown
16580 hardcode_into_libs
=no
16582 # when you set need_version to no, make sure it does not cause -set_version
16583 # flags to be left without arguments
16584 need_version
=unknown
16589 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16590 shlibpath_var
=LIBPATH
16592 # AIX 3 has no versioning support, so we append a major version to the name.
16593 soname_spec
='${libname}${release}${shared_ext}$major'
16600 hardcode_into_libs
=yes
16601 if test "$host_cpu" = ia64
; then
16602 # AIX 5 supports IA64
16603 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16604 shlibpath_var
=LD_LIBRARY_PATH
16606 # With GCC up to 2.95.x, collect2 would create an import file
16607 # for dependence libraries. The import file would start with
16608 # the line `#! .'. This would cause the generated library to
16609 # depend on `.', always an invalid library. This was fixed in
16610 # development snapshots of GCC prior to 3.0.
16612 aix4 | aix4.
[01] | aix4.
[01].
*)
16613 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16615 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16618 can_build_shared
=no
16622 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16623 # soname into executable. Probably we can add versioning support to
16624 # collect2, so additional links can be useful in future.
16625 if test "$aix_use_runtimelinking" = yes; then
16626 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16627 # instead of lib<name>.a to let people know that these are not
16628 # typical AIX shared libraries.
16629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16631 # We preserve .a as extension for shared libraries through AIX4.2
16632 # and later when we are not doing run time linking.
16633 library_names_spec
='${libname}${release}.a $libname.a'
16634 soname_spec
='${libname}${release}${shared_ext}$major'
16636 shlibpath_var
=LIBPATH
16641 library_names_spec
='$libname.ixlibrary $libname.a'
16642 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16643 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'
16647 library_names_spec
='${libname}${shared_ext}'
16648 dynamic_linker
="$host_os ld.so"
16649 shlibpath_var
=LIBRARY_PATH
16655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16656 soname_spec
='${libname}${release}${shared_ext}$major'
16657 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16658 shlibpath_var
=LD_LIBRARY_PATH
16659 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16660 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16661 # the default ld.so.conf also contains /usr/contrib/lib and
16662 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16663 # libtool to hard-code these into programs
16666 cygwin
* | mingw
* | pw32
*)
16667 version_type
=windows
16672 case $GCC,$host_os in
16673 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16674 library_names_spec
='$libname.dll.a'
16675 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16676 postinstall_cmds
='base_file=`basename \${file}`~
16677 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16678 dldir=$destdir/`dirname \$dlpath`~
16679 test -d \$dldir || mkdir -p \$dldir~
16680 $install_prog $dir/$dlname \$dldir/$dlname'
16681 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16682 dlpath=$dir/\$dldll~
16684 shlibpath_overrides_runpath
=yes
16688 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16689 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16690 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
16693 # MinGW DLLs use traditional 'lib' prefix
16694 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16695 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16696 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16697 # It is most probably a Windows format PATH printed by
16698 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16699 # path with ; separators, and with drive letters. We can handle the
16700 # drive letters (cygwin fileutils understands them), so leave them,
16701 # especially as we might pass files found there to a mingw objdump,
16702 # which wouldn't understand a cygwinified path. Ahh.
16703 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16705 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16709 # pw32 DLLs use 'pw' prefix rather than 'lib'
16710 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16716 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16719 dynamic_linker
='Win32 ld.exe'
16720 # FIXME: first we should search . and the directory the executable is in
16724 darwin
* | rhapsody
*)
16725 dynamic_linker
="$host_os dyld"
16726 version_type
=darwin
16729 # FIXME: Relying on posixy $() will cause problems for
16730 # cross-compilation, but unfortunately the echo tests do not
16731 # yet detect zsh echo's removal of \ escapes.
16732 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16733 soname_spec
='${libname}${release}${major}$shared_ext'
16734 shlibpath_overrides_runpath
=yes
16735 shlibpath_var
=DYLD_LIBRARY_PATH
16736 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
16737 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16738 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
16739 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"`
16741 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16749 soname_spec
='${libname}${release}${shared_ext}$major'
16750 shlibpath_var
=LD_LIBRARY_PATH
16758 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16759 version_type
=freebsd-
$objformat
16760 case $version_type in
16762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16767 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16771 shlibpath_var
=LD_LIBRARY_PATH
16774 shlibpath_overrides_runpath
=yes
16776 freebsd3.01
* | freebsdelf3.01
*)
16777 shlibpath_overrides_runpath
=yes
16778 hardcode_into_libs
=yes
16781 shlibpath_overrides_runpath
=no
16782 hardcode_into_libs
=yes
16791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16792 soname_spec
='${libname}${release}${shared_ext}$major'
16793 shlibpath_var
=LD_LIBRARY_PATH
16794 hardcode_into_libs
=yes
16797 hpux9
* | hpux10
* | hpux11
*)
16798 # Give a soname corresponding to the major version so that dld.sl refuses to
16799 # link against other versions.
16803 case "$host_cpu" in
16806 hardcode_into_libs
=yes
16807 dynamic_linker
="$host_os dld.so"
16808 shlibpath_var
=LD_LIBRARY_PATH
16809 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16811 soname_spec
='${libname}${release}${shared_ext}$major'
16812 if test "X$HPUX_IA64_MODE" = X32
; then
16813 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16815 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16817 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16821 hardcode_into_libs
=yes
16822 dynamic_linker
="$host_os dld.sl"
16823 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16824 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16826 soname_spec
='${libname}${release}${shared_ext}$major'
16827 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16828 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16832 dynamic_linker
="$host_os dld.sl"
16833 shlibpath_var
=SHLIB_PATH
16834 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16836 soname_spec
='${libname}${release}${shared_ext}$major'
16839 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16840 postinstall_cmds
='chmod 555 $lib'
16843 irix5
* | irix6
* | nonstopux
*)
16845 nonstopux
*) version_type
=nonstopux
;;
16847 if test "$lt_cv_prog_gnu_ld" = yes; then
16855 soname_spec
='${libname}${release}${shared_ext}$major'
16856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16858 irix5
* | nonstopux
*)
16859 libsuff
= shlibsuff
=
16862 case $LD in # libtool.m4 will add one of these switches to LD
16863 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16864 libsuff
= shlibsuff
= libmagic
=32-bit;;
16865 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16866 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16867 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16868 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16869 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16873 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16874 shlibpath_overrides_runpath
=no
16875 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16876 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16877 hardcode_into_libs
=yes
16880 # No shared lib support for Linux oldld, aout, or coff.
16881 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16885 # This must be Linux ELF.
16890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16891 soname_spec
='${libname}${release}${shared_ext}$major'
16892 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16893 shlibpath_var
=LD_LIBRARY_PATH
16894 shlibpath_overrides_runpath
=no
16895 # This implies no fast_install, which is unacceptable.
16896 # Some rework will be needed to allow for fast_install
16897 # before this can be enabled.
16898 hardcode_into_libs
=yes
16900 # We used to test for /lib/ld.so.1 and disable shared libraries on
16901 # powerpc, because MkLinux only supported shared libraries with the
16902 # GNU dynamic linker. Since this was broken with cross compilers,
16903 # most powerpc-linux boxes support dynamic linking these days and
16904 # people can always --disable-shared, the test was removed, and we
16905 # assume the GNU/Linux dynamic linker is in use.
16906 dynamic_linker
='GNU/Linux ld.so'
16913 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16915 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16916 dynamic_linker
='NetBSD (a.out) ld.so'
16918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16919 soname_spec
='${libname}${release}${shared_ext}$major'
16920 dynamic_linker
='NetBSD ld.elf_so'
16922 shlibpath_var
=LD_LIBRARY_PATH
16923 shlibpath_overrides_runpath
=yes
16924 hardcode_into_libs
=yes
16929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16930 shlibpath_var
=LD_LIBRARY_PATH
16931 shlibpath_overrides_runpath
=yes
16938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16939 soname_spec
='${libname}${release}${shared_ext}$major'
16940 shlibpath_var
=LD_LIBRARY_PATH
16941 shlibpath_overrides_runpath
=yes
16948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16949 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16950 shlibpath_var
=LD_LIBRARY_PATH
16951 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16953 openbsd2.
[89] | openbsd2.
[89].
*)
16954 shlibpath_overrides_runpath
=no
16957 shlibpath_overrides_runpath
=yes
16961 shlibpath_overrides_runpath
=yes
16966 libname_spec
='$name'
16969 library_names_spec
='$libname${shared_ext} $libname.a'
16970 dynamic_linker
='OS/2 ld.exe'
16971 shlibpath_var
=LIBPATH
16974 osf3
* | osf4
* | osf5
*)
16978 soname_spec
='${libname}${release}${shared_ext}$major'
16979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16980 shlibpath_var
=LD_LIBRARY_PATH
16981 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16982 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16987 soname_spec
='${libname}${release}${shared_ext}$major'
16988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16989 shlibpath_var
=LD_LIBRARY_PATH
16996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16997 soname_spec
='${libname}${release}${shared_ext}$major'
16998 shlibpath_var
=LD_LIBRARY_PATH
16999 shlibpath_overrides_runpath
=yes
17000 hardcode_into_libs
=yes
17001 # ldd complains unless libraries are executable
17002 postinstall_cmds
='chmod +x $lib'
17007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17008 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17009 shlibpath_var
=LD_LIBRARY_PATH
17010 shlibpath_overrides_runpath
=yes
17011 if test "$with_gnu_ld" = yes; then
17017 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17020 soname_spec
='${libname}${release}${shared_ext}$major'
17021 shlibpath_var
=LD_LIBRARY_PATH
17022 case $host_vendor in
17024 shlibpath_overrides_runpath
=no
17026 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17027 runpath_var
=LD_RUN_PATH
17035 shlibpath_overrides_runpath
=no
17036 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17042 if test -d /usr
/nec
;then
17044 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17045 soname_spec
='$libname${shared_ext}.$major'
17046 shlibpath_var
=LD_LIBRARY_PATH
17052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17053 soname_spec
='${libname}${release}${shared_ext}$major'
17054 shlibpath_var
=LD_LIBRARY_PATH
17061 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17062 echo "${ECHO_T}$dynamic_linker" >&6
17063 test "$dynamic_linker" = no
&& can_build_shared
=no
17065 if test "x$enable_dlopen" != xyes
; then
17066 enable_dlopen
=unknown
17067 enable_dlopen_self
=unknown
17068 enable_dlopen_self_static
=unknown
17075 lt_cv_dlopen
="load_add_on"
17077 lt_cv_dlopen_self
=yes
17081 lt_cv_dlopen
="LoadLibrary"
17086 lt_cv_dlopen
="dlopen"
17091 # if libdl is installed we need to link against it
17092 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17093 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17094 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17095 echo $ECHO_N "(cached) $ECHO_C" >&6
17097 ac_check_lib_save_LIBS
=$LIBS
17099 cat >conftest.
$ac_ext <<_ACEOF
17100 #line $LINENO "configure"
17103 cat confdefs.h
>>conftest.
$ac_ext
17104 cat >>conftest.
$ac_ext <<_ACEOF
17105 /* end confdefs.h. */
17107 /* Override any gcc2 internal prototype to avoid an error. */
17111 /* We use char because int might match the return type of a gcc2
17112 builtin and then its argument prototype would still apply. */
17122 rm -f conftest.
$ac_objext conftest
$ac_exeext
17123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17124 (eval $ac_link) 2>&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); } &&
17128 { ac_try
='test -s conftest$ac_exeext'
17129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17130 (eval $ac_try) 2>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); }; }; then
17134 ac_cv_lib_dl_dlopen
=yes
17136 echo "$as_me: failed program was:" >&5
17137 sed 's/^/| /' conftest.
$ac_ext >&5
17139 ac_cv_lib_dl_dlopen
=no
17141 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17142 LIBS
=$ac_check_lib_save_LIBS
17144 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17145 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17146 if test $ac_cv_lib_dl_dlopen = yes; then
17147 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17150 lt_cv_dlopen
="dyld"
17152 lt_cv_dlopen_self
=yes
17159 echo "$as_me:$LINENO: checking for shl_load" >&5
17160 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17161 if test "${ac_cv_func_shl_load+set}" = set; then
17162 echo $ECHO_N "(cached) $ECHO_C" >&6
17164 cat >conftest.
$ac_ext <<_ACEOF
17165 #line $LINENO "configure"
17168 cat confdefs.h
>>conftest.
$ac_ext
17169 cat >>conftest.
$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17171 /* System header to define __stub macros and hopefully few prototypes,
17172 which can conflict with char shl_load (); below.
17173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17174 <limits.h> exists even on freestanding compilers. */
17176 # include <limits.h>
17178 # include <assert.h>
17180 /* Override any gcc2 internal prototype to avoid an error. */
17185 /* We use char because int might match the return type of a gcc2
17186 builtin and then its argument prototype would still apply. */
17188 /* The GNU C library defines this for functions which it implements
17189 to always fail with ENOSYS. Some functions are actually named
17190 something starting with __ and the normal name is an alias. */
17191 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17194 char (*f) () = shl_load;
17203 return f != shl_load;
17208 rm -f conftest.
$ac_objext conftest
$ac_exeext
17209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17210 (eval $ac_link) 2>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try
='test -s conftest$ac_exeext'
17215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17216 (eval $ac_try) 2>&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); }; }; then
17220 ac_cv_func_shl_load
=yes
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.
$ac_ext >&5
17225 ac_cv_func_shl_load
=no
17227 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17229 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17230 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17231 if test $ac_cv_func_shl_load = yes; then
17232 lt_cv_dlopen
="shl_load"
17234 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17235 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17236 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 ac_check_lib_save_LIBS
=$LIBS
17241 cat >conftest.
$ac_ext <<_ACEOF
17242 #line $LINENO "configure"
17245 cat confdefs.h
>>conftest.
$ac_ext
17246 cat >>conftest.
$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17249 /* Override any gcc2 internal prototype to avoid an error. */
17253 /* We use char because int might match the return type of a gcc2
17254 builtin and then its argument prototype would still apply. */
17264 rm -f conftest.
$ac_objext conftest
$ac_exeext
17265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17266 (eval $ac_link) 2>&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); } &&
17270 { ac_try
='test -s conftest$ac_exeext'
17271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17272 (eval $ac_try) 2>&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); }; }; then
17276 ac_cv_lib_dld_shl_load
=yes
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.
$ac_ext >&5
17281 ac_cv_lib_dld_shl_load
=no
17283 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17284 LIBS
=$ac_check_lib_save_LIBS
17286 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17287 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17288 if test $ac_cv_lib_dld_shl_load = yes; then
17289 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
17291 echo "$as_me:$LINENO: checking for dlopen" >&5
17292 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17293 if test "${ac_cv_func_dlopen+set}" = set; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17296 cat >conftest.
$ac_ext <<_ACEOF
17297 #line $LINENO "configure"
17300 cat confdefs.h
>>conftest.
$ac_ext
17301 cat >>conftest.
$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303 /* System header to define __stub macros and hopefully few prototypes,
17304 which can conflict with char dlopen (); below.
17305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17306 <limits.h> exists even on freestanding compilers. */
17308 # include <limits.h>
17310 # include <assert.h>
17312 /* Override any gcc2 internal prototype to avoid an error. */
17317 /* We use char because int might match the return type of a gcc2
17318 builtin and then its argument prototype would still apply. */
17320 /* The GNU C library defines this for functions which it implements
17321 to always fail with ENOSYS. Some functions are actually named
17322 something starting with __ and the normal name is an alias. */
17323 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17326 char (*f) () = dlopen;
17335 return f != dlopen;
17340 rm -f conftest.
$ac_objext conftest
$ac_exeext
17341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17342 (eval $ac_link) 2>&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); } &&
17346 { ac_try
='test -s conftest$ac_exeext'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; }; then
17352 ac_cv_func_dlopen
=yes
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.
$ac_ext >&5
17357 ac_cv_func_dlopen
=no
17359 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17361 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17362 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17363 if test $ac_cv_func_dlopen = yes; then
17364 lt_cv_dlopen
="dlopen"
17366 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17367 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17368 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17369 echo $ECHO_N "(cached) $ECHO_C" >&6
17371 ac_check_lib_save_LIBS
=$LIBS
17373 cat >conftest.
$ac_ext <<_ACEOF
17374 #line $LINENO "configure"
17377 cat confdefs.h
>>conftest.
$ac_ext
17378 cat >>conftest.
$ac_ext <<_ACEOF
17379 /* end confdefs.h. */
17381 /* Override any gcc2 internal prototype to avoid an error. */
17385 /* We use char because int might match the return type of a gcc2
17386 builtin and then its argument prototype would still apply. */
17396 rm -f conftest.
$ac_objext conftest
$ac_exeext
17397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17398 (eval $ac_link) 2>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } &&
17402 { ac_try
='test -s conftest$ac_exeext'
17403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404 (eval $ac_try) 2>&5
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; }; then
17408 ac_cv_lib_dl_dlopen
=yes
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.
$ac_ext >&5
17413 ac_cv_lib_dl_dlopen
=no
17415 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17416 LIBS
=$ac_check_lib_save_LIBS
17418 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17419 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17420 if test $ac_cv_lib_dl_dlopen = yes; then
17421 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17423 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17424 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17425 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 ac_check_lib_save_LIBS
=$LIBS
17429 LIBS
="-lsvld $LIBS"
17430 cat >conftest.
$ac_ext <<_ACEOF
17431 #line $LINENO "configure"
17434 cat confdefs.h
>>conftest.
$ac_ext
17435 cat >>conftest.
$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17438 /* Override any gcc2 internal prototype to avoid an error. */
17442 /* We use char because int might match the return type of a gcc2
17443 builtin and then its argument prototype would still apply. */
17453 rm -f conftest.
$ac_objext conftest
$ac_exeext
17454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17455 (eval $ac_link) 2>&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } &&
17459 { ac_try
='test -s conftest$ac_exeext'
17460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17461 (eval $ac_try) 2>&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }; }; then
17465 ac_cv_lib_svld_dlopen
=yes
17467 echo "$as_me: failed program was:" >&5
17468 sed 's/^/| /' conftest.
$ac_ext >&5
17470 ac_cv_lib_svld_dlopen
=no
17472 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17473 LIBS
=$ac_check_lib_save_LIBS
17475 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17476 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17477 if test $ac_cv_lib_svld_dlopen = yes; then
17478 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17480 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17481 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17482 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17483 echo $ECHO_N "(cached) $ECHO_C" >&6
17485 ac_check_lib_save_LIBS
=$LIBS
17487 cat >conftest.
$ac_ext <<_ACEOF
17488 #line $LINENO "configure"
17491 cat confdefs.h
>>conftest.
$ac_ext
17492 cat >>conftest.
$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17495 /* Override any gcc2 internal prototype to avoid an error. */
17499 /* We use char because int might match the return type of a gcc2
17500 builtin and then its argument prototype would still apply. */
17510 rm -f conftest.
$ac_objext conftest
$ac_exeext
17511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17512 (eval $ac_link) 2>&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); } &&
17516 { ac_try
='test -s conftest$ac_exeext'
17517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17518 (eval $ac_try) 2>&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); }; }; then
17522 ac_cv_lib_dld_dld_link
=yes
17524 echo "$as_me: failed program was:" >&5
17525 sed 's/^/| /' conftest.
$ac_ext >&5
17527 ac_cv_lib_dld_dld_link
=no
17529 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17530 LIBS
=$ac_check_lib_save_LIBS
17532 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17533 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17534 if test $ac_cv_lib_dld_dld_link = yes; then
17535 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
17556 if test "x$lt_cv_dlopen" != xno
; then
17562 case $lt_cv_dlopen in
17564 save_CPPFLAGS
="$CPPFLAGS"
17565 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
17567 save_LDFLAGS
="$LDFLAGS"
17568 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
17571 LIBS
="$lt_cv_dlopen_libs $LIBS"
17573 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17574 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17575 if test "${lt_cv_dlopen_self+set}" = set; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17578 if test "$cross_compiling" = yes; then :
17579 lt_cv_dlopen_self
=cross
17581 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
17582 lt_status
=$lt_dlunknown
17583 cat > conftest.
$ac_ext <<EOF
17584 #line 17584 "configure"
17585 #include "confdefs.h"
17594 # define LT_DLGLOBAL RTLD_GLOBAL
17597 # define LT_DLGLOBAL DL_GLOBAL
17599 # define LT_DLGLOBAL 0
17603 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17604 find out it does not work in some platform. */
17605 #ifndef LT_DLLAZY_OR_NOW
17607 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17610 # define LT_DLLAZY_OR_NOW DL_LAZY
17613 # define LT_DLLAZY_OR_NOW RTLD_NOW
17616 # define LT_DLLAZY_OR_NOW DL_NOW
17618 # define LT_DLLAZY_OR_NOW 0
17626 extern "C" void exit (int);
17629 void fnord() { int i=42;}
17632 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17633 int status = $lt_dlunknown;
17637 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17638 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17639 /* dlclose (self); */
17645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17646 (eval $ac_link) 2>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
17650 (.
/conftest
; exit; ) 2>/dev
/null
17652 case x
$lt_status in
17653 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
17654 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
17655 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
17658 # compilation failed
17659 lt_cv_dlopen_self
=no
17666 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17667 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17669 if test "x$lt_cv_dlopen_self" = xyes
; then
17670 LDFLAGS
="$LDFLAGS $link_static_flag"
17671 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17672 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17673 if test "${lt_cv_dlopen_self_static+set}" = set; then
17674 echo $ECHO_N "(cached) $ECHO_C" >&6
17676 if test "$cross_compiling" = yes; then :
17677 lt_cv_dlopen_self_static
=cross
17679 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
17680 lt_status
=$lt_dlunknown
17681 cat > conftest.
$ac_ext <<EOF
17682 #line 17682 "configure"
17683 #include "confdefs.h"
17692 # define LT_DLGLOBAL RTLD_GLOBAL
17695 # define LT_DLGLOBAL DL_GLOBAL
17697 # define LT_DLGLOBAL 0
17701 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17702 find out it does not work in some platform. */
17703 #ifndef LT_DLLAZY_OR_NOW
17705 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17708 # define LT_DLLAZY_OR_NOW DL_LAZY
17711 # define LT_DLLAZY_OR_NOW RTLD_NOW
17714 # define LT_DLLAZY_OR_NOW DL_NOW
17716 # define LT_DLLAZY_OR_NOW 0
17724 extern "C" void exit (int);
17727 void fnord() { int i=42;}
17730 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17731 int status = $lt_dlunknown;
17735 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17736 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17737 /* dlclose (self); */
17743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17744 (eval $ac_link) 2>&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
17748 (.
/conftest
; exit; ) 2>/dev
/null
17750 case x
$lt_status in
17751 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
17752 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
17753 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
17756 # compilation failed
17757 lt_cv_dlopen_self_static
=no
17764 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17765 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17768 CPPFLAGS
="$save_CPPFLAGS"
17769 LDFLAGS
="$save_LDFLAGS"
17774 case $lt_cv_dlopen_self in
17775 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
17776 *) enable_dlopen_self
=unknown
;;
17779 case $lt_cv_dlopen_self_static in
17780 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
17781 *) enable_dlopen_self_static
=unknown
;;
17786 # The else clause should only fire when bootstrapping the
17787 # libtool distribution, otherwise you forgot to ship ltmain.sh
17788 # with your package, and you will get complaints that there are
17789 # no rules to generate ltmain.sh.
17790 if test -f "$ltmain"; then
17791 # See if we are running on zsh, and set the options which allow our commands through
17792 # without removal of \ escapes.
17793 if test -n "${ZSH_VERSION+set}" ; then
17794 setopt NO_GLOB_SUBST
17796 # Now quote all the things that may contain metacharacters while being
17797 # careful not to overquote the AC_SUBSTed values. We take copies of the
17798 # variables and quote the copies for generation of the libtool script.
17799 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17800 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17801 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17802 deplibs_check_method reload_flag reload_cmds need_locks \
17803 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17804 lt_cv_sys_global_symbol_to_c_name_address \
17805 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17806 old_postinstall_cmds old_postuninstall_cmds \
17810 lt_prog_compiler_wl_GCJ \
17811 lt_prog_compiler_pic_GCJ \
17812 lt_prog_compiler_static_GCJ \
17813 lt_prog_compiler_no_builtin_flag_GCJ \
17814 export_dynamic_flag_spec_GCJ \
17815 thread_safe_flag_spec_GCJ \
17816 whole_archive_flag_spec_GCJ \
17817 enable_shared_with_static_runtimes_GCJ \
17818 old_archive_cmds_GCJ \
17819 old_archive_from_new_cmds_GCJ \
17820 predep_objects_GCJ \
17821 postdep_objects_GCJ \
17824 compiler_lib_search_path_GCJ \
17826 archive_expsym_cmds_GCJ \
17827 postinstall_cmds_GCJ \
17828 postuninstall_cmds_GCJ \
17829 old_archive_from_expsyms_cmds_GCJ \
17830 allow_undefined_flag_GCJ \
17831 no_undefined_flag_GCJ \
17832 export_symbols_cmds_GCJ \
17833 hardcode_libdir_flag_spec_GCJ \
17834 hardcode_libdir_flag_spec_ld_GCJ \
17835 hardcode_libdir_separator_GCJ \
17836 hardcode_automatic_GCJ \
17838 module_expsym_cmds_GCJ \
17839 lt_cv_prog_compiler_c_o_GCJ \
17840 exclude_expsyms_GCJ \
17841 include_expsyms_GCJ
; do
17844 old_archive_cmds_GCJ | \
17845 old_archive_from_new_cmds_GCJ | \
17846 archive_cmds_GCJ | \
17847 archive_expsym_cmds_GCJ | \
17848 module_cmds_GCJ | \
17849 module_expsym_cmds_GCJ | \
17850 old_archive_from_expsyms_cmds_GCJ | \
17851 export_symbols_cmds_GCJ | \
17852 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17853 postinstall_cmds | postuninstall_cmds | \
17854 old_postinstall_cmds | old_postuninstall_cmds | \
17855 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17856 # Double-quote double-evaled strings.
17857 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17860 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17866 *'\$0 --fallback-echo"')
17867 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17873 cat <<__EOF__ >> "$cfgfile"
17874 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17876 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17878 # Shell to use when invoking shell scripts.
17881 # Whether or not to build shared libraries.
17882 build_libtool_libs=$enable_shared
17884 # Whether or not to build static libraries.
17885 build_old_libs=$enable_static
17887 # Whether or not to add -lc for building shared libraries.
17888 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17890 # Whether or not to disallow shared libs when runtime libs are static
17891 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17893 # Whether or not to optimize for fast installation.
17894 fast_install=$enable_fast_install
17897 host_alias=$host_alias
17900 # An echo program that does not interpret backslashes.
17905 AR_FLAGS=$lt_AR_FLAGS
17910 # A language-specific compiler.
17911 CC=$lt_compiler_GCJ
17913 # Is the compiler the GNU C compiler?
17919 # The linker used to build libraries.
17922 # Whether we need hard or soft links.
17925 # A BSD-compatible nm program.
17928 # A symbol stripping program
17931 # Used to examine libraries when file_magic_cmd begins "file"
17932 MAGIC_CMD=$MAGIC_CMD
17934 # Used on cygwin: DLL creation program.
17937 # Used on cygwin: object dumper.
17940 # Used on cygwin: assembler.
17943 # The name of the directory that contains temporary libtool files.
17946 # How to create reloadable object files.
17947 reload_flag=$lt_reload_flag
17948 reload_cmds=$lt_reload_cmds
17950 # How to pass a linker flag through the compiler.
17951 wl=$lt_lt_prog_compiler_wl_GCJ
17953 # Object file suffix (normally "o").
17954 objext="$ac_objext"
17956 # Old archive suffix (normally "a").
17959 # Shared library suffix (normally ".so").
17962 # Executable file suffix (normally "").
17965 # Additional compiler flags for building library objects.
17966 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17969 # What is the maximum length of a command?
17970 max_cmd_len=$lt_cv_sys_max_cmd_len
17972 # Does compiler simultaneously support -c and -o options?
17973 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17975 # Must we lock files when doing compilation ?
17976 need_locks=$lt_need_locks
17978 # Do we need the lib prefix for modules?
17979 need_lib_prefix=$need_lib_prefix
17981 # Do we need a version for libraries?
17982 need_version=$need_version
17984 # Whether dlopen is supported.
17985 dlopen_support=$enable_dlopen
17987 # Whether dlopen of programs is supported.
17988 dlopen_self=$enable_dlopen_self
17990 # Whether dlopen of statically linked programs is supported.
17991 dlopen_self_static=$enable_dlopen_self_static
17993 # Compiler flag to prevent dynamic linking.
17994 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17996 # Compiler flag to turn off builtin functions.
17997 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17999 # Compiler flag to allow reflexive dlopens.
18000 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18002 # Compiler flag to generate shared objects directly from archives.
18003 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18005 # Compiler flag to generate thread-safe objects.
18006 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18008 # Library versioning type.
18009 version_type=$version_type
18011 # Format of library name prefix.
18012 libname_spec=$lt_libname_spec
18014 # List of archive names. First name is the real one, the rest are links.
18015 # The last name is the one that the linker finds with -lNAME.
18016 library_names_spec=$lt_library_names_spec
18018 # The coded name of the library, if different from the real name.
18019 soname_spec=$lt_soname_spec
18021 # Commands used to build and install an old-style archive.
18023 old_archive_cmds=$lt_old_archive_cmds_GCJ
18024 old_postinstall_cmds=$lt_old_postinstall_cmds
18025 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18027 # Create an old-style archive from a shared archive.
18028 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18030 # Create a temporary old-style archive to link instead of a shared archive.
18031 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18033 # Commands used to build and install a shared archive.
18034 archive_cmds=$lt_archive_cmds_GCJ
18035 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18036 postinstall_cmds=$lt_postinstall_cmds
18037 postuninstall_cmds=$lt_postuninstall_cmds
18039 # Commands used to build a loadable module (assumed same as above if empty)
18040 module_cmds=$lt_module_cmds_GCJ
18041 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18043 # Commands to strip libraries.
18044 old_striplib=$lt_old_striplib
18045 striplib=$lt_striplib
18047 # Dependencies to place before the objects being linked to create a
18049 predep_objects=$lt_predep_objects_GCJ
18051 # Dependencies to place after the objects being linked to create a
18053 postdep_objects=$lt_postdep_objects_GCJ
18055 # Dependencies to place before the objects being linked to create a
18057 predeps=$lt_predeps_GCJ
18059 # Dependencies to place after the objects being linked to create a
18061 postdeps=$lt_postdeps_GCJ
18063 # The library search path used internally by the compiler when linking
18064 # a shared library.
18065 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18067 # Method to check whether dependent libraries are shared objects.
18068 deplibs_check_method=$lt_deplibs_check_method
18070 # Command to use when deplibs_check_method == file_magic.
18071 file_magic_cmd=$lt_file_magic_cmd
18073 # Flag that allows shared libraries with undefined symbols to be built.
18074 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18076 # Flag that forces no undefined symbols.
18077 no_undefined_flag=$lt_no_undefined_flag_GCJ
18079 # Commands used to finish a libtool library installation in a directory.
18080 finish_cmds=$lt_finish_cmds
18082 # Same as above, but a single script fragment to be evaled but not shown.
18083 finish_eval=$lt_finish_eval
18085 # Take the output of nm and produce a listing of raw symbols and C names.
18086 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18088 # Transform the output of nm in a proper C declaration
18089 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18091 # Transform the output of nm in a C name address pair
18092 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18094 # This is the shared library runtime path variable.
18095 runpath_var=$runpath_var
18097 # This is the shared library path variable.
18098 shlibpath_var=$shlibpath_var
18100 # Is shlibpath searched before the hard-coded library search path?
18101 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18103 # How to hardcode a shared library path into an executable.
18104 hardcode_action=$hardcode_action_GCJ
18106 # Whether we should hardcode library paths into libraries.
18107 hardcode_into_libs=$hardcode_into_libs
18109 # Flag to hardcode \$libdir into a binary during linking.
18110 # This must work even if \$libdir does not exist.
18111 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18113 # If ld is used when linking, flag to hardcode \$libdir into
18114 # a binary during linking. This must work even if \$libdir does
18116 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18118 # Whether we need a single -rpath flag with a separated argument.
18119 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18121 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18122 # resulting binary.
18123 hardcode_direct=$hardcode_direct_GCJ
18125 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18126 # resulting binary.
18127 hardcode_minus_L=$hardcode_minus_L_GCJ
18129 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18130 # the resulting binary.
18131 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18133 # Set to yes if building a shared library automatically hardcodes DIR into the library
18134 # and all subsequent libraries and executables linked against it.
18135 hardcode_automatic=$hardcode_automatic_GCJ
18137 # Variables whose values should be saved in libtool wrapper scripts and
18138 # restored at relink time.
18139 variables_saved_for_relink="$variables_saved_for_relink"
18141 # Whether libtool must link a program against all its dependency libraries.
18142 link_all_deplibs=$link_all_deplibs_GCJ
18144 # Compile-time system search path for libraries
18145 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18147 # Run-time system search path for libraries
18148 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18150 # Fix the shell variable \$srcfile for the compiler.
18151 fix_srcfile_path="$fix_srcfile_path_GCJ"
18153 # Set to yes if exported symbols are required.
18154 always_export_symbols=$always_export_symbols_GCJ
18156 # The commands to list exported symbols.
18157 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18159 # The commands to extract the exported symbol list from a shared archive.
18160 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18162 # Symbols that should not be listed in the preloaded symbols.
18163 exclude_expsyms=$lt_exclude_expsyms_GCJ
18165 # Symbols that must always be exported.
18166 include_expsyms=$lt_include_expsyms_GCJ
18168 # ### END LIBTOOL TAG CONFIG: $tagname
18174 # If there is no Makefile yet, we rely on a make rule to execute
18175 # `config.status --recheck' to rerun these tests and create the
18176 # libtool script then.
18177 test -f Makefile
&& make "$ltmain"
18182 ac_cpp
='$CPP $CPPFLAGS'
18183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18198 # Source file extension for RC test sources.
18201 # Object file extension for compiled RC test sources.
18205 # Code to be used in simple compile tests
18206 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18208 # Code to be used in simple link tests
18209 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18211 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18213 # If no C compiler was specified, use CC.
18216 # Allow CC to be a program name with arguments.
18220 # Allow CC to be a program name with arguments.
18225 lt_cv_prog_compiler_c_o_RC
=yes
18227 # The else clause should only fire when bootstrapping the
18228 # libtool distribution, otherwise you forgot to ship ltmain.sh
18229 # with your package, and you will get complaints that there are
18230 # no rules to generate ltmain.sh.
18231 if test -f "$ltmain"; then
18232 # See if we are running on zsh, and set the options which allow our commands through
18233 # without removal of \ escapes.
18234 if test -n "${ZSH_VERSION+set}" ; then
18235 setopt NO_GLOB_SUBST
18237 # Now quote all the things that may contain metacharacters while being
18238 # careful not to overquote the AC_SUBSTed values. We take copies of the
18239 # variables and quote the copies for generation of the libtool script.
18240 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18241 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18242 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18243 deplibs_check_method reload_flag reload_cmds need_locks \
18244 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18245 lt_cv_sys_global_symbol_to_c_name_address \
18246 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18247 old_postinstall_cmds old_postuninstall_cmds \
18251 lt_prog_compiler_wl_RC \
18252 lt_prog_compiler_pic_RC \
18253 lt_prog_compiler_static_RC \
18254 lt_prog_compiler_no_builtin_flag_RC \
18255 export_dynamic_flag_spec_RC \
18256 thread_safe_flag_spec_RC \
18257 whole_archive_flag_spec_RC \
18258 enable_shared_with_static_runtimes_RC \
18259 old_archive_cmds_RC \
18260 old_archive_from_new_cmds_RC \
18261 predep_objects_RC \
18262 postdep_objects_RC \
18265 compiler_lib_search_path_RC \
18267 archive_expsym_cmds_RC \
18268 postinstall_cmds_RC \
18269 postuninstall_cmds_RC \
18270 old_archive_from_expsyms_cmds_RC \
18271 allow_undefined_flag_RC \
18272 no_undefined_flag_RC \
18273 export_symbols_cmds_RC \
18274 hardcode_libdir_flag_spec_RC \
18275 hardcode_libdir_flag_spec_ld_RC \
18276 hardcode_libdir_separator_RC \
18277 hardcode_automatic_RC \
18279 module_expsym_cmds_RC \
18280 lt_cv_prog_compiler_c_o_RC \
18281 exclude_expsyms_RC \
18282 include_expsyms_RC
; do
18285 old_archive_cmds_RC | \
18286 old_archive_from_new_cmds_RC | \
18287 archive_cmds_RC | \
18288 archive_expsym_cmds_RC | \
18290 module_expsym_cmds_RC | \
18291 old_archive_from_expsyms_cmds_RC | \
18292 export_symbols_cmds_RC | \
18293 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18294 postinstall_cmds | postuninstall_cmds | \
18295 old_postinstall_cmds | old_postuninstall_cmds | \
18296 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18297 # Double-quote double-evaled strings.
18298 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18301 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18307 *'\$0 --fallback-echo"')
18308 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18314 cat <<__EOF__ >> "$cfgfile"
18315 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18317 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18319 # Shell to use when invoking shell scripts.
18322 # Whether or not to build shared libraries.
18323 build_libtool_libs=$enable_shared
18325 # Whether or not to build static libraries.
18326 build_old_libs=$enable_static
18328 # Whether or not to add -lc for building shared libraries.
18329 build_libtool_need_lc=$archive_cmds_need_lc_RC
18331 # Whether or not to disallow shared libs when runtime libs are static
18332 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18334 # Whether or not to optimize for fast installation.
18335 fast_install=$enable_fast_install
18338 host_alias=$host_alias
18341 # An echo program that does not interpret backslashes.
18346 AR_FLAGS=$lt_AR_FLAGS
18351 # A language-specific compiler.
18354 # Is the compiler the GNU C compiler?
18360 # The linker used to build libraries.
18363 # Whether we need hard or soft links.
18366 # A BSD-compatible nm program.
18369 # A symbol stripping program
18372 # Used to examine libraries when file_magic_cmd begins "file"
18373 MAGIC_CMD=$MAGIC_CMD
18375 # Used on cygwin: DLL creation program.
18378 # Used on cygwin: object dumper.
18381 # Used on cygwin: assembler.
18384 # The name of the directory that contains temporary libtool files.
18387 # How to create reloadable object files.
18388 reload_flag=$lt_reload_flag
18389 reload_cmds=$lt_reload_cmds
18391 # How to pass a linker flag through the compiler.
18392 wl=$lt_lt_prog_compiler_wl_RC
18394 # Object file suffix (normally "o").
18395 objext="$ac_objext"
18397 # Old archive suffix (normally "a").
18400 # Shared library suffix (normally ".so").
18403 # Executable file suffix (normally "").
18406 # Additional compiler flags for building library objects.
18407 pic_flag=$lt_lt_prog_compiler_pic_RC
18410 # What is the maximum length of a command?
18411 max_cmd_len=$lt_cv_sys_max_cmd_len
18413 # Does compiler simultaneously support -c and -o options?
18414 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18416 # Must we lock files when doing compilation ?
18417 need_locks=$lt_need_locks
18419 # Do we need the lib prefix for modules?
18420 need_lib_prefix=$need_lib_prefix
18422 # Do we need a version for libraries?
18423 need_version=$need_version
18425 # Whether dlopen is supported.
18426 dlopen_support=$enable_dlopen
18428 # Whether dlopen of programs is supported.
18429 dlopen_self=$enable_dlopen_self
18431 # Whether dlopen of statically linked programs is supported.
18432 dlopen_self_static=$enable_dlopen_self_static
18434 # Compiler flag to prevent dynamic linking.
18435 link_static_flag=$lt_lt_prog_compiler_static_RC
18437 # Compiler flag to turn off builtin functions.
18438 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18440 # Compiler flag to allow reflexive dlopens.
18441 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18443 # Compiler flag to generate shared objects directly from archives.
18444 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18446 # Compiler flag to generate thread-safe objects.
18447 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18449 # Library versioning type.
18450 version_type=$version_type
18452 # Format of library name prefix.
18453 libname_spec=$lt_libname_spec
18455 # List of archive names. First name is the real one, the rest are links.
18456 # The last name is the one that the linker finds with -lNAME.
18457 library_names_spec=$lt_library_names_spec
18459 # The coded name of the library, if different from the real name.
18460 soname_spec=$lt_soname_spec
18462 # Commands used to build and install an old-style archive.
18464 old_archive_cmds=$lt_old_archive_cmds_RC
18465 old_postinstall_cmds=$lt_old_postinstall_cmds
18466 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18468 # Create an old-style archive from a shared archive.
18469 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18471 # Create a temporary old-style archive to link instead of a shared archive.
18472 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18474 # Commands used to build and install a shared archive.
18475 archive_cmds=$lt_archive_cmds_RC
18476 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18477 postinstall_cmds=$lt_postinstall_cmds
18478 postuninstall_cmds=$lt_postuninstall_cmds
18480 # Commands used to build a loadable module (assumed same as above if empty)
18481 module_cmds=$lt_module_cmds_RC
18482 module_expsym_cmds=$lt_module_expsym_cmds_RC
18484 # Commands to strip libraries.
18485 old_striplib=$lt_old_striplib
18486 striplib=$lt_striplib
18488 # Dependencies to place before the objects being linked to create a
18490 predep_objects=$lt_predep_objects_RC
18492 # Dependencies to place after the objects being linked to create a
18494 postdep_objects=$lt_postdep_objects_RC
18496 # Dependencies to place before the objects being linked to create a
18498 predeps=$lt_predeps_RC
18500 # Dependencies to place after the objects being linked to create a
18502 postdeps=$lt_postdeps_RC
18504 # The library search path used internally by the compiler when linking
18505 # a shared library.
18506 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18508 # Method to check whether dependent libraries are shared objects.
18509 deplibs_check_method=$lt_deplibs_check_method
18511 # Command to use when deplibs_check_method == file_magic.
18512 file_magic_cmd=$lt_file_magic_cmd
18514 # Flag that allows shared libraries with undefined symbols to be built.
18515 allow_undefined_flag=$lt_allow_undefined_flag_RC
18517 # Flag that forces no undefined symbols.
18518 no_undefined_flag=$lt_no_undefined_flag_RC
18520 # Commands used to finish a libtool library installation in a directory.
18521 finish_cmds=$lt_finish_cmds
18523 # Same as above, but a single script fragment to be evaled but not shown.
18524 finish_eval=$lt_finish_eval
18526 # Take the output of nm and produce a listing of raw symbols and C names.
18527 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18529 # Transform the output of nm in a proper C declaration
18530 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18532 # Transform the output of nm in a C name address pair
18533 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18535 # This is the shared library runtime path variable.
18536 runpath_var=$runpath_var
18538 # This is the shared library path variable.
18539 shlibpath_var=$shlibpath_var
18541 # Is shlibpath searched before the hard-coded library search path?
18542 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18544 # How to hardcode a shared library path into an executable.
18545 hardcode_action=$hardcode_action_RC
18547 # Whether we should hardcode library paths into libraries.
18548 hardcode_into_libs=$hardcode_into_libs
18550 # Flag to hardcode \$libdir into a binary during linking.
18551 # This must work even if \$libdir does not exist.
18552 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18554 # If ld is used when linking, flag to hardcode \$libdir into
18555 # a binary during linking. This must work even if \$libdir does
18557 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18559 # Whether we need a single -rpath flag with a separated argument.
18560 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18562 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18563 # resulting binary.
18564 hardcode_direct=$hardcode_direct_RC
18566 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18567 # resulting binary.
18568 hardcode_minus_L=$hardcode_minus_L_RC
18570 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18571 # the resulting binary.
18572 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18574 # Set to yes if building a shared library automatically hardcodes DIR into the library
18575 # and all subsequent libraries and executables linked against it.
18576 hardcode_automatic=$hardcode_automatic_RC
18578 # Variables whose values should be saved in libtool wrapper scripts and
18579 # restored at relink time.
18580 variables_saved_for_relink="$variables_saved_for_relink"
18582 # Whether libtool must link a program against all its dependency libraries.
18583 link_all_deplibs=$link_all_deplibs_RC
18585 # Compile-time system search path for libraries
18586 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18588 # Run-time system search path for libraries
18589 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18591 # Fix the shell variable \$srcfile for the compiler.
18592 fix_srcfile_path="$fix_srcfile_path_RC"
18594 # Set to yes if exported symbols are required.
18595 always_export_symbols=$always_export_symbols_RC
18597 # The commands to list exported symbols.
18598 export_symbols_cmds=$lt_export_symbols_cmds_RC
18600 # The commands to extract the exported symbol list from a shared archive.
18601 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18603 # Symbols that should not be listed in the preloaded symbols.
18604 exclude_expsyms=$lt_exclude_expsyms_RC
18606 # Symbols that must always be exported.
18607 include_expsyms=$lt_include_expsyms_RC
18609 # ### END LIBTOOL TAG CONFIG: $tagname
18615 # If there is no Makefile yet, we rely on a make rule to execute
18616 # `config.status --recheck' to rerun these tests and create the
18617 # libtool script then.
18618 test -f Makefile
&& make "$ltmain"
18623 ac_cpp
='$CPP $CPPFLAGS'
18624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18633 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18634 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18635 { (exit 1); exit 1; }; }
18639 # Append the new tag name to the list of available tags.
18640 if test -n "$tagname" ; then
18641 available_tags
="$available_tags $tagname"
18647 # Now substitute the updated list of available tags.
18648 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18649 mv "${ofile}T" "$ofile"
18653 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18654 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18655 { (exit 1); exit 1; }; }
18661 # This can be used to rebuild libtool when needed
18662 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18664 # Always use our own libtool.
18665 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18667 # Prevent multiple expansion
18695 ac_header_dirent
=no
18696 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
18697 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
18698 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
18699 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
18700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18703 cat >conftest.
$ac_ext <<_ACEOF
18704 #line $LINENO "configure"
18707 cat confdefs.h
>>conftest.
$ac_ext
18708 cat >>conftest.
$ac_ext <<_ACEOF
18709 /* end confdefs.h. */
18710 #include <sys/types.h>
18722 rm -f conftest.
$ac_objext
18723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18724 (eval $ac_compile) 2>&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); } &&
18728 { ac_try
='test -s conftest.$ac_objext'
18729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18730 (eval $ac_try) 2>&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); }; }; then
18734 eval "$as_ac_Header=yes"
18736 echo "$as_me: failed program was:" >&5
18737 sed 's/^/| /' conftest.
$ac_ext >&5
18739 eval "$as_ac_Header=no"
18741 rm -f conftest.
$ac_objext conftest.
$ac_ext
18743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18746 cat >>confdefs.h
<<_ACEOF
18747 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
18750 ac_header_dirent
=$ac_hdr; break
18754 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
18755 if test $ac_header_dirent = dirent.h
; then
18756 echo "$as_me:$LINENO: checking for library containing opendir" >&5
18757 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
18758 if test "${ac_cv_search_opendir+set}" = set; then
18759 echo $ECHO_N "(cached) $ECHO_C" >&6
18761 ac_func_search_save_LIBS
=$LIBS
18762 ac_cv_search_opendir
=no
18763 cat >conftest.
$ac_ext <<_ACEOF
18764 #line $LINENO "configure"
18767 cat confdefs.h
>>conftest.
$ac_ext
18768 cat >>conftest.
$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18771 /* Override any gcc2 internal prototype to avoid an error. */
18775 /* We use char because int might match the return type of a gcc2
18776 builtin and then its argument prototype would still apply. */
18786 rm -f conftest.
$ac_objext conftest
$ac_exeext
18787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18788 (eval $ac_link) 2>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } &&
18792 { ac_try
='test -s conftest$ac_exeext'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; }; then
18798 ac_cv_search_opendir
="none required"
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.
$ac_ext >&5
18804 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18805 if test "$ac_cv_search_opendir" = no
; then
18806 for ac_lib
in dir
; do
18807 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18808 cat >conftest.
$ac_ext <<_ACEOF
18809 #line $LINENO "configure"
18812 cat confdefs.h
>>conftest.
$ac_ext
18813 cat >>conftest.
$ac_ext <<_ACEOF
18814 /* end confdefs.h. */
18816 /* Override any gcc2 internal prototype to avoid an error. */
18820 /* We use char because int might match the return type of a gcc2
18821 builtin and then its argument prototype would still apply. */
18831 rm -f conftest.
$ac_objext conftest
$ac_exeext
18832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18833 (eval $ac_link) 2>&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); } &&
18837 { ac_try
='test -s conftest$ac_exeext'
18838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18839 (eval $ac_try) 2>&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); }; }; then
18843 ac_cv_search_opendir
="-l$ac_lib"
18846 echo "$as_me: failed program was:" >&5
18847 sed 's/^/| /' conftest.
$ac_ext >&5
18850 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18853 LIBS
=$ac_func_search_save_LIBS
18855 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
18856 echo "${ECHO_T}$ac_cv_search_opendir" >&6
18857 if test "$ac_cv_search_opendir" != no
; then
18858 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
18863 echo "$as_me:$LINENO: checking for library containing opendir" >&5
18864 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
18865 if test "${ac_cv_search_opendir+set}" = set; then
18866 echo $ECHO_N "(cached) $ECHO_C" >&6
18868 ac_func_search_save_LIBS
=$LIBS
18869 ac_cv_search_opendir
=no
18870 cat >conftest.
$ac_ext <<_ACEOF
18871 #line $LINENO "configure"
18874 cat confdefs.h
>>conftest.
$ac_ext
18875 cat >>conftest.
$ac_ext <<_ACEOF
18876 /* end confdefs.h. */
18878 /* Override any gcc2 internal prototype to avoid an error. */
18882 /* We use char because int might match the return type of a gcc2
18883 builtin and then its argument prototype would still apply. */
18893 rm -f conftest.
$ac_objext conftest
$ac_exeext
18894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18895 (eval $ac_link) 2>&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); } &&
18899 { ac_try
='test -s conftest$ac_exeext'
18900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18901 (eval $ac_try) 2>&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); }; }; then
18905 ac_cv_search_opendir
="none required"
18907 echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.
$ac_ext >&5
18911 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18912 if test "$ac_cv_search_opendir" = no
; then
18913 for ac_lib
in x
; do
18914 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18915 cat >conftest.
$ac_ext <<_ACEOF
18916 #line $LINENO "configure"
18919 cat confdefs.h
>>conftest.
$ac_ext
18920 cat >>conftest.
$ac_ext <<_ACEOF
18921 /* end confdefs.h. */
18923 /* Override any gcc2 internal prototype to avoid an error. */
18927 /* We use char because int might match the return type of a gcc2
18928 builtin and then its argument prototype would still apply. */
18938 rm -f conftest.
$ac_objext conftest
$ac_exeext
18939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18940 (eval $ac_link) 2>&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); } &&
18944 { ac_try
='test -s conftest$ac_exeext'
18945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946 (eval $ac_try) 2>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; }; then
18950 ac_cv_search_opendir
="-l$ac_lib"
18953 echo "$as_me: failed program was:" >&5
18954 sed 's/^/| /' conftest.
$ac_ext >&5
18957 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18960 LIBS
=$ac_func_search_save_LIBS
18962 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
18963 echo "${ECHO_T}$ac_cv_search_opendir" >&6
18964 if test "$ac_cv_search_opendir" != no
; then
18965 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
18971 # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
18972 if test "${enable_ltdl_install+set}" = set; then
18973 enableval
="$enable_ltdl_install"
18979 if test x
"${enable_ltdl_install-no}" != xno
; then
18981 INSTALL_LTDL_FALSE
='#'
18983 INSTALL_LTDL_TRUE
='#'
18984 INSTALL_LTDL_FALSE
=
18989 if test x
"${enable_ltdl_convenience-no}" != xno
; then
18990 CONVENIENCE_LTDL_TRUE
=
18991 CONVENIENCE_LTDL_FALSE
='#'
18993 CONVENIENCE_LTDL_TRUE
='#'
18994 CONVENIENCE_LTDL_FALSE
=
18999 echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
19000 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6
19001 if test "${libltdl_cv_shlibext+set}" = set; then
19002 echo $ECHO_N "(cached) $ECHO_C" >&6
19005 # Here in libltdl for libgcj we don't build modules for darwin.
19006 # So we say no. Then the extension gets .dylib which is the right
19007 # thing for shared libraries on darwin.
19016 eval libltdl_cv_shlibext
=$shrext
19019 echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
19020 echo "${ECHO_T}$libltdl_cv_shlibext" >&6
19021 if test -n "$libltdl_cv_shlibext"; then
19023 cat >>confdefs.h
<<_ACEOF
19024 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
19030 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
19031 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
19032 if test "${libltdl_cv_shlibpath_var+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19035 libltdl_cv_shlibpath_var
="$shlibpath_var"
19037 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
19038 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
19039 if test -n "$libltdl_cv_shlibpath_var"; then
19041 cat >>confdefs.h
<<_ACEOF
19042 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
19048 echo "$as_me:$LINENO: checking for the default library search path" >&5
19049 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
19050 if test "${libltdl_cv_sys_search_path+set}" = set; then
19051 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
19055 echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
19056 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6
19057 if test -n "$libltdl_cv_sys_search_path"; then
19059 for dir
in $libltdl_cv_sys_search_path; do
19060 if test -z "$sys_search_path"; then
19061 sys_search_path
="$dir"
19063 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
19067 cat >>confdefs.h
<<_ACEOF
19068 #define LTDL_SYSSEARCHPATH "$sys_search_path"
19073 echo "$as_me:$LINENO: checking for objdir" >&5
19074 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
19075 if test "${libltdl_cv_objdir+set}" = set; then
19076 echo $ECHO_N "(cached) $ECHO_C" >&6
19078 libltdl_cv_objdir
="$objdir"
19079 if test -n "$objdir"; then
19082 rm -f .libs
2>/dev
/null
19083 mkdir .libs
2>/dev
/null
19084 if test -d .libs
; then
19085 libltdl_cv_objdir
=.libs
19087 # MS-DOS does not allow filenames that begin with a dot.
19088 libltdl_cv_objdir
=_libs
19090 rmdir .libs
2>/dev
/null
19094 echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
19095 echo "${ECHO_T}$libltdl_cv_objdir" >&6
19097 cat >>confdefs.h
<<_ACEOF
19098 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
19103 echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
19104 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
19105 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
19106 echo $ECHO_N "(cached) $ECHO_C" >&6
19108 if test -n "$lt_cv_sys_global_symbol_pipe"; then
19109 libltdl_cv_preloaded_symbols
=yes
19111 libltdl_cv_preloaded_symbols
=no
19115 echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
19116 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
19117 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
19119 cat >>confdefs.h
<<\_ACEOF
19120 #define HAVE_PRELOADED_SYMBOLS 1
19128 ac_cpp
='$CPP $CPPFLAGS'
19129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19134 echo "$as_me:$LINENO: checking for shl_load" >&5
19135 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19136 if test "${ac_cv_func_shl_load+set}" = set; then
19137 echo $ECHO_N "(cached) $ECHO_C" >&6
19139 cat >conftest.
$ac_ext <<_ACEOF
19140 #line $LINENO "configure"
19143 cat confdefs.h
>>conftest.
$ac_ext
19144 cat >>conftest.
$ac_ext <<_ACEOF
19145 /* end confdefs.h. */
19146 /* System header to define __stub macros and hopefully few prototypes,
19147 which can conflict with char shl_load (); below.
19148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19149 <limits.h> exists even on freestanding compilers. */
19151 # include <limits.h>
19153 # include <assert.h>
19155 /* Override any gcc2 internal prototype to avoid an error. */
19160 /* We use char because int might match the return type of a gcc2
19161 builtin and then its argument prototype would still apply. */
19163 /* The GNU C library defines this for functions which it implements
19164 to always fail with ENOSYS. Some functions are actually named
19165 something starting with __ and the normal name is an alias. */
19166 #if defined (__stub_shl_load) || defined (__stub___shl_load)
19169 char (*f) () = shl_load;
19178 return f != shl_load;
19183 rm -f conftest.
$ac_objext conftest
$ac_exeext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19185 (eval $ac_link) 2>&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } &&
19189 { ac_try
='test -s conftest$ac_exeext'
19190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191 (eval $ac_try) 2>&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); }; }; then
19195 ac_cv_func_shl_load
=yes
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.
$ac_ext >&5
19200 ac_cv_func_shl_load
=no
19202 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19204 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19205 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19206 if test $ac_cv_func_shl_load = yes; then
19208 cat >>confdefs.h
<<\_ACEOF
19209 #define HAVE_SHL_LOAD 1
19213 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19214 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19215 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19218 ac_check_lib_save_LIBS
=$LIBS
19220 cat >conftest.
$ac_ext <<_ACEOF
19221 #line $LINENO "configure"
19224 cat confdefs.h
>>conftest.
$ac_ext
19225 cat >>conftest.
$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19228 /* Override any gcc2 internal prototype to avoid an error. */
19232 /* We use char because int might match the return type of a gcc2
19233 builtin and then its argument prototype would still apply. */
19243 rm -f conftest.
$ac_objext conftest
$ac_exeext
19244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19245 (eval $ac_link) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try
='test -s conftest$ac_exeext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19255 ac_cv_lib_dld_shl_load
=yes
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.
$ac_ext >&5
19260 ac_cv_lib_dld_shl_load
=no
19262 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19263 LIBS
=$ac_check_lib_save_LIBS
19265 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19266 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19267 if test $ac_cv_lib_dld_shl_load = yes; then
19269 cat >>confdefs.h
<<\_ACEOF
19270 #define HAVE_SHL_LOAD 1
19273 LIBADD_DL
="$LIBADD_DL -ldld"
19275 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19276 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19277 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19278 echo $ECHO_N "(cached) $ECHO_C" >&6
19280 ac_check_lib_save_LIBS
=$LIBS
19282 cat >conftest.
$ac_ext <<_ACEOF
19283 #line $LINENO "configure"
19286 cat confdefs.h
>>conftest.
$ac_ext
19287 cat >>conftest.
$ac_ext <<_ACEOF
19288 /* end confdefs.h. */
19290 /* Override any gcc2 internal prototype to avoid an error. */
19294 /* We use char because int might match the return type of a gcc2
19295 builtin and then its argument prototype would still apply. */
19305 rm -f conftest.
$ac_objext conftest
$ac_exeext
19306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19307 (eval $ac_link) 2>&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } &&
19311 { ac_try
='test -s conftest$ac_exeext'
19312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19313 (eval $ac_try) 2>&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); }; }; then
19317 ac_cv_lib_dl_dlopen
=yes
19319 echo "$as_me: failed program was:" >&5
19320 sed 's/^/| /' conftest.
$ac_ext >&5
19322 ac_cv_lib_dl_dlopen
=no
19324 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19325 LIBS
=$ac_check_lib_save_LIBS
19327 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19328 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19329 if test $ac_cv_lib_dl_dlopen = yes; then
19331 cat >>confdefs.h
<<\_ACEOF
19332 #define HAVE_LIBDL 1
19335 LIBADD_DL
="-ldl" libltdl_cv_lib_dl_dlopen
="yes"
19337 cat >conftest.
$ac_ext <<_ACEOF
19338 #line $LINENO "configure"
19341 cat confdefs.h
>>conftest.
$ac_ext
19342 cat >>conftest.
$ac_ext <<_ACEOF
19343 /* end confdefs.h. */
19345 # include <dlfcn.h>
19356 rm -f conftest.
$ac_objext conftest
$ac_exeext
19357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19358 (eval $ac_link) 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); } &&
19362 { ac_try
='test -s conftest$ac_exeext'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; }; then
19369 cat >>confdefs.h
<<\_ACEOF
19370 #define HAVE_LIBDL 1
19372 libltdl_cv_func_dlopen
="yes"
19374 echo "$as_me: failed program was:" >&5
19375 sed 's/^/| /' conftest.
$ac_ext >&5
19377 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19378 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19379 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19382 ac_check_lib_save_LIBS
=$LIBS
19383 LIBS
="-lsvld $LIBS"
19384 cat >conftest.
$ac_ext <<_ACEOF
19385 #line $LINENO "configure"
19388 cat confdefs.h
>>conftest.
$ac_ext
19389 cat >>conftest.
$ac_ext <<_ACEOF
19390 /* end confdefs.h. */
19392 /* Override any gcc2 internal prototype to avoid an error. */
19396 /* We use char because int might match the return type of a gcc2
19397 builtin and then its argument prototype would still apply. */
19407 rm -f conftest.
$ac_objext conftest
$ac_exeext
19408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19409 (eval $ac_link) 2>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); } &&
19413 { ac_try
='test -s conftest$ac_exeext'
19414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415 (eval $ac_try) 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; }; then
19419 ac_cv_lib_svld_dlopen
=yes
19421 echo "$as_me: failed program was:" >&5
19422 sed 's/^/| /' conftest.
$ac_ext >&5
19424 ac_cv_lib_svld_dlopen
=no
19426 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19427 LIBS
=$ac_check_lib_save_LIBS
19429 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19430 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19431 if test $ac_cv_lib_svld_dlopen = yes; then
19433 cat >>confdefs.h
<<\_ACEOF
19434 #define HAVE_LIBDL 1
19437 LIBADD_DL
="-lsvld" libltdl_cv_func_dlopen
="yes"
19439 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19440 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19441 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19442 echo $ECHO_N "(cached) $ECHO_C" >&6
19444 ac_check_lib_save_LIBS
=$LIBS
19446 cat >conftest.
$ac_ext <<_ACEOF
19447 #line $LINENO "configure"
19450 cat confdefs.h
>>conftest.
$ac_ext
19451 cat >>conftest.
$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19454 /* Override any gcc2 internal prototype to avoid an error. */
19458 /* We use char because int might match the return type of a gcc2
19459 builtin and then its argument prototype would still apply. */
19469 rm -f conftest.
$ac_objext conftest
$ac_exeext
19470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19471 (eval $ac_link) 2>&5
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); } &&
19475 { ac_try
='test -s conftest$ac_exeext'
19476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19477 (eval $ac_try) 2>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); }; }; then
19481 ac_cv_lib_dld_dld_link
=yes
19483 echo "$as_me: failed program was:" >&5
19484 sed 's/^/| /' conftest.
$ac_ext >&5
19486 ac_cv_lib_dld_dld_link
=no
19488 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19489 LIBS
=$ac_check_lib_save_LIBS
19491 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19492 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19493 if test $ac_cv_lib_dld_dld_link = yes; then
19495 cat >>confdefs.h
<<\_ACEOF
19499 LIBADD_DL
="$LIBADD_DL -ldld"
19501 echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
19502 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
19503 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
19504 echo $ECHO_N "(cached) $ECHO_C" >&6
19506 cat >conftest.
$ac_ext <<_ACEOF
19507 #line $LINENO "configure"
19510 cat confdefs.h
>>conftest.
$ac_ext
19511 cat >>conftest.
$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19513 /* System header to define __stub macros and hopefully few prototypes,
19514 which can conflict with char _dyld_func_lookup (); below.
19515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19516 <limits.h> exists even on freestanding compilers. */
19518 # include <limits.h>
19520 # include <assert.h>
19522 /* Override any gcc2 internal prototype to avoid an error. */
19527 /* We use char because int might match the return type of a gcc2
19528 builtin and then its argument prototype would still apply. */
19529 char _dyld_func_lookup ();
19530 /* The GNU C library defines this for functions which it implements
19531 to always fail with ENOSYS. Some functions are actually named
19532 something starting with __ and the normal name is an alias. */
19533 #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
19536 char (*f) () = _dyld_func_lookup;
19545 return f != _dyld_func_lookup;
19550 rm -f conftest.
$ac_objext conftest
$ac_exeext
19551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19552 (eval $ac_link) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } &&
19556 { ac_try
='test -s conftest$ac_exeext'
19557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19558 (eval $ac_try) 2>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; }; then
19562 ac_cv_func__dyld_func_lookup
=yes
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.
$ac_ext >&5
19567 ac_cv_func__dyld_func_lookup
=no
19569 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19571 echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
19572 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
19573 if test $ac_cv_func__dyld_func_lookup = yes; then
19575 cat >>confdefs.h
<<\_ACEOF
19576 #define HAVE_DYLD 1
19589 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19600 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
19602 lt_save_LIBS
="$LIBS"
19603 LIBS
="$LIBS $LIBADD_DL"
19605 for ac_func
in dlerror
19607 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19608 echo "$as_me:$LINENO: checking for $ac_func" >&5
19609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19610 if eval "test \"\${$as_ac_var+set}\" = set"; then
19611 echo $ECHO_N "(cached) $ECHO_C" >&6
19613 cat >conftest.
$ac_ext <<_ACEOF
19614 #line $LINENO "configure"
19617 cat confdefs.h
>>conftest.
$ac_ext
19618 cat >>conftest.
$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620 /* System header to define __stub macros and hopefully few prototypes,
19621 which can conflict with char $ac_func (); below.
19622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19623 <limits.h> exists even on freestanding compilers. */
19625 # include <limits.h>
19627 # include <assert.h>
19629 /* Override any gcc2 internal prototype to avoid an error. */
19634 /* We use char because int might match the return type of a gcc2
19635 builtin and then its argument prototype would still apply. */
19637 /* The GNU C library defines this for functions which it implements
19638 to always fail with ENOSYS. Some functions are actually named
19639 something starting with __ and the normal name is an alias. */
19640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19643 char (*f) () = $ac_func;
19652 return f != $ac_func;
19657 rm -f conftest.
$ac_objext conftest
$ac_exeext
19658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19659 (eval $ac_link) 2>&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); } &&
19663 { ac_try
='test -s conftest$ac_exeext'
19664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19665 (eval $ac_try) 2>&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); }; }; then
19669 eval "$as_ac_var=yes"
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.
$ac_ext >&5
19674 eval "$as_ac_var=no"
19676 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19680 if test `eval echo '${'$as_ac_var'}'` = yes; then
19681 cat >>confdefs.h
<<_ACEOF
19682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19688 LIBS
="$lt_save_LIBS"
19691 ac_cpp
='$CPP $CPPFLAGS'
19692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19698 echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
19699 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
19700 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
19701 echo $ECHO_N "(cached) $ECHO_C" >&6
19703 ac_cv_sys_symbol_underscore
=no
19704 cat > conftest.
$ac_ext <<EOF
19705 void nm_test_func(){}
19706 int main(){nm_test_func;return 0;}
19708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19709 (eval $ac_compile) 2>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; then
19713 # Now try to grab the symbols.
19714 ac_nlist
=conftest.nm
19715 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
19716 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } && test -s "$ac_nlist"; then
19720 # See whether the symbols have a leading underscore.
19721 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
19722 ac_cv_sys_symbol_underscore
=yes
19724 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
19727 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
19731 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
19734 echo "configure: failed program was:" >&5
19740 echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
19741 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
19744 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
19745 if test x
"$libltdl_cv_func_dlopen" = xyes ||
19746 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
19747 echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
19748 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
19749 if test "${libltdl_cv_need_uscore+set}" = set; then
19750 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 libltdl_cv_need_uscore
=unknown
19754 LIBS
="$LIBS $LIBADD_DL"
19755 if test "$cross_compiling" = yes; then :
19756 libltdl_cv_need_uscore
=cross
19758 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
19759 lt_status
=$lt_dlunknown
19760 cat > conftest.
$ac_ext <<EOF
19761 #line 19761 "configure"
19762 #include "confdefs.h"
19771 # define LT_DLGLOBAL RTLD_GLOBAL
19774 # define LT_DLGLOBAL DL_GLOBAL
19776 # define LT_DLGLOBAL 0
19780 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19781 find out it does not work in some platform. */
19782 #ifndef LT_DLLAZY_OR_NOW
19784 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19787 # define LT_DLLAZY_OR_NOW DL_LAZY
19790 # define LT_DLLAZY_OR_NOW RTLD_NOW
19793 # define LT_DLLAZY_OR_NOW DL_NOW
19795 # define LT_DLLAZY_OR_NOW 0
19803 extern "C" void exit (int);
19806 void fnord() { int i=42;}
19809 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19810 int status = $lt_dlunknown;
19814 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19815 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19816 /* dlclose (self); */
19822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19823 (eval $ac_link) 2>&5
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
19827 (.
/conftest
; exit; ) 2>/dev
/null
19829 case x
$lt_status in
19830 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
19831 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
19832 x
$lt_unknown|x
*) ;;
19835 # compilation failed
19844 echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
19845 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
19849 if test x
"$libltdl_cv_need_uscore" = xyes
; then
19851 cat >>confdefs.h
<<\_ACEOF
19852 #define NEED_USCORE 1
19858 echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
19859 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
19860 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
19861 echo $ECHO_N "(cached) $ECHO_C" >&6
19863 # PORTME does your system automatically load deplibs for dlopen?
19864 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
19865 # For now, we just catch OSes we know something about -- in the
19866 # future, we'll try test this programmatically.
19867 libltdl_cv_sys_dlopen_deplibs
=unknown
19869 aix3
*|aix4.1.
*|aix4.2.
*)
19870 # Unknown whether this is true for these versions of AIX, but
19871 # we want this `case' here to explicitly catch those versions.
19872 libltdl_cv_sys_dlopen_deplibs
=unknown
19875 libltdl_cv_sys_dlopen_deplibs
=yes
19878 # Assuming the user has installed a libdl from somewhere, this is true
19879 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
19880 libltdl_cv_sys_dlopen_deplibs
=yes
19883 libltdl_cv_sys_dlopen_deplibs
=yes
19886 libltdl_cv_sys_dlopen_deplibs
=yes
19888 irix
[12345]*|irix6.
[01]*)
19889 # Catch all versions of IRIX before 6.2, and indicate that we don't
19890 # know how it worked for any of those versions.
19891 libltdl_cv_sys_dlopen_deplibs
=unknown
19894 # The case above catches anything before 6.2, and it's known that
19895 # at 6.2 and later dlopen does load deplibs.
19896 libltdl_cv_sys_dlopen_deplibs
=yes
19899 libltdl_cv_sys_dlopen_deplibs
=yes
19902 libltdl_cv_sys_dlopen_deplibs
=yes
19905 libltdl_cv_sys_dlopen_deplibs
=yes
19908 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
19909 # it did *not* use an RPATH in a shared library to find objects the
19910 # library depends on, so we explictly say `no'.
19911 libltdl_cv_sys_dlopen_deplibs
=no
19913 osf5.0|osf5.0a|osf5.1
)
19914 # dlopen *does* load deplibs and with the right loader patch applied
19915 # it even uses RPATH in a shared library to search for shared objects
19916 # that the library depends on, but there's no easy way to know if that
19917 # patch is installed. Since this is the case, all we can really
19918 # say is unknown -- it depends on the patch being installed. If
19919 # it is, this changes to `yes'. Without it, it would be `no'.
19920 libltdl_cv_sys_dlopen_deplibs
=unknown
19923 # the two cases above should catch all versions of osf <= 5.1. Read
19924 # the comments above for what we know about them.
19925 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
19926 # is used to find them so we can finally say `yes'.
19927 libltdl_cv_sys_dlopen_deplibs
=yes
19930 libltdl_cv_sys_dlopen_deplibs
=yes
19935 echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
19936 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6
19937 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
19939 cat >>confdefs.h
<<\_ACEOF
19940 #define LTDL_DLOPEN_DEPLIBS 1
19946 for ac_header
in argz.h
19948 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19950 echo "$as_me:$LINENO: checking for $ac_header" >&5
19951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19953 echo $ECHO_N "(cached) $ECHO_C" >&6
19955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19958 # Is the header compilable?
19959 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19961 cat >conftest.
$ac_ext <<_ACEOF
19962 #line $LINENO "configure"
19965 cat confdefs.h
>>conftest.
$ac_ext
19966 cat >>conftest.
$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19968 $ac_includes_default
19969 #include <$ac_header>
19971 rm -f conftest.
$ac_objext
19972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19973 (eval $ac_compile) 2>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } &&
19977 { ac_try
='test -s conftest.$ac_objext'
19978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19979 (eval $ac_try) 2>&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); }; }; then
19983 ac_header_compiler
=yes
19985 echo "$as_me: failed program was:" >&5
19986 sed 's/^/| /' conftest.
$ac_ext >&5
19988 ac_header_compiler
=no
19990 rm -f conftest.
$ac_objext conftest.
$ac_ext
19991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19992 echo "${ECHO_T}$ac_header_compiler" >&6
19994 # Is the header present?
19995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19997 cat >conftest.
$ac_ext <<_ACEOF
19998 #line $LINENO "configure"
20001 cat confdefs.h
>>conftest.
$ac_ext
20002 cat >>conftest.
$ac_ext <<_ACEOF
20003 /* end confdefs.h. */
20004 #include <$ac_header>
20006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20009 grep -v '^ *+' conftest.er1
>conftest.err
20011 cat conftest.err
>&5
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); } >/dev
/null
; then
20014 if test -s conftest.err
; then
20015 ac_cpp_err
=$ac_c_preproc_warn_flag
20022 if test -z "$ac_cpp_err"; then
20023 ac_header_preproc
=yes
20025 echo "$as_me: failed program was:" >&5
20026 sed 's/^/| /' conftest.
$ac_ext >&5
20028 ac_header_preproc
=no
20030 rm -f conftest.err conftest.
$ac_ext
20031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20032 echo "${ECHO_T}$ac_header_preproc" >&6
20034 # So? What about this header?
20035 case $ac_header_compiler:$ac_header_preproc in
20037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20043 ## ------------------------------------ ##
20044 ## Report this to bug-autoconf@gnu.org. ##
20045 ## ------------------------------------ ##
20048 sed "s/^/$as_me: WARNING: /" >&2
20051 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20052 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20053 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20054 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20059 ## ------------------------------------ ##
20060 ## Report this to bug-autoconf@gnu.org. ##
20061 ## ------------------------------------ ##
20064 sed "s/^/$as_me: WARNING: /" >&2
20067 echo "$as_me:$LINENO: checking for $ac_header" >&5
20068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20070 echo $ECHO_N "(cached) $ECHO_C" >&6
20072 eval "$as_ac_Header=$ac_header_preproc"
20074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20079 cat >>confdefs.h
<<_ACEOF
20080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20088 echo "$as_me:$LINENO: checking for error_t" >&5
20089 echo $ECHO_N "checking for error_t... $ECHO_C" >&6
20090 if test "${ac_cv_type_error_t+set}" = set; then
20091 echo $ECHO_N "(cached) $ECHO_C" >&6
20093 cat >conftest.
$ac_ext <<_ACEOF
20094 #line $LINENO "configure"
20097 cat confdefs.h
>>conftest.
$ac_ext
20098 cat >>conftest.
$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20109 if (sizeof (error_t))
20115 rm -f conftest.
$ac_objext
20116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20117 (eval $ac_compile) 2>&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); } &&
20121 { ac_try
='test -s conftest.$ac_objext'
20122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20123 (eval $ac_try) 2>&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); }; }; then
20127 ac_cv_type_error_t
=yes
20129 echo "$as_me: failed program was:" >&5
20130 sed 's/^/| /' conftest.
$ac_ext >&5
20132 ac_cv_type_error_t
=no
20134 rm -f conftest.
$ac_objext conftest.
$ac_ext
20136 echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
20137 echo "${ECHO_T}$ac_cv_type_error_t" >&6
20138 if test $ac_cv_type_error_t = yes; then
20140 cat >>confdefs.h
<<_ACEOF
20141 #define HAVE_ERROR_T 1
20147 cat >>confdefs.h
<<\_ACEOF
20148 #define error_t int
20159 for ac_func
in argz_append argz_create_sep argz_insert argz_next argz_stringify
20161 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20162 echo "$as_me:$LINENO: checking for $ac_func" >&5
20163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20164 if eval "test \"\${$as_ac_var+set}\" = set"; then
20165 echo $ECHO_N "(cached) $ECHO_C" >&6
20167 cat >conftest.
$ac_ext <<_ACEOF
20168 #line $LINENO "configure"
20171 cat confdefs.h
>>conftest.
$ac_ext
20172 cat >>conftest.
$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 /* System header to define __stub macros and hopefully few prototypes,
20175 which can conflict with char $ac_func (); below.
20176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20177 <limits.h> exists even on freestanding compilers. */
20179 # include <limits.h>
20181 # include <assert.h>
20183 /* Override any gcc2 internal prototype to avoid an error. */
20188 /* We use char because int might match the return type of a gcc2
20189 builtin and then its argument prototype would still apply. */
20191 /* The GNU C library defines this for functions which it implements
20192 to always fail with ENOSYS. Some functions are actually named
20193 something starting with __ and the normal name is an alias. */
20194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20197 char (*f) () = $ac_func;
20206 return f != $ac_func;
20211 rm -f conftest.
$ac_objext conftest
$ac_exeext
20212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20213 (eval $ac_link) 2>&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } &&
20217 { ac_try
='test -s conftest$ac_exeext'
20218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20219 (eval $ac_try) 2>&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); }; }; then
20223 eval "$as_ac_var=yes"
20225 echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.
$ac_ext >&5
20228 eval "$as_ac_var=no"
20230 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20234 if test `eval echo '${'$as_ac_var'}'` = yes; then
20235 cat >>confdefs.h
<<_ACEOF
20236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20269 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
20272 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20274 echo "$as_me:$LINENO: checking for $ac_header" >&5
20275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20277 echo $ECHO_N "(cached) $ECHO_C" >&6
20279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20282 # Is the header compilable?
20283 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20285 cat >conftest.
$ac_ext <<_ACEOF
20286 #line $LINENO "configure"
20289 cat confdefs.h
>>conftest.
$ac_ext
20290 cat >>conftest.
$ac_ext <<_ACEOF
20291 /* end confdefs.h. */
20292 $ac_includes_default
20293 #include <$ac_header>
20295 rm -f conftest.
$ac_objext
20296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20297 (eval $ac_compile) 2>&5
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); } &&
20301 { ac_try
='test -s conftest.$ac_objext'
20302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20303 (eval $ac_try) 2>&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); }; }; then
20307 ac_header_compiler
=yes
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.
$ac_ext >&5
20312 ac_header_compiler
=no
20314 rm -f conftest.
$ac_objext conftest.
$ac_ext
20315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20316 echo "${ECHO_T}$ac_header_compiler" >&6
20318 # Is the header present?
20319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20321 cat >conftest.
$ac_ext <<_ACEOF
20322 #line $LINENO "configure"
20325 cat confdefs.h
>>conftest.
$ac_ext
20326 cat >>conftest.
$ac_ext <<_ACEOF
20327 /* end confdefs.h. */
20328 #include <$ac_header>
20330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20331 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20333 grep -v '^ *+' conftest.er1
>conftest.err
20335 cat conftest.err
>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } >/dev
/null
; then
20338 if test -s conftest.err
; then
20339 ac_cpp_err
=$ac_c_preproc_warn_flag
20346 if test -z "$ac_cpp_err"; then
20347 ac_header_preproc
=yes
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.
$ac_ext >&5
20352 ac_header_preproc
=no
20354 rm -f conftest.err conftest.
$ac_ext
20355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20356 echo "${ECHO_T}$ac_header_preproc" >&6
20358 # So? What about this header?
20359 case $ac_header_compiler:$ac_header_preproc in
20361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20364 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20367 ## ------------------------------------ ##
20368 ## Report this to bug-autoconf@gnu.org. ##
20369 ## ------------------------------------ ##
20372 sed "s/^/$as_me: WARNING: /" >&2
20375 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20376 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20377 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20378 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20383 ## ------------------------------------ ##
20384 ## Report this to bug-autoconf@gnu.org. ##
20385 ## ------------------------------------ ##
20388 sed "s/^/$as_me: WARNING: /" >&2
20391 echo "$as_me:$LINENO: checking for $ac_header" >&5
20392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20396 eval "$as_ac_Header=$ac_header_preproc"
20398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20399 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20403 cat >>confdefs.h
<<_ACEOF
20404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20415 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
20417 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20419 echo "$as_me:$LINENO: checking for $ac_header" >&5
20420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20422 echo $ECHO_N "(cached) $ECHO_C" >&6
20424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20427 # Is the header compilable?
20428 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20429 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20430 cat >conftest.
$ac_ext <<_ACEOF
20431 #line $LINENO "configure"
20434 cat confdefs.h
>>conftest.
$ac_ext
20435 cat >>conftest.
$ac_ext <<_ACEOF
20436 /* end confdefs.h. */
20437 $ac_includes_default
20438 #include <$ac_header>
20440 rm -f conftest.
$ac_objext
20441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20442 (eval $ac_compile) 2>&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); } &&
20446 { ac_try
='test -s conftest.$ac_objext'
20447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20448 (eval $ac_try) 2>&5
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); }; }; then
20452 ac_header_compiler
=yes
20454 echo "$as_me: failed program was:" >&5
20455 sed 's/^/| /' conftest.
$ac_ext >&5
20457 ac_header_compiler
=no
20459 rm -f conftest.
$ac_objext conftest.
$ac_ext
20460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20461 echo "${ECHO_T}$ac_header_compiler" >&6
20463 # Is the header present?
20464 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20465 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20466 cat >conftest.
$ac_ext <<_ACEOF
20467 #line $LINENO "configure"
20470 cat confdefs.h
>>conftest.
$ac_ext
20471 cat >>conftest.
$ac_ext <<_ACEOF
20472 /* end confdefs.h. */
20473 #include <$ac_header>
20475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20476 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20478 grep -v '^ *+' conftest.er1
>conftest.err
20480 cat conftest.err
>&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } >/dev
/null
; then
20483 if test -s conftest.err
; then
20484 ac_cpp_err
=$ac_c_preproc_warn_flag
20491 if test -z "$ac_cpp_err"; then
20492 ac_header_preproc
=yes
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.
$ac_ext >&5
20497 ac_header_preproc
=no
20499 rm -f conftest.err conftest.
$ac_ext
20500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20501 echo "${ECHO_T}$ac_header_preproc" >&6
20503 # So? What about this header?
20504 case $ac_header_compiler:$ac_header_preproc in
20506 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20507 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20512 ## ------------------------------------ ##
20513 ## Report this to bug-autoconf@gnu.org. ##
20514 ## ------------------------------------ ##
20517 sed "s/^/$as_me: WARNING: /" >&2
20520 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20521 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20522 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20523 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20525 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20528 ## ------------------------------------ ##
20529 ## Report this to bug-autoconf@gnu.org. ##
20530 ## ------------------------------------ ##
20533 sed "s/^/$as_me: WARNING: /" >&2
20536 echo "$as_me:$LINENO: checking for $ac_header" >&5
20537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20539 echo $ECHO_N "(cached) $ECHO_C" >&6
20541 eval "$as_ac_Header=$ac_header_preproc"
20543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20548 cat >>confdefs.h
<<_ACEOF
20549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20558 for ac_header
in string.h
strings.h
20560 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20562 echo "$as_me:$LINENO: checking for $ac_header" >&5
20563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20565 echo $ECHO_N "(cached) $ECHO_C" >&6
20567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20570 # Is the header compilable?
20571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20573 cat >conftest.
$ac_ext <<_ACEOF
20574 #line $LINENO "configure"
20577 cat confdefs.h
>>conftest.
$ac_ext
20578 cat >>conftest.
$ac_ext <<_ACEOF
20579 /* end confdefs.h. */
20580 $ac_includes_default
20581 #include <$ac_header>
20583 rm -f conftest.
$ac_objext
20584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20585 (eval $ac_compile) 2>&5
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); } &&
20589 { ac_try
='test -s conftest.$ac_objext'
20590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20591 (eval $ac_try) 2>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); }; }; then
20595 ac_header_compiler
=yes
20597 echo "$as_me: failed program was:" >&5
20598 sed 's/^/| /' conftest.
$ac_ext >&5
20600 ac_header_compiler
=no
20602 rm -f conftest.
$ac_objext conftest.
$ac_ext
20603 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20604 echo "${ECHO_T}$ac_header_compiler" >&6
20606 # Is the header present?
20607 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20608 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20609 cat >conftest.
$ac_ext <<_ACEOF
20610 #line $LINENO "configure"
20613 cat confdefs.h
>>conftest.
$ac_ext
20614 cat >>conftest.
$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20616 #include <$ac_header>
20618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20619 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20621 grep -v '^ *+' conftest.er1
>conftest.err
20623 cat conftest.err
>&5
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); } >/dev
/null
; then
20626 if test -s conftest.err
; then
20627 ac_cpp_err
=$ac_c_preproc_warn_flag
20634 if test -z "$ac_cpp_err"; then
20635 ac_header_preproc
=yes
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.
$ac_ext >&5
20640 ac_header_preproc
=no
20642 rm -f conftest.err conftest.
$ac_ext
20643 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20644 echo "${ECHO_T}$ac_header_preproc" >&6
20646 # So? What about this header?
20647 case $ac_header_compiler:$ac_header_preproc in
20649 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20650 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20655 ## ------------------------------------ ##
20656 ## Report this to bug-autoconf@gnu.org. ##
20657 ## ------------------------------------ ##
20660 sed "s/^/$as_me: WARNING: /" >&2
20663 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20664 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20665 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20666 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20668 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20671 ## ------------------------------------ ##
20672 ## Report this to bug-autoconf@gnu.org. ##
20673 ## ------------------------------------ ##
20676 sed "s/^/$as_me: WARNING: /" >&2
20679 echo "$as_me:$LINENO: checking for $ac_header" >&5
20680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20682 echo $ECHO_N "(cached) $ECHO_C" >&6
20684 eval "$as_ac_Header=$ac_header_preproc"
20686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20691 cat >>confdefs.h
<<_ACEOF
20692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20702 for ac_func
in strchr index
20704 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20705 echo "$as_me:$LINENO: checking for $ac_func" >&5
20706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20707 if eval "test \"\${$as_ac_var+set}\" = set"; then
20708 echo $ECHO_N "(cached) $ECHO_C" >&6
20710 cat >conftest.
$ac_ext <<_ACEOF
20711 #line $LINENO "configure"
20714 cat confdefs.h
>>conftest.
$ac_ext
20715 cat >>conftest.
$ac_ext <<_ACEOF
20716 /* end confdefs.h. */
20717 /* System header to define __stub macros and hopefully few prototypes,
20718 which can conflict with char $ac_func (); below.
20719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20720 <limits.h> exists even on freestanding compilers. */
20722 # include <limits.h>
20724 # include <assert.h>
20726 /* Override any gcc2 internal prototype to avoid an error. */
20731 /* We use char because int might match the return type of a gcc2
20732 builtin and then its argument prototype would still apply. */
20734 /* The GNU C library defines this for functions which it implements
20735 to always fail with ENOSYS. Some functions are actually named
20736 something starting with __ and the normal name is an alias. */
20737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20740 char (*f) () = $ac_func;
20749 return f != $ac_func;
20754 rm -f conftest.
$ac_objext conftest
$ac_exeext
20755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20756 (eval $ac_link) 2>&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try
='test -s conftest$ac_exeext'
20761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20762 (eval $ac_try) 2>&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); }; }; then
20766 eval "$as_ac_var=yes"
20768 echo "$as_me: failed program was:" >&5
20769 sed 's/^/| /' conftest.
$ac_ext >&5
20771 eval "$as_ac_var=no"
20773 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20777 if test `eval echo '${'$as_ac_var'}'` = yes; then
20778 cat >>confdefs.h
<<_ACEOF
20779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20787 for ac_func
in strrchr rindex
20789 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20790 echo "$as_me:$LINENO: checking for $ac_func" >&5
20791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20792 if eval "test \"\${$as_ac_var+set}\" = set"; then
20793 echo $ECHO_N "(cached) $ECHO_C" >&6
20795 cat >conftest.
$ac_ext <<_ACEOF
20796 #line $LINENO "configure"
20799 cat confdefs.h
>>conftest.
$ac_ext
20800 cat >>conftest.
$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 /* System header to define __stub macros and hopefully few prototypes,
20803 which can conflict with char $ac_func (); below.
20804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20805 <limits.h> exists even on freestanding compilers. */
20807 # include <limits.h>
20809 # include <assert.h>
20811 /* Override any gcc2 internal prototype to avoid an error. */
20816 /* We use char because int might match the return type of a gcc2
20817 builtin and then its argument prototype would still apply. */
20819 /* The GNU C library defines this for functions which it implements
20820 to always fail with ENOSYS. Some functions are actually named
20821 something starting with __ and the normal name is an alias. */
20822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20825 char (*f) () = $ac_func;
20834 return f != $ac_func;
20839 rm -f conftest.
$ac_objext conftest
$ac_exeext
20840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20841 (eval $ac_link) 2>&5
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); } &&
20845 { ac_try
='test -s conftest$ac_exeext'
20846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20847 (eval $ac_try) 2>&5
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); }; }; then
20851 eval "$as_ac_var=yes"
20853 echo "$as_me: failed program was:" >&5
20854 sed 's/^/| /' conftest.
$ac_ext >&5
20856 eval "$as_ac_var=no"
20858 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20862 if test `eval echo '${'$as_ac_var'}'` = yes; then
20863 cat >>confdefs.h
<<_ACEOF
20864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20872 for ac_func
in memcpy bcopy
20874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20875 echo "$as_me:$LINENO: checking for $ac_func" >&5
20876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20877 if eval "test \"\${$as_ac_var+set}\" = set"; then
20878 echo $ECHO_N "(cached) $ECHO_C" >&6
20880 cat >conftest.
$ac_ext <<_ACEOF
20881 #line $LINENO "configure"
20884 cat confdefs.h
>>conftest.
$ac_ext
20885 cat >>conftest.
$ac_ext <<_ACEOF
20886 /* end confdefs.h. */
20887 /* System header to define __stub macros and hopefully few prototypes,
20888 which can conflict with char $ac_func (); below.
20889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20890 <limits.h> exists even on freestanding compilers. */
20892 # include <limits.h>
20894 # include <assert.h>
20896 /* Override any gcc2 internal prototype to avoid an error. */
20901 /* We use char because int might match the return type of a gcc2
20902 builtin and then its argument prototype would still apply. */
20904 /* The GNU C library defines this for functions which it implements
20905 to always fail with ENOSYS. Some functions are actually named
20906 something starting with __ and the normal name is an alias. */
20907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20910 char (*f) () = $ac_func;
20919 return f != $ac_func;
20924 rm -f conftest.
$ac_objext conftest
$ac_exeext
20925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20926 (eval $ac_link) 2>&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } &&
20930 { ac_try
='test -s conftest$ac_exeext'
20931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20932 (eval $ac_try) 2>&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); }; }; then
20936 eval "$as_ac_var=yes"
20938 echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.
$ac_ext >&5
20941 eval "$as_ac_var=no"
20943 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20947 if test `eval echo '${'$as_ac_var'}'` = yes; then
20948 cat >>confdefs.h
<<_ACEOF
20949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20957 for ac_func
in memmove strcmp
20959 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20960 echo "$as_me:$LINENO: checking for $ac_func" >&5
20961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20962 if eval "test \"\${$as_ac_var+set}\" = set"; then
20963 echo $ECHO_N "(cached) $ECHO_C" >&6
20965 cat >conftest.
$ac_ext <<_ACEOF
20966 #line $LINENO "configure"
20969 cat confdefs.h
>>conftest.
$ac_ext
20970 cat >>conftest.
$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 /* System header to define __stub macros and hopefully few prototypes,
20973 which can conflict with char $ac_func (); below.
20974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20975 <limits.h> exists even on freestanding compilers. */
20977 # include <limits.h>
20979 # include <assert.h>
20981 /* Override any gcc2 internal prototype to avoid an error. */
20986 /* We use char because int might match the return type of a gcc2
20987 builtin and then its argument prototype would still apply. */
20989 /* The GNU C library defines this for functions which it implements
20990 to always fail with ENOSYS. Some functions are actually named
20991 something starting with __ and the normal name is an alias. */
20992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20995 char (*f) () = $ac_func;
21004 return f != $ac_func;
21009 rm -f conftest.
$ac_objext conftest
$ac_exeext
21010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21011 (eval $ac_link) 2>&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } &&
21015 { ac_try
='test -s conftest$ac_exeext'
21016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21017 (eval $ac_try) 2>&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); }; }; then
21021 eval "$as_ac_var=yes"
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.
$ac_ext >&5
21026 eval "$as_ac_var=no"
21028 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21032 if test `eval echo '${'$as_ac_var'}'` = yes; then
21033 cat >>confdefs.h
<<_ACEOF
21034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21043 for ac_func
in closedir opendir readdir
21045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21046 echo "$as_me:$LINENO: checking for $ac_func" >&5
21047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21048 if eval "test \"\${$as_ac_var+set}\" = set"; then
21049 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 cat >conftest.
$ac_ext <<_ACEOF
21052 #line $LINENO "configure"
21055 cat confdefs.h
>>conftest.
$ac_ext
21056 cat >>conftest.
$ac_ext <<_ACEOF
21057 /* end confdefs.h. */
21058 /* System header to define __stub macros and hopefully few prototypes,
21059 which can conflict with char $ac_func (); below.
21060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21061 <limits.h> exists even on freestanding compilers. */
21063 # include <limits.h>
21065 # include <assert.h>
21067 /* Override any gcc2 internal prototype to avoid an error. */
21072 /* We use char because int might match the return type of a gcc2
21073 builtin and then its argument prototype would still apply. */
21075 /* The GNU C library defines this for functions which it implements
21076 to always fail with ENOSYS. Some functions are actually named
21077 something starting with __ and the normal name is an alias. */
21078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21081 char (*f) () = $ac_func;
21090 return f != $ac_func;
21095 rm -f conftest.
$ac_objext conftest
$ac_exeext
21096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21097 (eval $ac_link) 2>&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } &&
21101 { ac_try
='test -s conftest$ac_exeext'
21102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21103 (eval $ac_try) 2>&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); }; }; then
21107 eval "$as_ac_var=yes"
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.
$ac_ext >&5
21112 eval "$as_ac_var=no"
21114 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21118 if test `eval echo '${'$as_ac_var'}'` = yes; then
21119 cat >>confdefs.h
<<_ACEOF
21120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21132 ac_config_files
="$ac_config_files Makefile"
21134 cat >confcache
<<\_ACEOF
21135 # This file is a shell script that caches the results of configure
21136 # tests run on this system so they can be shared between configure
21137 # scripts and configure runs, see configure's option --config-cache.
21138 # It is not useful on other systems. If it contains results you don't
21139 # want to keep, you may remove or edit it.
21141 # config.status only pays attention to the cache file if you give it
21142 # the --recheck option to rerun configure.
21144 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21145 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21146 # following values.
21150 # The following way of writing the cache mishandles newlines in values,
21151 # but we know of no workaround that is simple, portable, and efficient.
21152 # So, don't put newlines in cache variables' values.
21153 # Ultrix sh set writes to stderr and can't be redirected directly,
21154 # and sets the high bit in the cache file unless we assign to the vars.
21157 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21159 # `set' does not quote correctly, so add quotes (double-quote
21160 # substitution turns \\\\ into \\, and sed turns \\ into \).
21163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21166 # `set' quotes correctly as required by POSIX, so do not add quotes.
21168 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21175 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21177 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21179 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21180 if test -w $cache_file; then
21181 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21182 cat confcache
>$cache_file
21184 echo "not updating unwritable cache $cache_file"
21189 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21190 # Let make expand exec_prefix.
21191 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21193 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21194 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21195 # trailing colons and then remove the whole line if VPATH becomes empty
21196 # (actually we leave an empty line to preserve line numbers).
21197 if test "x$srcdir" = x.
; then
21198 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21199 s/:*\$(srcdir):*/:/;
21200 s/:*\${srcdir}:*/:/;
21202 s/^\([^=]*=[ ]*\):*/\1/;
21208 DEFS
=-DHAVE_CONFIG_H
21212 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21213 # 1. Remove the extension, and $U if already installed.
21214 ac_i
=`echo "$ac_i" |
21215 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21217 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
21218 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
21220 LIBOBJS
=$ac_libobjs
21222 LTLIBOBJS
=$ac_ltlibobjs
21225 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21226 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21227 Usually this means the macro was only invoked conditionally." >&5
21228 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21229 Usually this means the macro was only invoked conditionally." >&2;}
21230 { (exit 1); exit 1; }; }
21232 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21233 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21234 Usually this means the macro was only invoked conditionally." >&5
21235 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21236 Usually this means the macro was only invoked conditionally." >&2;}
21237 { (exit 1); exit 1; }; }
21239 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21240 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21241 Usually this means the macro was only invoked conditionally." >&5
21242 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21243 Usually this means the macro was only invoked conditionally." >&2;}
21244 { (exit 1); exit 1; }; }
21246 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21247 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21248 Usually this means the macro was only invoked conditionally." >&5
21249 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21250 Usually this means the macro was only invoked conditionally." >&2;}
21251 { (exit 1); exit 1; }; }
21253 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
21254 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
21255 Usually this means the macro was only invoked conditionally." >&5
21256 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
21257 Usually this means the macro was only invoked conditionally." >&2;}
21258 { (exit 1); exit 1; }; }
21260 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
21261 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
21262 Usually this means the macro was only invoked conditionally." >&5
21263 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
21264 Usually this means the macro was only invoked conditionally." >&2;}
21265 { (exit 1); exit 1; }; }
21268 : ${CONFIG_STATUS=./config.status}
21269 ac_clean_files_save
=$ac_clean_files
21270 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21271 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21272 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21273 cat >$CONFIG_STATUS <<_ACEOF
21275 # Generated by $as_me.
21276 # Run this file to recreate the current configuration.
21277 # Compiler output produced by configure, useful for debugging
21278 # configure, is in config.log if it exists.
21281 ac_cs_recheck=false
21283 SHELL=\${CONFIG_SHELL-$SHELL}
21286 cat >>$CONFIG_STATUS <<\_ACEOF
21287 ## --------------------- ##
21288 ## M4sh Initialization. ##
21289 ## --------------------- ##
21291 # Be Bourne compatible
21292 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21295 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21296 # is contrary to our usage. Disable this feature.
21297 alias -g '${1+"$@"}'='"$@"'
21298 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
21302 # Support unset when possible.
21303 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
21310 # Work around bugs in pre-3.0 UWIN ksh.
21311 $as_unset ENV MAIL MAILPATH
21318 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21319 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21320 LC_TELEPHONE LC_TIME
21322 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
21323 eval $as_var=C
; export $as_var
21329 # Required to use basename.
21330 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21336 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
21337 as_basename
=basename
21343 # Name of the executable.
21344 as_me
=`$as_basename "$0" ||
21345 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21346 X"$0" : 'X\(//\)$' \| \
21347 X"$0" : 'X\(/\)$' \| \
21348 . : '\(.\)' 2>/dev/null ||
21350 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21351 /^X\/\(\/\/\)$/{ s//\1/; q; }
21352 /^X\/\(\/\).*/{ s//\1/; q; }
21356 # PATH needs CR, and LINENO needs CR and PATH.
21357 # Avoid depending upon Character Ranges.
21358 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21359 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21360 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21361 as_cr_digits
='0123456789'
21362 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21364 # The user is always right.
21365 if test "${PATH_SEPARATOR+set}" != set; then
21366 echo "#! /bin/sh" >conf$$.sh
21367 echo "exit 0" >>conf$$.sh
21369 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21378 as_lineno_1
=$LINENO
21379 as_lineno_2
=$LINENO
21380 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
21381 test "x$as_lineno_1" != "x$as_lineno_2" &&
21382 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
21383 # Find who we are. Look in the path if we contain no path at all
21386 *[\\/]* ) as_myself
=$0 ;;
21387 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21388 for as_dir
in $PATH
21391 test -z "$as_dir" && as_dir
=.
21392 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21397 # We did not find ourselves, most probably we were run as `sh COMMAND'
21398 # in which case we are not to be found in the path.
21399 if test "x$as_myself" = x
; then
21402 if test ! -f "$as_myself"; then
21403 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21404 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21405 { (exit 1); exit 1; }; }
21407 case $CONFIG_SHELL in
21409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21410 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
21413 test -z "$as_dir" && as_dir
=.
21414 for as_base
in sh bash ksh sh5
; do
21417 if ("$as_dir/$as_base" -c '
21418 as_lineno_1=$LINENO
21419 as_lineno_2=$LINENO
21420 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21421 test "x$as_lineno_1" != "x$as_lineno_2" &&
21422 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
21423 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
21424 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
21425 CONFIG_SHELL
=$as_dir/$as_base
21426 export CONFIG_SHELL
21427 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21435 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21436 # uniformly replaced by the line number. The first 'sed' inserts a
21437 # line-number line before each line; the second 'sed' does the real
21438 # work. The second script uses 'N' to pair each line-number line
21439 # with the numbered line, and appends trailing '-' during
21440 # substitution so that $LINENO is not a special case at line end.
21441 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21442 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21443 sed '=' <$as_myself |
21448 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21451 s,^['$as_cr_digits']*\n,,
21452 ' >$as_me.lineno
&&
21453 chmod +x
$as_me.lineno ||
21454 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21455 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21456 { (exit 1); exit 1; }; }
21458 # Don't try to exec as it changes $[0], causing all sort of problems
21459 # (the dirname of $[0] is not the place where we might find the
21460 # original and so on. Autoconf is especially sensible to this).
21462 # Exit status is that of the last command.
21467 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21468 *c
*,-n*) ECHO_N
= ECHO_C
='
21470 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
21471 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
21474 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21480 rm -f conf$$ conf$$.exe conf$$.
file
21482 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21483 # We could just check for DJGPP; but this test a) works b) is more generic
21484 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21485 if test -f conf$$.exe
; then
21486 # Don't use ln at all; we don't have any links
21491 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21496 rm -f conf$$ conf$$.exe conf$$.
file
21498 if mkdir
-p .
2>/dev
/null
; then
21504 as_executable_p
="test -f"
21506 # Sed expression to map a string onto a valid CPP name.
21507 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
21509 # Sed expression to map a string onto a valid variable name.
21510 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
21514 # We need space, tab and new line, in precisely that order.
21524 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21525 # report actual input values of CONFIG_FILES etc. instead of their
21526 # values after options handling. Logging --version etc. is OK.
21530 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21531 ## Running $as_me. ##
21536 This file was extended by libltdl $as_me 1.2, which was
21537 generated by GNU Autoconf 2.57. Invocation command line was
21539 CONFIG_FILES = $CONFIG_FILES
21540 CONFIG_HEADERS = $CONFIG_HEADERS
21541 CONFIG_LINKS = $CONFIG_LINKS
21542 CONFIG_COMMANDS = $CONFIG_COMMANDS
21546 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21550 # Files that config.status was made for.
21551 if test -n "$ac_config_files"; then
21552 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21555 if test -n "$ac_config_headers"; then
21556 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21559 if test -n "$ac_config_links"; then
21560 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21563 if test -n "$ac_config_commands"; then
21564 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21567 cat >>$CONFIG_STATUS <<\_ACEOF
21570 \`$as_me' instantiates files from templates according to the
21571 current configuration.
21573 Usage: $0 [OPTIONS] [FILE]...
21575 -h, --help print this help, then exit
21576 -V, --version print version number, then exit
21577 -q, --quiet do not print progress messages
21578 -d, --debug don't remove temporary files
21579 --recheck update $as_me by reconfiguring in the same conditions
21580 --file=FILE[:TEMPLATE]
21581 instantiate the configuration file FILE
21582 --header=FILE[:TEMPLATE]
21583 instantiate the configuration header FILE
21585 Configuration files:
21588 Configuration headers:
21591 Configuration commands:
21594 Report bugs to <bug-autoconf@gnu.org>."
21597 cat >>$CONFIG_STATUS <<_ACEOF
21599 libltdl config.status 1.2
21600 configured by $0, generated by GNU Autoconf 2.57,
21601 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21603 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
21604 Free Software Foundation, Inc.
21605 This config.status script is free software; the Free Software Foundation
21606 gives unlimited permission to copy, distribute and modify it."
21611 cat >>$CONFIG_STATUS <<\_ACEOF
21612 # If no file are specified by the user, then we need to provide default
21613 # value. By we need to know if files were specified by the user.
21619 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
21620 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
21628 *) # This is not an option, so the user has probably given explicit
21631 ac_need_defaults
=false
;;
21635 # Handling of the options.
21637 cat >>$CONFIG_STATUS <<\_ACEOF
21638 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21640 --version |
--vers* |
-V )
21641 echo "$ac_cs_version"; exit 0 ;;
21643 # Conflict between --help and --header
21644 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21645 Try \`$0 --help' for more information." >&5
21646 echo "$as_me: error: ambiguous option: $1
21647 Try \`$0 --help' for more information." >&2;}
21648 { (exit 1); exit 1; }; };;
21649 --help |
--hel |
-h )
21650 echo "$ac_cs_usage"; exit 0 ;;
21651 --debug |
--d* |
-d )
21653 --file |
--fil |
--fi |
--f )
21655 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21656 ac_need_defaults
=false
;;
21657 --header |
--heade |
--head |
--hea )
21659 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21660 ac_need_defaults
=false
;;
21661 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21662 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21665 # This is an error.
21666 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21667 Try \`$0 --help' for more information." >&5
21668 echo "$as_me: error: unrecognized option: $1
21669 Try \`$0 --help' for more information." >&2;}
21670 { (exit 1); exit 1; }; } ;;
21672 *) ac_config_targets
="$ac_config_targets $1" ;;
21678 ac_configure_extra_args
=
21680 if $ac_cs_silent; then
21682 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21686 cat >>$CONFIG_STATUS <<_ACEOF
21687 if \$ac_cs_recheck; then
21688 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21689 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21694 cat >>$CONFIG_STATUS <<_ACEOF
21696 # INIT-COMMANDS section.
21699 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21705 cat >>$CONFIG_STATUS <<\_ACEOF
21706 for ac_config_target
in $ac_config_targets
21708 case "$ac_config_target" in
21709 # Handling of arguments.
21710 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21711 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21712 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config-h.in" ;;
21713 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21714 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21715 { (exit 1); exit 1; }; };;
21719 # If the user did not use the arguments to specify the items to instantiate,
21720 # then the envvar interface is used. Set only those that are not.
21721 # We use the long form for the default assignment because of an extremely
21722 # bizarre bug on SunOS 4.1.3.
21723 if $ac_need_defaults; then
21724 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21725 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21726 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21729 # Have a temporary directory for convenience. Make it in the build tree
21730 # simply because there is no reason to put it here, and in addition,
21731 # creating and moving files from /tmp can sometimes cause problems.
21732 # Create a temporary directory, and hook for its removal unless debugging.
21735 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21736 trap '{ (exit 1); exit 1; }' 1 2 13 15
21739 # Create a (secure) tmp directory for tmp files.
21742 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21743 test -n "$tmp" && test -d "$tmp"
21746 tmp
=.
/confstat$$
-$RANDOM
21747 (umask 077 && mkdir
$tmp)
21750 echo "$me: cannot create a temporary directory in ." >&2
21751 { (exit 1); exit 1; }
21756 cat >>$CONFIG_STATUS <<_ACEOF
21759 # CONFIG_FILES section.
21762 # No need to generate the scripts if there are no CONFIG_FILES.
21763 # This happens for instance when ./config.status config.h
21764 if test -n "\$CONFIG_FILES"; then
21765 # Protect against being on the right side of a sed subst in config.status.
21766 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21767 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21768 s,@SHELL@,$SHELL,;t t
21769 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21770 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21771 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21772 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21773 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21774 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21775 s,@exec_prefix@,$exec_prefix,;t t
21776 s,@prefix@,$prefix,;t t
21777 s,@program_transform_name@,$program_transform_name,;t t
21778 s,@bindir@,$bindir,;t t
21779 s,@sbindir@,$sbindir,;t t
21780 s,@libexecdir@,$libexecdir,;t t
21781 s,@datadir@,$datadir,;t t
21782 s,@sysconfdir@,$sysconfdir,;t t
21783 s,@sharedstatedir@,$sharedstatedir,;t t
21784 s,@localstatedir@,$localstatedir,;t t
21785 s,@libdir@,$libdir,;t t
21786 s,@includedir@,$includedir,;t t
21787 s,@oldincludedir@,$oldincludedir,;t t
21788 s,@infodir@,$infodir,;t t
21789 s,@mandir@,$mandir,;t t
21790 s,@build_alias@,$build_alias,;t t
21791 s,@host_alias@,$host_alias,;t t
21792 s,@target_alias@,$target_alias,;t t
21793 s,@DEFS@,$DEFS,;t t
21794 s,@ECHO_C@,$ECHO_C,;t t
21795 s,@ECHO_N@,$ECHO_N,;t t
21796 s,@ECHO_T@,$ECHO_T,;t t
21797 s,@LIBS@,$LIBS,;t t
21798 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21799 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21800 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21801 s,@CYGPATH_W@,$CYGPATH_W,;t t
21802 s,@PACKAGE@,$PACKAGE,;t t
21803 s,@VERSION@,$VERSION,;t t
21804 s,@ACLOCAL@,$ACLOCAL,;t t
21805 s,@AUTOCONF@,$AUTOCONF,;t t
21806 s,@AUTOMAKE@,$AUTOMAKE,;t t
21807 s,@AUTOHEADER@,$AUTOHEADER,;t t
21808 s,@MAKEINFO@,$MAKEINFO,;t t
21809 s,@AMTAR@,$AMTAR,;t t
21810 s,@install_sh@,$install_sh,;t t
21811 s,@STRIP@,$STRIP,;t t
21812 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21813 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21815 s,@SET_MAKE@,$SET_MAKE,;t t
21816 s,@am__leading_dot@,$am__leading_dot,;t t
21817 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21818 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21819 s,@MAINT@,$MAINT,;t t
21821 s,@CFLAGS@,$CFLAGS,;t t
21822 s,@LDFLAGS@,$LDFLAGS,;t t
21823 s,@CPPFLAGS@,$CPPFLAGS,;t t
21824 s,@ac_ct_CC@,$ac_ct_CC,;t t
21825 s,@EXEEXT@,$EXEEXT,;t t
21826 s,@OBJEXT@,$OBJEXT,;t t
21827 s,@DEPDIR@,$DEPDIR,;t t
21828 s,@am__include@,$am__include,;t t
21829 s,@am__quote@,$am__quote,;t t
21830 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21831 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21832 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21833 s,@CCDEPMODE@,$CCDEPMODE,;t t
21834 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21835 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21836 s,@build@,$build,;t t
21837 s,@build_cpu@,$build_cpu,;t t
21838 s,@build_vendor@,$build_vendor,;t t
21839 s,@build_os@,$build_os,;t t
21840 s,@host@,$host,;t t
21841 s,@host_cpu@,$host_cpu,;t t
21842 s,@host_vendor@,$host_vendor,;t t
21843 s,@host_os@,$host_os,;t t
21844 s,@EGREP@,$EGREP,;t t
21845 s,@LN_S@,$LN_S,;t t
21846 s,@ECHO@,$ECHO,;t t
21848 s,@ac_ct_AR@,$ac_ct_AR,;t t
21849 s,@RANLIB@,$RANLIB,;t t
21850 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21851 s,@DLLTOOL@,$DLLTOOL,;t t
21852 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21854 s,@ac_ct_AS@,$ac_ct_AS,;t t
21855 s,@OBJDUMP@,$OBJDUMP,;t t
21856 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
21859 s,@CXXFLAGS@,$CXXFLAGS,;t t
21860 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21861 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21862 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21863 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21864 s,@CXXCPP@,$CXXCPP,;t t
21866 s,@FFLAGS@,$FFLAGS,;t t
21867 s,@ac_ct_F77@,$ac_ct_F77,;t t
21868 s,@LIBTOOL@,$LIBTOOL,;t t
21869 s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
21870 s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
21871 s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
21872 s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
21873 s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
21874 s,@LIBADD_DL@,$LIBADD_DL,;t t
21875 s,@LIBOBJS@,$LIBOBJS,;t t
21876 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21881 cat >>$CONFIG_STATUS <<\_ACEOF
21882 # Split the substitutions into bite-sized pieces for seds with
21883 # small command number limits, like on Digital OSF/1 and HP-UX.
21884 ac_max_sed_lines
=48
21885 ac_sed_frag
=1 # Number of current file.
21886 ac_beg
=1 # First line for current file.
21887 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21890 while $ac_more_lines; do
21891 if test $ac_beg -gt 1; then
21892 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21894 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21896 if test ! -s $tmp/subs.frag
; then
21897 ac_more_lines
=false
21899 # The purpose of the label and of the branching condition is to
21900 # speed up the sed processing (if there are no `@' at all, there
21901 # is no need to browse any of the substitutions).
21902 # These are the two extra sed commands mentioned above.
21904 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21905 if test -z "$ac_sed_cmds"; then
21906 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21908 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21910 ac_sed_frag
=`expr $ac_sed_frag + 1`
21912 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21915 if test -z "$ac_sed_cmds"; then
21918 fi # test -n "$CONFIG_FILES"
21921 cat >>$CONFIG_STATUS <<\_ACEOF
21922 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21923 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21925 - |
*:- |
*:-:* ) # input from stdin
21927 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21928 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21929 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21930 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21931 * ) ac_file_in
=$ac_file.
in ;;
21934 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21935 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21936 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21937 X"$ac_file" : 'X\(//\)[^/]' \| \
21938 X"$ac_file" : 'X\(//\)$' \| \
21939 X"$ac_file" : 'X\(/\)' \| \
21940 . : '\(.\)' 2>/dev/null ||
21942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21943 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21944 /^X\(\/\/\)$/{ s//\1/; q; }
21945 /^X\(\/\).*/{ s//\1/; q; }
21947 { if $as_mkdir_p; then
21952 while test ! -d "$as_dir"; do
21953 as_dirs
="$as_dir $as_dirs"
21954 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21955 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21956 X"$as_dir" : 'X\(//\)[^/]' \| \
21957 X"$as_dir" : 'X\(//\)$' \| \
21958 X"$as_dir" : 'X\(/\)' \| \
21959 . : '\(.\)' 2>/dev/null ||
21961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21962 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21963 /^X\(\/\/\)$/{ s//\1/; q; }
21964 /^X\(\/\).*/{ s//\1/; q; }
21967 test ! -n "$as_dirs" || mkdir
$as_dirs
21968 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21969 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21970 { (exit 1); exit 1; }; }; }
21974 if test "$ac_dir" != .
; then
21975 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21976 # A "../" for each directory in $ac_dir_suffix.
21977 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21979 ac_dir_suffix
= ac_top_builddir
=
21983 .
) # No --srcdir option. We are building in place.
21985 if test -z "$ac_top_builddir"; then
21988 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21990 [\\/]* | ?
:[\\/]* ) # Absolute path.
21991 ac_srcdir
=$srcdir$ac_dir_suffix;
21992 ac_top_srcdir
=$srcdir ;;
21993 *) # Relative path.
21994 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21995 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21997 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
21999 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
22000 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
22001 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
22002 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
22006 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22007 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22010 if test x
"$ac_file" != x-
; then
22011 { echo "$as_me:$LINENO: creating $ac_file" >&5
22012 echo "$as_me: creating $ac_file" >&6;}
22015 # Let's still pretend it is `configure' which instantiates (i.e., don't
22016 # use $as_me), people would be surprised to read:
22017 # /* config.h. Generated by config.status. */
22018 if test x
"$ac_file" = x-
; then
22021 configure_input
="$ac_file. "
22023 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22024 sed 's,.*/,,'` by configure."
22026 # First look for the input files in the build tree, otherwise in the
22028 ac_file_inputs
=`IFS=:
22029 for f in $ac_file_in; do
22031 -) echo $tmp/stdin ;;
22033 # Absolute (can't be DOS-style, as IFS=:)
22034 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22035 echo "$as_me: error: cannot find input file: $f" >&2;}
22036 { (exit 1); exit 1; }; }
22039 if test -f "$f"; then
22042 elif test -f "$srcdir/$f"; then
22047 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22048 echo "$as_me: error: cannot find input file: $f" >&2;}
22049 { (exit 1); exit 1; }; }
22052 done` ||
{ (exit 1); exit 1; }
22054 cat >>$CONFIG_STATUS <<_ACEOF
22058 cat >>$CONFIG_STATUS <<\_ACEOF
22060 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22061 s
,@configure_input@
,$configure_input,;t t
22062 s
,@srcdir@
,$ac_srcdir,;t t
22063 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
22064 s
,@top_srcdir@
,$ac_top_srcdir,;t t
22065 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
22066 s
,@builddir@
,$ac_builddir,;t t
22067 s
,@abs_builddir@
,$ac_abs_builddir,;t t
22068 s
,@top_builddir@
,$ac_top_builddir,;t t
22069 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
22070 s
,@INSTALL@
,$ac_INSTALL,;t t
22071 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22073 if test x"$ac_file" != x-; then
22074 mv $tmp/out $ac_file
22082 cat >>$CONFIG_STATUS <<\_ACEOF
22085 # CONFIG_HEADER section.
22088 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
22089 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22091 # ac_d sets the value in "#define NAME VALUE" lines.
22092 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22093 ac_dB
='[ ].*$,\1#\2'
22096 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22097 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22098 ac_uB
='$,\1#\2define\3'
22102 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
22103 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22105 - |
*:- |
*:-:* ) # input from stdin
22107 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22108 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22109 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22110 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22111 * ) ac_file_in
=$ac_file.
in ;;
22114 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
22115 echo "$as_me: creating $ac_file" >&6;}
22117 # First look for the input files in the build tree, otherwise in the
22119 ac_file_inputs
=`IFS=:
22120 for f in $ac_file_in; do
22122 -) echo $tmp/stdin ;;
22124 # Absolute (can't be DOS-style, as IFS=:)
22125 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22126 echo "$as_me: error: cannot find input file: $f" >&2;}
22127 { (exit 1); exit 1; }; }
22130 if test -f "$f"; then
22133 elif test -f "$srcdir/$f"; then
22138 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22139 echo "$as_me: error: cannot find input file: $f" >&2;}
22140 { (exit 1); exit 1; }; }
22143 done` ||
{ (exit 1); exit 1; }
22144 # Remove the trailing spaces.
22145 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22149 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22150 # `conftest.undefs', that substitutes the proper values into
22151 # config.h.in to produce config.h. The first handles `#define'
22152 # templates, and the second `#undef' templates.
22153 # And first: Protect against being on the right side of a sed subst in
22154 # config.status. Protect against being in an unquoted here document
22155 # in config.status.
22156 rm -f conftest.defines conftest.undefs
22157 # Using a here document instead of a string reduces the quoting nightmare.
22158 # Putting comments in sed scripts is not portable.
22160 # `end' is used to avoid that the second main sed command (meant for
22161 # 0-ary CPP macros) applies to n-ary macro definitions.
22162 # See the Autoconf documentation for `clear'.
22163 cat >confdef2sed.
sed <<\_ACEOF
22168 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22170 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22173 # If some macros were called several times there might be several times
22174 # the same #defines, which is useless. Nevertheless, we may not want to
22175 # sort them, since we want the *last* AC-DEFINE to be honored.
22176 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22177 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22178 rm -f confdef2sed.sed
22180 # This sed command replaces #undef with comments. This is necessary, for
22181 # example, in the case of _POSIX_SOURCE, which is predefined and required
22182 # on some systems where configure will not decide to define it.
22183 cat >>conftest.undefs <<\_ACEOF
22184 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22187 # Break up conftest.defines because some shells have a limit on the size
22188 # of here documents, and old seds have small limits too (100 cmds).
22189 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22190 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22191 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22192 echo ' :' >>$CONFIG_STATUS
22193 rm -f conftest.tail
22194 while grep . conftest.defines >/dev/null
22196 # Write a limited-size here document to $tmp/defines.sed.
22197 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22198 # Speed up: don't consider the non `#define' lines.
22199 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22200 # Work around the forget-to-reset-the-flag bug.
22201 echo 't clr' >>$CONFIG_STATUS
22202 echo ': clr' >>$CONFIG_STATUS
22203 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
22205 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22207 mv $tmp/out $tmp/in
22209 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
22210 rm -f conftest.defines
22211 mv conftest.
tail conftest.defines
22213 rm -f conftest.defines
22214 echo ' fi # grep' >>$CONFIG_STATUS
22215 echo >>$CONFIG_STATUS
22217 # Break up conftest.undefs because some shells have a limit on the size
22218 # of here documents, and old seds have small limits too (100 cmds).
22219 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22220 rm -f conftest.
tail
22221 while grep . conftest.undefs
>/dev
/null
22223 # Write a limited-size here document to $tmp/undefs.sed.
22224 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22225 # Speed up: don't consider the non
`#undef'
22226 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22227 # Work around the forget-to-reset-the-flag bug.
22228 echo 't clr' >>$CONFIG_STATUS
22229 echo ': clr' >>$CONFIG_STATUS
22230 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22232 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22234 mv $tmp/out $tmp/in
22236 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22237 rm -f conftest.undefs
22238 mv conftest.tail conftest.undefs
22240 rm -f conftest.undefs
22242 cat >>$CONFIG_STATUS <<\_ACEOF
22243 # Let's still pretend it is `configure
' which instantiates (i.e., don't
22244 # use $as_me), people would be surprised to read:
22245 # /* config.h. Generated by config.status. */
22246 if test x
"$ac_file" = x-
; then
22247 echo "/* Generated by configure. */" >$tmp/config.h
22249 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22251 cat $tmp/in >>$tmp/config.h
22253 if test x
"$ac_file" != x-
; then
22254 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
22255 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22256 echo "$as_me: $ac_file is unchanged" >&6;}
22258 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22259 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22260 X"$ac_file" : 'X\(//\)[^/]' \| \
22261 X"$ac_file" : 'X\(//\)$' \| \
22262 X"$ac_file" : 'X\(/\)' \| \
22263 . : '\(.\)' 2>/dev/null ||
22265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22266 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22267 /^X\(\/\/\)$/{ s//\1/; q; }
22268 /^X\(\/\).*/{ s//\1/; q; }
22270 { if $as_mkdir_p; then
22275 while test ! -d "$as_dir"; do
22276 as_dirs
="$as_dir $as_dirs"
22277 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22278 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22279 X"$as_dir" : 'X\(//\)[^/]' \| \
22280 X"$as_dir" : 'X\(//\)$' \| \
22281 X"$as_dir" : 'X\(/\)' \| \
22282 . : '\(.\)' 2>/dev/null ||
22284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22285 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22286 /^X\(\/\/\)$/{ s//\1/; q; }
22287 /^X\(\/\).*/{ s//\1/; q; }
22290 test ! -n "$as_dirs" || mkdir
$as_dirs
22291 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22292 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22293 { (exit 1); exit 1; }; }; }
22296 mv $tmp/config.h
$ac_file
22300 rm -f $tmp/config.h
22302 # Compute $ac_file's index in $config_headers.
22304 for _am_header
in $config_headers :; do
22305 case $_am_header in
22306 $ac_file |
$ac_file:* )
22309 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22312 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22313 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22314 X$ac_file : 'X\(//\)[^/]' \| \
22315 X$ac_file : 'X\(//\)$' \| \
22316 X$ac_file : 'X\(/\)' \| \
22317 . : '\(.\)' 2>/dev/null ||
22319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22320 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22321 /^X\(\/\/\)$/{ s//\1/; q; }
22322 /^X\(\/\).*/{ s//\1/; q; }
22323 s/.*/./; q'`/stamp-h
$_am_stamp_count
22326 cat >>$CONFIG_STATUS <<\_ACEOF
22329 # CONFIG_COMMANDS section.
22331 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
22332 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
22333 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22334 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
22335 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22336 X"$ac_dest" : 'X\(//\)[^/]' \| \
22337 X"$ac_dest" : 'X\(//\)$' \| \
22338 X"$ac_dest" : 'X\(/\)' \| \
22339 . : '\(.\)' 2>/dev/null ||
22341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22342 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22343 /^X\(\/\/\)$/{ s//\1/; q; }
22344 /^X\(\/\).*/{ s//\1/; q; }
22348 if test "$ac_dir" != .
; then
22349 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22350 # A "../" for each directory in $ac_dir_suffix.
22351 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22353 ac_dir_suffix
= ac_top_builddir
=
22357 .
) # No --srcdir option. We are building in place.
22359 if test -z "$ac_top_builddir"; then
22362 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22364 [\\/]* | ?
:[\\/]* ) # Absolute path.
22365 ac_srcdir
=$srcdir$ac_dir_suffix;
22366 ac_top_srcdir
=$srcdir ;;
22367 *) # Relative path.
22368 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22369 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22371 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
22373 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
22374 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
22375 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
22376 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
22379 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22380 echo "$as_me: executing $ac_dest commands" >&6;}
22382 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22383 # Strip MF so we end up with the name of the file.
22384 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22385 # Check whether this is an Automake generated Makefile or not.
22386 # We used to match only the files named `Makefile.in', but
22387 # some people rename them; so instead we look at the file content.
22388 # Grep'ing the first line is not enough: some people post-process
22389 # each Makefile.in and add a new line on top of each file to say so.
22390 # So let's grep whole file.
22391 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
22392 dirpart
=`(dirname "$mf") 2>/dev/null ||
22393 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22394 X"$mf" : 'X\(//\)[^/]' \| \
22395 X"$mf" : 'X\(//\)$' \| \
22396 X"$mf" : 'X\(/\)' \| \
22397 . : '\(.\)' 2>/dev/null ||
22399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22400 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22401 /^X\(\/\/\)$/{ s//\1/; q; }
22402 /^X\(\/\).*/{ s//\1/; q; }
22407 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
22408 # Extract the definition of DEP_FILES from the Makefile without
22410 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
22411 test -z "$DEPDIR" && continue
22412 # When using ansi2knr, U may be empty or an underscore; expand it
22413 U
=`sed -n -e '/^U = / s///p' < "$mf"`
22414 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
22415 # We invoke sed twice because it is the simplest approach to
22416 # changing $(DEPDIR) to its actual value in the expansion.
22417 for file in `sed -n -e '
22418 /^DEP_FILES = .*\\\\$/ {
22427 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
22428 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22429 # Make sure the directory exists.
22430 test -f "$dirpart/$file" && continue
22431 fdir
=`(dirname "$file") 2>/dev/null ||
22432 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22433 X"$file" : 'X\(//\)[^/]' \| \
22434 X"$file" : 'X\(//\)$' \| \
22435 X"$file" : 'X\(/\)' \| \
22436 . : '\(.\)' 2>/dev/null ||
22438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22439 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22440 /^X\(\/\/\)$/{ s//\1/; q; }
22441 /^X\(\/\).*/{ s//\1/; q; }
22443 { if $as_mkdir_p; then
22444 mkdir
-p $dirpart/$fdir
22446 as_dir
=$dirpart/$fdir
22448 while test ! -d "$as_dir"; do
22449 as_dirs
="$as_dir $as_dirs"
22450 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22452 X"$as_dir" : 'X\(//\)[^/]' \| \
22453 X"$as_dir" : 'X\(//\)$' \| \
22454 X"$as_dir" : 'X\(/\)' \| \
22455 . : '\(.\)' 2>/dev/null ||
22457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22458 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22459 /^X\(\/\/\)$/{ s//\1/; q; }
22460 /^X\(\/\).*/{ s//\1/; q; }
22463 test ! -n "$as_dirs" || mkdir
$as_dirs
22464 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
22465 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
22466 { (exit 1); exit 1; }; }; }
22468 # echo "creating $dirpart/$file"
22469 echo '# dummy' > "$dirpart/$file"
22477 cat >>$CONFIG_STATUS <<\_ACEOF
22479 { (exit 0); exit 0; }
22481 chmod +x
$CONFIG_STATUS
22482 ac_clean_files
=$ac_clean_files_save
22485 # configure is writing to config.log, and then calls config.status.
22486 # config.status does its own redirection, appending to config.log.
22487 # Unfortunately, on DOS this fails, as config.log is still kept open
22488 # by configure, so config.status won't be able to write to it; its
22489 # output is simply discarded. So we exec the FD to /dev/null,
22490 # effectively closing config.log, so it can be properly (re)opened and
22491 # appended to by config.status. When coming back to configure, we
22492 # need to make the FD available again.
22493 if test "$no_create" != yes; then
22495 ac_config_status_args
=
22496 test "$silent" = yes &&
22497 ac_config_status_args
="$ac_config_status_args --quiet"
22499 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22501 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22502 # would make configure fail if this is the last instruction.
22503 $ac_cs_success ||
{ (exit 1); exit 1; }